@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/sheerid.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.312.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1793657704084
|
|
5
|
+
* BUILD_DATE: Mon Nov 02 2026 22:15:04 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: d28d18cf826fdda5ef438b299140b7946082d830
|
|
7
7
|
*/
|
|
8
8
|
import { At as e, E as t, Ot as n, S as r, T as i, Z as a, _ as o, a as s, at as c, b as l, d as u, dt as d, et as f, f as p, ft as m, g as h, h as g, i as _, it as v, l as y, n as b, o as x, s as S, t as C, u as w, ut as T, vt as ee, x as E, y as te } from "./chunk/i18next-iyVj5hRL.js";
|
|
9
9
|
import { i as D, n as O, s as k, t as A } from "./chunk/jsx-runtime-DwmrsRqi.js";
|
|
10
|
-
import {
|
|
11
|
-
import { S as M, b as N, h as
|
|
12
|
-
import { f as
|
|
13
|
-
import { n as
|
|
14
|
-
import { a as
|
|
15
|
-
import { A as
|
|
16
|
-
import { a as
|
|
17
|
-
import { i as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
10
|
+
import { D as j, E as ne, G as re, K as ie, O as ae, Q as oe, S as se, U as ce, _ as le, a as ue, c as de, d as fe, f as pe, g as me, h as he, i as ge, k as _e, l as ve, m as ye, o as be, s as xe, t as Se } from "./chunk/programThemeGetters-C8JS1yEr.js";
|
|
11
|
+
import { S as M, b as N, h as Ce, o as we, x as Te } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
12
|
+
import { f as Ee, g as De, h as Oe, i as ke, l as Ae, p as je, r as Me, t as P, u as Ne, v as Pe } from "./chunk/Message-C6bKPcuM.js";
|
|
13
|
+
import { n as Fe, t as Ie } from "./chunk/getInstallType-DlS_DNKt.js";
|
|
14
|
+
import { a as Le, i as Re, r as ze, t as Be } from "./chunk/TestingRouteOverrides-fnlJLg1Z.js";
|
|
15
|
+
import { A as Ve, D as He, O as Ue, _ as We, a as Ge, b as Ke, c as qe, d as Je, f as Ye, g as Xe, h as Ze, i as Qe, j as $e, k as et, l as tt, m as nt, n as rt, o as it, p as at, r as ot, s as st, t as ct, u as lt, v as ut, y as dt } from "./chunk/FormFooterComponent-he4l6p39.js";
|
|
16
|
+
import { a as ft, i as pt, n as mt, r as ht, t as gt } from "./chunk/hooks-D0X_qdc-.js";
|
|
17
|
+
import { i as _t, s as vt, t as yt } from "./chunk/refs-Mq0rtW9K.js";
|
|
18
|
+
import { t as bt } from "./chunk/LogoComponent-C9UuIyxD.js";
|
|
19
|
+
import { t as xt } from "./chunk/strings-DWLVdUcm.js";
|
|
20
|
+
import { t as St } from "./chunk/AnnouncingHeader-CM01vEpF.js";
|
|
21
21
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
22
22
|
var F = /* @__PURE__ */ e(k());
|
|
23
|
-
function
|
|
23
|
+
function Ct({ i18n: e, defaultNS: t, children: n }) {
|
|
24
24
|
let r = (0, F.useMemo)(() => ({
|
|
25
25
|
i18n: e,
|
|
26
26
|
defaultNS: t
|
|
27
27
|
}), [e, t]);
|
|
28
|
-
return (0, F.createElement)(
|
|
28
|
+
return (0, F.createElement)(Pe.Provider, { value: r }, n);
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region ../node_modules/rtl-detect/lib/rtl-detect.js
|
|
32
|
-
var
|
|
32
|
+
var wt = /* @__PURE__ */ n(((e, t) => {
|
|
33
33
|
var n, r = n = {
|
|
34
34
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
35
35
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -96,13 +96,13 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
96
96
|
enumerable: !0,
|
|
97
97
|
configurable: !1
|
|
98
98
|
}), t.exports = r;
|
|
99
|
-
})),
|
|
100
|
-
var n =
|
|
99
|
+
})), Tt = /* @__PURE__ */ n(((e, t) => {
|
|
100
|
+
var n = wt();
|
|
101
101
|
t.exports = {
|
|
102
102
|
isRtlLang: n.isRtlLang,
|
|
103
103
|
getLangDir: n.getLangDir
|
|
104
104
|
};
|
|
105
|
-
})),
|
|
105
|
+
})), Et = /* @__PURE__ */ e(oe(), 1), Dt = /* @__PURE__ */ e(c(), 1), Ot = /* @__PURE__ */ e(Oe(), 1), kt = /* @__PURE__ */ e(Tt(), 1), I = {
|
|
106
106
|
landingBackgroundColor: "#fff",
|
|
107
107
|
landingPrimaryFontColor: "#000",
|
|
108
108
|
landingBackgroundImage: "none",
|
|
@@ -116,7 +116,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
116
116
|
formFont: "var(--sheerid-font-family-sans)",
|
|
117
117
|
cssVariables: null,
|
|
118
118
|
customStyles: null
|
|
119
|
-
},
|
|
119
|
+
}, At = F.createContext(I), L = A(), R = {
|
|
120
120
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
121
121
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
122
122
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -130,7 +130,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
130
130
|
formFont: "--sheerid-font-family-body",
|
|
131
131
|
cssVariables: null,
|
|
132
132
|
customStyles: null
|
|
133
|
-
},
|
|
133
|
+
}, jt = {
|
|
134
134
|
"--sheerid-color-fg-05": {
|
|
135
135
|
from: "--sheerid-color-bg",
|
|
136
136
|
to: "--sheerid-color-fg",
|
|
@@ -241,7 +241,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
241
241
|
to: "--sheerid-color-fg",
|
|
242
242
|
percentage: 3
|
|
243
243
|
}
|
|
244
|
-
},
|
|
244
|
+
}, Mt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
245
245
|
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || I.landingBackgroundColor, c = o?.primaryFontColor || I.landingPrimaryFontColor, l = o?.backgroundImageUrl || I.landingBackgroundImage, u = e?.backgroundColor || I.formBackgroundColor, d = e?.primaryFontColor || I.formPrimaryFontColor, f = e?.buttonColor || I.formButtonColor, p = e?.buttonFontColor || I.formButtonFontColor, m = e?.linkColor || I.formLinkColor, h = e?.h1FontColor || I.formH1FontColor, g = e?.helperFontColor || I.formHelperFontColor, _ = e?.font || I.formFont, v = {
|
|
246
246
|
[R.landingBackgroundColor]: s,
|
|
247
247
|
[R.landingPrimaryFontColor]: c,
|
|
@@ -254,12 +254,12 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
254
254
|
[R.formH1FontColor]: h,
|
|
255
255
|
[R.formHelperFontColor]: g,
|
|
256
256
|
[R.formFont]: _ === I.formFont ? I.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
257
|
-
...Object.entries(
|
|
257
|
+
...Object.entries(jt).reduce((e, [t, n]) => {
|
|
258
258
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
259
259
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
260
260
|
}, {})
|
|
261
|
-
}, y = F.useRef(null), b =
|
|
262
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
261
|
+
}, y = F.useRef(null), b = Fe() === Ie.cdnInlineIframe, x = Fe() === Ie.cdnModalIframe;
|
|
262
|
+
return /* @__PURE__ */ (0, L.jsx)(At.Provider, {
|
|
263
263
|
value: {
|
|
264
264
|
landingBackgroundColor: s,
|
|
265
265
|
landingPrimaryFontColor: c,
|
|
@@ -283,7 +283,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
283
283
|
children: [a && /* @__PURE__ */ (0, L.jsx)("style", { children: a }), n]
|
|
284
284
|
})
|
|
285
285
|
});
|
|
286
|
-
},
|
|
286
|
+
}, Nt = (e, t, n) => ({
|
|
287
287
|
minAge: t?.minAge || e?.minAge,
|
|
288
288
|
maxAge: t?.maxAge || e?.maxAge,
|
|
289
289
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -291,11 +291,11 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
291
291
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
292
292
|
currentStep: t?.currentStep,
|
|
293
293
|
viewModel: n
|
|
294
|
-
}),
|
|
295
|
-
M.log(`overrideComponent registering ${e}`),
|
|
296
|
-
},
|
|
297
|
-
|
|
298
|
-
},
|
|
294
|
+
}), Pt = {}, Ft = (e, t) => {
|
|
295
|
+
M.log(`overrideComponent registering ${e}`), Pt[e] = t;
|
|
296
|
+
}, It = (e) => Pt[e] ? (M.log(`getOverridenComponent returning ${e}`), Pt[e]) : null, Lt = () => {
|
|
297
|
+
Pt = {};
|
|
298
|
+
}, Rt = () => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
299
299
|
className: "sid-spinner",
|
|
300
300
|
"data-testid": "sid-spinner",
|
|
301
301
|
children: [
|
|
@@ -304,9 +304,9 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
304
304
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" }),
|
|
305
305
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-spinner__frame" })
|
|
306
306
|
]
|
|
307
|
-
}),
|
|
307
|
+
}), zt = ({ step: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
308
308
|
className: "sid-loading-screen__message",
|
|
309
|
-
children: [
|
|
309
|
+
children: [Te(e) && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
310
310
|
className: "sid-loading-screen__message-header",
|
|
311
311
|
role: "alert",
|
|
312
312
|
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
@@ -320,14 +320,14 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
320
320
|
defaultMessage: "This should only take a minute"
|
|
321
321
|
})
|
|
322
322
|
})]
|
|
323
|
-
}),
|
|
323
|
+
}), Bt = ({ step: e = Be() }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
324
324
|
className: "sid-loading-screen",
|
|
325
|
-
children: [/* @__PURE__ */ (0, L.jsx)(
|
|
326
|
-
}),
|
|
325
|
+
children: [/* @__PURE__ */ (0, L.jsx)(Rt, {}), e && /* @__PURE__ */ (0, L.jsx)(zt, { step: e })]
|
|
326
|
+
}), Vt = ({ verificationService: e, linkText: t }) => {
|
|
327
327
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
328
328
|
if (n) {
|
|
329
|
-
let a =
|
|
330
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
329
|
+
let a = Se(i, n, r, _(e.viewModel), e.verificationResponse);
|
|
330
|
+
return /* @__PURE__ */ (0, L.jsx)(Me, {
|
|
331
331
|
className: "sid-faq sid-link",
|
|
332
332
|
href: a,
|
|
333
333
|
children: t || /* @__PURE__ */ (0, L.jsx)(O, {
|
|
@@ -337,19 +337,19 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
339
|
return null;
|
|
340
|
-
},
|
|
340
|
+
}, Ht = /* @__PURE__ */ (0, L.jsx)(O, {
|
|
341
341
|
id: "poweredBy",
|
|
342
342
|
defaultMessage: "Verification services powered by SheerID."
|
|
343
|
-
}),
|
|
343
|
+
}), Ut = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
344
344
|
switch (n) {
|
|
345
345
|
case "poweredby": return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
346
346
|
className: "sid-footer__powered-by-container-experiment",
|
|
347
347
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
348
348
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
349
|
-
children:
|
|
349
|
+
children: Ht
|
|
350
350
|
}), !r && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
351
351
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
352
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
352
|
+
children: /* @__PURE__ */ (0, L.jsx)(Vt, { verificationService: e })
|
|
353
353
|
})]
|
|
354
354
|
});
|
|
355
355
|
case "verificationby": return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
@@ -362,28 +362,28 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
362
362
|
alt: "",
|
|
363
363
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
364
364
|
})
|
|
365
|
-
}),
|
|
365
|
+
}), Ht]
|
|
366
366
|
})
|
|
367
367
|
});
|
|
368
368
|
default: return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
369
369
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
370
370
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
371
371
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
372
|
-
children:
|
|
372
|
+
children: Ht
|
|
373
373
|
}), !r && /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
374
374
|
className: t ? "sid-l-space-top-sm" : "",
|
|
375
|
-
children: ["\xA0", /* @__PURE__ */ (0, L.jsx)(
|
|
375
|
+
children: ["\xA0", /* @__PURE__ */ (0, L.jsx)(Vt, { verificationService: e })]
|
|
376
376
|
})]
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
|
-
},
|
|
379
|
+
}, Wt = (e, t) => {
|
|
380
380
|
let n = F.useRef(null);
|
|
381
381
|
function r() {
|
|
382
382
|
clearInterval(n.current);
|
|
383
383
|
}
|
|
384
384
|
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
385
|
-
},
|
|
386
|
-
let a =
|
|
385
|
+
}, Gt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Jt.PRIMARY }) => {
|
|
386
|
+
let a = xt(e);
|
|
387
387
|
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
388
388
|
className: "sid-header sid-l-horz-center",
|
|
389
389
|
children: [
|
|
@@ -391,7 +391,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
391
391
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
392
392
|
children: n
|
|
393
393
|
}),
|
|
394
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
394
|
+
/* @__PURE__ */ (0, L.jsx)(St, {
|
|
395
395
|
align: "center",
|
|
396
396
|
children: t.title
|
|
397
397
|
}),
|
|
@@ -407,7 +407,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
407
407
|
children: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
408
408
|
onClick: r,
|
|
409
409
|
type: "submit",
|
|
410
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
410
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Jt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
411
411
|
"aria-label": "submit",
|
|
412
412
|
children: t.cancel
|
|
413
413
|
})
|
|
@@ -416,20 +416,20 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
416
416
|
t?.subtitle2 ? /* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
417
417
|
]
|
|
418
418
|
});
|
|
419
|
-
},
|
|
419
|
+
}, Kt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Jt.PRIMARY }) => /* @__PURE__ */ (0, L.jsx)(Gt, {
|
|
420
420
|
messages: t,
|
|
421
421
|
stepName: e,
|
|
422
422
|
logo: n,
|
|
423
423
|
cancelSingleSignOn: r,
|
|
424
424
|
cancelButtonType: i
|
|
425
|
-
}),
|
|
426
|
-
let i =
|
|
425
|
+
}), qt = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
426
|
+
let i = gt("hc-my-sheer-id-theme-builder");
|
|
427
427
|
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
428
428
|
className: "sid-header sid-l-horz-center",
|
|
429
429
|
children: [
|
|
430
430
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
431
431
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
432
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
432
|
+
children: /* @__PURE__ */ (0, L.jsx)(bt, {
|
|
433
433
|
verificationService: t,
|
|
434
434
|
fallbackLogo: !i && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
435
435
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -438,7 +438,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
438
438
|
})
|
|
439
439
|
})
|
|
440
440
|
}),
|
|
441
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
441
|
+
/* @__PURE__ */ (0, L.jsx)(St, {
|
|
442
442
|
align: "center",
|
|
443
443
|
children: e.title
|
|
444
444
|
}),
|
|
@@ -459,10 +459,10 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
459
459
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
460
460
|
]
|
|
461
461
|
});
|
|
462
|
-
},
|
|
462
|
+
}, Jt = /* @__PURE__ */ function(e) {
|
|
463
463
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
464
|
-
}({}),
|
|
465
|
-
let { programId: i } = e, a = e.viewModel, s = e.previousViewModel || void 0, c = e.verificationResponse, u = e.previousVerificationResponse || void 0, { verificationId: f, locale: p } = e.verificationResponse, m =
|
|
464
|
+
}({}), Yt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
465
|
+
let { programId: i } = e, a = e.viewModel, s = e.previousViewModel || void 0, c = e.verificationResponse, u = e.previousVerificationResponse || void 0, { verificationId: f, locale: p } = e.verificationResponse, m = Le(), h = xt(t), g = gt("hc-my-sheer-id-theme-builder"), _, y = /* @__PURE__ */ (0, L.jsx)(bt, {
|
|
466
466
|
verificationService: e,
|
|
467
467
|
fallbackLogo: !g && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
468
468
|
className: `sid-${h}-logo-default sid-l-lead-image`,
|
|
@@ -481,7 +481,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
481
481
|
programId: i,
|
|
482
482
|
locale: p,
|
|
483
483
|
verificationId: f
|
|
484
|
-
}),
|
|
484
|
+
}), yt();
|
|
485
485
|
let n = d(a, () => {});
|
|
486
486
|
M.info("SingleSignOnComponent submitting cancel request"), clearTimeout(_), e.submitStep(t, n, e.verificationResponse);
|
|
487
487
|
}, C = (e, t) => {
|
|
@@ -491,8 +491,8 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
491
491
|
verificationId: f
|
|
492
492
|
}), x(e, t), w();
|
|
493
493
|
}, w = () => {
|
|
494
|
-
let e = t === N.sso ?
|
|
495
|
-
v(e) ? (
|
|
494
|
+
let e = t === N.sso ? Ae(c.loginUrl) : c.loginUrl;
|
|
495
|
+
v(e) ? (vt(window.open(e, "_blank")), _t().focus()) : M.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
496
496
|
};
|
|
497
497
|
return a.isSingleSignOnActive && !m && (_ = b()), !a.countryChoice && s && s.countryChoice && x("countryChoice", s.countryChoice), /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
498
498
|
id: `sid-step-${h}`,
|
|
@@ -500,21 +500,21 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
500
500
|
"data-testid": `sid-step-${h}`,
|
|
501
501
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
502
502
|
role: "main",
|
|
503
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, L.jsx)(
|
|
503
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, L.jsx)(Kt, {
|
|
504
504
|
stepName: t,
|
|
505
505
|
messages: n,
|
|
506
506
|
logo: y,
|
|
507
507
|
cancelSingleSignOn: S,
|
|
508
508
|
cancelButtonType: r
|
|
509
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
509
|
+
}) : /* @__PURE__ */ (0, L.jsx)(qt, {
|
|
510
510
|
verificationService: e,
|
|
511
511
|
messages: n,
|
|
512
512
|
updateViewModelAndOpenLoginTab: C,
|
|
513
513
|
dashedStepName: h
|
|
514
514
|
})
|
|
515
|
-
}), /* @__PURE__ */ (0, L.jsx)(
|
|
515
|
+
}), /* @__PURE__ */ (0, L.jsx)(ct, { verificationService: e })]
|
|
516
516
|
});
|
|
517
|
-
},
|
|
517
|
+
}, Xt = {
|
|
518
518
|
title: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
519
519
|
id: "step.sso.title",
|
|
520
520
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -536,11 +536,11 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
536
536
|
id: "step.sso.subtitle2",
|
|
537
537
|
defaultMessage: "Can't sign in to your school?"
|
|
538
538
|
})
|
|
539
|
-
},
|
|
539
|
+
}, Zt = ({ verificationService: e }) => /* @__PURE__ */ (0, L.jsx)(Yt, {
|
|
540
540
|
verificationService: e,
|
|
541
541
|
stepName: N.sso,
|
|
542
|
-
messages:
|
|
543
|
-
}),
|
|
542
|
+
messages: Xt
|
|
543
|
+
}), Qt = ({ logo: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
544
544
|
className: "sid-header sid-l-horz-center",
|
|
545
545
|
"data-testid": "sid-review-pending",
|
|
546
546
|
children: [
|
|
@@ -548,7 +548,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
548
548
|
className: "sid-l-horz-center",
|
|
549
549
|
children: e
|
|
550
550
|
}),
|
|
551
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
551
|
+
/* @__PURE__ */ (0, L.jsx)(St, {
|
|
552
552
|
align: "center",
|
|
553
553
|
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
554
554
|
id: "step.pending.titleReview",
|
|
@@ -580,7 +580,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
580
580
|
}),
|
|
581
581
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
582
582
|
]
|
|
583
|
-
}),
|
|
583
|
+
}), $t = ({ logo: e }) => /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
584
584
|
className: "sid-header sid-l-horz-center",
|
|
585
585
|
"data-testid": "sid-review-pending",
|
|
586
586
|
children: [
|
|
@@ -588,7 +588,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
588
588
|
className: "sid-l-horz-center",
|
|
589
589
|
children: e
|
|
590
590
|
}),
|
|
591
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
591
|
+
/* @__PURE__ */ (0, L.jsx)(St, {
|
|
592
592
|
align: "center",
|
|
593
593
|
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
594
594
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -612,7 +612,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
612
612
|
}),
|
|
613
613
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
614
614
|
]
|
|
615
|
-
}),
|
|
615
|
+
}), en = { [Ce.SIGNZY]: {
|
|
616
616
|
title: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
617
617
|
id: "step.thirdPartyLoop.signzy.title",
|
|
618
618
|
tagName: "h1",
|
|
@@ -630,7 +630,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
630
630
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
631
631
|
defaultMessage: "Upload Proof of Identity"
|
|
632
632
|
})
|
|
633
|
-
} },
|
|
633
|
+
} }, tn = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
634
634
|
let n = /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
635
635
|
className: "sid-header sid-l-horz-center",
|
|
636
636
|
children: [
|
|
@@ -638,7 +638,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
638
638
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
639
639
|
children: e
|
|
640
640
|
}),
|
|
641
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
641
|
+
/* @__PURE__ */ (0, L.jsx)(St, {
|
|
642
642
|
align: "center",
|
|
643
643
|
children: /* @__PURE__ */ (0, L.jsx)(O, {
|
|
644
644
|
id: "error",
|
|
@@ -666,16 +666,16 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
666
666
|
children: n
|
|
667
667
|
}) : n
|
|
668
668
|
});
|
|
669
|
-
},
|
|
670
|
-
let t =
|
|
671
|
-
return t ? /* @__PURE__ */ (0, L.jsx)(
|
|
669
|
+
}, nn = ({ verificationService: e }) => {
|
|
670
|
+
let t = en[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = gt("hc-my-sheer-id-theme-builder");
|
|
671
|
+
return t ? /* @__PURE__ */ (0, L.jsx)(Yt, {
|
|
672
672
|
verificationService: e,
|
|
673
673
|
stepName: N.thirdPartyLoop,
|
|
674
674
|
messages: t,
|
|
675
|
-
cancelButtonType:
|
|
676
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
675
|
+
cancelButtonType: Jt.SECONDARY
|
|
676
|
+
}) : /* @__PURE__ */ (0, L.jsx)(tn, {
|
|
677
677
|
isStepRoot: !0,
|
|
678
|
-
logo: /* @__PURE__ */ (0, L.jsx)(
|
|
678
|
+
logo: /* @__PURE__ */ (0, L.jsx)(bt, {
|
|
679
679
|
verificationService: e,
|
|
680
680
|
fallbackLogo: !n && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
681
681
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -684,28 +684,28 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
684
684
|
})
|
|
685
685
|
})
|
|
686
686
|
});
|
|
687
|
-
},
|
|
688
|
-
let i =
|
|
689
|
-
return i ? /* @__PURE__ */ (0, L.jsx)(
|
|
687
|
+
}, rn = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
688
|
+
let i = en[r ? Re(a) : t?.thirdPartyLoopProvider] || void 0;
|
|
689
|
+
return i ? /* @__PURE__ */ (0, L.jsx)(Kt, {
|
|
690
690
|
stepName: N.thirdPartyLoop,
|
|
691
691
|
messages: i,
|
|
692
692
|
logo: e,
|
|
693
693
|
cancelSingleSignOn: n,
|
|
694
|
-
cancelButtonType:
|
|
695
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
696
|
-
},
|
|
697
|
-
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 =
|
|
694
|
+
cancelButtonType: Jt.SECONDARY
|
|
695
|
+
}) : /* @__PURE__ */ (0, L.jsx)(tn, { logo: e });
|
|
696
|
+
}, an = 5e3, on = 2e4, sn = 2e4, cn = 2e3, ln = ({ verificationService: e }) => {
|
|
697
|
+
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 = Le(), s = ze() && ze() === N.sso, c = ze() && ze() === N.thirdPartyLoop, l = ze() && ze() === N.idCheckLoop, u = gt("hc-my-sheer-id-theme-builder"), f = () => i?.currentStep === N.sso, p = () => i?.currentStep === N.thirdPartyLoop, m = () => i?.currentStep === N.idCheckLoop, h = f() || p() || s || c, g = m() || l, _ = !h && !g, [v, y] = F.useState(() => h ? cn : g ? sn : an);
|
|
698
698
|
F.useEffect(() => {
|
|
699
699
|
if (!_) return;
|
|
700
|
-
let e = setTimeout(() => y(
|
|
700
|
+
let e = setTimeout(() => y(sn), on);
|
|
701
701
|
return () => clearTimeout(e);
|
|
702
702
|
}, [_]);
|
|
703
|
-
let b = !o &&
|
|
703
|
+
let b = !o && Wt(() => {
|
|
704
704
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
705
705
|
}, v), x = (t) => {
|
|
706
706
|
let r = d(n, () => {});
|
|
707
|
-
M.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(),
|
|
708
|
-
}, S = /* @__PURE__ */ (0, L.jsx)(
|
|
707
|
+
M.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), yt(), e.submitStep(t, r, i);
|
|
708
|
+
}, S = /* @__PURE__ */ (0, L.jsx)(bt, {
|
|
709
709
|
verificationService: e,
|
|
710
710
|
fallbackLogo: !u && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
711
711
|
className: "sid-l-lead-image",
|
|
@@ -720,33 +720,33 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
720
720
|
role: "main",
|
|
721
721
|
children: (() => {
|
|
722
722
|
let e = f() || s, t = p() || c, n = m() || l;
|
|
723
|
-
return e ? /* @__PURE__ */ (0, L.jsx)(
|
|
723
|
+
return e ? /* @__PURE__ */ (0, L.jsx)(Kt, {
|
|
724
724
|
stepName: N.sso,
|
|
725
|
-
messages:
|
|
725
|
+
messages: Xt,
|
|
726
726
|
logo: S,
|
|
727
727
|
cancelSingleSignOn: () => x(N.sso)
|
|
728
|
-
}) : t ? /* @__PURE__ */ (0, L.jsx)(
|
|
728
|
+
}) : t ? /* @__PURE__ */ (0, L.jsx)(rn, {
|
|
729
729
|
logo: S,
|
|
730
730
|
cancelThirdPartyLoop: () => x(N.thirdPartyLoop),
|
|
731
731
|
verificationLastResponse: i,
|
|
732
732
|
isMockingPreviousStepThirdPartyLoop: c
|
|
733
|
-
}) : n ? /* @__PURE__ */ (0, L.jsx)(
|
|
733
|
+
}) : n ? /* @__PURE__ */ (0, L.jsx)($t, { logo: S }) : /* @__PURE__ */ (0, L.jsx)(Qt, { logo: S });
|
|
734
734
|
})()
|
|
735
|
-
}), g ? /* @__PURE__ */ (0, L.jsx)(
|
|
735
|
+
}), g ? /* @__PURE__ */ (0, L.jsx)(Ut, {
|
|
736
736
|
verificationService: e,
|
|
737
737
|
isCentered: !0
|
|
738
|
-
}) : /* @__PURE__ */ (0, L.jsxs)(
|
|
738
|
+
}) : /* @__PURE__ */ (0, L.jsxs)(ct, {
|
|
739
739
|
verificationService: e,
|
|
740
740
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {}), " "]
|
|
741
741
|
})]
|
|
742
742
|
});
|
|
743
|
-
},
|
|
744
|
-
let e =
|
|
743
|
+
}, un = () => {
|
|
744
|
+
let e = ge(), t = xe(), n = pe(), r = m(() => n.segment), i = F.useCallback(() => {
|
|
745
745
|
if (window.self !== window.top) {
|
|
746
746
|
let e = new URL(window.location.href);
|
|
747
747
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
748
748
|
} else (async () => {
|
|
749
|
-
|
|
749
|
+
tt(e)(), await qe(e)(t, r, void 0, void 0, !0);
|
|
750
750
|
})();
|
|
751
751
|
}, [
|
|
752
752
|
e,
|
|
@@ -760,13 +760,13 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
760
760
|
onKeyPress: i,
|
|
761
761
|
children: /* @__PURE__ */ (0, L.jsx)(P, { id: "tryAgain" })
|
|
762
762
|
});
|
|
763
|
-
},
|
|
763
|
+
}, dn = {
|
|
764
764
|
NONE: "none",
|
|
765
765
|
RESET: "reset",
|
|
766
766
|
POSTMESSAGE: "postMessage",
|
|
767
767
|
REDIRECT: "redirect"
|
|
768
|
-
},
|
|
769
|
-
let e =
|
|
768
|
+
}, fn = () => {
|
|
769
|
+
let e = pe(), t = () => je({
|
|
770
770
|
action: "tryAgain",
|
|
771
771
|
verificationResponse: e
|
|
772
772
|
});
|
|
@@ -777,55 +777,55 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
777
777
|
onKeyPress: t,
|
|
778
778
|
children: /* @__PURE__ */ (0, L.jsx)(P, { id: "tryAgain" })
|
|
779
779
|
});
|
|
780
|
-
},
|
|
780
|
+
}, pn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, L.jsx)(Me, {
|
|
781
781
|
target: t,
|
|
782
782
|
href: e.toString(),
|
|
783
783
|
className: "sid-btn sid-btn--dark",
|
|
784
784
|
children: /* @__PURE__ */ (0, L.jsx)(P, { id: "seeOtherOffers" })
|
|
785
|
-
}),
|
|
786
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
787
|
-
},
|
|
785
|
+
}), mn = (e) => {
|
|
786
|
+
if (!(typeof e == "object" && "type" in e && Object.values(dn).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
787
|
+
}, hn = () => {
|
|
788
788
|
let e = y("tryAgainAction");
|
|
789
789
|
try {
|
|
790
|
-
switch (
|
|
791
|
-
case
|
|
792
|
-
case
|
|
793
|
-
case
|
|
790
|
+
switch (mn(e), e.type) {
|
|
791
|
+
case dn.NONE: return null;
|
|
792
|
+
case dn.POSTMESSAGE: return window.self === window.top ? (M.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, L.jsx)(fn, {});
|
|
793
|
+
case dn.REDIRECT:
|
|
794
794
|
if (!v(e.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
795
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
795
|
+
return /* @__PURE__ */ (0, L.jsx)(pn, {
|
|
796
796
|
redirectUrl: e.url,
|
|
797
797
|
target: e.target
|
|
798
798
|
});
|
|
799
|
-
case
|
|
799
|
+
case dn.RESET: return /* @__PURE__ */ (0, L.jsx)(un, {});
|
|
800
800
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
801
801
|
}
|
|
802
802
|
} catch (e) {
|
|
803
|
-
return M.error(e.message), /* @__PURE__ */ (0, L.jsx)(
|
|
803
|
+
return M.error(e.message), /* @__PURE__ */ (0, L.jsx)(un, {});
|
|
804
804
|
}
|
|
805
|
-
},
|
|
805
|
+
}, gn = [
|
|
806
806
|
"docReviewLimitExceeded",
|
|
807
807
|
"verificationLimitExceeded",
|
|
808
808
|
"fraudRulesReject"
|
|
809
|
-
],
|
|
810
|
-
let t =
|
|
811
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
809
|
+
], _n = ({ errorIds: e }) => {
|
|
810
|
+
let t = de(), n = e[0], r = t?.[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title";
|
|
811
|
+
return /* @__PURE__ */ (0, L.jsx)(St, {
|
|
812
812
|
align: "center",
|
|
813
813
|
children: /* @__PURE__ */ (0, L.jsx)("h1", { children: /* @__PURE__ */ (0, L.jsx)(P, { id: r }) })
|
|
814
814
|
});
|
|
815
|
-
},
|
|
815
|
+
}, vn = ({ errorIds: e, errorDetailId: t }) => {
|
|
816
816
|
let n = /* @__PURE__ */ new Map();
|
|
817
817
|
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, L.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(P, { id: t }, t)) }) : null;
|
|
818
|
-
},
|
|
819
|
-
let t =
|
|
818
|
+
}, yn = ({ errorIds: e }) => {
|
|
819
|
+
let t = de(), n = `step.error.errorId.${e[0]}.note`;
|
|
820
820
|
return t?.[n] ? /* @__PURE__ */ (0, L.jsx)("p", {
|
|
821
821
|
className: "sid-error-note sid-h-small-text",
|
|
822
822
|
children: /* @__PURE__ */ (0, L.jsx)(P, { id: n })
|
|
823
823
|
}) : null;
|
|
824
|
-
},
|
|
825
|
-
let r =
|
|
824
|
+
}, bn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
825
|
+
let r = de();
|
|
826
826
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
827
827
|
let t = m(() => e.programTheme.config.brandInfo.faqUrl);
|
|
828
|
-
return t ? /* @__PURE__ */ (0, L.jsx)(
|
|
828
|
+
return t ? /* @__PURE__ */ (0, L.jsx)(Me, {
|
|
829
829
|
href: t,
|
|
830
830
|
onClick: () => E(N.error, t),
|
|
831
831
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
@@ -833,18 +833,18 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
833
833
|
}) : null;
|
|
834
834
|
}
|
|
835
835
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
836
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return y("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, L.jsx)(
|
|
836
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return y("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, L.jsx)(hn, {});
|
|
837
837
|
let i = t[0];
|
|
838
|
-
return r?.[`step.error.errorId.${i}.buttonText`] && v(n) ? /* @__PURE__ */ (0, L.jsx)(
|
|
838
|
+
return r?.[`step.error.errorId.${i}.buttonText`] && v(n) ? /* @__PURE__ */ (0, L.jsx)(Me, {
|
|
839
839
|
href: n,
|
|
840
840
|
onClick: () => E(N.error, n),
|
|
841
841
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
842
842
|
children: /* @__PURE__ */ (0, L.jsx)(P, { id: `step.error.errorId.${i}.buttonText` })
|
|
843
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
844
|
-
},
|
|
845
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
843
|
+
}) : /* @__PURE__ */ (0, L.jsx)(hn, {});
|
|
844
|
+
}, xn = ({ verificationService: e, errorId: t }) => {
|
|
845
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = gt("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
846
846
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
847
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
847
|
+
let s = Array.from(o), c = s.some((e) => gn.includes(e));
|
|
848
848
|
return /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
849
849
|
id: "sid-step-error",
|
|
850
850
|
className: "sid-error-container sid-l-container",
|
|
@@ -854,7 +854,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
854
854
|
children: [
|
|
855
855
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
856
856
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
857
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
857
|
+
children: /* @__PURE__ */ (0, L.jsx)(bt, {
|
|
858
858
|
verificationService: e,
|
|
859
859
|
fallbackLogo: !a && /* @__PURE__ */ (0, L.jsx)("img", {
|
|
860
860
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -863,16 +863,16 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
863
863
|
})
|
|
864
864
|
})
|
|
865
865
|
}),
|
|
866
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
866
|
+
/* @__PURE__ */ (0, L.jsx)(_n, { errorIds: s }),
|
|
867
867
|
/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
868
868
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
869
869
|
children: [
|
|
870
870
|
/* @__PURE__ */ (0, L.jsxs)("div", {
|
|
871
871
|
className: "sid-error-msg sid-l-horz-center",
|
|
872
|
-
children: [/* @__PURE__ */ (0, L.jsx)(
|
|
872
|
+
children: [/* @__PURE__ */ (0, L.jsx)(vn, {
|
|
873
873
|
errorIds: s,
|
|
874
874
|
errorDetailId: i
|
|
875
|
-
}), /* @__PURE__ */ (0, L.jsx)(
|
|
875
|
+
}), /* @__PURE__ */ (0, L.jsx)(yn, { errorIds: s })]
|
|
876
876
|
}),
|
|
877
877
|
c && /* @__PURE__ */ (0, L.jsx)("p", {
|
|
878
878
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
@@ -880,7 +880,7 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
880
880
|
}),
|
|
881
881
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
882
882
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
883
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
883
|
+
children: /* @__PURE__ */ (0, L.jsx)(bn, {
|
|
884
884
|
verificationService: e,
|
|
885
885
|
errorIds: s,
|
|
886
886
|
redirectUrl: r
|
|
@@ -891,49 +891,49 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
891
891
|
]
|
|
892
892
|
}), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
893
893
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
894
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
894
|
+
children: /* @__PURE__ */ (0, L.jsx)(Ut, {
|
|
895
895
|
verificationService: e,
|
|
896
896
|
isCentered: !0,
|
|
897
897
|
hideFaqLink: c
|
|
898
898
|
})
|
|
899
899
|
})]
|
|
900
900
|
});
|
|
901
|
-
},
|
|
902
|
-
StepPendingComponent:
|
|
903
|
-
StepErrorComponent:
|
|
904
|
-
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
905
|
-
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-
|
|
906
|
-
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
907
|
-
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
908
|
-
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
909
|
-
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
910
|
-
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
911
|
-
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
912
|
-
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
913
|
-
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
914
|
-
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
915
|
-
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
916
|
-
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
917
|
-
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
918
|
-
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
919
|
-
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
920
|
-
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
921
|
-
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
922
|
-
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-
|
|
923
|
-
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-
|
|
924
|
-
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-
|
|
925
|
-
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-
|
|
926
|
-
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
927
|
-
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-
|
|
928
|
-
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
901
|
+
}, Sn = {
|
|
902
|
+
StepPendingComponent: ln,
|
|
903
|
+
StepErrorComponent: xn,
|
|
904
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-B8QwLWUK.js")),
|
|
905
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-C9h9fP27.js")),
|
|
906
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-3pMQ5xmu.js")),
|
|
907
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-3pMQ5xmu.js")),
|
|
908
|
+
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-D5fEULP8.js")),
|
|
909
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-D5fEULP8.js")),
|
|
910
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-D5fEULP8.js")),
|
|
911
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-D5fEULP8.js")),
|
|
912
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-CedsuuPs.js")),
|
|
913
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-Dfp9QW8-.js")),
|
|
914
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-BnZfWlpa.js")),
|
|
915
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-SCTgUH4L.js")),
|
|
916
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-Cxl0Wslc.js")),
|
|
917
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-CLO_MLrV.js")),
|
|
918
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-oemUzTIe.js")),
|
|
919
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-B-DGFkrI.js")),
|
|
920
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-DKA5np85.js")),
|
|
921
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-CvATZvNo.js")),
|
|
922
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-wLDs-0mg.js")),
|
|
923
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-DssMCn-U.js")),
|
|
924
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-BgyTBu-u.js")),
|
|
925
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-DDfDm16i.js").then((e) => e.n)),
|
|
926
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-DbSAn1aA.js")),
|
|
927
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-wiA0rt4U.js")),
|
|
928
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-CGZhAqYm.js")),
|
|
929
929
|
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-Bx1gQq5b.js")),
|
|
930
|
-
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-
|
|
931
|
-
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
932
|
-
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
933
|
-
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
934
|
-
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
930
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-DZ-fwvIw.js")),
|
|
931
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-BRTHwZ0Z.js")),
|
|
932
|
+
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-Ds3ieihr.js")),
|
|
933
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-Df1zQTCd.js")),
|
|
934
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-CX8h-lLL.js")),
|
|
935
935
|
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-BFizJiyZ.js"))
|
|
936
|
-
}, z = (e) => (M.info("getComponent", e),
|
|
936
|
+
}, z = (e) => (M.info("getComponent", e), It(e) || Sn[e]), Cn = () => /* @__PURE__ */ (0, L.jsx)(Bt, {}), wn = ({ stepToLoad: e, verificationService: t }) => {
|
|
937
937
|
M.info(`LoadStepComponent: rendering step: ${e}`);
|
|
938
938
|
let n;
|
|
939
939
|
switch ((0, F.useEffect)(() => {
|
|
@@ -1061,37 +1061,37 @@ var St = /* @__PURE__ */ n(((e, t) => {
|
|
|
1061
1061
|
case "cancelEmailLoop":
|
|
1062
1062
|
case "cancelSocialSecurityNumber":
|
|
1063
1063
|
case "docReviewLimitExceeded":
|
|
1064
|
-
case "emailLoopCollectOrganizationEmail": return M.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, L.jsx)(
|
|
1064
|
+
case "emailLoopCollectOrganizationEmail": return M.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, L.jsx)(xn, {
|
|
1065
1065
|
verificationService: t,
|
|
1066
1066
|
errorId: "invalidStep"
|
|
1067
1067
|
});
|
|
1068
|
-
default: return M.error("Unable to load step", e), /* @__PURE__ */ (0, L.jsx)(
|
|
1068
|
+
default: return M.error("Unable to load step", e), /* @__PURE__ */ (0, L.jsx)(xn, {
|
|
1069
1069
|
verificationService: t,
|
|
1070
1070
|
errorId: "invalidStep"
|
|
1071
1071
|
});
|
|
1072
1072
|
}
|
|
1073
1073
|
return /* @__PURE__ */ (0, L.jsx)(F.Suspense, {
|
|
1074
|
-
fallback:
|
|
1074
|
+
fallback: Cn(),
|
|
1075
1075
|
children: /* @__PURE__ */ (0, L.jsx)(n, { verificationService: t })
|
|
1076
1076
|
});
|
|
1077
|
-
},
|
|
1077
|
+
}, Tn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, L.jsx)("span", {
|
|
1078
1078
|
dangerouslySetInnerHTML: e,
|
|
1079
1079
|
...t
|
|
1080
|
-
}) : /* @__PURE__ */ (0, L.jsx)(F.Fragment, { ...t }),
|
|
1080
|
+
}) : /* @__PURE__ */ (0, L.jsx)(F.Fragment, { ...t }), En = (e) => be()?.isTestMode ? /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
1081
1081
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1082
1082
|
role: "note",
|
|
1083
|
-
children: ["Test Mode", /* @__PURE__ */ (0, L.jsx)(
|
|
1083
|
+
children: ["Test Mode", /* @__PURE__ */ (0, L.jsx)(Me, {
|
|
1084
1084
|
className: "sid-test-mode-flag__link",
|
|
1085
1085
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1086
1086
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1087
1087
|
children: "(learn more)"
|
|
1088
1088
|
})]
|
|
1089
|
-
}) : null,
|
|
1089
|
+
}) : null, Dn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, L.jsxs)("header", {
|
|
1090
1090
|
className: "sid-header",
|
|
1091
1091
|
children: [
|
|
1092
1092
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
1093
1093
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1094
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
1094
|
+
children: /* @__PURE__ */ (0, L.jsx)(bt, {
|
|
1095
1095
|
verificationService: e,
|
|
1096
1096
|
fallbackLogo: r
|
|
1097
1097
|
})
|
|
@@ -1111,30 +1111,30 @@ function B(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
//#endregion
|
|
1113
1113
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1114
|
-
function
|
|
1114
|
+
function On(e, t) {
|
|
1115
1115
|
if (typeof e == "function") return e(t);
|
|
1116
1116
|
e != null && (e.current = t);
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function kn(...e) {
|
|
1119
1119
|
return (t) => {
|
|
1120
1120
|
let n = !1, r = e.map((e) => {
|
|
1121
|
-
let r =
|
|
1121
|
+
let r = On(e, t);
|
|
1122
1122
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1123
1123
|
});
|
|
1124
1124
|
if (n) return () => {
|
|
1125
1125
|
for (let t = 0; t < r.length; t++) {
|
|
1126
1126
|
let n = r[t];
|
|
1127
|
-
typeof n == "function" ? n() :
|
|
1127
|
+
typeof n == "function" ? n() : On(e[t], null);
|
|
1128
1128
|
}
|
|
1129
1129
|
};
|
|
1130
1130
|
};
|
|
1131
1131
|
}
|
|
1132
1132
|
function V(...e) {
|
|
1133
|
-
return F.useCallback(
|
|
1133
|
+
return F.useCallback(kn(...e), e);
|
|
1134
1134
|
}
|
|
1135
1135
|
//#endregion
|
|
1136
1136
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1137
|
-
function
|
|
1137
|
+
function An(e, t = []) {
|
|
1138
1138
|
let n = [];
|
|
1139
1139
|
function r(t, r) {
|
|
1140
1140
|
let i = F.createContext(r), a = n.length;
|
|
@@ -1165,9 +1165,9 @@ function On(e, t = []) {
|
|
|
1165
1165
|
} }), [n, r]);
|
|
1166
1166
|
};
|
|
1167
1167
|
};
|
|
1168
|
-
return i.scopeName = e, [r,
|
|
1168
|
+
return i.scopeName = e, [r, jn(i, ...t)];
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1170
|
+
function jn(...e) {
|
|
1171
1171
|
let t = e[0];
|
|
1172
1172
|
if (e.length === 1) return t;
|
|
1173
1173
|
let n = () => {
|
|
@@ -1191,9 +1191,9 @@ function kn(...e) {
|
|
|
1191
1191
|
//#endregion
|
|
1192
1192
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1193
1193
|
// @__NO_SIDE_EFFECTS__
|
|
1194
|
-
function
|
|
1195
|
-
let t = /* @__PURE__ */
|
|
1196
|
-
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(
|
|
1194
|
+
function Mn(e) {
|
|
1195
|
+
let t = /* @__PURE__ */ Nn(e), n = F.forwardRef((e, n) => {
|
|
1196
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(Fn);
|
|
1197
1197
|
if (o) {
|
|
1198
1198
|
let e = o.props.children, r = a.map((t) => t === o ? F.Children.count(e) > 1 ? F.Children.only(null) : F.isValidElement(e) ? e.props.children : null : t);
|
|
1199
1199
|
return /* @__PURE__ */ (0, L.jsx)(t, {
|
|
@@ -1211,22 +1211,22 @@ function An(e) {
|
|
|
1211
1211
|
return n.displayName = `${e}.Slot`, n;
|
|
1212
1212
|
}
|
|
1213
1213
|
// @__NO_SIDE_EFFECTS__
|
|
1214
|
-
function
|
|
1214
|
+
function Nn(e) {
|
|
1215
1215
|
let t = F.forwardRef((e, t) => {
|
|
1216
1216
|
let { children: n, ...r } = e;
|
|
1217
1217
|
if (F.isValidElement(n)) {
|
|
1218
|
-
let e =
|
|
1219
|
-
return n.type !== F.Fragment && (i.ref = t ?
|
|
1218
|
+
let e = Ln(n), i = In(r, n.props);
|
|
1219
|
+
return n.type !== F.Fragment && (i.ref = t ? kn(t, e) : e), F.cloneElement(n, i);
|
|
1220
1220
|
}
|
|
1221
1221
|
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1222
1222
|
});
|
|
1223
1223
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1224
1224
|
}
|
|
1225
|
-
var
|
|
1226
|
-
function
|
|
1227
|
-
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1225
|
+
var Pn = Symbol("radix.slottable");
|
|
1226
|
+
function Fn(e) {
|
|
1227
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Pn;
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function In(e, t) {
|
|
1230
1230
|
let n = { ...t };
|
|
1231
1231
|
for (let r in t) {
|
|
1232
1232
|
let i = e[r], a = t[r];
|
|
@@ -1243,7 +1243,7 @@ function Pn(e, t) {
|
|
|
1243
1243
|
...n
|
|
1244
1244
|
};
|
|
1245
1245
|
}
|
|
1246
|
-
function
|
|
1246
|
+
function Ln(e) {
|
|
1247
1247
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1248
1248
|
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);
|
|
1249
1249
|
}
|
|
@@ -1268,7 +1268,7 @@ var H = [
|
|
|
1268
1268
|
"svg",
|
|
1269
1269
|
"ul"
|
|
1270
1270
|
].reduce((e, t) => {
|
|
1271
|
-
let n = /* @__PURE__ */
|
|
1271
|
+
let n = /* @__PURE__ */ Mn(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1272
1272
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1273
1273
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, L.jsx)(o, {
|
|
1274
1274
|
...a,
|
|
@@ -1280,12 +1280,12 @@ var H = [
|
|
|
1280
1280
|
[t]: r
|
|
1281
1281
|
};
|
|
1282
1282
|
}, {});
|
|
1283
|
-
function
|
|
1284
|
-
e &&
|
|
1283
|
+
function Rn(e, t) {
|
|
1284
|
+
e && Et.flushSync(() => e.dispatchEvent(t));
|
|
1285
1285
|
}
|
|
1286
1286
|
//#endregion
|
|
1287
1287
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1288
|
-
function
|
|
1288
|
+
function zn(e) {
|
|
1289
1289
|
let t = F.useRef(e);
|
|
1290
1290
|
return F.useEffect(() => {
|
|
1291
1291
|
t.current = e;
|
|
@@ -1293,8 +1293,8 @@ function Ln(e) {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
//#endregion
|
|
1295
1295
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1296
|
-
function
|
|
1297
|
-
let n =
|
|
1296
|
+
function Bn(e, t = globalThis?.document) {
|
|
1297
|
+
let n = zn(e);
|
|
1298
1298
|
F.useEffect(() => {
|
|
1299
1299
|
let e = (e) => {
|
|
1300
1300
|
e.key === "Escape" && n(e);
|
|
@@ -1304,23 +1304,23 @@ function Rn(e, t = globalThis?.document) {
|
|
|
1304
1304
|
}
|
|
1305
1305
|
//#endregion
|
|
1306
1306
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1307
|
-
var
|
|
1307
|
+
var Vn = "DismissableLayer", Hn = "dismissableLayer.update", Un = "dismissableLayer.pointerDownOutside", Wn = "dismissableLayer.focusOutside", Gn, Kn = F.createContext({
|
|
1308
1308
|
layers: /* @__PURE__ */ new Set(),
|
|
1309
1309
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1310
1310
|
branches: /* @__PURE__ */ new Set()
|
|
1311
|
-
}),
|
|
1312
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(
|
|
1311
|
+
}), qn = F.forwardRef((e, t) => {
|
|
1312
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(Kn), [u, d] = F.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = F.useState({}), m = V(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = Xn((e) => {
|
|
1313
1313
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1314
1314
|
b && !n && (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1315
|
-
}, f), S =
|
|
1315
|
+
}, f), S = Zn((e) => {
|
|
1316
1316
|
let t = e.target;
|
|
1317
1317
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1318
1318
|
}, f);
|
|
1319
|
-
return
|
|
1319
|
+
return Bn((e) => {
|
|
1320
1320
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1321
1321
|
}, f), F.useEffect(() => {
|
|
1322
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1323
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1322
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Gn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Qn(), () => {
|
|
1323
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Gn);
|
|
1324
1324
|
};
|
|
1325
1325
|
}, [
|
|
1326
1326
|
u,
|
|
@@ -1328,10 +1328,10 @@ var zn = "DismissableLayer", Bn = "dismissableLayer.update", Vn = "dismissableLa
|
|
|
1328
1328
|
n,
|
|
1329
1329
|
l
|
|
1330
1330
|
]), F.useEffect(() => () => {
|
|
1331
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1331
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Qn());
|
|
1332
1332
|
}, [u, l]), F.useEffect(() => {
|
|
1333
1333
|
let e = () => p({});
|
|
1334
|
-
return document.addEventListener(
|
|
1334
|
+
return document.addEventListener(Hn, e), () => document.removeEventListener(Hn, e);
|
|
1335
1335
|
}, []), /* @__PURE__ */ (0, L.jsx)(H.div, {
|
|
1336
1336
|
...c,
|
|
1337
1337
|
ref: m,
|
|
@@ -1344,9 +1344,9 @@ var zn = "DismissableLayer", Bn = "dismissableLayer.update", Vn = "dismissableLa
|
|
|
1344
1344
|
onPointerDownCapture: B(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1345
1345
|
});
|
|
1346
1346
|
});
|
|
1347
|
-
|
|
1348
|
-
var
|
|
1349
|
-
let n = F.useContext(
|
|
1347
|
+
qn.displayName = Vn;
|
|
1348
|
+
var Jn = "DismissableLayerBranch", Yn = F.forwardRef((e, t) => {
|
|
1349
|
+
let n = F.useContext(Kn), r = F.useRef(null), i = V(t, r);
|
|
1350
1350
|
return F.useEffect(() => {
|
|
1351
1351
|
let e = r.current;
|
|
1352
1352
|
if (e) return n.branches.add(e), () => {
|
|
@@ -1357,14 +1357,14 @@ var Kn = "DismissableLayerBranch", qn = F.forwardRef((e, t) => {
|
|
|
1357
1357
|
ref: i
|
|
1358
1358
|
});
|
|
1359
1359
|
});
|
|
1360
|
-
|
|
1361
|
-
function
|
|
1362
|
-
let n =
|
|
1360
|
+
Yn.displayName = Jn;
|
|
1361
|
+
function Xn(e, t = globalThis?.document) {
|
|
1362
|
+
let n = zn(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1363
1363
|
return F.useEffect(() => {
|
|
1364
1364
|
let e = (e) => {
|
|
1365
1365
|
if (e.target && !r.current) {
|
|
1366
1366
|
let r = function() {
|
|
1367
|
-
|
|
1367
|
+
$n(Un, n, a, { discrete: !0 });
|
|
1368
1368
|
}, a = { originalEvent: e };
|
|
1369
1369
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1370
1370
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1377,11 +1377,11 @@ function Jn(e, t = globalThis?.document) {
|
|
|
1377
1377
|
};
|
|
1378
1378
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1379
1379
|
}
|
|
1380
|
-
function
|
|
1381
|
-
let n =
|
|
1380
|
+
function Zn(e, t = globalThis?.document) {
|
|
1381
|
+
let n = zn(e), r = F.useRef(!1);
|
|
1382
1382
|
return F.useEffect(() => {
|
|
1383
1383
|
let e = (e) => {
|
|
1384
|
-
e.target && !r.current &&
|
|
1384
|
+
e.target && !r.current && $n(Wn, n, { originalEvent: e }, { discrete: !1 });
|
|
1385
1385
|
};
|
|
1386
1386
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1387
1387
|
}, [t, n]), {
|
|
@@ -1389,40 +1389,40 @@ function Yn(e, t = globalThis?.document) {
|
|
|
1389
1389
|
onBlurCapture: () => r.current = !1
|
|
1390
1390
|
};
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1393
|
-
let e = new CustomEvent(
|
|
1392
|
+
function Qn() {
|
|
1393
|
+
let e = new CustomEvent(Hn);
|
|
1394
1394
|
document.dispatchEvent(e);
|
|
1395
1395
|
}
|
|
1396
|
-
function
|
|
1396
|
+
function $n(e, t, n, { discrete: r }) {
|
|
1397
1397
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1398
1398
|
bubbles: !1,
|
|
1399
1399
|
cancelable: !0,
|
|
1400
1400
|
detail: n
|
|
1401
1401
|
});
|
|
1402
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1402
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Rn(i, a) : i.dispatchEvent(a);
|
|
1403
1403
|
}
|
|
1404
1404
|
//#endregion
|
|
1405
1405
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1406
|
-
var
|
|
1407
|
-
function
|
|
1406
|
+
var er = 0;
|
|
1407
|
+
function tr() {
|
|
1408
1408
|
F.useEffect(() => {
|
|
1409
1409
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1410
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1411
|
-
|
|
1410
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? nr()), document.body.insertAdjacentElement("beforeend", e[1] ?? nr()), er++, () => {
|
|
1411
|
+
er === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), er--;
|
|
1412
1412
|
};
|
|
1413
1413
|
}, []);
|
|
1414
1414
|
}
|
|
1415
|
-
function
|
|
1415
|
+
function nr() {
|
|
1416
1416
|
let e = document.createElement("span");
|
|
1417
1417
|
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;
|
|
1418
1418
|
}
|
|
1419
1419
|
//#endregion
|
|
1420
1420
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1421
|
-
var
|
|
1421
|
+
var rr = "focusScope.autoFocusOnMount", ir = "focusScope.autoFocusOnUnmount", ar = {
|
|
1422
1422
|
bubbles: !1,
|
|
1423
1423
|
cancelable: !0
|
|
1424
|
-
},
|
|
1425
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l =
|
|
1424
|
+
}, or = "FocusScope", sr = F.forwardRef((e, t) => {
|
|
1425
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = zn(i), u = zn(a), d = F.useRef(null), f = V(t, (e) => c(e)), p = F.useRef({
|
|
1426
1426
|
paused: !1,
|
|
1427
1427
|
pause() {
|
|
1428
1428
|
this.paused = !0;
|
|
@@ -1436,13 +1436,13 @@ var tr = "focusScope.autoFocusOnMount", nr = "focusScope.autoFocusOnUnmount", rr
|
|
|
1436
1436
|
let e = function(e) {
|
|
1437
1437
|
if (p.paused || !s) return;
|
|
1438
1438
|
let t = e.target;
|
|
1439
|
-
s.contains(t) ? d.current = t :
|
|
1439
|
+
s.contains(t) ? d.current = t : mr(d.current, { select: !0 });
|
|
1440
1440
|
}, t = function(e) {
|
|
1441
1441
|
if (p.paused || !s) return;
|
|
1442
1442
|
let t = e.relatedTarget;
|
|
1443
|
-
t !== null && (s.contains(t) ||
|
|
1443
|
+
t !== null && (s.contains(t) || mr(d.current, { select: !0 }));
|
|
1444
1444
|
}, n = function(e) {
|
|
1445
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1445
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && mr(s);
|
|
1446
1446
|
};
|
|
1447
1447
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1448
1448
|
let r = new MutationObserver(n);
|
|
@@ -1459,16 +1459,16 @@ var tr = "focusScope.autoFocusOnMount", nr = "focusScope.autoFocusOnUnmount", rr
|
|
|
1459
1459
|
p.paused
|
|
1460
1460
|
]), F.useEffect(() => {
|
|
1461
1461
|
if (s) {
|
|
1462
|
-
|
|
1462
|
+
hr.add(p);
|
|
1463
1463
|
let e = document.activeElement;
|
|
1464
1464
|
if (!s.contains(e)) {
|
|
1465
|
-
let t = new CustomEvent(
|
|
1466
|
-
s.addEventListener(
|
|
1465
|
+
let t = new CustomEvent(rr, ar);
|
|
1466
|
+
s.addEventListener(rr, l), s.dispatchEvent(t), t.defaultPrevented || (cr(vr(ur(s)), { select: !0 }), document.activeElement === e && mr(s));
|
|
1467
1467
|
}
|
|
1468
1468
|
return () => {
|
|
1469
|
-
s.removeEventListener(
|
|
1470
|
-
let t = new CustomEvent(
|
|
1471
|
-
s.addEventListener(
|
|
1469
|
+
s.removeEventListener(rr, l), setTimeout(() => {
|
|
1470
|
+
let t = new CustomEvent(ir, ar);
|
|
1471
|
+
s.addEventListener(ir, u), s.dispatchEvent(t), t.defaultPrevented || mr(e ?? document.body, { select: !0 }), s.removeEventListener(ir, u), hr.remove(p);
|
|
1472
1472
|
}, 0);
|
|
1473
1473
|
};
|
|
1474
1474
|
}
|
|
@@ -1482,8 +1482,8 @@ var tr = "focusScope.autoFocusOnMount", nr = "focusScope.autoFocusOnUnmount", rr
|
|
|
1482
1482
|
if (!n && !r || p.paused) return;
|
|
1483
1483
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1484
1484
|
if (t && i) {
|
|
1485
|
-
let t = e.currentTarget, [r, a] =
|
|
1486
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1485
|
+
let t = e.currentTarget, [r, a] = lr(t);
|
|
1486
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && mr(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && mr(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1487
1487
|
}
|
|
1488
1488
|
}, [
|
|
1489
1489
|
n,
|
|
@@ -1497,16 +1497,16 @@ var tr = "focusScope.autoFocusOnMount", nr = "focusScope.autoFocusOnUnmount", rr
|
|
|
1497
1497
|
onKeyDown: m
|
|
1498
1498
|
});
|
|
1499
1499
|
});
|
|
1500
|
-
|
|
1501
|
-
function
|
|
1500
|
+
sr.displayName = or;
|
|
1501
|
+
function cr(e, { select: t = !1 } = {}) {
|
|
1502
1502
|
let n = document.activeElement;
|
|
1503
|
-
for (let r of e) if (
|
|
1503
|
+
for (let r of e) if (mr(r, { select: t }), document.activeElement !== n) return;
|
|
1504
1504
|
}
|
|
1505
|
-
function
|
|
1506
|
-
let t =
|
|
1507
|
-
return [
|
|
1505
|
+
function lr(e) {
|
|
1506
|
+
let t = ur(e);
|
|
1507
|
+
return [dr(t, e), dr(t.reverse(), e)];
|
|
1508
1508
|
}
|
|
1509
|
-
function
|
|
1509
|
+
function ur(e) {
|
|
1510
1510
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1511
1511
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1512
1512
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1514,10 +1514,10 @@ function cr(e) {
|
|
|
1514
1514
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1515
1515
|
return t;
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1518
|
-
for (let n of e) if (!
|
|
1517
|
+
function dr(e, t) {
|
|
1518
|
+
for (let n of e) if (!fr(n, { upTo: t })) return n;
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1520
|
+
function fr(e, { upTo: t }) {
|
|
1521
1521
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1522
1522
|
for (; e;) {
|
|
1523
1523
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1526,62 +1526,62 @@ function ur(e, { upTo: t }) {
|
|
|
1526
1526
|
}
|
|
1527
1527
|
return !1;
|
|
1528
1528
|
}
|
|
1529
|
-
function
|
|
1529
|
+
function pr(e) {
|
|
1530
1530
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1532
|
+
function mr(e, { select: t = !1 } = {}) {
|
|
1533
1533
|
if (e && e.focus) {
|
|
1534
1534
|
let n = document.activeElement;
|
|
1535
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1535
|
+
e.focus({ preventScroll: !0 }), e !== n && pr(e) && t && e.select();
|
|
1536
1536
|
}
|
|
1537
1537
|
}
|
|
1538
|
-
var
|
|
1539
|
-
function
|
|
1538
|
+
var hr = gr();
|
|
1539
|
+
function gr() {
|
|
1540
1540
|
let e = [];
|
|
1541
1541
|
return {
|
|
1542
1542
|
add(t) {
|
|
1543
1543
|
let n = e[0];
|
|
1544
|
-
t !== n && n?.pause(), e =
|
|
1544
|
+
t !== n && n?.pause(), e = _r(e, t), e.unshift(t);
|
|
1545
1545
|
},
|
|
1546
1546
|
remove(t) {
|
|
1547
|
-
e =
|
|
1547
|
+
e = _r(e, t), e[0]?.resume();
|
|
1548
1548
|
}
|
|
1549
1549
|
};
|
|
1550
1550
|
}
|
|
1551
|
-
function
|
|
1551
|
+
function _r(e, t) {
|
|
1552
1552
|
let n = [...e], r = n.indexOf(t);
|
|
1553
1553
|
return r !== -1 && n.splice(r, 1), n;
|
|
1554
1554
|
}
|
|
1555
|
-
function
|
|
1555
|
+
function vr(e) {
|
|
1556
1556
|
return e.filter((e) => e.tagName !== "A");
|
|
1557
1557
|
}
|
|
1558
1558
|
//#endregion
|
|
1559
1559
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1560
|
-
var
|
|
1561
|
-
function
|
|
1562
|
-
let [t, n] = F.useState(
|
|
1563
|
-
return
|
|
1564
|
-
e || n((e) => e ?? String(
|
|
1560
|
+
var yr = globalThis?.document ? F.useLayoutEffect : () => {}, br = F.useId || (() => void 0), xr = 0;
|
|
1561
|
+
function Sr(e) {
|
|
1562
|
+
let [t, n] = F.useState(br());
|
|
1563
|
+
return yr(() => {
|
|
1564
|
+
e || n((e) => e ?? String(xr++));
|
|
1565
1565
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1566
1566
|
}
|
|
1567
1567
|
//#endregion
|
|
1568
1568
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1569
|
-
var
|
|
1569
|
+
var Cr = [
|
|
1570
1570
|
"top",
|
|
1571
1571
|
"right",
|
|
1572
1572
|
"bottom",
|
|
1573
1573
|
"left"
|
|
1574
|
-
],
|
|
1574
|
+
], wr = Math.min, U = Math.max, Tr = Math.round, Er = Math.floor, W = (e) => ({
|
|
1575
1575
|
x: e,
|
|
1576
1576
|
y: e
|
|
1577
|
-
}),
|
|
1577
|
+
}), Dr = {
|
|
1578
1578
|
left: "right",
|
|
1579
1579
|
right: "left",
|
|
1580
1580
|
bottom: "top",
|
|
1581
1581
|
top: "bottom"
|
|
1582
1582
|
};
|
|
1583
|
-
function
|
|
1584
|
-
return U(e,
|
|
1583
|
+
function Or(e, t, n) {
|
|
1584
|
+
return U(e, wr(t, n));
|
|
1585
1585
|
}
|
|
1586
1586
|
function G(e, t) {
|
|
1587
1587
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1589,57 +1589,57 @@ function G(e, t) {
|
|
|
1589
1589
|
function K(e) {
|
|
1590
1590
|
return e.split("-")[0];
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1592
|
+
function kr(e) {
|
|
1593
1593
|
return e.split("-")[1];
|
|
1594
1594
|
}
|
|
1595
|
-
function
|
|
1595
|
+
function Ar(e) {
|
|
1596
1596
|
return e === "x" ? "y" : "x";
|
|
1597
1597
|
}
|
|
1598
|
-
function
|
|
1598
|
+
function jr(e) {
|
|
1599
1599
|
return e === "y" ? "height" : "width";
|
|
1600
1600
|
}
|
|
1601
1601
|
function q(e) {
|
|
1602
1602
|
let t = e[0];
|
|
1603
1603
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1606
|
-
return
|
|
1605
|
+
function Mr(e) {
|
|
1606
|
+
return Ar(q(e));
|
|
1607
1607
|
}
|
|
1608
|
-
function
|
|
1608
|
+
function Nr(e, t, n) {
|
|
1609
1609
|
n === void 0 && (n = !1);
|
|
1610
|
-
let r =
|
|
1611
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1610
|
+
let r = kr(e), i = Mr(e), a = jr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1611
|
+
return t.reference[a] > t.floating[a] && (o = Hr(o)), [o, Hr(o)];
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1614
|
-
let t =
|
|
1613
|
+
function Pr(e) {
|
|
1614
|
+
let t = Hr(e);
|
|
1615
1615
|
return [
|
|
1616
|
-
|
|
1616
|
+
Fr(e),
|
|
1617
1617
|
t,
|
|
1618
|
-
|
|
1618
|
+
Fr(t)
|
|
1619
1619
|
];
|
|
1620
1620
|
}
|
|
1621
|
-
function
|
|
1621
|
+
function Fr(e) {
|
|
1622
1622
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1623
1623
|
}
|
|
1624
|
-
var
|
|
1625
|
-
function
|
|
1624
|
+
var Ir = ["left", "right"], Lr = ["right", "left"], Rr = ["top", "bottom"], zr = ["bottom", "top"];
|
|
1625
|
+
function Br(e, t, n) {
|
|
1626
1626
|
switch (e) {
|
|
1627
1627
|
case "top":
|
|
1628
|
-
case "bottom": return n ? t ?
|
|
1628
|
+
case "bottom": return n ? t ? Lr : Ir : t ? Ir : Lr;
|
|
1629
1629
|
case "left":
|
|
1630
|
-
case "right": return t ?
|
|
1630
|
+
case "right": return t ? Rr : zr;
|
|
1631
1631
|
default: return [];
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
|
-
function
|
|
1635
|
-
let i =
|
|
1636
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1634
|
+
function Vr(e, t, n, r) {
|
|
1635
|
+
let i = kr(e), a = Br(K(e), n === "start", r);
|
|
1636
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Fr)))), a;
|
|
1637
1637
|
}
|
|
1638
|
-
function
|
|
1638
|
+
function Hr(e) {
|
|
1639
1639
|
let t = K(e);
|
|
1640
|
-
return
|
|
1640
|
+
return Dr[t] + e.slice(t.length);
|
|
1641
1641
|
}
|
|
1642
|
-
function
|
|
1642
|
+
function Ur(e) {
|
|
1643
1643
|
return {
|
|
1644
1644
|
top: 0,
|
|
1645
1645
|
right: 0,
|
|
@@ -1648,15 +1648,15 @@ function Vr(e) {
|
|
|
1648
1648
|
...e
|
|
1649
1649
|
};
|
|
1650
1650
|
}
|
|
1651
|
-
function
|
|
1651
|
+
function Wr(e) {
|
|
1652
1652
|
return typeof e == "number" ? {
|
|
1653
1653
|
top: e,
|
|
1654
1654
|
right: e,
|
|
1655
1655
|
bottom: e,
|
|
1656
1656
|
left: e
|
|
1657
|
-
} :
|
|
1657
|
+
} : Ur(e);
|
|
1658
1658
|
}
|
|
1659
|
-
function
|
|
1659
|
+
function Gr(e) {
|
|
1660
1660
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1661
1661
|
return {
|
|
1662
1662
|
width: r,
|
|
@@ -1671,8 +1671,8 @@ function Ur(e) {
|
|
|
1671
1671
|
}
|
|
1672
1672
|
//#endregion
|
|
1673
1673
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1674
|
-
function
|
|
1675
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1674
|
+
function Kr(e, t, n) {
|
|
1675
|
+
let { reference: r, floating: i } = e, a = q(t), o = Mr(t), s = jr(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;
|
|
1676
1676
|
switch (c) {
|
|
1677
1677
|
case "top":
|
|
1678
1678
|
p = {
|
|
@@ -1703,7 +1703,7 @@ function Wr(e, t, n) {
|
|
|
1703
1703
|
y: r.y
|
|
1704
1704
|
};
|
|
1705
1705
|
}
|
|
1706
|
-
switch (
|
|
1706
|
+
switch (kr(t)) {
|
|
1707
1707
|
case "start":
|
|
1708
1708
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1709
1709
|
break;
|
|
@@ -1711,9 +1711,9 @@ function Wr(e, t, n) {
|
|
|
1711
1711
|
}
|
|
1712
1712
|
return p;
|
|
1713
1713
|
}
|
|
1714
|
-
async function
|
|
1714
|
+
async function qr(e, t) {
|
|
1715
1715
|
t === void 0 && (t = {});
|
|
1716
|
-
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 =
|
|
1716
|
+
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 = Wr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Gr(await i.getClippingRect({
|
|
1717
1717
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1718
1718
|
boundary: c,
|
|
1719
1719
|
rootBoundary: l,
|
|
@@ -1726,7 +1726,7 @@ async function Gr(e, t) {
|
|
|
1726
1726
|
} : 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(_)) || {
|
|
1727
1727
|
x: 1,
|
|
1728
1728
|
y: 1
|
|
1729
|
-
}, y =
|
|
1729
|
+
}, y = Gr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1730
1730
|
elements: o,
|
|
1731
1731
|
rect: g,
|
|
1732
1732
|
offsetParent: _,
|
|
@@ -1739,15 +1739,15 @@ async function Gr(e, t) {
|
|
|
1739
1739
|
right: (y.right - h.right + p.right) / v.x
|
|
1740
1740
|
};
|
|
1741
1741
|
}
|
|
1742
|
-
var
|
|
1742
|
+
var Jr = 50, Yr = async (e, t, n) => {
|
|
1743
1743
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1744
1744
|
...o,
|
|
1745
|
-
detectOverflow:
|
|
1745
|
+
detectOverflow: qr
|
|
1746
1746
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1747
1747
|
reference: e,
|
|
1748
1748
|
floating: t,
|
|
1749
1749
|
strategy: i
|
|
1750
|
-
}), { x: u, y: d } =
|
|
1750
|
+
}), { x: u, y: d } = Kr(l, r, c), f = r, p = 0, m = {};
|
|
1751
1751
|
for (let n = 0; n < a.length; n++) {
|
|
1752
1752
|
let h = a[n];
|
|
1753
1753
|
if (!h) continue;
|
|
@@ -1768,11 +1768,11 @@ var Kr = 50, qr = async (e, t, n) => {
|
|
|
1768
1768
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1769
1769
|
...m[g],
|
|
1770
1770
|
...b
|
|
1771
|
-
}, x && p <
|
|
1771
|
+
}, x && p < Jr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1772
1772
|
reference: e,
|
|
1773
1773
|
floating: t,
|
|
1774
1774
|
strategy: i
|
|
1775
|
-
}) : x.rects), {x: u, y: d} =
|
|
1775
|
+
}) : x.rects), {x: u, y: d} = Kr(l, f, c)), n = -1);
|
|
1776
1776
|
}
|
|
1777
1777
|
return {
|
|
1778
1778
|
x: u,
|
|
@@ -1781,18 +1781,18 @@ var Kr = 50, qr = async (e, t, n) => {
|
|
|
1781
1781
|
strategy: i,
|
|
1782
1782
|
middlewareData: m
|
|
1783
1783
|
};
|
|
1784
|
-
},
|
|
1784
|
+
}, Xr = (e) => ({
|
|
1785
1785
|
name: "arrow",
|
|
1786
1786
|
options: e,
|
|
1787
1787
|
async fn(t) {
|
|
1788
1788
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1789
1789
|
if (l == null) return {};
|
|
1790
|
-
let d =
|
|
1790
|
+
let d = Wr(u), f = {
|
|
1791
1791
|
x: n,
|
|
1792
1792
|
y: r
|
|
1793
|
-
}, p =
|
|
1793
|
+
}, p = Mr(i), m = jr(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
|
|
1794
1794
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1795
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee =
|
|
1795
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = wr(d[_], T), E = wr(d[v], T), te = ee, D = C - h[m] - E, O = C / 2 - h[m] / 2 + w, k = Or(te, O, D), A = !c.arrow && kr(i) != null && O !== k && a.reference[m] / 2 - (O < te ? ee : E) - h[m] / 2 < 0, j = A ? O < te ? O - te : O - D : 0;
|
|
1796
1796
|
return {
|
|
1797
1797
|
[p]: f[p] + j,
|
|
1798
1798
|
data: {
|
|
@@ -1803,7 +1803,7 @@ var Kr = 50, qr = async (e, t, n) => {
|
|
|
1803
1803
|
reset: A
|
|
1804
1804
|
};
|
|
1805
1805
|
}
|
|
1806
|
-
}),
|
|
1806
|
+
}), Zr = function(e) {
|
|
1807
1807
|
return e === void 0 && (e = {}), {
|
|
1808
1808
|
name: "flip",
|
|
1809
1809
|
options: e,
|
|
@@ -1811,11 +1811,11 @@ var Kr = 50, qr = async (e, t, n) => {
|
|
|
1811
1811
|
var n;
|
|
1812
1812
|
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);
|
|
1813
1813
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1814
|
-
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 ? [
|
|
1815
|
-
!d && x && b.push(...
|
|
1814
|
+
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 ? [Hr(o)] : Pr(o)), x = p !== "none";
|
|
1815
|
+
!d && x && b.push(...Vr(o, m, p, y));
|
|
1816
1816
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1817
1817
|
if (l && w.push(C[g]), u) {
|
|
1818
|
-
let e =
|
|
1818
|
+
let e = Nr(r, a, y);
|
|
1819
1819
|
w.push(C[e[0]], C[e[1]]);
|
|
1820
1820
|
}
|
|
1821
1821
|
if (T = [...T, {
|
|
@@ -1851,7 +1851,7 @@ var Kr = 50, qr = async (e, t, n) => {
|
|
|
1851
1851
|
}
|
|
1852
1852
|
};
|
|
1853
1853
|
};
|
|
1854
|
-
function
|
|
1854
|
+
function Qr(e, t) {
|
|
1855
1855
|
return {
|
|
1856
1856
|
top: e.top - t.height,
|
|
1857
1857
|
right: e.right - t.width,
|
|
@@ -1859,10 +1859,10 @@ function Xr(e, t) {
|
|
|
1859
1859
|
left: e.left - t.width
|
|
1860
1860
|
};
|
|
1861
1861
|
}
|
|
1862
|
-
function
|
|
1863
|
-
return
|
|
1862
|
+
function $r(e) {
|
|
1863
|
+
return Cr.some((t) => e[t] >= 0);
|
|
1864
1864
|
}
|
|
1865
|
-
var
|
|
1865
|
+
var ei = function(e) {
|
|
1866
1866
|
return e === void 0 && (e = {}), {
|
|
1867
1867
|
name: "hide",
|
|
1868
1868
|
options: e,
|
|
@@ -1870,32 +1870,32 @@ var Qr = function(e) {
|
|
|
1870
1870
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1871
1871
|
switch (i) {
|
|
1872
1872
|
case "referenceHidden": {
|
|
1873
|
-
let e =
|
|
1873
|
+
let e = Qr(await r.detectOverflow(t, {
|
|
1874
1874
|
...a,
|
|
1875
1875
|
elementContext: "reference"
|
|
1876
1876
|
}), n.reference);
|
|
1877
1877
|
return { data: {
|
|
1878
1878
|
referenceHiddenOffsets: e,
|
|
1879
|
-
referenceHidden:
|
|
1879
|
+
referenceHidden: $r(e)
|
|
1880
1880
|
} };
|
|
1881
1881
|
}
|
|
1882
1882
|
case "escaped": {
|
|
1883
|
-
let e =
|
|
1883
|
+
let e = Qr(await r.detectOverflow(t, {
|
|
1884
1884
|
...a,
|
|
1885
1885
|
altBoundary: !0
|
|
1886
1886
|
}), n.floating);
|
|
1887
1887
|
return { data: {
|
|
1888
1888
|
escapedOffsets: e,
|
|
1889
|
-
escaped:
|
|
1889
|
+
escaped: $r(e)
|
|
1890
1890
|
} };
|
|
1891
1891
|
}
|
|
1892
1892
|
default: return {};
|
|
1893
1893
|
}
|
|
1894
1894
|
}
|
|
1895
1895
|
};
|
|
1896
|
-
},
|
|
1897
|
-
async function
|
|
1898
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1896
|
+
}, ti = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1897
|
+
async function ni(e, t) {
|
|
1898
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = kr(n), c = q(n) === "y", l = ti.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1899
1899
|
mainAxis: d,
|
|
1900
1900
|
crossAxis: 0,
|
|
1901
1901
|
alignmentAxis: null
|
|
@@ -1912,13 +1912,13 @@ async function ei(e, t) {
|
|
|
1912
1912
|
y: p * u
|
|
1913
1913
|
};
|
|
1914
1914
|
}
|
|
1915
|
-
var
|
|
1915
|
+
var ri = function(e) {
|
|
1916
1916
|
return e === void 0 && (e = 0), {
|
|
1917
1917
|
name: "offset",
|
|
1918
1918
|
options: e,
|
|
1919
1919
|
async fn(t) {
|
|
1920
1920
|
var n;
|
|
1921
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1921
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await ni(t, e);
|
|
1922
1922
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1923
1923
|
x: r + s.x,
|
|
1924
1924
|
y: i + s.y,
|
|
@@ -1929,7 +1929,7 @@ var ti = function(e) {
|
|
|
1929
1929
|
};
|
|
1930
1930
|
}
|
|
1931
1931
|
};
|
|
1932
|
-
},
|
|
1932
|
+
}, ii = function(e) {
|
|
1933
1933
|
return e === void 0 && (e = {}), {
|
|
1934
1934
|
name: "shift",
|
|
1935
1935
|
options: e,
|
|
@@ -1943,14 +1943,14 @@ var ti = function(e) {
|
|
|
1943
1943
|
} }, ...l } = G(e, t), u = {
|
|
1944
1944
|
x: n,
|
|
1945
1945
|
y: r
|
|
1946
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1946
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = Ar(f), m = u[p], h = u[f];
|
|
1947
1947
|
if (o) {
|
|
1948
1948
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1949
|
-
m =
|
|
1949
|
+
m = Or(n, m, r);
|
|
1950
1950
|
}
|
|
1951
1951
|
if (s) {
|
|
1952
1952
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1953
|
-
h =
|
|
1953
|
+
h = Or(n, h, r);
|
|
1954
1954
|
}
|
|
1955
1955
|
let g = c.fn({
|
|
1956
1956
|
...t,
|
|
@@ -1970,14 +1970,14 @@ var ti = function(e) {
|
|
|
1970
1970
|
};
|
|
1971
1971
|
}
|
|
1972
1972
|
};
|
|
1973
|
-
},
|
|
1973
|
+
}, ai = function(e) {
|
|
1974
1974
|
return e === void 0 && (e = {}), {
|
|
1975
1975
|
options: e,
|
|
1976
1976
|
fn(t) {
|
|
1977
1977
|
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 = {
|
|
1978
1978
|
x: n,
|
|
1979
1979
|
y: r
|
|
1980
|
-
}, d = q(i), f =
|
|
1980
|
+
}, d = q(i), f = Ar(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1981
1981
|
mainAxis: h,
|
|
1982
1982
|
crossAxis: 0
|
|
1983
1983
|
} : {
|
|
@@ -1990,7 +1990,7 @@ var ti = function(e) {
|
|
|
1990
1990
|
p < t ? p = t : p > n && (p = n);
|
|
1991
1991
|
}
|
|
1992
1992
|
if (l) {
|
|
1993
|
-
let e = f === "y" ? "width" : "height", t =
|
|
1993
|
+
let e = f === "y" ? "width" : "height", t = ti.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);
|
|
1994
1994
|
m < n ? m = n : m > r && (m = r);
|
|
1995
1995
|
}
|
|
1996
1996
|
return {
|
|
@@ -1999,15 +1999,15 @@ var ti = function(e) {
|
|
|
1999
1999
|
};
|
|
2000
2000
|
}
|
|
2001
2001
|
};
|
|
2002
|
-
},
|
|
2002
|
+
}, oi = function(e) {
|
|
2003
2003
|
return e === void 0 && (e = {}), {
|
|
2004
2004
|
name: "size",
|
|
2005
2005
|
options: e,
|
|
2006
2006
|
async fn(t) {
|
|
2007
2007
|
var n, r;
|
|
2008
|
-
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 =
|
|
2008
|
+
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 = kr(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2009
2009
|
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");
|
|
2010
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2010
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = wr(h - u[g], v), x = wr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2011
2011
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2012
2012
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2013
2013
|
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));
|
|
@@ -2024,39 +2024,39 @@ var ti = function(e) {
|
|
|
2024
2024
|
};
|
|
2025
2025
|
//#endregion
|
|
2026
2026
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2027
|
-
function
|
|
2027
|
+
function si() {
|
|
2028
2028
|
return typeof window < "u";
|
|
2029
2029
|
}
|
|
2030
|
-
function
|
|
2031
|
-
return
|
|
2030
|
+
function ci(e) {
|
|
2031
|
+
return li(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2032
2032
|
}
|
|
2033
2033
|
function J(e) {
|
|
2034
2034
|
var t;
|
|
2035
2035
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2036
2036
|
}
|
|
2037
2037
|
function Y(e) {
|
|
2038
|
-
return ((
|
|
2038
|
+
return ((li(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2039
2039
|
}
|
|
2040
|
-
function
|
|
2041
|
-
return
|
|
2040
|
+
function li(e) {
|
|
2041
|
+
return si() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2042
2042
|
}
|
|
2043
2043
|
function X(e) {
|
|
2044
|
-
return
|
|
2044
|
+
return si() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2045
2045
|
}
|
|
2046
2046
|
function Z(e) {
|
|
2047
|
-
return
|
|
2047
|
+
return si() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2048
2048
|
}
|
|
2049
|
-
function
|
|
2050
|
-
return !
|
|
2049
|
+
function ui(e) {
|
|
2050
|
+
return !si() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2051
2051
|
}
|
|
2052
|
-
function
|
|
2052
|
+
function di(e) {
|
|
2053
2053
|
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2054
2054
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2055
2055
|
}
|
|
2056
|
-
function
|
|
2057
|
-
return /^(table|td|th)$/.test(
|
|
2056
|
+
function fi(e) {
|
|
2057
|
+
return /^(table|td|th)$/.test(ci(e));
|
|
2058
2058
|
}
|
|
2059
|
-
function
|
|
2059
|
+
function pi(e) {
|
|
2060
2060
|
try {
|
|
2061
2061
|
if (e.matches(":popover-open")) return !0;
|
|
2062
2062
|
} catch {}
|
|
@@ -2066,30 +2066,30 @@ function di(e) {
|
|
|
2066
2066
|
return !1;
|
|
2067
2067
|
}
|
|
2068
2068
|
}
|
|
2069
|
-
var
|
|
2070
|
-
function
|
|
2069
|
+
var mi = /transform|translate|scale|rotate|perspective|filter/, hi = /paint|layout|strict|content/, gi = (e) => !!e && e !== "none", _i;
|
|
2070
|
+
function vi(e) {
|
|
2071
2071
|
let t = X(e) ? Q(e) : e;
|
|
2072
|
-
return
|
|
2073
|
-
}
|
|
2074
|
-
function
|
|
2075
|
-
let t =
|
|
2076
|
-
for (; Z(t) && !
|
|
2077
|
-
if (
|
|
2078
|
-
if (
|
|
2079
|
-
t =
|
|
2072
|
+
return gi(t.transform) || gi(t.translate) || gi(t.scale) || gi(t.rotate) || gi(t.perspective) || !bi() && (gi(t.backdropFilter) || gi(t.filter)) || mi.test(t.willChange || "") || hi.test(t.contain || "");
|
|
2073
|
+
}
|
|
2074
|
+
function yi(e) {
|
|
2075
|
+
let t = Ci(e);
|
|
2076
|
+
for (; Z(t) && !xi(t);) {
|
|
2077
|
+
if (vi(t)) return t;
|
|
2078
|
+
if (pi(t)) return null;
|
|
2079
|
+
t = Ci(t);
|
|
2080
2080
|
}
|
|
2081
2081
|
return null;
|
|
2082
2082
|
}
|
|
2083
|
-
function
|
|
2084
|
-
return
|
|
2083
|
+
function bi() {
|
|
2084
|
+
return _i ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), _i;
|
|
2085
2085
|
}
|
|
2086
|
-
function
|
|
2087
|
-
return /^(html|body|#document)$/.test(
|
|
2086
|
+
function xi(e) {
|
|
2087
|
+
return /^(html|body|#document)$/.test(ci(e));
|
|
2088
2088
|
}
|
|
2089
2089
|
function Q(e) {
|
|
2090
2090
|
return J(e).getComputedStyle(e);
|
|
2091
2091
|
}
|
|
2092
|
-
function
|
|
2092
|
+
function Si(e) {
|
|
2093
2093
|
return X(e) ? {
|
|
2094
2094
|
scrollLeft: e.scrollLeft,
|
|
2095
2095
|
scrollTop: e.scrollTop
|
|
@@ -2098,102 +2098,102 @@ function bi(e) {
|
|
|
2098
2098
|
scrollTop: e.scrollY
|
|
2099
2099
|
};
|
|
2100
2100
|
}
|
|
2101
|
-
function
|
|
2102
|
-
if (
|
|
2103
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
2104
|
-
return
|
|
2101
|
+
function Ci(e) {
|
|
2102
|
+
if (ci(e) === "html") return e;
|
|
2103
|
+
let t = e.assignedSlot || e.parentNode || ui(e) && e.host || Y(e);
|
|
2104
|
+
return ui(t) ? t.host : t;
|
|
2105
2105
|
}
|
|
2106
|
-
function
|
|
2107
|
-
let t =
|
|
2108
|
-
return
|
|
2106
|
+
function wi(e) {
|
|
2107
|
+
let t = Ci(e);
|
|
2108
|
+
return xi(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && di(t) ? t : wi(t);
|
|
2109
2109
|
}
|
|
2110
|
-
function
|
|
2110
|
+
function Ti(e, t, n) {
|
|
2111
2111
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2112
|
-
let r =
|
|
2112
|
+
let r = wi(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2113
2113
|
if (i) {
|
|
2114
|
-
let e =
|
|
2115
|
-
return t.concat(a, a.visualViewport || [],
|
|
2114
|
+
let e = Ei(a);
|
|
2115
|
+
return t.concat(a, a.visualViewport || [], di(r) ? r : [], e && n ? Ti(e) : []);
|
|
2116
2116
|
}
|
|
2117
|
-
return t.concat(r,
|
|
2117
|
+
return t.concat(r, Ti(r, [], n));
|
|
2118
2118
|
}
|
|
2119
|
-
function
|
|
2119
|
+
function Ei(e) {
|
|
2120
2120
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2121
2121
|
}
|
|
2122
2122
|
//#endregion
|
|
2123
2123
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2124
|
-
function
|
|
2125
|
-
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 =
|
|
2124
|
+
function Di(e) {
|
|
2125
|
+
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 = Tr(n) !== a || Tr(r) !== o;
|
|
2126
2126
|
return s && (n = a, r = o), {
|
|
2127
2127
|
width: n,
|
|
2128
2128
|
height: r,
|
|
2129
2129
|
$: s
|
|
2130
2130
|
};
|
|
2131
2131
|
}
|
|
2132
|
-
function
|
|
2132
|
+
function Oi(e) {
|
|
2133
2133
|
return X(e) ? e : e.contextElement;
|
|
2134
2134
|
}
|
|
2135
|
-
function
|
|
2136
|
-
let t =
|
|
2135
|
+
function ki(e) {
|
|
2136
|
+
let t = Oi(e);
|
|
2137
2137
|
if (!Z(t)) return W(1);
|
|
2138
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2138
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Di(t), o = (a ? Tr(n.width) : n.width) / r, s = (a ? Tr(n.height) : n.height) / i;
|
|
2139
2139
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2140
2140
|
x: o,
|
|
2141
2141
|
y: s
|
|
2142
2142
|
};
|
|
2143
2143
|
}
|
|
2144
|
-
var
|
|
2145
|
-
function
|
|
2144
|
+
var Ai = /*#__PURE__*/ W(0);
|
|
2145
|
+
function ji(e) {
|
|
2146
2146
|
let t = J(e);
|
|
2147
|
-
return !
|
|
2147
|
+
return !bi() || !t.visualViewport ? Ai : {
|
|
2148
2148
|
x: t.visualViewport.offsetLeft,
|
|
2149
2149
|
y: t.visualViewport.offsetTop
|
|
2150
2150
|
};
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2152
|
+
function Mi(e, t, n) {
|
|
2153
2153
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2154
2154
|
}
|
|
2155
|
-
function
|
|
2155
|
+
function Ni(e, t, n, r) {
|
|
2156
2156
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2157
|
-
let i = e.getBoundingClientRect(), a =
|
|
2158
|
-
t && (r ? X(r) && (o =
|
|
2159
|
-
let s =
|
|
2157
|
+
let i = e.getBoundingClientRect(), a = Oi(e), o = W(1);
|
|
2158
|
+
t && (r ? X(r) && (o = ki(r)) : o = ki(e));
|
|
2159
|
+
let s = Mi(a, n, r) ? ji(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;
|
|
2160
2160
|
if (a) {
|
|
2161
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2161
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = Ei(n);
|
|
2162
2162
|
for (; i && r && t !== n;) {
|
|
2163
|
-
let e =
|
|
2164
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2163
|
+
let e = ki(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;
|
|
2164
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = Ei(n);
|
|
2165
2165
|
}
|
|
2166
2166
|
}
|
|
2167
|
-
return
|
|
2167
|
+
return Gr({
|
|
2168
2168
|
width: u,
|
|
2169
2169
|
height: d,
|
|
2170
2170
|
x: c,
|
|
2171
2171
|
y: l
|
|
2172
2172
|
});
|
|
2173
2173
|
}
|
|
2174
|
-
function
|
|
2175
|
-
let n =
|
|
2176
|
-
return t ? t.left + n :
|
|
2174
|
+
function Pi(e, t) {
|
|
2175
|
+
let n = Si(e).scrollLeft;
|
|
2176
|
+
return t ? t.left + n : Ni(Y(e)).left + n;
|
|
2177
2177
|
}
|
|
2178
|
-
function
|
|
2178
|
+
function Fi(e, t) {
|
|
2179
2179
|
let n = e.getBoundingClientRect();
|
|
2180
2180
|
return {
|
|
2181
|
-
x: n.left + t.scrollLeft -
|
|
2181
|
+
x: n.left + t.scrollLeft - Pi(e, n),
|
|
2182
2182
|
y: n.top + t.scrollTop
|
|
2183
2183
|
};
|
|
2184
2184
|
}
|
|
2185
|
-
function
|
|
2186
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2185
|
+
function Ii(e) {
|
|
2186
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? pi(t.floating) : !1;
|
|
2187
2187
|
if (r === o || s && a) return n;
|
|
2188
2188
|
let c = {
|
|
2189
2189
|
scrollLeft: 0,
|
|
2190
2190
|
scrollTop: 0
|
|
2191
2191
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2192
|
-
if ((d || !d && !a) && ((
|
|
2193
|
-
let e =
|
|
2194
|
-
l =
|
|
2192
|
+
if ((d || !d && !a) && ((ci(r) !== "body" || di(o)) && (c = Si(r)), d)) {
|
|
2193
|
+
let e = Ni(r);
|
|
2194
|
+
l = ki(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2195
2195
|
}
|
|
2196
|
-
let f = o && !d && !a ?
|
|
2196
|
+
let f = o && !d && !a ? Fi(o, c) : W(0);
|
|
2197
2197
|
return {
|
|
2198
2198
|
width: n.width * l.x,
|
|
2199
2199
|
height: n.height * l.y,
|
|
@@ -2201,11 +2201,11 @@ function Pi(e) {
|
|
|
2201
2201
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2202
2202
|
};
|
|
2203
2203
|
}
|
|
2204
|
-
function
|
|
2204
|
+
function Li(e) {
|
|
2205
2205
|
return Array.from(e.getClientRects());
|
|
2206
2206
|
}
|
|
2207
|
-
function
|
|
2208
|
-
let t = Y(e), n =
|
|
2207
|
+
function Ri(e) {
|
|
2208
|
+
let t = Y(e), n = Si(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 + Pi(e), s = -n.scrollTop;
|
|
2209
2209
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2210
2210
|
width: i,
|
|
2211
2211
|
height: a,
|
|
@@ -2213,19 +2213,19 @@ function Ii(e) {
|
|
|
2213
2213
|
y: s
|
|
2214
2214
|
};
|
|
2215
2215
|
}
|
|
2216
|
-
var
|
|
2217
|
-
function
|
|
2216
|
+
var zi = 25;
|
|
2217
|
+
function Bi(e, t) {
|
|
2218
2218
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2219
2219
|
if (i) {
|
|
2220
2220
|
a = i.width, o = i.height;
|
|
2221
|
-
let e =
|
|
2221
|
+
let e = bi();
|
|
2222
2222
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2223
2223
|
}
|
|
2224
|
-
let l =
|
|
2224
|
+
let l = Pi(r);
|
|
2225
2225
|
if (l <= 0) {
|
|
2226
2226
|
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);
|
|
2227
|
-
o <=
|
|
2228
|
-
} else l <=
|
|
2227
|
+
o <= zi && (a -= o);
|
|
2228
|
+
} else l <= zi && (a += l);
|
|
2229
2229
|
return {
|
|
2230
2230
|
width: a,
|
|
2231
2231
|
height: o,
|
|
@@ -2233,8 +2233,8 @@ function Ri(e, t) {
|
|
|
2233
2233
|
y: c
|
|
2234
2234
|
};
|
|
2235
2235
|
}
|
|
2236
|
-
function
|
|
2237
|
-
let n =
|
|
2236
|
+
function Vi(e, t) {
|
|
2237
|
+
let n = Ni(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? ki(e) : W(1);
|
|
2238
2238
|
return {
|
|
2239
2239
|
width: e.clientWidth * a.x,
|
|
2240
2240
|
height: e.clientHeight * a.y,
|
|
@@ -2242,13 +2242,13 @@ function zi(e, t) {
|
|
|
2242
2242
|
y: r * a.y
|
|
2243
2243
|
};
|
|
2244
2244
|
}
|
|
2245
|
-
function
|
|
2245
|
+
function Hi(e, t, n) {
|
|
2246
2246
|
let r;
|
|
2247
|
-
if (t === "viewport") r =
|
|
2248
|
-
else if (t === "document") r =
|
|
2249
|
-
else if (X(t)) r =
|
|
2247
|
+
if (t === "viewport") r = Bi(e, n);
|
|
2248
|
+
else if (t === "document") r = Ri(Y(e));
|
|
2249
|
+
else if (X(t)) r = Vi(t, n);
|
|
2250
2250
|
else {
|
|
2251
|
-
let n =
|
|
2251
|
+
let n = ji(e);
|
|
2252
2252
|
r = {
|
|
2253
2253
|
x: t.x - n.x,
|
|
2254
2254
|
y: t.y - n.y,
|
|
@@ -2256,27 +2256,27 @@ function Bi(e, t, n) {
|
|
|
2256
2256
|
height: t.height
|
|
2257
2257
|
};
|
|
2258
2258
|
}
|
|
2259
|
-
return
|
|
2259
|
+
return Gr(r);
|
|
2260
2260
|
}
|
|
2261
|
-
function
|
|
2262
|
-
let n =
|
|
2263
|
-
return n === t || !X(n) ||
|
|
2261
|
+
function Ui(e, t) {
|
|
2262
|
+
let n = Ci(e);
|
|
2263
|
+
return n === t || !X(n) || xi(n) ? !1 : Q(n).position === "fixed" || Ui(n, t);
|
|
2264
2264
|
}
|
|
2265
|
-
function
|
|
2265
|
+
function Wi(e, t) {
|
|
2266
2266
|
let n = t.get(e);
|
|
2267
2267
|
if (n) return n;
|
|
2268
|
-
let r =
|
|
2269
|
-
for (; X(o) && !
|
|
2270
|
-
let t = Q(o), n =
|
|
2271
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2268
|
+
let r = Ti(e, [], !1).filter((e) => X(e) && ci(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? Ci(e) : e;
|
|
2269
|
+
for (; X(o) && !xi(o);) {
|
|
2270
|
+
let t = Q(o), n = vi(o);
|
|
2271
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || di(o) && !n && Ui(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Ci(o);
|
|
2272
2272
|
}
|
|
2273
2273
|
return t.set(e, r), r;
|
|
2274
2274
|
}
|
|
2275
|
-
function
|
|
2276
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2275
|
+
function Gi(e) {
|
|
2276
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? pi(t) ? [] : Wi(t, this._c) : [].concat(n), r], o = Hi(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2277
2277
|
for (let e = 1; e < a.length; e++) {
|
|
2278
|
-
let n =
|
|
2279
|
-
s = U(n.top, s), c =
|
|
2278
|
+
let n = Hi(t, a[e], i);
|
|
2279
|
+
s = U(n.top, s), c = wr(n.right, c), l = wr(n.bottom, l), u = U(n.left, u);
|
|
2280
2280
|
}
|
|
2281
2281
|
return {
|
|
2282
2282
|
width: c - u,
|
|
@@ -2285,29 +2285,29 @@ function Ui(e) {
|
|
|
2285
2285
|
y: s
|
|
2286
2286
|
};
|
|
2287
2287
|
}
|
|
2288
|
-
function
|
|
2289
|
-
let { width: t, height: n } =
|
|
2288
|
+
function Ki(e) {
|
|
2289
|
+
let { width: t, height: n } = Di(e);
|
|
2290
2290
|
return {
|
|
2291
2291
|
width: t,
|
|
2292
2292
|
height: n
|
|
2293
2293
|
};
|
|
2294
2294
|
}
|
|
2295
|
-
function
|
|
2296
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2295
|
+
function qi(e, t, n) {
|
|
2296
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = Ni(e, !0, a, t), s = {
|
|
2297
2297
|
scrollLeft: 0,
|
|
2298
2298
|
scrollTop: 0
|
|
2299
2299
|
}, c = W(0);
|
|
2300
2300
|
function l() {
|
|
2301
|
-
c.x =
|
|
2301
|
+
c.x = Pi(i);
|
|
2302
2302
|
}
|
|
2303
2303
|
if (r || !r && !a) {
|
|
2304
|
-
if ((
|
|
2305
|
-
let e =
|
|
2304
|
+
if ((ci(t) !== "body" || di(i)) && (s = Si(t)), r) {
|
|
2305
|
+
let e = Ni(t, !0, a, t);
|
|
2306
2306
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2307
2307
|
} else i && l();
|
|
2308
2308
|
}
|
|
2309
2309
|
a && !r && i && l();
|
|
2310
|
-
let u = i && !r && !a ?
|
|
2310
|
+
let u = i && !r && !a ? Fi(i, s) : W(0);
|
|
2311
2311
|
return {
|
|
2312
2312
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2313
2313
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2315,34 +2315,34 @@ function Gi(e, t, n) {
|
|
|
2315
2315
|
height: o.height
|
|
2316
2316
|
};
|
|
2317
2317
|
}
|
|
2318
|
-
function
|
|
2318
|
+
function Ji(e) {
|
|
2319
2319
|
return Q(e).position === "static";
|
|
2320
2320
|
}
|
|
2321
|
-
function
|
|
2321
|
+
function Yi(e, t) {
|
|
2322
2322
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2323
2323
|
if (t) return t(e);
|
|
2324
2324
|
let n = e.offsetParent;
|
|
2325
2325
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2326
2326
|
}
|
|
2327
|
-
function
|
|
2327
|
+
function Xi(e, t) {
|
|
2328
2328
|
let n = J(e);
|
|
2329
|
-
if (
|
|
2329
|
+
if (pi(e)) return n;
|
|
2330
2330
|
if (!Z(e)) {
|
|
2331
|
-
let t =
|
|
2332
|
-
for (; t && !
|
|
2333
|
-
if (X(t) && !
|
|
2334
|
-
t =
|
|
2331
|
+
let t = Ci(e);
|
|
2332
|
+
for (; t && !xi(t);) {
|
|
2333
|
+
if (X(t) && !Ji(t)) return t;
|
|
2334
|
+
t = Ci(t);
|
|
2335
2335
|
}
|
|
2336
2336
|
return n;
|
|
2337
2337
|
}
|
|
2338
|
-
let r =
|
|
2339
|
-
for (; r &&
|
|
2340
|
-
return r &&
|
|
2338
|
+
let r = Yi(e, t);
|
|
2339
|
+
for (; r && fi(r) && Ji(r);) r = Yi(r, t);
|
|
2340
|
+
return r && xi(r) && Ji(r) && !vi(r) ? n : r || yi(e) || n;
|
|
2341
2341
|
}
|
|
2342
|
-
var
|
|
2343
|
-
let t = this.getOffsetParent ||
|
|
2342
|
+
var Zi = async function(e) {
|
|
2343
|
+
let t = this.getOffsetParent || Xi, n = this.getDimensions, r = await n(e.floating);
|
|
2344
2344
|
return {
|
|
2345
|
-
reference:
|
|
2345
|
+
reference: qi(e.reference, await t(e.floating), e.strategy),
|
|
2346
2346
|
floating: {
|
|
2347
2347
|
x: 0,
|
|
2348
2348
|
y: 0,
|
|
@@ -2351,25 +2351,25 @@ var Yi = async function(e) {
|
|
|
2351
2351
|
}
|
|
2352
2352
|
};
|
|
2353
2353
|
};
|
|
2354
|
-
function
|
|
2354
|
+
function Qi(e) {
|
|
2355
2355
|
return Q(e).direction === "rtl";
|
|
2356
2356
|
}
|
|
2357
|
-
var
|
|
2358
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2357
|
+
var $i = {
|
|
2358
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Ii,
|
|
2359
2359
|
getDocumentElement: Y,
|
|
2360
|
-
getClippingRect:
|
|
2361
|
-
getOffsetParent:
|
|
2362
|
-
getElementRects:
|
|
2363
|
-
getClientRects:
|
|
2364
|
-
getDimensions:
|
|
2365
|
-
getScale:
|
|
2360
|
+
getClippingRect: Gi,
|
|
2361
|
+
getOffsetParent: Xi,
|
|
2362
|
+
getElementRects: Zi,
|
|
2363
|
+
getClientRects: Li,
|
|
2364
|
+
getDimensions: Ki,
|
|
2365
|
+
getScale: ki,
|
|
2366
2366
|
isElement: X,
|
|
2367
|
-
isRTL:
|
|
2367
|
+
isRTL: Qi
|
|
2368
2368
|
};
|
|
2369
|
-
function
|
|
2369
|
+
function ea(e, t) {
|
|
2370
2370
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2371
2371
|
}
|
|
2372
|
-
function
|
|
2372
|
+
function ta(e, t) {
|
|
2373
2373
|
let n = null, r, i = Y(e);
|
|
2374
2374
|
function a() {
|
|
2375
2375
|
var e;
|
|
@@ -2379,9 +2379,9 @@ function $i(e, t) {
|
|
|
2379
2379
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2380
2380
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2381
2381
|
if (s || t(), !f || !p) return;
|
|
2382
|
-
let m =
|
|
2382
|
+
let m = Er(d), h = Er(i.clientWidth - (u + f)), g = Er(i.clientHeight - (d + p)), _ = Er(u), v = {
|
|
2383
2383
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2384
|
-
threshold: U(0,
|
|
2384
|
+
threshold: U(0, wr(1, c)) || 1
|
|
2385
2385
|
}, y = !0;
|
|
2386
2386
|
function b(t) {
|
|
2387
2387
|
let n = t[0].intersectionRatio;
|
|
@@ -2391,7 +2391,7 @@ function $i(e, t) {
|
|
|
2391
2391
|
o(!1, 1e-7);
|
|
2392
2392
|
}, 1e3);
|
|
2393
2393
|
}
|
|
2394
|
-
n === 1 && !
|
|
2394
|
+
n === 1 && !ea(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2395
2395
|
}
|
|
2396
2396
|
try {
|
|
2397
2397
|
n = new IntersectionObserver(b, {
|
|
@@ -2405,13 +2405,13 @@ function $i(e, t) {
|
|
|
2405
2405
|
}
|
|
2406
2406
|
return o(!0), a;
|
|
2407
2407
|
}
|
|
2408
|
-
function
|
|
2408
|
+
function na(e, t, n, r) {
|
|
2409
2409
|
r === void 0 && (r = {});
|
|
2410
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2410
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Oi(e), u = i || a ? [...l ? Ti(l) : [], ...t ? Ti(t) : []] : [];
|
|
2411
2411
|
u.forEach((e) => {
|
|
2412
2412
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2413
2413
|
});
|
|
2414
|
-
let d = l && s ?
|
|
2414
|
+
let d = l && s ? ta(l, n) : null, f = -1, p = null;
|
|
2415
2415
|
o && (p = new ResizeObserver((e) => {
|
|
2416
2416
|
let [r] = e;
|
|
2417
2417
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2419,11 +2419,11 @@ function ea(e, t, n, r) {
|
|
|
2419
2419
|
(e = p) == null || e.observe(t);
|
|
2420
2420
|
})), n();
|
|
2421
2421
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2422
|
-
let m, h = c ?
|
|
2422
|
+
let m, h = c ? Ni(e) : null;
|
|
2423
2423
|
c && g();
|
|
2424
2424
|
function g() {
|
|
2425
|
-
let t =
|
|
2426
|
-
h && !
|
|
2425
|
+
let t = Ni(e);
|
|
2426
|
+
h && !ea(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2427
2427
|
}
|
|
2428
2428
|
return n(), () => {
|
|
2429
2429
|
var e;
|
|
@@ -2432,20 +2432,20 @@ function ea(e, t, n, r) {
|
|
|
2432
2432
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2433
2433
|
};
|
|
2434
2434
|
}
|
|
2435
|
-
var
|
|
2435
|
+
var ra = ri, ia = ii, aa = Zr, oa = oi, sa = ei, ca = Xr, la = ai, ua = (e, t, n) => {
|
|
2436
2436
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2437
|
-
platform:
|
|
2437
|
+
platform: $i,
|
|
2438
2438
|
...n
|
|
2439
2439
|
}, a = {
|
|
2440
2440
|
...i.platform,
|
|
2441
2441
|
_c: r
|
|
2442
2442
|
};
|
|
2443
|
-
return
|
|
2443
|
+
return Yr(e, t, {
|
|
2444
2444
|
...i,
|
|
2445
2445
|
platform: a
|
|
2446
2446
|
});
|
|
2447
|
-
},
|
|
2448
|
-
function
|
|
2447
|
+
}, da = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2448
|
+
function fa(e, t) {
|
|
2449
2449
|
if (e === t) return !0;
|
|
2450
2450
|
if (typeof e != typeof t) return !1;
|
|
2451
2451
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2453,33 +2453,33 @@ function ua(e, t) {
|
|
|
2453
2453
|
if (e && t && typeof e == "object") {
|
|
2454
2454
|
if (Array.isArray(e)) {
|
|
2455
2455
|
if (n = e.length, n !== t.length) return !1;
|
|
2456
|
-
for (r = n; r-- !== 0;) if (!
|
|
2456
|
+
for (r = n; r-- !== 0;) if (!fa(e[r], t[r])) return !1;
|
|
2457
2457
|
return !0;
|
|
2458
2458
|
}
|
|
2459
2459
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2460
2460
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2461
2461
|
for (r = n; r-- !== 0;) {
|
|
2462
2462
|
let n = i[r];
|
|
2463
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2463
|
+
if (!(n === "_owner" && e.$$typeof) && !fa(e[n], t[n])) return !1;
|
|
2464
2464
|
}
|
|
2465
2465
|
return !0;
|
|
2466
2466
|
}
|
|
2467
2467
|
return e !== e && t !== t;
|
|
2468
2468
|
}
|
|
2469
|
-
function
|
|
2469
|
+
function pa(e) {
|
|
2470
2470
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2471
2471
|
}
|
|
2472
|
-
function
|
|
2473
|
-
let n =
|
|
2472
|
+
function ma(e, t) {
|
|
2473
|
+
let n = pa(e);
|
|
2474
2474
|
return Math.round(t * n) / n;
|
|
2475
2475
|
}
|
|
2476
|
-
function
|
|
2476
|
+
function ha(e) {
|
|
2477
2477
|
let t = F.useRef(e);
|
|
2478
|
-
return
|
|
2478
|
+
return da(() => {
|
|
2479
2479
|
t.current = e;
|
|
2480
2480
|
}), t;
|
|
2481
2481
|
}
|
|
2482
|
-
function
|
|
2482
|
+
function ga(e) {
|
|
2483
2483
|
e === void 0 && (e = {});
|
|
2484
2484
|
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = F.useState({
|
|
2485
2485
|
x: 0,
|
|
@@ -2489,24 +2489,24 @@ function ma(e) {
|
|
|
2489
2489
|
middlewareData: {},
|
|
2490
2490
|
isPositioned: !1
|
|
2491
2491
|
}), [f, p] = F.useState(r);
|
|
2492
|
-
|
|
2492
|
+
fa(f, r) || p(r);
|
|
2493
2493
|
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2494
2494
|
e !== S.current && (S.current = e, h(e));
|
|
2495
2495
|
}, []), y = F.useCallback((e) => {
|
|
2496
2496
|
e !== C.current && (C.current = e, _(e));
|
|
2497
|
-
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee =
|
|
2497
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee = ha(c), E = ha(i), te = ha(l), D = F.useCallback(() => {
|
|
2498
2498
|
if (!S.current || !C.current) return;
|
|
2499
2499
|
let e = {
|
|
2500
2500
|
placement: t,
|
|
2501
2501
|
strategy: n,
|
|
2502
2502
|
middleware: f
|
|
2503
2503
|
};
|
|
2504
|
-
E.current && (e.platform = E.current),
|
|
2504
|
+
E.current && (e.platform = E.current), ua(S.current, C.current, e).then((e) => {
|
|
2505
2505
|
let t = {
|
|
2506
2506
|
...e,
|
|
2507
2507
|
isPositioned: te.current !== !1
|
|
2508
2508
|
};
|
|
2509
|
-
O.current && !
|
|
2509
|
+
O.current && !fa(w.current, t) && (w.current = t, Et.flushSync(() => {
|
|
2510
2510
|
d(t);
|
|
2511
2511
|
}));
|
|
2512
2512
|
});
|
|
@@ -2517,16 +2517,16 @@ function ma(e) {
|
|
|
2517
2517
|
E,
|
|
2518
2518
|
te
|
|
2519
2519
|
]);
|
|
2520
|
-
|
|
2520
|
+
da(() => {
|
|
2521
2521
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2522
2522
|
...e,
|
|
2523
2523
|
isPositioned: !1
|
|
2524
2524
|
})));
|
|
2525
2525
|
}, [l]);
|
|
2526
2526
|
let O = F.useRef(!1);
|
|
2527
|
-
|
|
2527
|
+
da(() => (O.current = !0, () => {
|
|
2528
2528
|
O.current = !1;
|
|
2529
|
-
}), []),
|
|
2529
|
+
}), []), da(() => {
|
|
2530
2530
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2531
2531
|
if (ee.current) return ee.current(b, x, D);
|
|
2532
2532
|
D();
|
|
@@ -2553,11 +2553,11 @@ function ma(e) {
|
|
|
2553
2553
|
top: 0
|
|
2554
2554
|
};
|
|
2555
2555
|
if (!A.floating) return e;
|
|
2556
|
-
let t =
|
|
2556
|
+
let t = ma(A.floating, u.x), r = ma(A.floating, u.y);
|
|
2557
2557
|
return s ? {
|
|
2558
2558
|
...e,
|
|
2559
2559
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2560
|
-
...
|
|
2560
|
+
...pa(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2561
2561
|
} : {
|
|
2562
2562
|
position: n,
|
|
2563
2563
|
left: t,
|
|
@@ -2584,7 +2584,7 @@ function ma(e) {
|
|
|
2584
2584
|
j
|
|
2585
2585
|
]);
|
|
2586
2586
|
}
|
|
2587
|
-
var
|
|
2587
|
+
var _a = (e) => {
|
|
2588
2588
|
function t(e) {
|
|
2589
2589
|
return {}.hasOwnProperty.call(e, "current");
|
|
2590
2590
|
}
|
|
@@ -2593,61 +2593,61 @@ var ha = (e) => {
|
|
|
2593
2593
|
options: e,
|
|
2594
2594
|
fn(n) {
|
|
2595
2595
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2596
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2596
|
+
return r && t(r) ? r.current == null ? {} : ca({
|
|
2597
2597
|
element: r.current,
|
|
2598
2598
|
padding: i
|
|
2599
|
-
}).fn(n) : r ?
|
|
2599
|
+
}).fn(n) : r ? ca({
|
|
2600
2600
|
element: r,
|
|
2601
2601
|
padding: i
|
|
2602
2602
|
}).fn(n) : {};
|
|
2603
2603
|
}
|
|
2604
2604
|
};
|
|
2605
|
-
},
|
|
2606
|
-
let n =
|
|
2605
|
+
}, va = (e, t) => {
|
|
2606
|
+
let n = ra(e);
|
|
2607
2607
|
return {
|
|
2608
2608
|
name: n.name,
|
|
2609
2609
|
fn: n.fn,
|
|
2610
2610
|
options: [e, t]
|
|
2611
2611
|
};
|
|
2612
|
-
},
|
|
2613
|
-
let n =
|
|
2612
|
+
}, ya = (e, t) => {
|
|
2613
|
+
let n = ia(e);
|
|
2614
2614
|
return {
|
|
2615
2615
|
name: n.name,
|
|
2616
2616
|
fn: n.fn,
|
|
2617
2617
|
options: [e, t]
|
|
2618
2618
|
};
|
|
2619
|
-
},
|
|
2620
|
-
fn:
|
|
2619
|
+
}, ba = (e, t) => ({
|
|
2620
|
+
fn: la(e).fn,
|
|
2621
2621
|
options: [e, t]
|
|
2622
|
-
}),
|
|
2623
|
-
let n =
|
|
2622
|
+
}), xa = (e, t) => {
|
|
2623
|
+
let n = aa(e);
|
|
2624
2624
|
return {
|
|
2625
2625
|
name: n.name,
|
|
2626
2626
|
fn: n.fn,
|
|
2627
2627
|
options: [e, t]
|
|
2628
2628
|
};
|
|
2629
|
-
},
|
|
2630
|
-
let n =
|
|
2629
|
+
}, Sa = (e, t) => {
|
|
2630
|
+
let n = oa(e);
|
|
2631
2631
|
return {
|
|
2632
2632
|
name: n.name,
|
|
2633
2633
|
fn: n.fn,
|
|
2634
2634
|
options: [e, t]
|
|
2635
2635
|
};
|
|
2636
|
-
},
|
|
2637
|
-
let n =
|
|
2636
|
+
}, Ca = (e, t) => {
|
|
2637
|
+
let n = sa(e);
|
|
2638
2638
|
return {
|
|
2639
2639
|
name: n.name,
|
|
2640
2640
|
fn: n.fn,
|
|
2641
2641
|
options: [e, t]
|
|
2642
2642
|
};
|
|
2643
|
-
},
|
|
2644
|
-
let n =
|
|
2643
|
+
}, wa = (e, t) => {
|
|
2644
|
+
let n = _a(e);
|
|
2645
2645
|
return {
|
|
2646
2646
|
name: n.name,
|
|
2647
2647
|
fn: n.fn,
|
|
2648
2648
|
options: [e, t]
|
|
2649
2649
|
};
|
|
2650
|
-
},
|
|
2650
|
+
}, Ta = "Arrow", Ea = F.forwardRef((e, t) => {
|
|
2651
2651
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2652
2652
|
return /* @__PURE__ */ (0, L.jsx)(H.svg, {
|
|
2653
2653
|
...a,
|
|
@@ -2659,13 +2659,13 @@ var ha = (e) => {
|
|
|
2659
2659
|
children: e.asChild ? n : /* @__PURE__ */ (0, L.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2660
2660
|
});
|
|
2661
2661
|
});
|
|
2662
|
-
|
|
2663
|
-
var
|
|
2662
|
+
Ea.displayName = Ta;
|
|
2663
|
+
var Da = Ea;
|
|
2664
2664
|
//#endregion
|
|
2665
2665
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2666
|
-
function
|
|
2666
|
+
function Oa(e) {
|
|
2667
2667
|
let [t, n] = F.useState(void 0);
|
|
2668
|
-
return
|
|
2668
|
+
return yr(() => {
|
|
2669
2669
|
if (e) {
|
|
2670
2670
|
n({
|
|
2671
2671
|
width: e.offsetWidth,
|
|
@@ -2690,18 +2690,18 @@ function Ea(e) {
|
|
|
2690
2690
|
}
|
|
2691
2691
|
//#endregion
|
|
2692
2692
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2693
|
-
var
|
|
2693
|
+
var ka = "Popper", [Aa, ja] = An(ka), [Ma, Na] = Aa(ka), Pa = (e) => {
|
|
2694
2694
|
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2695
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
2695
|
+
return /* @__PURE__ */ (0, L.jsx)(Ma, {
|
|
2696
2696
|
scope: t,
|
|
2697
2697
|
anchor: r,
|
|
2698
2698
|
onAnchorChange: i,
|
|
2699
2699
|
children: n
|
|
2700
2700
|
});
|
|
2701
2701
|
};
|
|
2702
|
-
|
|
2703
|
-
var
|
|
2704
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2702
|
+
Pa.displayName = ka;
|
|
2703
|
+
var Fa = "PopperAnchor", Ia = F.forwardRef((e, t) => {
|
|
2704
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Na(Fa, n), o = F.useRef(null), s = V(t, o), c = F.useRef(null);
|
|
2705
2705
|
return F.useEffect(() => {
|
|
2706
2706
|
let e = c.current;
|
|
2707
2707
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2710,9 +2710,9 @@ var Na = "PopperAnchor", Pa = F.forwardRef((e, t) => {
|
|
|
2710
2710
|
ref: s
|
|
2711
2711
|
});
|
|
2712
2712
|
});
|
|
2713
|
-
|
|
2714
|
-
var
|
|
2715
|
-
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 =
|
|
2713
|
+
Ia.displayName = Fa;
|
|
2714
|
+
var La = "PopperContent", [Ra, za] = Aa(La), Ba = F.forwardRef((e, t) => {
|
|
2715
|
+
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 = Na(La, n), [_, v] = F.useState(null), y = V(t, (e) => v(e)), [b, x] = F.useState(null), S = Oa(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2716
2716
|
top: 0,
|
|
2717
2717
|
right: 0,
|
|
2718
2718
|
bottom: 0,
|
|
@@ -2720,51 +2720,51 @@ var Fa = "PopperContent", [Ia, La] = Oa(Fa), Ra = F.forwardRef((e, t) => {
|
|
|
2720
2720
|
...u
|
|
2721
2721
|
}, E = Array.isArray(l) ? l : [l], te = E.length > 0, D = {
|
|
2722
2722
|
padding: ee,
|
|
2723
|
-
boundary: E.filter(
|
|
2723
|
+
boundary: E.filter(Wa),
|
|
2724
2724
|
altBoundary: te
|
|
2725
|
-
}, { refs: O, floatingStyles: k, placement: A, isPositioned: j, middlewareData: ne } =
|
|
2725
|
+
}, { refs: O, floatingStyles: k, placement: A, isPositioned: j, middlewareData: ne } = ga({
|
|
2726
2726
|
strategy: "fixed",
|
|
2727
2727
|
placement: T,
|
|
2728
|
-
whileElementsMounted: (...e) =>
|
|
2728
|
+
whileElementsMounted: (...e) => na(...e, { animationFrame: p === "always" }),
|
|
2729
2729
|
elements: { reference: g.anchor },
|
|
2730
2730
|
middleware: [
|
|
2731
|
-
|
|
2731
|
+
va({
|
|
2732
2732
|
mainAxis: i + w,
|
|
2733
2733
|
alignmentAxis: o
|
|
2734
2734
|
}),
|
|
2735
|
-
c &&
|
|
2735
|
+
c && ya({
|
|
2736
2736
|
mainAxis: !0,
|
|
2737
2737
|
crossAxis: !1,
|
|
2738
|
-
limiter: d === "partial" ?
|
|
2738
|
+
limiter: d === "partial" ? ba() : void 0,
|
|
2739
2739
|
...D
|
|
2740
2740
|
}),
|
|
2741
|
-
c &&
|
|
2742
|
-
|
|
2741
|
+
c && xa({ ...D }),
|
|
2742
|
+
Sa({
|
|
2743
2743
|
...D,
|
|
2744
2744
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2745
2745
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2746
2746
|
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`);
|
|
2747
2747
|
}
|
|
2748
2748
|
}),
|
|
2749
|
-
b &&
|
|
2749
|
+
b && wa({
|
|
2750
2750
|
element: b,
|
|
2751
2751
|
padding: s
|
|
2752
2752
|
}),
|
|
2753
|
-
|
|
2753
|
+
Ga({
|
|
2754
2754
|
arrowWidth: C,
|
|
2755
2755
|
arrowHeight: w
|
|
2756
2756
|
}),
|
|
2757
|
-
f &&
|
|
2757
|
+
f && Ca({
|
|
2758
2758
|
strategy: "referenceHidden",
|
|
2759
2759
|
...D
|
|
2760
2760
|
})
|
|
2761
2761
|
]
|
|
2762
|
-
}), [re, ie] =
|
|
2763
|
-
|
|
2762
|
+
}), [re, ie] = Ka(A), ae = zn(m);
|
|
2763
|
+
yr(() => {
|
|
2764
2764
|
j && ae?.();
|
|
2765
2765
|
}, [j, ae]);
|
|
2766
2766
|
let oe = ne.arrow?.x, se = ne.arrow?.y, ce = ne.arrow?.centerOffset !== 0, [le, ue] = F.useState();
|
|
2767
|
-
return
|
|
2767
|
+
return yr(() => {
|
|
2768
2768
|
_ && ue(window.getComputedStyle(_).zIndex);
|
|
2769
2769
|
}, [_]), /* @__PURE__ */ (0, L.jsx)("div", {
|
|
2770
2770
|
ref: O.setFloating,
|
|
@@ -2781,7 +2781,7 @@ var Fa = "PopperContent", [Ia, La] = Oa(Fa), Ra = F.forwardRef((e, t) => {
|
|
|
2781
2781
|
}
|
|
2782
2782
|
},
|
|
2783
2783
|
dir: e.dir,
|
|
2784
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
2784
|
+
children: /* @__PURE__ */ (0, L.jsx)(Ra, {
|
|
2785
2785
|
scope: n,
|
|
2786
2786
|
placedSide: re,
|
|
2787
2787
|
onArrowChange: x,
|
|
@@ -2801,14 +2801,14 @@ var Fa = "PopperContent", [Ia, La] = Oa(Fa), Ra = F.forwardRef((e, t) => {
|
|
|
2801
2801
|
})
|
|
2802
2802
|
});
|
|
2803
2803
|
});
|
|
2804
|
-
|
|
2805
|
-
var
|
|
2804
|
+
Ba.displayName = La;
|
|
2805
|
+
var Va = "PopperArrow", Ha = {
|
|
2806
2806
|
top: "bottom",
|
|
2807
2807
|
right: "left",
|
|
2808
2808
|
bottom: "top",
|
|
2809
2809
|
left: "right"
|
|
2810
|
-
},
|
|
2811
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2810
|
+
}, Ua = F.forwardRef(function(e, t) {
|
|
2811
|
+
let { __scopePopper: n, ...r } = e, i = za(Va, n), a = Ha[i.placedSide];
|
|
2812
2812
|
return /* @__PURE__ */ (0, L.jsx)("span", {
|
|
2813
2813
|
ref: i.onArrowChange,
|
|
2814
2814
|
style: {
|
|
@@ -2830,7 +2830,7 @@ var za = "PopperArrow", Ba = {
|
|
|
2830
2830
|
}[i.placedSide],
|
|
2831
2831
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2832
2832
|
},
|
|
2833
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
2833
|
+
children: /* @__PURE__ */ (0, L.jsx)(Da, {
|
|
2834
2834
|
...r,
|
|
2835
2835
|
ref: t,
|
|
2836
2836
|
style: {
|
|
@@ -2840,15 +2840,15 @@ var za = "PopperArrow", Ba = {
|
|
|
2840
2840
|
})
|
|
2841
2841
|
});
|
|
2842
2842
|
});
|
|
2843
|
-
|
|
2844
|
-
function
|
|
2843
|
+
Ua.displayName = Va;
|
|
2844
|
+
function Wa(e) {
|
|
2845
2845
|
return e !== null;
|
|
2846
2846
|
}
|
|
2847
|
-
var
|
|
2847
|
+
var Ga = (e) => ({
|
|
2848
2848
|
name: "transformOrigin",
|
|
2849
2849
|
options: e,
|
|
2850
2850
|
fn(t) {
|
|
2851
|
-
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] =
|
|
2851
|
+
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] = Ka(n), u = {
|
|
2852
2852
|
start: "0%",
|
|
2853
2853
|
center: "50%",
|
|
2854
2854
|
end: "100%"
|
|
@@ -2859,32 +2859,32 @@ var Ua = (e) => ({
|
|
|
2859
2859
|
} };
|
|
2860
2860
|
}
|
|
2861
2861
|
});
|
|
2862
|
-
function
|
|
2862
|
+
function Ka(e) {
|
|
2863
2863
|
let [t, n = "center"] = e.split("-");
|
|
2864
2864
|
return [t, n];
|
|
2865
2865
|
}
|
|
2866
|
-
var
|
|
2866
|
+
var qa = Pa, Ja = Ia, Ya = Ba, Xa = Ua, Za = "Portal", Qa = F.forwardRef((e, t) => {
|
|
2867
2867
|
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2868
|
-
|
|
2868
|
+
yr(() => a(!0), []);
|
|
2869
2869
|
let o = n || i && globalThis?.document?.body;
|
|
2870
|
-
return o ?
|
|
2870
|
+
return o ? Et.createPortal(/* @__PURE__ */ (0, L.jsx)(H.div, {
|
|
2871
2871
|
...r,
|
|
2872
2872
|
ref: t
|
|
2873
2873
|
}), o) : null;
|
|
2874
2874
|
});
|
|
2875
|
-
|
|
2875
|
+
Qa.displayName = Za;
|
|
2876
2876
|
//#endregion
|
|
2877
2877
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2878
|
-
function
|
|
2878
|
+
function $a(e, t) {
|
|
2879
2879
|
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2880
2880
|
}
|
|
2881
|
-
var
|
|
2882
|
-
let { present: t, children: n } = e, r =
|
|
2881
|
+
var eo = (e) => {
|
|
2882
|
+
let { present: t, children: n } = e, r = to(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = V(r.ref, ro(i));
|
|
2883
2883
|
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2884
2884
|
};
|
|
2885
|
-
|
|
2886
|
-
function
|
|
2887
|
-
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] =
|
|
2885
|
+
eo.displayName = "Presence";
|
|
2886
|
+
function to(e) {
|
|
2887
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = $a(e ? "mounted" : "unmounted", {
|
|
2888
2888
|
mounted: {
|
|
2889
2889
|
UNMOUNT: "unmounted",
|
|
2890
2890
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2896,18 +2896,18 @@ function $a(e) {
|
|
|
2896
2896
|
unmounted: { MOUNT: "mounted" }
|
|
2897
2897
|
});
|
|
2898
2898
|
return F.useEffect(() => {
|
|
2899
|
-
let e =
|
|
2899
|
+
let e = no(r.current);
|
|
2900
2900
|
a.current = o === "mounted" ? e : "none";
|
|
2901
|
-
}, [o]),
|
|
2901
|
+
}, [o]), yr(() => {
|
|
2902
2902
|
let t = r.current, n = i.current;
|
|
2903
2903
|
if (n !== e) {
|
|
2904
|
-
let r = a.current, o =
|
|
2904
|
+
let r = a.current, o = no(t);
|
|
2905
2905
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2906
2906
|
}
|
|
2907
|
-
}, [e, s]),
|
|
2907
|
+
}, [e, s]), yr(() => {
|
|
2908
2908
|
if (t) {
|
|
2909
2909
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2910
|
-
let o =
|
|
2910
|
+
let o = no(r.current).includes(CSS.escape(a.animationName));
|
|
2911
2911
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2912
2912
|
let r = t.style.animationFillMode;
|
|
2913
2913
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2915,7 +2915,7 @@ function $a(e) {
|
|
|
2915
2915
|
});
|
|
2916
2916
|
}
|
|
2917
2917
|
}, c = (e) => {
|
|
2918
|
-
e.target === t && (a.current =
|
|
2918
|
+
e.target === t && (a.current = no(r.current));
|
|
2919
2919
|
};
|
|
2920
2920
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2921
2921
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2929,18 +2929,18 @@ function $a(e) {
|
|
|
2929
2929
|
}, [])
|
|
2930
2930
|
};
|
|
2931
2931
|
}
|
|
2932
|
-
function
|
|
2932
|
+
function no(e) {
|
|
2933
2933
|
return e?.animationName || "none";
|
|
2934
2934
|
}
|
|
2935
|
-
function
|
|
2935
|
+
function ro(e) {
|
|
2936
2936
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2937
2937
|
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);
|
|
2938
2938
|
}
|
|
2939
2939
|
//#endregion
|
|
2940
2940
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2941
|
-
var
|
|
2942
|
-
function
|
|
2943
|
-
let [i, a, o] =
|
|
2941
|
+
var io = F.useInsertionEffect || yr;
|
|
2942
|
+
function ao({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2943
|
+
let [i, a, o] = oo({
|
|
2944
2944
|
defaultProp: t,
|
|
2945
2945
|
onChange: n
|
|
2946
2946
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2953,7 +2953,7 @@ function ro({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2953
2953
|
}
|
|
2954
2954
|
return [c, F.useCallback((t) => {
|
|
2955
2955
|
if (s) {
|
|
2956
|
-
let n =
|
|
2956
|
+
let n = so(t) ? t(e) : t;
|
|
2957
2957
|
n !== e && o.current?.(n);
|
|
2958
2958
|
} else a(t);
|
|
2959
2959
|
}, [
|
|
@@ -2963,9 +2963,9 @@ function ro({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2963
2963
|
o
|
|
2964
2964
|
])];
|
|
2965
2965
|
}
|
|
2966
|
-
function
|
|
2966
|
+
function oo({ defaultProp: e, onChange: t }) {
|
|
2967
2967
|
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2968
|
-
return
|
|
2968
|
+
return io(() => {
|
|
2969
2969
|
a.current = t;
|
|
2970
2970
|
}, [t]), F.useEffect(() => {
|
|
2971
2971
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2975,27 +2975,27 @@ function io({ defaultProp: e, onChange: t }) {
|
|
|
2975
2975
|
a
|
|
2976
2976
|
];
|
|
2977
2977
|
}
|
|
2978
|
-
function
|
|
2978
|
+
function so(e) {
|
|
2979
2979
|
return typeof e == "function";
|
|
2980
2980
|
}
|
|
2981
2981
|
//#endregion
|
|
2982
2982
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2983
|
-
var
|
|
2983
|
+
var co = function(e) {
|
|
2984
2984
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2985
|
-
},
|
|
2986
|
-
return e && (e.host ||
|
|
2987
|
-
},
|
|
2985
|
+
}, lo = /* @__PURE__ */ new WeakMap(), uo = /* @__PURE__ */ new WeakMap(), fo = {}, po = 0, mo = function(e) {
|
|
2986
|
+
return e && (e.host || mo(e.parentNode));
|
|
2987
|
+
}, ho = function(e, t) {
|
|
2988
2988
|
return t.map(function(t) {
|
|
2989
2989
|
if (e.contains(t)) return t;
|
|
2990
|
-
var n =
|
|
2990
|
+
var n = mo(t);
|
|
2991
2991
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
2992
2992
|
}).filter(function(e) {
|
|
2993
2993
|
return !!e;
|
|
2994
2994
|
});
|
|
2995
|
-
},
|
|
2996
|
-
var i =
|
|
2997
|
-
|
|
2998
|
-
var a =
|
|
2995
|
+
}, go = function(e, t, n, r) {
|
|
2996
|
+
var i = ho(t, Array.isArray(e) ? e : [e]);
|
|
2997
|
+
fo[n] || (fo[n] = /* @__PURE__ */ new WeakMap());
|
|
2998
|
+
var a = fo[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
2999
2999
|
e && !s.has(e) && (s.add(e), l(e.parentNode));
|
|
3000
3000
|
};
|
|
3001
3001
|
i.forEach(l);
|
|
@@ -3003,23 +3003,23 @@ var oo = function(e) {
|
|
|
3003
3003
|
e && !c.has(e) && Array.prototype.forEach.call(e.children, function(e) {
|
|
3004
3004
|
if (s.has(e)) u(e);
|
|
3005
3005
|
else try {
|
|
3006
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3007
|
-
|
|
3006
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (lo.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3007
|
+
lo.set(e, c), a.set(e, l), o.push(e), c === 1 && i && uo.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3008
3008
|
} catch (t) {
|
|
3009
3009
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3010
3010
|
}
|
|
3011
3011
|
});
|
|
3012
3012
|
};
|
|
3013
|
-
return u(t), s.clear(),
|
|
3013
|
+
return u(t), s.clear(), po++, function() {
|
|
3014
3014
|
o.forEach(function(e) {
|
|
3015
|
-
var t =
|
|
3016
|
-
|
|
3017
|
-
}),
|
|
3015
|
+
var t = lo.get(e) - 1, i = a.get(e) - 1;
|
|
3016
|
+
lo.set(e, t), a.set(e, i), t || (uo.has(e) || e.removeAttribute(r), uo.delete(e)), i || e.removeAttribute(n);
|
|
3017
|
+
}), po--, po || (lo = /* @__PURE__ */ new WeakMap(), lo = /* @__PURE__ */ new WeakMap(), uo = /* @__PURE__ */ new WeakMap(), fo = {});
|
|
3018
3018
|
};
|
|
3019
|
-
},
|
|
3019
|
+
}, _o = function(e, t, n) {
|
|
3020
3020
|
n === void 0 && (n = "data-aria-hidden");
|
|
3021
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3022
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3021
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || co(e);
|
|
3022
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), go(r, i, n, "aria-hidden")) : function() {
|
|
3023
3023
|
return null;
|
|
3024
3024
|
};
|
|
3025
3025
|
}, $ = function() {
|
|
@@ -3028,13 +3028,13 @@ var oo = function(e) {
|
|
|
3028
3028
|
return e;
|
|
3029
3029
|
}, $.apply(this, arguments);
|
|
3030
3030
|
};
|
|
3031
|
-
function
|
|
3031
|
+
function vo(e, t) {
|
|
3032
3032
|
var n = {};
|
|
3033
3033
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3034
3034
|
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]]);
|
|
3035
3035
|
return n;
|
|
3036
3036
|
}
|
|
3037
|
-
function
|
|
3037
|
+
function yo(e, t, n, r) {
|
|
3038
3038
|
function i(e) {
|
|
3039
3039
|
return e instanceof n ? e : new n(function(t) {
|
|
3040
3040
|
t(e);
|
|
@@ -3061,7 +3061,7 @@ function _o(e, t, n, r) {
|
|
|
3061
3061
|
c((r = r.apply(e, t || [])).next());
|
|
3062
3062
|
});
|
|
3063
3063
|
}
|
|
3064
|
-
function
|
|
3064
|
+
function bo(e, t) {
|
|
3065
3065
|
var n = {
|
|
3066
3066
|
label: 0,
|
|
3067
3067
|
sent: function() {
|
|
@@ -3131,7 +3131,7 @@ function vo(e, t) {
|
|
|
3131
3131
|
};
|
|
3132
3132
|
}
|
|
3133
3133
|
}
|
|
3134
|
-
function
|
|
3134
|
+
function xo(e, t) {
|
|
3135
3135
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3136
3136
|
if (!n) return e;
|
|
3137
3137
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3148,25 +3148,25 @@ function yo(e, t) {
|
|
|
3148
3148
|
}
|
|
3149
3149
|
return a;
|
|
3150
3150
|
}
|
|
3151
|
-
function
|
|
3152
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3151
|
+
function So() {
|
|
3152
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(xo(arguments[t]));
|
|
3153
3153
|
return e;
|
|
3154
3154
|
}
|
|
3155
|
-
function
|
|
3155
|
+
function Co(e, t, n) {
|
|
3156
3156
|
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]);
|
|
3157
3157
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3158
3158
|
}
|
|
3159
3159
|
//#endregion
|
|
3160
3160
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3161
|
-
var
|
|
3161
|
+
var wo = "right-scroll-bar-position", To = "width-before-scroll-bar", Eo = "with-scroll-bars-hidden", Do = "--removed-body-scroll-bar-size";
|
|
3162
3162
|
//#endregion
|
|
3163
3163
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3164
|
-
function
|
|
3164
|
+
function Oo(e, t) {
|
|
3165
3165
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3166
3166
|
}
|
|
3167
3167
|
//#endregion
|
|
3168
3168
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3169
|
-
function
|
|
3169
|
+
function ko(e, t) {
|
|
3170
3170
|
var n = (0, F.useState)(function() {
|
|
3171
3171
|
return {
|
|
3172
3172
|
value: e,
|
|
@@ -3186,33 +3186,33 @@ function Do(e, t) {
|
|
|
3186
3186
|
}
|
|
3187
3187
|
//#endregion
|
|
3188
3188
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3189
|
-
var
|
|
3190
|
-
function
|
|
3191
|
-
var n =
|
|
3189
|
+
var Ao = typeof window < "u" ? F.useLayoutEffect : F.useEffect, jo = /* @__PURE__ */ new WeakMap();
|
|
3190
|
+
function Mo(e, t) {
|
|
3191
|
+
var n = ko(t || null, function(t) {
|
|
3192
3192
|
return e.forEach(function(e) {
|
|
3193
|
-
return
|
|
3193
|
+
return Oo(e, t);
|
|
3194
3194
|
});
|
|
3195
3195
|
});
|
|
3196
|
-
return
|
|
3197
|
-
var t =
|
|
3196
|
+
return Ao(function() {
|
|
3197
|
+
var t = jo.get(n);
|
|
3198
3198
|
if (t) {
|
|
3199
3199
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3200
3200
|
r.forEach(function(e) {
|
|
3201
|
-
i.has(e) ||
|
|
3201
|
+
i.has(e) || Oo(e, null);
|
|
3202
3202
|
}), i.forEach(function(e) {
|
|
3203
|
-
r.has(e) ||
|
|
3203
|
+
r.has(e) || Oo(e, a);
|
|
3204
3204
|
});
|
|
3205
3205
|
}
|
|
3206
|
-
|
|
3206
|
+
jo.set(n, e);
|
|
3207
3207
|
}, [e]), n;
|
|
3208
3208
|
}
|
|
3209
3209
|
//#endregion
|
|
3210
3210
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3211
|
-
function
|
|
3211
|
+
function No(e) {
|
|
3212
3212
|
return e;
|
|
3213
3213
|
}
|
|
3214
|
-
function
|
|
3215
|
-
t === void 0 && (t =
|
|
3214
|
+
function Po(e, t) {
|
|
3215
|
+
t === void 0 && (t = No);
|
|
3216
3216
|
var n = [], r = !1;
|
|
3217
3217
|
return {
|
|
3218
3218
|
read: function() {
|
|
@@ -3265,9 +3265,9 @@ function Mo(e, t) {
|
|
|
3265
3265
|
}
|
|
3266
3266
|
};
|
|
3267
3267
|
}
|
|
3268
|
-
function
|
|
3268
|
+
function Fo(e) {
|
|
3269
3269
|
e === void 0 && (e = {});
|
|
3270
|
-
var t =
|
|
3270
|
+
var t = Po(null);
|
|
3271
3271
|
return t.options = $({
|
|
3272
3272
|
async: !0,
|
|
3273
3273
|
ssr: !1
|
|
@@ -3275,25 +3275,25 @@ function No(e) {
|
|
|
3275
3275
|
}
|
|
3276
3276
|
//#endregion
|
|
3277
3277
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3278
|
-
var
|
|
3279
|
-
var t = e.sideCar, n =
|
|
3278
|
+
var Io = function(e) {
|
|
3279
|
+
var t = e.sideCar, n = vo(e, ["sideCar"]);
|
|
3280
3280
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3281
3281
|
var r = t.read();
|
|
3282
3282
|
if (!r) throw Error("Sidecar medium not found");
|
|
3283
3283
|
return F.createElement(r, $({}, n));
|
|
3284
3284
|
};
|
|
3285
|
-
|
|
3286
|
-
function
|
|
3287
|
-
return e.useMedium(t),
|
|
3285
|
+
Io.isSideCarExport = !0;
|
|
3286
|
+
function Lo(e, t) {
|
|
3287
|
+
return e.useMedium(t), Io;
|
|
3288
3288
|
}
|
|
3289
3289
|
//#endregion
|
|
3290
3290
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3291
|
-
var
|
|
3291
|
+
var Ro = Fo(), zo = function() {}, Bo = F.forwardRef(function(e, t) {
|
|
3292
3292
|
var n = F.useRef(null), r = F.useState({
|
|
3293
|
-
onScrollCapture:
|
|
3294
|
-
onWheelCapture:
|
|
3295
|
-
onTouchMoveCapture:
|
|
3296
|
-
}), 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 =
|
|
3293
|
+
onScrollCapture: zo,
|
|
3294
|
+
onWheelCapture: zo,
|
|
3295
|
+
onTouchMoveCapture: zo
|
|
3296
|
+
}), 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 = vo(e, [
|
|
3297
3297
|
"forwardProps",
|
|
3298
3298
|
"children",
|
|
3299
3299
|
"className",
|
|
@@ -3307,9 +3307,9 @@ var Io = No(), Lo = function() {}, Ro = F.forwardRef(function(e, t) {
|
|
|
3307
3307
|
"allowPinchZoom",
|
|
3308
3308
|
"as",
|
|
3309
3309
|
"gapMode"
|
|
3310
|
-
]), x = f, S =
|
|
3310
|
+
]), x = f, S = Mo([n, t]), C = $($({}, b), i);
|
|
3311
3311
|
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3312
|
-
sideCar:
|
|
3312
|
+
sideCar: Ro,
|
|
3313
3313
|
removeScrollBar: l,
|
|
3314
3314
|
shards: d,
|
|
3315
3315
|
noRelative: p,
|
|
@@ -3324,46 +3324,46 @@ var Io = No(), Lo = function() {}, Ro = F.forwardRef(function(e, t) {
|
|
|
3324
3324
|
ref: S
|
|
3325
3325
|
}), s));
|
|
3326
3326
|
});
|
|
3327
|
-
|
|
3327
|
+
Bo.defaultProps = {
|
|
3328
3328
|
enabled: !0,
|
|
3329
3329
|
removeScrollBar: !0,
|
|
3330
3330
|
inert: !1
|
|
3331
|
-
},
|
|
3332
|
-
fullWidth:
|
|
3333
|
-
zeroRight:
|
|
3331
|
+
}, Bo.classNames = {
|
|
3332
|
+
fullWidth: To,
|
|
3333
|
+
zeroRight: wo
|
|
3334
3334
|
};
|
|
3335
3335
|
//#endregion
|
|
3336
3336
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3337
|
-
var
|
|
3337
|
+
var Vo = function() {
|
|
3338
3338
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3339
3339
|
};
|
|
3340
3340
|
//#endregion
|
|
3341
3341
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3342
|
-
function
|
|
3342
|
+
function Ho() {
|
|
3343
3343
|
if (!document) return null;
|
|
3344
3344
|
var e = document.createElement("style");
|
|
3345
3345
|
e.type = "text/css";
|
|
3346
|
-
var t =
|
|
3346
|
+
var t = Vo();
|
|
3347
3347
|
return t && e.setAttribute("nonce", t), e;
|
|
3348
3348
|
}
|
|
3349
|
-
function
|
|
3349
|
+
function Uo(e, t) {
|
|
3350
3350
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3351
3351
|
}
|
|
3352
|
-
function
|
|
3352
|
+
function Wo(e) {
|
|
3353
3353
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3354
3354
|
}
|
|
3355
|
-
var
|
|
3355
|
+
var Go = function() {
|
|
3356
3356
|
var e = 0, t = null;
|
|
3357
3357
|
return {
|
|
3358
3358
|
add: function(n) {
|
|
3359
|
-
e == 0 && (t =
|
|
3359
|
+
e == 0 && (t = Ho()) && (Uo(t, n), Wo(t)), e++;
|
|
3360
3360
|
},
|
|
3361
3361
|
remove: function() {
|
|
3362
3362
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3363
3363
|
}
|
|
3364
3364
|
};
|
|
3365
|
-
},
|
|
3366
|
-
var e =
|
|
3365
|
+
}, Ko = function() {
|
|
3366
|
+
var e = Go();
|
|
3367
3367
|
return function(t, n) {
|
|
3368
3368
|
F.useEffect(function() {
|
|
3369
3369
|
return e.add(t), function() {
|
|
@@ -3371,43 +3371,43 @@ var Uo = function() {
|
|
|
3371
3371
|
};
|
|
3372
3372
|
}, [t && n]);
|
|
3373
3373
|
};
|
|
3374
|
-
},
|
|
3375
|
-
var e =
|
|
3374
|
+
}, qo = function() {
|
|
3375
|
+
var e = Ko();
|
|
3376
3376
|
return function(t) {
|
|
3377
3377
|
var n = t.styles, r = t.dynamic;
|
|
3378
3378
|
return e(n, r), null;
|
|
3379
3379
|
};
|
|
3380
|
-
},
|
|
3380
|
+
}, Jo = {
|
|
3381
3381
|
left: 0,
|
|
3382
3382
|
top: 0,
|
|
3383
3383
|
right: 0,
|
|
3384
3384
|
gap: 0
|
|
3385
|
-
},
|
|
3385
|
+
}, Yo = function(e) {
|
|
3386
3386
|
return parseInt(e || "", 10) || 0;
|
|
3387
|
-
},
|
|
3387
|
+
}, Xo = function(e) {
|
|
3388
3388
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3389
3389
|
return [
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3390
|
+
Yo(n),
|
|
3391
|
+
Yo(r),
|
|
3392
|
+
Yo(i)
|
|
3393
3393
|
];
|
|
3394
|
-
},
|
|
3395
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3396
|
-
var t =
|
|
3394
|
+
}, Zo = function(e) {
|
|
3395
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return Jo;
|
|
3396
|
+
var t = Xo(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3397
3397
|
return {
|
|
3398
3398
|
left: t[0],
|
|
3399
3399
|
top: t[1],
|
|
3400
3400
|
right: t[2],
|
|
3401
3401
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3402
3402
|
};
|
|
3403
|
-
},
|
|
3403
|
+
}, Qo = qo(), $o = "data-scroll-locked", es = function(e, t, n, r) {
|
|
3404
3404
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3405
3405
|
return n === void 0 && (n = "margin"), `
|
|
3406
|
-
.${
|
|
3406
|
+
.${Eo} {
|
|
3407
3407
|
overflow: hidden ${r};
|
|
3408
3408
|
padding-right: ${s}px ${r};
|
|
3409
3409
|
}
|
|
3410
|
-
body[${
|
|
3410
|
+
body[${$o}] {
|
|
3411
3411
|
overflow: hidden ${r};
|
|
3412
3412
|
overscroll-behavior: contain;
|
|
3413
3413
|
${[
|
|
@@ -3424,122 +3424,122 @@ var Uo = function() {
|
|
|
3424
3424
|
].filter(Boolean).join("")}
|
|
3425
3425
|
}
|
|
3426
3426
|
|
|
3427
|
-
.${
|
|
3427
|
+
.${wo} {
|
|
3428
3428
|
right: ${s}px ${r};
|
|
3429
3429
|
}
|
|
3430
3430
|
|
|
3431
|
-
.${
|
|
3431
|
+
.${To} {
|
|
3432
3432
|
margin-right: ${s}px ${r};
|
|
3433
3433
|
}
|
|
3434
3434
|
|
|
3435
|
-
.${
|
|
3435
|
+
.${wo} .${wo} {
|
|
3436
3436
|
right: 0 ${r};
|
|
3437
3437
|
}
|
|
3438
3438
|
|
|
3439
|
-
.${
|
|
3439
|
+
.${To} .${To} {
|
|
3440
3440
|
margin-right: 0 ${r};
|
|
3441
3441
|
}
|
|
3442
3442
|
|
|
3443
|
-
body[${
|
|
3444
|
-
${
|
|
3443
|
+
body[${$o}] {
|
|
3444
|
+
${Do}: ${s}px;
|
|
3445
3445
|
}
|
|
3446
3446
|
`;
|
|
3447
|
-
},
|
|
3447
|
+
}, ts = function() {
|
|
3448
3448
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3449
3449
|
return isFinite(e) ? e : 0;
|
|
3450
|
-
},
|
|
3450
|
+
}, ns = function() {
|
|
3451
3451
|
F.useEffect(function() {
|
|
3452
|
-
return document.body.setAttribute(
|
|
3453
|
-
var e =
|
|
3454
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3452
|
+
return document.body.setAttribute($o, (ts() + 1).toString()), function() {
|
|
3453
|
+
var e = ts() - 1;
|
|
3454
|
+
e <= 0 ? document.body.removeAttribute($o) : document.body.setAttribute($o, e.toString());
|
|
3455
3455
|
};
|
|
3456
3456
|
}, []);
|
|
3457
|
-
},
|
|
3457
|
+
}, rs = function(e) {
|
|
3458
3458
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3459
|
-
|
|
3459
|
+
ns();
|
|
3460
3460
|
var a = F.useMemo(function() {
|
|
3461
|
-
return
|
|
3461
|
+
return Zo(i);
|
|
3462
3462
|
}, [i]);
|
|
3463
|
-
return F.createElement(
|
|
3464
|
-
},
|
|
3463
|
+
return F.createElement(Qo, { styles: es(a, !t, i, n ? "" : "!important") });
|
|
3464
|
+
}, is = !1;
|
|
3465
3465
|
if (typeof window < "u") try {
|
|
3466
|
-
var
|
|
3467
|
-
return
|
|
3466
|
+
var as = Object.defineProperty({}, "passive", { get: function() {
|
|
3467
|
+
return is = !0, !0;
|
|
3468
3468
|
} });
|
|
3469
|
-
window.addEventListener("test",
|
|
3469
|
+
window.addEventListener("test", as, as), window.removeEventListener("test", as, as);
|
|
3470
3470
|
} catch {
|
|
3471
|
-
|
|
3471
|
+
is = !1;
|
|
3472
3472
|
}
|
|
3473
|
-
var
|
|
3473
|
+
var os = is ? { passive: !1 } : !1, ss = function(e) {
|
|
3474
3474
|
return e.tagName === "TEXTAREA";
|
|
3475
|
-
},
|
|
3475
|
+
}, cs = function(e, t) {
|
|
3476
3476
|
if (!(e instanceof Element)) return !1;
|
|
3477
3477
|
var n = window.getComputedStyle(e);
|
|
3478
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3479
|
-
},
|
|
3480
|
-
return
|
|
3481
|
-
},
|
|
3482
|
-
return
|
|
3483
|
-
},
|
|
3478
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !ss(e) && n[t] === "visible");
|
|
3479
|
+
}, ls = function(e) {
|
|
3480
|
+
return cs(e, "overflowY");
|
|
3481
|
+
}, us = function(e) {
|
|
3482
|
+
return cs(e, "overflowX");
|
|
3483
|
+
}, ds = function(e, t) {
|
|
3484
3484
|
var n = t.ownerDocument, r = t;
|
|
3485
3485
|
do {
|
|
3486
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3487
|
-
var i =
|
|
3486
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), ms(e, r)) {
|
|
3487
|
+
var i = hs(e, r);
|
|
3488
3488
|
if (i[1] > i[2]) return !0;
|
|
3489
3489
|
}
|
|
3490
3490
|
r = r.parentNode;
|
|
3491
3491
|
} while (r && r !== n.body);
|
|
3492
3492
|
return !1;
|
|
3493
|
-
},
|
|
3493
|
+
}, fs = function(e) {
|
|
3494
3494
|
return [
|
|
3495
3495
|
e.scrollTop,
|
|
3496
3496
|
e.scrollHeight,
|
|
3497
3497
|
e.clientHeight
|
|
3498
3498
|
];
|
|
3499
|
-
},
|
|
3499
|
+
}, ps = function(e) {
|
|
3500
3500
|
return [
|
|
3501
3501
|
e.scrollLeft,
|
|
3502
3502
|
e.scrollWidth,
|
|
3503
3503
|
e.clientWidth
|
|
3504
3504
|
];
|
|
3505
|
-
}, fs = function(e, t) {
|
|
3506
|
-
return e === "v" ? ss(t) : cs(t);
|
|
3507
|
-
}, ps = function(e, t) {
|
|
3508
|
-
return e === "v" ? us(t) : ds(t);
|
|
3509
3505
|
}, ms = function(e, t) {
|
|
3506
|
+
return e === "v" ? ls(t) : us(t);
|
|
3507
|
+
}, hs = function(e, t) {
|
|
3508
|
+
return e === "v" ? fs(t) : ps(t);
|
|
3509
|
+
}, gs = function(e, t) {
|
|
3510
3510
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3511
|
-
},
|
|
3512
|
-
var a =
|
|
3511
|
+
}, _s = function(e, t, n, r, i) {
|
|
3512
|
+
var a = gs(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3513
3513
|
do {
|
|
3514
3514
|
if (!s) break;
|
|
3515
|
-
var p =
|
|
3516
|
-
(m || h) &&
|
|
3515
|
+
var p = hs(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3516
|
+
(m || h) && ms(e, s) && (d += h, f += m);
|
|
3517
3517
|
var g = s.parentNode;
|
|
3518
3518
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3519
3519
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3520
3520
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3521
|
-
},
|
|
3521
|
+
}, vs = function(e) {
|
|
3522
3522
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3523
|
-
},
|
|
3523
|
+
}, ys = function(e) {
|
|
3524
3524
|
return [e.deltaX, e.deltaY];
|
|
3525
|
-
},
|
|
3525
|
+
}, bs = function(e) {
|
|
3526
3526
|
return e && "current" in e ? e.current : e;
|
|
3527
|
-
},
|
|
3527
|
+
}, xs = function(e, t) {
|
|
3528
3528
|
return e[0] === t[0] && e[1] === t[1];
|
|
3529
|
-
},
|
|
3529
|
+
}, Ss = function(e) {
|
|
3530
3530
|
return `
|
|
3531
3531
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3532
3532
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3533
3533
|
`;
|
|
3534
|
-
},
|
|
3535
|
-
function
|
|
3536
|
-
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(
|
|
3534
|
+
}, Cs = 0, ws = [];
|
|
3535
|
+
function Ts(e) {
|
|
3536
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(Cs++)[0], a = F.useState(qo)[0], o = F.useRef(e);
|
|
3537
3537
|
F.useEffect(function() {
|
|
3538
3538
|
o.current = e;
|
|
3539
3539
|
}, [e]), F.useEffect(function() {
|
|
3540
3540
|
if (e.inert) {
|
|
3541
3541
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3542
|
-
var t =
|
|
3542
|
+
var t = Co([e.lockRef.current], (e.shards || []).map(bs), !0).filter(Boolean);
|
|
3543
3543
|
return t.forEach(function(e) {
|
|
3544
3544
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3545
3545
|
}), function() {
|
|
@@ -3555,25 +3555,25 @@ function Cs(e) {
|
|
|
3555
3555
|
]);
|
|
3556
3556
|
var s = F.useCallback(function(e, t) {
|
|
3557
3557
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3558
|
-
var i =
|
|
3558
|
+
var i = vs(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";
|
|
3559
3559
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3560
3560
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3561
3561
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3562
|
-
var m =
|
|
3562
|
+
var m = ds(d, u);
|
|
3563
3563
|
if (!m) return !0;
|
|
3564
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3564
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = ds(d, u)), !m) return !1;
|
|
3565
3565
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3566
3566
|
var h = r.current || l;
|
|
3567
|
-
return
|
|
3567
|
+
return _s(h, t, e, h === "h" ? s : c, !0);
|
|
3568
3568
|
}, []), c = F.useCallback(function(e) {
|
|
3569
3569
|
var n = e;
|
|
3570
|
-
if (
|
|
3571
|
-
var r = "deltaY" in n ?
|
|
3572
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3570
|
+
if (ws.length && ws[ws.length - 1] === a) {
|
|
3571
|
+
var r = "deltaY" in n ? ys(n) : vs(n), i = t.current.filter(function(e) {
|
|
3572
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && xs(e.delta, r);
|
|
3573
3573
|
})[0];
|
|
3574
3574
|
if (i && i.should) n.cancelable && n.preventDefault();
|
|
3575
3575
|
else if (!i) {
|
|
3576
|
-
var c = (o.current.shards || []).map(
|
|
3576
|
+
var c = (o.current.shards || []).map(bs).filter(Boolean).filter(function(e) {
|
|
3577
3577
|
return e.contains(n.target);
|
|
3578
3578
|
});
|
|
3579
3579
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3585,7 +3585,7 @@ function Cs(e) {
|
|
|
3585
3585
|
delta: n,
|
|
3586
3586
|
target: r,
|
|
3587
3587
|
should: i,
|
|
3588
|
-
shadowParent:
|
|
3588
|
+
shadowParent: Es(r)
|
|
3589
3589
|
};
|
|
3590
3590
|
t.current.push(a), setTimeout(function() {
|
|
3591
3591
|
t.current = t.current.filter(function(e) {
|
|
@@ -3593,56 +3593,56 @@ function Cs(e) {
|
|
|
3593
3593
|
});
|
|
3594
3594
|
}, 1);
|
|
3595
3595
|
}, []), u = F.useCallback(function(e) {
|
|
3596
|
-
n.current =
|
|
3596
|
+
n.current = vs(e), r.current = void 0;
|
|
3597
3597
|
}, []), d = F.useCallback(function(t) {
|
|
3598
|
-
l(t.type,
|
|
3598
|
+
l(t.type, ys(t), t.target, s(t, e.lockRef.current));
|
|
3599
3599
|
}, []), f = F.useCallback(function(t) {
|
|
3600
|
-
l(t.type,
|
|
3600
|
+
l(t.type, vs(t), t.target, s(t, e.lockRef.current));
|
|
3601
3601
|
}, []);
|
|
3602
3602
|
F.useEffect(function() {
|
|
3603
|
-
return
|
|
3603
|
+
return ws.push(a), e.setCallbacks({
|
|
3604
3604
|
onScrollCapture: d,
|
|
3605
3605
|
onWheelCapture: d,
|
|
3606
3606
|
onTouchMoveCapture: f
|
|
3607
|
-
}), document.addEventListener("wheel", c,
|
|
3608
|
-
|
|
3607
|
+
}), document.addEventListener("wheel", c, os), document.addEventListener("touchmove", c, os), document.addEventListener("touchstart", u, os), function() {
|
|
3608
|
+
ws = ws.filter(function(e) {
|
|
3609
3609
|
return e !== a;
|
|
3610
|
-
}), document.removeEventListener("wheel", c,
|
|
3610
|
+
}), document.removeEventListener("wheel", c, os), document.removeEventListener("touchmove", c, os), document.removeEventListener("touchstart", u, os);
|
|
3611
3611
|
};
|
|
3612
3612
|
}, []);
|
|
3613
3613
|
var p = e.removeScrollBar, m = e.inert;
|
|
3614
|
-
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles:
|
|
3614
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: Ss(i) }) : null, p ? F.createElement(rs, {
|
|
3615
3615
|
noRelative: e.noRelative,
|
|
3616
3616
|
gapMode: e.gapMode
|
|
3617
3617
|
}) : null);
|
|
3618
3618
|
}
|
|
3619
|
-
function
|
|
3619
|
+
function Es(e) {
|
|
3620
3620
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3621
3621
|
return t;
|
|
3622
3622
|
}
|
|
3623
3623
|
//#endregion
|
|
3624
3624
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3625
|
-
var
|
|
3626
|
-
return F.createElement(
|
|
3625
|
+
var Ds = Lo(Ro, Ts), Os = F.forwardRef(function(e, t) {
|
|
3626
|
+
return F.createElement(Bo, $({}, e, {
|
|
3627
3627
|
ref: t,
|
|
3628
|
-
sideCar:
|
|
3628
|
+
sideCar: Ds
|
|
3629
3629
|
}));
|
|
3630
3630
|
});
|
|
3631
|
-
|
|
3631
|
+
Os.classNames = Bo.classNames;
|
|
3632
3632
|
//#endregion
|
|
3633
3633
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3634
|
-
var
|
|
3635
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3634
|
+
var ks = "Popover", [As, js] = An(ks, [ja]), Ms = ja(), [Ns, Ps] = As(ks), Fs = (e) => {
|
|
3635
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Ms(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = ao({
|
|
3636
3636
|
prop: r,
|
|
3637
3637
|
defaultProp: i ?? !1,
|
|
3638
3638
|
onChange: a,
|
|
3639
|
-
caller:
|
|
3639
|
+
caller: ks
|
|
3640
3640
|
});
|
|
3641
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3641
|
+
return /* @__PURE__ */ (0, L.jsx)(qa, {
|
|
3642
3642
|
...s,
|
|
3643
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3643
|
+
children: /* @__PURE__ */ (0, L.jsx)(Ns, {
|
|
3644
3644
|
scope: t,
|
|
3645
|
-
contentId:
|
|
3645
|
+
contentId: Sr(),
|
|
3646
3646
|
triggerRef: c,
|
|
3647
3647
|
open: d,
|
|
3648
3648
|
onOpenChange: f,
|
|
@@ -3655,57 +3655,57 @@ var Ds = "Popover", [Os, ks] = On(Ds, [ka]), As = ka(), [js, Ms] = Os(Ds), Ns =
|
|
|
3655
3655
|
})
|
|
3656
3656
|
});
|
|
3657
3657
|
};
|
|
3658
|
-
|
|
3659
|
-
var
|
|
3660
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3661
|
-
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, L.jsx)(
|
|
3658
|
+
Fs.displayName = ks;
|
|
3659
|
+
var Is = "PopoverAnchor", Ls = F.forwardRef((e, t) => {
|
|
3660
|
+
let { __scopePopover: n, ...r } = e, i = Ps(Is, n), a = Ms(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3661
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, L.jsx)(Ja, {
|
|
3662
3662
|
...a,
|
|
3663
3663
|
...r,
|
|
3664
3664
|
ref: t
|
|
3665
3665
|
});
|
|
3666
3666
|
});
|
|
3667
|
-
|
|
3668
|
-
var
|
|
3669
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3667
|
+
Ls.displayName = Is;
|
|
3668
|
+
var Rs = "PopoverTrigger", zs = F.forwardRef((e, t) => {
|
|
3669
|
+
let { __scopePopover: n, ...r } = e, i = Ps(Rs, n), a = Ms(n), o = V(t, i.triggerRef), s = /* @__PURE__ */ (0, L.jsx)(H.button, {
|
|
3670
3670
|
type: "button",
|
|
3671
3671
|
"aria-haspopup": "dialog",
|
|
3672
3672
|
"aria-expanded": i.open,
|
|
3673
3673
|
"aria-controls": i.contentId,
|
|
3674
|
-
"data-state":
|
|
3674
|
+
"data-state": Qs(i.open),
|
|
3675
3675
|
...r,
|
|
3676
3676
|
ref: o,
|
|
3677
3677
|
onClick: B(e.onClick, i.onOpenToggle)
|
|
3678
3678
|
});
|
|
3679
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, L.jsx)(
|
|
3679
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, L.jsx)(Ja, {
|
|
3680
3680
|
asChild: !0,
|
|
3681
3681
|
...a,
|
|
3682
3682
|
children: s
|
|
3683
3683
|
});
|
|
3684
3684
|
});
|
|
3685
|
-
|
|
3686
|
-
var [
|
|
3687
|
-
let n =
|
|
3688
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3685
|
+
zs.displayName = Rs;
|
|
3686
|
+
var [Bs, Vs] = As("PopoverPortal", { forceMount: void 0 }), Hs = "PopoverContent", Us = F.forwardRef((e, t) => {
|
|
3687
|
+
let n = Vs(Hs, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = Ps(Hs, e.__scopePopover);
|
|
3688
|
+
return /* @__PURE__ */ (0, L.jsx)(eo, {
|
|
3689
3689
|
present: r || a.open,
|
|
3690
|
-
children: a.modal ? /* @__PURE__ */ (0, L.jsx)(
|
|
3690
|
+
children: a.modal ? /* @__PURE__ */ (0, L.jsx)(Gs, {
|
|
3691
3691
|
...i,
|
|
3692
3692
|
ref: t
|
|
3693
|
-
}) : /* @__PURE__ */ (0, L.jsx)(
|
|
3693
|
+
}) : /* @__PURE__ */ (0, L.jsx)(Ks, {
|
|
3694
3694
|
...i,
|
|
3695
3695
|
ref: t
|
|
3696
3696
|
})
|
|
3697
3697
|
});
|
|
3698
3698
|
});
|
|
3699
|
-
|
|
3700
|
-
var
|
|
3701
|
-
let n =
|
|
3699
|
+
Us.displayName = Hs;
|
|
3700
|
+
var Ws = /* @__PURE__ */ Mn("PopoverContent.RemoveScroll"), Gs = F.forwardRef((e, t) => {
|
|
3701
|
+
let n = Ps(Hs, e.__scopePopover), r = F.useRef(null), i = V(t, r), a = F.useRef(!1);
|
|
3702
3702
|
return F.useEffect(() => {
|
|
3703
3703
|
let e = r.current;
|
|
3704
|
-
if (e) return
|
|
3705
|
-
}, []), /* @__PURE__ */ (0, L.jsx)(
|
|
3706
|
-
as:
|
|
3704
|
+
if (e) return _o(e);
|
|
3705
|
+
}, []), /* @__PURE__ */ (0, L.jsx)(Os, {
|
|
3706
|
+
as: Ws,
|
|
3707
3707
|
allowPinchZoom: !0,
|
|
3708
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3708
|
+
children: /* @__PURE__ */ (0, L.jsx)(qs, {
|
|
3709
3709
|
...e,
|
|
3710
3710
|
ref: i,
|
|
3711
3711
|
trapFocus: n.open,
|
|
@@ -3720,9 +3720,9 @@ var Hs = /* @__PURE__ */ An("PopoverContent.RemoveScroll"), Us = F.forwardRef((e
|
|
|
3720
3720
|
onFocusOutside: B(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3721
3721
|
})
|
|
3722
3722
|
});
|
|
3723
|
-
}),
|
|
3724
|
-
let n =
|
|
3725
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3723
|
+
}), Ks = F.forwardRef((e, t) => {
|
|
3724
|
+
let n = Ps(Hs, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3725
|
+
return /* @__PURE__ */ (0, L.jsx)(qs, {
|
|
3726
3726
|
...e,
|
|
3727
3727
|
ref: t,
|
|
3728
3728
|
trapFocus: !1,
|
|
@@ -3736,15 +3736,15 @@ var Hs = /* @__PURE__ */ An("PopoverContent.RemoveScroll"), Us = F.forwardRef((e
|
|
|
3736
3736
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3737
3737
|
}
|
|
3738
3738
|
});
|
|
3739
|
-
}),
|
|
3740
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3741
|
-
return
|
|
3739
|
+
}), qs = F.forwardRef((e, t) => {
|
|
3740
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = Ps(Hs, n), p = Ms(n);
|
|
3741
|
+
return tr(), /* @__PURE__ */ (0, L.jsx)(sr, {
|
|
3742
3742
|
asChild: !0,
|
|
3743
3743
|
loop: !0,
|
|
3744
3744
|
trapped: r,
|
|
3745
3745
|
onMountAutoFocus: i,
|
|
3746
3746
|
onUnmountAutoFocus: a,
|
|
3747
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3747
|
+
children: /* @__PURE__ */ (0, L.jsx)(qn, {
|
|
3748
3748
|
asChild: !0,
|
|
3749
3749
|
disableOutsidePointerEvents: o,
|
|
3750
3750
|
onInteractOutside: u,
|
|
@@ -3752,8 +3752,8 @@ var Hs = /* @__PURE__ */ An("PopoverContent.RemoveScroll"), Us = F.forwardRef((e
|
|
|
3752
3752
|
onPointerDownOutside: c,
|
|
3753
3753
|
onFocusOutside: l,
|
|
3754
3754
|
onDismiss: () => f.onOpenChange(!1),
|
|
3755
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3756
|
-
"data-state":
|
|
3755
|
+
children: /* @__PURE__ */ (0, L.jsx)(Ya, {
|
|
3756
|
+
"data-state": Qs(f.open),
|
|
3757
3757
|
role: "dialog",
|
|
3758
3758
|
id: f.contentId,
|
|
3759
3759
|
...p,
|
|
@@ -3770,8 +3770,8 @@ var Hs = /* @__PURE__ */ An("PopoverContent.RemoveScroll"), Us = F.forwardRef((e
|
|
|
3770
3770
|
})
|
|
3771
3771
|
})
|
|
3772
3772
|
});
|
|
3773
|
-
}),
|
|
3774
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3773
|
+
}), Js = "PopoverClose", Ys = F.forwardRef((e, t) => {
|
|
3774
|
+
let { __scopePopover: n, ...r } = e, i = Ps(Js, n);
|
|
3775
3775
|
return /* @__PURE__ */ (0, L.jsx)(H.button, {
|
|
3776
3776
|
type: "button",
|
|
3777
3777
|
...r,
|
|
@@ -3779,34 +3779,34 @@ var Hs = /* @__PURE__ */ An("PopoverContent.RemoveScroll"), Us = F.forwardRef((e
|
|
|
3779
3779
|
onClick: B(e.onClick, () => i.onOpenChange(!1))
|
|
3780
3780
|
});
|
|
3781
3781
|
});
|
|
3782
|
-
|
|
3783
|
-
var
|
|
3784
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3785
|
-
return /* @__PURE__ */ (0, L.jsx)(
|
|
3782
|
+
Ys.displayName = Js;
|
|
3783
|
+
var Xs = "PopoverArrow", Zs = F.forwardRef((e, t) => {
|
|
3784
|
+
let { __scopePopover: n, ...r } = e, i = Ms(n);
|
|
3785
|
+
return /* @__PURE__ */ (0, L.jsx)(Xa, {
|
|
3786
3786
|
...i,
|
|
3787
3787
|
...r,
|
|
3788
3788
|
ref: t
|
|
3789
3789
|
});
|
|
3790
3790
|
});
|
|
3791
|
-
|
|
3792
|
-
function
|
|
3791
|
+
Zs.displayName = Xs;
|
|
3792
|
+
function Qs(e) {
|
|
3793
3793
|
return e ? "open" : "closed";
|
|
3794
3794
|
}
|
|
3795
|
-
var
|
|
3795
|
+
var $s = Fs, ec = zs, tc = Us, nc = Zs, rc = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, L.jsxs)($s, {
|
|
3796
3796
|
defaultOpen: n,
|
|
3797
3797
|
children: [/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3798
3798
|
className: "flex justify-center",
|
|
3799
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3799
|
+
children: /* @__PURE__ */ (0, L.jsx)(ec, {
|
|
3800
3800
|
asChild: !0,
|
|
3801
3801
|
children: t
|
|
3802
3802
|
})
|
|
3803
|
-
}), /* @__PURE__ */ (0, L.jsxs)(
|
|
3803
|
+
}), /* @__PURE__ */ (0, L.jsxs)(tc, {
|
|
3804
3804
|
className: "sid-popover__container",
|
|
3805
3805
|
sideOffset: 10,
|
|
3806
3806
|
side: "bottom",
|
|
3807
|
-
children: [e, /* @__PURE__ */ (0, L.jsx)(
|
|
3807
|
+
children: [e, /* @__PURE__ */ (0, L.jsx)(nc, { className: "sid-popover__caret" })]
|
|
3808
3808
|
})]
|
|
3809
|
-
}),
|
|
3809
|
+
}), ic = ({ verificationService: e, initialVisibility: t = !1 }) => /* @__PURE__ */ (0, L.jsx)(rc, {
|
|
3810
3810
|
initialVisibility: t,
|
|
3811
3811
|
trigger: /* @__PURE__ */ (0, L.jsx)("button", {
|
|
3812
3812
|
type: "button",
|
|
@@ -3816,10 +3816,10 @@ var Zs = Ns, Qs = Ls, $s = Vs, ec = Ys, tc = ({ message: e, trigger: t, initialV
|
|
|
3816
3816
|
message: /* @__PURE__ */ (0, L.jsxs)("div", { children: [
|
|
3817
3817
|
/* @__PURE__ */ (0, L.jsx)(P, { id: "step.personalInfo.howDoesVerifyingWorkDetails" }),
|
|
3818
3818
|
"\xA0",
|
|
3819
|
-
/* @__PURE__ */ (0, L.jsx)(
|
|
3819
|
+
/* @__PURE__ */ (0, L.jsx)(Vt, { verificationService: e })
|
|
3820
3820
|
] })
|
|
3821
|
-
}),
|
|
3822
|
-
let t =
|
|
3821
|
+
}), ac = (e) => {
|
|
3822
|
+
let t = de(), n = be(), r = m(() => n.remainingRewardCodes, null);
|
|
3823
3823
|
return typeof r == "number" && r > 0 ? /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
3824
3824
|
className: "sid-rewards-remaining",
|
|
3825
3825
|
role: "note",
|
|
@@ -3833,11 +3833,11 @@ var Zs = Ns, Qs = Ls, $s = Vs, ec = Ys, tc = ({ message: e, trigger: t, initialV
|
|
|
3833
3833
|
/* @__PURE__ */ (0, L.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3834
3834
|
]
|
|
3835
3835
|
}) : null;
|
|
3836
|
-
},
|
|
3837
|
-
let { verificationResponse: n } = e, r =
|
|
3836
|
+
}, oc = (e) => e !== void 0, sc = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3837
|
+
let { verificationResponse: n } = e, r = oc(n) ? Ze(n) : !1;
|
|
3838
3838
|
return /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3839
3839
|
className: "sid-personal-info-header",
|
|
3840
|
-
children: /* @__PURE__ */ (0, L.jsxs)(
|
|
3840
|
+
children: /* @__PURE__ */ (0, L.jsxs)(Dn, {
|
|
3841
3841
|
verificationService: e,
|
|
3842
3842
|
title: /* @__PURE__ */ (0, L.jsx)(P, { id: r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title" }),
|
|
3843
3843
|
classNameIdentifier: t,
|
|
@@ -3848,7 +3848,7 @@ var Zs = Ns, Qs = Ls, $s = Vs, ec = Ys, tc = ({ message: e, trigger: t, initialV
|
|
|
3848
3848
|
}),
|
|
3849
3849
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3850
3850
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3851
|
-
children: !r && /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(
|
|
3851
|
+
children: !r && /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(ic, { verificationService: e }), /* @__PURE__ */ (0, L.jsx)(ac, { verificationService: e })] })
|
|
3852
3852
|
}),
|
|
3853
3853
|
/* @__PURE__ */ (0, L.jsx)("div", {
|
|
3854
3854
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -3857,15 +3857,15 @@ var Zs = Ns, Qs = Ls, $s = Vs, ec = Ys, tc = ({ message: e, trigger: t, initialV
|
|
|
3857
3857
|
]
|
|
3858
3858
|
})
|
|
3859
3859
|
});
|
|
3860
|
-
},
|
|
3861
|
-
let { isEmbedded: i } =
|
|
3860
|
+
}, cc = () => ({ isEmbedded: !!f("verificationIframeUid") }), lc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3861
|
+
let { isEmbedded: i } = cc();
|
|
3862
3862
|
return !r || i ? /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: t }) : /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3863
3863
|
className: `sid-layout sid-layout--${e}`,
|
|
3864
3864
|
children: /* @__PURE__ */ (0, L.jsxs)("div", {
|
|
3865
3865
|
className: "sid-layout__container",
|
|
3866
3866
|
children: [e === "fullRight" && /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3867
3867
|
className: "sid-layout__content",
|
|
3868
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3868
|
+
children: /* @__PURE__ */ (0, L.jsx)(sc, {
|
|
3869
3869
|
verificationService: n,
|
|
3870
3870
|
classNameIdentifier: "landing"
|
|
3871
3871
|
})
|
|
@@ -3878,28 +3878,28 @@ var Zs = Ns, Qs = Ls, $s = Vs, ec = Ys, tc = ({ message: e, trigger: t, initialV
|
|
|
3878
3878
|
})]
|
|
3879
3879
|
})
|
|
3880
3880
|
});
|
|
3881
|
-
},
|
|
3881
|
+
}, uc = ({ children: e }) => /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3882
3882
|
className: "sid sid-form-wrapper",
|
|
3883
3883
|
children: e
|
|
3884
|
-
}),
|
|
3885
|
-
let a =
|
|
3884
|
+
}), dc = ({ locale: e, programTheme: t, verificationService: n, programId: r }) => {
|
|
3885
|
+
let a = ft(), { renderAs: o, _launchDarklyUserTargeting: s } = w(), c = ve() ?? t, l = be(), u = fe(), { isLoading: f, loadingStep: p } = ue(), m = me(j, _e), h = (0, F.useMemo)(() => m ? {
|
|
3886
3886
|
...n.verificationResponse,
|
|
3887
3887
|
...m
|
|
3888
3888
|
} : n.verificationResponse, [m, n.verificationResponse]), _ = (0, F.useMemo)(() => ({
|
|
3889
3889
|
...n,
|
|
3890
3890
|
programTheme: c,
|
|
3891
3891
|
verificationResponse: h,
|
|
3892
|
-
formValidationOptions:
|
|
3892
|
+
formValidationOptions: Nt(l, h, n.viewModel)
|
|
3893
3893
|
}), [
|
|
3894
3894
|
n,
|
|
3895
3895
|
c,
|
|
3896
3896
|
l,
|
|
3897
3897
|
h
|
|
3898
|
-
]), v = c?.themeChoices?.landingPage?.layout || "center", y =
|
|
3898
|
+
]), v = c?.themeChoices?.landingPage?.layout || "center", y = mt();
|
|
3899
3899
|
F.useEffect(() => {
|
|
3900
3900
|
try {
|
|
3901
3901
|
if (y && _ && _.viewModel) {
|
|
3902
|
-
let e = (0,
|
|
3902
|
+
let e = (0, Ot.default)(y);
|
|
3903
3903
|
i(g.flags, e);
|
|
3904
3904
|
let t = _.viewModel.metadata || {}, n = d(t, (t) => {
|
|
3905
3905
|
t.flags = e;
|
|
@@ -3919,7 +3919,7 @@ var Zs = Ns, Qs = Ls, $s = Vs, ec = Ys, tc = ({ message: e, trigger: t, initialV
|
|
|
3919
3919
|
key: u,
|
|
3920
3920
|
locale: _.verificationResponse.locale,
|
|
3921
3921
|
segment: _.verificationResponse.segment,
|
|
3922
|
-
installType:
|
|
3922
|
+
installType: Fe()
|
|
3923
3923
|
},
|
|
3924
3924
|
program: { key: r }
|
|
3925
3925
|
};
|
|
@@ -3930,29 +3930,29 @@ var Zs = Ns, Qs = Ls, $s = Vs, ec = Ys, tc = ({ message: e, trigger: t, initialV
|
|
|
3930
3930
|
w()._launchDarklyFlagCb(y);
|
|
3931
3931
|
} catch {}
|
|
3932
3932
|
}, [y]);
|
|
3933
|
-
let C =
|
|
3933
|
+
let C = de(), T = me(j, ae), ee = {
|
|
3934
3934
|
...C,
|
|
3935
|
-
...(0,
|
|
3936
|
-
...(0,
|
|
3935
|
+
...(0, Dt.default)(x(e)),
|
|
3936
|
+
...(0, Dt.default)(T?.[e] ?? {})
|
|
3937
3937
|
};
|
|
3938
3938
|
return /* @__PURE__ */ (0, L.jsx)(D, {
|
|
3939
3939
|
locale: "en",
|
|
3940
3940
|
messages: ee,
|
|
3941
|
-
textComponent:
|
|
3942
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3941
|
+
textComponent: Tn,
|
|
3942
|
+
children: /* @__PURE__ */ (0, L.jsx)(Mt, {
|
|
3943
3943
|
themeChoices: c?.themeChoices,
|
|
3944
3944
|
customCssFromOptions: w().customCss,
|
|
3945
3945
|
children: /* @__PURE__ */ (0, L.jsx)("div", {
|
|
3946
|
-
className: `${
|
|
3947
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3946
|
+
className: `${kt.default.isRtlLang(S(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
3947
|
+
children: /* @__PURE__ */ (0, L.jsx)(uc, { children: /* @__PURE__ */ (0, L.jsx)(lc, {
|
|
3948
3948
|
layout: v,
|
|
3949
3949
|
verificationService: _,
|
|
3950
3950
|
renderAsLandingPage: o === "landingPage",
|
|
3951
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
3951
|
+
children: /* @__PURE__ */ (0, L.jsx)(Ct, {
|
|
3952
3952
|
i18n: b,
|
|
3953
3953
|
children: /* @__PURE__ */ (0, L.jsx)(F.Suspense, {
|
|
3954
|
-
fallback: /* @__PURE__ */ (0, L.jsx)(
|
|
3955
|
-
children: f ||
|
|
3954
|
+
fallback: /* @__PURE__ */ (0, L.jsx)(Bt, { step: p }),
|
|
3955
|
+
children: f || Re("mockStep") === we.loading ? /* @__PURE__ */ (0, L.jsx)(Bt, { step: p }) : /* @__PURE__ */ (0, L.jsxs)("div", { children: [!w().hideTestModeFlag && /* @__PURE__ */ (0, L.jsx)(En, { verificationService: _ }), /* @__PURE__ */ (0, L.jsx)(wn, {
|
|
3956
3956
|
stepToLoad: _.overrideStep || _.verificationResponse?.currentStep,
|
|
3957
3957
|
verificationService: _
|
|
3958
3958
|
})] })
|
|
@@ -3962,35 +3962,35 @@ var Zs = Ns, Qs = Ls, $s = Vs, ec = Ys, tc = ({ message: e, trigger: t, initialV
|
|
|
3962
3962
|
})
|
|
3963
3963
|
})
|
|
3964
3964
|
}, e);
|
|
3965
|
-
},
|
|
3965
|
+
}, fc = () => {
|
|
3966
3966
|
let e = null;
|
|
3967
3967
|
document.addEventListener("keydown", (t) => {
|
|
3968
3968
|
if (t.key !== "Tab") return;
|
|
3969
3969
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3970
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3970
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (Ve({
|
|
3971
3971
|
type: "focus",
|
|
3972
3972
|
focusOn: "firstElement"
|
|
3973
3973
|
}), t.preventDefault());
|
|
3974
3974
|
}), window.addEventListener("message", (t) => {
|
|
3975
3975
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
3976
|
-
}),
|
|
3976
|
+
}), Ve({
|
|
3977
3977
|
type: "focus",
|
|
3978
3978
|
focusOn: "firstElement"
|
|
3979
3979
|
});
|
|
3980
|
-
},
|
|
3980
|
+
}, pc = () => {
|
|
3981
3981
|
window.addEventListener("message", (e) => {
|
|
3982
|
-
e.data.isInLightBox === "true" &&
|
|
3982
|
+
e.data.isInLightBox === "true" && fc();
|
|
3983
3983
|
});
|
|
3984
|
-
},
|
|
3984
|
+
}, mc = class extends F.Component {
|
|
3985
3985
|
verificationService;
|
|
3986
3986
|
constructor(e) {
|
|
3987
3987
|
super(e), M.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? M.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : M.info("No trackingId to associate with the verification request");
|
|
3988
3988
|
}
|
|
3989
3989
|
componentDidMount() {
|
|
3990
|
-
T(),
|
|
3990
|
+
T(), pc(), Ee((e) => {
|
|
3991
3991
|
switch (e.data.action) {
|
|
3992
3992
|
case "setViewModel":
|
|
3993
|
-
|
|
3993
|
+
ot(e.data.viewModel, {
|
|
3994
3994
|
partial: !0,
|
|
3995
3995
|
metadataCheck: !0,
|
|
3996
3996
|
externalUserIdCheck: !0
|
|
@@ -4004,69 +4004,80 @@ var Zs = Ns, Qs = Ls, $s = Vs, ec = Ys, tc = ({ message: e, trigger: t, initialV
|
|
|
4004
4004
|
}
|
|
4005
4005
|
render() {
|
|
4006
4006
|
let { viewModel: e } = this.props.verificationService, t = _(e), { programTheme: n } = this.props.verificationService, { verificationResponse: r } = this.props.verificationService;
|
|
4007
|
-
return M.info("NewVerificationComponent: verificationResponse, viewModel", r, e), M.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r?.currentStep}`), /* @__PURE__ */ (0, L.jsx)(
|
|
4007
|
+
return M.info("NewVerificationComponent: verificationResponse, viewModel", r, e), M.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r?.currentStep}`), /* @__PURE__ */ (0, L.jsx)(dc, {
|
|
4008
4008
|
locale: t,
|
|
4009
4009
|
programTheme: n,
|
|
4010
4010
|
verificationService: this.props.verificationService,
|
|
4011
4011
|
programId: this.props.programId
|
|
4012
4012
|
});
|
|
4013
4013
|
}
|
|
4014
|
-
},
|
|
4014
|
+
}, hc = ie((e, t) => ({ ...e }), (e, t) => ({
|
|
4015
4015
|
dispatch: e,
|
|
4016
|
-
fetchNewVerificationRequest:
|
|
4017
|
-
fetchExistingVerificationRequest:
|
|
4018
|
-
updateViewModel:
|
|
4019
|
-
updateLocale:
|
|
4020
|
-
updateProgramTheme:
|
|
4021
|
-
updateFieldValidationErrors:
|
|
4022
|
-
resetState:
|
|
4016
|
+
fetchNewVerificationRequest: qe(e),
|
|
4017
|
+
fetchExistingVerificationRequest: st(e),
|
|
4018
|
+
updateViewModel: nt(e),
|
|
4019
|
+
updateLocale: Ye(e, t.programId),
|
|
4020
|
+
updateProgramTheme: at(e),
|
|
4021
|
+
updateFieldValidationErrors: Je(e),
|
|
4022
|
+
resetState: tt(e)
|
|
4023
4023
|
}), (e, t, n) => {
|
|
4024
4024
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4025
4025
|
return {
|
|
4026
4026
|
verificationService: {
|
|
4027
4027
|
...e,
|
|
4028
4028
|
...i,
|
|
4029
|
-
submitStep:
|
|
4029
|
+
submitStep: lt(r, a)
|
|
4030
4030
|
},
|
|
4031
4031
|
...n
|
|
4032
4032
|
};
|
|
4033
|
-
})(
|
|
4033
|
+
})(mc), gc = (e) => ({
|
|
4034
4034
|
kind: "program",
|
|
4035
4035
|
key: e
|
|
4036
|
-
}),
|
|
4036
|
+
}), _c = ({ programId: e, children: t }) => /* @__PURE__ */ (0, L.jsx)(pt, {
|
|
4037
4037
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4038
|
-
context:
|
|
4039
|
-
flags:
|
|
4038
|
+
context: gc(e),
|
|
4039
|
+
flags: ht,
|
|
4040
4040
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4041
4041
|
options: { streaming: !1 },
|
|
4042
4042
|
children: t
|
|
4043
|
-
}),
|
|
4044
|
-
|
|
4045
|
-
|
|
4043
|
+
}), vc = ({ programId: e }) => {
|
|
4044
|
+
let t = gt("hc-my-sheer-id-theme-builder") === !0;
|
|
4045
|
+
return (0, F.useEffect)(() => {
|
|
4046
|
+
if (!t || !e) return;
|
|
4047
|
+
let n = !0;
|
|
4048
|
+
return ke.fetchProgramBranding(e).then((e) => {
|
|
4049
|
+
n && he(e);
|
|
4050
|
+
}).catch(() => void 0), () => {
|
|
4051
|
+
n = !1, ye();
|
|
4052
|
+
};
|
|
4053
|
+
}, [t, e]), null;
|
|
4054
|
+
}, yc = Qe();
|
|
4055
|
+
i(g.jslibVersionActual, m(() => ce(), "?")), i(g.clientVersion, m(() => ce(), "?"));
|
|
4056
|
+
var bc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4046
4057
|
try {
|
|
4047
|
-
|
|
4058
|
+
Ue();
|
|
4048
4059
|
} catch (e) {
|
|
4049
4060
|
M.warn("Failed to add predefined hooks", e);
|
|
4050
4061
|
}
|
|
4051
4062
|
return (0, F.useEffect)(() => {
|
|
4052
4063
|
te();
|
|
4053
|
-
}),
|
|
4064
|
+
}), yc.dispatch({
|
|
4054
4065
|
programId: e,
|
|
4055
4066
|
type: "PROGRAM_ID"
|
|
4056
4067
|
}), n && (n.current = {
|
|
4057
|
-
refresh: F.useCallback(() =>
|
|
4058
|
-
reset: F.useCallback(() =>
|
|
4059
|
-
}), /* @__PURE__ */ (0, L.jsx)(
|
|
4060
|
-
store:
|
|
4061
|
-
children: /* @__PURE__ */ (0, L.
|
|
4068
|
+
refresh: F.useCallback(() => yc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4069
|
+
reset: F.useCallback(() => yc.dispatch({ type: "RESET_STATE" }), [])
|
|
4070
|
+
}), /* @__PURE__ */ (0, L.jsx)(re, {
|
|
4071
|
+
store: yc,
|
|
4072
|
+
children: /* @__PURE__ */ (0, L.jsxs)(_c, {
|
|
4062
4073
|
programId: e,
|
|
4063
|
-
children: /* @__PURE__ */ (0, L.jsx)(
|
|
4074
|
+
children: [/* @__PURE__ */ (0, L.jsx)(vc, { programId: e }), /* @__PURE__ */ (0, L.jsx)(hc, {
|
|
4064
4075
|
programId: e,
|
|
4065
4076
|
trackingId: t
|
|
4066
|
-
})
|
|
4077
|
+
})]
|
|
4067
4078
|
})
|
|
4068
4079
|
});
|
|
4069
|
-
}),
|
|
4080
|
+
}), xc = class e {
|
|
4070
4081
|
element;
|
|
4071
4082
|
programId;
|
|
4072
4083
|
trackingId;
|
|
@@ -4083,16 +4094,16 @@ var _c = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4083
4094
|
this.ref.current.reset();
|
|
4084
4095
|
}
|
|
4085
4096
|
render() {
|
|
4086
|
-
|
|
4097
|
+
Et.render(/* @__PURE__ */ (0, L.jsx)(bc, {
|
|
4087
4098
|
programId: this.programId,
|
|
4088
4099
|
trackingId: this.trackingId,
|
|
4089
4100
|
ref: this.ref
|
|
4090
4101
|
}), this.element);
|
|
4091
4102
|
}
|
|
4092
4103
|
unmount() {
|
|
4093
|
-
|
|
4104
|
+
Et.unmountComponentAtNode(this.element);
|
|
4094
4105
|
}
|
|
4095
|
-
},
|
|
4106
|
+
}, Sc = async (e, t) => {
|
|
4096
4107
|
if (!m(() => e.threatMetrixEnabled, !1)) return;
|
|
4097
4108
|
let n = e.threatMetrixOrgId || "cnl2my47";
|
|
4098
4109
|
try {
|
|
@@ -4104,48 +4115,48 @@ var _c = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4104
4115
|
} catch (e) {
|
|
4105
4116
|
M.error(e, "Failed to collect ThreatMetrix device data");
|
|
4106
4117
|
}
|
|
4107
|
-
},
|
|
4108
|
-
let n =
|
|
4118
|
+
}, Cc = /* @__PURE__ */ new Map(), wc = (e, t) => {
|
|
4119
|
+
let n = Cc.get(t);
|
|
4109
4120
|
if (n) return n;
|
|
4110
4121
|
let r = (async () => {
|
|
4111
4122
|
let [, n, r] = await Promise.all([
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4123
|
+
Sc(e, t),
|
|
4124
|
+
dt(e, t),
|
|
4125
|
+
Ke(e, t)
|
|
4115
4126
|
]);
|
|
4116
4127
|
return {
|
|
4117
4128
|
...r ? { fpSessionId: r } : {},
|
|
4118
4129
|
...n ? { ipqsRequestId: n } : {}
|
|
4119
4130
|
};
|
|
4120
4131
|
})();
|
|
4121
|
-
return
|
|
4122
|
-
},
|
|
4123
|
-
e.locale && e.messages && C(e),
|
|
4124
|
-
},
|
|
4132
|
+
return Cc.set(t, r), r;
|
|
4133
|
+
}, Tc = async (e, t) => wc(await ke.fetchProgramConfiguration(t), e), Ec = (e, t) => {
|
|
4134
|
+
e.locale && e.messages && C(e), se(e, t);
|
|
4135
|
+
}, Dc = {
|
|
4125
4136
|
getMessages: s,
|
|
4126
|
-
setViewModel:
|
|
4127
|
-
resetViewModel:
|
|
4137
|
+
setViewModel: ot,
|
|
4138
|
+
resetViewModel: rt,
|
|
4128
4139
|
setOptions: p,
|
|
4129
4140
|
resetOptions: u,
|
|
4130
|
-
refreshStore:
|
|
4131
|
-
setMetadata:
|
|
4132
|
-
getMetadata:
|
|
4133
|
-
resetMetadata:
|
|
4134
|
-
conversion:
|
|
4135
|
-
overrideComponent:
|
|
4136
|
-
resetOverriddenComponents:
|
|
4137
|
-
postVerificationSizeUpdates:
|
|
4138
|
-
addHook:
|
|
4139
|
-
hooks:
|
|
4140
|
-
VerificationForm:
|
|
4141
|
-
collectDeviceProfile:
|
|
4142
|
-
resetStore:
|
|
4141
|
+
refreshStore: Ge,
|
|
4142
|
+
setMetadata: ut,
|
|
4143
|
+
getMetadata: Xe,
|
|
4144
|
+
resetMetadata: We,
|
|
4145
|
+
conversion: Ne,
|
|
4146
|
+
overrideComponent: Ft,
|
|
4147
|
+
resetOverriddenComponents: Lt,
|
|
4148
|
+
postVerificationSizeUpdates: $e,
|
|
4149
|
+
addHook: He,
|
|
4150
|
+
hooks: et,
|
|
4151
|
+
VerificationForm: xc,
|
|
4152
|
+
collectDeviceProfile: Tc,
|
|
4153
|
+
resetStore: it,
|
|
4143
4154
|
setProgramTheme: (e, n = { partial: !0 }) => {
|
|
4144
|
-
let r =
|
|
4145
|
-
let { programTheme: i, programConfiguration: a, programI18n: o } =
|
|
4146
|
-
M.info("Setting programTheme", i), o &&
|
|
4155
|
+
let r = Qe(), i = r.getState(), a = () => {
|
|
4156
|
+
let { programTheme: i, programConfiguration: a, programI18n: o } = De(t(e));
|
|
4157
|
+
M.info("Setting programTheme", i), o && Ec(o, n.partial), a && le(a, n.partial), at(r.dispatch)(i, n.partial), ne(i, n.partial);
|
|
4147
4158
|
};
|
|
4148
|
-
i.isLoading ?
|
|
4159
|
+
i.isLoading ? He({
|
|
4149
4160
|
name: "ON_VERIFICATION_READY",
|
|
4150
4161
|
callback: () => {
|
|
4151
4162
|
a();
|
|
@@ -4154,4 +4165,4 @@ var _c = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4154
4165
|
}
|
|
4155
4166
|
};
|
|
4156
4167
|
//#endregion
|
|
4157
|
-
export {
|
|
4168
|
+
export { Zt as A, Rn as C, V as D, kn as E, At as F, Vt as M, Bt as N, B as O, Rt as P, H as S, An as T, Sr as _, yo as a, qn as b, _o as c, Qa as d, Dc as default, Ja as f, ja as g, qa as h, Os as i, Wt as j, nn as k, ao as l, Ya as m, sc as n, bo as o, Xa as p, ac as r, So as s, wc as t, eo as u, sr as v, Mn as w, zn as x, tr as y };
|