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