@sheerid/jslib 2.305.0 → 2.307.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 +1053 -1069
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-Cy1Rhow8.js → AddressComponent-C2lC7O7h.js} +8 -8
- package/chunk/{AddressComponent-7Kn9xST8.js.map → AddressComponent-C2lC7O7h.js.map} +1 -1
- package/chunk/{AddressComponent-7Kn9xST8.js → AddressComponent-h8JfcOkn.js} +8 -8
- package/chunk/{AddressComponent-Cy1Rhow8.js.map → AddressComponent-h8JfcOkn.js.map} +1 -1
- package/chunk/{AnnouncingHeader-zH7WLU2-.js → AnnouncingHeader-DKOYC3b9.js} +6 -6
- package/chunk/{AnnouncingHeader-CnV2m0Ak.js.map → AnnouncingHeader-DKOYC3b9.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CnV2m0Ak.js → AnnouncingHeader-gJrk6VDV.js} +6 -6
- package/chunk/{AnnouncingHeader-zH7WLU2-.js.map → AnnouncingHeader-gJrk6VDV.js.map} +1 -1
- package/chunk/{BirthDateComponent-Jlv1ygoa.js → BirthDateComponent-DLA-a79g.js} +8 -8
- package/chunk/{BirthDateComponent-D1M8ATw2.js.map → BirthDateComponent-DLA-a79g.js.map} +1 -1
- package/chunk/{BirthDateComponent-D1M8ATw2.js → BirthDateComponent-PIolYRcO.js} +8 -8
- package/chunk/{BirthDateComponent-Jlv1ygoa.js.map → BirthDateComponent-PIolYRcO.js.map} +1 -1
- package/chunk/{CaptchaComponent-DijVQaDh.js → CaptchaComponent-DNRbjOk0.js} +232 -235
- package/chunk/{CaptchaComponent-DijVQaDh.js.map → CaptchaComponent-DNRbjOk0.js.map} +1 -1
- package/chunk/{CaptchaComponent-Jj13Tw4k.js → CaptchaComponent-DwUevV3t.js} +234 -237
- package/chunk/{CaptchaComponent-Jj13Tw4k.js.map → CaptchaComponent-DwUevV3t.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-B_Ya5hV4.js → ChangeLocaleComponent-BOMhh2b3.js} +9 -9
- package/chunk/{ChangeLocaleComponent-B_Ya5hV4.js.map → ChangeLocaleComponent-BOMhh2b3.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DhcUoMWL.js → ChangeLocaleComponent-D0JepSri.js} +9 -9
- package/chunk/{ChangeLocaleComponent-DhcUoMWL.js.map → ChangeLocaleComponent-D0JepSri.js.map} +1 -1
- package/chunk/{City-iq1DR3HC.js → City-DRLuVsMu.js} +8 -8
- package/chunk/{City-DmwFHxPe.js.map → City-DRLuVsMu.js.map} +1 -1
- package/chunk/{City-DmwFHxPe.js → City-Ufl43AsO.js} +8 -8
- package/chunk/{City-iq1DR3HC.js.map → City-Ufl43AsO.js.map} +1 -1
- package/chunk/CollegeNameComponent-B8jZYiX1.js +43 -0
- package/chunk/CollegeNameComponent-B8jZYiX1.js.map +1 -0
- package/chunk/CollegeNameComponent-Xj0rQB7c.js +39 -0
- package/chunk/CollegeNameComponent-Xj0rQB7c.js.map +1 -0
- package/chunk/{CopyToClipboardComponent-BdrpxpHJ.js → CopyToClipboardComponent-BorxChs8.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BdrpxpHJ.js.map → CopyToClipboardComponent-BorxChs8.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Dm3-3x4b.js → CopyToClipboardComponent-ystjPwTW.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Dm3-3x4b.js.map → CopyToClipboardComponent-ystjPwTW.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BmNABlLF.js → CountryComponentWrapper-CF5TH0Ww.js} +29 -29
- package/chunk/{CountryComponentWrapper-BmNABlLF.js.map → CountryComponentWrapper-CF5TH0Ww.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CFooYkPK.js → CountryComponentWrapper-CauXt0Zp.js} +12 -12
- package/chunk/{CountryComponentWrapper-CFooYkPK.js.map → CountryComponentWrapper-CauXt0Zp.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CKL2mQc6.js → DischargeDateComponent-BURlHu-f.js} +18 -18
- package/chunk/{DischargeDateComponent-CKL2mQc6.js.map → DischargeDateComponent-BURlHu-f.js.map} +1 -1
- package/chunk/{DischargeDateComponent-WBm110Pc.js → DischargeDateComponent-DphDUj7n.js} +17 -17
- package/chunk/{DischargeDateComponent-WBm110Pc.js.map → DischargeDateComponent-DphDUj7n.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-C2nVV_gO.js → DriverLicenseNumberComponent-BUe8vef1.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-C2nVV_gO.js.map → DriverLicenseNumberComponent-BUe8vef1.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-bTA5d7cI.js → DriverLicenseNumberComponent-fEmGGbnz.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-bTA5d7cI.js.map → DriverLicenseNumberComponent-fEmGGbnz.js.map} +1 -1
- package/chunk/{EmailLoopPending-ByW9XkIK.js → EmailLoopPending-BN7Op60d.js} +12 -12
- package/chunk/{EmailLoopPending-ByW9XkIK.js.map → EmailLoopPending-BN7Op60d.js.map} +1 -1
- package/chunk/{EmailLoopPending-DTnuWa6p.js → EmailLoopPending-HOmFgKTU.js} +14 -14
- package/chunk/{EmailLoopPending-DTnuWa6p.js.map → EmailLoopPending-HOmFgKTU.js.map} +1 -1
- package/chunk/{ExtraMessage-W3biUb29.js → ExtraMessage-BnNB6oFi.js} +7 -7
- package/chunk/{ExtraMessage-DuuHw84g.js.map → ExtraMessage-BnNB6oFi.js.map} +1 -1
- package/chunk/{ExtraMessage-DuuHw84g.js → ExtraMessage-Pq3Frlg0.js} +7 -7
- package/chunk/{ExtraMessage-W3biUb29.js.map → ExtraMessage-Pq3Frlg0.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DquuqEdB.js → FirstResponderOrganizationComponent-B8Th8Q4m.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-C4caR50S.js.map → FirstResponderOrganizationComponent-B8Th8Q4m.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-C4caR50S.js → FirstResponderOrganizationComponent-C8zsvoAK.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-DquuqEdB.js.map → FirstResponderOrganizationComponent-C8zsvoAK.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-d-hHVoQQ.js → FormFieldInputSelect-BKMQ9gEA.js} +7 -7
- package/chunk/{FormFieldInputSelect-CnGM7mg4.js.map → FormFieldInputSelect-BKMQ9gEA.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CnGM7mg4.js → FormFieldInputSelect-dsQeqe8F.js} +7 -7
- package/chunk/{FormFieldInputSelect-d-hHVoQQ.js.map → FormFieldInputSelect-dsQeqe8F.js.map} +1 -1
- package/chunk/{FormFieldLayout-D1tb5nAu.js → FormFieldLayout-B5_PsKrR.js} +6 -6
- package/chunk/{FormFieldLayout-D1tb5nAu.js.map → FormFieldLayout-B5_PsKrR.js.map} +1 -1
- package/chunk/{FormFieldLayout-Dt_dMiDh.js → FormFieldLayout-CRgEwTkx.js} +6 -6
- package/chunk/{FormFieldLayout-Dt_dMiDh.js.map → FormFieldLayout-CRgEwTkx.js.map} +1 -1
- package/chunk/{FormFieldText-CsFISbyw.js → FormFieldText-BWImUS8U.js} +7 -7
- package/chunk/{FormFieldText-BU2NBm1H.js.map → FormFieldText-BWImUS8U.js.map} +1 -1
- package/chunk/{FormFieldText-BU2NBm1H.js → FormFieldText-D4SW8w-w.js} +7 -7
- package/chunk/{FormFieldText-CsFISbyw.js.map → FormFieldText-D4SW8w-w.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DQe-u8ke.js → FormFieldTypeahead-B0gZVz-_.js} +87 -87
- package/chunk/{FormFieldTypeahead-DQe-u8ke.js.map → FormFieldTypeahead-B0gZVz-_.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-UICnjipa.js → FormFieldTypeahead-MpKtmzcg.js} +85 -85
- package/chunk/{FormFieldTypeahead-UICnjipa.js.map → FormFieldTypeahead-MpKtmzcg.js.map} +1 -1
- package/chunk/{FormFooterComponent-GntU0CK1.js → FormFooterComponent-3UsgRJsz.js} +489 -509
- package/chunk/FormFooterComponent-3UsgRJsz.js.map +1 -0
- package/chunk/{FormFooterComponent-INOCMS5I.js → FormFooterComponent-CxPaPS8m.js} +503 -523
- package/chunk/FormFooterComponent-CxPaPS8m.js.map +1 -0
- package/chunk/{FormSelectChoice-CbCgCvkh.js → FormSelectChoice-D-la3EDO.js} +8 -8
- package/chunk/{FormSelectChoice-CbCgCvkh.js.map → FormSelectChoice-D-la3EDO.js.map} +1 -1
- package/chunk/{FormSelectChoice-lKpoGUFg.js → FormSelectChoice-D9QN8zac.js} +8 -8
- package/chunk/{FormSelectChoice-lKpoGUFg.js.map → FormSelectChoice-D9QN8zac.js.map} +1 -1
- package/chunk/{InputText-DMztCQmi.js → InputText-CS8Q8oNz.js} +6 -6
- package/chunk/{InputText-CuBi-ytU.js.map → InputText-CS8Q8oNz.js.map} +1 -1
- package/chunk/{InputText-CuBi-ytU.js → InputText-D__c437o.js} +6 -6
- package/chunk/{InputText-DMztCQmi.js.map → InputText-D__c437o.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Ca5Q95Dv.js → LicensedProfessionalOrganizationComponent-0YuaW1wl.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-Ca5Q95Dv.js.map → LicensedProfessionalOrganizationComponent-0YuaW1wl.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CzbEn3OT.js → LicensedProfessionalOrganizationComponent-DpFUTGIU.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-CzbEn3OT.js.map → LicensedProfessionalOrganizationComponent-DpFUTGIU.js.map} +1 -1
- package/chunk/{LogoComponent-BBafuteW.js → LogoComponent-BgbR17OV.js} +6 -6
- package/chunk/{LogoComponent-BBafuteW.js.map → LogoComponent-BgbR17OV.js.map} +1 -1
- package/chunk/{LogoComponent-BlvwHGG7.js → LogoComponent-CuBinjv8.js} +6 -6
- package/chunk/{LogoComponent-BlvwHGG7.js.map → LogoComponent-CuBinjv8.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-C5tBx4R1.js → LowIncomeOrganizationComponent-BwJZgutt.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-SXofGZtZ.js.map → LowIncomeOrganizationComponent-BwJZgutt.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-SXofGZtZ.js → LowIncomeOrganizationComponent-Cu8hF9KG.js} +21 -21
- package/chunk/{LowIncomeOrganizationComponent-C5tBx4R1.js.map → LowIncomeOrganizationComponent-Cu8hF9KG.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DhXuwA6G.js → MedicalProfessionalOrganizationComponent-D1nAdwMg.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-DhXuwA6G.js.map → MedicalProfessionalOrganizationComponent-D1nAdwMg.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DDEwJw25.js → MedicalProfessionalOrganizationComponent-qH0R0RdW.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-DDEwJw25.js.map → MedicalProfessionalOrganizationComponent-qH0R0RdW.js.map} +1 -1
- package/chunk/{MemberIdComponent-CYE9NWER.js → MemberIdComponent-B6AVjpgw.js} +8 -8
- package/chunk/{MemberIdComponent-CYE9NWER.js.map → MemberIdComponent-B6AVjpgw.js.map} +1 -1
- package/chunk/{MemberIdComponent-zZA-2Be7.js → MemberIdComponent-zCfHfHqP.js} +8 -8
- package/chunk/{MemberIdComponent-zZA-2Be7.js.map → MemberIdComponent-zCfHfHqP.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BvUIEiHp.js → MembershipOrganizationComponent-BpVuchsF.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BvUIEiHp.js.map → MembershipOrganizationComponent-BpVuchsF.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Dt6uhM9W.js → MembershipOrganizationComponent-CsmHLMIR.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-Dt6uhM9W.js.map → MembershipOrganizationComponent-CsmHLMIR.js.map} +1 -1
- package/chunk/{Message-B01COPOe.js → Message-DiIMSbkQ.js} +7639 -7613
- package/chunk/Message-DiIMSbkQ.js.map +1 -0
- package/chunk/{Message-D2z1-4t7.js → Message-DtxngN6C.js} +7853 -7827
- package/chunk/Message-DtxngN6C.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-BIFTcGKn.js → PersonalInfoStepSubmitButton-C9bX9hn-.js} +19 -19
- package/chunk/{PersonalInfoStepSubmitButton-BIFTcGKn.js.map → PersonalInfoStepSubmitButton-C9bX9hn-.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-BhivUjA7.js → PersonalInfoStepSubmitButton-Ce7x__Wi.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-BhivUjA7.js.map → PersonalInfoStepSubmitButton-Ce7x__Wi.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CmbBT85L.js → PersonalInfoStepWrapper-CBtDM65w.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-CmbBT85L.js.map → PersonalInfoStepWrapper-CBtDM65w.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BhmtlbC3.js → PersonalInfoStepWrapper-TFsKYUeL.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-BhmtlbC3.js.map → PersonalInfoStepWrapper-TFsKYUeL.js.map} +1 -1
- package/chunk/{PostalCodeComponent-1D8zJ6Gw.js → PostalCodeComponent-BBs9Bp36.js} +8 -8
- package/chunk/{PostalCodeComponent-1D8zJ6Gw.js.map → PostalCodeComponent-BBs9Bp36.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DCpTuzDt.js → PostalCodeComponent-Dknp_LrI.js} +8 -8
- package/chunk/{PostalCodeComponent-DCpTuzDt.js.map → PostalCodeComponent-Dknp_LrI.js.map} +1 -1
- package/chunk/{SSN-BYa6bN2F.js → SSN-BSxE5Uet.js} +8 -8
- package/chunk/{SSN-BYa6bN2F.js.map → SSN-BSxE5Uet.js.map} +1 -1
- package/chunk/{SSN-Cv-vv86v.js → SSN-gJcpvUFG.js} +8 -8
- package/chunk/{SSN-Cv-vv86v.js.map → SSN-gJcpvUFG.js.map} +1 -1
- package/chunk/{StateSelectComponent-C5SyZrP9.js → StateSelectComponent-BLPGXEhQ.js} +7 -7
- package/chunk/{StateSelectComponent-C5SyZrP9.js.map → StateSelectComponent-BLPGXEhQ.js.map} +1 -1
- package/chunk/{StateSelectComponent-Yrm2gmjt.js → StateSelectComponent-CqzkF1jU.js} +7 -7
- package/chunk/{StateSelectComponent-Yrm2gmjt.js.map → StateSelectComponent-CqzkF1jU.js.map} +1 -1
- package/chunk/StatusComponent-C95cd9HL.js +41 -0
- package/chunk/StatusComponent-C95cd9HL.js.map +1 -0
- package/chunk/StatusComponent-Os3WMfWG.js +45 -0
- package/chunk/StatusComponent-Os3WMfWG.js.map +1 -0
- package/chunk/{StepAgePersonalInfo-B-fHCbQ0.js → StepAgePersonalInfo-D2IGNQbe.js} +58 -58
- package/chunk/{StepAgePersonalInfo-B-fHCbQ0.js.map → StepAgePersonalInfo-D2IGNQbe.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BZ8HQDRa.js → StepAgePersonalInfo-DVP1nW1R.js} +58 -58
- package/chunk/{StepAgePersonalInfo-BZ8HQDRa.js.map → StepAgePersonalInfo-DVP1nW1R.js.map} +1 -1
- package/chunk/{StepCard-DJR-l3sW.js → StepCard-B72CFYHs.js} +5 -5
- package/chunk/{StepCard-DJR-l3sW.js.map → StepCard-B72CFYHs.js.map} +1 -1
- package/chunk/{StepCard-wwTRGIhn.js → StepCard-Bvt7Kykz.js} +5 -5
- package/chunk/{StepCard-wwTRGIhn.js.map → StepCard-Bvt7Kykz.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DduKuXJZ.js → StepCollectIdentifier-Cr-pcekl.js} +9 -9
- package/chunk/{StepCollectIdentifier-DduKuXJZ.js.map → StepCollectIdentifier-Cr-pcekl.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CyCr6Kkf.js → StepCollectIdentifier-DnC9MgdJ.js} +9 -9
- package/chunk/{StepCollectIdentifier-CyCr6Kkf.js.map → StepCollectIdentifier-DnC9MgdJ.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DYvlaLFf.js → StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CTzbUlUh.js.map → StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CTzbUlUh.js → StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DYvlaLFf.js.map → StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-BKe3gp2Y.js → StepCollectPersonalInfo-BW4zdAuJ.js} +121 -121
- package/chunk/{StepCollectPersonalInfo-BKe3gp2Y.js.map → StepCollectPersonalInfo-BW4zdAuJ.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DMhjFyhS.js → StepCollectPersonalInfo-Dp0QqT2l.js} +122 -122
- package/chunk/{StepCollectPersonalInfo-DMhjFyhS.js.map → StepCollectPersonalInfo-Dp0QqT2l.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Cj1zd9Fz.js → StepCompleteAuthentication-BrdV0iN-.js} +9 -9
- package/chunk/{StepCompleteAuthentication-76dd_HoE.js.map → StepCompleteAuthentication-BrdV0iN-.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-76dd_HoE.js → StepCompleteAuthentication-DLwlKmBO.js} +20 -20
- package/chunk/{StepCompleteAuthentication-Cj1zd9Fz.js.map → StepCompleteAuthentication-DLwlKmBO.js.map} +1 -1
- package/chunk/{StepConsolation-BMIhHrZ_.js → StepConsolation-BjfCC2wN.js} +8 -8
- package/chunk/{StepConsolation-D4U5Lz4s.js.map → StepConsolation-BjfCC2wN.js.map} +1 -1
- package/chunk/{StepConsolation-D4U5Lz4s.js → StepConsolation-CGZzbc4p.js} +8 -8
- package/chunk/{StepConsolation-BMIhHrZ_.js.map → StepConsolation-CGZzbc4p.js.map} +1 -1
- package/chunk/{StepDocUpload-ATFJ1VNK.js → StepDocUpload--r9rabBA.js} +23 -23
- package/chunk/{StepDocUpload-ATFJ1VNK.js.map → StepDocUpload--r9rabBA.js.map} +1 -1
- package/chunk/{StepDocUpload-BPWmYRcH.js → StepDocUpload-LtmtqAaG.js} +30 -30
- package/chunk/{StepDocUpload-BPWmYRcH.js.map → StepDocUpload-LtmtqAaG.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-B6BPGM9y.js → StepDriverLicensePersonalInfoComponent-TZmQSwrX.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-B6BPGM9y.js.map → StepDriverLicensePersonalInfoComponent-TZmQSwrX.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CLv-0SEo.js → StepDriverLicensePersonalInfoComponent-jrvtL5WY.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-CLv-0SEo.js.map → StepDriverLicensePersonalInfoComponent-jrvtL5WY.js.map} +1 -1
- package/chunk/{StepEmailLoop-UdxzIxg_.js → StepEmailLoop-BOMgU-LY.js} +13 -13
- package/chunk/{StepEmailLoop-D7TmjcYy.js.map → StepEmailLoop-BOMgU-LY.js.map} +1 -1
- package/chunk/{StepEmailLoop-D7TmjcYy.js → StepEmailLoop-KgVxTrKD.js} +13 -13
- package/chunk/{StepEmailLoop-UdxzIxg_.js.map → StepEmailLoop-KgVxTrKD.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DppM-dRp.js → StepEmploymentPersonalInfo-CsCSbWGn.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-DppM-dRp.js.map → StepEmploymentPersonalInfo-CsCSbWGn.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-eF2ZaDPS.js → StepEmploymentPersonalInfo-DCgjGcV1.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-eF2ZaDPS.js.map → StepEmploymentPersonalInfo-DCgjGcV1.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BQtlqbwc.js → StepFirstResponderPersonalInfo-BNichcOp.js} +22 -22
- package/chunk/{StepFirstResponderPersonalInfo-BQtlqbwc.js.map → StepFirstResponderPersonalInfo-BNichcOp.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CztSfSRA.js → StepFirstResponderPersonalInfo-C0dqZ6v9.js} +22 -22
- package/chunk/{StepFirstResponderPersonalInfo-CztSfSRA.js.map → StepFirstResponderPersonalInfo-C0dqZ6v9.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CKd4Dp6T.js → StepGeneralIdentityPersonalInfoComponent-BFGOloFz.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CKd4Dp6T.js.map → StepGeneralIdentityPersonalInfoComponent-BFGOloFz.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cdfe4rFN.js → StepGeneralIdentityPersonalInfoComponent-BY5f03WX.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cdfe4rFN.js.map → StepGeneralIdentityPersonalInfoComponent-BY5f03WX.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-q4VhGaMS.js → StepHybridIdentityPersonalInfoComponent-6iihyo4W.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Dsa_CKJM.js.map → StepHybridIdentityPersonalInfoComponent-6iihyo4W.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Dsa_CKJM.js → StepHybridIdentityPersonalInfoComponent-CUmSF5K7.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-q4VhGaMS.js.map → StepHybridIdentityPersonalInfoComponent-CUmSF5K7.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-EhL3Le-F.js → StepIDCheckLoop-D8HQBh8L.js} +8 -8
- package/chunk/{StepIDCheckLoop-BWxld16D.js.map → StepIDCheckLoop-D8HQBh8L.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BWxld16D.js → StepIDCheckLoop-DSxFMqVr.js} +8 -8
- package/chunk/{StepIDCheckLoop-EhL3Le-F.js.map → StepIDCheckLoop-DSxFMqVr.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CHKilPtA.js → StepIDCheckLoopOnfido-BTKJ2Blc.js} +28 -28
- package/chunk/{StepIDCheckLoopOnfido-CHKilPtA.js.map → StepIDCheckLoopOnfido-BTKJ2Blc.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Di9NfHJM.js → StepIDCheckLoopOnfido-DMuf0LlO.js} +14 -14
- package/chunk/{StepIDCheckLoopOnfido-Di9NfHJM.js.map → StepIDCheckLoopOnfido-DMuf0LlO.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BYts2Drd.js → StepIDCheckLoopRegula-Ci85xeOu.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-BYts2Drd.js.map → StepIDCheckLoopRegula-Ci85xeOu.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DQUN1TMk.js → StepIDCheckLoopRegula-wLpAcBIL.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-DQUN1TMk.js.map → StepIDCheckLoopRegula-wLpAcBIL.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bk__6Yly.js → StepLicensedProfessionalPersonalInfo-CaME8oV0.js} +21 -21
- package/chunk/{StepLicensedProfessionalPersonalInfo-B9tXN-Gj.js.map → StepLicensedProfessionalPersonalInfo-CaME8oV0.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-B9tXN-Gj.js → StepLicensedProfessionalPersonalInfo-DcyPpqRP.js} +21 -21
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bk__6Yly.js.map → StepLicensedProfessionalPersonalInfo-DcyPpqRP.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-C1yGX0tU.js → StepLowIncomePersonalInfo-D2XooNBZ.js} +25 -25
- package/chunk/{StepLowIncomePersonalInfo-C1yGX0tU.js.map → StepLowIncomePersonalInfo-D2XooNBZ.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-UIbxTxQ6.js → StepLowIncomePersonalInfo-D_DnxewS.js} +74 -74
- package/chunk/{StepLowIncomePersonalInfo-UIbxTxQ6.js.map → StepLowIncomePersonalInfo-D_DnxewS.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CKwl0Aoz.js → StepMedicalProfessionalPersonalInfo-BBTMJxlc.js} +22 -22
- package/chunk/{StepMedicalProfessionalPersonalInfo-CKwl0Aoz.js.map → StepMedicalProfessionalPersonalInfo-BBTMJxlc.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-PZWUlBsx.js → StepMedicalProfessionalPersonalInfo-DQvZgNA8.js} +22 -22
- package/chunk/{StepMedicalProfessionalPersonalInfo-PZWUlBsx.js.map → StepMedicalProfessionalPersonalInfo-DQvZgNA8.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CHgfdkTw.js → StepMemberPersonalInfo-C163dcFm.js} +57 -57
- package/chunk/{StepMemberPersonalInfo-BF9YI1SU.js.map → StepMemberPersonalInfo-C163dcFm.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BF9YI1SU.js → StepMemberPersonalInfo-DZI9oiLg.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-CHgfdkTw.js.map → StepMemberPersonalInfo-DZI9oiLg.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DBQ7vjuj.js → StepMoverPersonalInfo-DVKj_md6.js} +47 -47
- package/chunk/{StepMoverPersonalInfo-DBQ7vjuj.js.map → StepMoverPersonalInfo-DVKj_md6.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-JN4fzgsz.js → StepMoverPersonalInfo-DkqRxBv_.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-JN4fzgsz.js.map → StepMoverPersonalInfo-DkqRxBv_.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BdKhdxCF.js → StepOverrideComponent-BZ5DPwb7.js} +21 -21
- package/chunk/{StepOverrideComponent-I6jIloHJ.js.map → StepOverrideComponent-BZ5DPwb7.js.map} +1 -1
- package/chunk/{StepOverrideComponent-I6jIloHJ.js → StepOverrideComponent-CFCHGcGm.js} +21 -21
- package/chunk/{StepOverrideComponent-BdKhdxCF.js.map → StepOverrideComponent-CFCHGcGm.js.map} +1 -1
- package/chunk/{StepSMSLoop-DhwsBE2w.js → StepSMSLoop-kUCfwUG3.js} +22 -22
- package/chunk/{StepSMSLoop-BQ-ebg-w.js.map → StepSMSLoop-kUCfwUG3.js.map} +1 -1
- package/chunk/{StepSMSLoop-BQ-ebg-w.js → StepSMSLoop-qDDjiu2X.js} +25 -25
- package/chunk/{StepSMSLoop-DhwsBE2w.js.map → StepSMSLoop-qDDjiu2X.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-ITN1udUd.js → StepSocialSecurityNumber-CzdRBNES.js} +24 -24
- package/chunk/{StepSocialSecurityNumber-BjMAYy4I.js.map → StepSocialSecurityNumber-CzdRBNES.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BjMAYy4I.js → StepSocialSecurityNumber-D-Ryab7q.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-ITN1udUd.js.map → StepSocialSecurityNumber-D-Ryab7q.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-B8EJqu5o.js → StepStudentPersonalInfo-DzBMt8Kd.js} +64 -64
- package/chunk/{StepStudentPersonalInfo-B8EJqu5o.js.map → StepStudentPersonalInfo-DzBMt8Kd.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-C6OXBOsJ.js → StepStudentPersonalInfo-z2J7_k9j.js} +22 -22
- package/chunk/{StepStudentPersonalInfo-C6OXBOsJ.js.map → StepStudentPersonalInfo-z2J7_k9j.js.map} +1 -1
- package/chunk/{StepSuccess-D1Hg8KzS.js → StepSuccess-CoQmjeaw.js} +28 -28
- package/chunk/{StepSuccess-D1Hg8KzS.js.map → StepSuccess-CoQmjeaw.js.map} +1 -1
- package/chunk/{StepSuccess-ye_BWJ5v.js → StepSuccess-CwprAx_X.js} +30 -30
- package/chunk/{StepSuccess-ye_BWJ5v.js.map → StepSuccess-CwprAx_X.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-B_nvmggg.js → StepTeacherPersonalInfo-BnREkHc-.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-B_fczbbC.js.map → StepTeacherPersonalInfo-BnREkHc-.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-B_fczbbC.js → StepTeacherPersonalInfo-oxESzOhJ.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-B_nvmggg.js.map → StepTeacherPersonalInfo-oxESzOhJ.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/TeacherSchoolComponent-X4jP0iPe.js +39 -0
- package/chunk/TeacherSchoolComponent-X4jP0iPe.js.map +1 -0
- package/chunk/TeacherSchoolComponent-xlpebqi9.js +43 -0
- package/chunk/TeacherSchoolComponent-xlpebqi9.js.map +1 -0
- package/chunk/{TestingRouteOverrides-CujYUoVO.js → TestingRouteOverrides-CqkLaStu.js} +26 -26
- package/chunk/{TestingRouteOverrides-CUyDPV66.js.map → TestingRouteOverrides-CqkLaStu.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-CUyDPV66.js → TestingRouteOverrides-DUx5spVA.js} +24 -24
- package/chunk/{TestingRouteOverrides-CujYUoVO.js.map → TestingRouteOverrides-DUx5spVA.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-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-DnejTdLp.js → countryUtils-B4JUeycO.js} +5 -5
- package/chunk/{countryUtils-BdYD9O0C.js.map → countryUtils-B4JUeycO.js.map} +1 -1
- package/chunk/countryUtils-DS8Zctdr.js +12 -0
- package/chunk/{countryUtils-DnejTdLp.js.map → countryUtils-DS8Zctdr.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-N5l_mTkN.js → downshift.esm-B1eE_tYZ.js} +7 -7
- package/chunk/{downshift.esm-W4ZpLUFm.js.map → downshift.esm-B1eE_tYZ.js.map} +1 -1
- package/chunk/{downshift.esm-W4ZpLUFm.js → downshift.esm-CWgGV2e-.js} +124 -124
- package/chunk/{downshift.esm-N5l_mTkN.js.map → downshift.esm-CWgGV2e-.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-CgrU7EMF.js → empties-C1INRgC4.js} +51 -57
- package/chunk/{empties-Cv-TCyNM.js.map → empties-C1INRgC4.js.map} +1 -1
- package/chunk/{empties-Cv-TCyNM.js → empties-C38lUQIl.js} +6 -12
- package/chunk/{empties-CgrU7EMF.js.map → empties-C38lUQIl.js.map} +1 -1
- 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/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-i_EJH0P5.js → hooks-DFk9wlFh.js} +51 -51
- package/chunk/hooks-DFk9wlFh.js.map +1 -0
- package/chunk/{hooks-HrcXcUYn.js → hooks-Y72jcEAM.js} +47 -47
- package/chunk/hooks-Y72jcEAM.js.map +1 -0
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{intl-DYOqmiaL.js → intl-D5sUivUy.js} +285 -273
- package/chunk/intl-D5sUivUy.js.map +1 -0
- 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-DQO6A867.js → jsx-runtime-BfITI5pK.js} +19 -19
- package/chunk/{jsx-runtime-DtApx7WX.js.map → jsx-runtime-BfITI5pK.js.map} +1 -1
- package/chunk/{jsx-runtime-DtApx7WX.js → jsx-runtime-CB6nLaN6.js} +19 -19
- package/chunk/{jsx-runtime-DQO6A867.js.map → jsx-runtime-CB6nLaN6.js.map} +1 -1
- 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/mockProgramConfiguration-YBQMVL51.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js.map +1 -1
- package/chunk/{mockProgramTheme-CBqgtg7A.js → mockProgramTheme-CPG4vkJd.js} +4 -8
- package/chunk/mockProgramTheme-CPG4vkJd.js.map +1 -0
- package/chunk/{mocks-Cn2hY_Nm.js → mocks-BJWOJTTC.js} +73 -74
- package/chunk/mocks-BJWOJTTC.js.map +1 -0
- package/chunk/{mocks-Do-_JoZy.js → mocks-BtNIwVeT.js} +73 -74
- package/chunk/mocks-BtNIwVeT.js.map +1 -0
- 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/{options-DsRV5fwh.js → options-BCFIfBTZ.js} +356 -344
- package/chunk/options-BCFIfBTZ.js.map +1 -0
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/programThemeGetters-BIRDUiTI.js +158 -0
- package/chunk/programThemeGetters-BIRDUiTI.js.map +1 -0
- package/chunk/{programThemeGetters-DtvKCzaA.js → programThemeGetters-CIZ0gRgE.js} +36 -56
- package/chunk/programThemeGetters-CIZ0gRgE.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-DZXh3P6t.js → stepComponentHelpers--E4kvS6y.js} +14 -14
- package/chunk/{stepComponentHelpers-D8vgCSY7.js.map → stepComponentHelpers--E4kvS6y.js.map} +1 -1
- package/chunk/{stepComponentHelpers-D8vgCSY7.js → stepComponentHelpers-CD1Gfspm.js} +34 -34
- package/chunk/{stepComponentHelpers-DZXh3P6t.js.map → stepComponentHelpers-CD1Gfspm.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-C0qk0ahQ.js → useCollectFieldsEndpoint-Bxae2_8a.js} +20 -20
- package/chunk/{useCollectFieldsEndpoint-Cre55nuJ.js.map → useCollectFieldsEndpoint-Bxae2_8a.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Cre55nuJ.js → useCollectFieldsEndpoint-CzTl9kbR.js} +20 -20
- package/chunk/{useCollectFieldsEndpoint-C0qk0ahQ.js.map → useCollectFieldsEndpoint-CzTl9kbR.js.map} +1 -1
- package/chunk/{useMetrics-BZU-S7E4.js → useMetrics-CtsRRjGJ.js} +7 -7
- package/chunk/{useMetrics-BZU-S7E4.js.map → useMetrics-CtsRRjGJ.js.map} +1 -1
- package/chunk/{useMetrics-CKV-Of-2.js → useMetrics-jabV9gsZ.js} +7 -7
- package/chunk/{useMetrics-CKV-Of-2.js.map → useMetrics-jabV9gsZ.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 +1337 -1353
- package/sheerid.js.map +1 -1
- package/chunk/CollegeNameComponent-BfM_mY5M.js +0 -46
- package/chunk/CollegeNameComponent-BfM_mY5M.js.map +0 -1
- package/chunk/CollegeNameComponent-CR9Jp91m.js +0 -42
- package/chunk/CollegeNameComponent-CR9Jp91m.js.map +0 -1
- package/chunk/FormFooterComponent-GntU0CK1.js.map +0 -1
- package/chunk/FormFooterComponent-INOCMS5I.js.map +0 -1
- package/chunk/Message-B01COPOe.js.map +0 -1
- package/chunk/Message-D2z1-4t7.js.map +0 -1
- package/chunk/StatusComponent-CBcXQ1RR.js +0 -44
- package/chunk/StatusComponent-CBcXQ1RR.js.map +0 -1
- package/chunk/StatusComponent-DVPyiAZr.js +0 -48
- package/chunk/StatusComponent-DVPyiAZr.js.map +0 -1
- package/chunk/TeacherSchoolComponent-C1IpPIt7.js +0 -46
- package/chunk/TeacherSchoolComponent-C1IpPIt7.js.map +0 -1
- package/chunk/TeacherSchoolComponent-l3FK9Z72.js +0 -42
- package/chunk/TeacherSchoolComponent-l3FK9Z72.js.map +0 -1
- package/chunk/countryUtils-BdYD9O0C.js +0 -12
- package/chunk/hooks-HrcXcUYn.js.map +0 -1
- package/chunk/hooks-i_EJH0P5.js.map +0 -1
- package/chunk/intl-DYOqmiaL.js.map +0 -1
- package/chunk/mockProgramTheme-CBqgtg7A.js.map +0 -1
- package/chunk/mocks-Cn2hY_Nm.js.map +0 -1
- package/chunk/mocks-Do-_JoZy.js.map +0 -1
- package/chunk/options-DsRV5fwh.js.map +0 -1
- package/chunk/programThemeGetters-B8-9nrqc.js +0 -178
- package/chunk/programThemeGetters-B8-9nrqc.js.map +0 -1
- package/chunk/programThemeGetters-DtvKCzaA.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
|
@@ -4,46 +4,48 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.307.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1792788069710
|
|
9
|
+
* BUILD_DATE: Fri Oct 23 2026 20:41:09 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 9bea609f9e2a9b4cd4a26fb21eea3072f87be58a
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { S as O, b as k, h as
|
|
14
|
-
import {
|
|
15
|
-
import { i as
|
|
16
|
-
import {
|
|
17
|
-
import { a as
|
|
18
|
-
import { _ as
|
|
19
|
-
import { a as
|
|
20
|
-
import { i as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
12
|
+
import { A as e, At as t, D as n, Dt as r, E as i, Et as a, O as o, Ot as s, T as c, b as l, c as u, ct as d, f, ft as p, g as m, gt as h, h as g, i as _, l as v, m as y, n as b, o as x, p as S, r as C, s as w, t as T, v as ee, w as E, x as te, y as D } from "./chunk/intl-D5sUivUy.js";
|
|
13
|
+
import { S as O, b as k, h as A, x as j } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
14
|
+
import { E as ne, S as re, T as ie, r as ae, w as oe } from "./chunk/programThemeGetters-CIZ0gRgE.js";
|
|
15
|
+
import { i as se, n as M, s as ce, t as le } from "./chunk/jsx-runtime-CB6nLaN6.js";
|
|
16
|
+
import { B as ue, C as de, D as fe, E as pe, F as me, H as he, L as ge, R as _e, S as ve, T as ye, V as be, W as xe, _ as Se, a as Ce, c as we, d as Te, f as Ee, i as De, o as Oe, r as ke, s as Ae, t as N, u as je, v as Me, w as Ne } from "./chunk/Message-DtxngN6C.js";
|
|
17
|
+
import { a as Pe, i as Fe, n as Ie, r as Le, s as Re, t as ze } from "./chunk/TestingRouteOverrides-CqkLaStu.js";
|
|
18
|
+
import { _ as Be, a as Ve, c as He, d as Ue, f as We, g as Ge, i as Ke, l as qe, n as Je, o as Ye, p as Xe, r as Ze, s as Qe, t as $e, u as et, v as tt } from "./chunk/FormFooterComponent-3UsgRJsz.js";
|
|
19
|
+
import { a as nt, i as rt, n as it, r as at, t as ot } from "./chunk/hooks-DFk9wlFh.js";
|
|
20
|
+
import { i as st, s as ct, t as lt } from "./chunk/refs-Mq0rtW9K.js";
|
|
21
|
+
import { t as ut } from "./chunk/LogoComponent-CuBinjv8.js";
|
|
22
|
+
import { t as dt } from "./chunk/strings-DWLVdUcm.js";
|
|
23
|
+
import { t as ft } from "./chunk/AnnouncingHeader-gJrk6VDV.js";
|
|
24
24
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
25
|
-
var P = /* @__PURE__ */
|
|
26
|
-
function
|
|
25
|
+
var P = /* @__PURE__ */ t(ce());
|
|
26
|
+
function pt({ i18n: e, defaultNS: t, children: n }) {
|
|
27
27
|
let r = (0, P.useMemo)(() => ({
|
|
28
28
|
i18n: e,
|
|
29
29
|
defaultNS: t
|
|
30
30
|
}), [e, t]);
|
|
31
|
-
return (0, P.createElement)(
|
|
31
|
+
return (0, P.createElement)(xe.Provider, { value: r }, n);
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
35
|
-
var
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
var mt = (e, t) => {
|
|
36
|
+
e.locale && e.messages && n(e), Me(e, t);
|
|
37
|
+
}, ht = (t, n = { partial: !0 }) => {
|
|
38
|
+
let r = Ze(), i = r.getState(), a = () => {
|
|
39
|
+
let { intl: i, ...a } = e(t);
|
|
40
|
+
O.info("Setting programTheme", a), i && mt(i, n.partial), Ue(r.dispatch)(a, n.partial), de(a, n.partial);
|
|
39
41
|
};
|
|
40
|
-
|
|
42
|
+
i.isLoading ? Ge({
|
|
41
43
|
name: "ON_VERIFICATION_READY",
|
|
42
44
|
callback: () => {
|
|
43
|
-
|
|
45
|
+
a();
|
|
44
46
|
}
|
|
45
|
-
}) :
|
|
46
|
-
},
|
|
47
|
+
}) : a();
|
|
48
|
+
}, gt = /* @__PURE__ */ t(r(), 1), _t = /* @__PURE__ */ t(Se(), 1), F = le(), vt = () => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
47
49
|
className: "sid-spinner",
|
|
48
50
|
"data-testid": "sid-spinner",
|
|
49
51
|
children: [
|
|
@@ -52,9 +54,9 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
52
54
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
53
55
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" })
|
|
54
56
|
]
|
|
55
|
-
}),
|
|
57
|
+
}), yt = ({ step: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
56
58
|
className: "sid-loading-screen__message",
|
|
57
|
-
children: [
|
|
59
|
+
children: [j(e) && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
58
60
|
className: "sid-loading-screen__message-header",
|
|
59
61
|
role: "alert",
|
|
60
62
|
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
@@ -68,10 +70,10 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
68
70
|
defaultMessage: "This should only take a minute"
|
|
69
71
|
})
|
|
70
72
|
})]
|
|
71
|
-
}),
|
|
73
|
+
}), bt = ({ step: e = ze() }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
72
74
|
className: "sid-loading-screen",
|
|
73
|
-
children: [/* @__PURE__ */ (0, F.jsx)(
|
|
74
|
-
}),
|
|
75
|
+
children: [/* @__PURE__ */ (0, F.jsx)(vt, {}), e && /* @__PURE__ */ (0, F.jsx)(yt, { step: e })]
|
|
76
|
+
}), xt = /* @__PURE__ */ s(((e, t) => {
|
|
75
77
|
var n, r = n = {
|
|
76
78
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
77
79
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -138,13 +140,13 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
138
140
|
enumerable: !0,
|
|
139
141
|
configurable: !1
|
|
140
142
|
}), t.exports = r;
|
|
141
|
-
})),
|
|
142
|
-
var n =
|
|
143
|
+
})), St = /* @__PURE__ */ s(((e, t) => {
|
|
144
|
+
var n = xt();
|
|
143
145
|
t.exports = {
|
|
144
146
|
isRtlLang: n.isRtlLang,
|
|
145
147
|
getLangDir: n.getLangDir
|
|
146
148
|
};
|
|
147
|
-
})),
|
|
149
|
+
})), Ct = /* @__PURE__ */ t(ue(), 1), wt = /* @__PURE__ */ t(St(), 1), I = {
|
|
148
150
|
landingBackgroundColor: "#fff",
|
|
149
151
|
landingPrimaryFontColor: "#000",
|
|
150
152
|
landingBackgroundImage: "none",
|
|
@@ -158,7 +160,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
158
160
|
formFont: "var(--sheerid-font-family-sans)",
|
|
159
161
|
cssVariables: null,
|
|
160
162
|
customStyles: null
|
|
161
|
-
},
|
|
163
|
+
}, Tt = P.createContext(I), L = {
|
|
162
164
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
163
165
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
164
166
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -172,7 +174,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
172
174
|
formFont: "--sheerid-font-family-body",
|
|
173
175
|
cssVariables: null,
|
|
174
176
|
customStyles: null
|
|
175
|
-
},
|
|
177
|
+
}, Et = {
|
|
176
178
|
"--sheerid-color-fg-05": {
|
|
177
179
|
from: "--sheerid-color-bg",
|
|
178
180
|
to: "--sheerid-color-fg",
|
|
@@ -283,7 +285,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
283
285
|
to: "--sheerid-color-fg",
|
|
284
286
|
percentage: 3
|
|
285
287
|
}
|
|
286
|
-
},
|
|
288
|
+
}, Dt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
287
289
|
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || I.landingBackgroundColor, c = o?.primaryFontColor || I.landingPrimaryFontColor, l = o?.backgroundImageUrl || I.landingBackgroundImage, u = e?.backgroundColor || I.formBackgroundColor, d = e?.primaryFontColor || I.formPrimaryFontColor, f = e?.buttonColor || I.formButtonColor, p = e?.buttonFontColor || I.formButtonFontColor, m = e?.linkColor || I.formLinkColor, h = e?.h1FontColor || I.formH1FontColor, g = e?.helperFontColor || I.formHelperFontColor, _ = e?.font || I.formFont, v = {
|
|
288
290
|
[L.landingBackgroundColor]: s,
|
|
289
291
|
[L.landingPrimaryFontColor]: c,
|
|
@@ -296,12 +298,12 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
296
298
|
[L.formH1FontColor]: h,
|
|
297
299
|
[L.formHelperFontColor]: g,
|
|
298
300
|
[L.formFont]: _ === I.formFont ? I.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
299
|
-
...Object.entries(
|
|
301
|
+
...Object.entries(Et).reduce((e, [t, n]) => {
|
|
300
302
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
301
303
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
302
304
|
}, {})
|
|
303
|
-
}, y = P.useRef(null), b =
|
|
304
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
305
|
+
}, y = P.useRef(null), b = ie() === oe.cdnInlineIframe, x = ie() === oe.cdnModalIframe;
|
|
306
|
+
return /* @__PURE__ */ (0, F.jsx)(Tt.Provider, {
|
|
305
307
|
value: {
|
|
306
308
|
landingBackgroundColor: s,
|
|
307
309
|
landingPrimaryFontColor: c,
|
|
@@ -325,7 +327,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
325
327
|
children: [a && /* @__PURE__ */ (0, F.jsx)("style", { children: a }), n]
|
|
326
328
|
})
|
|
327
329
|
});
|
|
328
|
-
},
|
|
330
|
+
}, Ot = (e, t, n) => ({
|
|
329
331
|
minAge: t?.minAge || e?.config?.minAge,
|
|
330
332
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
331
333
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -333,29 +335,29 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
333
335
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
334
336
|
currentStep: t?.currentStep,
|
|
335
337
|
viewModel: n
|
|
336
|
-
}),
|
|
338
|
+
}), kt = {}, At = (e) => kt[e] ? (O.log(`getOverridenComponent returning ${e}`), kt[e]) : null, jt = ({ verificationService: e, linkText: t }) => {
|
|
337
339
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
338
|
-
return n ? /* @__PURE__ */ (0, F.jsx)(
|
|
340
|
+
return n ? /* @__PURE__ */ (0, F.jsx)(ke, {
|
|
339
341
|
className: "sid-faq sid-link",
|
|
340
|
-
href: ae(i, n, r,
|
|
342
|
+
href: ae(i, n, r, T(e.viewModel), e.verificationResponse),
|
|
341
343
|
children: t || /* @__PURE__ */ (0, F.jsx)(M, {
|
|
342
344
|
id: "getHelp",
|
|
343
345
|
defaultMessage: "Get help"
|
|
344
346
|
})
|
|
345
347
|
}) : null;
|
|
346
|
-
},
|
|
348
|
+
}, Mt = /* @__PURE__ */ (0, F.jsx)(M, {
|
|
347
349
|
id: "poweredBy",
|
|
348
350
|
defaultMessage: "Verification services powered by SheerID."
|
|
349
|
-
}),
|
|
351
|
+
}), Nt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
350
352
|
switch (n) {
|
|
351
353
|
case "poweredby": return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
352
354
|
className: "sid-footer__powered-by-container-experiment",
|
|
353
355
|
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
354
356
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
355
|
-
children:
|
|
357
|
+
children: Mt
|
|
356
358
|
}), !r && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
357
359
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
358
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
360
|
+
children: /* @__PURE__ */ (0, F.jsx)(jt, { verificationService: e })
|
|
359
361
|
})]
|
|
360
362
|
});
|
|
361
363
|
case "verificationby": return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
@@ -368,28 +370,28 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
368
370
|
alt: "",
|
|
369
371
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
370
372
|
})
|
|
371
|
-
}),
|
|
373
|
+
}), Mt]
|
|
372
374
|
})
|
|
373
375
|
});
|
|
374
376
|
default: return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
375
377
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
376
378
|
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
377
379
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
378
|
-
children:
|
|
380
|
+
children: Mt
|
|
379
381
|
}), !r && /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
380
382
|
className: t ? "sid-l-space-top-sm" : "",
|
|
381
|
-
children: ["\xA0", /* @__PURE__ */ (0, F.jsx)(
|
|
383
|
+
children: ["\xA0", /* @__PURE__ */ (0, F.jsx)(jt, { verificationService: e })]
|
|
382
384
|
})]
|
|
383
385
|
});
|
|
384
386
|
}
|
|
385
|
-
},
|
|
387
|
+
}, Pt = (e, t) => {
|
|
386
388
|
let n = P.useRef(null);
|
|
387
389
|
function r() {
|
|
388
390
|
clearInterval(n.current);
|
|
389
391
|
}
|
|
390
392
|
return P.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
391
|
-
},
|
|
392
|
-
let a =
|
|
393
|
+
}, Ft = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Rt.PRIMARY }) => {
|
|
394
|
+
let a = dt(e);
|
|
393
395
|
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
394
396
|
className: "sid-header sid-l-horz-center",
|
|
395
397
|
children: [
|
|
@@ -397,7 +399,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
397
399
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
398
400
|
children: n
|
|
399
401
|
}),
|
|
400
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
402
|
+
/* @__PURE__ */ (0, F.jsx)(ft, {
|
|
401
403
|
align: "center",
|
|
402
404
|
children: t.title
|
|
403
405
|
}),
|
|
@@ -413,7 +415,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
413
415
|
children: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
414
416
|
onClick: r,
|
|
415
417
|
type: "submit",
|
|
416
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
418
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Rt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
417
419
|
"aria-label": "submit",
|
|
418
420
|
children: t.cancel
|
|
419
421
|
})
|
|
@@ -422,20 +424,20 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
422
424
|
t?.subtitle2 ? /* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
423
425
|
]
|
|
424
426
|
});
|
|
425
|
-
},
|
|
427
|
+
}, It = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Rt.PRIMARY }) => /* @__PURE__ */ (0, F.jsx)(Ft, {
|
|
426
428
|
messages: t,
|
|
427
429
|
stepName: e,
|
|
428
430
|
logo: n,
|
|
429
431
|
cancelSingleSignOn: r,
|
|
430
432
|
cancelButtonType: i
|
|
431
|
-
}),
|
|
432
|
-
let i =
|
|
433
|
+
}), Lt = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
434
|
+
let i = ot("hc-my-sheer-id-theme-builder");
|
|
433
435
|
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
434
436
|
className: "sid-header sid-l-horz-center",
|
|
435
437
|
children: [
|
|
436
438
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
437
439
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
438
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
440
|
+
children: /* @__PURE__ */ (0, F.jsx)(ut, {
|
|
439
441
|
verificationService: t,
|
|
440
442
|
fallbackLogo: !i && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
441
443
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -444,7 +446,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
444
446
|
})
|
|
445
447
|
})
|
|
446
448
|
}),
|
|
447
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
449
|
+
/* @__PURE__ */ (0, F.jsx)(ft, {
|
|
448
450
|
align: "center",
|
|
449
451
|
children: e.title
|
|
450
452
|
}),
|
|
@@ -465,66 +467,66 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
465
467
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
466
468
|
]
|
|
467
469
|
});
|
|
468
|
-
},
|
|
470
|
+
}, Rt = /* @__PURE__ */ function(e) {
|
|
469
471
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
470
|
-
}({}),
|
|
471
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse,
|
|
472
|
+
}({}), zt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
473
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: l, locale: u } = e.verificationResponse, d = Pe(), f = dt(t), h = ot("hc-my-sheer-id-theme-builder"), g, _ = /* @__PURE__ */ (0, F.jsx)(ut, {
|
|
472
474
|
verificationService: e,
|
|
473
475
|
fallbackLogo: !h && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
474
|
-
className: `sid-${
|
|
476
|
+
className: `sid-${f}-logo-default sid-l-lead-image`,
|
|
475
477
|
alt: "",
|
|
476
478
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
477
479
|
})
|
|
478
480
|
}), v = () => setTimeout(() => {
|
|
479
|
-
e.fetchExistingVerificationRequest(i,
|
|
481
|
+
e.fetchExistingVerificationRequest(i, l, c, o);
|
|
480
482
|
}, 1e3), y = (t, n) => {
|
|
481
|
-
let r =
|
|
483
|
+
let r = S(a, (e) => {
|
|
482
484
|
e[t] = n;
|
|
483
485
|
});
|
|
484
486
|
e.updateViewModel(r);
|
|
485
|
-
},
|
|
486
|
-
D(
|
|
487
|
+
}, b = () => {
|
|
488
|
+
D(m.SSO_CANCEL_CLICKED, {
|
|
487
489
|
programId: i,
|
|
488
|
-
locale:
|
|
489
|
-
verificationId:
|
|
490
|
-
}),
|
|
491
|
-
let n =
|
|
490
|
+
locale: u,
|
|
491
|
+
verificationId: l
|
|
492
|
+
}), lt();
|
|
493
|
+
let n = S(a, () => {});
|
|
492
494
|
O.info("SingleSignOnComponent submitting cancel request"), clearTimeout(g), e.submitStep(t, n, e.verificationResponse);
|
|
493
|
-
},
|
|
494
|
-
D(
|
|
495
|
+
}, x = (e, t) => {
|
|
496
|
+
D(m.SSO_SIGN_IN_CLICKED, {
|
|
495
497
|
programId: i,
|
|
496
|
-
locale:
|
|
497
|
-
verificationId:
|
|
498
|
+
locale: u,
|
|
499
|
+
verificationId: l
|
|
498
500
|
}), y(e, t), C();
|
|
499
501
|
}, C = () => {
|
|
500
|
-
let e = t === k.sso ?
|
|
501
|
-
if (!
|
|
502
|
+
let e = t === k.sso ? me(s.loginUrl) : s.loginUrl;
|
|
503
|
+
if (!p(e)) {
|
|
502
504
|
O.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
503
505
|
return;
|
|
504
506
|
}
|
|
505
|
-
|
|
507
|
+
ct(window.open(e, "_blank")), st().focus();
|
|
506
508
|
};
|
|
507
|
-
return a.isSingleSignOnActive && !
|
|
508
|
-
id: `sid-step-${
|
|
509
|
-
className: `sid-${
|
|
510
|
-
"data-testid": `sid-step-${
|
|
509
|
+
return a.isSingleSignOnActive && !d && (g = v()), !a.countryChoice && o && o.countryChoice && y("countryChoice", o.countryChoice), /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
510
|
+
id: `sid-step-${f}`,
|
|
511
|
+
className: `sid-${f}-container sid-l-container`,
|
|
512
|
+
"data-testid": `sid-step-${f}`,
|
|
511
513
|
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
512
514
|
role: "main",
|
|
513
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, F.jsx)(
|
|
515
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, F.jsx)(It, {
|
|
514
516
|
stepName: t,
|
|
515
517
|
messages: n,
|
|
516
518
|
logo: _,
|
|
517
|
-
cancelSingleSignOn:
|
|
519
|
+
cancelSingleSignOn: b,
|
|
518
520
|
cancelButtonType: r
|
|
519
|
-
}) : /* @__PURE__ */ (0, F.jsx)(
|
|
521
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Lt, {
|
|
520
522
|
verificationService: e,
|
|
521
523
|
messages: n,
|
|
522
|
-
updateViewModelAndOpenLoginTab:
|
|
523
|
-
dashedStepName:
|
|
524
|
+
updateViewModelAndOpenLoginTab: x,
|
|
525
|
+
dashedStepName: f
|
|
524
526
|
})
|
|
525
|
-
}), /* @__PURE__ */ (0, F.jsx)(
|
|
527
|
+
}), /* @__PURE__ */ (0, F.jsx)($e, { verificationService: e })]
|
|
526
528
|
});
|
|
527
|
-
},
|
|
529
|
+
}, Bt = {
|
|
528
530
|
title: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
529
531
|
id: "step.sso.title",
|
|
530
532
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -546,11 +548,11 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
546
548
|
id: "step.sso.subtitle2",
|
|
547
549
|
defaultMessage: "Can't sign in to your school?"
|
|
548
550
|
})
|
|
549
|
-
},
|
|
551
|
+
}, Vt = ({ verificationService: e }) => /* @__PURE__ */ (0, F.jsx)(zt, {
|
|
550
552
|
verificationService: e,
|
|
551
553
|
stepName: k.sso,
|
|
552
|
-
messages:
|
|
553
|
-
}),
|
|
554
|
+
messages: Bt
|
|
555
|
+
}), Ht = ({ logo: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
554
556
|
className: "sid-header sid-l-horz-center",
|
|
555
557
|
"data-testid": "sid-review-pending",
|
|
556
558
|
children: [
|
|
@@ -558,7 +560,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
558
560
|
className: "sid-l-horz-center",
|
|
559
561
|
children: e
|
|
560
562
|
}),
|
|
561
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
563
|
+
/* @__PURE__ */ (0, F.jsx)(ft, {
|
|
562
564
|
align: "center",
|
|
563
565
|
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
564
566
|
id: "step.pending.titleReview",
|
|
@@ -590,7 +592,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
590
592
|
}),
|
|
591
593
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
592
594
|
]
|
|
593
|
-
}),
|
|
595
|
+
}), Ut = ({ logo: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
594
596
|
className: "sid-header sid-l-horz-center",
|
|
595
597
|
"data-testid": "sid-review-pending",
|
|
596
598
|
children: [
|
|
@@ -598,7 +600,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
598
600
|
className: "sid-l-horz-center",
|
|
599
601
|
children: e
|
|
600
602
|
}),
|
|
601
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
603
|
+
/* @__PURE__ */ (0, F.jsx)(ft, {
|
|
602
604
|
align: "center",
|
|
603
605
|
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
604
606
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -622,7 +624,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
622
624
|
}),
|
|
623
625
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
624
626
|
]
|
|
625
|
-
}),
|
|
627
|
+
}), Wt = { [A.SIGNZY]: {
|
|
626
628
|
title: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
627
629
|
id: "step.thirdPartyLoop.signzy.title",
|
|
628
630
|
tagName: "h1",
|
|
@@ -640,7 +642,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
640
642
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
641
643
|
defaultMessage: "Upload Proof of Identity"
|
|
642
644
|
})
|
|
643
|
-
} },
|
|
645
|
+
} }, Gt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
644
646
|
let n = /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
645
647
|
className: "sid-header sid-l-horz-center",
|
|
646
648
|
children: [
|
|
@@ -648,7 +650,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
648
650
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
649
651
|
children: e
|
|
650
652
|
}),
|
|
651
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
653
|
+
/* @__PURE__ */ (0, F.jsx)(ft, {
|
|
652
654
|
align: "center",
|
|
653
655
|
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
654
656
|
id: "error",
|
|
@@ -676,16 +678,16 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
676
678
|
children: n
|
|
677
679
|
}) : n
|
|
678
680
|
});
|
|
679
|
-
},
|
|
680
|
-
let t =
|
|
681
|
-
return t ? /* @__PURE__ */ (0, F.jsx)(
|
|
681
|
+
}, Kt = ({ verificationService: e }) => {
|
|
682
|
+
let t = Wt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = ot("hc-my-sheer-id-theme-builder");
|
|
683
|
+
return t ? /* @__PURE__ */ (0, F.jsx)(zt, {
|
|
682
684
|
verificationService: e,
|
|
683
685
|
stepName: k.thirdPartyLoop,
|
|
684
686
|
messages: t,
|
|
685
|
-
cancelButtonType:
|
|
686
|
-
}) : /* @__PURE__ */ (0, F.jsx)(
|
|
687
|
+
cancelButtonType: Rt.SECONDARY
|
|
688
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Gt, {
|
|
687
689
|
isStepRoot: !0,
|
|
688
|
-
logo: /* @__PURE__ */ (0, F.jsx)(
|
|
690
|
+
logo: /* @__PURE__ */ (0, F.jsx)(ut, {
|
|
689
691
|
verificationService: e,
|
|
690
692
|
fallbackLogo: !n && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
691
693
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -694,28 +696,28 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
694
696
|
})
|
|
695
697
|
})
|
|
696
698
|
});
|
|
697
|
-
},
|
|
698
|
-
let i =
|
|
699
|
-
return i ? /* @__PURE__ */ (0, F.jsx)(
|
|
699
|
+
}, qt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
700
|
+
let i = Wt[r ? Fe("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
701
|
+
return i ? /* @__PURE__ */ (0, F.jsx)(It, {
|
|
700
702
|
stepName: k.thirdPartyLoop,
|
|
701
703
|
messages: i,
|
|
702
704
|
logo: e,
|
|
703
705
|
cancelSingleSignOn: n,
|
|
704
|
-
cancelButtonType:
|
|
705
|
-
}) : /* @__PURE__ */ (0, F.jsx)(
|
|
706
|
-
},
|
|
707
|
-
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 =
|
|
706
|
+
cancelButtonType: Rt.SECONDARY
|
|
707
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Gt, { logo: e });
|
|
708
|
+
}, Jt = 5e3, Yt = 2e4, Xt = 2e4, Zt = 2e3, Qt = ({ verificationService: e }) => {
|
|
709
|
+
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 = Pe(), s = Le() && Le() === k.sso, c = Le() && Le() === k.thirdPartyLoop, l = Le() && Le() === k.idCheckLoop, u = ot("hc-my-sheer-id-theme-builder"), d = () => i?.currentStep === k.sso, f = () => i?.currentStep === k.thirdPartyLoop, p = () => i?.currentStep === k.idCheckLoop, m = d() || f() || s || c, h = p() || l, g = !m && !h, [_, v] = P.useState(() => m ? Zt : h ? Xt : Jt);
|
|
708
710
|
P.useEffect(() => {
|
|
709
711
|
if (!g) return;
|
|
710
|
-
let e = setTimeout(() => v(
|
|
712
|
+
let e = setTimeout(() => v(Xt), Yt);
|
|
711
713
|
return () => clearTimeout(e);
|
|
712
714
|
}, [g]);
|
|
713
|
-
let y = !o &&
|
|
715
|
+
let y = !o && Pt(() => {
|
|
714
716
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
715
|
-
}, _),
|
|
716
|
-
let r =
|
|
717
|
-
O.info("StepSingleSignOnComponent submitting cancel request, step:", t), y(),
|
|
718
|
-
},
|
|
717
|
+
}, _), b = (t) => {
|
|
718
|
+
let r = S(n, () => {});
|
|
719
|
+
O.info("StepSingleSignOnComponent submitting cancel request, step:", t), y(), lt(), e.submitStep(t, r, i);
|
|
720
|
+
}, x = /* @__PURE__ */ (0, F.jsx)(ut, {
|
|
719
721
|
verificationService: e,
|
|
720
722
|
fallbackLogo: !u && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
721
723
|
className: "sid-l-lead-image",
|
|
@@ -730,35 +732,35 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
730
732
|
role: "main",
|
|
731
733
|
children: (() => {
|
|
732
734
|
let e = d() || s, t = f() || c, n = p() || l;
|
|
733
|
-
return e ? /* @__PURE__ */ (0, F.jsx)(
|
|
735
|
+
return e ? /* @__PURE__ */ (0, F.jsx)(It, {
|
|
734
736
|
stepName: k.sso,
|
|
735
|
-
messages:
|
|
736
|
-
logo:
|
|
737
|
-
cancelSingleSignOn: () =>
|
|
738
|
-
}) : t ? /* @__PURE__ */ (0, F.jsx)(
|
|
739
|
-
logo:
|
|
740
|
-
cancelThirdPartyLoop: () =>
|
|
737
|
+
messages: Bt,
|
|
738
|
+
logo: x,
|
|
739
|
+
cancelSingleSignOn: () => b(k.sso)
|
|
740
|
+
}) : t ? /* @__PURE__ */ (0, F.jsx)(qt, {
|
|
741
|
+
logo: x,
|
|
742
|
+
cancelThirdPartyLoop: () => b(k.thirdPartyLoop),
|
|
741
743
|
verificationLastResponse: i,
|
|
742
744
|
isMockingPreviousStepThirdPartyLoop: c
|
|
743
|
-
}) : n ? /* @__PURE__ */ (0, F.jsx)(
|
|
745
|
+
}) : n ? /* @__PURE__ */ (0, F.jsx)(Ut, { logo: x }) : /* @__PURE__ */ (0, F.jsx)(Ht, { logo: x });
|
|
744
746
|
})()
|
|
745
|
-
}), h ? /* @__PURE__ */ (0, F.jsx)(
|
|
747
|
+
}), h ? /* @__PURE__ */ (0, F.jsx)(Nt, {
|
|
746
748
|
verificationService: e,
|
|
747
749
|
isCentered: !0
|
|
748
|
-
}) : /* @__PURE__ */ (0, F.jsxs)(
|
|
750
|
+
}) : /* @__PURE__ */ (0, F.jsxs)($e, {
|
|
749
751
|
verificationService: e,
|
|
750
752
|
children: [/* @__PURE__ */ (0, F.jsx)("div", {}), " "]
|
|
751
753
|
})]
|
|
752
754
|
});
|
|
753
|
-
},
|
|
754
|
-
let e =
|
|
755
|
+
}, $t = () => {
|
|
756
|
+
let e = De(), t = Ce(), n = we(), r = a(() => n.segment), i = P.useCallback(() => {
|
|
755
757
|
if (window.self !== window.top) {
|
|
756
758
|
let e = new URL(window.location.href);
|
|
757
759
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
758
760
|
return;
|
|
759
761
|
}
|
|
760
762
|
(async () => {
|
|
761
|
-
|
|
763
|
+
Qe(e)(), await Ye(e)(t, r, void 0, void 0, !0);
|
|
762
764
|
})();
|
|
763
765
|
}, [
|
|
764
766
|
e,
|
|
@@ -772,13 +774,13 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
772
774
|
onKeyPress: i,
|
|
773
775
|
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "tryAgain" })
|
|
774
776
|
});
|
|
775
|
-
},
|
|
777
|
+
}, en = {
|
|
776
778
|
NONE: "none",
|
|
777
779
|
RESET: "reset",
|
|
778
780
|
POSTMESSAGE: "postMessage",
|
|
779
781
|
REDIRECT: "redirect"
|
|
780
|
-
},
|
|
781
|
-
let e =
|
|
782
|
+
}, tn = () => {
|
|
783
|
+
let e = we(), t = () => _e({
|
|
782
784
|
action: "tryAgain",
|
|
783
785
|
verificationResponse: e
|
|
784
786
|
});
|
|
@@ -789,73 +791,74 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
789
791
|
onKeyPress: t,
|
|
790
792
|
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "tryAgain" })
|
|
791
793
|
});
|
|
792
|
-
},
|
|
794
|
+
}, nn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, F.jsx)(ke, {
|
|
793
795
|
target: t,
|
|
794
796
|
href: e.toString(),
|
|
795
797
|
className: "sid-btn sid-btn--dark",
|
|
796
798
|
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "seeOtherOffers" })
|
|
797
|
-
}),
|
|
798
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
799
|
-
},
|
|
800
|
-
let e =
|
|
799
|
+
}), rn = (e) => {
|
|
800
|
+
if (!(typeof e == "object" && "type" in e && Object.values(en).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
801
|
+
}, an = () => {
|
|
802
|
+
let e = x("tryAgainAction");
|
|
801
803
|
try {
|
|
802
|
-
switch (
|
|
803
|
-
case
|
|
804
|
-
case
|
|
805
|
-
case
|
|
806
|
-
if (!
|
|
807
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
804
|
+
switch (rn(e), e.type) {
|
|
805
|
+
case en.NONE: return null;
|
|
806
|
+
case en.POSTMESSAGE: return window.self === window.top ? (O.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, F.jsx)(tn, {});
|
|
807
|
+
case en.REDIRECT:
|
|
808
|
+
if (!p(e.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
809
|
+
return /* @__PURE__ */ (0, F.jsx)(nn, {
|
|
808
810
|
redirectUrl: e.url,
|
|
809
811
|
target: e.target
|
|
810
812
|
});
|
|
811
|
-
case
|
|
813
|
+
case en.RESET: return /* @__PURE__ */ (0, F.jsx)($t, {});
|
|
812
814
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
813
815
|
}
|
|
814
816
|
} catch (e) {
|
|
815
|
-
return O.error(e.message), /* @__PURE__ */ (0, F.jsx)(
|
|
817
|
+
return O.error(e.message), /* @__PURE__ */ (0, F.jsx)($t, {});
|
|
816
818
|
}
|
|
817
|
-
},
|
|
819
|
+
}, on = [
|
|
818
820
|
"docReviewLimitExceeded",
|
|
819
821
|
"verificationLimitExceeded",
|
|
820
822
|
"fraudRulesReject"
|
|
821
|
-
],
|
|
822
|
-
let n =
|
|
823
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
823
|
+
], sn = ({ errorIds: e }) => {
|
|
824
|
+
let t = Oe(), n = e[0];
|
|
825
|
+
return /* @__PURE__ */ (0, F.jsx)(ft, {
|
|
824
826
|
align: "center",
|
|
825
|
-
children: /* @__PURE__ */ (0, F.jsx)("h1", { children: /* @__PURE__ */ (0, F.jsx)(N, { id:
|
|
827
|
+
children: /* @__PURE__ */ (0, F.jsx)("h1", { children: /* @__PURE__ */ (0, F.jsx)(N, { id: t?.[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
826
828
|
});
|
|
827
|
-
},
|
|
829
|
+
}, cn = ({ errorIds: e, errorDetailId: t }) => {
|
|
828
830
|
let n = /* @__PURE__ */ new Map();
|
|
829
831
|
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, F.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(N, { id: t }, t)) }) : null;
|
|
830
|
-
},
|
|
831
|
-
let n = `step.error.errorId.${
|
|
832
|
-
return
|
|
832
|
+
}, ln = ({ errorIds: e }) => {
|
|
833
|
+
let t = Oe(), n = `step.error.errorId.${e[0]}.note`;
|
|
834
|
+
return t?.[n] ? /* @__PURE__ */ (0, F.jsx)("p", {
|
|
833
835
|
className: "sid-error-note sid-h-small-text",
|
|
834
836
|
children: /* @__PURE__ */ (0, F.jsx)(N, { id: n })
|
|
835
837
|
}) : null;
|
|
836
|
-
},
|
|
838
|
+
}, un = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
839
|
+
let r = Oe();
|
|
837
840
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
838
841
|
let t = a(() => e.programTheme.config.brandInfo.faqUrl);
|
|
839
|
-
return t ? /* @__PURE__ */ (0, F.jsx)(
|
|
842
|
+
return t ? /* @__PURE__ */ (0, F.jsx)(ke, {
|
|
840
843
|
href: t,
|
|
841
|
-
onClick: () =>
|
|
844
|
+
onClick: () => l(k.error, t),
|
|
842
845
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
843
846
|
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
844
847
|
}) : null;
|
|
845
848
|
}
|
|
846
849
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
847
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
848
|
-
let
|
|
849
|
-
return
|
|
850
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return x("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, F.jsx)(an, {});
|
|
851
|
+
let i = t[0];
|
|
852
|
+
return r?.[`step.error.errorId.${i}.buttonText`] && p(n) ? /* @__PURE__ */ (0, F.jsx)(ke, {
|
|
850
853
|
href: n,
|
|
851
|
-
onClick: () =>
|
|
854
|
+
onClick: () => l(k.error, n),
|
|
852
855
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
853
|
-
children: /* @__PURE__ */ (0, F.jsx)(N, { id: `step.error.errorId.${
|
|
854
|
-
}) : /* @__PURE__ */ (0, F.jsx)(
|
|
855
|
-
},
|
|
856
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
856
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: `step.error.errorId.${i}.buttonText` })
|
|
857
|
+
}) : /* @__PURE__ */ (0, F.jsx)(an, {});
|
|
858
|
+
}, dn = ({ verificationService: e, errorId: t }) => {
|
|
859
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = ot("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
857
860
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
858
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
861
|
+
let s = Array.from(o), c = s.some((e) => on.includes(e));
|
|
859
862
|
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
860
863
|
id: "sid-step-error",
|
|
861
864
|
className: "sid-error-container sid-l-container",
|
|
@@ -865,7 +868,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
865
868
|
children: [
|
|
866
869
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
867
870
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
868
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
871
|
+
children: /* @__PURE__ */ (0, F.jsx)(ut, {
|
|
869
872
|
verificationService: e,
|
|
870
873
|
fallbackLogo: !a && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
871
874
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -874,22 +877,16 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
874
877
|
})
|
|
875
878
|
})
|
|
876
879
|
}),
|
|
877
|
-
/* @__PURE__ */ (0, F.jsx)(
|
|
878
|
-
verificationService: e,
|
|
879
|
-
errorIds: s
|
|
880
|
-
}),
|
|
880
|
+
/* @__PURE__ */ (0, F.jsx)(sn, { errorIds: s }),
|
|
881
881
|
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
882
882
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
883
883
|
children: [
|
|
884
884
|
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
885
885
|
className: "sid-error-msg sid-l-horz-center",
|
|
886
|
-
children: [/* @__PURE__ */ (0, F.jsx)(
|
|
886
|
+
children: [/* @__PURE__ */ (0, F.jsx)(cn, {
|
|
887
887
|
errorIds: s,
|
|
888
888
|
errorDetailId: i
|
|
889
|
-
}), /* @__PURE__ */ (0, F.jsx)(
|
|
890
|
-
verificationService: e,
|
|
891
|
-
errorIds: s
|
|
892
|
-
})]
|
|
889
|
+
}), /* @__PURE__ */ (0, F.jsx)(ln, { errorIds: s })]
|
|
893
890
|
}),
|
|
894
891
|
c && /* @__PURE__ */ (0, F.jsx)("p", {
|
|
895
892
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
@@ -897,7 +894,7 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
897
894
|
}),
|
|
898
895
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
899
896
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
900
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
897
|
+
children: /* @__PURE__ */ (0, F.jsx)(un, {
|
|
901
898
|
verificationService: e,
|
|
902
899
|
errorIds: s,
|
|
903
900
|
redirectUrl: r
|
|
@@ -908,59 +905,59 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
908
905
|
]
|
|
909
906
|
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
910
907
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
911
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
908
|
+
children: /* @__PURE__ */ (0, F.jsx)(Nt, {
|
|
912
909
|
verificationService: e,
|
|
913
910
|
isCentered: !0,
|
|
914
911
|
hideFaqLink: c
|
|
915
912
|
})
|
|
916
913
|
})]
|
|
917
914
|
});
|
|
918
|
-
},
|
|
919
|
-
StepPendingComponent:
|
|
920
|
-
StepErrorComponent:
|
|
921
|
-
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
922
|
-
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-
|
|
923
|
-
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
924
|
-
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
925
|
-
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
926
|
-
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
927
|
-
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
928
|
-
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
929
|
-
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
930
|
-
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
931
|
-
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
932
|
-
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
933
|
-
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
934
|
-
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
935
|
-
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
936
|
-
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
937
|
-
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
938
|
-
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
939
|
-
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-
|
|
940
|
-
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload
|
|
941
|
-
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-
|
|
942
|
-
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-
|
|
943
|
-
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
944
|
-
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-
|
|
945
|
-
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
915
|
+
}, fn = {
|
|
916
|
+
StepPendingComponent: Qt,
|
|
917
|
+
StepErrorComponent: dn,
|
|
918
|
+
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-z2J7_k9j.js")),
|
|
919
|
+
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-BZ5DPwb7.js")),
|
|
920
|
+
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-DVP1nW1R.js")),
|
|
921
|
+
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-DVP1nW1R.js")),
|
|
922
|
+
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js")),
|
|
923
|
+
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js")),
|
|
924
|
+
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js")),
|
|
925
|
+
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js")),
|
|
926
|
+
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-jrvtL5WY.js")),
|
|
927
|
+
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-DCgjGcV1.js")),
|
|
928
|
+
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-BNichcOp.js")),
|
|
929
|
+
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-BFGOloFz.js")),
|
|
930
|
+
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-6iihyo4W.js")),
|
|
931
|
+
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-DSxFMqVr.js")),
|
|
932
|
+
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-CaME8oV0.js")),
|
|
933
|
+
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-D2XooNBZ.js")),
|
|
934
|
+
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-DQvZgNA8.js")),
|
|
935
|
+
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-DZI9oiLg.js")),
|
|
936
|
+
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-CGZzbc4p.js")),
|
|
937
|
+
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload--r9rabBA.js")),
|
|
938
|
+
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-KgVxTrKD.js")),
|
|
939
|
+
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-BN7Op60d.js").then((e) => e.n)),
|
|
940
|
+
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-DkqRxBv_.js")),
|
|
941
|
+
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-kUCfwUG3.js")),
|
|
942
|
+
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-D-Ryab7q.js")),
|
|
946
943
|
StepSSOComponent: P.lazy(() => import("./chunk/StepSSO-BGHCbduX.js")),
|
|
947
|
-
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-
|
|
948
|
-
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
949
|
-
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
950
|
-
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
951
|
-
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
944
|
+
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-CoQmjeaw.js")),
|
|
945
|
+
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-oxESzOhJ.js")),
|
|
946
|
+
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-BrdV0iN-.js")),
|
|
947
|
+
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-DnC9MgdJ.js")),
|
|
948
|
+
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-BW4zdAuJ.js")),
|
|
952
949
|
StepThirdPartyLoopComponent: P.lazy(() => import("./chunk/StepThirdPartyLoop-CbFTIlwP.js"))
|
|
953
|
-
}, R = (e) => (O.info("getComponent", e),
|
|
950
|
+
}, R = (e) => (O.info("getComponent", e), At(e) || fn[e]), pn = () => /* @__PURE__ */ (0, F.jsx)(bt, {}), mn = ({ stepToLoad: e, verificationService: t }) => {
|
|
954
951
|
O.info(`LoadStepComponent: rendering step: ${e}`);
|
|
955
952
|
let n;
|
|
956
953
|
switch ((0, P.useEffect)(() => {
|
|
957
954
|
try {
|
|
958
|
-
performance.mark(
|
|
955
|
+
performance.mark(g.INITIAL_STEP_LOAD);
|
|
959
956
|
} catch {}
|
|
960
957
|
}, []), P.useEffect(() => {
|
|
961
958
|
if (!["pending", "error"].includes(e)) try {
|
|
962
|
-
performance.mark(
|
|
963
|
-
eventName:
|
|
959
|
+
performance.mark(m.STEP_SEEN), te({
|
|
960
|
+
eventName: m.STEP_SEEN,
|
|
964
961
|
params: { step: e }
|
|
965
962
|
});
|
|
966
963
|
} catch (e) {
|
|
@@ -1078,37 +1075,37 @@ var ft = (e, t = { partial: !0 }) => {
|
|
|
1078
1075
|
case "cancelEmailLoop":
|
|
1079
1076
|
case "cancelSocialSecurityNumber":
|
|
1080
1077
|
case "docReviewLimitExceeded":
|
|
1081
|
-
case "emailLoopCollectOrganizationEmail": return O.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, F.jsx)(
|
|
1078
|
+
case "emailLoopCollectOrganizationEmail": return O.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, F.jsx)(dn, {
|
|
1082
1079
|
verificationService: t,
|
|
1083
1080
|
errorId: "invalidStep"
|
|
1084
1081
|
});
|
|
1085
|
-
default: return O.error("Unable to load step", e), /* @__PURE__ */ (0, F.jsx)(
|
|
1082
|
+
default: return O.error("Unable to load step", e), /* @__PURE__ */ (0, F.jsx)(dn, {
|
|
1086
1083
|
verificationService: t,
|
|
1087
1084
|
errorId: "invalidStep"
|
|
1088
1085
|
});
|
|
1089
1086
|
}
|
|
1090
1087
|
return /* @__PURE__ */ (0, F.jsx)(P.Suspense, {
|
|
1091
|
-
fallback:
|
|
1088
|
+
fallback: pn(),
|
|
1092
1089
|
children: /* @__PURE__ */ (0, F.jsx)(n, { verificationService: t })
|
|
1093
1090
|
});
|
|
1094
|
-
},
|
|
1091
|
+
}, hn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, F.jsx)("span", {
|
|
1095
1092
|
dangerouslySetInnerHTML: e,
|
|
1096
1093
|
...t
|
|
1097
|
-
}) : /* @__PURE__ */ (0, F.jsx)(P.Fragment, { ...t }),
|
|
1094
|
+
}) : /* @__PURE__ */ (0, F.jsx)(P.Fragment, { ...t }), gn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
1098
1095
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1099
1096
|
role: "note",
|
|
1100
|
-
children: ["Test Mode", /* @__PURE__ */ (0, F.jsx)(
|
|
1097
|
+
children: ["Test Mode", /* @__PURE__ */ (0, F.jsx)(ke, {
|
|
1101
1098
|
className: "sid-test-mode-flag__link",
|
|
1102
1099
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1103
1100
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1104
1101
|
children: "(learn more)"
|
|
1105
1102
|
})]
|
|
1106
|
-
}) : null,
|
|
1103
|
+
}) : null, _n = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, F.jsxs)("header", {
|
|
1107
1104
|
className: "sid-header",
|
|
1108
1105
|
children: [
|
|
1109
1106
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
1110
1107
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1111
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
1108
|
+
children: /* @__PURE__ */ (0, F.jsx)(ut, {
|
|
1112
1109
|
verificationService: e,
|
|
1113
1110
|
fallbackLogo: r
|
|
1114
1111
|
})
|
|
@@ -1128,30 +1125,30 @@ function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1128
1125
|
}
|
|
1129
1126
|
//#endregion
|
|
1130
1127
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1131
|
-
function
|
|
1128
|
+
function vn(e, t) {
|
|
1132
1129
|
if (typeof e == "function") return e(t);
|
|
1133
1130
|
e != null && (e.current = t);
|
|
1134
1131
|
}
|
|
1135
|
-
function
|
|
1132
|
+
function yn(...e) {
|
|
1136
1133
|
return (t) => {
|
|
1137
1134
|
let n = !1, r = e.map((e) => {
|
|
1138
|
-
let r =
|
|
1135
|
+
let r = vn(e, t);
|
|
1139
1136
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1140
1137
|
});
|
|
1141
1138
|
if (n) return () => {
|
|
1142
1139
|
for (let t = 0; t < r.length; t++) {
|
|
1143
1140
|
let n = r[t];
|
|
1144
|
-
typeof n == "function" ? n() :
|
|
1141
|
+
typeof n == "function" ? n() : vn(e[t], null);
|
|
1145
1142
|
}
|
|
1146
1143
|
};
|
|
1147
1144
|
};
|
|
1148
1145
|
}
|
|
1149
1146
|
function B(...e) {
|
|
1150
|
-
return P.useCallback(
|
|
1147
|
+
return P.useCallback(yn(...e), e);
|
|
1151
1148
|
}
|
|
1152
1149
|
//#endregion
|
|
1153
1150
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1154
|
-
function
|
|
1151
|
+
function bn(e, t = []) {
|
|
1155
1152
|
let n = [];
|
|
1156
1153
|
function r(t, r) {
|
|
1157
1154
|
let i = P.createContext(r), a = n.length;
|
|
@@ -1182,9 +1179,9 @@ function _n(e, t = []) {
|
|
|
1182
1179
|
} }), [n, r]);
|
|
1183
1180
|
};
|
|
1184
1181
|
};
|
|
1185
|
-
return i.scopeName = e, [r,
|
|
1182
|
+
return i.scopeName = e, [r, xn(i, ...t)];
|
|
1186
1183
|
}
|
|
1187
|
-
function
|
|
1184
|
+
function xn(...e) {
|
|
1188
1185
|
let t = e[0];
|
|
1189
1186
|
if (e.length === 1) return t;
|
|
1190
1187
|
let n = () => {
|
|
@@ -1208,9 +1205,9 @@ function vn(...e) {
|
|
|
1208
1205
|
//#endregion
|
|
1209
1206
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1210
1207
|
// @__NO_SIDE_EFFECTS__
|
|
1211
|
-
function
|
|
1212
|
-
let t = /* @__PURE__ */
|
|
1213
|
-
let { children: r, ...i } = e, a = P.Children.toArray(r), o = a.find(
|
|
1208
|
+
function Sn(e) {
|
|
1209
|
+
let t = /* @__PURE__ */ Cn(e), n = P.forwardRef((e, n) => {
|
|
1210
|
+
let { children: r, ...i } = e, a = P.Children.toArray(r), o = a.find(Tn);
|
|
1214
1211
|
if (o) {
|
|
1215
1212
|
let e = o.props.children, r = a.map((t) => t === o ? P.Children.count(e) > 1 ? P.Children.only(null) : P.isValidElement(e) ? e.props.children : null : t);
|
|
1216
1213
|
return /* @__PURE__ */ (0, F.jsx)(t, {
|
|
@@ -1228,22 +1225,22 @@ function yn(e) {
|
|
|
1228
1225
|
return n.displayName = `${e}.Slot`, n;
|
|
1229
1226
|
}
|
|
1230
1227
|
// @__NO_SIDE_EFFECTS__
|
|
1231
|
-
function
|
|
1228
|
+
function Cn(e) {
|
|
1232
1229
|
let t = P.forwardRef((e, t) => {
|
|
1233
1230
|
let { children: n, ...r } = e;
|
|
1234
1231
|
if (P.isValidElement(n)) {
|
|
1235
|
-
let e =
|
|
1236
|
-
return n.type !== P.Fragment && (i.ref = t ?
|
|
1232
|
+
let e = Dn(n), i = En(r, n.props);
|
|
1233
|
+
return n.type !== P.Fragment && (i.ref = t ? yn(t, e) : e), P.cloneElement(n, i);
|
|
1237
1234
|
}
|
|
1238
1235
|
return P.Children.count(n) > 1 ? P.Children.only(null) : null;
|
|
1239
1236
|
});
|
|
1240
1237
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1241
1238
|
}
|
|
1242
|
-
var
|
|
1243
|
-
function
|
|
1244
|
-
return P.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1239
|
+
var wn = Symbol("radix.slottable");
|
|
1240
|
+
function Tn(e) {
|
|
1241
|
+
return P.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === wn;
|
|
1245
1242
|
}
|
|
1246
|
-
function
|
|
1243
|
+
function En(e, t) {
|
|
1247
1244
|
let n = { ...t };
|
|
1248
1245
|
for (let r in t) {
|
|
1249
1246
|
let i = e[r], a = t[r];
|
|
@@ -1260,7 +1257,7 @@ function Cn(e, t) {
|
|
|
1260
1257
|
...n
|
|
1261
1258
|
};
|
|
1262
1259
|
}
|
|
1263
|
-
function
|
|
1260
|
+
function Dn(e) {
|
|
1264
1261
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1265
1262
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
1266
1263
|
}
|
|
@@ -1285,7 +1282,7 @@ var V = [
|
|
|
1285
1282
|
"svg",
|
|
1286
1283
|
"ul"
|
|
1287
1284
|
].reduce((e, t) => {
|
|
1288
|
-
let n = /* @__PURE__ */
|
|
1285
|
+
let n = /* @__PURE__ */ Sn(`Primitive.${t}`), r = P.forwardRef((e, r) => {
|
|
1289
1286
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1290
1287
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, F.jsx)(o, {
|
|
1291
1288
|
...a,
|
|
@@ -1297,12 +1294,12 @@ var V = [
|
|
|
1297
1294
|
[t]: r
|
|
1298
1295
|
};
|
|
1299
1296
|
}, {});
|
|
1300
|
-
function
|
|
1301
|
-
e &&
|
|
1297
|
+
function On(e, t) {
|
|
1298
|
+
e && _t.flushSync(() => e.dispatchEvent(t));
|
|
1302
1299
|
}
|
|
1303
1300
|
//#endregion
|
|
1304
1301
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1305
|
-
function
|
|
1302
|
+
function kn(e) {
|
|
1306
1303
|
let t = P.useRef(e);
|
|
1307
1304
|
return P.useEffect(() => {
|
|
1308
1305
|
t.current = e;
|
|
@@ -1310,8 +1307,8 @@ function En(e) {
|
|
|
1310
1307
|
}
|
|
1311
1308
|
//#endregion
|
|
1312
1309
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1313
|
-
function
|
|
1314
|
-
let n =
|
|
1310
|
+
function An(e, t = globalThis?.document) {
|
|
1311
|
+
let n = kn(e);
|
|
1315
1312
|
P.useEffect(() => {
|
|
1316
1313
|
let e = (e) => {
|
|
1317
1314
|
e.key === "Escape" && n(e);
|
|
@@ -1321,23 +1318,23 @@ function Dn(e, t = globalThis?.document) {
|
|
|
1321
1318
|
}
|
|
1322
1319
|
//#endregion
|
|
1323
1320
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1324
|
-
var
|
|
1321
|
+
var jn = "DismissableLayer", Mn = "dismissableLayer.update", Nn = "dismissableLayer.pointerDownOutside", Pn = "dismissableLayer.focusOutside", Fn, In = P.createContext({
|
|
1325
1322
|
layers: /* @__PURE__ */ new Set(),
|
|
1326
1323
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1327
1324
|
branches: /* @__PURE__ */ new Set()
|
|
1328
|
-
}),
|
|
1329
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = P.useContext(
|
|
1325
|
+
}), Ln = P.forwardRef((e, t) => {
|
|
1326
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = P.useContext(In), [u, d] = P.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = P.useState({}), m = B(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = Bn((e) => {
|
|
1330
1327
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1331
1328
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1332
|
-
}, f), S =
|
|
1329
|
+
}, f), S = Vn((e) => {
|
|
1333
1330
|
let t = e.target;
|
|
1334
1331
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1335
1332
|
}, f);
|
|
1336
|
-
return
|
|
1333
|
+
return An((e) => {
|
|
1337
1334
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1338
1335
|
}, f), P.useEffect(() => {
|
|
1339
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1340
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1336
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Fn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Hn(), () => {
|
|
1337
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Fn);
|
|
1341
1338
|
};
|
|
1342
1339
|
}, [
|
|
1343
1340
|
u,
|
|
@@ -1345,10 +1342,10 @@ var On = "DismissableLayer", kn = "dismissableLayer.update", An = "dismissableLa
|
|
|
1345
1342
|
n,
|
|
1346
1343
|
l
|
|
1347
1344
|
]), P.useEffect(() => () => {
|
|
1348
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1345
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Hn());
|
|
1349
1346
|
}, [u, l]), P.useEffect(() => {
|
|
1350
1347
|
let e = () => p({});
|
|
1351
|
-
return document.addEventListener(
|
|
1348
|
+
return document.addEventListener(Mn, e), () => document.removeEventListener(Mn, e);
|
|
1352
1349
|
}, []), /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
1353
1350
|
...c,
|
|
1354
1351
|
ref: m,
|
|
@@ -1361,9 +1358,9 @@ var On = "DismissableLayer", kn = "dismissableLayer.update", An = "dismissableLa
|
|
|
1361
1358
|
onPointerDownCapture: z(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1362
1359
|
});
|
|
1363
1360
|
});
|
|
1364
|
-
|
|
1365
|
-
var
|
|
1366
|
-
let n = P.useContext(
|
|
1361
|
+
Ln.displayName = jn;
|
|
1362
|
+
var Rn = "DismissableLayerBranch", zn = P.forwardRef((e, t) => {
|
|
1363
|
+
let n = P.useContext(In), r = P.useRef(null), i = B(t, r);
|
|
1367
1364
|
return P.useEffect(() => {
|
|
1368
1365
|
let e = r.current;
|
|
1369
1366
|
if (e) return n.branches.add(e), () => {
|
|
@@ -1374,14 +1371,14 @@ var Fn = "DismissableLayerBranch", In = P.forwardRef((e, t) => {
|
|
|
1374
1371
|
ref: i
|
|
1375
1372
|
});
|
|
1376
1373
|
});
|
|
1377
|
-
|
|
1378
|
-
function
|
|
1379
|
-
let n =
|
|
1374
|
+
zn.displayName = Rn;
|
|
1375
|
+
function Bn(e, t = globalThis?.document) {
|
|
1376
|
+
let n = kn(e), r = P.useRef(!1), i = P.useRef(() => {});
|
|
1380
1377
|
return P.useEffect(() => {
|
|
1381
1378
|
let e = (e) => {
|
|
1382
1379
|
if (e.target && !r.current) {
|
|
1383
1380
|
let r = function() {
|
|
1384
|
-
|
|
1381
|
+
Un(Nn, n, a, { discrete: !0 });
|
|
1385
1382
|
}, a = { originalEvent: e };
|
|
1386
1383
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1387
1384
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1394,11 +1391,11 @@ function Ln(e, t = globalThis?.document) {
|
|
|
1394
1391
|
};
|
|
1395
1392
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1396
1393
|
}
|
|
1397
|
-
function
|
|
1398
|
-
let n =
|
|
1394
|
+
function Vn(e, t = globalThis?.document) {
|
|
1395
|
+
let n = kn(e), r = P.useRef(!1);
|
|
1399
1396
|
return P.useEffect(() => {
|
|
1400
1397
|
let e = (e) => {
|
|
1401
|
-
e.target && !r.current &&
|
|
1398
|
+
e.target && !r.current && Un(Pn, n, { originalEvent: e }, { discrete: !1 });
|
|
1402
1399
|
};
|
|
1403
1400
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1404
1401
|
}, [t, n]), {
|
|
@@ -1406,40 +1403,40 @@ function Rn(e, t = globalThis?.document) {
|
|
|
1406
1403
|
onBlurCapture: () => r.current = !1
|
|
1407
1404
|
};
|
|
1408
1405
|
}
|
|
1409
|
-
function
|
|
1410
|
-
let e = new CustomEvent(
|
|
1406
|
+
function Hn() {
|
|
1407
|
+
let e = new CustomEvent(Mn);
|
|
1411
1408
|
document.dispatchEvent(e);
|
|
1412
1409
|
}
|
|
1413
|
-
function
|
|
1410
|
+
function Un(e, t, n, { discrete: r }) {
|
|
1414
1411
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1415
1412
|
bubbles: !1,
|
|
1416
1413
|
cancelable: !0,
|
|
1417
1414
|
detail: n
|
|
1418
1415
|
});
|
|
1419
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1416
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? On(i, a) : i.dispatchEvent(a);
|
|
1420
1417
|
}
|
|
1421
1418
|
//#endregion
|
|
1422
1419
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1423
|
-
var
|
|
1424
|
-
function
|
|
1420
|
+
var Wn = 0;
|
|
1421
|
+
function Gn() {
|
|
1425
1422
|
P.useEffect(() => {
|
|
1426
1423
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1427
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1428
|
-
|
|
1424
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Kn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Kn()), Wn++, () => {
|
|
1425
|
+
Wn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Wn--;
|
|
1429
1426
|
};
|
|
1430
1427
|
}, []);
|
|
1431
1428
|
}
|
|
1432
|
-
function
|
|
1429
|
+
function Kn() {
|
|
1433
1430
|
let e = document.createElement("span");
|
|
1434
1431
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
1435
1432
|
}
|
|
1436
1433
|
//#endregion
|
|
1437
1434
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1438
|
-
var
|
|
1435
|
+
var qn = "focusScope.autoFocusOnMount", Jn = "focusScope.autoFocusOnUnmount", Yn = {
|
|
1439
1436
|
bubbles: !1,
|
|
1440
1437
|
cancelable: !0
|
|
1441
|
-
},
|
|
1442
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = P.useState(null), l =
|
|
1438
|
+
}, Xn = "FocusScope", Zn = P.forwardRef((e, t) => {
|
|
1439
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = P.useState(null), l = kn(i), u = kn(a), d = P.useRef(null), f = B(t, (e) => c(e)), p = P.useRef({
|
|
1443
1440
|
paused: !1,
|
|
1444
1441
|
pause() {
|
|
1445
1442
|
this.paused = !0;
|
|
@@ -1476,16 +1473,16 @@ var Wn = "focusScope.autoFocusOnMount", Gn = "focusScope.autoFocusOnUnmount", Kn
|
|
|
1476
1473
|
p.paused
|
|
1477
1474
|
]), P.useEffect(() => {
|
|
1478
1475
|
if (s) {
|
|
1479
|
-
|
|
1476
|
+
ir.add(p);
|
|
1480
1477
|
let e = document.activeElement;
|
|
1481
1478
|
if (!s.contains(e)) {
|
|
1482
|
-
let t = new CustomEvent(
|
|
1483
|
-
s.addEventListener(
|
|
1479
|
+
let t = new CustomEvent(qn, Yn);
|
|
1480
|
+
s.addEventListener(qn, l), s.dispatchEvent(t), t.defaultPrevented || (Qn(sr(er(s)), { select: !0 }), document.activeElement === e && H(s));
|
|
1484
1481
|
}
|
|
1485
1482
|
return () => {
|
|
1486
|
-
s.removeEventListener(
|
|
1487
|
-
let t = new CustomEvent(
|
|
1488
|
-
s.addEventListener(
|
|
1483
|
+
s.removeEventListener(qn, l), setTimeout(() => {
|
|
1484
|
+
let t = new CustomEvent(Jn, Yn);
|
|
1485
|
+
s.addEventListener(Jn, u), s.dispatchEvent(t), t.defaultPrevented || H(e ?? document.body, { select: !0 }), s.removeEventListener(Jn, u), ir.remove(p);
|
|
1489
1486
|
}, 0);
|
|
1490
1487
|
};
|
|
1491
1488
|
}
|
|
@@ -1499,7 +1496,7 @@ var Wn = "focusScope.autoFocusOnMount", Gn = "focusScope.autoFocusOnUnmount", Kn
|
|
|
1499
1496
|
if (!n && !r || p.paused) return;
|
|
1500
1497
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1501
1498
|
if (t && i) {
|
|
1502
|
-
let t = e.currentTarget, [r, a] =
|
|
1499
|
+
let t = e.currentTarget, [r, a] = $n(t);
|
|
1503
1500
|
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && H(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && H(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1504
1501
|
}
|
|
1505
1502
|
}, [
|
|
@@ -1514,16 +1511,16 @@ var Wn = "focusScope.autoFocusOnMount", Gn = "focusScope.autoFocusOnUnmount", Kn
|
|
|
1514
1511
|
onKeyDown: m
|
|
1515
1512
|
});
|
|
1516
1513
|
});
|
|
1517
|
-
|
|
1518
|
-
function
|
|
1514
|
+
Zn.displayName = Xn;
|
|
1515
|
+
function Qn(e, { select: t = !1 } = {}) {
|
|
1519
1516
|
let n = document.activeElement;
|
|
1520
1517
|
for (let r of e) if (H(r, { select: t }), document.activeElement !== n) return;
|
|
1521
1518
|
}
|
|
1522
|
-
function
|
|
1523
|
-
let t =
|
|
1524
|
-
return [
|
|
1519
|
+
function $n(e) {
|
|
1520
|
+
let t = er(e);
|
|
1521
|
+
return [tr(t, e), tr(t.reverse(), e)];
|
|
1525
1522
|
}
|
|
1526
|
-
function
|
|
1523
|
+
function er(e) {
|
|
1527
1524
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1528
1525
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1529
1526
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1531,10 +1528,10 @@ function Zn(e) {
|
|
|
1531
1528
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1532
1529
|
return t;
|
|
1533
1530
|
}
|
|
1534
|
-
function
|
|
1535
|
-
for (let n of e) if (
|
|
1531
|
+
function tr(e, t) {
|
|
1532
|
+
for (let n of e) if (!nr(n, { upTo: t })) return n;
|
|
1536
1533
|
}
|
|
1537
|
-
function
|
|
1534
|
+
function nr(e, { upTo: t }) {
|
|
1538
1535
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1539
1536
|
for (; e;) {
|
|
1540
1537
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1543,62 +1540,62 @@ function $n(e, { upTo: t }) {
|
|
|
1543
1540
|
}
|
|
1544
1541
|
return !1;
|
|
1545
1542
|
}
|
|
1546
|
-
function
|
|
1543
|
+
function rr(e) {
|
|
1547
1544
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1548
1545
|
}
|
|
1549
1546
|
function H(e, { select: t = !1 } = {}) {
|
|
1550
1547
|
if (e && e.focus) {
|
|
1551
1548
|
let n = document.activeElement;
|
|
1552
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1549
|
+
e.focus({ preventScroll: !0 }), e !== n && rr(e) && t && e.select();
|
|
1553
1550
|
}
|
|
1554
1551
|
}
|
|
1555
|
-
var
|
|
1556
|
-
function
|
|
1552
|
+
var ir = ar();
|
|
1553
|
+
function ar() {
|
|
1557
1554
|
let e = [];
|
|
1558
1555
|
return {
|
|
1559
1556
|
add(t) {
|
|
1560
1557
|
let n = e[0];
|
|
1561
|
-
t !== n && n?.pause(), e =
|
|
1558
|
+
t !== n && n?.pause(), e = or(e, t), e.unshift(t);
|
|
1562
1559
|
},
|
|
1563
1560
|
remove(t) {
|
|
1564
|
-
e =
|
|
1561
|
+
e = or(e, t), e[0]?.resume();
|
|
1565
1562
|
}
|
|
1566
1563
|
};
|
|
1567
1564
|
}
|
|
1568
|
-
function
|
|
1565
|
+
function or(e, t) {
|
|
1569
1566
|
let n = [...e], r = n.indexOf(t);
|
|
1570
1567
|
return r !== -1 && n.splice(r, 1), n;
|
|
1571
1568
|
}
|
|
1572
|
-
function
|
|
1569
|
+
function sr(e) {
|
|
1573
1570
|
return e.filter((e) => e.tagName !== "A");
|
|
1574
1571
|
}
|
|
1575
1572
|
//#endregion
|
|
1576
1573
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1577
|
-
var
|
|
1578
|
-
function
|
|
1579
|
-
let [t, n] = P.useState(
|
|
1580
|
-
return
|
|
1581
|
-
e || n((e) => e ?? String(
|
|
1574
|
+
var cr = globalThis?.document ? P.useLayoutEffect : () => {}, lr = P.useId || (() => void 0), ur = 0;
|
|
1575
|
+
function dr(e) {
|
|
1576
|
+
let [t, n] = P.useState(lr());
|
|
1577
|
+
return cr(() => {
|
|
1578
|
+
e || n((e) => e ?? String(ur++));
|
|
1582
1579
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1583
1580
|
}
|
|
1584
1581
|
//#endregion
|
|
1585
1582
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1586
|
-
var
|
|
1583
|
+
var fr = [
|
|
1587
1584
|
"top",
|
|
1588
1585
|
"right",
|
|
1589
1586
|
"bottom",
|
|
1590
1587
|
"left"
|
|
1591
|
-
],
|
|
1588
|
+
], pr = Math.min, U = Math.max, mr = Math.round, hr = Math.floor, W = (e) => ({
|
|
1592
1589
|
x: e,
|
|
1593
1590
|
y: e
|
|
1594
|
-
}),
|
|
1591
|
+
}), gr = {
|
|
1595
1592
|
left: "right",
|
|
1596
1593
|
right: "left",
|
|
1597
1594
|
bottom: "top",
|
|
1598
1595
|
top: "bottom"
|
|
1599
1596
|
};
|
|
1600
|
-
function
|
|
1601
|
-
return U(e,
|
|
1597
|
+
function _r(e, t, n) {
|
|
1598
|
+
return U(e, pr(t, n));
|
|
1602
1599
|
}
|
|
1603
1600
|
function G(e, t) {
|
|
1604
1601
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1606,57 +1603,57 @@ function G(e, t) {
|
|
|
1606
1603
|
function K(e) {
|
|
1607
1604
|
return e.split("-")[0];
|
|
1608
1605
|
}
|
|
1609
|
-
function
|
|
1606
|
+
function vr(e) {
|
|
1610
1607
|
return e.split("-")[1];
|
|
1611
1608
|
}
|
|
1612
|
-
function
|
|
1609
|
+
function yr(e) {
|
|
1613
1610
|
return e === "x" ? "y" : "x";
|
|
1614
1611
|
}
|
|
1615
|
-
function
|
|
1612
|
+
function br(e) {
|
|
1616
1613
|
return e === "y" ? "height" : "width";
|
|
1617
1614
|
}
|
|
1618
1615
|
function q(e) {
|
|
1619
1616
|
let t = e[0];
|
|
1620
1617
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1621
1618
|
}
|
|
1622
|
-
function
|
|
1623
|
-
return
|
|
1619
|
+
function xr(e) {
|
|
1620
|
+
return yr(q(e));
|
|
1624
1621
|
}
|
|
1625
|
-
function
|
|
1622
|
+
function Sr(e, t, n) {
|
|
1626
1623
|
n === void 0 && (n = !1);
|
|
1627
|
-
let r =
|
|
1628
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1624
|
+
let r = vr(e), i = xr(e), a = br(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1625
|
+
return t.reference[a] > t.floating[a] && (o = jr(o)), [o, jr(o)];
|
|
1629
1626
|
}
|
|
1630
|
-
function
|
|
1631
|
-
let t =
|
|
1627
|
+
function Cr(e) {
|
|
1628
|
+
let t = jr(e);
|
|
1632
1629
|
return [
|
|
1633
|
-
|
|
1630
|
+
wr(e),
|
|
1634
1631
|
t,
|
|
1635
|
-
|
|
1632
|
+
wr(t)
|
|
1636
1633
|
];
|
|
1637
1634
|
}
|
|
1638
|
-
function
|
|
1635
|
+
function wr(e) {
|
|
1639
1636
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1640
1637
|
}
|
|
1641
|
-
var
|
|
1642
|
-
function
|
|
1638
|
+
var Tr = ["left", "right"], Er = ["right", "left"], Dr = ["top", "bottom"], Or = ["bottom", "top"];
|
|
1639
|
+
function kr(e, t, n) {
|
|
1643
1640
|
switch (e) {
|
|
1644
1641
|
case "top":
|
|
1645
|
-
case "bottom": return n ? t ?
|
|
1642
|
+
case "bottom": return n ? t ? Er : Tr : t ? Tr : Er;
|
|
1646
1643
|
case "left":
|
|
1647
|
-
case "right": return t ?
|
|
1644
|
+
case "right": return t ? Dr : Or;
|
|
1648
1645
|
default: return [];
|
|
1649
1646
|
}
|
|
1650
1647
|
}
|
|
1651
|
-
function
|
|
1652
|
-
let i =
|
|
1653
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1648
|
+
function Ar(e, t, n, r) {
|
|
1649
|
+
let i = vr(e), a = kr(K(e), n === "start", r);
|
|
1650
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(wr)))), a;
|
|
1654
1651
|
}
|
|
1655
|
-
function
|
|
1652
|
+
function jr(e) {
|
|
1656
1653
|
let t = K(e);
|
|
1657
|
-
return
|
|
1654
|
+
return gr[t] + e.slice(t.length);
|
|
1658
1655
|
}
|
|
1659
|
-
function
|
|
1656
|
+
function Mr(e) {
|
|
1660
1657
|
return {
|
|
1661
1658
|
top: 0,
|
|
1662
1659
|
right: 0,
|
|
@@ -1665,15 +1662,15 @@ function kr(e) {
|
|
|
1665
1662
|
...e
|
|
1666
1663
|
};
|
|
1667
1664
|
}
|
|
1668
|
-
function
|
|
1665
|
+
function Nr(e) {
|
|
1669
1666
|
return typeof e == "number" ? {
|
|
1670
1667
|
top: e,
|
|
1671
1668
|
right: e,
|
|
1672
1669
|
bottom: e,
|
|
1673
1670
|
left: e
|
|
1674
|
-
} :
|
|
1671
|
+
} : Mr(e);
|
|
1675
1672
|
}
|
|
1676
|
-
function
|
|
1673
|
+
function Pr(e) {
|
|
1677
1674
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1678
1675
|
return {
|
|
1679
1676
|
width: r,
|
|
@@ -1688,8 +1685,8 @@ function jr(e) {
|
|
|
1688
1685
|
}
|
|
1689
1686
|
//#endregion
|
|
1690
1687
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1691
|
-
function
|
|
1692
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1688
|
+
function Fr(e, t, n) {
|
|
1689
|
+
let { reference: r, floating: i } = e, a = q(t), o = xr(t), s = br(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;
|
|
1693
1690
|
switch (c) {
|
|
1694
1691
|
case "top":
|
|
1695
1692
|
p = {
|
|
@@ -1720,7 +1717,7 @@ function Mr(e, t, n) {
|
|
|
1720
1717
|
y: r.y
|
|
1721
1718
|
};
|
|
1722
1719
|
}
|
|
1723
|
-
switch (
|
|
1720
|
+
switch (vr(t)) {
|
|
1724
1721
|
case "start":
|
|
1725
1722
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1726
1723
|
break;
|
|
@@ -1730,9 +1727,9 @@ function Mr(e, t, n) {
|
|
|
1730
1727
|
}
|
|
1731
1728
|
return p;
|
|
1732
1729
|
}
|
|
1733
|
-
async function
|
|
1730
|
+
async function Ir(e, t) {
|
|
1734
1731
|
t === void 0 && (t = {});
|
|
1735
|
-
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 =
|
|
1732
|
+
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 = Nr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Pr(await i.getClippingRect({
|
|
1736
1733
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1737
1734
|
boundary: c,
|
|
1738
1735
|
rootBoundary: l,
|
|
@@ -1745,7 +1742,7 @@ async function Nr(e, t) {
|
|
|
1745
1742
|
} : 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(_)) || {
|
|
1746
1743
|
x: 1,
|
|
1747
1744
|
y: 1
|
|
1748
|
-
}, y =
|
|
1745
|
+
}, y = Pr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1749
1746
|
elements: o,
|
|
1750
1747
|
rect: g,
|
|
1751
1748
|
offsetParent: _,
|
|
@@ -1758,15 +1755,15 @@ async function Nr(e, t) {
|
|
|
1758
1755
|
right: (y.right - h.right + p.right) / v.x
|
|
1759
1756
|
};
|
|
1760
1757
|
}
|
|
1761
|
-
var
|
|
1758
|
+
var Lr = 50, Rr = async (e, t, n) => {
|
|
1762
1759
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1763
1760
|
...o,
|
|
1764
|
-
detectOverflow:
|
|
1761
|
+
detectOverflow: Ir
|
|
1765
1762
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1766
1763
|
reference: e,
|
|
1767
1764
|
floating: t,
|
|
1768
1765
|
strategy: i
|
|
1769
|
-
}), { x: u, y: d } =
|
|
1766
|
+
}), { x: u, y: d } = Fr(l, r, c), f = r, p = 0, m = {};
|
|
1770
1767
|
for (let n = 0; n < a.length; n++) {
|
|
1771
1768
|
let h = a[n];
|
|
1772
1769
|
if (!h) continue;
|
|
@@ -1787,11 +1784,11 @@ var Pr = 50, Fr = async (e, t, n) => {
|
|
|
1787
1784
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1788
1785
|
...m[g],
|
|
1789
1786
|
...b
|
|
1790
|
-
}, x && p <
|
|
1787
|
+
}, x && p < Lr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1791
1788
|
reference: e,
|
|
1792
1789
|
floating: t,
|
|
1793
1790
|
strategy: i
|
|
1794
|
-
}) : x.rects), {x: u, y: d} =
|
|
1791
|
+
}) : x.rects), {x: u, y: d} = Fr(l, f, c)), n = -1);
|
|
1795
1792
|
}
|
|
1796
1793
|
return {
|
|
1797
1794
|
x: u,
|
|
@@ -1800,29 +1797,29 @@ var Pr = 50, Fr = async (e, t, n) => {
|
|
|
1800
1797
|
strategy: i,
|
|
1801
1798
|
middlewareData: m
|
|
1802
1799
|
};
|
|
1803
|
-
},
|
|
1800
|
+
}, zr = (e) => ({
|
|
1804
1801
|
name: "arrow",
|
|
1805
1802
|
options: e,
|
|
1806
1803
|
async fn(t) {
|
|
1807
1804
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1808
1805
|
if (l == null) return {};
|
|
1809
|
-
let d =
|
|
1806
|
+
let d = Nr(u), f = {
|
|
1810
1807
|
x: n,
|
|
1811
1808
|
y: r
|
|
1812
|
-
}, p =
|
|
1809
|
+
}, p = xr(i), m = br(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;
|
|
1813
1810
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1814
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1,
|
|
1811
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = pr(d[_], T), E = pr(d[v], T), te = ee, D = C - h[m] - E, O = C / 2 - h[m] / 2 + w, k = _r(te, O, D), A = !c.arrow && vr(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;
|
|
1815
1812
|
return {
|
|
1816
1813
|
[p]: f[p] + j,
|
|
1817
1814
|
data: {
|
|
1818
|
-
[p]:
|
|
1819
|
-
centerOffset:
|
|
1815
|
+
[p]: k,
|
|
1816
|
+
centerOffset: O - k - j,
|
|
1820
1817
|
...A && { alignmentOffset: j }
|
|
1821
1818
|
},
|
|
1822
1819
|
reset: A
|
|
1823
1820
|
};
|
|
1824
1821
|
}
|
|
1825
|
-
}),
|
|
1822
|
+
}), Br = function(e) {
|
|
1826
1823
|
return e === void 0 && (e = {}), {
|
|
1827
1824
|
name: "flip",
|
|
1828
1825
|
options: e,
|
|
@@ -1830,11 +1827,11 @@ var Pr = 50, Fr = async (e, t, n) => {
|
|
|
1830
1827
|
var n;
|
|
1831
1828
|
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);
|
|
1832
1829
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1833
|
-
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 ? [
|
|
1834
|
-
!d && x && b.push(...
|
|
1830
|
+
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 ? [jr(o)] : Cr(o)), x = p !== "none";
|
|
1831
|
+
!d && x && b.push(...Ar(o, m, p, y));
|
|
1835
1832
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1836
1833
|
if (l && w.push(C[g]), u) {
|
|
1837
|
-
let e =
|
|
1834
|
+
let e = Sr(r, a, y);
|
|
1838
1835
|
w.push(C[e[0]], C[e[1]]);
|
|
1839
1836
|
}
|
|
1840
1837
|
if (T = [...T, {
|
|
@@ -1872,7 +1869,7 @@ var Pr = 50, Fr = async (e, t, n) => {
|
|
|
1872
1869
|
}
|
|
1873
1870
|
};
|
|
1874
1871
|
};
|
|
1875
|
-
function
|
|
1872
|
+
function Vr(e, t) {
|
|
1876
1873
|
return {
|
|
1877
1874
|
top: e.top - t.height,
|
|
1878
1875
|
right: e.right - t.width,
|
|
@@ -1880,10 +1877,10 @@ function Rr(e, t) {
|
|
|
1880
1877
|
left: e.left - t.width
|
|
1881
1878
|
};
|
|
1882
1879
|
}
|
|
1883
|
-
function
|
|
1884
|
-
return
|
|
1880
|
+
function Hr(e) {
|
|
1881
|
+
return fr.some((t) => e[t] >= 0);
|
|
1885
1882
|
}
|
|
1886
|
-
var
|
|
1883
|
+
var Ur = function(e) {
|
|
1887
1884
|
return e === void 0 && (e = {}), {
|
|
1888
1885
|
name: "hide",
|
|
1889
1886
|
options: e,
|
|
@@ -1891,32 +1888,32 @@ var Br = function(e) {
|
|
|
1891
1888
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1892
1889
|
switch (i) {
|
|
1893
1890
|
case "referenceHidden": {
|
|
1894
|
-
let e =
|
|
1891
|
+
let e = Vr(await r.detectOverflow(t, {
|
|
1895
1892
|
...a,
|
|
1896
1893
|
elementContext: "reference"
|
|
1897
1894
|
}), n.reference);
|
|
1898
1895
|
return { data: {
|
|
1899
1896
|
referenceHiddenOffsets: e,
|
|
1900
|
-
referenceHidden:
|
|
1897
|
+
referenceHidden: Hr(e)
|
|
1901
1898
|
} };
|
|
1902
1899
|
}
|
|
1903
1900
|
case "escaped": {
|
|
1904
|
-
let e =
|
|
1901
|
+
let e = Vr(await r.detectOverflow(t, {
|
|
1905
1902
|
...a,
|
|
1906
1903
|
altBoundary: !0
|
|
1907
1904
|
}), n.floating);
|
|
1908
1905
|
return { data: {
|
|
1909
1906
|
escapedOffsets: e,
|
|
1910
|
-
escaped:
|
|
1907
|
+
escaped: Hr(e)
|
|
1911
1908
|
} };
|
|
1912
1909
|
}
|
|
1913
1910
|
default: return {};
|
|
1914
1911
|
}
|
|
1915
1912
|
}
|
|
1916
1913
|
};
|
|
1917
|
-
},
|
|
1918
|
-
async function
|
|
1919
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1914
|
+
}, Wr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1915
|
+
async function Gr(e, t) {
|
|
1916
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = vr(n), c = q(n) === "y", l = Wr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1920
1917
|
mainAxis: d,
|
|
1921
1918
|
crossAxis: 0,
|
|
1922
1919
|
alignmentAxis: null
|
|
@@ -1933,13 +1930,13 @@ async function Hr(e, t) {
|
|
|
1933
1930
|
y: p * u
|
|
1934
1931
|
};
|
|
1935
1932
|
}
|
|
1936
|
-
var
|
|
1933
|
+
var Kr = function(e) {
|
|
1937
1934
|
return e === void 0 && (e = 0), {
|
|
1938
1935
|
name: "offset",
|
|
1939
1936
|
options: e,
|
|
1940
1937
|
async fn(t) {
|
|
1941
1938
|
var n;
|
|
1942
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1939
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Gr(t, e);
|
|
1943
1940
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1944
1941
|
x: r + s.x,
|
|
1945
1942
|
y: i + s.y,
|
|
@@ -1950,7 +1947,7 @@ var Ur = function(e) {
|
|
|
1950
1947
|
};
|
|
1951
1948
|
}
|
|
1952
1949
|
};
|
|
1953
|
-
},
|
|
1950
|
+
}, qr = function(e) {
|
|
1954
1951
|
return e === void 0 && (e = {}), {
|
|
1955
1952
|
name: "shift",
|
|
1956
1953
|
options: e,
|
|
@@ -1964,14 +1961,14 @@ var Ur = function(e) {
|
|
|
1964
1961
|
} }, ...l } = G(e, t), u = {
|
|
1965
1962
|
x: n,
|
|
1966
1963
|
y: r
|
|
1967
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1964
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = yr(f), m = u[p], h = u[f];
|
|
1968
1965
|
if (o) {
|
|
1969
1966
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1970
|
-
m =
|
|
1967
|
+
m = _r(n, m, r);
|
|
1971
1968
|
}
|
|
1972
1969
|
if (s) {
|
|
1973
1970
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1974
|
-
h =
|
|
1971
|
+
h = _r(n, h, r);
|
|
1975
1972
|
}
|
|
1976
1973
|
let g = c.fn({
|
|
1977
1974
|
...t,
|
|
@@ -1991,14 +1988,14 @@ var Ur = function(e) {
|
|
|
1991
1988
|
};
|
|
1992
1989
|
}
|
|
1993
1990
|
};
|
|
1994
|
-
},
|
|
1991
|
+
}, Jr = function(e) {
|
|
1995
1992
|
return e === void 0 && (e = {}), {
|
|
1996
1993
|
options: e,
|
|
1997
1994
|
fn(t) {
|
|
1998
1995
|
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 = {
|
|
1999
1996
|
x: n,
|
|
2000
1997
|
y: r
|
|
2001
|
-
}, d = q(i), f =
|
|
1998
|
+
}, d = q(i), f = yr(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
2002
1999
|
mainAxis: h,
|
|
2003
2000
|
crossAxis: 0
|
|
2004
2001
|
} : {
|
|
@@ -2011,7 +2008,7 @@ var Ur = function(e) {
|
|
|
2011
2008
|
p < t ? p = t : p > n && (p = n);
|
|
2012
2009
|
}
|
|
2013
2010
|
if (l) {
|
|
2014
|
-
let e = f === "y" ? "width" : "height", t =
|
|
2011
|
+
let e = f === "y" ? "width" : "height", t = Wr.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);
|
|
2015
2012
|
m < n ? m = n : m > r && (m = r);
|
|
2016
2013
|
}
|
|
2017
2014
|
return {
|
|
@@ -2020,15 +2017,15 @@ var Ur = function(e) {
|
|
|
2020
2017
|
};
|
|
2021
2018
|
}
|
|
2022
2019
|
};
|
|
2023
|
-
},
|
|
2020
|
+
}, Yr = function(e) {
|
|
2024
2021
|
return e === void 0 && (e = {}), {
|
|
2025
2022
|
name: "size",
|
|
2026
2023
|
options: e,
|
|
2027
2024
|
async fn(t) {
|
|
2028
2025
|
var n, r;
|
|
2029
|
-
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 =
|
|
2026
|
+
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 = vr(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2030
2027
|
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");
|
|
2031
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2028
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = pr(h - u[g], v), x = pr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2032
2029
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2033
2030
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2034
2031
|
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));
|
|
@@ -2045,39 +2042,39 @@ var Ur = function(e) {
|
|
|
2045
2042
|
};
|
|
2046
2043
|
//#endregion
|
|
2047
2044
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2048
|
-
function
|
|
2045
|
+
function Xr() {
|
|
2049
2046
|
return typeof window < "u";
|
|
2050
2047
|
}
|
|
2051
|
-
function
|
|
2052
|
-
return
|
|
2048
|
+
function Zr(e) {
|
|
2049
|
+
return Qr(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2053
2050
|
}
|
|
2054
2051
|
function J(e) {
|
|
2055
2052
|
var t;
|
|
2056
2053
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2057
2054
|
}
|
|
2058
2055
|
function Y(e) {
|
|
2059
|
-
return ((
|
|
2056
|
+
return ((Qr(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2060
2057
|
}
|
|
2061
|
-
function
|
|
2062
|
-
return
|
|
2058
|
+
function Qr(e) {
|
|
2059
|
+
return Xr() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2063
2060
|
}
|
|
2064
2061
|
function X(e) {
|
|
2065
|
-
return
|
|
2062
|
+
return Xr() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2066
2063
|
}
|
|
2067
2064
|
function Z(e) {
|
|
2068
|
-
return
|
|
2065
|
+
return Xr() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2069
2066
|
}
|
|
2070
|
-
function
|
|
2071
|
-
return !
|
|
2067
|
+
function $r(e) {
|
|
2068
|
+
return !Xr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2072
2069
|
}
|
|
2073
|
-
function
|
|
2070
|
+
function ei(e) {
|
|
2074
2071
|
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2075
2072
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2076
2073
|
}
|
|
2077
|
-
function
|
|
2078
|
-
return /^(table|td|th)$/.test(
|
|
2074
|
+
function ti(e) {
|
|
2075
|
+
return /^(table|td|th)$/.test(Zr(e));
|
|
2079
2076
|
}
|
|
2080
|
-
function
|
|
2077
|
+
function ni(e) {
|
|
2081
2078
|
try {
|
|
2082
2079
|
if (e.matches(":popover-open")) return !0;
|
|
2083
2080
|
} catch {}
|
|
@@ -2087,30 +2084,30 @@ function $r(e) {
|
|
|
2087
2084
|
return !1;
|
|
2088
2085
|
}
|
|
2089
2086
|
}
|
|
2090
|
-
var
|
|
2091
|
-
function
|
|
2087
|
+
var ri = /transform|translate|scale|rotate|perspective|filter/, ii = /paint|layout|strict|content/, ai = (e) => !!e && e !== "none", oi;
|
|
2088
|
+
function si(e) {
|
|
2092
2089
|
let t = X(e) ? Q(e) : e;
|
|
2093
|
-
return
|
|
2094
|
-
}
|
|
2095
|
-
function
|
|
2096
|
-
let t =
|
|
2097
|
-
for (; Z(t) && !
|
|
2098
|
-
if (
|
|
2099
|
-
if (
|
|
2100
|
-
t =
|
|
2090
|
+
return ai(t.transform) || ai(t.translate) || ai(t.scale) || ai(t.rotate) || ai(t.perspective) || !li() && (ai(t.backdropFilter) || ai(t.filter)) || ri.test(t.willChange || "") || ii.test(t.contain || "");
|
|
2091
|
+
}
|
|
2092
|
+
function ci(e) {
|
|
2093
|
+
let t = fi(e);
|
|
2094
|
+
for (; Z(t) && !ui(t);) {
|
|
2095
|
+
if (si(t)) return t;
|
|
2096
|
+
if (ni(t)) return null;
|
|
2097
|
+
t = fi(t);
|
|
2101
2098
|
}
|
|
2102
2099
|
return null;
|
|
2103
2100
|
}
|
|
2104
|
-
function
|
|
2105
|
-
return
|
|
2101
|
+
function li() {
|
|
2102
|
+
return oi ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), oi;
|
|
2106
2103
|
}
|
|
2107
|
-
function
|
|
2108
|
-
return /^(html|body|#document)$/.test(
|
|
2104
|
+
function ui(e) {
|
|
2105
|
+
return /^(html|body|#document)$/.test(Zr(e));
|
|
2109
2106
|
}
|
|
2110
2107
|
function Q(e) {
|
|
2111
2108
|
return J(e).getComputedStyle(e);
|
|
2112
2109
|
}
|
|
2113
|
-
function
|
|
2110
|
+
function di(e) {
|
|
2114
2111
|
return X(e) ? {
|
|
2115
2112
|
scrollLeft: e.scrollLeft,
|
|
2116
2113
|
scrollTop: e.scrollTop
|
|
@@ -2119,101 +2116,101 @@ function ci(e) {
|
|
|
2119
2116
|
scrollTop: e.scrollY
|
|
2120
2117
|
};
|
|
2121
2118
|
}
|
|
2122
|
-
function
|
|
2123
|
-
if (
|
|
2124
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
2125
|
-
return
|
|
2119
|
+
function fi(e) {
|
|
2120
|
+
if (Zr(e) === "html") return e;
|
|
2121
|
+
let t = e.assignedSlot || e.parentNode || $r(e) && e.host || Y(e);
|
|
2122
|
+
return $r(t) ? t.host : t;
|
|
2126
2123
|
}
|
|
2127
|
-
function
|
|
2128
|
-
let t =
|
|
2129
|
-
return
|
|
2124
|
+
function pi(e) {
|
|
2125
|
+
let t = fi(e);
|
|
2126
|
+
return ui(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && ei(t) ? t : pi(t);
|
|
2130
2127
|
}
|
|
2131
|
-
function
|
|
2128
|
+
function mi(e, t, n) {
|
|
2132
2129
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2133
|
-
let r =
|
|
2130
|
+
let r = pi(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2134
2131
|
if (i) {
|
|
2135
|
-
let e =
|
|
2136
|
-
return t.concat(a, a.visualViewport || [],
|
|
2137
|
-
} else return t.concat(r,
|
|
2132
|
+
let e = hi(a);
|
|
2133
|
+
return t.concat(a, a.visualViewport || [], ei(r) ? r : [], e && n ? mi(e) : []);
|
|
2134
|
+
} else return t.concat(r, mi(r, [], n));
|
|
2138
2135
|
}
|
|
2139
|
-
function
|
|
2136
|
+
function hi(e) {
|
|
2140
2137
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2141
2138
|
}
|
|
2142
2139
|
//#endregion
|
|
2143
2140
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2144
|
-
function
|
|
2145
|
-
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 =
|
|
2141
|
+
function gi(e) {
|
|
2142
|
+
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = mr(n) !== a || mr(r) !== o;
|
|
2146
2143
|
return s && (n = a, r = o), {
|
|
2147
2144
|
width: n,
|
|
2148
2145
|
height: r,
|
|
2149
2146
|
$: s
|
|
2150
2147
|
};
|
|
2151
2148
|
}
|
|
2152
|
-
function
|
|
2149
|
+
function _i(e) {
|
|
2153
2150
|
return X(e) ? e : e.contextElement;
|
|
2154
2151
|
}
|
|
2155
|
-
function
|
|
2156
|
-
let t =
|
|
2152
|
+
function vi(e) {
|
|
2153
|
+
let t = _i(e);
|
|
2157
2154
|
if (!Z(t)) return W(1);
|
|
2158
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2155
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = gi(t), o = (a ? mr(n.width) : n.width) / r, s = (a ? mr(n.height) : n.height) / i;
|
|
2159
2156
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2160
2157
|
x: o,
|
|
2161
2158
|
y: s
|
|
2162
2159
|
};
|
|
2163
2160
|
}
|
|
2164
|
-
var
|
|
2165
|
-
function
|
|
2161
|
+
var yi = /*#__PURE__*/ W(0);
|
|
2162
|
+
function bi(e) {
|
|
2166
2163
|
let t = J(e);
|
|
2167
|
-
return !
|
|
2164
|
+
return !li() || !t.visualViewport ? yi : {
|
|
2168
2165
|
x: t.visualViewport.offsetLeft,
|
|
2169
2166
|
y: t.visualViewport.offsetTop
|
|
2170
2167
|
};
|
|
2171
2168
|
}
|
|
2172
|
-
function
|
|
2169
|
+
function xi(e, t, n) {
|
|
2173
2170
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2174
2171
|
}
|
|
2175
|
-
function
|
|
2172
|
+
function Si(e, t, n, r) {
|
|
2176
2173
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2177
|
-
let i = e.getBoundingClientRect(), a =
|
|
2178
|
-
t && (r ? X(r) && (o =
|
|
2179
|
-
let s =
|
|
2174
|
+
let i = e.getBoundingClientRect(), a = _i(e), o = W(1);
|
|
2175
|
+
t && (r ? X(r) && (o = vi(r)) : o = vi(e));
|
|
2176
|
+
let s = xi(a, n, r) ? bi(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;
|
|
2180
2177
|
if (a) {
|
|
2181
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2178
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = hi(n);
|
|
2182
2179
|
for (; i && r && t !== n;) {
|
|
2183
|
-
let e =
|
|
2184
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2180
|
+
let e = vi(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;
|
|
2181
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = hi(n);
|
|
2185
2182
|
}
|
|
2186
2183
|
}
|
|
2187
|
-
return
|
|
2184
|
+
return Pr({
|
|
2188
2185
|
width: u,
|
|
2189
2186
|
height: d,
|
|
2190
2187
|
x: c,
|
|
2191
2188
|
y: l
|
|
2192
2189
|
});
|
|
2193
2190
|
}
|
|
2194
|
-
function
|
|
2195
|
-
let n =
|
|
2196
|
-
return t ? t.left + n :
|
|
2191
|
+
function Ci(e, t) {
|
|
2192
|
+
let n = di(e).scrollLeft;
|
|
2193
|
+
return t ? t.left + n : Si(Y(e)).left + n;
|
|
2197
2194
|
}
|
|
2198
|
-
function
|
|
2195
|
+
function wi(e, t) {
|
|
2199
2196
|
let n = e.getBoundingClientRect();
|
|
2200
2197
|
return {
|
|
2201
|
-
x: n.left + t.scrollLeft -
|
|
2198
|
+
x: n.left + t.scrollLeft - Ci(e, n),
|
|
2202
2199
|
y: n.top + t.scrollTop
|
|
2203
2200
|
};
|
|
2204
2201
|
}
|
|
2205
|
-
function
|
|
2206
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2202
|
+
function Ti(e) {
|
|
2203
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? ni(t.floating) : !1;
|
|
2207
2204
|
if (r === o || s && a) return n;
|
|
2208
2205
|
let c = {
|
|
2209
2206
|
scrollLeft: 0,
|
|
2210
2207
|
scrollTop: 0
|
|
2211
2208
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2212
|
-
if ((d || !d && !a) && ((
|
|
2213
|
-
let e =
|
|
2214
|
-
l =
|
|
2209
|
+
if ((d || !d && !a) && ((Zr(r) !== "body" || ei(o)) && (c = di(r)), d)) {
|
|
2210
|
+
let e = Si(r);
|
|
2211
|
+
l = vi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2215
2212
|
}
|
|
2216
|
-
let f = o && !d && !a ?
|
|
2213
|
+
let f = o && !d && !a ? wi(o, c) : W(0);
|
|
2217
2214
|
return {
|
|
2218
2215
|
width: n.width * l.x,
|
|
2219
2216
|
height: n.height * l.y,
|
|
@@ -2221,11 +2218,11 @@ function Si(e) {
|
|
|
2221
2218
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2222
2219
|
};
|
|
2223
2220
|
}
|
|
2224
|
-
function
|
|
2221
|
+
function Ei(e) {
|
|
2225
2222
|
return Array.from(e.getClientRects());
|
|
2226
2223
|
}
|
|
2227
|
-
function
|
|
2228
|
-
let t = Y(e), n =
|
|
2224
|
+
function Di(e) {
|
|
2225
|
+
let t = Y(e), n = di(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 + Ci(e), s = -n.scrollTop;
|
|
2229
2226
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2230
2227
|
width: i,
|
|
2231
2228
|
height: a,
|
|
@@ -2233,19 +2230,19 @@ function wi(e) {
|
|
|
2233
2230
|
y: s
|
|
2234
2231
|
};
|
|
2235
2232
|
}
|
|
2236
|
-
var
|
|
2237
|
-
function
|
|
2233
|
+
var Oi = 25;
|
|
2234
|
+
function ki(e, t) {
|
|
2238
2235
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2239
2236
|
if (i) {
|
|
2240
2237
|
a = i.width, o = i.height;
|
|
2241
|
-
let e =
|
|
2238
|
+
let e = li();
|
|
2242
2239
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2243
2240
|
}
|
|
2244
|
-
let l =
|
|
2241
|
+
let l = Ci(r);
|
|
2245
2242
|
if (l <= 0) {
|
|
2246
2243
|
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);
|
|
2247
|
-
o <=
|
|
2248
|
-
} else l <=
|
|
2244
|
+
o <= Oi && (a -= o);
|
|
2245
|
+
} else l <= Oi && (a += l);
|
|
2249
2246
|
return {
|
|
2250
2247
|
width: a,
|
|
2251
2248
|
height: o,
|
|
@@ -2253,8 +2250,8 @@ function Ei(e, t) {
|
|
|
2253
2250
|
y: c
|
|
2254
2251
|
};
|
|
2255
2252
|
}
|
|
2256
|
-
function
|
|
2257
|
-
let n =
|
|
2253
|
+
function Ai(e, t) {
|
|
2254
|
+
let n = Si(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? vi(e) : W(1);
|
|
2258
2255
|
return {
|
|
2259
2256
|
width: e.clientWidth * a.x,
|
|
2260
2257
|
height: e.clientHeight * a.y,
|
|
@@ -2262,13 +2259,13 @@ function Di(e, t) {
|
|
|
2262
2259
|
y: r * a.y
|
|
2263
2260
|
};
|
|
2264
2261
|
}
|
|
2265
|
-
function
|
|
2262
|
+
function ji(e, t, n) {
|
|
2266
2263
|
let r;
|
|
2267
|
-
if (t === "viewport") r =
|
|
2268
|
-
else if (t === "document") r =
|
|
2269
|
-
else if (X(t)) r =
|
|
2264
|
+
if (t === "viewport") r = ki(e, n);
|
|
2265
|
+
else if (t === "document") r = Di(Y(e));
|
|
2266
|
+
else if (X(t)) r = Ai(t, n);
|
|
2270
2267
|
else {
|
|
2271
|
-
let n =
|
|
2268
|
+
let n = bi(e);
|
|
2272
2269
|
r = {
|
|
2273
2270
|
x: t.x - n.x,
|
|
2274
2271
|
y: t.y - n.y,
|
|
@@ -2276,27 +2273,27 @@ function Oi(e, t, n) {
|
|
|
2276
2273
|
height: t.height
|
|
2277
2274
|
};
|
|
2278
2275
|
}
|
|
2279
|
-
return
|
|
2276
|
+
return Pr(r);
|
|
2280
2277
|
}
|
|
2281
|
-
function
|
|
2282
|
-
let n =
|
|
2283
|
-
return n === t || !X(n) ||
|
|
2278
|
+
function Mi(e, t) {
|
|
2279
|
+
let n = fi(e);
|
|
2280
|
+
return n === t || !X(n) || ui(n) ? !1 : Q(n).position === "fixed" || Mi(n, t);
|
|
2284
2281
|
}
|
|
2285
|
-
function
|
|
2282
|
+
function Ni(e, t) {
|
|
2286
2283
|
let n = t.get(e);
|
|
2287
2284
|
if (n) return n;
|
|
2288
|
-
let r =
|
|
2289
|
-
for (; X(o) && !
|
|
2290
|
-
let t = Q(o), n =
|
|
2291
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2285
|
+
let r = mi(e, [], !1).filter((e) => X(e) && Zr(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? fi(e) : e;
|
|
2286
|
+
for (; X(o) && !ui(o);) {
|
|
2287
|
+
let t = Q(o), n = si(o);
|
|
2288
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || ei(o) && !n && Mi(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = fi(o);
|
|
2292
2289
|
}
|
|
2293
2290
|
return t.set(e, r), r;
|
|
2294
2291
|
}
|
|
2295
|
-
function
|
|
2296
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2292
|
+
function Pi(e) {
|
|
2293
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ni(t) ? [] : Ni(t, this._c) : [].concat(n), r], o = ji(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2297
2294
|
for (let e = 1; e < a.length; e++) {
|
|
2298
|
-
let n =
|
|
2299
|
-
s = U(n.top, s), c =
|
|
2295
|
+
let n = ji(t, a[e], i);
|
|
2296
|
+
s = U(n.top, s), c = pr(n.right, c), l = pr(n.bottom, l), u = U(n.left, u);
|
|
2300
2297
|
}
|
|
2301
2298
|
return {
|
|
2302
2299
|
width: c - u,
|
|
@@ -2305,27 +2302,27 @@ function ji(e) {
|
|
|
2305
2302
|
y: s
|
|
2306
2303
|
};
|
|
2307
2304
|
}
|
|
2308
|
-
function
|
|
2309
|
-
let { width: t, height: n } =
|
|
2305
|
+
function Fi(e) {
|
|
2306
|
+
let { width: t, height: n } = gi(e);
|
|
2310
2307
|
return {
|
|
2311
2308
|
width: t,
|
|
2312
2309
|
height: n
|
|
2313
2310
|
};
|
|
2314
2311
|
}
|
|
2315
|
-
function
|
|
2316
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2312
|
+
function Ii(e, t, n) {
|
|
2313
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = Si(e, !0, a, t), s = {
|
|
2317
2314
|
scrollLeft: 0,
|
|
2318
2315
|
scrollTop: 0
|
|
2319
2316
|
}, c = W(0);
|
|
2320
2317
|
function l() {
|
|
2321
|
-
c.x =
|
|
2318
|
+
c.x = Ci(i);
|
|
2322
2319
|
}
|
|
2323
|
-
if (r || !r && !a) if ((
|
|
2324
|
-
let e =
|
|
2320
|
+
if (r || !r && !a) if ((Zr(t) !== "body" || ei(i)) && (s = di(t)), r) {
|
|
2321
|
+
let e = Si(t, !0, a, t);
|
|
2325
2322
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2326
2323
|
} else i && l();
|
|
2327
2324
|
a && !r && i && l();
|
|
2328
|
-
let u = i && !r && !a ?
|
|
2325
|
+
let u = i && !r && !a ? wi(i, s) : W(0);
|
|
2329
2326
|
return {
|
|
2330
2327
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2331
2328
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2333,34 +2330,34 @@ function Ni(e, t, n) {
|
|
|
2333
2330
|
height: o.height
|
|
2334
2331
|
};
|
|
2335
2332
|
}
|
|
2336
|
-
function
|
|
2333
|
+
function Li(e) {
|
|
2337
2334
|
return Q(e).position === "static";
|
|
2338
2335
|
}
|
|
2339
|
-
function
|
|
2336
|
+
function Ri(e, t) {
|
|
2340
2337
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2341
2338
|
if (t) return t(e);
|
|
2342
2339
|
let n = e.offsetParent;
|
|
2343
2340
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2344
2341
|
}
|
|
2345
|
-
function
|
|
2342
|
+
function zi(e, t) {
|
|
2346
2343
|
let n = J(e);
|
|
2347
|
-
if (
|
|
2344
|
+
if (ni(e)) return n;
|
|
2348
2345
|
if (!Z(e)) {
|
|
2349
|
-
let t =
|
|
2350
|
-
for (; t && !
|
|
2351
|
-
if (X(t) && !
|
|
2352
|
-
t =
|
|
2346
|
+
let t = fi(e);
|
|
2347
|
+
for (; t && !ui(t);) {
|
|
2348
|
+
if (X(t) && !Li(t)) return t;
|
|
2349
|
+
t = fi(t);
|
|
2353
2350
|
}
|
|
2354
2351
|
return n;
|
|
2355
2352
|
}
|
|
2356
|
-
let r =
|
|
2357
|
-
for (; r &&
|
|
2358
|
-
return r &&
|
|
2353
|
+
let r = Ri(e, t);
|
|
2354
|
+
for (; r && ti(r) && Li(r);) r = Ri(r, t);
|
|
2355
|
+
return r && ui(r) && Li(r) && !si(r) ? n : r || ci(e) || n;
|
|
2359
2356
|
}
|
|
2360
|
-
var
|
|
2361
|
-
let t = this.getOffsetParent ||
|
|
2357
|
+
var Bi = async function(e) {
|
|
2358
|
+
let t = this.getOffsetParent || zi, n = this.getDimensions, r = await n(e.floating);
|
|
2362
2359
|
return {
|
|
2363
|
-
reference:
|
|
2360
|
+
reference: Ii(e.reference, await t(e.floating), e.strategy),
|
|
2364
2361
|
floating: {
|
|
2365
2362
|
x: 0,
|
|
2366
2363
|
y: 0,
|
|
@@ -2369,25 +2366,25 @@ var Li = async function(e) {
|
|
|
2369
2366
|
}
|
|
2370
2367
|
};
|
|
2371
2368
|
};
|
|
2372
|
-
function
|
|
2369
|
+
function Vi(e) {
|
|
2373
2370
|
return Q(e).direction === "rtl";
|
|
2374
2371
|
}
|
|
2375
|
-
var
|
|
2376
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2372
|
+
var Hi = {
|
|
2373
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Ti,
|
|
2377
2374
|
getDocumentElement: Y,
|
|
2378
|
-
getClippingRect:
|
|
2379
|
-
getOffsetParent:
|
|
2380
|
-
getElementRects:
|
|
2381
|
-
getClientRects:
|
|
2382
|
-
getDimensions:
|
|
2383
|
-
getScale:
|
|
2375
|
+
getClippingRect: Pi,
|
|
2376
|
+
getOffsetParent: zi,
|
|
2377
|
+
getElementRects: Bi,
|
|
2378
|
+
getClientRects: Ei,
|
|
2379
|
+
getDimensions: Fi,
|
|
2380
|
+
getScale: vi,
|
|
2384
2381
|
isElement: X,
|
|
2385
|
-
isRTL:
|
|
2382
|
+
isRTL: Vi
|
|
2386
2383
|
};
|
|
2387
|
-
function
|
|
2384
|
+
function Ui(e, t) {
|
|
2388
2385
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2389
2386
|
}
|
|
2390
|
-
function
|
|
2387
|
+
function Wi(e, t) {
|
|
2391
2388
|
let n = null, r, i = Y(e);
|
|
2392
2389
|
function a() {
|
|
2393
2390
|
var e;
|
|
@@ -2397,9 +2394,9 @@ function Vi(e, t) {
|
|
|
2397
2394
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2398
2395
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2399
2396
|
if (s || t(), !f || !p) return;
|
|
2400
|
-
let m =
|
|
2397
|
+
let m = hr(d), h = hr(i.clientWidth - (u + f)), g = hr(i.clientHeight - (d + p)), _ = hr(u), v = {
|
|
2401
2398
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2402
|
-
threshold: U(0,
|
|
2399
|
+
threshold: U(0, pr(1, c)) || 1
|
|
2403
2400
|
}, y = !0;
|
|
2404
2401
|
function b(t) {
|
|
2405
2402
|
let n = t[0].intersectionRatio;
|
|
@@ -2409,7 +2406,7 @@ function Vi(e, t) {
|
|
|
2409
2406
|
o(!1, 1e-7);
|
|
2410
2407
|
}, 1e3);
|
|
2411
2408
|
}
|
|
2412
|
-
n === 1 && !
|
|
2409
|
+
n === 1 && !Ui(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2413
2410
|
}
|
|
2414
2411
|
try {
|
|
2415
2412
|
n = new IntersectionObserver(b, {
|
|
@@ -2423,13 +2420,13 @@ function Vi(e, t) {
|
|
|
2423
2420
|
}
|
|
2424
2421
|
return o(!0), a;
|
|
2425
2422
|
}
|
|
2426
|
-
function
|
|
2423
|
+
function Gi(e, t, n, r) {
|
|
2427
2424
|
r === void 0 && (r = {});
|
|
2428
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2425
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = _i(e), u = i || a ? [...l ? mi(l) : [], ...t ? mi(t) : []] : [];
|
|
2429
2426
|
u.forEach((e) => {
|
|
2430
2427
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2431
2428
|
});
|
|
2432
|
-
let d = l && s ?
|
|
2429
|
+
let d = l && s ? Wi(l, n) : null, f = -1, p = null;
|
|
2433
2430
|
o && (p = new ResizeObserver((e) => {
|
|
2434
2431
|
let [r] = e;
|
|
2435
2432
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2437,11 +2434,11 @@ function Hi(e, t, n, r) {
|
|
|
2437
2434
|
(e = p) == null || e.observe(t);
|
|
2438
2435
|
})), n();
|
|
2439
2436
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2440
|
-
let m, h = c ?
|
|
2437
|
+
let m, h = c ? Si(e) : null;
|
|
2441
2438
|
c && g();
|
|
2442
2439
|
function g() {
|
|
2443
|
-
let t =
|
|
2444
|
-
h && !
|
|
2440
|
+
let t = Si(e);
|
|
2441
|
+
h && !Ui(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2445
2442
|
}
|
|
2446
2443
|
return n(), () => {
|
|
2447
2444
|
var e;
|
|
@@ -2450,20 +2447,20 @@ function Hi(e, t, n, r) {
|
|
|
2450
2447
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2451
2448
|
};
|
|
2452
2449
|
}
|
|
2453
|
-
var
|
|
2450
|
+
var Ki = Kr, qi = qr, Ji = Br, Yi = Yr, Xi = Ur, Zi = zr, Qi = Jr, $i = (e, t, n) => {
|
|
2454
2451
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2455
|
-
platform:
|
|
2452
|
+
platform: Hi,
|
|
2456
2453
|
...n
|
|
2457
2454
|
}, a = {
|
|
2458
2455
|
...i.platform,
|
|
2459
2456
|
_c: r
|
|
2460
2457
|
};
|
|
2461
|
-
return
|
|
2458
|
+
return Rr(e, t, {
|
|
2462
2459
|
...i,
|
|
2463
2460
|
platform: a
|
|
2464
2461
|
});
|
|
2465
|
-
},
|
|
2466
|
-
function
|
|
2462
|
+
}, ea = typeof document < "u" ? P.useLayoutEffect : function() {};
|
|
2463
|
+
function ta(e, t) {
|
|
2467
2464
|
if (e === t) return !0;
|
|
2468
2465
|
if (typeof e != typeof t) return !1;
|
|
2469
2466
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2471,33 +2468,33 @@ function Qi(e, t) {
|
|
|
2471
2468
|
if (e && t && typeof e == "object") {
|
|
2472
2469
|
if (Array.isArray(e)) {
|
|
2473
2470
|
if (n = e.length, n !== t.length) return !1;
|
|
2474
|
-
for (r = n; r-- !== 0;) if (!
|
|
2471
|
+
for (r = n; r-- !== 0;) if (!ta(e[r], t[r])) return !1;
|
|
2475
2472
|
return !0;
|
|
2476
2473
|
}
|
|
2477
2474
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2478
2475
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2479
2476
|
for (r = n; r-- !== 0;) {
|
|
2480
2477
|
let n = i[r];
|
|
2481
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2478
|
+
if (!(n === "_owner" && e.$$typeof) && !ta(e[n], t[n])) return !1;
|
|
2482
2479
|
}
|
|
2483
2480
|
return !0;
|
|
2484
2481
|
}
|
|
2485
2482
|
return e !== e && t !== t;
|
|
2486
2483
|
}
|
|
2487
|
-
function
|
|
2484
|
+
function na(e) {
|
|
2488
2485
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2489
2486
|
}
|
|
2490
|
-
function
|
|
2491
|
-
let n =
|
|
2487
|
+
function ra(e, t) {
|
|
2488
|
+
let n = na(e);
|
|
2492
2489
|
return Math.round(t * n) / n;
|
|
2493
2490
|
}
|
|
2494
|
-
function
|
|
2491
|
+
function ia(e) {
|
|
2495
2492
|
let t = P.useRef(e);
|
|
2496
|
-
return
|
|
2493
|
+
return ea(() => {
|
|
2497
2494
|
t.current = e;
|
|
2498
2495
|
}), t;
|
|
2499
2496
|
}
|
|
2500
|
-
function
|
|
2497
|
+
function aa(e) {
|
|
2501
2498
|
e === void 0 && (e = {});
|
|
2502
2499
|
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = P.useState({
|
|
2503
2500
|
x: 0,
|
|
@@ -2507,24 +2504,24 @@ function na(e) {
|
|
|
2507
2504
|
middlewareData: {},
|
|
2508
2505
|
isPositioned: !1
|
|
2509
2506
|
}), [f, p] = P.useState(r);
|
|
2510
|
-
|
|
2507
|
+
ta(f, r) || p(r);
|
|
2511
2508
|
let [m, h] = P.useState(null), [g, _] = P.useState(null), v = P.useCallback((e) => {
|
|
2512
2509
|
e !== S.current && (S.current = e, h(e));
|
|
2513
2510
|
}, []), y = P.useCallback((e) => {
|
|
2514
2511
|
e !== C.current && (C.current = e, _(e));
|
|
2515
|
-
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null,
|
|
2512
|
+
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null, ee = ia(c), E = ia(i), te = ia(l), D = P.useCallback(() => {
|
|
2516
2513
|
if (!S.current || !C.current) return;
|
|
2517
2514
|
let e = {
|
|
2518
2515
|
placement: t,
|
|
2519
2516
|
strategy: n,
|
|
2520
2517
|
middleware: f
|
|
2521
2518
|
};
|
|
2522
|
-
|
|
2519
|
+
E.current && (e.platform = E.current), $i(S.current, C.current, e).then((e) => {
|
|
2523
2520
|
let t = {
|
|
2524
2521
|
...e,
|
|
2525
|
-
isPositioned:
|
|
2522
|
+
isPositioned: te.current !== !1
|
|
2526
2523
|
};
|
|
2527
|
-
|
|
2524
|
+
O.current && !ta(w.current, t) && (w.current = t, _t.flushSync(() => {
|
|
2528
2525
|
d(t);
|
|
2529
2526
|
}));
|
|
2530
2527
|
});
|
|
@@ -2532,31 +2529,31 @@ function na(e) {
|
|
|
2532
2529
|
f,
|
|
2533
2530
|
t,
|
|
2534
2531
|
n,
|
|
2535
|
-
|
|
2536
|
-
|
|
2532
|
+
E,
|
|
2533
|
+
te
|
|
2537
2534
|
]);
|
|
2538
|
-
|
|
2535
|
+
ea(() => {
|
|
2539
2536
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2540
2537
|
...e,
|
|
2541
2538
|
isPositioned: !1
|
|
2542
2539
|
})));
|
|
2543
2540
|
}, [l]);
|
|
2544
|
-
let
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
}), []),
|
|
2541
|
+
let O = P.useRef(!1);
|
|
2542
|
+
ea(() => (O.current = !0, () => {
|
|
2543
|
+
O.current = !1;
|
|
2544
|
+
}), []), ea(() => {
|
|
2548
2545
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2549
|
-
if (
|
|
2550
|
-
|
|
2546
|
+
if (ee.current) return ee.current(b, x, D);
|
|
2547
|
+
D();
|
|
2551
2548
|
}
|
|
2552
2549
|
}, [
|
|
2553
2550
|
b,
|
|
2554
2551
|
x,
|
|
2555
|
-
|
|
2556
|
-
|
|
2552
|
+
D,
|
|
2553
|
+
ee,
|
|
2557
2554
|
T
|
|
2558
2555
|
]);
|
|
2559
|
-
let
|
|
2556
|
+
let k = P.useMemo(() => ({
|
|
2560
2557
|
reference: S,
|
|
2561
2558
|
floating: C,
|
|
2562
2559
|
setReference: v,
|
|
@@ -2571,11 +2568,11 @@ function na(e) {
|
|
|
2571
2568
|
top: 0
|
|
2572
2569
|
};
|
|
2573
2570
|
if (!A.floating) return e;
|
|
2574
|
-
let t =
|
|
2571
|
+
let t = ra(A.floating, u.x), r = ra(A.floating, u.y);
|
|
2575
2572
|
return s ? {
|
|
2576
2573
|
...e,
|
|
2577
2574
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2578
|
-
|
|
2575
|
+
...na(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2579
2576
|
} : {
|
|
2580
2577
|
position: n,
|
|
2581
2578
|
left: t,
|
|
@@ -2590,19 +2587,19 @@ function na(e) {
|
|
|
2590
2587
|
]);
|
|
2591
2588
|
return P.useMemo(() => ({
|
|
2592
2589
|
...u,
|
|
2593
|
-
update:
|
|
2594
|
-
refs:
|
|
2590
|
+
update: D,
|
|
2591
|
+
refs: k,
|
|
2595
2592
|
elements: A,
|
|
2596
2593
|
floatingStyles: j
|
|
2597
2594
|
}), [
|
|
2598
2595
|
u,
|
|
2599
|
-
|
|
2600
|
-
|
|
2596
|
+
D,
|
|
2597
|
+
k,
|
|
2601
2598
|
A,
|
|
2602
2599
|
j
|
|
2603
2600
|
]);
|
|
2604
2601
|
}
|
|
2605
|
-
var
|
|
2602
|
+
var oa = (e) => {
|
|
2606
2603
|
function t(e) {
|
|
2607
2604
|
return {}.hasOwnProperty.call(e, "current");
|
|
2608
2605
|
}
|
|
@@ -2611,61 +2608,61 @@ var ra = (e) => {
|
|
|
2611
2608
|
options: e,
|
|
2612
2609
|
fn(n) {
|
|
2613
2610
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2614
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2611
|
+
return r && t(r) ? r.current == null ? {} : Zi({
|
|
2615
2612
|
element: r.current,
|
|
2616
2613
|
padding: i
|
|
2617
|
-
}).fn(n) : r ?
|
|
2614
|
+
}).fn(n) : r ? Zi({
|
|
2618
2615
|
element: r,
|
|
2619
2616
|
padding: i
|
|
2620
2617
|
}).fn(n) : {};
|
|
2621
2618
|
}
|
|
2622
2619
|
};
|
|
2623
|
-
},
|
|
2624
|
-
let n =
|
|
2620
|
+
}, sa = (e, t) => {
|
|
2621
|
+
let n = Ki(e);
|
|
2625
2622
|
return {
|
|
2626
2623
|
name: n.name,
|
|
2627
2624
|
fn: n.fn,
|
|
2628
2625
|
options: [e, t]
|
|
2629
2626
|
};
|
|
2630
|
-
},
|
|
2631
|
-
let n =
|
|
2627
|
+
}, ca = (e, t) => {
|
|
2628
|
+
let n = qi(e);
|
|
2632
2629
|
return {
|
|
2633
2630
|
name: n.name,
|
|
2634
2631
|
fn: n.fn,
|
|
2635
2632
|
options: [e, t]
|
|
2636
2633
|
};
|
|
2637
|
-
},
|
|
2638
|
-
fn:
|
|
2634
|
+
}, la = (e, t) => ({
|
|
2635
|
+
fn: Qi(e).fn,
|
|
2639
2636
|
options: [e, t]
|
|
2640
|
-
}),
|
|
2641
|
-
let n =
|
|
2637
|
+
}), ua = (e, t) => {
|
|
2638
|
+
let n = Ji(e);
|
|
2642
2639
|
return {
|
|
2643
2640
|
name: n.name,
|
|
2644
2641
|
fn: n.fn,
|
|
2645
2642
|
options: [e, t]
|
|
2646
2643
|
};
|
|
2647
|
-
},
|
|
2648
|
-
let n =
|
|
2644
|
+
}, da = (e, t) => {
|
|
2645
|
+
let n = Yi(e);
|
|
2649
2646
|
return {
|
|
2650
2647
|
name: n.name,
|
|
2651
2648
|
fn: n.fn,
|
|
2652
2649
|
options: [e, t]
|
|
2653
2650
|
};
|
|
2654
|
-
},
|
|
2655
|
-
let n =
|
|
2651
|
+
}, fa = (e, t) => {
|
|
2652
|
+
let n = Xi(e);
|
|
2656
2653
|
return {
|
|
2657
2654
|
name: n.name,
|
|
2658
2655
|
fn: n.fn,
|
|
2659
2656
|
options: [e, t]
|
|
2660
2657
|
};
|
|
2661
|
-
},
|
|
2662
|
-
let n =
|
|
2658
|
+
}, pa = (e, t) => {
|
|
2659
|
+
let n = oa(e);
|
|
2663
2660
|
return {
|
|
2664
2661
|
name: n.name,
|
|
2665
2662
|
fn: n.fn,
|
|
2666
2663
|
options: [e, t]
|
|
2667
2664
|
};
|
|
2668
|
-
},
|
|
2665
|
+
}, ma = "Arrow", ha = P.forwardRef((e, t) => {
|
|
2669
2666
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2670
2667
|
return /* @__PURE__ */ (0, F.jsx)(V.svg, {
|
|
2671
2668
|
...a,
|
|
@@ -2677,13 +2674,13 @@ var ra = (e) => {
|
|
|
2677
2674
|
children: e.asChild ? n : /* @__PURE__ */ (0, F.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2678
2675
|
});
|
|
2679
2676
|
});
|
|
2680
|
-
|
|
2681
|
-
var
|
|
2677
|
+
ha.displayName = ma;
|
|
2678
|
+
var ga = ha;
|
|
2682
2679
|
//#endregion
|
|
2683
2680
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2684
|
-
function
|
|
2681
|
+
function _a(e) {
|
|
2685
2682
|
let [t, n] = P.useState(void 0);
|
|
2686
|
-
return
|
|
2683
|
+
return cr(() => {
|
|
2687
2684
|
if (e) {
|
|
2688
2685
|
n({
|
|
2689
2686
|
width: e.offsetWidth,
|
|
@@ -2707,18 +2704,18 @@ function ma(e) {
|
|
|
2707
2704
|
}
|
|
2708
2705
|
//#endregion
|
|
2709
2706
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2710
|
-
var
|
|
2707
|
+
var va = "Popper", [ya, ba] = bn(va), [xa, Sa] = ya(va), Ca = (e) => {
|
|
2711
2708
|
let { __scopePopper: t, children: n } = e, [r, i] = P.useState(null);
|
|
2712
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
2709
|
+
return /* @__PURE__ */ (0, F.jsx)(xa, {
|
|
2713
2710
|
scope: t,
|
|
2714
2711
|
anchor: r,
|
|
2715
2712
|
onAnchorChange: i,
|
|
2716
2713
|
children: n
|
|
2717
2714
|
});
|
|
2718
2715
|
};
|
|
2719
|
-
|
|
2720
|
-
var
|
|
2721
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2716
|
+
Ca.displayName = va;
|
|
2717
|
+
var wa = "PopperAnchor", Ta = P.forwardRef((e, t) => {
|
|
2718
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Sa(wa, n), o = P.useRef(null), s = B(t, o), c = P.useRef(null);
|
|
2722
2719
|
return P.useEffect(() => {
|
|
2723
2720
|
let e = c.current;
|
|
2724
2721
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2727,68 +2724,68 @@ var xa = "PopperAnchor", Sa = P.forwardRef((e, t) => {
|
|
|
2727
2724
|
ref: s
|
|
2728
2725
|
});
|
|
2729
2726
|
});
|
|
2730
|
-
|
|
2731
|
-
var
|
|
2732
|
-
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g =
|
|
2727
|
+
Ta.displayName = wa;
|
|
2728
|
+
var Ea = "PopperContent", [Da, Oa] = ya(Ea), ka = P.forwardRef((e, t) => {
|
|
2729
|
+
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g = Sa(Ea, n), [_, v] = P.useState(null), y = B(t, (e) => v(e)), [b, x] = P.useState(null), S = _a(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2733
2730
|
top: 0,
|
|
2734
2731
|
right: 0,
|
|
2735
2732
|
bottom: 0,
|
|
2736
2733
|
left: 0,
|
|
2737
2734
|
...u
|
|
2738
|
-
},
|
|
2739
|
-
padding:
|
|
2740
|
-
boundary:
|
|
2741
|
-
altBoundary:
|
|
2742
|
-
}, { refs:
|
|
2735
|
+
}, E = Array.isArray(l) ? l : [l], te = E.length > 0, D = {
|
|
2736
|
+
padding: ee,
|
|
2737
|
+
boundary: E.filter(Na),
|
|
2738
|
+
altBoundary: te
|
|
2739
|
+
}, { refs: O, floatingStyles: k, placement: A, isPositioned: j, middlewareData: ne } = aa({
|
|
2743
2740
|
strategy: "fixed",
|
|
2744
2741
|
placement: T,
|
|
2745
|
-
whileElementsMounted: (...e) =>
|
|
2742
|
+
whileElementsMounted: (...e) => Gi(...e, { animationFrame: p === "always" }),
|
|
2746
2743
|
elements: { reference: g.anchor },
|
|
2747
2744
|
middleware: [
|
|
2748
|
-
|
|
2745
|
+
sa({
|
|
2749
2746
|
mainAxis: i + w,
|
|
2750
2747
|
alignmentAxis: o
|
|
2751
2748
|
}),
|
|
2752
|
-
c &&
|
|
2749
|
+
c && ca({
|
|
2753
2750
|
mainAxis: !0,
|
|
2754
2751
|
crossAxis: !1,
|
|
2755
|
-
limiter: d === "partial" ?
|
|
2756
|
-
...
|
|
2752
|
+
limiter: d === "partial" ? la() : void 0,
|
|
2753
|
+
...D
|
|
2757
2754
|
}),
|
|
2758
|
-
c &&
|
|
2759
|
-
|
|
2760
|
-
...
|
|
2755
|
+
c && ua({ ...D }),
|
|
2756
|
+
da({
|
|
2757
|
+
...D,
|
|
2761
2758
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2762
2759
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2763
2760
|
o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
|
|
2764
2761
|
}
|
|
2765
2762
|
}),
|
|
2766
|
-
b &&
|
|
2763
|
+
b && pa({
|
|
2767
2764
|
element: b,
|
|
2768
2765
|
padding: s
|
|
2769
2766
|
}),
|
|
2770
|
-
|
|
2767
|
+
Pa({
|
|
2771
2768
|
arrowWidth: C,
|
|
2772
2769
|
arrowHeight: w
|
|
2773
2770
|
}),
|
|
2774
|
-
f &&
|
|
2771
|
+
f && fa({
|
|
2775
2772
|
strategy: "referenceHidden",
|
|
2776
|
-
...
|
|
2773
|
+
...D
|
|
2777
2774
|
})
|
|
2778
2775
|
]
|
|
2779
|
-
}), [re, ie] =
|
|
2780
|
-
|
|
2776
|
+
}), [re, ie] = Fa(A), ae = kn(m);
|
|
2777
|
+
cr(() => {
|
|
2781
2778
|
j && ae?.();
|
|
2782
2779
|
}, [j, ae]);
|
|
2783
|
-
let oe = ne.arrow?.x,
|
|
2784
|
-
return
|
|
2780
|
+
let oe = ne.arrow?.x, se = ne.arrow?.y, M = ne.arrow?.centerOffset !== 0, [ce, le] = P.useState();
|
|
2781
|
+
return cr(() => {
|
|
2785
2782
|
_ && le(window.getComputedStyle(_).zIndex);
|
|
2786
2783
|
}, [_]), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
2787
|
-
ref:
|
|
2784
|
+
ref: O.setFloating,
|
|
2788
2785
|
"data-radix-popper-content-wrapper": "",
|
|
2789
2786
|
style: {
|
|
2790
|
-
...
|
|
2791
|
-
transform: j ?
|
|
2787
|
+
...k,
|
|
2788
|
+
transform: j ? k.transform : "translate(0, -200%)",
|
|
2792
2789
|
minWidth: "max-content",
|
|
2793
2790
|
zIndex: ce,
|
|
2794
2791
|
"--radix-popper-transform-origin": [ne.transformOrigin?.x, ne.transformOrigin?.y].join(" "),
|
|
@@ -2798,13 +2795,13 @@ var Ca = "PopperContent", [wa, Ta] = ga(Ca), Ea = P.forwardRef((e, t) => {
|
|
|
2798
2795
|
}
|
|
2799
2796
|
},
|
|
2800
2797
|
dir: e.dir,
|
|
2801
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
2798
|
+
children: /* @__PURE__ */ (0, F.jsx)(Da, {
|
|
2802
2799
|
scope: n,
|
|
2803
2800
|
placedSide: re,
|
|
2804
2801
|
onArrowChange: x,
|
|
2805
2802
|
arrowX: oe,
|
|
2806
|
-
arrowY:
|
|
2807
|
-
shouldHideArrow:
|
|
2803
|
+
arrowY: se,
|
|
2804
|
+
shouldHideArrow: M,
|
|
2808
2805
|
children: /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2809
2806
|
"data-side": re,
|
|
2810
2807
|
"data-align": ie,
|
|
@@ -2818,14 +2815,14 @@ var Ca = "PopperContent", [wa, Ta] = ga(Ca), Ea = P.forwardRef((e, t) => {
|
|
|
2818
2815
|
})
|
|
2819
2816
|
});
|
|
2820
2817
|
});
|
|
2821
|
-
|
|
2822
|
-
var
|
|
2818
|
+
ka.displayName = Ea;
|
|
2819
|
+
var Aa = "PopperArrow", ja = {
|
|
2823
2820
|
top: "bottom",
|
|
2824
2821
|
right: "left",
|
|
2825
2822
|
bottom: "top",
|
|
2826
2823
|
left: "right"
|
|
2827
|
-
},
|
|
2828
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2824
|
+
}, Ma = P.forwardRef(function(e, t) {
|
|
2825
|
+
let { __scopePopper: n, ...r } = e, i = Oa(Aa, n), a = ja[i.placedSide];
|
|
2829
2826
|
return /* @__PURE__ */ (0, F.jsx)("span", {
|
|
2830
2827
|
ref: i.onArrowChange,
|
|
2831
2828
|
style: {
|
|
@@ -2847,7 +2844,7 @@ var Da = "PopperArrow", Oa = {
|
|
|
2847
2844
|
}[i.placedSide],
|
|
2848
2845
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2849
2846
|
},
|
|
2850
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
2847
|
+
children: /* @__PURE__ */ (0, F.jsx)(ga, {
|
|
2851
2848
|
...r,
|
|
2852
2849
|
ref: t,
|
|
2853
2850
|
style: {
|
|
@@ -2857,15 +2854,15 @@ var Da = "PopperArrow", Oa = {
|
|
|
2857
2854
|
})
|
|
2858
2855
|
});
|
|
2859
2856
|
});
|
|
2860
|
-
|
|
2861
|
-
function
|
|
2857
|
+
Ma.displayName = Aa;
|
|
2858
|
+
function Na(e) {
|
|
2862
2859
|
return e !== null;
|
|
2863
2860
|
}
|
|
2864
|
-
var
|
|
2861
|
+
var Pa = (e) => ({
|
|
2865
2862
|
name: "transformOrigin",
|
|
2866
2863
|
options: e,
|
|
2867
2864
|
fn(t) {
|
|
2868
|
-
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] =
|
|
2865
|
+
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = Fa(n), u = {
|
|
2869
2866
|
start: "0%",
|
|
2870
2867
|
center: "50%",
|
|
2871
2868
|
end: "100%"
|
|
@@ -2876,32 +2873,32 @@ var ja = (e) => ({
|
|
|
2876
2873
|
} };
|
|
2877
2874
|
}
|
|
2878
2875
|
});
|
|
2879
|
-
function
|
|
2876
|
+
function Fa(e) {
|
|
2880
2877
|
let [t, n = "center"] = e.split("-");
|
|
2881
2878
|
return [t, n];
|
|
2882
2879
|
}
|
|
2883
|
-
var
|
|
2880
|
+
var Ia = Ca, La = Ta, Ra = ka, za = Ma, Ba = "Portal", Va = P.forwardRef((e, t) => {
|
|
2884
2881
|
let { container: n, ...r } = e, [i, a] = P.useState(!1);
|
|
2885
|
-
|
|
2882
|
+
cr(() => a(!0), []);
|
|
2886
2883
|
let o = n || i && globalThis?.document?.body;
|
|
2887
|
-
return o ?
|
|
2884
|
+
return o ? _t.createPortal(/* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2888
2885
|
...r,
|
|
2889
2886
|
ref: t
|
|
2890
2887
|
}), o) : null;
|
|
2891
2888
|
});
|
|
2892
|
-
|
|
2889
|
+
Va.displayName = Ba;
|
|
2893
2890
|
//#endregion
|
|
2894
2891
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2895
|
-
function
|
|
2892
|
+
function Ha(e, t) {
|
|
2896
2893
|
return P.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2897
2894
|
}
|
|
2898
|
-
var
|
|
2899
|
-
let { present: t, children: n } = e, r =
|
|
2895
|
+
var Ua = (e) => {
|
|
2896
|
+
let { present: t, children: n } = e, r = Wa(t), i = typeof n == "function" ? n({ present: r.isPresent }) : P.Children.only(n), a = B(r.ref, Ka(i));
|
|
2900
2897
|
return typeof n == "function" || r.isPresent ? P.cloneElement(i, { ref: a }) : null;
|
|
2901
2898
|
};
|
|
2902
|
-
|
|
2903
|
-
function
|
|
2904
|
-
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] =
|
|
2899
|
+
Ua.displayName = "Presence";
|
|
2900
|
+
function Wa(e) {
|
|
2901
|
+
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] = Ha(e ? "mounted" : "unmounted", {
|
|
2905
2902
|
mounted: {
|
|
2906
2903
|
UNMOUNT: "unmounted",
|
|
2907
2904
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2913,18 +2910,18 @@ function Va(e) {
|
|
|
2913
2910
|
unmounted: { MOUNT: "mounted" }
|
|
2914
2911
|
});
|
|
2915
2912
|
return P.useEffect(() => {
|
|
2916
|
-
let e =
|
|
2913
|
+
let e = Ga(r.current);
|
|
2917
2914
|
a.current = o === "mounted" ? e : "none";
|
|
2918
|
-
}, [o]),
|
|
2915
|
+
}, [o]), cr(() => {
|
|
2919
2916
|
let t = r.current, n = i.current;
|
|
2920
2917
|
if (n !== e) {
|
|
2921
|
-
let r = a.current, o =
|
|
2918
|
+
let r = a.current, o = Ga(t);
|
|
2922
2919
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2923
2920
|
}
|
|
2924
|
-
}, [e, s]),
|
|
2921
|
+
}, [e, s]), cr(() => {
|
|
2925
2922
|
if (t) {
|
|
2926
2923
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2927
|
-
let o =
|
|
2924
|
+
let o = Ga(r.current).includes(CSS.escape(a.animationName));
|
|
2928
2925
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2929
2926
|
let r = t.style.animationFillMode;
|
|
2930
2927
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2932,7 +2929,7 @@ function Va(e) {
|
|
|
2932
2929
|
});
|
|
2933
2930
|
}
|
|
2934
2931
|
}, c = (e) => {
|
|
2935
|
-
e.target === t && (a.current =
|
|
2932
|
+
e.target === t && (a.current = Ga(r.current));
|
|
2936
2933
|
};
|
|
2937
2934
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2938
2935
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2945,18 +2942,18 @@ function Va(e) {
|
|
|
2945
2942
|
}, [])
|
|
2946
2943
|
};
|
|
2947
2944
|
}
|
|
2948
|
-
function
|
|
2945
|
+
function Ga(e) {
|
|
2949
2946
|
return e?.animationName || "none";
|
|
2950
2947
|
}
|
|
2951
|
-
function
|
|
2948
|
+
function Ka(e) {
|
|
2952
2949
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2953
2950
|
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);
|
|
2954
2951
|
}
|
|
2955
2952
|
//#endregion
|
|
2956
2953
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2957
|
-
var
|
|
2958
|
-
function
|
|
2959
|
-
let [i, a, o] =
|
|
2954
|
+
var qa = P.useInsertionEffect || cr;
|
|
2955
|
+
function Ja({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2956
|
+
let [i, a, o] = Ya({
|
|
2960
2957
|
defaultProp: t,
|
|
2961
2958
|
onChange: n
|
|
2962
2959
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2969,7 +2966,7 @@ function Ga({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2969
2966
|
}
|
|
2970
2967
|
return [c, P.useCallback((t) => {
|
|
2971
2968
|
if (s) {
|
|
2972
|
-
let n =
|
|
2969
|
+
let n = Xa(t) ? t(e) : t;
|
|
2973
2970
|
n !== e && o.current?.(n);
|
|
2974
2971
|
} else a(t);
|
|
2975
2972
|
}, [
|
|
@@ -2979,9 +2976,9 @@ function Ga({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2979
2976
|
o
|
|
2980
2977
|
])];
|
|
2981
2978
|
}
|
|
2982
|
-
function
|
|
2979
|
+
function Ya({ defaultProp: e, onChange: t }) {
|
|
2983
2980
|
let [n, r] = P.useState(e), i = P.useRef(n), a = P.useRef(t);
|
|
2984
|
-
return
|
|
2981
|
+
return qa(() => {
|
|
2985
2982
|
a.current = t;
|
|
2986
2983
|
}, [t]), P.useEffect(() => {
|
|
2987
2984
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2991,27 +2988,27 @@ function Ka({ defaultProp: e, onChange: t }) {
|
|
|
2991
2988
|
a
|
|
2992
2989
|
];
|
|
2993
2990
|
}
|
|
2994
|
-
function
|
|
2991
|
+
function Xa(e) {
|
|
2995
2992
|
return typeof e == "function";
|
|
2996
2993
|
}
|
|
2997
2994
|
//#endregion
|
|
2998
2995
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2999
|
-
var
|
|
2996
|
+
var Za = function(e) {
|
|
3000
2997
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
3001
|
-
},
|
|
3002
|
-
return e && (e.host ||
|
|
3003
|
-
},
|
|
2998
|
+
}, Qa = /* @__PURE__ */ new WeakMap(), $a = /* @__PURE__ */ new WeakMap(), eo = {}, to = 0, no = function(e) {
|
|
2999
|
+
return e && (e.host || no(e.parentNode));
|
|
3000
|
+
}, ro = function(e, t) {
|
|
3004
3001
|
return t.map(function(t) {
|
|
3005
3002
|
if (e.contains(t)) return t;
|
|
3006
|
-
var n =
|
|
3003
|
+
var n = no(t);
|
|
3007
3004
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
3008
3005
|
}).filter(function(e) {
|
|
3009
3006
|
return !!e;
|
|
3010
3007
|
});
|
|
3011
|
-
},
|
|
3012
|
-
var i =
|
|
3013
|
-
|
|
3014
|
-
var a =
|
|
3008
|
+
}, io = function(e, t, n, r) {
|
|
3009
|
+
var i = ro(t, Array.isArray(e) ? e : [e]);
|
|
3010
|
+
eo[n] || (eo[n] = /* @__PURE__ */ new WeakMap());
|
|
3011
|
+
var a = eo[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
3015
3012
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
3016
3013
|
};
|
|
3017
3014
|
i.forEach(l);
|
|
@@ -3019,23 +3016,23 @@ var Ja = function(e) {
|
|
|
3019
3016
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
3020
3017
|
if (s.has(e)) u(e);
|
|
3021
3018
|
else try {
|
|
3022
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3023
|
-
|
|
3019
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Qa.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3020
|
+
Qa.set(e, c), a.set(e, l), o.push(e), c === 1 && i && $a.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3024
3021
|
} catch (t) {
|
|
3025
3022
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3026
3023
|
}
|
|
3027
3024
|
});
|
|
3028
3025
|
};
|
|
3029
|
-
return u(t), s.clear(),
|
|
3026
|
+
return u(t), s.clear(), to++, function() {
|
|
3030
3027
|
o.forEach(function(e) {
|
|
3031
|
-
var t =
|
|
3032
|
-
|
|
3033
|
-
}),
|
|
3028
|
+
var t = Qa.get(e) - 1, i = a.get(e) - 1;
|
|
3029
|
+
Qa.set(e, t), a.set(e, i), t || ($a.has(e) || e.removeAttribute(r), $a.delete(e)), i || e.removeAttribute(n);
|
|
3030
|
+
}), to--, to || (Qa = /* @__PURE__ */ new WeakMap(), Qa = /* @__PURE__ */ new WeakMap(), $a = /* @__PURE__ */ new WeakMap(), eo = {});
|
|
3034
3031
|
};
|
|
3035
|
-
},
|
|
3032
|
+
}, ao = function(e, t, n) {
|
|
3036
3033
|
n === void 0 && (n = "data-aria-hidden");
|
|
3037
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3038
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3034
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Za(e);
|
|
3035
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), io(r, i, n, "aria-hidden")) : function() {
|
|
3039
3036
|
return null;
|
|
3040
3037
|
};
|
|
3041
3038
|
}, $ = function() {
|
|
@@ -3044,13 +3041,13 @@ var Ja = function(e) {
|
|
|
3044
3041
|
return e;
|
|
3045
3042
|
}, $.apply(this, arguments);
|
|
3046
3043
|
};
|
|
3047
|
-
function
|
|
3044
|
+
function oo(e, t) {
|
|
3048
3045
|
var n = {};
|
|
3049
3046
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3050
3047
|
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]]);
|
|
3051
3048
|
return n;
|
|
3052
3049
|
}
|
|
3053
|
-
function
|
|
3050
|
+
function so(e, t, n, r) {
|
|
3054
3051
|
function i(e) {
|
|
3055
3052
|
return e instanceof n ? e : new n(function(t) {
|
|
3056
3053
|
t(e);
|
|
@@ -3077,7 +3074,7 @@ function io(e, t, n, r) {
|
|
|
3077
3074
|
c((r = r.apply(e, t || [])).next());
|
|
3078
3075
|
});
|
|
3079
3076
|
}
|
|
3080
|
-
function
|
|
3077
|
+
function co(e, t) {
|
|
3081
3078
|
var n = {
|
|
3082
3079
|
label: 0,
|
|
3083
3080
|
sent: function() {
|
|
@@ -3147,7 +3144,7 @@ function ao(e, t) {
|
|
|
3147
3144
|
};
|
|
3148
3145
|
}
|
|
3149
3146
|
}
|
|
3150
|
-
function
|
|
3147
|
+
function lo(e, t) {
|
|
3151
3148
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3152
3149
|
if (!n) return e;
|
|
3153
3150
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3164,25 +3161,25 @@ function oo(e, t) {
|
|
|
3164
3161
|
}
|
|
3165
3162
|
return a;
|
|
3166
3163
|
}
|
|
3167
|
-
function
|
|
3168
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3164
|
+
function uo() {
|
|
3165
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(lo(arguments[t]));
|
|
3169
3166
|
return e;
|
|
3170
3167
|
}
|
|
3171
|
-
function
|
|
3168
|
+
function fo(e, t, n) {
|
|
3172
3169
|
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]);
|
|
3173
3170
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3174
3171
|
}
|
|
3175
3172
|
//#endregion
|
|
3176
3173
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3177
|
-
var
|
|
3174
|
+
var po = "right-scroll-bar-position", mo = "width-before-scroll-bar", ho = "with-scroll-bars-hidden", go = "--removed-body-scroll-bar-size";
|
|
3178
3175
|
//#endregion
|
|
3179
3176
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3180
|
-
function
|
|
3177
|
+
function _o(e, t) {
|
|
3181
3178
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3182
3179
|
}
|
|
3183
3180
|
//#endregion
|
|
3184
3181
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3185
|
-
function
|
|
3182
|
+
function vo(e, t) {
|
|
3186
3183
|
var n = (0, P.useState)(function() {
|
|
3187
3184
|
return {
|
|
3188
3185
|
value: e,
|
|
@@ -3202,33 +3199,33 @@ function ho(e, t) {
|
|
|
3202
3199
|
}
|
|
3203
3200
|
//#endregion
|
|
3204
3201
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3205
|
-
var
|
|
3206
|
-
function
|
|
3207
|
-
var n =
|
|
3202
|
+
var yo = typeof window < "u" ? P.useLayoutEffect : P.useEffect, bo = /* @__PURE__ */ new WeakMap();
|
|
3203
|
+
function xo(e, t) {
|
|
3204
|
+
var n = vo(t || null, function(t) {
|
|
3208
3205
|
return e.forEach(function(e) {
|
|
3209
|
-
return
|
|
3206
|
+
return _o(e, t);
|
|
3210
3207
|
});
|
|
3211
3208
|
});
|
|
3212
|
-
return
|
|
3213
|
-
var t =
|
|
3209
|
+
return yo(function() {
|
|
3210
|
+
var t = bo.get(n);
|
|
3214
3211
|
if (t) {
|
|
3215
3212
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3216
3213
|
r.forEach(function(e) {
|
|
3217
|
-
i.has(e) ||
|
|
3214
|
+
i.has(e) || _o(e, null);
|
|
3218
3215
|
}), i.forEach(function(e) {
|
|
3219
|
-
r.has(e) ||
|
|
3216
|
+
r.has(e) || _o(e, a);
|
|
3220
3217
|
});
|
|
3221
3218
|
}
|
|
3222
|
-
|
|
3219
|
+
bo.set(n, e);
|
|
3223
3220
|
}, [e]), n;
|
|
3224
3221
|
}
|
|
3225
3222
|
//#endregion
|
|
3226
3223
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3227
|
-
function
|
|
3224
|
+
function So(e) {
|
|
3228
3225
|
return e;
|
|
3229
3226
|
}
|
|
3230
|
-
function
|
|
3231
|
-
t === void 0 && (t =
|
|
3227
|
+
function Co(e, t) {
|
|
3228
|
+
t === void 0 && (t = So);
|
|
3232
3229
|
var n = [], r = !1;
|
|
3233
3230
|
return {
|
|
3234
3231
|
read: function() {
|
|
@@ -3281,9 +3278,9 @@ function bo(e, t) {
|
|
|
3281
3278
|
}
|
|
3282
3279
|
};
|
|
3283
3280
|
}
|
|
3284
|
-
function
|
|
3281
|
+
function wo(e) {
|
|
3285
3282
|
e === void 0 && (e = {});
|
|
3286
|
-
var t =
|
|
3283
|
+
var t = Co(null);
|
|
3287
3284
|
return t.options = $({
|
|
3288
3285
|
async: !0,
|
|
3289
3286
|
ssr: !1
|
|
@@ -3291,25 +3288,25 @@ function xo(e) {
|
|
|
3291
3288
|
}
|
|
3292
3289
|
//#endregion
|
|
3293
3290
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3294
|
-
var
|
|
3295
|
-
var t = e.sideCar, n =
|
|
3291
|
+
var To = function(e) {
|
|
3292
|
+
var t = e.sideCar, n = oo(e, ["sideCar"]);
|
|
3296
3293
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3297
3294
|
var r = t.read();
|
|
3298
3295
|
if (!r) throw Error("Sidecar medium not found");
|
|
3299
3296
|
return P.createElement(r, $({}, n));
|
|
3300
3297
|
};
|
|
3301
|
-
|
|
3302
|
-
function
|
|
3303
|
-
return e.useMedium(t),
|
|
3298
|
+
To.isSideCarExport = !0;
|
|
3299
|
+
function Eo(e, t) {
|
|
3300
|
+
return e.useMedium(t), To;
|
|
3304
3301
|
}
|
|
3305
3302
|
//#endregion
|
|
3306
3303
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3307
|
-
var
|
|
3304
|
+
var Do = wo(), Oo = function() {}, ko = P.forwardRef(function(e, t) {
|
|
3308
3305
|
var n = P.useRef(null), r = P.useState({
|
|
3309
|
-
onScrollCapture:
|
|
3310
|
-
onWheelCapture:
|
|
3311
|
-
onTouchMoveCapture:
|
|
3312
|
-
}), 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 =
|
|
3306
|
+
onScrollCapture: Oo,
|
|
3307
|
+
onWheelCapture: Oo,
|
|
3308
|
+
onTouchMoveCapture: Oo
|
|
3309
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = oo(e, [
|
|
3313
3310
|
"forwardProps",
|
|
3314
3311
|
"children",
|
|
3315
3312
|
"className",
|
|
@@ -3323,9 +3320,9 @@ var wo = xo(), To = function() {}, Eo = P.forwardRef(function(e, t) {
|
|
|
3323
3320
|
"allowPinchZoom",
|
|
3324
3321
|
"as",
|
|
3325
3322
|
"gapMode"
|
|
3326
|
-
]), x = f, S =
|
|
3323
|
+
]), x = f, S = xo([n, t]), C = $($({}, b), i);
|
|
3327
3324
|
return P.createElement(P.Fragment, null, u && P.createElement(x, {
|
|
3328
|
-
sideCar:
|
|
3325
|
+
sideCar: Do,
|
|
3329
3326
|
removeScrollBar: l,
|
|
3330
3327
|
shards: d,
|
|
3331
3328
|
noRelative: p,
|
|
@@ -3340,47 +3337,47 @@ var wo = xo(), To = function() {}, Eo = P.forwardRef(function(e, t) {
|
|
|
3340
3337
|
ref: S
|
|
3341
3338
|
}), s));
|
|
3342
3339
|
});
|
|
3343
|
-
|
|
3340
|
+
ko.defaultProps = {
|
|
3344
3341
|
enabled: !0,
|
|
3345
3342
|
removeScrollBar: !0,
|
|
3346
3343
|
inert: !1
|
|
3347
|
-
},
|
|
3348
|
-
fullWidth:
|
|
3349
|
-
zeroRight:
|
|
3344
|
+
}, ko.classNames = {
|
|
3345
|
+
fullWidth: mo,
|
|
3346
|
+
zeroRight: po
|
|
3350
3347
|
};
|
|
3351
3348
|
//#endregion
|
|
3352
3349
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3353
|
-
var
|
|
3354
|
-
if (
|
|
3350
|
+
var Ao, jo = function() {
|
|
3351
|
+
if (Ao) return Ao;
|
|
3355
3352
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3356
3353
|
};
|
|
3357
3354
|
//#endregion
|
|
3358
3355
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3359
|
-
function
|
|
3356
|
+
function Mo() {
|
|
3360
3357
|
if (!document) return null;
|
|
3361
3358
|
var e = document.createElement("style");
|
|
3362
3359
|
e.type = "text/css";
|
|
3363
|
-
var t =
|
|
3360
|
+
var t = jo();
|
|
3364
3361
|
return t && e.setAttribute("nonce", t), e;
|
|
3365
3362
|
}
|
|
3366
|
-
function
|
|
3363
|
+
function No(e, t) {
|
|
3367
3364
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3368
3365
|
}
|
|
3369
|
-
function
|
|
3366
|
+
function Po(e) {
|
|
3370
3367
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3371
3368
|
}
|
|
3372
|
-
var
|
|
3369
|
+
var Fo = function() {
|
|
3373
3370
|
var e = 0, t = null;
|
|
3374
3371
|
return {
|
|
3375
3372
|
add: function(n) {
|
|
3376
|
-
e == 0 && (t =
|
|
3373
|
+
e == 0 && (t = Mo()) && (No(t, n), Po(t)), e++;
|
|
3377
3374
|
},
|
|
3378
3375
|
remove: function() {
|
|
3379
3376
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3380
3377
|
}
|
|
3381
3378
|
};
|
|
3382
|
-
},
|
|
3383
|
-
var e =
|
|
3379
|
+
}, Io = function() {
|
|
3380
|
+
var e = Fo();
|
|
3384
3381
|
return function(t, n) {
|
|
3385
3382
|
P.useEffect(function() {
|
|
3386
3383
|
return e.add(t), function() {
|
|
@@ -3388,43 +3385,43 @@ var Mo = function() {
|
|
|
3388
3385
|
};
|
|
3389
3386
|
}, [t && n]);
|
|
3390
3387
|
};
|
|
3391
|
-
},
|
|
3392
|
-
var e =
|
|
3388
|
+
}, Lo = function() {
|
|
3389
|
+
var e = Io();
|
|
3393
3390
|
return function(t) {
|
|
3394
3391
|
var n = t.styles, r = t.dynamic;
|
|
3395
3392
|
return e(n, r), null;
|
|
3396
3393
|
};
|
|
3397
|
-
},
|
|
3394
|
+
}, Ro = {
|
|
3398
3395
|
left: 0,
|
|
3399
3396
|
top: 0,
|
|
3400
3397
|
right: 0,
|
|
3401
3398
|
gap: 0
|
|
3402
|
-
},
|
|
3399
|
+
}, zo = function(e) {
|
|
3403
3400
|
return parseInt(e || "", 10) || 0;
|
|
3404
|
-
},
|
|
3401
|
+
}, Bo = function(e) {
|
|
3405
3402
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3406
3403
|
return [
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3404
|
+
zo(n),
|
|
3405
|
+
zo(r),
|
|
3406
|
+
zo(i)
|
|
3410
3407
|
];
|
|
3411
|
-
},
|
|
3412
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3413
|
-
var t =
|
|
3408
|
+
}, Vo = function(e) {
|
|
3409
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return Ro;
|
|
3410
|
+
var t = Bo(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3414
3411
|
return {
|
|
3415
3412
|
left: t[0],
|
|
3416
3413
|
top: t[1],
|
|
3417
3414
|
right: t[2],
|
|
3418
3415
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3419
3416
|
};
|
|
3420
|
-
},
|
|
3417
|
+
}, Ho = Lo(), Uo = "data-scroll-locked", Wo = function(e, t, n, r) {
|
|
3421
3418
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3422
3419
|
return n === void 0 && (n = "margin"), `
|
|
3423
|
-
.${
|
|
3420
|
+
.${ho} {
|
|
3424
3421
|
overflow: hidden ${r};
|
|
3425
3422
|
padding-right: ${s}px ${r};
|
|
3426
3423
|
}
|
|
3427
|
-
body[${
|
|
3424
|
+
body[${Uo}] {
|
|
3428
3425
|
overflow: hidden ${r};
|
|
3429
3426
|
overscroll-behavior: contain;
|
|
3430
3427
|
${[
|
|
@@ -3441,122 +3438,122 @@ var Mo = function() {
|
|
|
3441
3438
|
].filter(Boolean).join("")}
|
|
3442
3439
|
}
|
|
3443
3440
|
|
|
3444
|
-
.${
|
|
3441
|
+
.${po} {
|
|
3445
3442
|
right: ${s}px ${r};
|
|
3446
3443
|
}
|
|
3447
3444
|
|
|
3448
|
-
.${
|
|
3445
|
+
.${mo} {
|
|
3449
3446
|
margin-right: ${s}px ${r};
|
|
3450
3447
|
}
|
|
3451
3448
|
|
|
3452
|
-
.${
|
|
3449
|
+
.${po} .${po} {
|
|
3453
3450
|
right: 0 ${r};
|
|
3454
3451
|
}
|
|
3455
3452
|
|
|
3456
|
-
.${
|
|
3453
|
+
.${mo} .${mo} {
|
|
3457
3454
|
margin-right: 0 ${r};
|
|
3458
3455
|
}
|
|
3459
3456
|
|
|
3460
|
-
body[${
|
|
3461
|
-
${
|
|
3457
|
+
body[${Uo}] {
|
|
3458
|
+
${go}: ${s}px;
|
|
3462
3459
|
}
|
|
3463
3460
|
`;
|
|
3464
|
-
},
|
|
3461
|
+
}, Go = function() {
|
|
3465
3462
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3466
3463
|
return isFinite(e) ? e : 0;
|
|
3467
|
-
},
|
|
3464
|
+
}, Ko = function() {
|
|
3468
3465
|
P.useEffect(function() {
|
|
3469
|
-
return document.body.setAttribute(
|
|
3470
|
-
var e =
|
|
3471
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3466
|
+
return document.body.setAttribute(Uo, (Go() + 1).toString()), function() {
|
|
3467
|
+
var e = Go() - 1;
|
|
3468
|
+
e <= 0 ? document.body.removeAttribute(Uo) : document.body.setAttribute(Uo, e.toString());
|
|
3472
3469
|
};
|
|
3473
3470
|
}, []);
|
|
3474
|
-
},
|
|
3471
|
+
}, qo = function(e) {
|
|
3475
3472
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3476
|
-
|
|
3473
|
+
Ko();
|
|
3477
3474
|
var a = P.useMemo(function() {
|
|
3478
|
-
return
|
|
3475
|
+
return Vo(i);
|
|
3479
3476
|
}, [i]);
|
|
3480
|
-
return P.createElement(
|
|
3481
|
-
},
|
|
3477
|
+
return P.createElement(Ho, { styles: Wo(a, !t, i, n ? "" : "!important") });
|
|
3478
|
+
}, Jo = !1;
|
|
3482
3479
|
if (typeof window < "u") try {
|
|
3483
|
-
var
|
|
3484
|
-
return
|
|
3480
|
+
var Yo = Object.defineProperty({}, "passive", { get: function() {
|
|
3481
|
+
return Jo = !0, !0;
|
|
3485
3482
|
} });
|
|
3486
|
-
window.addEventListener("test",
|
|
3483
|
+
window.addEventListener("test", Yo, Yo), window.removeEventListener("test", Yo, Yo);
|
|
3487
3484
|
} catch {
|
|
3488
|
-
|
|
3485
|
+
Jo = !1;
|
|
3489
3486
|
}
|
|
3490
|
-
var
|
|
3487
|
+
var Xo = Jo ? { passive: !1 } : !1, Zo = function(e) {
|
|
3491
3488
|
return e.tagName === "TEXTAREA";
|
|
3492
|
-
},
|
|
3489
|
+
}, Qo = function(e, t) {
|
|
3493
3490
|
if (!(e instanceof Element)) return !1;
|
|
3494
3491
|
var n = window.getComputedStyle(e);
|
|
3495
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3496
|
-
},
|
|
3497
|
-
return
|
|
3498
|
-
},
|
|
3499
|
-
return
|
|
3500
|
-
},
|
|
3492
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !Zo(e) && n[t] === "visible");
|
|
3493
|
+
}, $o = function(e) {
|
|
3494
|
+
return Qo(e, "overflowY");
|
|
3495
|
+
}, es = function(e) {
|
|
3496
|
+
return Qo(e, "overflowX");
|
|
3497
|
+
}, ts = function(e, t) {
|
|
3501
3498
|
var n = t.ownerDocument, r = t;
|
|
3502
3499
|
do {
|
|
3503
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3504
|
-
var i =
|
|
3500
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), is(e, r)) {
|
|
3501
|
+
var i = as(e, r);
|
|
3505
3502
|
if (i[1] > i[2]) return !0;
|
|
3506
3503
|
}
|
|
3507
3504
|
r = r.parentNode;
|
|
3508
3505
|
} while (r && r !== n.body);
|
|
3509
3506
|
return !1;
|
|
3510
|
-
},
|
|
3507
|
+
}, ns = function(e) {
|
|
3511
3508
|
return [
|
|
3512
3509
|
e.scrollTop,
|
|
3513
3510
|
e.scrollHeight,
|
|
3514
3511
|
e.clientHeight
|
|
3515
3512
|
];
|
|
3516
|
-
},
|
|
3513
|
+
}, rs = function(e) {
|
|
3517
3514
|
return [
|
|
3518
3515
|
e.scrollLeft,
|
|
3519
3516
|
e.scrollWidth,
|
|
3520
3517
|
e.clientWidth
|
|
3521
3518
|
];
|
|
3522
|
-
},
|
|
3523
|
-
return e === "v" ? Xo(t) : Zo(t);
|
|
3524
|
-
}, ns = function(e, t) {
|
|
3519
|
+
}, is = function(e, t) {
|
|
3525
3520
|
return e === "v" ? $o(t) : es(t);
|
|
3526
|
-
},
|
|
3521
|
+
}, as = function(e, t) {
|
|
3522
|
+
return e === "v" ? ns(t) : rs(t);
|
|
3523
|
+
}, os = function(e, t) {
|
|
3527
3524
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3528
|
-
},
|
|
3529
|
-
var a =
|
|
3525
|
+
}, ss = function(e, t, n, r, i) {
|
|
3526
|
+
var a = os(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3530
3527
|
do {
|
|
3531
3528
|
if (!s) break;
|
|
3532
|
-
var p =
|
|
3533
|
-
(m || h) &&
|
|
3529
|
+
var p = as(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3530
|
+
(m || h) && is(e, s) && (d += h, f += m);
|
|
3534
3531
|
var g = s.parentNode;
|
|
3535
3532
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3536
3533
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3537
3534
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3538
|
-
},
|
|
3535
|
+
}, cs = function(e) {
|
|
3539
3536
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3540
|
-
},
|
|
3537
|
+
}, ls = function(e) {
|
|
3541
3538
|
return [e.deltaX, e.deltaY];
|
|
3542
|
-
},
|
|
3539
|
+
}, us = function(e) {
|
|
3543
3540
|
return e && "current" in e ? e.current : e;
|
|
3544
|
-
},
|
|
3541
|
+
}, ds = function(e, t) {
|
|
3545
3542
|
return e[0] === t[0] && e[1] === t[1];
|
|
3546
|
-
},
|
|
3543
|
+
}, fs = function(e) {
|
|
3547
3544
|
return `
|
|
3548
3545
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3549
3546
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3550
3547
|
`;
|
|
3551
|
-
},
|
|
3552
|
-
function
|
|
3553
|
-
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(
|
|
3548
|
+
}, ps = 0, ms = [];
|
|
3549
|
+
function hs(e) {
|
|
3550
|
+
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(ps++)[0], a = P.useState(Lo)[0], o = P.useRef(e);
|
|
3554
3551
|
P.useEffect(function() {
|
|
3555
3552
|
o.current = e;
|
|
3556
3553
|
}, [e]), P.useEffect(function() {
|
|
3557
3554
|
if (e.inert) {
|
|
3558
3555
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3559
|
-
var t =
|
|
3556
|
+
var t = fo([e.lockRef.current], (e.shards || []).map(us), !0).filter(Boolean);
|
|
3560
3557
|
return t.forEach(function(e) {
|
|
3561
3558
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3562
3559
|
}), function() {
|
|
@@ -3572,28 +3569,28 @@ function fs(e) {
|
|
|
3572
3569
|
]);
|
|
3573
3570
|
var s = P.useCallback(function(e, t) {
|
|
3574
3571
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3575
|
-
var i =
|
|
3572
|
+
var i = cs(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";
|
|
3576
3573
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3577
3574
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3578
3575
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3579
|
-
var m =
|
|
3576
|
+
var m = ts(d, u);
|
|
3580
3577
|
if (!m) return !0;
|
|
3581
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3578
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = ts(d, u)), !m) return !1;
|
|
3582
3579
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3583
3580
|
var h = r.current || l;
|
|
3584
|
-
return
|
|
3581
|
+
return ss(h, t, e, h === "h" ? s : c, !0);
|
|
3585
3582
|
}, []), c = P.useCallback(function(e) {
|
|
3586
3583
|
var n = e;
|
|
3587
|
-
if (!(!
|
|
3588
|
-
var r = "deltaY" in n ?
|
|
3589
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3584
|
+
if (!(!ms.length || ms[ms.length - 1] !== a)) {
|
|
3585
|
+
var r = "deltaY" in n ? ls(n) : cs(n), i = t.current.filter(function(e) {
|
|
3586
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && ds(e.delta, r);
|
|
3590
3587
|
})[0];
|
|
3591
3588
|
if (i && i.should) {
|
|
3592
3589
|
n.cancelable && n.preventDefault();
|
|
3593
3590
|
return;
|
|
3594
3591
|
}
|
|
3595
3592
|
if (!i) {
|
|
3596
|
-
var c = (o.current.shards || []).map(
|
|
3593
|
+
var c = (o.current.shards || []).map(us).filter(Boolean).filter(function(e) {
|
|
3597
3594
|
return e.contains(n.target);
|
|
3598
3595
|
});
|
|
3599
3596
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3605,7 +3602,7 @@ function fs(e) {
|
|
|
3605
3602
|
delta: n,
|
|
3606
3603
|
target: r,
|
|
3607
3604
|
should: i,
|
|
3608
|
-
shadowParent:
|
|
3605
|
+
shadowParent: gs(r)
|
|
3609
3606
|
};
|
|
3610
3607
|
t.current.push(a), setTimeout(function() {
|
|
3611
3608
|
t.current = t.current.filter(function(e) {
|
|
@@ -3613,56 +3610,56 @@ function fs(e) {
|
|
|
3613
3610
|
});
|
|
3614
3611
|
}, 1);
|
|
3615
3612
|
}, []), u = P.useCallback(function(e) {
|
|
3616
|
-
n.current =
|
|
3613
|
+
n.current = cs(e), r.current = void 0;
|
|
3617
3614
|
}, []), d = P.useCallback(function(t) {
|
|
3618
|
-
l(t.type,
|
|
3615
|
+
l(t.type, ls(t), t.target, s(t, e.lockRef.current));
|
|
3619
3616
|
}, []), f = P.useCallback(function(t) {
|
|
3620
|
-
l(t.type,
|
|
3617
|
+
l(t.type, cs(t), t.target, s(t, e.lockRef.current));
|
|
3621
3618
|
}, []);
|
|
3622
3619
|
P.useEffect(function() {
|
|
3623
|
-
return
|
|
3620
|
+
return ms.push(a), e.setCallbacks({
|
|
3624
3621
|
onScrollCapture: d,
|
|
3625
3622
|
onWheelCapture: d,
|
|
3626
3623
|
onTouchMoveCapture: f
|
|
3627
|
-
}), document.addEventListener("wheel", c,
|
|
3628
|
-
|
|
3624
|
+
}), document.addEventListener("wheel", c, Xo), document.addEventListener("touchmove", c, Xo), document.addEventListener("touchstart", u, Xo), function() {
|
|
3625
|
+
ms = ms.filter(function(e) {
|
|
3629
3626
|
return e !== a;
|
|
3630
|
-
}), document.removeEventListener("wheel", c,
|
|
3627
|
+
}), document.removeEventListener("wheel", c, Xo), document.removeEventListener("touchmove", c, Xo), document.removeEventListener("touchstart", u, Xo);
|
|
3631
3628
|
};
|
|
3632
3629
|
}, []);
|
|
3633
3630
|
var p = e.removeScrollBar, m = e.inert;
|
|
3634
|
-
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles:
|
|
3631
|
+
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles: fs(i) }) : null, p ? P.createElement(qo, {
|
|
3635
3632
|
noRelative: e.noRelative,
|
|
3636
3633
|
gapMode: e.gapMode
|
|
3637
3634
|
}) : null);
|
|
3638
3635
|
}
|
|
3639
|
-
function
|
|
3636
|
+
function gs(e) {
|
|
3640
3637
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3641
3638
|
return t;
|
|
3642
3639
|
}
|
|
3643
3640
|
//#endregion
|
|
3644
3641
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3645
|
-
var
|
|
3646
|
-
return P.createElement(
|
|
3642
|
+
var _s = Eo(Do, hs), vs = P.forwardRef(function(e, t) {
|
|
3643
|
+
return P.createElement(ko, $({}, e, {
|
|
3647
3644
|
ref: t,
|
|
3648
|
-
sideCar:
|
|
3645
|
+
sideCar: _s
|
|
3649
3646
|
}));
|
|
3650
3647
|
});
|
|
3651
|
-
|
|
3648
|
+
vs.classNames = ko.classNames;
|
|
3652
3649
|
//#endregion
|
|
3653
3650
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3654
|
-
var
|
|
3655
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3651
|
+
var ys = "Popover", [bs, xs] = bn(ys, [ba]), Ss = ba(), [Cs, ws] = bs(ys), Ts = (e) => {
|
|
3652
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Ss(t), c = P.useRef(null), [l, u] = P.useState(!1), [d, f] = Ja({
|
|
3656
3653
|
prop: r,
|
|
3657
3654
|
defaultProp: i ?? !1,
|
|
3658
3655
|
onChange: a,
|
|
3659
|
-
caller:
|
|
3656
|
+
caller: ys
|
|
3660
3657
|
});
|
|
3661
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3658
|
+
return /* @__PURE__ */ (0, F.jsx)(Ia, {
|
|
3662
3659
|
...s,
|
|
3663
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3660
|
+
children: /* @__PURE__ */ (0, F.jsx)(Cs, {
|
|
3664
3661
|
scope: t,
|
|
3665
|
-
contentId:
|
|
3662
|
+
contentId: dr(),
|
|
3666
3663
|
triggerRef: c,
|
|
3667
3664
|
open: d,
|
|
3668
3665
|
onOpenChange: f,
|
|
@@ -3675,42 +3672,42 @@ var gs = "Popover", [_s, vs] = _n(gs, [_a]), ys = _a(), [bs, xs] = _s(gs), Ss =
|
|
|
3675
3672
|
})
|
|
3676
3673
|
});
|
|
3677
3674
|
};
|
|
3678
|
-
|
|
3679
|
-
var
|
|
3680
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3681
|
-
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, F.jsx)(
|
|
3675
|
+
Ts.displayName = ys;
|
|
3676
|
+
var Es = "PopoverAnchor", Ds = P.forwardRef((e, t) => {
|
|
3677
|
+
let { __scopePopover: n, ...r } = e, i = ws(Es, n), a = Ss(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3678
|
+
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, F.jsx)(La, {
|
|
3682
3679
|
...a,
|
|
3683
3680
|
...r,
|
|
3684
3681
|
ref: t
|
|
3685
3682
|
});
|
|
3686
3683
|
});
|
|
3687
|
-
|
|
3688
|
-
var
|
|
3689
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3684
|
+
Ds.displayName = Es;
|
|
3685
|
+
var Os = "PopoverTrigger", ks = P.forwardRef((e, t) => {
|
|
3686
|
+
let { __scopePopover: n, ...r } = e, i = ws(Os, n), a = Ss(n), o = B(t, i.triggerRef), s = /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3690
3687
|
type: "button",
|
|
3691
3688
|
"aria-haspopup": "dialog",
|
|
3692
3689
|
"aria-expanded": i.open,
|
|
3693
3690
|
"aria-controls": i.contentId,
|
|
3694
|
-
"data-state":
|
|
3691
|
+
"data-state": Ws(i.open),
|
|
3695
3692
|
...r,
|
|
3696
3693
|
ref: o,
|
|
3697
3694
|
onClick: z(e.onClick, i.onOpenToggle)
|
|
3698
3695
|
});
|
|
3699
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, F.jsx)(
|
|
3696
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, F.jsx)(La, {
|
|
3700
3697
|
asChild: !0,
|
|
3701
3698
|
...a,
|
|
3702
3699
|
children: s
|
|
3703
3700
|
});
|
|
3704
3701
|
});
|
|
3705
|
-
|
|
3706
|
-
var
|
|
3707
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3708
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3702
|
+
ks.displayName = Os;
|
|
3703
|
+
var As = "PopoverPortal", [js, Ms] = bs(As, { forceMount: void 0 }), Ns = (e) => {
|
|
3704
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = ws(As, t);
|
|
3705
|
+
return /* @__PURE__ */ (0, F.jsx)(js, {
|
|
3709
3706
|
scope: t,
|
|
3710
3707
|
forceMount: n,
|
|
3711
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3708
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ua, {
|
|
3712
3709
|
present: n || a.open,
|
|
3713
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3710
|
+
children: /* @__PURE__ */ (0, F.jsx)(Va, {
|
|
3714
3711
|
asChild: !0,
|
|
3715
3712
|
container: i,
|
|
3716
3713
|
children: r
|
|
@@ -3718,30 +3715,30 @@ var Ds = "PopoverPortal", [Os, ks] = _s(Ds, { forceMount: void 0 }), As = (e) =>
|
|
|
3718
3715
|
})
|
|
3719
3716
|
});
|
|
3720
3717
|
};
|
|
3721
|
-
|
|
3722
|
-
var
|
|
3723
|
-
let n =
|
|
3724
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3718
|
+
Ns.displayName = As;
|
|
3719
|
+
var Ps = "PopoverContent", Fs = P.forwardRef((e, t) => {
|
|
3720
|
+
let n = Ms(Ps, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = ws(Ps, e.__scopePopover);
|
|
3721
|
+
return /* @__PURE__ */ (0, F.jsx)(Ua, {
|
|
3725
3722
|
present: r || a.open,
|
|
3726
|
-
children: a.modal ? /* @__PURE__ */ (0, F.jsx)(
|
|
3723
|
+
children: a.modal ? /* @__PURE__ */ (0, F.jsx)(Ls, {
|
|
3727
3724
|
...i,
|
|
3728
3725
|
ref: t
|
|
3729
|
-
}) : /* @__PURE__ */ (0, F.jsx)(
|
|
3726
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Rs, {
|
|
3730
3727
|
...i,
|
|
3731
3728
|
ref: t
|
|
3732
3729
|
})
|
|
3733
3730
|
});
|
|
3734
3731
|
});
|
|
3735
|
-
|
|
3736
|
-
var
|
|
3737
|
-
let n =
|
|
3732
|
+
Fs.displayName = Ps;
|
|
3733
|
+
var Is = /* @__PURE__ */ Sn("PopoverContent.RemoveScroll"), Ls = P.forwardRef((e, t) => {
|
|
3734
|
+
let n = ws(Ps, e.__scopePopover), r = P.useRef(null), i = B(t, r), a = P.useRef(!1);
|
|
3738
3735
|
return P.useEffect(() => {
|
|
3739
3736
|
let e = r.current;
|
|
3740
|
-
if (e) return
|
|
3741
|
-
}, []), /* @__PURE__ */ (0, F.jsx)(
|
|
3742
|
-
as:
|
|
3737
|
+
if (e) return ao(e);
|
|
3738
|
+
}, []), /* @__PURE__ */ (0, F.jsx)(vs, {
|
|
3739
|
+
as: Is,
|
|
3743
3740
|
allowPinchZoom: !0,
|
|
3744
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3741
|
+
children: /* @__PURE__ */ (0, F.jsx)(zs, {
|
|
3745
3742
|
...e,
|
|
3746
3743
|
ref: i,
|
|
3747
3744
|
trapFocus: n.open,
|
|
@@ -3756,9 +3753,9 @@ var Ns = /* @__PURE__ */ yn("PopoverContent.RemoveScroll"), Ps = P.forwardRef((e
|
|
|
3756
3753
|
onFocusOutside: z(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3757
3754
|
})
|
|
3758
3755
|
});
|
|
3759
|
-
}),
|
|
3760
|
-
let n =
|
|
3761
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3756
|
+
}), Rs = P.forwardRef((e, t) => {
|
|
3757
|
+
let n = ws(Ps, e.__scopePopover), r = P.useRef(!1), i = P.useRef(!1);
|
|
3758
|
+
return /* @__PURE__ */ (0, F.jsx)(zs, {
|
|
3762
3759
|
...e,
|
|
3763
3760
|
ref: t,
|
|
3764
3761
|
trapFocus: !1,
|
|
@@ -3772,15 +3769,15 @@ var Ns = /* @__PURE__ */ yn("PopoverContent.RemoveScroll"), Ps = P.forwardRef((e
|
|
|
3772
3769
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3773
3770
|
}
|
|
3774
3771
|
});
|
|
3775
|
-
}),
|
|
3776
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3777
|
-
return
|
|
3772
|
+
}), zs = P.forwardRef((e, t) => {
|
|
3773
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = ws(Ps, n), p = Ss(n);
|
|
3774
|
+
return Gn(), /* @__PURE__ */ (0, F.jsx)(Zn, {
|
|
3778
3775
|
asChild: !0,
|
|
3779
3776
|
loop: !0,
|
|
3780
3777
|
trapped: r,
|
|
3781
3778
|
onMountAutoFocus: i,
|
|
3782
3779
|
onUnmountAutoFocus: a,
|
|
3783
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3780
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ln, {
|
|
3784
3781
|
asChild: !0,
|
|
3785
3782
|
disableOutsidePointerEvents: o,
|
|
3786
3783
|
onInteractOutside: u,
|
|
@@ -3788,8 +3785,8 @@ var Ns = /* @__PURE__ */ yn("PopoverContent.RemoveScroll"), Ps = P.forwardRef((e
|
|
|
3788
3785
|
onPointerDownOutside: c,
|
|
3789
3786
|
onFocusOutside: l,
|
|
3790
3787
|
onDismiss: () => f.onOpenChange(!1),
|
|
3791
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3792
|
-
"data-state":
|
|
3788
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ra, {
|
|
3789
|
+
"data-state": Ws(f.open),
|
|
3793
3790
|
role: "dialog",
|
|
3794
3791
|
id: f.contentId,
|
|
3795
3792
|
...p,
|
|
@@ -3806,8 +3803,8 @@ var Ns = /* @__PURE__ */ yn("PopoverContent.RemoveScroll"), Ps = P.forwardRef((e
|
|
|
3806
3803
|
})
|
|
3807
3804
|
})
|
|
3808
3805
|
});
|
|
3809
|
-
}),
|
|
3810
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3806
|
+
}), Bs = "PopoverClose", Vs = P.forwardRef((e, t) => {
|
|
3807
|
+
let { __scopePopover: n, ...r } = e, i = ws(Bs, n);
|
|
3811
3808
|
return /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3812
3809
|
type: "button",
|
|
3813
3810
|
...r,
|
|
@@ -3815,85 +3812,76 @@ var Ns = /* @__PURE__ */ yn("PopoverContent.RemoveScroll"), Ps = P.forwardRef((e
|
|
|
3815
3812
|
onClick: z(e.onClick, () => i.onOpenChange(!1))
|
|
3816
3813
|
});
|
|
3817
3814
|
});
|
|
3818
|
-
|
|
3819
|
-
var
|
|
3820
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3821
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3815
|
+
Vs.displayName = Bs;
|
|
3816
|
+
var Hs = "PopoverArrow", Us = P.forwardRef((e, t) => {
|
|
3817
|
+
let { __scopePopover: n, ...r } = e, i = Ss(n);
|
|
3818
|
+
return /* @__PURE__ */ (0, F.jsx)(za, {
|
|
3822
3819
|
...i,
|
|
3823
3820
|
...r,
|
|
3824
3821
|
ref: t
|
|
3825
3822
|
});
|
|
3826
3823
|
});
|
|
3827
|
-
|
|
3828
|
-
function
|
|
3824
|
+
Us.displayName = Hs;
|
|
3825
|
+
function Ws(e) {
|
|
3829
3826
|
return e ? "open" : "closed";
|
|
3830
3827
|
}
|
|
3831
|
-
var
|
|
3828
|
+
var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, F.jsxs)(Gs, {
|
|
3832
3829
|
defaultOpen: n,
|
|
3833
3830
|
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3834
3831
|
className: "flex justify-center",
|
|
3835
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3832
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ks, {
|
|
3836
3833
|
asChild: !0,
|
|
3837
3834
|
children: t
|
|
3838
3835
|
})
|
|
3839
|
-
}), /* @__PURE__ */ (0, F.jsxs)(
|
|
3836
|
+
}), /* @__PURE__ */ (0, F.jsxs)(qs, {
|
|
3840
3837
|
className: "sid-popover__container",
|
|
3841
3838
|
sideOffset: 10,
|
|
3842
3839
|
side: "bottom",
|
|
3843
|
-
children: [e, /* @__PURE__ */ (0, F.jsx)(
|
|
3840
|
+
children: [e, /* @__PURE__ */ (0, F.jsx)(Js, { className: "sid-popover__caret" })]
|
|
3844
3841
|
})]
|
|
3845
|
-
}),
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
}),
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
/* @__PURE__ */ (0, F.jsx)(Ot, { verificationService: e })
|
|
3861
|
-
] })
|
|
3862
|
-
});
|
|
3863
|
-
}, Js = ({ verificationService: e }) => {
|
|
3864
|
-
let t = a(() => e.programTheme.remainingRewardCodes, null);
|
|
3865
|
-
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
3842
|
+
}), Xs = ({ verificationService: e, initialVisibility: t = !1 }) => /* @__PURE__ */ (0, F.jsx)(Ys, {
|
|
3843
|
+
initialVisibility: t,
|
|
3844
|
+
trigger: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
3845
|
+
type: "button",
|
|
3846
|
+
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3847
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "howDoesVerifyingWork" })
|
|
3848
|
+
}),
|
|
3849
|
+
message: /* @__PURE__ */ (0, F.jsxs)("div", { children: [
|
|
3850
|
+
/* @__PURE__ */ (0, F.jsx)(N, { id: "step.personalInfo.howDoesVerifyingWorkDetails" }),
|
|
3851
|
+
"\xA0",
|
|
3852
|
+
/* @__PURE__ */ (0, F.jsx)(jt, { verificationService: e })
|
|
3853
|
+
] })
|
|
3854
|
+
}), Zs = ({ verificationService: e }) => {
|
|
3855
|
+
let t = Oe(), n = a(() => e.programTheme.remainingRewardCodes, null);
|
|
3856
|
+
return typeof n == "number" && n > 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
3866
3857
|
className: "sid-rewards-remaining",
|
|
3867
3858
|
role: "note",
|
|
3868
3859
|
children: [
|
|
3869
3860
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3870
3861
|
/* @__PURE__ */ (0, F.jsx)(M, {
|
|
3871
3862
|
id: "lowRewardPool",
|
|
3872
|
-
defaultMessage:
|
|
3873
|
-
values: { offersRemaining:
|
|
3863
|
+
defaultMessage: t?.lowRewardPool,
|
|
3864
|
+
values: { offersRemaining: n }
|
|
3874
3865
|
}),
|
|
3875
3866
|
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3876
3867
|
]
|
|
3877
3868
|
}) : null;
|
|
3878
|
-
},
|
|
3879
|
-
let { verificationResponse: n } = e, r =
|
|
3869
|
+
}, Qs = (e) => e !== void 0, $s = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3870
|
+
let { verificationResponse: n } = e, r = Qs(n) ? Xe(n) : !1;
|
|
3880
3871
|
return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3881
3872
|
className: "sid-personal-info-header",
|
|
3882
|
-
children: /* @__PURE__ */ (0, F.jsxs)(
|
|
3873
|
+
children: /* @__PURE__ */ (0, F.jsxs)(_n, {
|
|
3883
3874
|
verificationService: e,
|
|
3884
|
-
title: /* @__PURE__ */ (0, F.jsx)(N, {
|
|
3885
|
-
id: i,
|
|
3886
|
-
context: n.segment
|
|
3887
|
-
}),
|
|
3875
|
+
title: /* @__PURE__ */ (0, F.jsx)(N, { id: r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title" }),
|
|
3888
3876
|
classNameIdentifier: t,
|
|
3889
3877
|
children: [
|
|
3890
3878
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3891
3879
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3892
|
-
children: /* @__PURE__ */ (0, F.jsx)(M, { id:
|
|
3880
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, { id: r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle" })
|
|
3893
3881
|
}),
|
|
3894
3882
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3895
3883
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3896
|
-
children: !r && /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(
|
|
3884
|
+
children: !r && /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Xs, { verificationService: e }), /* @__PURE__ */ (0, F.jsx)(Zs, { verificationService: e })] })
|
|
3897
3885
|
}),
|
|
3898
3886
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3899
3887
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -3902,15 +3890,15 @@ var Hs = Ss, Us = Es, Ws = Ms, Gs = Bs, Ks = ({ message: e, trigger: t, initialV
|
|
|
3902
3890
|
]
|
|
3903
3891
|
})
|
|
3904
3892
|
});
|
|
3905
|
-
},
|
|
3906
|
-
let { isEmbedded: i } =
|
|
3893
|
+
}, ec = () => ({ isEmbedded: !!d("verificationIframeUid") }), tc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3894
|
+
let { isEmbedded: i } = ec();
|
|
3907
3895
|
return !r || i ? /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: t }) : /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3908
3896
|
className: `sid-layout sid-layout--${e}`,
|
|
3909
3897
|
children: /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
3910
3898
|
className: "sid-layout__container",
|
|
3911
3899
|
children: [e === "fullRight" && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3912
3900
|
className: "sid-layout__content",
|
|
3913
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3901
|
+
children: /* @__PURE__ */ (0, F.jsx)($s, {
|
|
3914
3902
|
verificationService: n,
|
|
3915
3903
|
classNameIdentifier: "landing"
|
|
3916
3904
|
})
|
|
@@ -3923,129 +3911,137 @@ var Hs = Ss, Us = Es, Ws = Ms, Gs = Bs, Ks = ({ message: e, trigger: t, initialV
|
|
|
3923
3911
|
})]
|
|
3924
3912
|
})
|
|
3925
3913
|
});
|
|
3926
|
-
},
|
|
3914
|
+
}, nc = ({ children: e }) => /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3927
3915
|
className: "sid sid-form-wrapper",
|
|
3928
3916
|
children: e
|
|
3929
|
-
}),
|
|
3930
|
-
let
|
|
3931
|
-
...
|
|
3932
|
-
...
|
|
3933
|
-
} :
|
|
3934
|
-
...
|
|
3935
|
-
programTheme:
|
|
3936
|
-
verificationResponse:
|
|
3937
|
-
formValidationOptions:
|
|
3917
|
+
}), rc = ({ locale: e, programTheme: t, verificationService: n, programId: r }) => {
|
|
3918
|
+
let i = nt(), a = w(), s = Ae() ?? t, c = je(Ne, pe), l = (0, P.useMemo)(() => c ? {
|
|
3919
|
+
...n.verificationResponse,
|
|
3920
|
+
...c
|
|
3921
|
+
} : n.verificationResponse, [c, n.verificationResponse]), u = (0, P.useMemo)(() => ({
|
|
3922
|
+
...n,
|
|
3923
|
+
programTheme: s,
|
|
3924
|
+
verificationResponse: l,
|
|
3925
|
+
formValidationOptions: Ot(s, l, n.viewModel)
|
|
3938
3926
|
}), [
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
]),
|
|
3927
|
+
n,
|
|
3928
|
+
s,
|
|
3929
|
+
l
|
|
3930
|
+
]), d = s.themeChoices?.landingPage?.layout || "center", { renderAs: f } = a, p = it();
|
|
3943
3931
|
P.useEffect(() => {
|
|
3944
3932
|
try {
|
|
3945
|
-
if (
|
|
3946
|
-
let e = (0,
|
|
3947
|
-
E(
|
|
3948
|
-
let t =
|
|
3933
|
+
if (p && u && u.viewModel) {
|
|
3934
|
+
let e = (0, Ct.default)(p);
|
|
3935
|
+
E(y.flags, e);
|
|
3936
|
+
let t = S(u.viewModel.metadata || {}, (t) => {
|
|
3949
3937
|
t.flags = e;
|
|
3950
|
-
}), n =
|
|
3938
|
+
}), n = S(u.viewModel, (e) => {
|
|
3951
3939
|
e.metadata = t;
|
|
3952
3940
|
});
|
|
3953
|
-
|
|
3941
|
+
u.updateViewModel(n);
|
|
3954
3942
|
}
|
|
3955
3943
|
} catch (e) {
|
|
3956
3944
|
O.error(e);
|
|
3957
3945
|
}
|
|
3958
3946
|
}, []), P.useEffect(() => {
|
|
3959
|
-
if (
|
|
3947
|
+
if (u.verificationResponse.verificationId && a._launchDarklyUserTargeting && i) {
|
|
3960
3948
|
let e = {
|
|
3961
3949
|
kind: "multi",
|
|
3962
3950
|
user: {
|
|
3963
|
-
key:
|
|
3964
|
-
locale:
|
|
3965
|
-
segment:
|
|
3966
|
-
installType:
|
|
3951
|
+
key: u.verificationResponse.verificationId,
|
|
3952
|
+
locale: u.verificationResponse.locale,
|
|
3953
|
+
segment: u.verificationResponse.segment,
|
|
3954
|
+
installType: ie()
|
|
3967
3955
|
},
|
|
3968
|
-
program: { key:
|
|
3956
|
+
program: { key: r }
|
|
3969
3957
|
};
|
|
3970
|
-
|
|
3958
|
+
s.accountId && (e.account = { key: s.accountId }), i.identify(e);
|
|
3971
3959
|
}
|
|
3972
|
-
}, [
|
|
3960
|
+
}, [u.verificationResponse.verificationId, i]), P.useEffect(() => {
|
|
3973
3961
|
try {
|
|
3974
|
-
|
|
3962
|
+
w()._launchDarklyFlagCb(p);
|
|
3975
3963
|
} catch {}
|
|
3976
|
-
}, [
|
|
3977
|
-
let
|
|
3978
|
-
return /* @__PURE__ */ (0, F.jsx)(
|
|
3964
|
+
}, [p]);
|
|
3965
|
+
let m = Oe(), h = je(Ne, ye);
|
|
3966
|
+
return /* @__PURE__ */ (0, F.jsx)(se, {
|
|
3979
3967
|
locale: "en",
|
|
3980
3968
|
messages: {
|
|
3981
|
-
...
|
|
3982
|
-
...(0,
|
|
3983
|
-
...(0,
|
|
3969
|
+
...m,
|
|
3970
|
+
...(0, gt.default)(C(e)),
|
|
3971
|
+
...(0, gt.default)(h?.[e] ?? {})
|
|
3984
3972
|
},
|
|
3985
|
-
textComponent:
|
|
3986
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3987
|
-
themeChoices:
|
|
3988
|
-
customCssFromOptions:
|
|
3973
|
+
textComponent: hn,
|
|
3974
|
+
children: /* @__PURE__ */ (0, F.jsx)(Dt, {
|
|
3975
|
+
themeChoices: s.themeChoices,
|
|
3976
|
+
customCssFromOptions: w().customCss,
|
|
3989
3977
|
children: /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3990
|
-
className: `${
|
|
3991
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3992
|
-
layout:
|
|
3993
|
-
verificationService:
|
|
3994
|
-
renderAsLandingPage:
|
|
3978
|
+
className: `${wt.default.isRtlLang(_(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
3979
|
+
children: /* @__PURE__ */ (0, F.jsx)(nc, { children: /* @__PURE__ */ (0, F.jsx)(tc, {
|
|
3980
|
+
layout: d,
|
|
3981
|
+
verificationService: u,
|
|
3982
|
+
renderAsLandingPage: f === "landingPage",
|
|
3995
3983
|
children: /* @__PURE__ */ (0, F.jsx)(P.Suspense, {
|
|
3996
|
-
fallback: /* @__PURE__ */ (0, F.jsx)(
|
|
3997
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
3998
|
-
i18n:
|
|
3999
|
-
children:
|
|
4000
|
-
stepToLoad:
|
|
4001
|
-
verificationService:
|
|
3984
|
+
fallback: /* @__PURE__ */ (0, F.jsx)(bt, { step: u.loadingStep }),
|
|
3985
|
+
children: /* @__PURE__ */ (0, F.jsx)(pt, {
|
|
3986
|
+
i18n: o,
|
|
3987
|
+
children: u.isLoading ? /* @__PURE__ */ (0, F.jsx)(bt, { step: u.loadingStep }) : /* @__PURE__ */ (0, F.jsxs)("div", { children: [!w().hideTestModeFlag && /* @__PURE__ */ (0, F.jsx)(gn, { verificationService: u }), /* @__PURE__ */ (0, F.jsx)(mn, {
|
|
3988
|
+
stepToLoad: u.overrideStep || u.verificationResponse.currentStep,
|
|
3989
|
+
verificationService: u
|
|
4002
3990
|
})] })
|
|
4003
3991
|
})
|
|
4004
3992
|
})
|
|
4005
3993
|
}) })
|
|
4006
3994
|
})
|
|
4007
3995
|
})
|
|
4008
|
-
},
|
|
4009
|
-
},
|
|
3996
|
+
}, e);
|
|
3997
|
+
}, ic = () => {
|
|
4010
3998
|
let e = null;
|
|
4011
3999
|
document.addEventListener("keydown", (t) => {
|
|
4012
4000
|
if (t.key !== "Tab") return;
|
|
4013
4001
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
4014
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
4002
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (tt({
|
|
4015
4003
|
type: "focus",
|
|
4016
4004
|
focusOn: "firstElement"
|
|
4017
4005
|
}), t.preventDefault());
|
|
4018
4006
|
}), window.addEventListener("message", (t) => {
|
|
4019
4007
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4020
|
-
}),
|
|
4008
|
+
}), tt({
|
|
4021
4009
|
type: "focus",
|
|
4022
4010
|
focusOn: "firstElement"
|
|
4023
4011
|
});
|
|
4024
|
-
},
|
|
4012
|
+
}, ac = () => {
|
|
4025
4013
|
window.addEventListener("message", (e) => {
|
|
4026
|
-
e.data.isInLightBox === "true" &&
|
|
4014
|
+
e.data.isInLightBox === "true" && ic();
|
|
4027
4015
|
});
|
|
4028
|
-
},
|
|
4016
|
+
}, oc = ({ locale: e }) => /* @__PURE__ */ (0, F.jsx)(se, {
|
|
4017
|
+
locale: "en",
|
|
4018
|
+
messages: {
|
|
4019
|
+
...Oe(),
|
|
4020
|
+
...(0, gt.default)(C(e))
|
|
4021
|
+
},
|
|
4022
|
+
textComponent: hn,
|
|
4023
|
+
children: /* @__PURE__ */ (0, F.jsx)(bt, {})
|
|
4024
|
+
}, e), sc = class extends P.Component {
|
|
4029
4025
|
verificationService;
|
|
4030
4026
|
constructor(e) {
|
|
4031
4027
|
super(e), O.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? O.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : O.info("No trackingId to associate with the verification request");
|
|
4032
4028
|
}
|
|
4033
4029
|
componentDidMount() {
|
|
4034
|
-
if (
|
|
4030
|
+
if (f(), ac(), ge((e) => {
|
|
4035
4031
|
switch (e.data.action) {
|
|
4036
4032
|
case "setViewModel":
|
|
4037
|
-
|
|
4033
|
+
Je(e.data.viewModel, {
|
|
4038
4034
|
partial: !0,
|
|
4039
4035
|
metadataCheck: !0,
|
|
4040
4036
|
externalUserIdCheck: !0
|
|
4041
4037
|
});
|
|
4042
4038
|
break;
|
|
4043
4039
|
case "setOptions":
|
|
4044
|
-
|
|
4040
|
+
v(e.data.options);
|
|
4045
4041
|
break;
|
|
4046
4042
|
default:
|
|
4047
4043
|
}
|
|
4048
|
-
}),
|
|
4044
|
+
}), Re()) O.info("Mocking loading screen. Not fetching new verification request.");
|
|
4049
4045
|
else {
|
|
4050
4046
|
O.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4051
4047
|
let e = a(() => this.props.verificationService.verificationResponse.segment);
|
|
@@ -4053,84 +4049,72 @@ var Hs = Ss, Us = Es, Ws = Ms, Gs = Bs, Ks = ({ message: e, trigger: t, initialV
|
|
|
4053
4049
|
}
|
|
4054
4050
|
}
|
|
4055
4051
|
render() {
|
|
4056
|
-
let { viewModel: e } = this.props.verificationService, t =
|
|
4057
|
-
this.props.
|
|
4058
|
-
let r =
|
|
4059
|
-
|
|
4060
|
-
...(0, pt.default)(x(t))
|
|
4061
|
-
};
|
|
4062
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return O.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, F.jsx)(oe, {
|
|
4063
|
-
locale: "en",
|
|
4064
|
-
messages: r,
|
|
4065
|
-
textComponent: fn,
|
|
4066
|
-
children: /* @__PURE__ */ (0, F.jsx)(_t, {})
|
|
4067
|
-
}, t);
|
|
4068
|
-
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
4069
|
-
return O.info("NewVerificationComponent: verificationResponse, viewModel", a, e), O.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, F.jsx)(ec, {
|
|
4052
|
+
let { viewModel: e } = this.props.verificationService, t = T(e);
|
|
4053
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return O.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, F.jsx)(oc, { locale: t });
|
|
4054
|
+
let { programTheme: n } = this.props.verificationService, { verificationResponse: r } = this.props.verificationService;
|
|
4055
|
+
return O.info("NewVerificationComponent: verificationResponse, viewModel", r, e), O.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r.currentStep}`), /* @__PURE__ */ (0, F.jsx)(rc, {
|
|
4070
4056
|
locale: t,
|
|
4071
|
-
|
|
4072
|
-
programTheme: i,
|
|
4057
|
+
programTheme: n,
|
|
4073
4058
|
verificationService: this.props.verificationService,
|
|
4074
4059
|
programId: this.props.programId
|
|
4075
4060
|
});
|
|
4076
4061
|
}
|
|
4077
|
-
},
|
|
4062
|
+
}, cc = Ee((e, t) => ({ ...e }), (e, t) => ({
|
|
4078
4063
|
dispatch: e,
|
|
4079
|
-
fetchNewVerificationRequest:
|
|
4080
|
-
fetchExistingVerificationRequest:
|
|
4081
|
-
updateViewModel:
|
|
4082
|
-
updateLocale:
|
|
4083
|
-
updateProgramTheme:
|
|
4084
|
-
updateFieldValidationErrors:
|
|
4085
|
-
resetState:
|
|
4064
|
+
fetchNewVerificationRequest: Ye(e),
|
|
4065
|
+
fetchExistingVerificationRequest: Ve(e),
|
|
4066
|
+
updateViewModel: We(e),
|
|
4067
|
+
updateLocale: et(e, t.programId),
|
|
4068
|
+
updateProgramTheme: Ue(e),
|
|
4069
|
+
updateFieldValidationErrors: qe(e),
|
|
4070
|
+
resetState: Qe(e)
|
|
4086
4071
|
}), (e, t, n) => {
|
|
4087
4072
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4088
4073
|
return {
|
|
4089
4074
|
verificationService: {
|
|
4090
4075
|
...e,
|
|
4091
4076
|
...i,
|
|
4092
|
-
submitStep:
|
|
4077
|
+
submitStep: He(r, a)
|
|
4093
4078
|
},
|
|
4094
|
-
messages: e.messages,
|
|
4095
4079
|
...n
|
|
4096
4080
|
};
|
|
4097
|
-
})(
|
|
4081
|
+
})(sc), lc = (e) => ({
|
|
4098
4082
|
kind: "program",
|
|
4099
4083
|
key: e
|
|
4100
|
-
}),
|
|
4084
|
+
}), uc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, F.jsx)(rt, {
|
|
4101
4085
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4102
|
-
context:
|
|
4103
|
-
flags:
|
|
4086
|
+
context: lc(e),
|
|
4087
|
+
flags: at,
|
|
4104
4088
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4105
4089
|
options: { streaming: !1 },
|
|
4106
4090
|
children: t
|
|
4107
|
-
}),
|
|
4108
|
-
E(
|
|
4109
|
-
var
|
|
4091
|
+
}), dc = Ze();
|
|
4092
|
+
E(y.jslibVersionActual, a(() => re(), "?")), E(y.clientVersion, a(() => re(), "?"));
|
|
4093
|
+
var fc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4110
4094
|
try {
|
|
4111
|
-
|
|
4095
|
+
Be();
|
|
4112
4096
|
} catch (e) {
|
|
4113
4097
|
O.warn("Failed to add predefined hooks", e);
|
|
4114
4098
|
}
|
|
4115
4099
|
return (0, P.useEffect)(() => {
|
|
4116
|
-
|
|
4117
|
-
}),
|
|
4100
|
+
ee();
|
|
4101
|
+
}), dc.dispatch({
|
|
4118
4102
|
programId: e,
|
|
4119
4103
|
type: "PROGRAM_ID"
|
|
4120
4104
|
}), n && (n.current = {
|
|
4121
|
-
refresh: P.useCallback(() =>
|
|
4122
|
-
reset: P.useCallback(() =>
|
|
4123
|
-
}), /* @__PURE__ */ (0, F.jsx)(
|
|
4124
|
-
store:
|
|
4125
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
4105
|
+
refresh: P.useCallback(() => dc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4106
|
+
reset: P.useCallback(() => dc.dispatch({ type: "RESET_STATE" }), [])
|
|
4107
|
+
}), /* @__PURE__ */ (0, F.jsx)(Te, {
|
|
4108
|
+
store: dc,
|
|
4109
|
+
children: /* @__PURE__ */ (0, F.jsx)(uc, {
|
|
4126
4110
|
programId: e,
|
|
4127
|
-
children: /* @__PURE__ */ (0, F.jsx)(
|
|
4111
|
+
children: /* @__PURE__ */ (0, F.jsx)(cc, {
|
|
4128
4112
|
programId: e,
|
|
4129
4113
|
trackingId: t
|
|
4130
4114
|
})
|
|
4131
4115
|
})
|
|
4132
4116
|
});
|
|
4133
|
-
}),
|
|
4117
|
+
}), pc = class e {
|
|
4134
4118
|
element;
|
|
4135
4119
|
programId;
|
|
4136
4120
|
trackingId;
|
|
@@ -4138,7 +4122,7 @@ var cc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4138
4122
|
ref;
|
|
4139
4123
|
constructor(t, n, r) {
|
|
4140
4124
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4141
|
-
O.info(`Constructing VerificationFormEs5 ${n}`),
|
|
4125
|
+
O.info(`Constructing VerificationFormEs5 ${n}`), h(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = P.createRef(), this.render();
|
|
4142
4126
|
}
|
|
4143
4127
|
refresh() {
|
|
4144
4128
|
this.ref.current.refresh();
|
|
@@ -4147,20 +4131,20 @@ var cc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4147
4131
|
this.ref.current.reset();
|
|
4148
4132
|
}
|
|
4149
4133
|
render() {
|
|
4150
|
-
|
|
4134
|
+
_t.render(/* @__PURE__ */ (0, F.jsx)(fc, {
|
|
4151
4135
|
programId: this.programId,
|
|
4152
4136
|
trackingId: this.trackingId,
|
|
4153
4137
|
ref: this.ref
|
|
4154
4138
|
}), this.element);
|
|
4155
4139
|
}
|
|
4156
4140
|
unmount() {
|
|
4157
|
-
|
|
4141
|
+
_t.unmountComponentAtNode(this.element);
|
|
4158
4142
|
}
|
|
4159
4143
|
};
|
|
4160
4144
|
//#endregion
|
|
4161
4145
|
//#region src/lib/state/previewMessages.ts
|
|
4162
|
-
function
|
|
4163
|
-
|
|
4146
|
+
function mc(e, t) {
|
|
4147
|
+
Ne.set((n) => ({
|
|
4164
4148
|
...n,
|
|
4165
4149
|
overrides: {
|
|
4166
4150
|
...n.overrides,
|
|
@@ -4172,14 +4156,14 @@ function uc(e, t) {
|
|
|
4172
4156
|
}
|
|
4173
4157
|
}
|
|
4174
4158
|
}
|
|
4175
|
-
})),
|
|
4159
|
+
})), i({ [e]: t });
|
|
4176
4160
|
}
|
|
4177
|
-
function
|
|
4178
|
-
|
|
4161
|
+
function hc(e) {
|
|
4162
|
+
e.forEach((e) => o.removeResourceBundle(e, c.OPTIONS)), i(w().messagesWithLocale);
|
|
4179
4163
|
}
|
|
4180
4164
|
//#endregion
|
|
4181
4165
|
//#region src/lib/state/previewResponse.ts
|
|
4182
|
-
var
|
|
4166
|
+
var gc = {
|
|
4183
4167
|
step: "mockStep",
|
|
4184
4168
|
previousStep: "mockPreviousStep",
|
|
4185
4169
|
segment: "mockSegment",
|
|
@@ -4193,14 +4177,14 @@ var fc = {
|
|
|
4193
4177
|
idCheckLoopServiceType: "mockIdCheckLoopServiceType",
|
|
4194
4178
|
docSelected: "mockDocSelected"
|
|
4195
4179
|
};
|
|
4196
|
-
async function
|
|
4180
|
+
async function _c(e) {
|
|
4197
4181
|
let t = {};
|
|
4198
4182
|
Object.keys(e).forEach((n) => {
|
|
4199
|
-
let r =
|
|
4183
|
+
let r = gc[n];
|
|
4200
4184
|
r && (t[r] = e[n]);
|
|
4201
|
-
}),
|
|
4202
|
-
let n = e.step ??
|
|
4203
|
-
|
|
4185
|
+
}), v(t);
|
|
4186
|
+
let n = e.step ?? Ne.get().overrides.mock?.step, r = n ? await Ie(n, Ze().getState().verificationResponse) : void 0;
|
|
4187
|
+
Ne.set((t) => ({
|
|
4204
4188
|
...t,
|
|
4205
4189
|
overrides: {
|
|
4206
4190
|
...t.overrides,
|
|
@@ -4214,65 +4198,65 @@ async function pc(e) {
|
|
|
4214
4198
|
}
|
|
4215
4199
|
//#endregion
|
|
4216
4200
|
//#region src/lib/state/previewApi.ts
|
|
4217
|
-
function
|
|
4218
|
-
|
|
4201
|
+
function vc(e) {
|
|
4202
|
+
fe({ programTheme: e });
|
|
4219
4203
|
}
|
|
4220
|
-
function
|
|
4221
|
-
|
|
4204
|
+
function yc(e) {
|
|
4205
|
+
fe({ programTheme: e });
|
|
4222
4206
|
}
|
|
4223
|
-
function
|
|
4224
|
-
|
|
4207
|
+
function bc(e) {
|
|
4208
|
+
fe({ response: e });
|
|
4225
4209
|
}
|
|
4226
|
-
function
|
|
4227
|
-
let t =
|
|
4228
|
-
return
|
|
4210
|
+
function xc(e) {
|
|
4211
|
+
let t = Ze(), { programId: n, verificationResponse: r } = t.getState();
|
|
4212
|
+
return et(t.dispatch, n)(e, r?.segment);
|
|
4229
4213
|
}
|
|
4230
|
-
function
|
|
4231
|
-
let e = Object.keys(
|
|
4232
|
-
|
|
4214
|
+
function Sc() {
|
|
4215
|
+
let e = Object.keys(Ne.get().overrides.messages ?? {});
|
|
4216
|
+
ve(), hc(e), be();
|
|
4233
4217
|
}
|
|
4234
4218
|
//#endregion
|
|
4235
4219
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4236
|
-
ne(
|
|
4237
|
-
function
|
|
4238
|
-
return new
|
|
4220
|
+
ne(oe.programBuilderPreview);
|
|
4221
|
+
function Cc(e, t) {
|
|
4222
|
+
return new pc(e, t);
|
|
4239
4223
|
}
|
|
4240
|
-
function
|
|
4241
|
-
return
|
|
4224
|
+
function wc(e, t) {
|
|
4225
|
+
return he(), v({
|
|
4242
4226
|
mockStep: t.step,
|
|
4243
4227
|
mockSegment: "student"
|
|
4244
|
-
}), new
|
|
4245
|
-
}
|
|
4246
|
-
function
|
|
4247
|
-
|
|
4248
|
-
}
|
|
4249
|
-
function
|
|
4250
|
-
|
|
4251
|
-
}
|
|
4252
|
-
function
|
|
4253
|
-
|
|
4254
|
-
}
|
|
4255
|
-
function
|
|
4256
|
-
|
|
4257
|
-
}
|
|
4258
|
-
function
|
|
4259
|
-
return
|
|
4260
|
-
}
|
|
4261
|
-
var
|
|
4262
|
-
loadInElement:
|
|
4263
|
-
renderMockProgram:
|
|
4264
|
-
getProgramMessages:
|
|
4265
|
-
getFeatureFlags:
|
|
4266
|
-
setProgramThemeChoices:
|
|
4267
|
-
setProgramOptions:
|
|
4268
|
-
resetProgramOptions:
|
|
4269
|
-
setPreviewBranding:
|
|
4270
|
-
setPreviewConfiguration:
|
|
4271
|
-
setPreviewMessages:
|
|
4272
|
-
setPreviewResponse:
|
|
4273
|
-
setPreviewMock:
|
|
4274
|
-
setPreviewLocale:
|
|
4275
|
-
clearPreview:
|
|
4228
|
+
}), new pc(e, void 0);
|
|
4229
|
+
}
|
|
4230
|
+
function Tc(e) {
|
|
4231
|
+
ht(e);
|
|
4232
|
+
}
|
|
4233
|
+
function Ec(e) {
|
|
4234
|
+
Ke(), v(e);
|
|
4235
|
+
}
|
|
4236
|
+
function Dc() {
|
|
4237
|
+
u();
|
|
4238
|
+
}
|
|
4239
|
+
function Oc(e) {
|
|
4240
|
+
v({ _launchDarklyFlagCb: e });
|
|
4241
|
+
}
|
|
4242
|
+
function kc(e, t, n) {
|
|
4243
|
+
return b(e, t, n);
|
|
4244
|
+
}
|
|
4245
|
+
var Ac = {
|
|
4246
|
+
loadInElement: Cc,
|
|
4247
|
+
renderMockProgram: wc,
|
|
4248
|
+
getProgramMessages: kc,
|
|
4249
|
+
getFeatureFlags: Oc,
|
|
4250
|
+
setProgramThemeChoices: Tc,
|
|
4251
|
+
setProgramOptions: Ec,
|
|
4252
|
+
resetProgramOptions: Dc,
|
|
4253
|
+
setPreviewBranding: vc,
|
|
4254
|
+
setPreviewConfiguration: yc,
|
|
4255
|
+
setPreviewMessages: mc,
|
|
4256
|
+
setPreviewResponse: bc,
|
|
4257
|
+
setPreviewMock: _c,
|
|
4258
|
+
setPreviewLocale: xc,
|
|
4259
|
+
clearPreview: Sc
|
|
4276
4260
|
};
|
|
4277
4261
|
//#endregion
|
|
4278
|
-
export {
|
|
4262
|
+
export { Pt as A, Sn as C, z as D, B as E, Tt as M, bt as N, Kt as O, vt as P, On as S, yn as T, Zn as _, co as a, kn as b, Ja as c, Sc as clearPreview, La as d, Ac as default, za as f, dr as g, Oc as getFeatureFlags, kc as getProgramMessages, ba as h, so as i, jt as j, Vt as k, Ua as l, Cc as loadInElement, Ia as m, Zs as n, uo as o, Ra as p, vs as r, wc as renderMockProgram, Dc as resetProgramOptions, ao as s, vc as setPreviewBranding, yc as setPreviewConfiguration, xc as setPreviewLocale, mc as setPreviewMessages, _c as setPreviewMock, bc as setPreviewResponse, Ec as setProgramOptions, Tc as setProgramThemeChoices, $s as t, Va as u, Gn as v, bn as w, V as x, Ln as y };
|