@sheerid/jslib 2.307.0 → 2.309.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 +1105 -1118
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-C2lC7O7h.js → AddressComponent-B3Qml47B.js} +5 -5
- package/chunk/{AddressComponent-C2lC7O7h.js.map → AddressComponent-B3Qml47B.js.map} +1 -1
- package/chunk/{AddressComponent-h8JfcOkn.js → AddressComponent-a0r-YVHe.js} +8 -8
- package/chunk/{AddressComponent-h8JfcOkn.js.map → AddressComponent-a0r-YVHe.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DKOYC3b9.js → AnnouncingHeader-CB2PqiuT.js} +6 -6
- package/chunk/{AnnouncingHeader-DKOYC3b9.js.map → AnnouncingHeader-CB2PqiuT.js.map} +1 -1
- package/chunk/AnnouncingHeader-gJrk6VDV.js +4 -4
- package/chunk/{BirthDateComponent-DLA-a79g.js → BirthDateComponent-Ba0lmfef.js} +8 -8
- package/chunk/{BirthDateComponent-DLA-a79g.js.map → BirthDateComponent-Ba0lmfef.js.map} +1 -1
- package/chunk/{BirthDateComponent-PIolYRcO.js → BirthDateComponent-Gh2Ww-HN.js} +5 -5
- package/chunk/{BirthDateComponent-PIolYRcO.js.map → BirthDateComponent-Gh2Ww-HN.js.map} +1 -1
- package/chunk/{CaptchaComponent-DwUevV3t.js → CaptchaComponent-C-T4LXyy.js} +9 -9
- package/chunk/{CaptchaComponent-DNRbjOk0.js.map → CaptchaComponent-C-T4LXyy.js.map} +1 -1
- package/chunk/{CaptchaComponent-DNRbjOk0.js → CaptchaComponent-CqdB13MA.js} +24 -24
- package/chunk/{CaptchaComponent-DwUevV3t.js.map → CaptchaComponent-CqdB13MA.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BOMhh2b3.js → ChangeLocaleComponent-B-N4AzfB.js} +10 -10
- package/chunk/{ChangeLocaleComponent-BOMhh2b3.js.map → ChangeLocaleComponent-B-N4AzfB.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-D0JepSri.js → ChangeLocaleComponent-BM6BkKWg.js} +13 -13
- package/chunk/{ChangeLocaleComponent-D0JepSri.js.map → ChangeLocaleComponent-BM6BkKWg.js.map} +1 -1
- package/chunk/{City-Ufl43AsO.js → City-B7BEIzGI.js} +5 -5
- package/chunk/{City-DRLuVsMu.js.map → City-B7BEIzGI.js.map} +1 -1
- package/chunk/{City-DRLuVsMu.js → City-CDME59i2.js} +8 -8
- package/chunk/{City-Ufl43AsO.js.map → City-CDME59i2.js.map} +1 -1
- package/chunk/{CollegeNameComponent-B8jZYiX1.js → CollegeNameComponent-B64nCepe.js} +7 -7
- package/chunk/{CollegeNameComponent-B8jZYiX1.js.map → CollegeNameComponent-B64nCepe.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Xj0rQB7c.js → CollegeNameComponent-Cj39HCwB.js} +10 -10
- package/chunk/{CollegeNameComponent-Xj0rQB7c.js.map → CollegeNameComponent-Cj39HCwB.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BorxChs8.js → CopyToClipboardComponent-BABPBACX.js} +6 -6
- package/chunk/{CopyToClipboardComponent-BorxChs8.js.map → CopyToClipboardComponent-BABPBACX.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-ystjPwTW.js +4 -4
- package/chunk/{CountryComponentWrapper-CauXt0Zp.js → CountryComponentWrapper-A1Vji18h.js} +12 -12
- package/chunk/{CountryComponentWrapper-CF5TH0Ww.js.map → CountryComponentWrapper-A1Vji18h.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CF5TH0Ww.js → CountryComponentWrapper-DuQVlELD.js} +16 -16
- package/chunk/{CountryComponentWrapper-CauXt0Zp.js.map → CountryComponentWrapper-DuQVlELD.js.map} +1 -1
- package/chunk/{DischargeDateComponent-BURlHu-f.js → DischargeDateComponent-BUwpInEA.js} +11 -11
- package/chunk/{DischargeDateComponent-BURlHu-f.js.map → DischargeDateComponent-BUwpInEA.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DphDUj7n.js → DischargeDateComponent-Dgwcq7Dw.js} +8 -8
- package/chunk/{DischargeDateComponent-DphDUj7n.js.map → DischargeDateComponent-Dgwcq7Dw.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BUe8vef1.js → DriverLicenseNumberComponent-B0D8GLcQ.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-BUe8vef1.js.map → DriverLicenseNumberComponent-B0D8GLcQ.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-fEmGGbnz.js → DriverLicenseNumberComponent-IkhrhLmg.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-fEmGGbnz.js.map → DriverLicenseNumberComponent-IkhrhLmg.js.map} +1 -1
- package/chunk/{EmailLoopPending-HOmFgKTU.js → EmailLoopPending-B9x32FhR.js} +13 -13
- package/chunk/{EmailLoopPending-BN7Op60d.js.map → EmailLoopPending-B9x32FhR.js.map} +1 -1
- package/chunk/{EmailLoopPending-BN7Op60d.js → EmailLoopPending-ClrVrMNH.js} +6 -6
- package/chunk/{EmailLoopPending-HOmFgKTU.js.map → EmailLoopPending-ClrVrMNH.js.map} +1 -1
- package/chunk/{ExtraMessage-BnNB6oFi.js → ExtraMessage-BK3KoHza.js} +7 -7
- package/chunk/{ExtraMessage-BnNB6oFi.js.map → ExtraMessage-BK3KoHza.js.map} +1 -1
- package/chunk/{ExtraMessage-Pq3Frlg0.js → ExtraMessage-C0ccH6sk.js} +5 -5
- package/chunk/{ExtraMessage-Pq3Frlg0.js.map → ExtraMessage-C0ccH6sk.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-C8zsvoAK.js → FirstResponderOrganizationComponent-DsYO3abb.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-B8Th8Q4m.js.map → FirstResponderOrganizationComponent-DsYO3abb.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-B8Th8Q4m.js → FirstResponderOrganizationComponent-_EKhZEFo.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-C8zsvoAK.js.map → FirstResponderOrganizationComponent-_EKhZEFo.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-dsQeqe8F.js → FormFieldInputSelect-BSik3OPS.js} +7 -7
- package/chunk/{FormFieldInputSelect-BKMQ9gEA.js.map → FormFieldInputSelect-BSik3OPS.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BKMQ9gEA.js → FormFieldInputSelect-CCdSha1C.js} +5 -5
- package/chunk/{FormFieldInputSelect-dsQeqe8F.js.map → FormFieldInputSelect-CCdSha1C.js.map} +1 -1
- package/chunk/{FormFieldLayout-B5_PsKrR.js → FormFieldLayout-BIsU84b_.js} +6 -6
- package/chunk/{FormFieldLayout-B5_PsKrR.js.map → FormFieldLayout-BIsU84b_.js.map} +1 -1
- package/chunk/FormFieldLayout-CRgEwTkx.js +4 -4
- package/chunk/{FormFieldText-BWImUS8U.js → FormFieldText-BDXz6mcz.js} +7 -7
- package/chunk/{FormFieldText-BWImUS8U.js.map → FormFieldText-BDXz6mcz.js.map} +1 -1
- package/chunk/FormFieldText-D4SW8w-w.js +4 -4
- package/chunk/{FormFieldTypeahead-MpKtmzcg.js → FormFieldTypeahead-CBF79-qs.js} +8 -8
- package/chunk/{FormFieldTypeahead-MpKtmzcg.js.map → FormFieldTypeahead-CBF79-qs.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-B0gZVz-_.js → FormFieldTypeahead-DJHIv355.js} +128 -128
- package/chunk/{FormFieldTypeahead-B0gZVz-_.js.map → FormFieldTypeahead-DJHIv355.js.map} +1 -1
- package/chunk/{FormFooterComponent-CxPaPS8m.js → FormFooterComponent-INKrqmGm.js} +450 -450
- package/chunk/{FormFooterComponent-CxPaPS8m.js.map → FormFooterComponent-INKrqmGm.js.map} +1 -1
- package/chunk/{FormFooterComponent-3UsgRJsz.js → FormFooterComponent-MCHQU8Kl.js} +312 -312
- package/chunk/{FormFooterComponent-3UsgRJsz.js.map → FormFooterComponent-MCHQU8Kl.js.map} +1 -1
- package/chunk/{FormSelectChoice-D9QN8zac.js → FormSelectChoice-Bg_lsdUY.js} +9 -9
- package/chunk/{FormSelectChoice-D-la3EDO.js.map → FormSelectChoice-Bg_lsdUY.js.map} +1 -1
- package/chunk/{FormSelectChoice-D-la3EDO.js → FormSelectChoice-pFDbmXCQ.js} +7 -7
- package/chunk/{FormSelectChoice-D9QN8zac.js.map → FormSelectChoice-pFDbmXCQ.js.map} +1 -1
- package/chunk/{InputText-D__c437o.js → InputText-A_AtNJXr.js} +6 -6
- package/chunk/{InputText-D__c437o.js.map → InputText-A_AtNJXr.js.map} +1 -1
- package/chunk/InputText-CS8Q8oNz.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-DpFUTGIU.js → LicensedProfessionalOrganizationComponent-B7vyVuT0.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-0YuaW1wl.js.map → LicensedProfessionalOrganizationComponent-B7vyVuT0.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-0YuaW1wl.js → LicensedProfessionalOrganizationComponent-aoNyG1l1.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-DpFUTGIU.js.map → LicensedProfessionalOrganizationComponent-aoNyG1l1.js.map} +1 -1
- package/chunk/{LogoComponent-BgbR17OV.js → LogoComponent-C-hULigw.js} +6 -6
- package/chunk/{LogoComponent-BgbR17OV.js.map → LogoComponent-C-hULigw.js.map} +1 -1
- package/chunk/{LogoComponent-CuBinjv8.js → LogoComponent-CJ7yp-Hg.js} +5 -5
- package/chunk/{LogoComponent-CuBinjv8.js.map → LogoComponent-CJ7yp-Hg.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-Cu8hF9KG.js → LowIncomeOrganizationComponent-B1EPJmpi.js} +13 -13
- package/chunk/{LowIncomeOrganizationComponent-Cu8hF9KG.js.map → LowIncomeOrganizationComponent-B1EPJmpi.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BwJZgutt.js → LowIncomeOrganizationComponent-DXaB9JPK.js} +9 -9
- package/chunk/{LowIncomeOrganizationComponent-BwJZgutt.js.map → LowIncomeOrganizationComponent-DXaB9JPK.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-qH0R0RdW.js → MedicalProfessionalOrganizationComponent-Cb-0WpnI.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-qH0R0RdW.js.map → MedicalProfessionalOrganizationComponent-Cb-0WpnI.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-D1nAdwMg.js → MedicalProfessionalOrganizationComponent-Cj-LrGjb.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-D1nAdwMg.js.map → MedicalProfessionalOrganizationComponent-Cj-LrGjb.js.map} +1 -1
- package/chunk/{MemberIdComponent-zCfHfHqP.js → MemberIdComponent-BSWbA2VQ.js} +8 -8
- package/chunk/{MemberIdComponent-B6AVjpgw.js.map → MemberIdComponent-BSWbA2VQ.js.map} +1 -1
- package/chunk/{MemberIdComponent-B6AVjpgw.js → MemberIdComponent-VeHt3zks.js} +5 -5
- package/chunk/{MemberIdComponent-zCfHfHqP.js.map → MemberIdComponent-VeHt3zks.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CsmHLMIR.js → MembershipOrganizationComponent-OKGd4OjD.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-CsmHLMIR.js.map → MembershipOrganizationComponent-OKGd4OjD.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BpVuchsF.js → MembershipOrganizationComponent-YAQRcvyJ.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BpVuchsF.js.map → MembershipOrganizationComponent-YAQRcvyJ.js.map} +1 -1
- package/chunk/{Message-DtxngN6C.js → Message-BTSGs0Uf.js} +51 -45
- package/chunk/{Message-DtxngN6C.js.map → Message-BTSGs0Uf.js.map} +1 -1
- package/chunk/{Message-DiIMSbkQ.js → Message-CPP7Iunj.js} +1453 -1445
- package/chunk/{Message-DiIMSbkQ.js.map → Message-CPP7Iunj.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-C9bX9hn-.js → PersonalInfoStepSubmitButton-BJG8WCCA.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-Ce7x__Wi.js.map → PersonalInfoStepSubmitButton-BJG8WCCA.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-Ce7x__Wi.js → PersonalInfoStepSubmitButton-DTijgJ79.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-C9bX9hn-.js.map → PersonalInfoStepSubmitButton-DTijgJ79.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CBtDM65w.js → PersonalInfoStepWrapper-BnWD9XRN.js} +9 -9
- package/chunk/{PersonalInfoStepWrapper-CBtDM65w.js.map → PersonalInfoStepWrapper-BnWD9XRN.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-TFsKYUeL.js → PersonalInfoStepWrapper-DJdAvOXE.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-TFsKYUeL.js.map → PersonalInfoStepWrapper-DJdAvOXE.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Dknp_LrI.js → PostalCodeComponent-BJ6K7pYz.js} +8 -8
- package/chunk/{PostalCodeComponent-BBs9Bp36.js.map → PostalCodeComponent-BJ6K7pYz.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BBs9Bp36.js → PostalCodeComponent-C-U8RqcR.js} +5 -5
- package/chunk/{PostalCodeComponent-Dknp_LrI.js.map → PostalCodeComponent-C-U8RqcR.js.map} +1 -1
- package/chunk/{SSN-gJcpvUFG.js → SSN-CSYBnPZE.js} +5 -5
- package/chunk/{SSN-gJcpvUFG.js.map → SSN-CSYBnPZE.js.map} +1 -1
- package/chunk/{SSN-BSxE5Uet.js → SSN-Cp_zGaOX.js} +8 -8
- package/chunk/{SSN-BSxE5Uet.js.map → SSN-Cp_zGaOX.js.map} +1 -1
- package/chunk/{StateSelectComponent-BLPGXEhQ.js → StateSelectComponent-C4937sVp.js} +6 -6
- package/chunk/{StateSelectComponent-BLPGXEhQ.js.map → StateSelectComponent-C4937sVp.js.map} +1 -1
- package/chunk/{StateSelectComponent-CqzkF1jU.js → StateSelectComponent-D83Yw9AW.js} +7 -7
- package/chunk/{StateSelectComponent-CqzkF1jU.js.map → StateSelectComponent-D83Yw9AW.js.map} +1 -1
- package/chunk/{StatusComponent-C95cd9HL.js → StatusComponent-B4Z6EtvN.js} +9 -9
- package/chunk/{StatusComponent-C95cd9HL.js.map → StatusComponent-B4Z6EtvN.js.map} +1 -1
- package/chunk/{StatusComponent-Os3WMfWG.js → StatusComponent-FfBUlga7.js} +6 -6
- package/chunk/{StatusComponent-Os3WMfWG.js.map → StatusComponent-FfBUlga7.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DVP1nW1R.js → StepAgePersonalInfo-C6SEZ9Oa.js} +17 -17
- package/chunk/{StepAgePersonalInfo-D2IGNQbe.js.map → StepAgePersonalInfo-C6SEZ9Oa.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-D2IGNQbe.js → StepAgePersonalInfo-DEv6exzf.js} +20 -20
- package/chunk/{StepAgePersonalInfo-DVP1nW1R.js.map → StepAgePersonalInfo-DEv6exzf.js.map} +1 -1
- package/chunk/StepCard-B72CFYHs.js +4 -4
- package/chunk/{StepCard-Bvt7Kykz.js → StepCard-BIpwIpzh.js} +5 -5
- package/chunk/{StepCard-Bvt7Kykz.js.map → StepCard-BIpwIpzh.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DnC9MgdJ.js → StepCollectIdentifier-MuXIkxMQ.js} +6 -6
- package/chunk/{StepCollectIdentifier-DnC9MgdJ.js.map → StepCollectIdentifier-MuXIkxMQ.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-Cr-pcekl.js → StepCollectIdentifier-vMAPbX16.js} +9 -9
- package/chunk/{StepCollectIdentifier-Cr-pcekl.js.map → StepCollectIdentifier-vMAPbX16.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js → StepCollectMilitaryPersonalInfoComponent-CMZnywpF.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js.map → StepCollectMilitaryPersonalInfoComponent-CMZnywpF.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js → StepCollectMilitaryPersonalInfoComponent-D08jnp7r.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js.map → StepCollectMilitaryPersonalInfoComponent-D08jnp7r.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-BW4zdAuJ.js → StepCollectPersonalInfo-DVzTF-9a.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-BW4zdAuJ.js.map → StepCollectPersonalInfo-DVzTF-9a.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-Dp0QqT2l.js → StepCollectPersonalInfo-DpAAHptW.js} +34 -34
- package/chunk/{StepCollectPersonalInfo-Dp0QqT2l.js.map → StepCollectPersonalInfo-DpAAHptW.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-BrdV0iN-.js +4 -4
- package/chunk/{StepCompleteAuthentication-DLwlKmBO.js → StepCompleteAuthentication-s8qDxFAa.js} +9 -9
- package/chunk/{StepCompleteAuthentication-DLwlKmBO.js.map → StepCompleteAuthentication-s8qDxFAa.js.map} +1 -1
- package/chunk/{StepConsolation-CGZzbc4p.js → StepConsolation-CD_eKd9M.js} +6 -6
- package/chunk/{StepConsolation-BjfCC2wN.js.map → StepConsolation-CD_eKd9M.js.map} +1 -1
- package/chunk/{StepConsolation-BjfCC2wN.js → StepConsolation-CWshJB4w.js} +8 -8
- package/chunk/{StepConsolation-CGZzbc4p.js.map → StepConsolation-CWshJB4w.js.map} +1 -1
- package/chunk/{StepDocUpload-LtmtqAaG.js → StepDocUpload-Cm2fp1nn.js} +46 -46
- package/chunk/{StepDocUpload-LtmtqAaG.js.map → StepDocUpload-Cm2fp1nn.js.map} +1 -1
- package/chunk/{StepDocUpload--r9rabBA.js → StepDocUpload-LGeSkhys.js} +10 -10
- package/chunk/{StepDocUpload--r9rabBA.js.map → StepDocUpload-LGeSkhys.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-TZmQSwrX.js → StepDriverLicensePersonalInfoComponent-ChrYyEGe.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-TZmQSwrX.js.map → StepDriverLicensePersonalInfoComponent-ChrYyEGe.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-jrvtL5WY.js → StepDriverLicensePersonalInfoComponent-DAUnpdwY.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-jrvtL5WY.js.map → StepDriverLicensePersonalInfoComponent-DAUnpdwY.js.map} +1 -1
- package/chunk/{StepEmailLoop-KgVxTrKD.js → StepEmailLoop-C4zGiSxp.js} +7 -7
- package/chunk/{StepEmailLoop-BOMgU-LY.js.map → StepEmailLoop-C4zGiSxp.js.map} +1 -1
- package/chunk/{StepEmailLoop-BOMgU-LY.js → StepEmailLoop-e5L4MkM3.js} +13 -13
- package/chunk/{StepEmailLoop-KgVxTrKD.js.map → StepEmailLoop-e5L4MkM3.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DCgjGcV1.js → StepEmploymentPersonalInfo-DInj_Kjv.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-CsCSbWGn.js.map → StepEmploymentPersonalInfo-DInj_Kjv.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CsCSbWGn.js → StepEmploymentPersonalInfo-DmgP04aU.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-DCgjGcV1.js.map → StepEmploymentPersonalInfo-DmgP04aU.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BNichcOp.js → StepFirstResponderPersonalInfo-BBINQ-12.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-BNichcOp.js.map → StepFirstResponderPersonalInfo-BBINQ-12.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-C0dqZ6v9.js → StepFirstResponderPersonalInfo-COEtqwa_.js} +22 -22
- package/chunk/{StepFirstResponderPersonalInfo-C0dqZ6v9.js.map → StepFirstResponderPersonalInfo-COEtqwa_.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BY5f03WX.js → StepGeneralIdentityPersonalInfoComponent-CgaXuqc2.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BFGOloFz.js.map → StepGeneralIdentityPersonalInfoComponent-CgaXuqc2.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BFGOloFz.js → StepGeneralIdentityPersonalInfoComponent-Ug0AKY5T.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BY5f03WX.js.map → StepGeneralIdentityPersonalInfoComponent-Ug0AKY5T.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CUmSF5K7.js → StepHybridIdentityPersonalInfoComponent-B4jNyOiR.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-6iihyo4W.js.map → StepHybridIdentityPersonalInfoComponent-B4jNyOiR.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-6iihyo4W.js → StepHybridIdentityPersonalInfoComponent-BR7bMAMt.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CUmSF5K7.js.map → StepHybridIdentityPersonalInfoComponent-BR7bMAMt.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DSxFMqVr.js → StepIDCheckLoop-CchfAliF.js} +7 -7
- package/chunk/{StepIDCheckLoop-D8HQBh8L.js.map → StepIDCheckLoop-CchfAliF.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-D8HQBh8L.js → StepIDCheckLoop-CtpXHEDW.js} +9 -9
- package/chunk/{StepIDCheckLoop-DSxFMqVr.js.map → StepIDCheckLoop-CtpXHEDW.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DMuf0LlO.js → StepIDCheckLoopOnfido-CbIGTfeY.js} +8 -8
- package/chunk/{StepIDCheckLoopOnfido-BTKJ2Blc.js.map → StepIDCheckLoopOnfido-CbIGTfeY.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BTKJ2Blc.js → StepIDCheckLoopOnfido-FhVshXLX.js} +14 -14
- package/chunk/{StepIDCheckLoopOnfido-DMuf0LlO.js.map → StepIDCheckLoopOnfido-FhVshXLX.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Ci85xeOu.js → StepIDCheckLoopRegula-BUIGJhX0.js} +12 -12
- package/chunk/{StepIDCheckLoopRegula-Ci85xeOu.js.map → StepIDCheckLoopRegula-BUIGJhX0.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-wLpAcBIL.js → StepIDCheckLoopRegula-C1yG8mR5.js} +8 -8
- package/chunk/{StepIDCheckLoopRegula-wLpAcBIL.js.map → StepIDCheckLoopRegula-C1yG8mR5.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CaME8oV0.js → StepLicensedProfessionalPersonalInfo-2z10hhnE.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-CaME8oV0.js.map → StepLicensedProfessionalPersonalInfo-2z10hhnE.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DcyPpqRP.js → StepLicensedProfessionalPersonalInfo-B2MNxpX7.js} +21 -21
- package/chunk/{StepLicensedProfessionalPersonalInfo-DcyPpqRP.js.map → StepLicensedProfessionalPersonalInfo-B2MNxpX7.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-D_DnxewS.js → StepLowIncomePersonalInfo-CjlBDKUj.js} +25 -25
- package/chunk/{StepLowIncomePersonalInfo-D2XooNBZ.js.map → StepLowIncomePersonalInfo-CjlBDKUj.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-D2XooNBZ.js → StepLowIncomePersonalInfo-DvY2PYF2.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-D_DnxewS.js.map → StepLowIncomePersonalInfo-DvY2PYF2.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BBTMJxlc.js → StepMedicalProfessionalPersonalInfo-9aKJkkDY.js} +22 -22
- package/chunk/{StepMedicalProfessionalPersonalInfo-BBTMJxlc.js.map → StepMedicalProfessionalPersonalInfo-9aKJkkDY.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DQvZgNA8.js → StepMedicalProfessionalPersonalInfo-CnwQHj5v.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-DQvZgNA8.js.map → StepMedicalProfessionalPersonalInfo-CnwQHj5v.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DZI9oiLg.js → StepMemberPersonalInfo-BgRL5j5g.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-C163dcFm.js.map → StepMemberPersonalInfo-BgRL5j5g.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-C163dcFm.js → StepMemberPersonalInfo-Cw4HL7yZ.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-DZI9oiLg.js.map → StepMemberPersonalInfo-Cw4HL7yZ.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DkqRxBv_.js → StepMoverPersonalInfo-DDyWo8d6.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-DVKj_md6.js.map → StepMoverPersonalInfo-DDyWo8d6.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DVKj_md6.js → StepMoverPersonalInfo-DJnpx8M2.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-DkqRxBv_.js.map → StepMoverPersonalInfo-DJnpx8M2.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BZ5DPwb7.js → StepOverrideComponent-CHRZdJdv.js} +7 -7
- package/chunk/{StepOverrideComponent-BZ5DPwb7.js.map → StepOverrideComponent-CHRZdJdv.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CFCHGcGm.js → StepOverrideComponent-iFmYg3Jf.js} +12 -12
- package/chunk/{StepOverrideComponent-CFCHGcGm.js.map → StepOverrideComponent-iFmYg3Jf.js.map} +1 -1
- package/chunk/{StepSMSLoop-qDDjiu2X.js → StepSMSLoop-B4zc2475.js} +13 -13
- package/chunk/{StepSMSLoop-kUCfwUG3.js.map → StepSMSLoop-B4zc2475.js.map} +1 -1
- package/chunk/{StepSMSLoop-kUCfwUG3.js → StepSMSLoop-B6IejBgf.js} +5 -5
- package/chunk/{StepSMSLoop-qDDjiu2X.js.map → StepSMSLoop-B6IejBgf.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-D-Ryab7q.js → StepSocialSecurityNumber-C8h5CjH0.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-CzdRBNES.js.map → StepSocialSecurityNumber-C8h5CjH0.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CzdRBNES.js → StepSocialSecurityNumber-CLCIPHL5.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-D-Ryab7q.js.map → StepSocialSecurityNumber-CLCIPHL5.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DzBMt8Kd.js → StepStudentPersonalInfo-CdFE8LZp.js} +22 -22
- package/chunk/{StepStudentPersonalInfo-DzBMt8Kd.js.map → StepStudentPersonalInfo-CdFE8LZp.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-z2J7_k9j.js → StepStudentPersonalInfo-JKQyuhXR.js} +17 -17
- package/chunk/{StepStudentPersonalInfo-z2J7_k9j.js.map → StepStudentPersonalInfo-JKQyuhXR.js.map} +1 -1
- package/chunk/{StepSuccess-CoQmjeaw.js → StepSuccess-B_eN9rgQ.js} +7 -7
- package/chunk/{StepSuccess-CoQmjeaw.js.map → StepSuccess-B_eN9rgQ.js.map} +1 -1
- package/chunk/{StepSuccess-CwprAx_X.js → StepSuccess-De0PQQ0p.js} +24 -24
- package/chunk/{StepSuccess-CwprAx_X.js.map → StepSuccess-De0PQQ0p.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BnREkHc-.js → StepTeacherPersonalInfo-Bhq87jMj.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-BnREkHc-.js.map → StepTeacherPersonalInfo-Bhq87jMj.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-oxESzOhJ.js → StepTeacherPersonalInfo-hhwIENW1.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-oxESzOhJ.js.map → StepTeacherPersonalInfo-hhwIENW1.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-X4jP0iPe.js → TeacherSchoolComponent-BMKPJ_xe.js} +10 -10
- package/chunk/{TeacherSchoolComponent-X4jP0iPe.js.map → TeacherSchoolComponent-BMKPJ_xe.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-xlpebqi9.js → TeacherSchoolComponent-Cx6v96GB.js} +7 -7
- package/chunk/{TeacherSchoolComponent-xlpebqi9.js.map → TeacherSchoolComponent-Cx6v96GB.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-CqkLaStu.js → TestingRouteOverrides-BkiKiFEo.js} +21 -27
- package/chunk/TestingRouteOverrides-BkiKiFEo.js.map +1 -0
- package/chunk/TestingRouteOverrides-DY8ArsjS.js +72 -0
- package/chunk/TestingRouteOverrides-DY8ArsjS.js.map +1 -0
- 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-C3U46Rd_.js +12 -0
- package/chunk/{countryUtils-B4JUeycO.js.map → countryUtils-C3U46Rd_.js.map} +1 -1
- package/chunk/{countryUtils-B4JUeycO.js → countryUtils-qGBFeGxN.js} +5 -5
- package/chunk/{countryUtils-DS8Zctdr.js.map → countryUtils-qGBFeGxN.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-CWgGV2e-.js → downshift.esm-D4y-Z20t.js} +105 -105
- package/chunk/{downshift.esm-B1eE_tYZ.js.map → downshift.esm-D4y-Z20t.js.map} +1 -1
- package/chunk/{downshift.esm-B1eE_tYZ.js → downshift.esm-jbY4UkQd.js} +5 -5
- package/chunk/{downshift.esm-CWgGV2e-.js.map → downshift.esm-jbY4UkQd.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-C1INRgC4.js +4 -4
- package/chunk/{empties-C38lUQIl.js → empties-DGHGXdAM.js} +8 -8
- package/chunk/{empties-C38lUQIl.js.map → empties-DGHGXdAM.js.map} +1 -1
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-Y72jcEAM.js → hooks-BAFUGrUF.js} +27 -27
- package/chunk/{hooks-Y72jcEAM.js.map → hooks-BAFUGrUF.js.map} +1 -1
- package/chunk/hooks-DFk9wlFh.js +4 -4
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/{options-BCFIfBTZ.js → i18next-BcwHhUFU.js} +2472 -2472
- package/chunk/i18next-BcwHhUFU.js.map +1 -0
- 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-CB6nLaN6.js +4 -4
- package/chunk/{jsx-runtime-BfITI5pK.js → jsx-runtime-S693AykS.js} +5 -5
- package/chunk/{jsx-runtime-BfITI5pK.js.map → jsx-runtime-S693AykS.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramConfiguration-YBQMVL51.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramTheme-CPG4vkJd.js +4 -4
- package/chunk/{mocks-BJWOJTTC.js → mocks-BqCQsZhz.js} +5 -5
- package/chunk/{mocks-BJWOJTTC.js.map → mocks-BqCQsZhz.js.map} +1 -1
- 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/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-CIZ0gRgE.js → programThemeGetters-Ck-5kuO1.js} +5 -5
- package/chunk/{programThemeGetters-CIZ0gRgE.js.map → programThemeGetters-Ck-5kuO1.js.map} +1 -1
- package/chunk/{programThemeGetters-BIRDUiTI.js → programThemeGetters-D-rexWk1.js} +29 -29
- package/chunk/{programThemeGetters-BIRDUiTI.js.map → programThemeGetters-D-rexWk1.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 → stepComponentHelpers-Cduf93Ed.js} +30 -30
- package/chunk/{stepComponentHelpers-CD1Gfspm.js.map → stepComponentHelpers-Cduf93Ed.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-CzTl9kbR.js → useCollectFieldsEndpoint-BdH4Y4YP.js} +13 -13
- package/chunk/{useCollectFieldsEndpoint-Bxae2_8a.js.map → useCollectFieldsEndpoint-BdH4Y4YP.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Bxae2_8a.js → useCollectFieldsEndpoint-D-LXczym.js} +21 -21
- package/chunk/{useCollectFieldsEndpoint-CzTl9kbR.js.map → useCollectFieldsEndpoint-D-LXczym.js.map} +1 -1
- package/chunk/{useMetrics-jabV9gsZ.js → useMetrics-C18IaSjY.js} +7 -7
- package/chunk/{useMetrics-jabV9gsZ.js.map → useMetrics-C18IaSjY.js.map} +1 -1
- package/chunk/useMetrics-CtsRRjGJ.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 +1219 -1232
- package/sheerid.js.map +1 -1
- package/chunk/TestingRouteOverrides-CqkLaStu.js.map +0 -1
- package/chunk/TestingRouteOverrides-DUx5spVA.js +0 -78
- package/chunk/TestingRouteOverrides-DUx5spVA.js.map +0 -1
- package/chunk/countryUtils-DS8Zctdr.js +0 -12
- package/chunk/options-BCFIfBTZ.js.map +0 -1
package/sheerid.js
CHANGED
|
@@ -1,62 +1,34 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.309.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1793140919172
|
|
5
|
+
* BUILD_DATE: Tue Oct 27 2026 22:41:59 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 8a5b24ef34ef392cf49cc330fcba8f34da95cb27
|
|
7
7
|
*/
|
|
8
|
-
import { At as e,
|
|
9
|
-
import { i as
|
|
10
|
-
import {
|
|
11
|
-
import { S as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { C as
|
|
15
|
-
import { a as
|
|
16
|
-
import { i as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
8
|
+
import { At as e, E as t, Ot as n, S as r, T as i, _ as a, a as o, at as s, b as c, d as l, dt as u, et as d, f, ft as p, g as m, h, i as g, it as _, l as v, n as y, o as b, s as x, t as S, u as C, ut as w, vt as T, x as ee, y as te } from "./chunk/i18next-BcwHhUFU.js";
|
|
9
|
+
import { i as ne, n as E, s as D, t as O } from "./chunk/jsx-runtime-S693AykS.js";
|
|
10
|
+
import { C as k, I as A, L as re, M as ie, O as ae, P as oe, R as se, U as ce, _ as le, a as ue, b as de, c as fe, f as pe, i as me, j as he, k as ge, l as _e, o as ve, p as ye, r as be, s as xe, t as j, u as Se, v as Ce, y as we } from "./chunk/Message-CPP7Iunj.js";
|
|
11
|
+
import { S as M, b as N, h as Te, o as Ee, x as De } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
12
|
+
import { S as Oe, T as ke, r as Ae, w as je } from "./chunk/programThemeGetters-D-rexWk1.js";
|
|
13
|
+
import { a as Me, i as Ne, r as Pe, t as Fe } from "./chunk/TestingRouteOverrides-DY8ArsjS.js";
|
|
14
|
+
import { C as Ie, S as Le, T as Re, _ as ze, a as Be, b as Ve, c as He, d as Ue, f as We, g as Ge, h as Ke, i as qe, l as Je, m as Ye, n as Xe, o as Ze, p as Qe, r as $e, s as et, t as tt, u as nt, v as rt, w as it, x as at, y as ot } from "./chunk/FormFooterComponent-INKrqmGm.js";
|
|
15
|
+
import { a as st, i as ct, n as lt, r as ut, t as dt } from "./chunk/hooks-BAFUGrUF.js";
|
|
16
|
+
import { i as ft, s as pt, t as mt } from "./chunk/refs-Mq0rtW9K.js";
|
|
17
|
+
import { t as ht } from "./chunk/LogoComponent-C-hULigw.js";
|
|
18
|
+
import { t as gt } from "./chunk/strings-DWLVdUcm.js";
|
|
19
|
+
import { t as _t } from "./chunk/AnnouncingHeader-CB2PqiuT.js";
|
|
20
20
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
21
|
-
var
|
|
22
|
-
function
|
|
23
|
-
let r = (0,
|
|
21
|
+
var P = /* @__PURE__ */ e(D());
|
|
22
|
+
function vt({ i18n: e, defaultNS: t, children: n }) {
|
|
23
|
+
let r = (0, P.useMemo)(() => ({
|
|
24
24
|
i18n: e,
|
|
25
25
|
defaultNS: t
|
|
26
26
|
}), [e, t]);
|
|
27
|
-
return (0,
|
|
27
|
+
return (0, P.createElement)(A.Provider, { value: r }, n);
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
|
-
//#region
|
|
31
|
-
var
|
|
32
|
-
className: "sid-spinner",
|
|
33
|
-
"data-testid": "sid-spinner",
|
|
34
|
-
children: [
|
|
35
|
-
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
36
|
-
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
37
|
-
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
38
|
-
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
39
|
-
]
|
|
40
|
-
}), yt = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
41
|
-
className: "sid-loading-screen__message",
|
|
42
|
-
children: [Ce(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
43
|
-
className: "sid-loading-screen__message-header",
|
|
44
|
-
role: "alert",
|
|
45
|
-
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
46
|
-
id: "step.personalInfo.verifyingTitle",
|
|
47
|
-
defaultMessage: "Verifying your status"
|
|
48
|
-
})
|
|
49
|
-
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
50
|
-
className: "sid-loading-screen__message-subhead",
|
|
51
|
-
children: /* @__PURE__ */ (0, I.jsx)(O, {
|
|
52
|
-
id: "step.personalInfo.verifyingSubtitle",
|
|
53
|
-
defaultMessage: "This should only take a minute"
|
|
54
|
-
})
|
|
55
|
-
})]
|
|
56
|
-
}), bt = ({ step: e = Oe() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
57
|
-
className: "sid-loading-screen",
|
|
58
|
-
children: [/* @__PURE__ */ (0, I.jsx)(vt, {}), e && /* @__PURE__ */ (0, I.jsx)(yt, { step: e })]
|
|
59
|
-
}), xt = /* @__PURE__ */ a(((e, t) => {
|
|
30
|
+
//#region ../node_modules/rtl-detect/lib/rtl-detect.js
|
|
31
|
+
var yt = /* @__PURE__ */ n(((e, t) => {
|
|
60
32
|
var n, r = n = {
|
|
61
33
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
62
34
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -123,13 +95,13 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
123
95
|
enumerable: !0,
|
|
124
96
|
configurable: !1
|
|
125
97
|
}), t.exports = r;
|
|
126
|
-
})),
|
|
127
|
-
var n =
|
|
98
|
+
})), bt = /* @__PURE__ */ n(((e, t) => {
|
|
99
|
+
var n = yt();
|
|
128
100
|
t.exports = {
|
|
129
101
|
isRtlLang: n.isRtlLang,
|
|
130
102
|
getLangDir: n.getLangDir
|
|
131
103
|
};
|
|
132
|
-
})), Ct = /* @__PURE__ */ e(
|
|
104
|
+
})), xt = /* @__PURE__ */ e(ce(), 1), St = /* @__PURE__ */ e(s(), 1), Ct = /* @__PURE__ */ e(oe(), 1), wt = /* @__PURE__ */ e(bt(), 1), F = {
|
|
133
105
|
landingBackgroundColor: "#fff",
|
|
134
106
|
landingPrimaryFontColor: "#000",
|
|
135
107
|
landingBackgroundImage: "none",
|
|
@@ -143,7 +115,7 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
143
115
|
formFont: "var(--sheerid-font-family-sans)",
|
|
144
116
|
cssVariables: null,
|
|
145
117
|
customStyles: null
|
|
146
|
-
}, Tt =
|
|
118
|
+
}, Tt = P.createContext(F), I = O(), L = {
|
|
147
119
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
148
120
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
149
121
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -269,23 +241,23 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
269
241
|
percentage: 3
|
|
270
242
|
}
|
|
271
243
|
}, Dt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
272
|
-
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 ||
|
|
273
|
-
[
|
|
274
|
-
[
|
|
275
|
-
[
|
|
276
|
-
[
|
|
277
|
-
[
|
|
278
|
-
[
|
|
279
|
-
[
|
|
280
|
-
[
|
|
281
|
-
[
|
|
282
|
-
[
|
|
283
|
-
[
|
|
244
|
+
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || F.landingBackgroundColor, c = o?.primaryFontColor || F.landingPrimaryFontColor, l = o?.backgroundImageUrl || F.landingBackgroundImage, u = e?.backgroundColor || F.formBackgroundColor, d = e?.primaryFontColor || F.formPrimaryFontColor, f = e?.buttonColor || F.formButtonColor, p = e?.buttonFontColor || F.formButtonFontColor, m = e?.linkColor || F.formLinkColor, h = e?.h1FontColor || F.formH1FontColor, g = e?.helperFontColor || F.formHelperFontColor, _ = e?.font || F.formFont, v = {
|
|
245
|
+
[L.landingBackgroundColor]: s,
|
|
246
|
+
[L.landingPrimaryFontColor]: c,
|
|
247
|
+
[L.landingBackgroundImage]: l === F.landingBackgroundImage ? F.landingBackgroundImage : `url(${l})`,
|
|
248
|
+
[L.formBackgroundColor]: u,
|
|
249
|
+
[L.formPrimaryFontColor]: d,
|
|
250
|
+
[L.formButtonColor]: f,
|
|
251
|
+
[L.formButtonFontColor]: p,
|
|
252
|
+
[L.formLinkColor]: m,
|
|
253
|
+
[L.formH1FontColor]: h,
|
|
254
|
+
[L.formHelperFontColor]: g,
|
|
255
|
+
[L.formFont]: _ === F.formFont ? F.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
284
256
|
...Object.entries(Et).reduce((e, [t, n]) => {
|
|
285
257
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
286
258
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
287
259
|
}, {})
|
|
288
|
-
}, y =
|
|
260
|
+
}, y = P.useRef(null), b = ke() === je.cdnInlineIframe, x = ke() === je.cdnModalIframe;
|
|
289
261
|
return /* @__PURE__ */ (0, I.jsx)(Tt.Provider, {
|
|
290
262
|
value: {
|
|
291
263
|
landingBackgroundColor: s,
|
|
@@ -319,32 +291,60 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
319
291
|
currentStep: t?.currentStep,
|
|
320
292
|
viewModel: n
|
|
321
293
|
}), kt = {}, At = (e, t) => {
|
|
322
|
-
|
|
323
|
-
}, jt = (e) => kt[e] ? (
|
|
294
|
+
M.log(`overrideComponent registering ${e}`), kt[e] = t;
|
|
295
|
+
}, jt = (e) => kt[e] ? (M.log(`getOverridenComponent returning ${e}`), kt[e]) : null, Mt = () => {
|
|
324
296
|
kt = {};
|
|
325
|
-
}, Nt = (
|
|
326
|
-
|
|
327
|
-
|
|
297
|
+
}, Nt = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
298
|
+
className: "sid-spinner",
|
|
299
|
+
"data-testid": "sid-spinner",
|
|
300
|
+
children: [
|
|
301
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
302
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
303
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
304
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
305
|
+
]
|
|
306
|
+
}), Pt = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
307
|
+
className: "sid-loading-screen__message",
|
|
308
|
+
children: [De(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
309
|
+
className: "sid-loading-screen__message-header",
|
|
310
|
+
role: "alert",
|
|
311
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
312
|
+
id: "step.personalInfo.verifyingTitle",
|
|
313
|
+
defaultMessage: "Verifying your status"
|
|
314
|
+
})
|
|
315
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
316
|
+
className: "sid-loading-screen__message-subhead",
|
|
317
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
318
|
+
id: "step.personalInfo.verifyingSubtitle",
|
|
319
|
+
defaultMessage: "This should only take a minute"
|
|
320
|
+
})
|
|
321
|
+
})]
|
|
322
|
+
}), Ft = ({ step: e = Fe() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
323
|
+
className: "sid-loading-screen",
|
|
324
|
+
children: [/* @__PURE__ */ (0, I.jsx)(Nt, {}), e && /* @__PURE__ */ (0, I.jsx)(Pt, { step: e })]
|
|
325
|
+
}), It = ({ verificationService: e, linkText: t }) => {
|
|
326
|
+
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
327
|
+
return n ? /* @__PURE__ */ (0, I.jsx)(be, {
|
|
328
328
|
className: "sid-faq sid-link",
|
|
329
|
-
href:
|
|
330
|
-
children: t || /* @__PURE__ */ (0, I.jsx)(
|
|
329
|
+
href: Ae(i, n, r, g(e.viewModel), e.verificationResponse),
|
|
330
|
+
children: t || /* @__PURE__ */ (0, I.jsx)(E, {
|
|
331
331
|
id: "getHelp",
|
|
332
332
|
defaultMessage: "Get help"
|
|
333
333
|
})
|
|
334
334
|
}) : null;
|
|
335
|
-
},
|
|
335
|
+
}, Lt = /* @__PURE__ */ (0, I.jsx)(E, {
|
|
336
336
|
id: "poweredBy",
|
|
337
337
|
defaultMessage: "Verification services powered by SheerID."
|
|
338
|
-
}),
|
|
338
|
+
}), Rt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
339
339
|
switch (n) {
|
|
340
340
|
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
341
341
|
className: "sid-footer__powered-by-container-experiment",
|
|
342
342
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
343
343
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
344
|
-
children:
|
|
344
|
+
children: Lt
|
|
345
345
|
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
346
346
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
347
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
347
|
+
children: /* @__PURE__ */ (0, I.jsx)(It, { verificationService: e })
|
|
348
348
|
})]
|
|
349
349
|
});
|
|
350
350
|
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
@@ -357,28 +357,28 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
357
357
|
alt: "",
|
|
358
358
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
359
359
|
})
|
|
360
|
-
}),
|
|
360
|
+
}), Lt]
|
|
361
361
|
})
|
|
362
362
|
});
|
|
363
363
|
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
364
364
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
365
365
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
366
366
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
367
|
-
children:
|
|
367
|
+
children: Lt
|
|
368
368
|
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
369
369
|
className: t ? "sid-l-space-top-sm" : "",
|
|
370
|
-
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(
|
|
370
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(It, { verificationService: e })]
|
|
371
371
|
})]
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
|
-
},
|
|
375
|
-
let n =
|
|
374
|
+
}, zt = (e, t) => {
|
|
375
|
+
let n = P.useRef(null);
|
|
376
376
|
function r() {
|
|
377
377
|
clearInterval(n.current);
|
|
378
378
|
}
|
|
379
|
-
return
|
|
380
|
-
},
|
|
381
|
-
let a =
|
|
379
|
+
return P.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
380
|
+
}, Bt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Ut.PRIMARY }) => {
|
|
381
|
+
let a = gt(e);
|
|
382
382
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
383
383
|
className: "sid-header sid-l-horz-center",
|
|
384
384
|
children: [
|
|
@@ -386,7 +386,7 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
386
386
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
387
387
|
children: n
|
|
388
388
|
}),
|
|
389
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
389
|
+
/* @__PURE__ */ (0, I.jsx)(_t, {
|
|
390
390
|
align: "center",
|
|
391
391
|
children: t.title
|
|
392
392
|
}),
|
|
@@ -402,7 +402,7 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
402
402
|
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
403
403
|
onClick: r,
|
|
404
404
|
type: "submit",
|
|
405
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
405
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Ut.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
406
406
|
"aria-label": "submit",
|
|
407
407
|
children: t.cancel
|
|
408
408
|
})
|
|
@@ -411,20 +411,20 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
411
411
|
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
412
412
|
]
|
|
413
413
|
});
|
|
414
|
-
},
|
|
414
|
+
}, Vt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Ut.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)(Bt, {
|
|
415
415
|
messages: t,
|
|
416
416
|
stepName: e,
|
|
417
417
|
logo: n,
|
|
418
418
|
cancelSingleSignOn: r,
|
|
419
419
|
cancelButtonType: i
|
|
420
|
-
}),
|
|
421
|
-
let i =
|
|
420
|
+
}), Ht = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
421
|
+
let i = dt("hc-my-sheer-id-theme-builder");
|
|
422
422
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
423
423
|
className: "sid-header sid-l-horz-center",
|
|
424
424
|
children: [
|
|
425
425
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
426
426
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
427
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
427
|
+
children: /* @__PURE__ */ (0, I.jsx)(ht, {
|
|
428
428
|
verificationService: t,
|
|
429
429
|
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
430
430
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -433,7 +433,7 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
433
433
|
})
|
|
434
434
|
})
|
|
435
435
|
}),
|
|
436
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
436
|
+
/* @__PURE__ */ (0, I.jsx)(_t, {
|
|
437
437
|
align: "center",
|
|
438
438
|
children: e.title
|
|
439
439
|
}),
|
|
@@ -454,92 +454,92 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
454
454
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
455
455
|
]
|
|
456
456
|
});
|
|
457
|
-
},
|
|
457
|
+
}, Ut = /* @__PURE__ */ function(e) {
|
|
458
458
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
459
|
-
}({}),
|
|
460
|
-
let { programId: i } = e,
|
|
459
|
+
}({}), Wt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
460
|
+
let { programId: i } = e, o = e.viewModel, s = e.previousViewModel || void 0, l = e.verificationResponse, d = e.previousVerificationResponse || void 0, { verificationId: f, locale: p } = e.verificationResponse, m = Me(), h = gt(t), g = dt("hc-my-sheer-id-theme-builder"), v, y = /* @__PURE__ */ (0, I.jsx)(ht, {
|
|
461
461
|
verificationService: e,
|
|
462
|
-
fallbackLogo: !
|
|
463
|
-
className: `sid-${
|
|
462
|
+
fallbackLogo: !g && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
463
|
+
className: `sid-${h}-logo-default sid-l-lead-image`,
|
|
464
464
|
alt: "",
|
|
465
465
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
466
466
|
})
|
|
467
|
-
}),
|
|
468
|
-
e.fetchExistingVerificationRequest(i,
|
|
469
|
-
}, 1e3),
|
|
470
|
-
let r =
|
|
467
|
+
}), b = () => setTimeout(() => {
|
|
468
|
+
e.fetchExistingVerificationRequest(i, f, d, s);
|
|
469
|
+
}, 1e3), x = (t, n) => {
|
|
470
|
+
let r = u(o, (e) => {
|
|
471
471
|
e[t] = n;
|
|
472
472
|
});
|
|
473
473
|
e.updateViewModel(r);
|
|
474
|
-
},
|
|
475
|
-
|
|
474
|
+
}, S = () => {
|
|
475
|
+
c(a.SSO_CANCEL_CLICKED, {
|
|
476
476
|
programId: i,
|
|
477
|
-
locale:
|
|
478
|
-
verificationId:
|
|
479
|
-
}),
|
|
480
|
-
let n =
|
|
481
|
-
|
|
482
|
-
},
|
|
483
|
-
|
|
477
|
+
locale: p,
|
|
478
|
+
verificationId: f
|
|
479
|
+
}), mt();
|
|
480
|
+
let n = u(o, () => {});
|
|
481
|
+
M.info("SingleSignOnComponent submitting cancel request"), clearTimeout(v), e.submitStep(t, n, e.verificationResponse);
|
|
482
|
+
}, C = (e, t) => {
|
|
483
|
+
c(a.SSO_SIGN_IN_CLICKED, {
|
|
484
484
|
programId: i,
|
|
485
|
-
locale:
|
|
486
|
-
verificationId:
|
|
487
|
-
}),
|
|
488
|
-
},
|
|
489
|
-
let e = t ===
|
|
490
|
-
if (!
|
|
491
|
-
|
|
485
|
+
locale: p,
|
|
486
|
+
verificationId: f
|
|
487
|
+
}), x(e, t), w();
|
|
488
|
+
}, w = () => {
|
|
489
|
+
let e = t === N.sso ? ae(l.loginUrl) : l.loginUrl;
|
|
490
|
+
if (!_(e)) {
|
|
491
|
+
M.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
492
492
|
return;
|
|
493
493
|
}
|
|
494
|
-
|
|
494
|
+
pt(window.open(e, "_blank")), ft().focus();
|
|
495
495
|
};
|
|
496
|
-
return
|
|
497
|
-
id: `sid-step-${
|
|
498
|
-
className: `sid-${
|
|
499
|
-
"data-testid": `sid-step-${
|
|
496
|
+
return o.isSingleSignOnActive && !m && (v = b()), !o.countryChoice && s && s.countryChoice && x("countryChoice", s.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
497
|
+
id: `sid-step-${h}`,
|
|
498
|
+
className: `sid-${h}-container sid-l-container`,
|
|
499
|
+
"data-testid": `sid-step-${h}`,
|
|
500
500
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
501
501
|
role: "main",
|
|
502
|
-
children:
|
|
502
|
+
children: o.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(Vt, {
|
|
503
503
|
stepName: t,
|
|
504
504
|
messages: n,
|
|
505
|
-
logo:
|
|
506
|
-
cancelSingleSignOn:
|
|
505
|
+
logo: y,
|
|
506
|
+
cancelSingleSignOn: S,
|
|
507
507
|
cancelButtonType: r
|
|
508
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
508
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Ht, {
|
|
509
509
|
verificationService: e,
|
|
510
510
|
messages: n,
|
|
511
|
-
updateViewModelAndOpenLoginTab:
|
|
512
|
-
dashedStepName:
|
|
511
|
+
updateViewModelAndOpenLoginTab: C,
|
|
512
|
+
dashedStepName: h
|
|
513
513
|
})
|
|
514
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
514
|
+
}), /* @__PURE__ */ (0, I.jsx)(tt, { verificationService: e })]
|
|
515
515
|
});
|
|
516
|
-
},
|
|
517
|
-
title: /* @__PURE__ */ (0, I.jsx)(
|
|
516
|
+
}, Gt = {
|
|
517
|
+
title: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
518
518
|
id: "step.sso.title",
|
|
519
519
|
defaultMessage: "Verify using your school credentials",
|
|
520
520
|
tagName: "h1"
|
|
521
521
|
}),
|
|
522
|
-
subtitle: /* @__PURE__ */ (0, I.jsx)(
|
|
522
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
523
523
|
id: "step.sso.subtitle",
|
|
524
524
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
525
525
|
}),
|
|
526
|
-
login: /* @__PURE__ */ (0, I.jsx)(
|
|
526
|
+
login: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
527
527
|
id: "step.sso.login",
|
|
528
528
|
defaultMessage: "Sign in to my school"
|
|
529
529
|
}),
|
|
530
|
-
cancel: /* @__PURE__ */ (0, I.jsx)(
|
|
530
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
531
531
|
id: "step.sso.cancel",
|
|
532
532
|
defaultMessage: "Upload Proof of Enrollment"
|
|
533
533
|
}),
|
|
534
|
-
subtitle2: /* @__PURE__ */ (0, I.jsx)(
|
|
534
|
+
subtitle2: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
535
535
|
id: "step.sso.subtitle2",
|
|
536
536
|
defaultMessage: "Can't sign in to your school?"
|
|
537
537
|
})
|
|
538
|
-
},
|
|
538
|
+
}, Kt = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(Wt, {
|
|
539
539
|
verificationService: e,
|
|
540
|
-
stepName:
|
|
541
|
-
messages:
|
|
542
|
-
}),
|
|
540
|
+
stepName: N.sso,
|
|
541
|
+
messages: Gt
|
|
542
|
+
}), qt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
543
543
|
className: "sid-header sid-l-horz-center",
|
|
544
544
|
"data-testid": "sid-review-pending",
|
|
545
545
|
children: [
|
|
@@ -547,39 +547,39 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
547
547
|
className: "sid-l-horz-center",
|
|
548
548
|
children: e
|
|
549
549
|
}),
|
|
550
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
550
|
+
/* @__PURE__ */ (0, I.jsx)(_t, {
|
|
551
551
|
align: "center",
|
|
552
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
552
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
553
553
|
id: "step.pending.titleReview",
|
|
554
554
|
defaultMessage: "Reviewing",
|
|
555
555
|
tagName: "h1"
|
|
556
556
|
})
|
|
557
557
|
}),
|
|
558
|
-
/* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(
|
|
558
|
+
/* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
559
559
|
id: "step.pending.uploadedDocument",
|
|
560
560
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
561
561
|
}) }),
|
|
562
562
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
563
563
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
564
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
564
|
+
children: /* @__PURE__ */ (0, I.jsx)(j, { id: "step.pending.turnaroundTime" })
|
|
565
565
|
}),
|
|
566
566
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
567
567
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
568
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
568
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
569
569
|
id: "step.pending.subtitle2",
|
|
570
570
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
571
571
|
})
|
|
572
572
|
}),
|
|
573
573
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
574
574
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
575
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
575
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
576
576
|
id: "step.pending.subtitle3",
|
|
577
577
|
defaultMessage: "You will be contacted via email."
|
|
578
578
|
})
|
|
579
579
|
}),
|
|
580
580
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
581
581
|
]
|
|
582
|
-
}),
|
|
582
|
+
}), Jt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
583
583
|
className: "sid-header sid-l-horz-center",
|
|
584
584
|
"data-testid": "sid-review-pending",
|
|
585
585
|
children: [
|
|
@@ -587,9 +587,9 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
587
587
|
className: "sid-l-horz-center",
|
|
588
588
|
children: e
|
|
589
589
|
}),
|
|
590
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
590
|
+
/* @__PURE__ */ (0, I.jsx)(_t, {
|
|
591
591
|
align: "center",
|
|
592
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
592
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
593
593
|
id: "step.pending.idCheckLoop.title",
|
|
594
594
|
defaultMessage: "We're reviewing your documents",
|
|
595
595
|
tagName: "h1"
|
|
@@ -597,39 +597,39 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
597
597
|
}),
|
|
598
598
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
599
599
|
className: "sid-header__subtitle-one",
|
|
600
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
600
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
601
601
|
id: "step.pending.idCheckLoop.subtitle",
|
|
602
602
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
603
603
|
})
|
|
604
604
|
}),
|
|
605
605
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
606
606
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
607
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
607
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
608
608
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
609
609
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
610
610
|
})
|
|
611
611
|
}),
|
|
612
612
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
613
613
|
]
|
|
614
|
-
}),
|
|
615
|
-
title: /* @__PURE__ */ (0, I.jsx)(
|
|
614
|
+
}), Yt = { [Te.SIGNZY]: {
|
|
615
|
+
title: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
616
616
|
id: "step.thirdPartyLoop.signzy.title",
|
|
617
617
|
tagName: "h1",
|
|
618
618
|
defaultMessage: "Verify using DigiLocker"
|
|
619
619
|
}),
|
|
620
|
-
subtitle: /* @__PURE__ */ (0, I.jsx)(
|
|
620
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
621
621
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
622
622
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
623
623
|
}),
|
|
624
|
-
login: /* @__PURE__ */ (0, I.jsx)(
|
|
624
|
+
login: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
625
625
|
id: "step.thirdPartyLoop.signzy.login",
|
|
626
626
|
defaultMessage: "Sign in to DigiLocker"
|
|
627
627
|
}),
|
|
628
|
-
cancel: /* @__PURE__ */ (0, I.jsx)(
|
|
628
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
629
629
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
630
630
|
defaultMessage: "Upload Proof of Identity"
|
|
631
631
|
})
|
|
632
|
-
} },
|
|
632
|
+
} }, Xt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
633
633
|
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
634
634
|
className: "sid-header sid-l-horz-center",
|
|
635
635
|
children: [
|
|
@@ -637,9 +637,9 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
637
637
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
638
638
|
children: e
|
|
639
639
|
}),
|
|
640
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
640
|
+
/* @__PURE__ */ (0, I.jsx)(_t, {
|
|
641
641
|
align: "center",
|
|
642
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
642
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
643
643
|
id: "error",
|
|
644
644
|
tagName: "h1"
|
|
645
645
|
})
|
|
@@ -648,7 +648,7 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
648
648
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
649
649
|
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
650
650
|
className: "sid-error-msg sid-l-horz-center",
|
|
651
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
651
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, {
|
|
652
652
|
id: "step.thirdPartyLoop.error",
|
|
653
653
|
defaultMessage: "Provider not supported"
|
|
654
654
|
})
|
|
@@ -665,16 +665,16 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
665
665
|
children: n
|
|
666
666
|
}) : n
|
|
667
667
|
});
|
|
668
|
-
},
|
|
669
|
-
let t =
|
|
670
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
668
|
+
}, Zt = ({ verificationService: e }) => {
|
|
669
|
+
let t = Yt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = dt("hc-my-sheer-id-theme-builder");
|
|
670
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Wt, {
|
|
671
671
|
verificationService: e,
|
|
672
|
-
stepName:
|
|
672
|
+
stepName: N.thirdPartyLoop,
|
|
673
673
|
messages: t,
|
|
674
|
-
cancelButtonType:
|
|
675
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
674
|
+
cancelButtonType: Ut.SECONDARY
|
|
675
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Xt, {
|
|
676
676
|
isStepRoot: !0,
|
|
677
|
-
logo: /* @__PURE__ */ (0, I.jsx)(
|
|
677
|
+
logo: /* @__PURE__ */ (0, I.jsx)(ht, {
|
|
678
678
|
verificationService: e,
|
|
679
679
|
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
680
680
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -683,28 +683,28 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
683
683
|
})
|
|
684
684
|
})
|
|
685
685
|
});
|
|
686
|
-
},
|
|
687
|
-
let i =
|
|
688
|
-
return i ? /* @__PURE__ */ (0, I.jsx)(
|
|
689
|
-
stepName:
|
|
686
|
+
}, Qt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
687
|
+
let i = Yt[r ? Ne("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
688
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(Vt, {
|
|
689
|
+
stepName: N.thirdPartyLoop,
|
|
690
690
|
messages: i,
|
|
691
691
|
logo: e,
|
|
692
692
|
cancelSingleSignOn: n,
|
|
693
|
-
cancelButtonType:
|
|
694
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
695
|
-
},
|
|
696
|
-
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 =
|
|
697
|
-
|
|
693
|
+
cancelButtonType: Ut.SECONDARY
|
|
694
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Xt, { logo: e });
|
|
695
|
+
}, $t = 5e3, en = 2e4, tn = 2e4, nn = 2e3, rn = ({ verificationService: e }) => {
|
|
696
|
+
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 = Me(), s = Pe() && Pe() === N.sso, c = Pe() && Pe() === N.thirdPartyLoop, l = Pe() && Pe() === N.idCheckLoop, d = dt("hc-my-sheer-id-theme-builder"), f = () => i?.currentStep === N.sso, p = () => i?.currentStep === N.thirdPartyLoop, m = () => i?.currentStep === N.idCheckLoop, h = f() || p() || s || c, g = m() || l, _ = !h && !g, [v, y] = P.useState(() => h ? nn : g ? tn : $t);
|
|
697
|
+
P.useEffect(() => {
|
|
698
698
|
if (!_) return;
|
|
699
|
-
let e = setTimeout(() => y(
|
|
699
|
+
let e = setTimeout(() => y(tn), en);
|
|
700
700
|
return () => clearTimeout(e);
|
|
701
701
|
}, [_]);
|
|
702
|
-
let b = !o &&
|
|
702
|
+
let b = !o && zt(() => {
|
|
703
703
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
704
704
|
}, v), x = (t) => {
|
|
705
|
-
let r =
|
|
706
|
-
|
|
707
|
-
}, S = /* @__PURE__ */ (0, I.jsx)(
|
|
705
|
+
let r = u(n, () => {});
|
|
706
|
+
M.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), mt(), e.submitStep(t, r, i);
|
|
707
|
+
}, S = /* @__PURE__ */ (0, I.jsx)(ht, {
|
|
708
708
|
verificationService: e,
|
|
709
709
|
fallbackLogo: !d && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
710
710
|
className: "sid-l-lead-image",
|
|
@@ -718,36 +718,36 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
718
718
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
719
719
|
role: "main",
|
|
720
720
|
children: (() => {
|
|
721
|
-
let e = f() ||
|
|
722
|
-
return e ? /* @__PURE__ */ (0, I.jsx)(
|
|
723
|
-
stepName:
|
|
724
|
-
messages:
|
|
721
|
+
let e = f() || s, t = p() || c, n = m() || l;
|
|
722
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(Vt, {
|
|
723
|
+
stepName: N.sso,
|
|
724
|
+
messages: Gt,
|
|
725
725
|
logo: S,
|
|
726
|
-
cancelSingleSignOn: () => x(
|
|
727
|
-
}) : t ? /* @__PURE__ */ (0, I.jsx)(
|
|
726
|
+
cancelSingleSignOn: () => x(N.sso)
|
|
727
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(Qt, {
|
|
728
728
|
logo: S,
|
|
729
|
-
cancelThirdPartyLoop: () => x(
|
|
729
|
+
cancelThirdPartyLoop: () => x(N.thirdPartyLoop),
|
|
730
730
|
verificationLastResponse: i,
|
|
731
|
-
isMockingPreviousStepThirdPartyLoop:
|
|
732
|
-
}) : n ? /* @__PURE__ */ (0, I.jsx)(
|
|
731
|
+
isMockingPreviousStepThirdPartyLoop: c
|
|
732
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(Jt, { logo: S }) : /* @__PURE__ */ (0, I.jsx)(qt, { logo: S });
|
|
733
733
|
})()
|
|
734
|
-
}), g ? /* @__PURE__ */ (0, I.jsx)(
|
|
734
|
+
}), g ? /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
735
735
|
verificationService: e,
|
|
736
736
|
isCentered: !0
|
|
737
|
-
}) : /* @__PURE__ */ (0, I.jsxs)(
|
|
737
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(tt, {
|
|
738
738
|
verificationService: e,
|
|
739
739
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
740
740
|
})]
|
|
741
741
|
});
|
|
742
|
-
},
|
|
743
|
-
let e = me(), t =
|
|
742
|
+
}, an = () => {
|
|
743
|
+
let e = me(), t = ve(), n = Se(), r = p(() => n.segment), i = P.useCallback(() => {
|
|
744
744
|
if (window.self !== window.top) {
|
|
745
745
|
let e = new URL(window.location.href);
|
|
746
746
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
747
747
|
return;
|
|
748
748
|
}
|
|
749
749
|
(async () => {
|
|
750
|
-
|
|
750
|
+
Je(e)(), await He(e)(t, r, void 0, void 0, !0);
|
|
751
751
|
})();
|
|
752
752
|
}, [
|
|
753
753
|
e,
|
|
@@ -759,15 +759,15 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
759
759
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
760
760
|
onClick: i,
|
|
761
761
|
onKeyPress: i,
|
|
762
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
762
|
+
children: /* @__PURE__ */ (0, I.jsx)(j, { id: "tryAgain" })
|
|
763
763
|
});
|
|
764
|
-
},
|
|
764
|
+
}, on = {
|
|
765
765
|
NONE: "none",
|
|
766
766
|
RESET: "reset",
|
|
767
767
|
POSTMESSAGE: "postMessage",
|
|
768
768
|
REDIRECT: "redirect"
|
|
769
|
-
},
|
|
770
|
-
let e =
|
|
769
|
+
}, sn = () => {
|
|
770
|
+
let e = Se(), t = () => ie({
|
|
771
771
|
action: "tryAgain",
|
|
772
772
|
verificationResponse: e
|
|
773
773
|
});
|
|
@@ -776,76 +776,76 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
776
776
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
777
777
|
onClick: t,
|
|
778
778
|
onKeyPress: t,
|
|
779
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
779
|
+
children: /* @__PURE__ */ (0, I.jsx)(j, { id: "tryAgain" })
|
|
780
780
|
});
|
|
781
|
-
},
|
|
781
|
+
}, cn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(be, {
|
|
782
782
|
target: t,
|
|
783
783
|
href: e.toString(),
|
|
784
784
|
className: "sid-btn sid-btn--dark",
|
|
785
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
786
|
-
}),
|
|
787
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
788
|
-
},
|
|
789
|
-
let e =
|
|
785
|
+
children: /* @__PURE__ */ (0, I.jsx)(j, { id: "seeOtherOffers" })
|
|
786
|
+
}), ln = (e) => {
|
|
787
|
+
if (!(typeof e == "object" && "type" in e && Object.values(on).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
788
|
+
}, un = () => {
|
|
789
|
+
let e = v("tryAgainAction");
|
|
790
790
|
try {
|
|
791
|
-
switch (
|
|
792
|
-
case
|
|
793
|
-
case
|
|
794
|
-
case
|
|
795
|
-
if (!
|
|
796
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
791
|
+
switch (ln(e), e.type) {
|
|
792
|
+
case on.NONE: return null;
|
|
793
|
+
case on.POSTMESSAGE: return window.self === window.top ? (M.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)(sn, {});
|
|
794
|
+
case on.REDIRECT:
|
|
795
|
+
if (!_(e.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
796
|
+
return /* @__PURE__ */ (0, I.jsx)(cn, {
|
|
797
797
|
redirectUrl: e.url,
|
|
798
798
|
target: e.target
|
|
799
799
|
});
|
|
800
|
-
case
|
|
800
|
+
case on.RESET: return /* @__PURE__ */ (0, I.jsx)(an, {});
|
|
801
801
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
802
802
|
}
|
|
803
803
|
} catch (e) {
|
|
804
|
-
return
|
|
804
|
+
return M.error(e.message), /* @__PURE__ */ (0, I.jsx)(an, {});
|
|
805
805
|
}
|
|
806
|
-
},
|
|
806
|
+
}, dn = [
|
|
807
807
|
"docReviewLimitExceeded",
|
|
808
808
|
"verificationLimitExceeded",
|
|
809
809
|
"fraudRulesReject"
|
|
810
|
-
],
|
|
811
|
-
let t =
|
|
812
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
810
|
+
], fn = ({ errorIds: e }) => {
|
|
811
|
+
let t = xe(), n = e[0];
|
|
812
|
+
return /* @__PURE__ */ (0, I.jsx)(_t, {
|
|
813
813
|
align: "center",
|
|
814
|
-
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(
|
|
814
|
+
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(j, { id: t?.[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
815
815
|
});
|
|
816
|
-
},
|
|
816
|
+
}, pn = ({ errorIds: e, errorDetailId: t }) => {
|
|
817
817
|
let n = /* @__PURE__ */ new Map();
|
|
818
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, I.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(
|
|
819
|
-
},
|
|
820
|
-
let t =
|
|
818
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, I.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(j, { id: t }, t)) }) : null;
|
|
819
|
+
}, mn = ({ errorIds: e }) => {
|
|
820
|
+
let t = xe(), n = `step.error.errorId.${e[0]}.note`;
|
|
821
821
|
return t?.[n] ? /* @__PURE__ */ (0, I.jsx)("p", {
|
|
822
822
|
className: "sid-error-note sid-h-small-text",
|
|
823
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
823
|
+
children: /* @__PURE__ */ (0, I.jsx)(j, { id: n })
|
|
824
824
|
}) : null;
|
|
825
|
-
},
|
|
826
|
-
let r =
|
|
825
|
+
}, hn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
826
|
+
let r = xe();
|
|
827
827
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
828
|
-
let t =
|
|
829
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
828
|
+
let t = p(() => e.programTheme.config.brandInfo.faqUrl);
|
|
829
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(be, {
|
|
830
830
|
href: t,
|
|
831
|
-
onClick: () =>
|
|
831
|
+
onClick: () => ee(N.error, t),
|
|
832
832
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
833
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
833
|
+
children: /* @__PURE__ */ (0, I.jsx)(j, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
834
834
|
}) : null;
|
|
835
835
|
}
|
|
836
836
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
837
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
837
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return v("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(un, {});
|
|
838
838
|
let i = t[0];
|
|
839
|
-
return r?.[`step.error.errorId.${i}.buttonText`] &&
|
|
839
|
+
return r?.[`step.error.errorId.${i}.buttonText`] && _(n) ? /* @__PURE__ */ (0, I.jsx)(be, {
|
|
840
840
|
href: n,
|
|
841
|
-
onClick: () =>
|
|
841
|
+
onClick: () => ee(N.error, n),
|
|
842
842
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
843
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
844
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
845
|
-
},
|
|
846
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
843
|
+
children: /* @__PURE__ */ (0, I.jsx)(j, { id: `step.error.errorId.${i}.buttonText` })
|
|
844
|
+
}) : /* @__PURE__ */ (0, I.jsx)(un, {});
|
|
845
|
+
}, gn = ({ verificationService: e, errorId: t }) => {
|
|
846
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = dt("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
847
847
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
848
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
848
|
+
let s = Array.from(o), c = s.some((e) => dn.includes(e));
|
|
849
849
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
850
850
|
id: "sid-step-error",
|
|
851
851
|
className: "sid-error-container sid-l-container",
|
|
@@ -855,7 +855,7 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
855
855
|
children: [
|
|
856
856
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
857
857
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
858
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
858
|
+
children: /* @__PURE__ */ (0, I.jsx)(ht, {
|
|
859
859
|
verificationService: e,
|
|
860
860
|
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
861
861
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -864,24 +864,24 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
864
864
|
})
|
|
865
865
|
})
|
|
866
866
|
}),
|
|
867
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
867
|
+
/* @__PURE__ */ (0, I.jsx)(fn, { errorIds: s }),
|
|
868
868
|
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
869
869
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
870
870
|
children: [
|
|
871
871
|
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
872
872
|
className: "sid-error-msg sid-l-horz-center",
|
|
873
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
873
|
+
children: [/* @__PURE__ */ (0, I.jsx)(pn, {
|
|
874
874
|
errorIds: s,
|
|
875
875
|
errorDetailId: i
|
|
876
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
876
|
+
}), /* @__PURE__ */ (0, I.jsx)(mn, { errorIds: s })]
|
|
877
877
|
}),
|
|
878
878
|
c && /* @__PURE__ */ (0, I.jsx)("p", {
|
|
879
879
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
880
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
880
|
+
children: /* @__PURE__ */ (0, I.jsx)(j, { id: "contactSupport" })
|
|
881
881
|
}),
|
|
882
882
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
883
883
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
884
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
884
|
+
children: /* @__PURE__ */ (0, I.jsx)(hn, {
|
|
885
885
|
verificationService: e,
|
|
886
886
|
errorIds: s,
|
|
887
887
|
redirectUrl: r
|
|
@@ -892,207 +892,207 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
892
892
|
]
|
|
893
893
|
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
894
894
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
895
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
895
|
+
children: /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
896
896
|
verificationService: e,
|
|
897
897
|
isCentered: !0,
|
|
898
898
|
hideFaqLink: c
|
|
899
899
|
})
|
|
900
900
|
})]
|
|
901
901
|
});
|
|
902
|
-
},
|
|
903
|
-
StepPendingComponent:
|
|
904
|
-
StepErrorComponent:
|
|
905
|
-
StepStudentPersonalInfoComponent:
|
|
906
|
-
StepOverrideComponent:
|
|
907
|
-
StepAgePersonalInfoComponent:
|
|
908
|
-
StepSeniorPersonalInfoComponent:
|
|
909
|
-
StepCollectMilitaryPersonalInfoComponent:
|
|
910
|
-
StepCollectMilitaryStatusComponent:
|
|
911
|
-
StepActiveMilitaryPersonalInfoComponent:
|
|
912
|
-
StepInactiveMilitaryPersonalInfoComponent:
|
|
913
|
-
StepDriverLicensePersonalInfoComponent:
|
|
914
|
-
StepEmploymentPersonalInfoComponent:
|
|
915
|
-
StepFirstResponderPersonalInfoComponent:
|
|
916
|
-
StepGeneralIdentityPersonalInfoComponent:
|
|
917
|
-
StepHybridIdentityPersonalInfoComponent:
|
|
918
|
-
StepIDCheckLoopComponent:
|
|
919
|
-
StepLicensedProfessionalPersonalInfoComponent:
|
|
920
|
-
StepLowIncomePersonalInfoComponent:
|
|
921
|
-
StepMedicalProfessionalPersonalInfoComponent:
|
|
922
|
-
StepMemberPersonalInfoComponent:
|
|
923
|
-
StepConsolationComponent:
|
|
924
|
-
StepDocUploadComponent:
|
|
925
|
-
StepEmailLoopComponent:
|
|
926
|
-
StepPendingEmailLoopComponent:
|
|
927
|
-
StepMoverPersonalInfoComponent:
|
|
928
|
-
StepSMSLoopComponent:
|
|
929
|
-
StepSocialSecurity:
|
|
930
|
-
StepSSOComponent:
|
|
931
|
-
StepSuccessComponent:
|
|
932
|
-
StepTeacherPersonalInfoComponent:
|
|
933
|
-
StepCompleteAuthentication:
|
|
934
|
-
StepCollectIdentifierComponent:
|
|
935
|
-
StepCollectPersonalInfo:
|
|
936
|
-
StepThirdPartyLoopComponent:
|
|
937
|
-
},
|
|
938
|
-
|
|
902
|
+
}, _n = {
|
|
903
|
+
StepPendingComponent: rn,
|
|
904
|
+
StepErrorComponent: gn,
|
|
905
|
+
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-CdFE8LZp.js")),
|
|
906
|
+
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-iFmYg3Jf.js")),
|
|
907
|
+
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-DEv6exzf.js")),
|
|
908
|
+
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-DEv6exzf.js")),
|
|
909
|
+
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CMZnywpF.js")),
|
|
910
|
+
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CMZnywpF.js")),
|
|
911
|
+
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CMZnywpF.js")),
|
|
912
|
+
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CMZnywpF.js")),
|
|
913
|
+
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-ChrYyEGe.js")),
|
|
914
|
+
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-DmgP04aU.js")),
|
|
915
|
+
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-COEtqwa_.js")),
|
|
916
|
+
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-CgaXuqc2.js")),
|
|
917
|
+
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-B4jNyOiR.js")),
|
|
918
|
+
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-CtpXHEDW.js")),
|
|
919
|
+
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-B2MNxpX7.js")),
|
|
920
|
+
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-CjlBDKUj.js")),
|
|
921
|
+
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-9aKJkkDY.js")),
|
|
922
|
+
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-Cw4HL7yZ.js")),
|
|
923
|
+
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-CWshJB4w.js")),
|
|
924
|
+
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload-Cm2fp1nn.js")),
|
|
925
|
+
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-e5L4MkM3.js")),
|
|
926
|
+
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-B9x32FhR.js").then((e) => e.n)),
|
|
927
|
+
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-DJnpx8M2.js")),
|
|
928
|
+
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-B4zc2475.js")),
|
|
929
|
+
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-CLCIPHL5.js")),
|
|
930
|
+
StepSSOComponent: P.lazy(() => import("./chunk/StepSSO-ZHByQpHa.js")),
|
|
931
|
+
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-De0PQQ0p.js")),
|
|
932
|
+
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-Bhq87jMj.js")),
|
|
933
|
+
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-s8qDxFAa.js")),
|
|
934
|
+
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-vMAPbX16.js")),
|
|
935
|
+
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-DpAAHptW.js")),
|
|
936
|
+
StepThirdPartyLoopComponent: P.lazy(() => import("./chunk/StepThirdPartyLoop-BrKuZcYb.js"))
|
|
937
|
+
}, R = (e) => (M.info("getComponent", e), jt(e) || _n[e]), vn = () => /* @__PURE__ */ (0, I.jsx)(Ft, {}), yn = ({ stepToLoad: e, verificationService: t }) => {
|
|
938
|
+
M.info(`LoadStepComponent: rendering step: ${e}`);
|
|
939
939
|
let n;
|
|
940
|
-
switch ((0,
|
|
940
|
+
switch ((0, P.useEffect)(() => {
|
|
941
941
|
try {
|
|
942
|
-
performance.mark(
|
|
942
|
+
performance.mark(m.INITIAL_STEP_LOAD);
|
|
943
943
|
} catch {}
|
|
944
|
-
}, []),
|
|
944
|
+
}, []), P.useEffect(() => {
|
|
945
945
|
if (!["pending", "error"].includes(e)) try {
|
|
946
|
-
performance.mark(
|
|
947
|
-
eventName:
|
|
946
|
+
performance.mark(a.STEP_SEEN), r({
|
|
947
|
+
eventName: a.STEP_SEEN,
|
|
948
948
|
params: { step: e }
|
|
949
949
|
});
|
|
950
950
|
} catch (e) {
|
|
951
|
-
|
|
951
|
+
M.error(e);
|
|
952
952
|
}
|
|
953
953
|
}, [e]), e) {
|
|
954
954
|
case "collectPersonalInfo":
|
|
955
|
-
n =
|
|
955
|
+
n = R("StepCollectPersonalInfo");
|
|
956
956
|
break;
|
|
957
957
|
case "collectStudentPersonalInfo":
|
|
958
|
-
n =
|
|
958
|
+
n = R("StepStudentPersonalInfoComponent");
|
|
959
959
|
break;
|
|
960
960
|
case "collectSeniorPersonalInfo":
|
|
961
|
-
n =
|
|
961
|
+
n = R("StepSeniorPersonalInfoComponent");
|
|
962
962
|
break;
|
|
963
963
|
case "collectAgePersonalInfo":
|
|
964
|
-
n =
|
|
964
|
+
n = R("StepAgePersonalInfoComponent");
|
|
965
965
|
break;
|
|
966
966
|
case "collectTeacherPersonalInfo":
|
|
967
|
-
n =
|
|
967
|
+
n = R("StepTeacherPersonalInfoComponent");
|
|
968
968
|
break;
|
|
969
969
|
case "collectMemberPersonalInfo":
|
|
970
|
-
n =
|
|
970
|
+
n = R("StepMemberPersonalInfoComponent");
|
|
971
971
|
break;
|
|
972
972
|
case "collectMilitaryStatus":
|
|
973
|
-
n =
|
|
973
|
+
n = R("StepCollectMilitaryStatusComponent");
|
|
974
974
|
break;
|
|
975
975
|
case "collectActiveMilitaryPersonalInfo":
|
|
976
|
-
n =
|
|
976
|
+
n = R("StepActiveMilitaryPersonalInfoComponent");
|
|
977
977
|
break;
|
|
978
978
|
case "collectInactiveMilitaryPersonalInfo":
|
|
979
|
-
n =
|
|
979
|
+
n = R("StepInactiveMilitaryPersonalInfoComponent");
|
|
980
980
|
break;
|
|
981
981
|
case "collectMilitaryPersonalInfo":
|
|
982
|
-
n =
|
|
982
|
+
n = R("StepCollectMilitaryPersonalInfoComponent");
|
|
983
983
|
break;
|
|
984
984
|
case "collectFirstResponderPersonalInfo":
|
|
985
|
-
n =
|
|
985
|
+
n = R("StepFirstResponderPersonalInfoComponent");
|
|
986
986
|
break;
|
|
987
987
|
case "collectMedicalProfessionalPersonalInfo":
|
|
988
|
-
n =
|
|
988
|
+
n = R("StepMedicalProfessionalPersonalInfoComponent");
|
|
989
989
|
break;
|
|
990
990
|
case "collectEmployeePersonalInfo":
|
|
991
|
-
n =
|
|
991
|
+
n = R("StepEmploymentPersonalInfoComponent");
|
|
992
992
|
break;
|
|
993
993
|
case "collectDriverLicensePersonalInfo":
|
|
994
|
-
n =
|
|
994
|
+
n = R("StepDriverLicensePersonalInfoComponent");
|
|
995
995
|
break;
|
|
996
996
|
case "collectGeneralIdentityPersonalInfo":
|
|
997
|
-
n =
|
|
997
|
+
n = R("StepGeneralIdentityPersonalInfoComponent");
|
|
998
998
|
break;
|
|
999
999
|
case "collectHybridIdentityPersonalInfo":
|
|
1000
|
-
n =
|
|
1000
|
+
n = R("StepHybridIdentityPersonalInfoComponent");
|
|
1001
1001
|
break;
|
|
1002
1002
|
case "collectLicensedProfessionalPersonalInfo":
|
|
1003
|
-
n =
|
|
1003
|
+
n = R("StepLicensedProfessionalPersonalInfoComponent");
|
|
1004
1004
|
break;
|
|
1005
1005
|
case "collectMoverPersonalInfo":
|
|
1006
|
-
n =
|
|
1006
|
+
n = R("StepMoverPersonalInfoComponent");
|
|
1007
1007
|
break;
|
|
1008
1008
|
case "collectLowIncomePersonalInfo":
|
|
1009
|
-
n =
|
|
1009
|
+
n = R("StepLowIncomePersonalInfoComponent");
|
|
1010
1010
|
break;
|
|
1011
1011
|
case "collectSocialSecurityNumber":
|
|
1012
|
-
n =
|
|
1012
|
+
n = R("StepSocialSecurity");
|
|
1013
1013
|
break;
|
|
1014
1014
|
case "success":
|
|
1015
|
-
n =
|
|
1015
|
+
n = R("StepSuccessComponent");
|
|
1016
1016
|
break;
|
|
1017
1017
|
case "consolation":
|
|
1018
|
-
n =
|
|
1018
|
+
n = R("StepConsolationComponent");
|
|
1019
1019
|
break;
|
|
1020
1020
|
case "override":
|
|
1021
|
-
n =
|
|
1021
|
+
n = R("StepOverrideComponent");
|
|
1022
1022
|
break;
|
|
1023
1023
|
case "docUpload":
|
|
1024
|
-
n =
|
|
1024
|
+
n = R("StepDocUploadComponent");
|
|
1025
1025
|
break;
|
|
1026
1026
|
case "pending":
|
|
1027
|
-
n =
|
|
1027
|
+
n = R("StepPendingComponent");
|
|
1028
1028
|
break;
|
|
1029
1029
|
case "sso":
|
|
1030
|
-
n =
|
|
1030
|
+
n = R("StepSSOComponent");
|
|
1031
1031
|
break;
|
|
1032
1032
|
case "thirdPartyLoop":
|
|
1033
|
-
n =
|
|
1033
|
+
n = R("StepThirdPartyLoopComponent");
|
|
1034
1034
|
break;
|
|
1035
1035
|
case "smsLoop":
|
|
1036
|
-
n =
|
|
1036
|
+
n = R("StepSMSLoopComponent");
|
|
1037
1037
|
break;
|
|
1038
1038
|
case "emailLoop":
|
|
1039
|
-
n =
|
|
1039
|
+
n = R("StepEmailLoopComponent");
|
|
1040
1040
|
break;
|
|
1041
1041
|
case "idCheckLoop":
|
|
1042
|
-
n =
|
|
1042
|
+
n = R("StepIDCheckLoopComponent");
|
|
1043
1043
|
break;
|
|
1044
1044
|
case "collectIdentifier":
|
|
1045
|
-
n =
|
|
1045
|
+
n = R("StepCollectIdentifierComponent");
|
|
1046
1046
|
break;
|
|
1047
1047
|
case "completeAuthentication":
|
|
1048
|
-
n =
|
|
1048
|
+
n = R("StepCompleteAuthentication");
|
|
1049
1049
|
break;
|
|
1050
|
-
case "missingRequiredMetadata": return n =
|
|
1050
|
+
case "missingRequiredMetadata": return n = R("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1051
1051
|
verificationService: t,
|
|
1052
1052
|
errorId: "missingRequiredMetadata"
|
|
1053
1053
|
});
|
|
1054
|
-
case "missingRequiredExternalId": return n =
|
|
1054
|
+
case "missingRequiredExternalId": return n = R("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1055
1055
|
verificationService: t,
|
|
1056
1056
|
errorId: "missingRequiredExternalId"
|
|
1057
1057
|
});
|
|
1058
1058
|
case "error":
|
|
1059
|
-
n =
|
|
1059
|
+
n = R("StepErrorComponent");
|
|
1060
1060
|
break;
|
|
1061
1061
|
case "cancelDocUpload":
|
|
1062
1062
|
case "cancelEmailLoop":
|
|
1063
1063
|
case "cancelSocialSecurityNumber":
|
|
1064
1064
|
case "docReviewLimitExceeded":
|
|
1065
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
1065
|
+
case "emailLoopCollectOrganizationEmail": return M.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(gn, {
|
|
1066
1066
|
verificationService: t,
|
|
1067
1067
|
errorId: "invalidStep"
|
|
1068
1068
|
});
|
|
1069
|
-
default: return
|
|
1069
|
+
default: return M.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(gn, {
|
|
1070
1070
|
verificationService: t,
|
|
1071
1071
|
errorId: "invalidStep"
|
|
1072
1072
|
});
|
|
1073
1073
|
}
|
|
1074
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
1075
|
-
fallback:
|
|
1074
|
+
return /* @__PURE__ */ (0, I.jsx)(P.Suspense, {
|
|
1075
|
+
fallback: vn(),
|
|
1076
1076
|
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1077
1077
|
});
|
|
1078
|
-
},
|
|
1078
|
+
}, bn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1079
1079
|
dangerouslySetInnerHTML: e,
|
|
1080
1080
|
...t
|
|
1081
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
1081
|
+
}) : /* @__PURE__ */ (0, I.jsx)(P.Fragment, { ...t }), xn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1082
1082
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1083
1083
|
role: "note",
|
|
1084
|
-
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(
|
|
1084
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(be, {
|
|
1085
1085
|
className: "sid-test-mode-flag__link",
|
|
1086
1086
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1087
1087
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1088
1088
|
children: "(learn more)"
|
|
1089
1089
|
})]
|
|
1090
|
-
}) : null,
|
|
1090
|
+
}) : null, Sn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1091
1091
|
className: "sid-header",
|
|
1092
1092
|
children: [
|
|
1093
1093
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1094
1094
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1095
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
1095
|
+
children: /* @__PURE__ */ (0, I.jsx)(ht, {
|
|
1096
1096
|
verificationService: e,
|
|
1097
1097
|
fallbackLogo: r
|
|
1098
1098
|
})
|
|
@@ -1105,43 +1105,43 @@ var gt = /* @__PURE__ */ e(se(), 1), _t = /* @__PURE__ */ e(l(), 1), I = te(), v
|
|
|
1105
1105
|
]
|
|
1106
1106
|
});
|
|
1107
1107
|
typeof window < "u" && window.document && window.document.createElement;
|
|
1108
|
-
function
|
|
1108
|
+
function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1109
1109
|
return function(r) {
|
|
1110
1110
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1111
1111
|
};
|
|
1112
1112
|
}
|
|
1113
1113
|
//#endregion
|
|
1114
1114
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1115
|
-
function
|
|
1115
|
+
function Cn(e, t) {
|
|
1116
1116
|
if (typeof e == "function") return e(t);
|
|
1117
1117
|
e != null && (e.current = t);
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function wn(...e) {
|
|
1120
1120
|
return (t) => {
|
|
1121
1121
|
let n = !1, r = e.map((e) => {
|
|
1122
|
-
let r =
|
|
1122
|
+
let r = Cn(e, t);
|
|
1123
1123
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1124
1124
|
});
|
|
1125
1125
|
if (n) return () => {
|
|
1126
1126
|
for (let t = 0; t < r.length; t++) {
|
|
1127
1127
|
let n = r[t];
|
|
1128
|
-
typeof n == "function" ? n() :
|
|
1128
|
+
typeof n == "function" ? n() : Cn(e[t], null);
|
|
1129
1129
|
}
|
|
1130
1130
|
};
|
|
1131
1131
|
};
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1134
|
-
return
|
|
1133
|
+
function B(...e) {
|
|
1134
|
+
return P.useCallback(wn(...e), e);
|
|
1135
1135
|
}
|
|
1136
1136
|
//#endregion
|
|
1137
1137
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1138
|
-
function
|
|
1138
|
+
function Tn(e, t = []) {
|
|
1139
1139
|
let n = [];
|
|
1140
1140
|
function r(t, r) {
|
|
1141
|
-
let i =
|
|
1141
|
+
let i = P.createContext(r), a = n.length;
|
|
1142
1142
|
n = [...n, r];
|
|
1143
1143
|
let o = (t) => {
|
|
1144
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
1144
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = P.useMemo(() => o, Object.values(o));
|
|
1145
1145
|
return /* @__PURE__ */ (0, I.jsx)(s.Provider, {
|
|
1146
1146
|
value: c,
|
|
1147
1147
|
children: r
|
|
@@ -1149,7 +1149,7 @@ function Sn(e, t = []) {
|
|
|
1149
1149
|
};
|
|
1150
1150
|
o.displayName = t + "Provider";
|
|
1151
1151
|
function s(n, o) {
|
|
1152
|
-
let s = o?.[e]?.[a] || i, c =
|
|
1152
|
+
let s = o?.[e]?.[a] || i, c = P.useContext(s);
|
|
1153
1153
|
if (c) return c;
|
|
1154
1154
|
if (r !== void 0) return r;
|
|
1155
1155
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -1157,18 +1157,18 @@ function Sn(e, t = []) {
|
|
|
1157
1157
|
return [o, s];
|
|
1158
1158
|
}
|
|
1159
1159
|
let i = () => {
|
|
1160
|
-
let t = n.map((e) =>
|
|
1160
|
+
let t = n.map((e) => P.createContext(e));
|
|
1161
1161
|
return function(n) {
|
|
1162
1162
|
let r = n?.[e] || t;
|
|
1163
|
-
return
|
|
1163
|
+
return P.useMemo(() => ({ [`__scope${e}`]: {
|
|
1164
1164
|
...n,
|
|
1165
1165
|
[e]: r
|
|
1166
1166
|
} }), [n, r]);
|
|
1167
1167
|
};
|
|
1168
1168
|
};
|
|
1169
|
-
return i.scopeName = e, [r,
|
|
1169
|
+
return i.scopeName = e, [r, En(i, ...t)];
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1171
|
+
function En(...e) {
|
|
1172
1172
|
let t = e[0];
|
|
1173
1173
|
if (e.length === 1) return t;
|
|
1174
1174
|
let n = () => {
|
|
@@ -1184,7 +1184,7 @@ function Cn(...e) {
|
|
|
1184
1184
|
...i
|
|
1185
1185
|
};
|
|
1186
1186
|
}, {});
|
|
1187
|
-
return
|
|
1187
|
+
return P.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
1188
1188
|
};
|
|
1189
1189
|
};
|
|
1190
1190
|
return n.scopeName = t.scopeName, n;
|
|
@@ -1192,15 +1192,15 @@ function Cn(...e) {
|
|
|
1192
1192
|
//#endregion
|
|
1193
1193
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1194
1194
|
// @__NO_SIDE_EFFECTS__
|
|
1195
|
-
function
|
|
1196
|
-
let t = /* @__PURE__ */
|
|
1197
|
-
let { children: r, ...i } = e, a =
|
|
1195
|
+
function Dn(e) {
|
|
1196
|
+
let t = /* @__PURE__ */ On(e), n = P.forwardRef((e, n) => {
|
|
1197
|
+
let { children: r, ...i } = e, a = P.Children.toArray(r), o = a.find(An);
|
|
1198
1198
|
if (o) {
|
|
1199
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
1199
|
+
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);
|
|
1200
1200
|
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
1201
1201
|
...i,
|
|
1202
1202
|
ref: n,
|
|
1203
|
-
children:
|
|
1203
|
+
children: P.isValidElement(e) ? P.cloneElement(e, void 0, r) : null
|
|
1204
1204
|
});
|
|
1205
1205
|
}
|
|
1206
1206
|
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
@@ -1212,22 +1212,22 @@ function wn(e) {
|
|
|
1212
1212
|
return n.displayName = `${e}.Slot`, n;
|
|
1213
1213
|
}
|
|
1214
1214
|
// @__NO_SIDE_EFFECTS__
|
|
1215
|
-
function
|
|
1216
|
-
let t =
|
|
1215
|
+
function On(e) {
|
|
1216
|
+
let t = P.forwardRef((e, t) => {
|
|
1217
1217
|
let { children: n, ...r } = e;
|
|
1218
|
-
if (
|
|
1219
|
-
let e =
|
|
1220
|
-
return n.type !==
|
|
1218
|
+
if (P.isValidElement(n)) {
|
|
1219
|
+
let e = Mn(n), i = jn(r, n.props);
|
|
1220
|
+
return n.type !== P.Fragment && (i.ref = t ? wn(t, e) : e), P.cloneElement(n, i);
|
|
1221
1221
|
}
|
|
1222
|
-
return
|
|
1222
|
+
return P.Children.count(n) > 1 ? P.Children.only(null) : null;
|
|
1223
1223
|
});
|
|
1224
1224
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1225
1225
|
}
|
|
1226
|
-
var
|
|
1227
|
-
function
|
|
1228
|
-
return
|
|
1226
|
+
var kn = Symbol("radix.slottable");
|
|
1227
|
+
function An(e) {
|
|
1228
|
+
return P.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === kn;
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1230
|
+
function jn(e, t) {
|
|
1231
1231
|
let n = { ...t };
|
|
1232
1232
|
for (let r in t) {
|
|
1233
1233
|
let i = e[r], a = t[r];
|
|
@@ -1244,13 +1244,13 @@ function On(e, t) {
|
|
|
1244
1244
|
...n
|
|
1245
1245
|
};
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function Mn(e) {
|
|
1248
1248
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1249
1249
|
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);
|
|
1250
1250
|
}
|
|
1251
1251
|
//#endregion
|
|
1252
1252
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
1253
|
-
var
|
|
1253
|
+
var V = [
|
|
1254
1254
|
"a",
|
|
1255
1255
|
"button",
|
|
1256
1256
|
"div",
|
|
@@ -1269,7 +1269,7 @@ var H = [
|
|
|
1269
1269
|
"svg",
|
|
1270
1270
|
"ul"
|
|
1271
1271
|
].reduce((e, t) => {
|
|
1272
|
-
let n = /* @__PURE__ */
|
|
1272
|
+
let n = /* @__PURE__ */ Dn(`Primitive.${t}`), r = P.forwardRef((e, r) => {
|
|
1273
1273
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1274
1274
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1275
1275
|
...a,
|
|
@@ -1281,22 +1281,22 @@ var H = [
|
|
|
1281
1281
|
[t]: r
|
|
1282
1282
|
};
|
|
1283
1283
|
}, {});
|
|
1284
|
-
function
|
|
1285
|
-
e &&
|
|
1284
|
+
function Nn(e, t) {
|
|
1285
|
+
e && xt.flushSync(() => e.dispatchEvent(t));
|
|
1286
1286
|
}
|
|
1287
1287
|
//#endregion
|
|
1288
1288
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1289
|
-
function
|
|
1290
|
-
let t =
|
|
1291
|
-
return
|
|
1289
|
+
function Pn(e) {
|
|
1290
|
+
let t = P.useRef(e);
|
|
1291
|
+
return P.useEffect(() => {
|
|
1292
1292
|
t.current = e;
|
|
1293
|
-
}),
|
|
1293
|
+
}), P.useMemo(() => (...e) => t.current?.(...e), []);
|
|
1294
1294
|
}
|
|
1295
1295
|
//#endregion
|
|
1296
1296
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1297
|
-
function
|
|
1298
|
-
let n =
|
|
1299
|
-
|
|
1297
|
+
function Fn(e, t = globalThis?.document) {
|
|
1298
|
+
let n = Pn(e);
|
|
1299
|
+
P.useEffect(() => {
|
|
1300
1300
|
let e = (e) => {
|
|
1301
1301
|
e.key === "Escape" && n(e);
|
|
1302
1302
|
};
|
|
@@ -1305,67 +1305,67 @@ function Mn(e, t = globalThis?.document) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
//#endregion
|
|
1307
1307
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1308
|
-
var
|
|
1308
|
+
var In = "DismissableLayer", Ln = "dismissableLayer.update", Rn = "dismissableLayer.pointerDownOutside", zn = "dismissableLayer.focusOutside", Bn, Vn = P.createContext({
|
|
1309
1309
|
layers: /* @__PURE__ */ new Set(),
|
|
1310
1310
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1311
1311
|
branches: /* @__PURE__ */ new Set()
|
|
1312
|
-
}),
|
|
1313
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
1312
|
+
}), Hn = P.forwardRef((e, t) => {
|
|
1313
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = P.useContext(Vn), [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 = Gn((e) => {
|
|
1314
1314
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1315
1315
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1316
|
-
}, f), S =
|
|
1316
|
+
}, f), S = Kn((e) => {
|
|
1317
1317
|
let t = e.target;
|
|
1318
1318
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1319
1319
|
}, f);
|
|
1320
|
-
return
|
|
1320
|
+
return Fn((e) => {
|
|
1321
1321
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1322
|
-
}, f),
|
|
1323
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1324
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1322
|
+
}, f), P.useEffect(() => {
|
|
1323
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Bn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), qn(), () => {
|
|
1324
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Bn);
|
|
1325
1325
|
};
|
|
1326
1326
|
}, [
|
|
1327
1327
|
u,
|
|
1328
1328
|
f,
|
|
1329
1329
|
n,
|
|
1330
1330
|
l
|
|
1331
|
-
]),
|
|
1332
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1333
|
-
}, [u, l]),
|
|
1331
|
+
]), P.useEffect(() => () => {
|
|
1332
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), qn());
|
|
1333
|
+
}, [u, l]), P.useEffect(() => {
|
|
1334
1334
|
let e = () => p({});
|
|
1335
|
-
return document.addEventListener(
|
|
1336
|
-
}, []), /* @__PURE__ */ (0, I.jsx)(
|
|
1335
|
+
return document.addEventListener(Ln, e), () => document.removeEventListener(Ln, e);
|
|
1336
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
1337
1337
|
...c,
|
|
1338
1338
|
ref: m,
|
|
1339
1339
|
style: {
|
|
1340
1340
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
1341
1341
|
...e.style
|
|
1342
1342
|
},
|
|
1343
|
-
onFocusCapture:
|
|
1344
|
-
onBlurCapture:
|
|
1345
|
-
onPointerDownCapture:
|
|
1343
|
+
onFocusCapture: z(e.onFocusCapture, S.onFocusCapture),
|
|
1344
|
+
onBlurCapture: z(e.onBlurCapture, S.onBlurCapture),
|
|
1345
|
+
onPointerDownCapture: z(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1346
1346
|
});
|
|
1347
1347
|
});
|
|
1348
|
-
|
|
1349
|
-
var
|
|
1350
|
-
let n =
|
|
1351
|
-
return
|
|
1348
|
+
Hn.displayName = In;
|
|
1349
|
+
var Un = "DismissableLayerBranch", Wn = P.forwardRef((e, t) => {
|
|
1350
|
+
let n = P.useContext(Vn), r = P.useRef(null), i = B(t, r);
|
|
1351
|
+
return P.useEffect(() => {
|
|
1352
1352
|
let e = r.current;
|
|
1353
1353
|
if (e) return n.branches.add(e), () => {
|
|
1354
1354
|
n.branches.delete(e);
|
|
1355
1355
|
};
|
|
1356
|
-
}, [n.branches]), /* @__PURE__ */ (0, I.jsx)(
|
|
1356
|
+
}, [n.branches]), /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
1357
1357
|
...e,
|
|
1358
1358
|
ref: i
|
|
1359
1359
|
});
|
|
1360
1360
|
});
|
|
1361
|
-
|
|
1362
|
-
function
|
|
1363
|
-
let n =
|
|
1364
|
-
return
|
|
1361
|
+
Wn.displayName = Un;
|
|
1362
|
+
function Gn(e, t = globalThis?.document) {
|
|
1363
|
+
let n = Pn(e), r = P.useRef(!1), i = P.useRef(() => {});
|
|
1364
|
+
return P.useEffect(() => {
|
|
1365
1365
|
let e = (e) => {
|
|
1366
1366
|
if (e.target && !r.current) {
|
|
1367
1367
|
let r = function() {
|
|
1368
|
-
|
|
1368
|
+
Jn(Rn, n, a, { discrete: !0 });
|
|
1369
1369
|
}, a = { originalEvent: e };
|
|
1370
1370
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1371
1371
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1378,11 +1378,11 @@ function Hn(e, t = globalThis?.document) {
|
|
|
1378
1378
|
};
|
|
1379
1379
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1382
|
-
let n =
|
|
1383
|
-
return
|
|
1381
|
+
function Kn(e, t = globalThis?.document) {
|
|
1382
|
+
let n = Pn(e), r = P.useRef(!1);
|
|
1383
|
+
return P.useEffect(() => {
|
|
1384
1384
|
let e = (e) => {
|
|
1385
|
-
e.target && !r.current &&
|
|
1385
|
+
e.target && !r.current && Jn(zn, n, { originalEvent: e }, { discrete: !1 });
|
|
1386
1386
|
};
|
|
1387
1387
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1388
1388
|
}, [t, n]), {
|
|
@@ -1390,40 +1390,40 @@ function Un(e, t = globalThis?.document) {
|
|
|
1390
1390
|
onBlurCapture: () => r.current = !1
|
|
1391
1391
|
};
|
|
1392
1392
|
}
|
|
1393
|
-
function
|
|
1394
|
-
let e = new CustomEvent(
|
|
1393
|
+
function qn() {
|
|
1394
|
+
let e = new CustomEvent(Ln);
|
|
1395
1395
|
document.dispatchEvent(e);
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function Jn(e, t, n, { discrete: r }) {
|
|
1398
1398
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1399
1399
|
bubbles: !1,
|
|
1400
1400
|
cancelable: !0,
|
|
1401
1401
|
detail: n
|
|
1402
1402
|
});
|
|
1403
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1403
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Nn(i, a) : i.dispatchEvent(a);
|
|
1404
1404
|
}
|
|
1405
1405
|
//#endregion
|
|
1406
1406
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1407
|
-
var
|
|
1408
|
-
function
|
|
1409
|
-
|
|
1407
|
+
var Yn = 0;
|
|
1408
|
+
function Xn() {
|
|
1409
|
+
P.useEffect(() => {
|
|
1410
1410
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1411
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1412
|
-
|
|
1411
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Zn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Zn()), Yn++, () => {
|
|
1412
|
+
Yn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Yn--;
|
|
1413
1413
|
};
|
|
1414
1414
|
}, []);
|
|
1415
1415
|
}
|
|
1416
|
-
function
|
|
1416
|
+
function Zn() {
|
|
1417
1417
|
let e = document.createElement("span");
|
|
1418
1418
|
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;
|
|
1419
1419
|
}
|
|
1420
1420
|
//#endregion
|
|
1421
1421
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1422
|
-
var
|
|
1422
|
+
var Qn = "focusScope.autoFocusOnMount", $n = "focusScope.autoFocusOnUnmount", er = {
|
|
1423
1423
|
bubbles: !1,
|
|
1424
1424
|
cancelable: !0
|
|
1425
|
-
},
|
|
1426
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
1425
|
+
}, tr = "FocusScope", nr = P.forwardRef((e, t) => {
|
|
1426
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = P.useState(null), l = Pn(i), u = Pn(a), d = P.useRef(null), f = B(t, (e) => c(e)), p = P.useRef({
|
|
1427
1427
|
paused: !1,
|
|
1428
1428
|
pause() {
|
|
1429
1429
|
this.paused = !0;
|
|
@@ -1432,18 +1432,18 @@ var Yn = "focusScope.autoFocusOnMount", Xn = "focusScope.autoFocusOnUnmount", Zn
|
|
|
1432
1432
|
this.paused = !1;
|
|
1433
1433
|
}
|
|
1434
1434
|
}).current;
|
|
1435
|
-
|
|
1435
|
+
P.useEffect(() => {
|
|
1436
1436
|
if (r) {
|
|
1437
1437
|
let e = function(e) {
|
|
1438
1438
|
if (p.paused || !s) return;
|
|
1439
1439
|
let t = e.target;
|
|
1440
|
-
s.contains(t) ? d.current = t :
|
|
1440
|
+
s.contains(t) ? d.current = t : lr(d.current, { select: !0 });
|
|
1441
1441
|
}, t = function(e) {
|
|
1442
1442
|
if (p.paused || !s) return;
|
|
1443
1443
|
let t = e.relatedTarget;
|
|
1444
|
-
t !== null && (s.contains(t) ||
|
|
1444
|
+
t !== null && (s.contains(t) || lr(d.current, { select: !0 }));
|
|
1445
1445
|
}, n = function(e) {
|
|
1446
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1446
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && lr(s);
|
|
1447
1447
|
};
|
|
1448
1448
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1449
1449
|
let r = new MutationObserver(n);
|
|
@@ -1458,18 +1458,18 @@ var Yn = "focusScope.autoFocusOnMount", Xn = "focusScope.autoFocusOnUnmount", Zn
|
|
|
1458
1458
|
r,
|
|
1459
1459
|
s,
|
|
1460
1460
|
p.paused
|
|
1461
|
-
]),
|
|
1461
|
+
]), P.useEffect(() => {
|
|
1462
1462
|
if (s) {
|
|
1463
|
-
|
|
1463
|
+
ur.add(p);
|
|
1464
1464
|
let e = document.activeElement;
|
|
1465
1465
|
if (!s.contains(e)) {
|
|
1466
|
-
let t = new CustomEvent(
|
|
1467
|
-
s.addEventListener(
|
|
1466
|
+
let t = new CustomEvent(Qn, er);
|
|
1467
|
+
s.addEventListener(Qn, l), s.dispatchEvent(t), t.defaultPrevented || (rr(pr(ar(s)), { select: !0 }), document.activeElement === e && lr(s));
|
|
1468
1468
|
}
|
|
1469
1469
|
return () => {
|
|
1470
|
-
s.removeEventListener(
|
|
1471
|
-
let t = new CustomEvent(
|
|
1472
|
-
s.addEventListener(
|
|
1470
|
+
s.removeEventListener(Qn, l), setTimeout(() => {
|
|
1471
|
+
let t = new CustomEvent($n, er);
|
|
1472
|
+
s.addEventListener($n, u), s.dispatchEvent(t), t.defaultPrevented || lr(e ?? document.body, { select: !0 }), s.removeEventListener($n, u), ur.remove(p);
|
|
1473
1473
|
}, 0);
|
|
1474
1474
|
};
|
|
1475
1475
|
}
|
|
@@ -1479,35 +1479,35 @@ var Yn = "focusScope.autoFocusOnMount", Xn = "focusScope.autoFocusOnUnmount", Zn
|
|
|
1479
1479
|
u,
|
|
1480
1480
|
p
|
|
1481
1481
|
]);
|
|
1482
|
-
let m =
|
|
1482
|
+
let m = P.useCallback((e) => {
|
|
1483
1483
|
if (!n && !r || p.paused) return;
|
|
1484
1484
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1485
1485
|
if (t && i) {
|
|
1486
|
-
let t = e.currentTarget, [r, a] =
|
|
1487
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1486
|
+
let t = e.currentTarget, [r, a] = ir(t);
|
|
1487
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && lr(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && lr(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1488
1488
|
}
|
|
1489
1489
|
}, [
|
|
1490
1490
|
n,
|
|
1491
1491
|
r,
|
|
1492
1492
|
p.paused
|
|
1493
1493
|
]);
|
|
1494
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
1494
|
+
return /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
1495
1495
|
tabIndex: -1,
|
|
1496
1496
|
...o,
|
|
1497
1497
|
ref: f,
|
|
1498
1498
|
onKeyDown: m
|
|
1499
1499
|
});
|
|
1500
1500
|
});
|
|
1501
|
-
|
|
1502
|
-
function
|
|
1501
|
+
nr.displayName = tr;
|
|
1502
|
+
function rr(e, { select: t = !1 } = {}) {
|
|
1503
1503
|
let n = document.activeElement;
|
|
1504
|
-
for (let r of e) if (
|
|
1504
|
+
for (let r of e) if (lr(r, { select: t }), document.activeElement !== n) return;
|
|
1505
1505
|
}
|
|
1506
|
-
function
|
|
1507
|
-
let t =
|
|
1508
|
-
return [
|
|
1506
|
+
function ir(e) {
|
|
1507
|
+
let t = ar(e);
|
|
1508
|
+
return [or(t, e), or(t.reverse(), e)];
|
|
1509
1509
|
}
|
|
1510
|
-
function
|
|
1510
|
+
function ar(e) {
|
|
1511
1511
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1512
1512
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1513
1513
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1515,10 +1515,10 @@ function nr(e) {
|
|
|
1515
1515
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1516
1516
|
return t;
|
|
1517
1517
|
}
|
|
1518
|
-
function
|
|
1519
|
-
for (let n of e) if (!
|
|
1518
|
+
function or(e, t) {
|
|
1519
|
+
for (let n of e) if (!sr(n, { upTo: t })) return n;
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function sr(e, { upTo: t }) {
|
|
1522
1522
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1523
1523
|
for (; e;) {
|
|
1524
1524
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1527,62 +1527,62 @@ function ir(e, { upTo: t }) {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
return !1;
|
|
1529
1529
|
}
|
|
1530
|
-
function
|
|
1530
|
+
function cr(e) {
|
|
1531
1531
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1532
1532
|
}
|
|
1533
|
-
function
|
|
1533
|
+
function lr(e, { select: t = !1 } = {}) {
|
|
1534
1534
|
if (e && e.focus) {
|
|
1535
1535
|
let n = document.activeElement;
|
|
1536
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1536
|
+
e.focus({ preventScroll: !0 }), e !== n && cr(e) && t && e.select();
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
|
-
var
|
|
1540
|
-
function
|
|
1539
|
+
var ur = dr();
|
|
1540
|
+
function dr() {
|
|
1541
1541
|
let e = [];
|
|
1542
1542
|
return {
|
|
1543
1543
|
add(t) {
|
|
1544
1544
|
let n = e[0];
|
|
1545
|
-
t !== n && n?.pause(), e =
|
|
1545
|
+
t !== n && n?.pause(), e = fr(e, t), e.unshift(t);
|
|
1546
1546
|
},
|
|
1547
1547
|
remove(t) {
|
|
1548
|
-
e =
|
|
1548
|
+
e = fr(e, t), e[0]?.resume();
|
|
1549
1549
|
}
|
|
1550
1550
|
};
|
|
1551
1551
|
}
|
|
1552
|
-
function
|
|
1552
|
+
function fr(e, t) {
|
|
1553
1553
|
let n = [...e], r = n.indexOf(t);
|
|
1554
1554
|
return r !== -1 && n.splice(r, 1), n;
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function pr(e) {
|
|
1557
1557
|
return e.filter((e) => e.tagName !== "A");
|
|
1558
1558
|
}
|
|
1559
1559
|
//#endregion
|
|
1560
1560
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1563
|
-
let [t, n] =
|
|
1564
|
-
return
|
|
1565
|
-
e || n((e) => e ?? String(
|
|
1561
|
+
var mr = globalThis?.document ? P.useLayoutEffect : () => {}, hr = P.useId || (() => void 0), gr = 0;
|
|
1562
|
+
function _r(e) {
|
|
1563
|
+
let [t, n] = P.useState(hr());
|
|
1564
|
+
return mr(() => {
|
|
1565
|
+
e || n((e) => e ?? String(gr++));
|
|
1566
1566
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1567
1567
|
}
|
|
1568
1568
|
//#endregion
|
|
1569
1569
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1570
|
-
var
|
|
1570
|
+
var vr = [
|
|
1571
1571
|
"top",
|
|
1572
1572
|
"right",
|
|
1573
1573
|
"bottom",
|
|
1574
1574
|
"left"
|
|
1575
|
-
],
|
|
1575
|
+
], H = Math.min, U = Math.max, yr = Math.round, br = Math.floor, W = (e) => ({
|
|
1576
1576
|
x: e,
|
|
1577
1577
|
y: e
|
|
1578
|
-
}),
|
|
1578
|
+
}), xr = {
|
|
1579
1579
|
left: "right",
|
|
1580
1580
|
right: "left",
|
|
1581
1581
|
bottom: "top",
|
|
1582
1582
|
top: "bottom"
|
|
1583
1583
|
};
|
|
1584
|
-
function
|
|
1585
|
-
return U(e,
|
|
1584
|
+
function Sr(e, t, n) {
|
|
1585
|
+
return U(e, H(t, n));
|
|
1586
1586
|
}
|
|
1587
1587
|
function G(e, t) {
|
|
1588
1588
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1590,57 +1590,57 @@ function G(e, t) {
|
|
|
1590
1590
|
function K(e) {
|
|
1591
1591
|
return e.split("-")[0];
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function Cr(e) {
|
|
1594
1594
|
return e.split("-")[1];
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function wr(e) {
|
|
1597
1597
|
return e === "x" ? "y" : "x";
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1599
|
+
function Tr(e) {
|
|
1600
1600
|
return e === "y" ? "height" : "width";
|
|
1601
1601
|
}
|
|
1602
1602
|
function q(e) {
|
|
1603
1603
|
let t = e[0];
|
|
1604
1604
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1607
|
-
return
|
|
1606
|
+
function Er(e) {
|
|
1607
|
+
return wr(q(e));
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1609
|
+
function Dr(e, t, n) {
|
|
1610
1610
|
n === void 0 && (n = !1);
|
|
1611
|
-
let r =
|
|
1612
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1611
|
+
let r = Cr(e), i = Er(e), a = Tr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1612
|
+
return t.reference[a] > t.floating[a] && (o = Ir(o)), [o, Ir(o)];
|
|
1613
1613
|
}
|
|
1614
|
-
function
|
|
1615
|
-
let t =
|
|
1614
|
+
function Or(e) {
|
|
1615
|
+
let t = Ir(e);
|
|
1616
1616
|
return [
|
|
1617
|
-
|
|
1617
|
+
kr(e),
|
|
1618
1618
|
t,
|
|
1619
|
-
|
|
1619
|
+
kr(t)
|
|
1620
1620
|
];
|
|
1621
1621
|
}
|
|
1622
|
-
function
|
|
1622
|
+
function kr(e) {
|
|
1623
1623
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1624
1624
|
}
|
|
1625
|
-
var
|
|
1626
|
-
function
|
|
1625
|
+
var Ar = ["left", "right"], jr = ["right", "left"], Mr = ["top", "bottom"], Nr = ["bottom", "top"];
|
|
1626
|
+
function Pr(e, t, n) {
|
|
1627
1627
|
switch (e) {
|
|
1628
1628
|
case "top":
|
|
1629
|
-
case "bottom": return n ? t ?
|
|
1629
|
+
case "bottom": return n ? t ? jr : Ar : t ? Ar : jr;
|
|
1630
1630
|
case "left":
|
|
1631
|
-
case "right": return t ?
|
|
1631
|
+
case "right": return t ? Mr : Nr;
|
|
1632
1632
|
default: return [];
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1636
|
-
let i =
|
|
1637
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1635
|
+
function Fr(e, t, n, r) {
|
|
1636
|
+
let i = Cr(e), a = Pr(K(e), n === "start", r);
|
|
1637
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(kr)))), a;
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1639
|
+
function Ir(e) {
|
|
1640
1640
|
let t = K(e);
|
|
1641
|
-
return
|
|
1641
|
+
return xr[t] + e.slice(t.length);
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1643
|
+
function Lr(e) {
|
|
1644
1644
|
return {
|
|
1645
1645
|
top: 0,
|
|
1646
1646
|
right: 0,
|
|
@@ -1649,15 +1649,15 @@ function Fr(e) {
|
|
|
1649
1649
|
...e
|
|
1650
1650
|
};
|
|
1651
1651
|
}
|
|
1652
|
-
function
|
|
1652
|
+
function Rr(e) {
|
|
1653
1653
|
return typeof e == "number" ? {
|
|
1654
1654
|
top: e,
|
|
1655
1655
|
right: e,
|
|
1656
1656
|
bottom: e,
|
|
1657
1657
|
left: e
|
|
1658
|
-
} :
|
|
1658
|
+
} : Lr(e);
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1660
|
+
function zr(e) {
|
|
1661
1661
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1662
1662
|
return {
|
|
1663
1663
|
width: r,
|
|
@@ -1672,8 +1672,8 @@ function Lr(e) {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
//#endregion
|
|
1674
1674
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1675
|
-
function
|
|
1676
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1675
|
+
function Br(e, t, n) {
|
|
1676
|
+
let { reference: r, floating: i } = e, a = q(t), o = Er(t), s = Tr(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;
|
|
1677
1677
|
switch (c) {
|
|
1678
1678
|
case "top":
|
|
1679
1679
|
p = {
|
|
@@ -1704,7 +1704,7 @@ function Rr(e, t, n) {
|
|
|
1704
1704
|
y: r.y
|
|
1705
1705
|
};
|
|
1706
1706
|
}
|
|
1707
|
-
switch (
|
|
1707
|
+
switch (Cr(t)) {
|
|
1708
1708
|
case "start":
|
|
1709
1709
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1710
1710
|
break;
|
|
@@ -1714,9 +1714,9 @@ function Rr(e, t, n) {
|
|
|
1714
1714
|
}
|
|
1715
1715
|
return p;
|
|
1716
1716
|
}
|
|
1717
|
-
async function
|
|
1717
|
+
async function Vr(e, t) {
|
|
1718
1718
|
t === void 0 && (t = {});
|
|
1719
|
-
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 =
|
|
1719
|
+
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 = Rr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = zr(await i.getClippingRect({
|
|
1720
1720
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1721
1721
|
boundary: c,
|
|
1722
1722
|
rootBoundary: l,
|
|
@@ -1729,7 +1729,7 @@ async function zr(e, t) {
|
|
|
1729
1729
|
} : 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(_)) || {
|
|
1730
1730
|
x: 1,
|
|
1731
1731
|
y: 1
|
|
1732
|
-
}, y =
|
|
1732
|
+
}, y = zr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1733
1733
|
elements: o,
|
|
1734
1734
|
rect: g,
|
|
1735
1735
|
offsetParent: _,
|
|
@@ -1742,15 +1742,15 @@ async function zr(e, t) {
|
|
|
1742
1742
|
right: (y.right - h.right + p.right) / v.x
|
|
1743
1743
|
};
|
|
1744
1744
|
}
|
|
1745
|
-
var
|
|
1745
|
+
var Hr = 50, Ur = async (e, t, n) => {
|
|
1746
1746
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1747
1747
|
...o,
|
|
1748
|
-
detectOverflow:
|
|
1748
|
+
detectOverflow: Vr
|
|
1749
1749
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1750
1750
|
reference: e,
|
|
1751
1751
|
floating: t,
|
|
1752
1752
|
strategy: i
|
|
1753
|
-
}), { x: u, y: d } =
|
|
1753
|
+
}), { x: u, y: d } = Br(l, r, c), f = r, p = 0, m = {};
|
|
1754
1754
|
for (let n = 0; n < a.length; n++) {
|
|
1755
1755
|
let h = a[n];
|
|
1756
1756
|
if (!h) continue;
|
|
@@ -1771,11 +1771,11 @@ var Br = 50, Vr = async (e, t, n) => {
|
|
|
1771
1771
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1772
1772
|
...m[g],
|
|
1773
1773
|
...b
|
|
1774
|
-
}, x && p <
|
|
1774
|
+
}, x && p < Hr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1775
1775
|
reference: e,
|
|
1776
1776
|
floating: t,
|
|
1777
1777
|
strategy: i
|
|
1778
|
-
}) : x.rects), {x: u, y: d} =
|
|
1778
|
+
}) : x.rects), {x: u, y: d} = Br(l, f, c)), n = -1);
|
|
1779
1779
|
}
|
|
1780
1780
|
return {
|
|
1781
1781
|
x: u,
|
|
@@ -1784,29 +1784,29 @@ var Br = 50, Vr = async (e, t, n) => {
|
|
|
1784
1784
|
strategy: i,
|
|
1785
1785
|
middlewareData: m
|
|
1786
1786
|
};
|
|
1787
|
-
},
|
|
1787
|
+
}, Wr = (e) => ({
|
|
1788
1788
|
name: "arrow",
|
|
1789
1789
|
options: e,
|
|
1790
1790
|
async fn(t) {
|
|
1791
1791
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1792
1792
|
if (l == null) return {};
|
|
1793
|
-
let d =
|
|
1793
|
+
let d = Rr(u), f = {
|
|
1794
1794
|
x: n,
|
|
1795
1795
|
y: r
|
|
1796
|
-
}, p =
|
|
1796
|
+
}, p = Er(i), m = Tr(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;
|
|
1797
1797
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1798
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee =
|
|
1798
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = H(d[_], T), te = H(d[v], T), ne = ee, E = C - h[m] - te, D = C / 2 - h[m] / 2 + w, O = Sr(ne, D, E), k = !c.arrow && Cr(i) != null && D !== O && a.reference[m] / 2 - (D < ne ? ee : te) - h[m] / 2 < 0, A = k ? D < ne ? D - ne : D - E : 0;
|
|
1799
1799
|
return {
|
|
1800
|
-
[p]: f[p] +
|
|
1800
|
+
[p]: f[p] + A,
|
|
1801
1801
|
data: {
|
|
1802
|
-
[p]:
|
|
1803
|
-
centerOffset:
|
|
1804
|
-
...
|
|
1802
|
+
[p]: O,
|
|
1803
|
+
centerOffset: D - O - A,
|
|
1804
|
+
...k && { alignmentOffset: A }
|
|
1805
1805
|
},
|
|
1806
|
-
reset:
|
|
1806
|
+
reset: k
|
|
1807
1807
|
};
|
|
1808
1808
|
}
|
|
1809
|
-
}),
|
|
1809
|
+
}), Gr = function(e) {
|
|
1810
1810
|
return e === void 0 && (e = {}), {
|
|
1811
1811
|
name: "flip",
|
|
1812
1812
|
options: e,
|
|
@@ -1814,11 +1814,11 @@ var Br = 50, Vr = async (e, t, n) => {
|
|
|
1814
1814
|
var n;
|
|
1815
1815
|
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);
|
|
1816
1816
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1817
|
-
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 ? [
|
|
1818
|
-
!d && x && b.push(...
|
|
1817
|
+
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 ? [Ir(o)] : Or(o)), x = p !== "none";
|
|
1818
|
+
!d && x && b.push(...Fr(o, m, p, y));
|
|
1819
1819
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1820
1820
|
if (l && w.push(C[g]), u) {
|
|
1821
|
-
let e =
|
|
1821
|
+
let e = Dr(r, a, y);
|
|
1822
1822
|
w.push(C[e[0]], C[e[1]]);
|
|
1823
1823
|
}
|
|
1824
1824
|
if (T = [...T, {
|
|
@@ -1856,7 +1856,7 @@ var Br = 50, Vr = async (e, t, n) => {
|
|
|
1856
1856
|
}
|
|
1857
1857
|
};
|
|
1858
1858
|
};
|
|
1859
|
-
function
|
|
1859
|
+
function Kr(e, t) {
|
|
1860
1860
|
return {
|
|
1861
1861
|
top: e.top - t.height,
|
|
1862
1862
|
right: e.right - t.width,
|
|
@@ -1864,10 +1864,10 @@ function Wr(e, t) {
|
|
|
1864
1864
|
left: e.left - t.width
|
|
1865
1865
|
};
|
|
1866
1866
|
}
|
|
1867
|
-
function
|
|
1868
|
-
return
|
|
1867
|
+
function qr(e) {
|
|
1868
|
+
return vr.some((t) => e[t] >= 0);
|
|
1869
1869
|
}
|
|
1870
|
-
var
|
|
1870
|
+
var Jr = function(e) {
|
|
1871
1871
|
return e === void 0 && (e = {}), {
|
|
1872
1872
|
name: "hide",
|
|
1873
1873
|
options: e,
|
|
@@ -1875,32 +1875,32 @@ var Kr = function(e) {
|
|
|
1875
1875
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1876
1876
|
switch (i) {
|
|
1877
1877
|
case "referenceHidden": {
|
|
1878
|
-
let e =
|
|
1878
|
+
let e = Kr(await r.detectOverflow(t, {
|
|
1879
1879
|
...a,
|
|
1880
1880
|
elementContext: "reference"
|
|
1881
1881
|
}), n.reference);
|
|
1882
1882
|
return { data: {
|
|
1883
1883
|
referenceHiddenOffsets: e,
|
|
1884
|
-
referenceHidden:
|
|
1884
|
+
referenceHidden: qr(e)
|
|
1885
1885
|
} };
|
|
1886
1886
|
}
|
|
1887
1887
|
case "escaped": {
|
|
1888
|
-
let e =
|
|
1888
|
+
let e = Kr(await r.detectOverflow(t, {
|
|
1889
1889
|
...a,
|
|
1890
1890
|
altBoundary: !0
|
|
1891
1891
|
}), n.floating);
|
|
1892
1892
|
return { data: {
|
|
1893
1893
|
escapedOffsets: e,
|
|
1894
|
-
escaped:
|
|
1894
|
+
escaped: qr(e)
|
|
1895
1895
|
} };
|
|
1896
1896
|
}
|
|
1897
1897
|
default: return {};
|
|
1898
1898
|
}
|
|
1899
1899
|
}
|
|
1900
1900
|
};
|
|
1901
|
-
},
|
|
1902
|
-
async function
|
|
1903
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1901
|
+
}, Yr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1902
|
+
async function Xr(e, t) {
|
|
1903
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = Cr(n), c = q(n) === "y", l = Yr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1904
1904
|
mainAxis: d,
|
|
1905
1905
|
crossAxis: 0,
|
|
1906
1906
|
alignmentAxis: null
|
|
@@ -1917,13 +1917,13 @@ async function Jr(e, t) {
|
|
|
1917
1917
|
y: p * u
|
|
1918
1918
|
};
|
|
1919
1919
|
}
|
|
1920
|
-
var
|
|
1920
|
+
var Zr = function(e) {
|
|
1921
1921
|
return e === void 0 && (e = 0), {
|
|
1922
1922
|
name: "offset",
|
|
1923
1923
|
options: e,
|
|
1924
1924
|
async fn(t) {
|
|
1925
1925
|
var n;
|
|
1926
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1926
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Xr(t, e);
|
|
1927
1927
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1928
1928
|
x: r + s.x,
|
|
1929
1929
|
y: i + s.y,
|
|
@@ -1934,7 +1934,7 @@ var Yr = function(e) {
|
|
|
1934
1934
|
};
|
|
1935
1935
|
}
|
|
1936
1936
|
};
|
|
1937
|
-
},
|
|
1937
|
+
}, Qr = function(e) {
|
|
1938
1938
|
return e === void 0 && (e = {}), {
|
|
1939
1939
|
name: "shift",
|
|
1940
1940
|
options: e,
|
|
@@ -1948,14 +1948,14 @@ var Yr = function(e) {
|
|
|
1948
1948
|
} }, ...l } = G(e, t), u = {
|
|
1949
1949
|
x: n,
|
|
1950
1950
|
y: r
|
|
1951
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1951
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = wr(f), m = u[p], h = u[f];
|
|
1952
1952
|
if (o) {
|
|
1953
1953
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1954
|
-
m =
|
|
1954
|
+
m = Sr(n, m, r);
|
|
1955
1955
|
}
|
|
1956
1956
|
if (s) {
|
|
1957
1957
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1958
|
-
h =
|
|
1958
|
+
h = Sr(n, h, r);
|
|
1959
1959
|
}
|
|
1960
1960
|
let g = c.fn({
|
|
1961
1961
|
...t,
|
|
@@ -1975,14 +1975,14 @@ var Yr = function(e) {
|
|
|
1975
1975
|
};
|
|
1976
1976
|
}
|
|
1977
1977
|
};
|
|
1978
|
-
},
|
|
1978
|
+
}, $r = function(e) {
|
|
1979
1979
|
return e === void 0 && (e = {}), {
|
|
1980
1980
|
options: e,
|
|
1981
1981
|
fn(t) {
|
|
1982
1982
|
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 = {
|
|
1983
1983
|
x: n,
|
|
1984
1984
|
y: r
|
|
1985
|
-
}, d = q(i), f =
|
|
1985
|
+
}, d = q(i), f = wr(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1986
1986
|
mainAxis: h,
|
|
1987
1987
|
crossAxis: 0
|
|
1988
1988
|
} : {
|
|
@@ -1995,7 +1995,7 @@ var Yr = function(e) {
|
|
|
1995
1995
|
p < t ? p = t : p > n && (p = n);
|
|
1996
1996
|
}
|
|
1997
1997
|
if (l) {
|
|
1998
|
-
let e = f === "y" ? "width" : "height", t =
|
|
1998
|
+
let e = f === "y" ? "width" : "height", t = Yr.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);
|
|
1999
1999
|
m < n ? m = n : m > r && (m = r);
|
|
2000
2000
|
}
|
|
2001
2001
|
return {
|
|
@@ -2004,15 +2004,15 @@ var Yr = function(e) {
|
|
|
2004
2004
|
};
|
|
2005
2005
|
}
|
|
2006
2006
|
};
|
|
2007
|
-
},
|
|
2007
|
+
}, ei = function(e) {
|
|
2008
2008
|
return e === void 0 && (e = {}), {
|
|
2009
2009
|
name: "size",
|
|
2010
2010
|
options: e,
|
|
2011
2011
|
async fn(t) {
|
|
2012
2012
|
var n, r;
|
|
2013
|
-
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 =
|
|
2013
|
+
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 = Cr(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2014
2014
|
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");
|
|
2015
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2015
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = H(h - u[g], v), x = H(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2016
2016
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2017
2017
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2018
2018
|
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));
|
|
@@ -2029,39 +2029,39 @@ var Yr = function(e) {
|
|
|
2029
2029
|
};
|
|
2030
2030
|
//#endregion
|
|
2031
2031
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2032
|
-
function
|
|
2032
|
+
function ti() {
|
|
2033
2033
|
return typeof window < "u";
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2036
|
-
return
|
|
2035
|
+
function ni(e) {
|
|
2036
|
+
return ri(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2037
2037
|
}
|
|
2038
2038
|
function J(e) {
|
|
2039
2039
|
var t;
|
|
2040
2040
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2041
2041
|
}
|
|
2042
2042
|
function Y(e) {
|
|
2043
|
-
return ((
|
|
2043
|
+
return ((ri(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2044
2044
|
}
|
|
2045
|
-
function
|
|
2046
|
-
return
|
|
2045
|
+
function ri(e) {
|
|
2046
|
+
return ti() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2047
2047
|
}
|
|
2048
2048
|
function X(e) {
|
|
2049
|
-
return
|
|
2049
|
+
return ti() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2050
2050
|
}
|
|
2051
2051
|
function Z(e) {
|
|
2052
|
-
return
|
|
2052
|
+
return ti() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2053
2053
|
}
|
|
2054
|
-
function
|
|
2055
|
-
return
|
|
2054
|
+
function ii(e) {
|
|
2055
|
+
return !ti() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2056
2056
|
}
|
|
2057
|
-
function
|
|
2057
|
+
function ai(e) {
|
|
2058
2058
|
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2059
2059
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2060
2060
|
}
|
|
2061
|
-
function
|
|
2062
|
-
return /^(table|td|th)$/.test(
|
|
2061
|
+
function oi(e) {
|
|
2062
|
+
return /^(table|td|th)$/.test(ni(e));
|
|
2063
2063
|
}
|
|
2064
|
-
function
|
|
2064
|
+
function si(e) {
|
|
2065
2065
|
try {
|
|
2066
2066
|
if (e.matches(":popover-open")) return !0;
|
|
2067
2067
|
} catch {}
|
|
@@ -2071,30 +2071,30 @@ function ai(e) {
|
|
|
2071
2071
|
return !1;
|
|
2072
2072
|
}
|
|
2073
2073
|
}
|
|
2074
|
-
var
|
|
2075
|
-
function
|
|
2074
|
+
var ci = /transform|translate|scale|rotate|perspective|filter/, li = /paint|layout|strict|content/, ui = (e) => !!e && e !== "none", di;
|
|
2075
|
+
function fi(e) {
|
|
2076
2076
|
let t = X(e) ? Q(e) : e;
|
|
2077
|
-
return
|
|
2078
|
-
}
|
|
2079
|
-
function
|
|
2080
|
-
let t =
|
|
2081
|
-
for (; Z(t) && !
|
|
2082
|
-
if (
|
|
2083
|
-
if (
|
|
2084
|
-
t =
|
|
2077
|
+
return ui(t.transform) || ui(t.translate) || ui(t.scale) || ui(t.rotate) || ui(t.perspective) || !mi() && (ui(t.backdropFilter) || ui(t.filter)) || ci.test(t.willChange || "") || li.test(t.contain || "");
|
|
2078
|
+
}
|
|
2079
|
+
function pi(e) {
|
|
2080
|
+
let t = _i(e);
|
|
2081
|
+
for (; Z(t) && !hi(t);) {
|
|
2082
|
+
if (fi(t)) return t;
|
|
2083
|
+
if (si(t)) return null;
|
|
2084
|
+
t = _i(t);
|
|
2085
2085
|
}
|
|
2086
2086
|
return null;
|
|
2087
2087
|
}
|
|
2088
|
-
function
|
|
2089
|
-
return
|
|
2088
|
+
function mi() {
|
|
2089
|
+
return di ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), di;
|
|
2090
2090
|
}
|
|
2091
|
-
function
|
|
2092
|
-
return /^(html|body|#document)$/.test(
|
|
2091
|
+
function hi(e) {
|
|
2092
|
+
return /^(html|body|#document)$/.test(ni(e));
|
|
2093
2093
|
}
|
|
2094
2094
|
function Q(e) {
|
|
2095
2095
|
return J(e).getComputedStyle(e);
|
|
2096
2096
|
}
|
|
2097
|
-
function
|
|
2097
|
+
function gi(e) {
|
|
2098
2098
|
return X(e) ? {
|
|
2099
2099
|
scrollLeft: e.scrollLeft,
|
|
2100
2100
|
scrollTop: e.scrollTop
|
|
@@ -2103,101 +2103,101 @@ function mi(e) {
|
|
|
2103
2103
|
scrollTop: e.scrollY
|
|
2104
2104
|
};
|
|
2105
2105
|
}
|
|
2106
|
-
function
|
|
2107
|
-
if (
|
|
2108
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
2109
|
-
return
|
|
2106
|
+
function _i(e) {
|
|
2107
|
+
if (ni(e) === "html") return e;
|
|
2108
|
+
let t = e.assignedSlot || e.parentNode || ii(e) && e.host || Y(e);
|
|
2109
|
+
return ii(t) ? t.host : t;
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2112
|
-
let t =
|
|
2113
|
-
return
|
|
2111
|
+
function vi(e) {
|
|
2112
|
+
let t = _i(e);
|
|
2113
|
+
return hi(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && ai(t) ? t : vi(t);
|
|
2114
2114
|
}
|
|
2115
|
-
function
|
|
2115
|
+
function yi(e, t, n) {
|
|
2116
2116
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2117
|
-
let r =
|
|
2117
|
+
let r = vi(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2118
2118
|
if (i) {
|
|
2119
|
-
let e =
|
|
2120
|
-
return t.concat(a, a.visualViewport || [],
|
|
2121
|
-
} else return t.concat(r,
|
|
2119
|
+
let e = bi(a);
|
|
2120
|
+
return t.concat(a, a.visualViewport || [], ai(r) ? r : [], e && n ? yi(e) : []);
|
|
2121
|
+
} else return t.concat(r, yi(r, [], n));
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function bi(e) {
|
|
2124
2124
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2125
2125
|
}
|
|
2126
2126
|
//#endregion
|
|
2127
2127
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2128
|
-
function
|
|
2129
|
-
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 =
|
|
2128
|
+
function xi(e) {
|
|
2129
|
+
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 = yr(n) !== a || yr(r) !== o;
|
|
2130
2130
|
return s && (n = a, r = o), {
|
|
2131
2131
|
width: n,
|
|
2132
2132
|
height: r,
|
|
2133
2133
|
$: s
|
|
2134
2134
|
};
|
|
2135
2135
|
}
|
|
2136
|
-
function
|
|
2136
|
+
function Si(e) {
|
|
2137
2137
|
return X(e) ? e : e.contextElement;
|
|
2138
2138
|
}
|
|
2139
|
-
function
|
|
2140
|
-
let t =
|
|
2139
|
+
function Ci(e) {
|
|
2140
|
+
let t = Si(e);
|
|
2141
2141
|
if (!Z(t)) return W(1);
|
|
2142
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2142
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = xi(t), o = (a ? yr(n.width) : n.width) / r, s = (a ? yr(n.height) : n.height) / i;
|
|
2143
2143
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2144
2144
|
x: o,
|
|
2145
2145
|
y: s
|
|
2146
2146
|
};
|
|
2147
2147
|
}
|
|
2148
|
-
var
|
|
2149
|
-
function
|
|
2148
|
+
var wi = /*#__PURE__*/ W(0);
|
|
2149
|
+
function Ti(e) {
|
|
2150
2150
|
let t = J(e);
|
|
2151
|
-
return !
|
|
2151
|
+
return !mi() || !t.visualViewport ? wi : {
|
|
2152
2152
|
x: t.visualViewport.offsetLeft,
|
|
2153
2153
|
y: t.visualViewport.offsetTop
|
|
2154
2154
|
};
|
|
2155
2155
|
}
|
|
2156
|
-
function
|
|
2156
|
+
function Ei(e, t, n) {
|
|
2157
2157
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2158
2158
|
}
|
|
2159
|
-
function
|
|
2159
|
+
function Di(e, t, n, r) {
|
|
2160
2160
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2161
|
-
let i = e.getBoundingClientRect(), a =
|
|
2162
|
-
t && (r ? X(r) && (o =
|
|
2163
|
-
let s =
|
|
2161
|
+
let i = e.getBoundingClientRect(), a = Si(e), o = W(1);
|
|
2162
|
+
t && (r ? X(r) && (o = Ci(r)) : o = Ci(e));
|
|
2163
|
+
let s = Ei(a, n, r) ? Ti(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;
|
|
2164
2164
|
if (a) {
|
|
2165
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2165
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = bi(n);
|
|
2166
2166
|
for (; i && r && t !== n;) {
|
|
2167
|
-
let e =
|
|
2168
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2167
|
+
let e = Ci(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;
|
|
2168
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = bi(n);
|
|
2169
2169
|
}
|
|
2170
2170
|
}
|
|
2171
|
-
return
|
|
2171
|
+
return zr({
|
|
2172
2172
|
width: u,
|
|
2173
2173
|
height: d,
|
|
2174
2174
|
x: c,
|
|
2175
2175
|
y: l
|
|
2176
2176
|
});
|
|
2177
2177
|
}
|
|
2178
|
-
function
|
|
2179
|
-
let n =
|
|
2180
|
-
return t ? t.left + n :
|
|
2178
|
+
function Oi(e, t) {
|
|
2179
|
+
let n = gi(e).scrollLeft;
|
|
2180
|
+
return t ? t.left + n : Di(Y(e)).left + n;
|
|
2181
2181
|
}
|
|
2182
|
-
function
|
|
2182
|
+
function ki(e, t) {
|
|
2183
2183
|
let n = e.getBoundingClientRect();
|
|
2184
2184
|
return {
|
|
2185
|
-
x: n.left + t.scrollLeft -
|
|
2185
|
+
x: n.left + t.scrollLeft - Oi(e, n),
|
|
2186
2186
|
y: n.top + t.scrollTop
|
|
2187
2187
|
};
|
|
2188
2188
|
}
|
|
2189
|
-
function
|
|
2190
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2189
|
+
function Ai(e) {
|
|
2190
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? si(t.floating) : !1;
|
|
2191
2191
|
if (r === o || s && a) return n;
|
|
2192
2192
|
let c = {
|
|
2193
2193
|
scrollLeft: 0,
|
|
2194
2194
|
scrollTop: 0
|
|
2195
2195
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2196
|
-
if ((d || !d && !a) && ((
|
|
2197
|
-
let e =
|
|
2198
|
-
l =
|
|
2196
|
+
if ((d || !d && !a) && ((ni(r) !== "body" || ai(o)) && (c = gi(r)), d)) {
|
|
2197
|
+
let e = Di(r);
|
|
2198
|
+
l = Ci(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2199
2199
|
}
|
|
2200
|
-
let f = o && !d && !a ?
|
|
2200
|
+
let f = o && !d && !a ? ki(o, c) : W(0);
|
|
2201
2201
|
return {
|
|
2202
2202
|
width: n.width * l.x,
|
|
2203
2203
|
height: n.height * l.y,
|
|
@@ -2205,11 +2205,11 @@ function Oi(e) {
|
|
|
2205
2205
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2206
2206
|
};
|
|
2207
2207
|
}
|
|
2208
|
-
function
|
|
2208
|
+
function ji(e) {
|
|
2209
2209
|
return Array.from(e.getClientRects());
|
|
2210
2210
|
}
|
|
2211
|
-
function
|
|
2212
|
-
let t = Y(e), n =
|
|
2211
|
+
function Mi(e) {
|
|
2212
|
+
let t = Y(e), n = gi(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 + Oi(e), s = -n.scrollTop;
|
|
2213
2213
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2214
2214
|
width: i,
|
|
2215
2215
|
height: a,
|
|
@@ -2217,19 +2217,19 @@ function Ai(e) {
|
|
|
2217
2217
|
y: s
|
|
2218
2218
|
};
|
|
2219
2219
|
}
|
|
2220
|
-
var
|
|
2221
|
-
function
|
|
2220
|
+
var Ni = 25;
|
|
2221
|
+
function Pi(e, t) {
|
|
2222
2222
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2223
2223
|
if (i) {
|
|
2224
2224
|
a = i.width, o = i.height;
|
|
2225
|
-
let e =
|
|
2225
|
+
let e = mi();
|
|
2226
2226
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2227
2227
|
}
|
|
2228
|
-
let l =
|
|
2228
|
+
let l = Oi(r);
|
|
2229
2229
|
if (l <= 0) {
|
|
2230
2230
|
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);
|
|
2231
|
-
o <=
|
|
2232
|
-
} else l <=
|
|
2231
|
+
o <= Ni && (a -= o);
|
|
2232
|
+
} else l <= Ni && (a += l);
|
|
2233
2233
|
return {
|
|
2234
2234
|
width: a,
|
|
2235
2235
|
height: o,
|
|
@@ -2237,8 +2237,8 @@ function Mi(e, t) {
|
|
|
2237
2237
|
y: c
|
|
2238
2238
|
};
|
|
2239
2239
|
}
|
|
2240
|
-
function
|
|
2241
|
-
let n =
|
|
2240
|
+
function Fi(e, t) {
|
|
2241
|
+
let n = Di(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? Ci(e) : W(1);
|
|
2242
2242
|
return {
|
|
2243
2243
|
width: e.clientWidth * a.x,
|
|
2244
2244
|
height: e.clientHeight * a.y,
|
|
@@ -2246,13 +2246,13 @@ function Ni(e, t) {
|
|
|
2246
2246
|
y: r * a.y
|
|
2247
2247
|
};
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2249
|
+
function Ii(e, t, n) {
|
|
2250
2250
|
let r;
|
|
2251
|
-
if (t === "viewport") r =
|
|
2252
|
-
else if (t === "document") r =
|
|
2253
|
-
else if (X(t)) r =
|
|
2251
|
+
if (t === "viewport") r = Pi(e, n);
|
|
2252
|
+
else if (t === "document") r = Mi(Y(e));
|
|
2253
|
+
else if (X(t)) r = Fi(t, n);
|
|
2254
2254
|
else {
|
|
2255
|
-
let n =
|
|
2255
|
+
let n = Ti(e);
|
|
2256
2256
|
r = {
|
|
2257
2257
|
x: t.x - n.x,
|
|
2258
2258
|
y: t.y - n.y,
|
|
@@ -2260,27 +2260,27 @@ function Pi(e, t, n) {
|
|
|
2260
2260
|
height: t.height
|
|
2261
2261
|
};
|
|
2262
2262
|
}
|
|
2263
|
-
return
|
|
2263
|
+
return zr(r);
|
|
2264
2264
|
}
|
|
2265
|
-
function
|
|
2266
|
-
let n =
|
|
2267
|
-
return n === t || !X(n) ||
|
|
2265
|
+
function Li(e, t) {
|
|
2266
|
+
let n = _i(e);
|
|
2267
|
+
return n === t || !X(n) || hi(n) ? !1 : Q(n).position === "fixed" || Li(n, t);
|
|
2268
2268
|
}
|
|
2269
|
-
function
|
|
2269
|
+
function Ri(e, t) {
|
|
2270
2270
|
let n = t.get(e);
|
|
2271
2271
|
if (n) return n;
|
|
2272
|
-
let r =
|
|
2273
|
-
for (; X(o) && !
|
|
2274
|
-
let t = Q(o), n =
|
|
2275
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2272
|
+
let r = yi(e, [], !1).filter((e) => X(e) && ni(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? _i(e) : e;
|
|
2273
|
+
for (; X(o) && !hi(o);) {
|
|
2274
|
+
let t = Q(o), n = fi(o);
|
|
2275
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || ai(o) && !n && Li(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = _i(o);
|
|
2276
2276
|
}
|
|
2277
2277
|
return t.set(e, r), r;
|
|
2278
2278
|
}
|
|
2279
|
-
function
|
|
2280
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2279
|
+
function zi(e) {
|
|
2280
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? si(t) ? [] : Ri(t, this._c) : [].concat(n), r], o = Ii(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2281
2281
|
for (let e = 1; e < a.length; e++) {
|
|
2282
|
-
let n =
|
|
2283
|
-
s = U(n.top, s), c =
|
|
2282
|
+
let n = Ii(t, a[e], i);
|
|
2283
|
+
s = U(n.top, s), c = H(n.right, c), l = H(n.bottom, l), u = U(n.left, u);
|
|
2284
2284
|
}
|
|
2285
2285
|
return {
|
|
2286
2286
|
width: c - u,
|
|
@@ -2289,27 +2289,27 @@ function Li(e) {
|
|
|
2289
2289
|
y: s
|
|
2290
2290
|
};
|
|
2291
2291
|
}
|
|
2292
|
-
function
|
|
2293
|
-
let { width: t, height: n } =
|
|
2292
|
+
function Bi(e) {
|
|
2293
|
+
let { width: t, height: n } = xi(e);
|
|
2294
2294
|
return {
|
|
2295
2295
|
width: t,
|
|
2296
2296
|
height: n
|
|
2297
2297
|
};
|
|
2298
2298
|
}
|
|
2299
|
-
function
|
|
2300
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2299
|
+
function Vi(e, t, n) {
|
|
2300
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = Di(e, !0, a, t), s = {
|
|
2301
2301
|
scrollLeft: 0,
|
|
2302
2302
|
scrollTop: 0
|
|
2303
2303
|
}, c = W(0);
|
|
2304
2304
|
function l() {
|
|
2305
|
-
c.x =
|
|
2305
|
+
c.x = Oi(i);
|
|
2306
2306
|
}
|
|
2307
|
-
if (r || !r && !a) if ((
|
|
2308
|
-
let e =
|
|
2307
|
+
if (r || !r && !a) if ((ni(t) !== "body" || ai(i)) && (s = gi(t)), r) {
|
|
2308
|
+
let e = Di(t, !0, a, t);
|
|
2309
2309
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2310
2310
|
} else i && l();
|
|
2311
2311
|
a && !r && i && l();
|
|
2312
|
-
let u = i && !r && !a ?
|
|
2312
|
+
let u = i && !r && !a ? ki(i, s) : W(0);
|
|
2313
2313
|
return {
|
|
2314
2314
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2315
2315
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2317,34 +2317,34 @@ function zi(e, t, n) {
|
|
|
2317
2317
|
height: o.height
|
|
2318
2318
|
};
|
|
2319
2319
|
}
|
|
2320
|
-
function
|
|
2320
|
+
function Hi(e) {
|
|
2321
2321
|
return Q(e).position === "static";
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function Ui(e, t) {
|
|
2324
2324
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2325
2325
|
if (t) return t(e);
|
|
2326
2326
|
let n = e.offsetParent;
|
|
2327
2327
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2328
2328
|
}
|
|
2329
|
-
function
|
|
2329
|
+
function Wi(e, t) {
|
|
2330
2330
|
let n = J(e);
|
|
2331
|
-
if (
|
|
2331
|
+
if (si(e)) return n;
|
|
2332
2332
|
if (!Z(e)) {
|
|
2333
|
-
let t =
|
|
2334
|
-
for (; t && !
|
|
2335
|
-
if (X(t) && !
|
|
2336
|
-
t =
|
|
2333
|
+
let t = _i(e);
|
|
2334
|
+
for (; t && !hi(t);) {
|
|
2335
|
+
if (X(t) && !Hi(t)) return t;
|
|
2336
|
+
t = _i(t);
|
|
2337
2337
|
}
|
|
2338
2338
|
return n;
|
|
2339
2339
|
}
|
|
2340
|
-
let r =
|
|
2341
|
-
for (; r &&
|
|
2342
|
-
return r &&
|
|
2340
|
+
let r = Ui(e, t);
|
|
2341
|
+
for (; r && oi(r) && Hi(r);) r = Ui(r, t);
|
|
2342
|
+
return r && hi(r) && Hi(r) && !fi(r) ? n : r || pi(e) || n;
|
|
2343
2343
|
}
|
|
2344
|
-
var
|
|
2345
|
-
let t = this.getOffsetParent ||
|
|
2344
|
+
var Gi = async function(e) {
|
|
2345
|
+
let t = this.getOffsetParent || Wi, n = this.getDimensions, r = await n(e.floating);
|
|
2346
2346
|
return {
|
|
2347
|
-
reference:
|
|
2347
|
+
reference: Vi(e.reference, await t(e.floating), e.strategy),
|
|
2348
2348
|
floating: {
|
|
2349
2349
|
x: 0,
|
|
2350
2350
|
y: 0,
|
|
@@ -2353,25 +2353,25 @@ var Ui = async function(e) {
|
|
|
2353
2353
|
}
|
|
2354
2354
|
};
|
|
2355
2355
|
};
|
|
2356
|
-
function
|
|
2356
|
+
function Ki(e) {
|
|
2357
2357
|
return Q(e).direction === "rtl";
|
|
2358
2358
|
}
|
|
2359
|
-
var
|
|
2360
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2359
|
+
var qi = {
|
|
2360
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Ai,
|
|
2361
2361
|
getDocumentElement: Y,
|
|
2362
|
-
getClippingRect:
|
|
2363
|
-
getOffsetParent:
|
|
2364
|
-
getElementRects:
|
|
2365
|
-
getClientRects:
|
|
2366
|
-
getDimensions:
|
|
2367
|
-
getScale:
|
|
2362
|
+
getClippingRect: zi,
|
|
2363
|
+
getOffsetParent: Wi,
|
|
2364
|
+
getElementRects: Gi,
|
|
2365
|
+
getClientRects: ji,
|
|
2366
|
+
getDimensions: Bi,
|
|
2367
|
+
getScale: Ci,
|
|
2368
2368
|
isElement: X,
|
|
2369
|
-
isRTL:
|
|
2369
|
+
isRTL: Ki
|
|
2370
2370
|
};
|
|
2371
|
-
function
|
|
2371
|
+
function Ji(e, t) {
|
|
2372
2372
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2373
2373
|
}
|
|
2374
|
-
function
|
|
2374
|
+
function Yi(e, t) {
|
|
2375
2375
|
let n = null, r, i = Y(e);
|
|
2376
2376
|
function a() {
|
|
2377
2377
|
var e;
|
|
@@ -2381,9 +2381,9 @@ function qi(e, t) {
|
|
|
2381
2381
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2382
2382
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2383
2383
|
if (s || t(), !f || !p) return;
|
|
2384
|
-
let m =
|
|
2384
|
+
let m = br(d), h = br(i.clientWidth - (u + f)), g = br(i.clientHeight - (d + p)), _ = br(u), v = {
|
|
2385
2385
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2386
|
-
threshold: U(0,
|
|
2386
|
+
threshold: U(0, H(1, c)) || 1
|
|
2387
2387
|
}, y = !0;
|
|
2388
2388
|
function b(t) {
|
|
2389
2389
|
let n = t[0].intersectionRatio;
|
|
@@ -2393,7 +2393,7 @@ function qi(e, t) {
|
|
|
2393
2393
|
o(!1, 1e-7);
|
|
2394
2394
|
}, 1e3);
|
|
2395
2395
|
}
|
|
2396
|
-
n === 1 && !
|
|
2396
|
+
n === 1 && !Ji(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2397
2397
|
}
|
|
2398
2398
|
try {
|
|
2399
2399
|
n = new IntersectionObserver(b, {
|
|
@@ -2407,13 +2407,13 @@ function qi(e, t) {
|
|
|
2407
2407
|
}
|
|
2408
2408
|
return o(!0), a;
|
|
2409
2409
|
}
|
|
2410
|
-
function
|
|
2410
|
+
function Xi(e, t, n, r) {
|
|
2411
2411
|
r === void 0 && (r = {});
|
|
2412
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2412
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Si(e), u = i || a ? [...l ? yi(l) : [], ...t ? yi(t) : []] : [];
|
|
2413
2413
|
u.forEach((e) => {
|
|
2414
2414
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2415
2415
|
});
|
|
2416
|
-
let d = l && s ?
|
|
2416
|
+
let d = l && s ? Yi(l, n) : null, f = -1, p = null;
|
|
2417
2417
|
o && (p = new ResizeObserver((e) => {
|
|
2418
2418
|
let [r] = e;
|
|
2419
2419
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2421,11 +2421,11 @@ function Ji(e, t, n, r) {
|
|
|
2421
2421
|
(e = p) == null || e.observe(t);
|
|
2422
2422
|
})), n();
|
|
2423
2423
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2424
|
-
let m, h = c ?
|
|
2424
|
+
let m, h = c ? Di(e) : null;
|
|
2425
2425
|
c && g();
|
|
2426
2426
|
function g() {
|
|
2427
|
-
let t =
|
|
2428
|
-
h && !
|
|
2427
|
+
let t = Di(e);
|
|
2428
|
+
h && !Ji(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2429
2429
|
}
|
|
2430
2430
|
return n(), () => {
|
|
2431
2431
|
var e;
|
|
@@ -2434,20 +2434,20 @@ function Ji(e, t, n, r) {
|
|
|
2434
2434
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2435
2435
|
};
|
|
2436
2436
|
}
|
|
2437
|
-
var
|
|
2437
|
+
var Zi = Zr, Qi = Qr, $i = Gr, ea = ei, ta = Jr, na = Wr, ra = $r, ia = (e, t, n) => {
|
|
2438
2438
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2439
|
-
platform:
|
|
2439
|
+
platform: qi,
|
|
2440
2440
|
...n
|
|
2441
2441
|
}, a = {
|
|
2442
2442
|
...i.platform,
|
|
2443
2443
|
_c: r
|
|
2444
2444
|
};
|
|
2445
|
-
return
|
|
2445
|
+
return Ur(e, t, {
|
|
2446
2446
|
...i,
|
|
2447
2447
|
platform: a
|
|
2448
2448
|
});
|
|
2449
|
-
},
|
|
2450
|
-
function
|
|
2449
|
+
}, aa = typeof document < "u" ? P.useLayoutEffect : function() {};
|
|
2450
|
+
function oa(e, t) {
|
|
2451
2451
|
if (e === t) return !0;
|
|
2452
2452
|
if (typeof e != typeof t) return !1;
|
|
2453
2453
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2455,60 +2455,60 @@ function ia(e, t) {
|
|
|
2455
2455
|
if (e && t && typeof e == "object") {
|
|
2456
2456
|
if (Array.isArray(e)) {
|
|
2457
2457
|
if (n = e.length, n !== t.length) return !1;
|
|
2458
|
-
for (r = n; r-- !== 0;) if (!
|
|
2458
|
+
for (r = n; r-- !== 0;) if (!oa(e[r], t[r])) return !1;
|
|
2459
2459
|
return !0;
|
|
2460
2460
|
}
|
|
2461
2461
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2462
2462
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2463
2463
|
for (r = n; r-- !== 0;) {
|
|
2464
2464
|
let n = i[r];
|
|
2465
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2465
|
+
if (!(n === "_owner" && e.$$typeof) && !oa(e[n], t[n])) return !1;
|
|
2466
2466
|
}
|
|
2467
2467
|
return !0;
|
|
2468
2468
|
}
|
|
2469
2469
|
return e !== e && t !== t;
|
|
2470
2470
|
}
|
|
2471
|
-
function
|
|
2471
|
+
function sa(e) {
|
|
2472
2472
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2473
2473
|
}
|
|
2474
|
-
function
|
|
2475
|
-
let n =
|
|
2474
|
+
function ca(e, t) {
|
|
2475
|
+
let n = sa(e);
|
|
2476
2476
|
return Math.round(t * n) / n;
|
|
2477
2477
|
}
|
|
2478
|
-
function
|
|
2479
|
-
let t =
|
|
2480
|
-
return
|
|
2478
|
+
function la(e) {
|
|
2479
|
+
let t = P.useRef(e);
|
|
2480
|
+
return aa(() => {
|
|
2481
2481
|
t.current = e;
|
|
2482
2482
|
}), t;
|
|
2483
2483
|
}
|
|
2484
|
-
function
|
|
2484
|
+
function ua(e) {
|
|
2485
2485
|
e === void 0 && (e = {});
|
|
2486
|
-
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] =
|
|
2486
|
+
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({
|
|
2487
2487
|
x: 0,
|
|
2488
2488
|
y: 0,
|
|
2489
2489
|
strategy: n,
|
|
2490
2490
|
placement: t,
|
|
2491
2491
|
middlewareData: {},
|
|
2492
2492
|
isPositioned: !1
|
|
2493
|
-
}), [f, p] =
|
|
2494
|
-
|
|
2495
|
-
let [m, h] =
|
|
2493
|
+
}), [f, p] = P.useState(r);
|
|
2494
|
+
oa(f, r) || p(r);
|
|
2495
|
+
let [m, h] = P.useState(null), [g, _] = P.useState(null), v = P.useCallback((e) => {
|
|
2496
2496
|
e !== S.current && (S.current = e, h(e));
|
|
2497
|
-
}, []), y =
|
|
2497
|
+
}, []), y = P.useCallback((e) => {
|
|
2498
2498
|
e !== C.current && (C.current = e, _(e));
|
|
2499
|
-
}, []), b = a || m, x = o || g, S =
|
|
2499
|
+
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null, ee = la(c), te = la(i), ne = la(l), E = P.useCallback(() => {
|
|
2500
2500
|
if (!S.current || !C.current) return;
|
|
2501
2501
|
let e = {
|
|
2502
2502
|
placement: t,
|
|
2503
2503
|
strategy: n,
|
|
2504
2504
|
middleware: f
|
|
2505
2505
|
};
|
|
2506
|
-
|
|
2506
|
+
te.current && (e.platform = te.current), ia(S.current, C.current, e).then((e) => {
|
|
2507
2507
|
let t = {
|
|
2508
2508
|
...e,
|
|
2509
|
-
isPositioned:
|
|
2509
|
+
isPositioned: ne.current !== !1
|
|
2510
2510
|
};
|
|
2511
|
-
|
|
2511
|
+
D.current && !oa(w.current, t) && (w.current = t, xt.flushSync(() => {
|
|
2512
2512
|
d(t);
|
|
2513
2513
|
}));
|
|
2514
2514
|
});
|
|
@@ -2516,50 +2516,50 @@ function ca(e) {
|
|
|
2516
2516
|
f,
|
|
2517
2517
|
t,
|
|
2518
2518
|
n,
|
|
2519
|
-
|
|
2520
|
-
|
|
2519
|
+
te,
|
|
2520
|
+
ne
|
|
2521
2521
|
]);
|
|
2522
|
-
|
|
2522
|
+
aa(() => {
|
|
2523
2523
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2524
2524
|
...e,
|
|
2525
2525
|
isPositioned: !1
|
|
2526
2526
|
})));
|
|
2527
2527
|
}, [l]);
|
|
2528
|
-
let
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
}), []),
|
|
2528
|
+
let D = P.useRef(!1);
|
|
2529
|
+
aa(() => (D.current = !0, () => {
|
|
2530
|
+
D.current = !1;
|
|
2531
|
+
}), []), aa(() => {
|
|
2532
2532
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2533
|
-
if (ee.current) return ee.current(b, x,
|
|
2534
|
-
|
|
2533
|
+
if (ee.current) return ee.current(b, x, E);
|
|
2534
|
+
E();
|
|
2535
2535
|
}
|
|
2536
2536
|
}, [
|
|
2537
2537
|
b,
|
|
2538
2538
|
x,
|
|
2539
|
-
|
|
2539
|
+
E,
|
|
2540
2540
|
ee,
|
|
2541
2541
|
T
|
|
2542
2542
|
]);
|
|
2543
|
-
let
|
|
2543
|
+
let O = P.useMemo(() => ({
|
|
2544
2544
|
reference: S,
|
|
2545
2545
|
floating: C,
|
|
2546
2546
|
setReference: v,
|
|
2547
2547
|
setFloating: y
|
|
2548
|
-
}), [v, y]),
|
|
2548
|
+
}), [v, y]), k = P.useMemo(() => ({
|
|
2549
2549
|
reference: b,
|
|
2550
2550
|
floating: x
|
|
2551
|
-
}), [b, x]),
|
|
2551
|
+
}), [b, x]), A = P.useMemo(() => {
|
|
2552
2552
|
let e = {
|
|
2553
2553
|
position: n,
|
|
2554
2554
|
left: 0,
|
|
2555
2555
|
top: 0
|
|
2556
2556
|
};
|
|
2557
|
-
if (!
|
|
2558
|
-
let t =
|
|
2557
|
+
if (!k.floating) return e;
|
|
2558
|
+
let t = ca(k.floating, u.x), r = ca(k.floating, u.y);
|
|
2559
2559
|
return s ? {
|
|
2560
2560
|
...e,
|
|
2561
2561
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2562
|
-
...
|
|
2562
|
+
...sa(k.floating) >= 1.5 && { willChange: "transform" }
|
|
2563
2563
|
} : {
|
|
2564
2564
|
position: n,
|
|
2565
2565
|
left: t,
|
|
@@ -2568,25 +2568,25 @@ function ca(e) {
|
|
|
2568
2568
|
}, [
|
|
2569
2569
|
n,
|
|
2570
2570
|
s,
|
|
2571
|
-
|
|
2571
|
+
k.floating,
|
|
2572
2572
|
u.x,
|
|
2573
2573
|
u.y
|
|
2574
2574
|
]);
|
|
2575
|
-
return
|
|
2575
|
+
return P.useMemo(() => ({
|
|
2576
2576
|
...u,
|
|
2577
|
-
update:
|
|
2578
|
-
refs:
|
|
2579
|
-
elements:
|
|
2580
|
-
floatingStyles:
|
|
2577
|
+
update: E,
|
|
2578
|
+
refs: O,
|
|
2579
|
+
elements: k,
|
|
2580
|
+
floatingStyles: A
|
|
2581
2581
|
}), [
|
|
2582
2582
|
u,
|
|
2583
|
+
E,
|
|
2583
2584
|
O,
|
|
2584
|
-
|
|
2585
|
-
A
|
|
2586
|
-
j
|
|
2585
|
+
k,
|
|
2586
|
+
A
|
|
2587
2587
|
]);
|
|
2588
2588
|
}
|
|
2589
|
-
var
|
|
2589
|
+
var da = (e) => {
|
|
2590
2590
|
function t(e) {
|
|
2591
2591
|
return {}.hasOwnProperty.call(e, "current");
|
|
2592
2592
|
}
|
|
@@ -2595,63 +2595,63 @@ var la = (e) => {
|
|
|
2595
2595
|
options: e,
|
|
2596
2596
|
fn(n) {
|
|
2597
2597
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2598
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2598
|
+
return r && t(r) ? r.current == null ? {} : na({
|
|
2599
2599
|
element: r.current,
|
|
2600
2600
|
padding: i
|
|
2601
|
-
}).fn(n) : r ?
|
|
2601
|
+
}).fn(n) : r ? na({
|
|
2602
2602
|
element: r,
|
|
2603
2603
|
padding: i
|
|
2604
2604
|
}).fn(n) : {};
|
|
2605
2605
|
}
|
|
2606
2606
|
};
|
|
2607
|
-
},
|
|
2608
|
-
let n =
|
|
2607
|
+
}, fa = (e, t) => {
|
|
2608
|
+
let n = Zi(e);
|
|
2609
2609
|
return {
|
|
2610
2610
|
name: n.name,
|
|
2611
2611
|
fn: n.fn,
|
|
2612
2612
|
options: [e, t]
|
|
2613
2613
|
};
|
|
2614
|
-
},
|
|
2615
|
-
let n =
|
|
2614
|
+
}, pa = (e, t) => {
|
|
2615
|
+
let n = Qi(e);
|
|
2616
2616
|
return {
|
|
2617
2617
|
name: n.name,
|
|
2618
2618
|
fn: n.fn,
|
|
2619
2619
|
options: [e, t]
|
|
2620
2620
|
};
|
|
2621
|
-
},
|
|
2622
|
-
fn:
|
|
2621
|
+
}, ma = (e, t) => ({
|
|
2622
|
+
fn: ra(e).fn,
|
|
2623
2623
|
options: [e, t]
|
|
2624
|
-
}),
|
|
2625
|
-
let n =
|
|
2624
|
+
}), ha = (e, t) => {
|
|
2625
|
+
let n = $i(e);
|
|
2626
2626
|
return {
|
|
2627
2627
|
name: n.name,
|
|
2628
2628
|
fn: n.fn,
|
|
2629
2629
|
options: [e, t]
|
|
2630
2630
|
};
|
|
2631
|
-
},
|
|
2632
|
-
let n =
|
|
2631
|
+
}, ga = (e, t) => {
|
|
2632
|
+
let n = ea(e);
|
|
2633
2633
|
return {
|
|
2634
2634
|
name: n.name,
|
|
2635
2635
|
fn: n.fn,
|
|
2636
2636
|
options: [e, t]
|
|
2637
2637
|
};
|
|
2638
|
-
},
|
|
2639
|
-
let n =
|
|
2638
|
+
}, _a = (e, t) => {
|
|
2639
|
+
let n = ta(e);
|
|
2640
2640
|
return {
|
|
2641
2641
|
name: n.name,
|
|
2642
2642
|
fn: n.fn,
|
|
2643
2643
|
options: [e, t]
|
|
2644
2644
|
};
|
|
2645
|
-
},
|
|
2646
|
-
let n =
|
|
2645
|
+
}, va = (e, t) => {
|
|
2646
|
+
let n = da(e);
|
|
2647
2647
|
return {
|
|
2648
2648
|
name: n.name,
|
|
2649
2649
|
fn: n.fn,
|
|
2650
2650
|
options: [e, t]
|
|
2651
2651
|
};
|
|
2652
|
-
},
|
|
2652
|
+
}, ya = "Arrow", ba = P.forwardRef((e, t) => {
|
|
2653
2653
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2654
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
2654
|
+
return /* @__PURE__ */ (0, I.jsx)(V.svg, {
|
|
2655
2655
|
...a,
|
|
2656
2656
|
ref: t,
|
|
2657
2657
|
width: r,
|
|
@@ -2661,13 +2661,13 @@ var la = (e) => {
|
|
|
2661
2661
|
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2662
2662
|
});
|
|
2663
2663
|
});
|
|
2664
|
-
|
|
2665
|
-
var
|
|
2664
|
+
ba.displayName = ya;
|
|
2665
|
+
var xa = ba;
|
|
2666
2666
|
//#endregion
|
|
2667
2667
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2668
|
-
function
|
|
2669
|
-
let [t, n] =
|
|
2670
|
-
return
|
|
2668
|
+
function Sa(e) {
|
|
2669
|
+
let [t, n] = P.useState(void 0);
|
|
2670
|
+
return mr(() => {
|
|
2671
2671
|
if (e) {
|
|
2672
2672
|
n({
|
|
2673
2673
|
width: e.offsetWidth,
|
|
@@ -2691,125 +2691,125 @@ function ba(e) {
|
|
|
2691
2691
|
}
|
|
2692
2692
|
//#endregion
|
|
2693
2693
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2694
|
-
var
|
|
2695
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
2696
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
2694
|
+
var Ca = "Popper", [wa, Ta] = Tn(Ca), [Ea, Da] = wa(Ca), Oa = (e) => {
|
|
2695
|
+
let { __scopePopper: t, children: n } = e, [r, i] = P.useState(null);
|
|
2696
|
+
return /* @__PURE__ */ (0, I.jsx)(Ea, {
|
|
2697
2697
|
scope: t,
|
|
2698
2698
|
anchor: r,
|
|
2699
2699
|
onAnchorChange: i,
|
|
2700
2700
|
children: n
|
|
2701
2701
|
});
|
|
2702
2702
|
};
|
|
2703
|
-
|
|
2704
|
-
var
|
|
2705
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2706
|
-
return
|
|
2703
|
+
Oa.displayName = Ca;
|
|
2704
|
+
var ka = "PopperAnchor", Aa = P.forwardRef((e, t) => {
|
|
2705
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Da(ka, n), o = P.useRef(null), s = B(t, o), c = P.useRef(null);
|
|
2706
|
+
return P.useEffect(() => {
|
|
2707
2707
|
let e = c.current;
|
|
2708
2708
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2709
|
-
}), r ? null : /* @__PURE__ */ (0, I.jsx)(
|
|
2709
|
+
}), r ? null : /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
2710
2710
|
...i,
|
|
2711
2711
|
ref: s
|
|
2712
2712
|
});
|
|
2713
2713
|
});
|
|
2714
|
-
|
|
2715
|
-
var
|
|
2716
|
-
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 =
|
|
2714
|
+
Aa.displayName = ka;
|
|
2715
|
+
var ja = "PopperContent", [Ma, Na] = wa(ja), Pa = P.forwardRef((e, t) => {
|
|
2716
|
+
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 = Da(ja, n), [_, v] = P.useState(null), y = B(t, (e) => v(e)), [b, x] = P.useState(null), S = Sa(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2717
2717
|
top: 0,
|
|
2718
2718
|
right: 0,
|
|
2719
2719
|
bottom: 0,
|
|
2720
2720
|
left: 0,
|
|
2721
2721
|
...u
|
|
2722
|
-
},
|
|
2722
|
+
}, te = Array.isArray(l) ? l : [l], ne = te.length > 0, E = {
|
|
2723
2723
|
padding: ee,
|
|
2724
|
-
boundary:
|
|
2725
|
-
altBoundary:
|
|
2726
|
-
}, { refs:
|
|
2724
|
+
boundary: te.filter(Ra),
|
|
2725
|
+
altBoundary: ne
|
|
2726
|
+
}, { refs: D, floatingStyles: O, placement: k, isPositioned: A, middlewareData: re } = ua({
|
|
2727
2727
|
strategy: "fixed",
|
|
2728
2728
|
placement: T,
|
|
2729
|
-
whileElementsMounted: (...e) =>
|
|
2729
|
+
whileElementsMounted: (...e) => Xi(...e, { animationFrame: p === "always" }),
|
|
2730
2730
|
elements: { reference: g.anchor },
|
|
2731
2731
|
middleware: [
|
|
2732
|
-
|
|
2732
|
+
fa({
|
|
2733
2733
|
mainAxis: i + w,
|
|
2734
2734
|
alignmentAxis: o
|
|
2735
2735
|
}),
|
|
2736
|
-
c &&
|
|
2736
|
+
c && pa({
|
|
2737
2737
|
mainAxis: !0,
|
|
2738
2738
|
crossAxis: !1,
|
|
2739
|
-
limiter: d === "partial" ?
|
|
2740
|
-
...
|
|
2739
|
+
limiter: d === "partial" ? ma() : void 0,
|
|
2740
|
+
...E
|
|
2741
2741
|
}),
|
|
2742
|
-
c &&
|
|
2743
|
-
|
|
2744
|
-
...
|
|
2742
|
+
c && ha({ ...E }),
|
|
2743
|
+
ga({
|
|
2744
|
+
...E,
|
|
2745
2745
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2746
2746
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2747
2747
|
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`);
|
|
2748
2748
|
}
|
|
2749
2749
|
}),
|
|
2750
|
-
b &&
|
|
2750
|
+
b && va({
|
|
2751
2751
|
element: b,
|
|
2752
2752
|
padding: s
|
|
2753
2753
|
}),
|
|
2754
|
-
|
|
2754
|
+
za({
|
|
2755
2755
|
arrowWidth: C,
|
|
2756
2756
|
arrowHeight: w
|
|
2757
2757
|
}),
|
|
2758
|
-
f &&
|
|
2758
|
+
f && _a({
|
|
2759
2759
|
strategy: "referenceHidden",
|
|
2760
|
-
...
|
|
2760
|
+
...E
|
|
2761
2761
|
})
|
|
2762
2762
|
]
|
|
2763
|
-
}), [
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
}, [
|
|
2767
|
-
let
|
|
2768
|
-
return
|
|
2769
|
-
_ &&
|
|
2763
|
+
}), [ie, ae] = Ba(k), oe = Pn(m);
|
|
2764
|
+
mr(() => {
|
|
2765
|
+
A && oe?.();
|
|
2766
|
+
}, [A, oe]);
|
|
2767
|
+
let se = re.arrow?.x, ce = re.arrow?.y, le = re.arrow?.centerOffset !== 0, [ue, de] = P.useState();
|
|
2768
|
+
return mr(() => {
|
|
2769
|
+
_ && de(window.getComputedStyle(_).zIndex);
|
|
2770
2770
|
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2771
|
-
ref:
|
|
2771
|
+
ref: D.setFloating,
|
|
2772
2772
|
"data-radix-popper-content-wrapper": "",
|
|
2773
2773
|
style: {
|
|
2774
|
-
...
|
|
2775
|
-
transform:
|
|
2774
|
+
...O,
|
|
2775
|
+
transform: A ? O.transform : "translate(0, -200%)",
|
|
2776
2776
|
minWidth: "max-content",
|
|
2777
|
-
zIndex:
|
|
2778
|
-
"--radix-popper-transform-origin": [
|
|
2779
|
-
...
|
|
2777
|
+
zIndex: ue,
|
|
2778
|
+
"--radix-popper-transform-origin": [re.transformOrigin?.x, re.transformOrigin?.y].join(" "),
|
|
2779
|
+
...re.hide?.referenceHidden && {
|
|
2780
2780
|
visibility: "hidden",
|
|
2781
2781
|
pointerEvents: "none"
|
|
2782
2782
|
}
|
|
2783
2783
|
},
|
|
2784
2784
|
dir: e.dir,
|
|
2785
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2785
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ma, {
|
|
2786
2786
|
scope: n,
|
|
2787
|
-
placedSide:
|
|
2787
|
+
placedSide: ie,
|
|
2788
2788
|
onArrowChange: x,
|
|
2789
|
-
arrowX:
|
|
2790
|
-
arrowY:
|
|
2791
|
-
shouldHideArrow:
|
|
2792
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2793
|
-
"data-side":
|
|
2794
|
-
"data-align":
|
|
2789
|
+
arrowX: se,
|
|
2790
|
+
arrowY: ce,
|
|
2791
|
+
shouldHideArrow: le,
|
|
2792
|
+
children: /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
2793
|
+
"data-side": ie,
|
|
2794
|
+
"data-align": ae,
|
|
2795
2795
|
...h,
|
|
2796
2796
|
ref: y,
|
|
2797
2797
|
style: {
|
|
2798
2798
|
...h.style,
|
|
2799
|
-
animation:
|
|
2799
|
+
animation: A ? void 0 : "none"
|
|
2800
2800
|
}
|
|
2801
2801
|
})
|
|
2802
2802
|
})
|
|
2803
2803
|
});
|
|
2804
2804
|
});
|
|
2805
|
-
|
|
2806
|
-
var
|
|
2805
|
+
Pa.displayName = ja;
|
|
2806
|
+
var Fa = "PopperArrow", Ia = {
|
|
2807
2807
|
top: "bottom",
|
|
2808
2808
|
right: "left",
|
|
2809
2809
|
bottom: "top",
|
|
2810
2810
|
left: "right"
|
|
2811
|
-
},
|
|
2812
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2811
|
+
}, La = P.forwardRef(function(e, t) {
|
|
2812
|
+
let { __scopePopper: n, ...r } = e, i = Na(Fa, n), a = Ia[i.placedSide];
|
|
2813
2813
|
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2814
2814
|
ref: i.onArrowChange,
|
|
2815
2815
|
style: {
|
|
@@ -2831,7 +2831,7 @@ var Na = "PopperArrow", Pa = {
|
|
|
2831
2831
|
}[i.placedSide],
|
|
2832
2832
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2833
2833
|
},
|
|
2834
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2834
|
+
children: /* @__PURE__ */ (0, I.jsx)(xa, {
|
|
2835
2835
|
...r,
|
|
2836
2836
|
ref: t,
|
|
2837
2837
|
style: {
|
|
@@ -2841,15 +2841,15 @@ var Na = "PopperArrow", Pa = {
|
|
|
2841
2841
|
})
|
|
2842
2842
|
});
|
|
2843
2843
|
});
|
|
2844
|
-
|
|
2845
|
-
function
|
|
2844
|
+
La.displayName = Fa;
|
|
2845
|
+
function Ra(e) {
|
|
2846
2846
|
return e !== null;
|
|
2847
2847
|
}
|
|
2848
|
-
var
|
|
2848
|
+
var za = (e) => ({
|
|
2849
2849
|
name: "transformOrigin",
|
|
2850
2850
|
options: e,
|
|
2851
2851
|
fn(t) {
|
|
2852
|
-
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] =
|
|
2852
|
+
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] = Ba(n), u = {
|
|
2853
2853
|
start: "0%",
|
|
2854
2854
|
center: "50%",
|
|
2855
2855
|
end: "100%"
|
|
@@ -2860,32 +2860,32 @@ var La = (e) => ({
|
|
|
2860
2860
|
} };
|
|
2861
2861
|
}
|
|
2862
2862
|
});
|
|
2863
|
-
function
|
|
2863
|
+
function Ba(e) {
|
|
2864
2864
|
let [t, n = "center"] = e.split("-");
|
|
2865
2865
|
return [t, n];
|
|
2866
2866
|
}
|
|
2867
|
-
var
|
|
2868
|
-
let { container: n, ...r } = e, [i, a] =
|
|
2869
|
-
|
|
2867
|
+
var Va = Oa, Ha = Aa, Ua = Pa, Wa = La, Ga = "Portal", Ka = P.forwardRef((e, t) => {
|
|
2868
|
+
let { container: n, ...r } = e, [i, a] = P.useState(!1);
|
|
2869
|
+
mr(() => a(!0), []);
|
|
2870
2870
|
let o = n || i && globalThis?.document?.body;
|
|
2871
|
-
return o ?
|
|
2871
|
+
return o ? xt.createPortal(/* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
2872
2872
|
...r,
|
|
2873
2873
|
ref: t
|
|
2874
2874
|
}), o) : null;
|
|
2875
2875
|
});
|
|
2876
|
-
|
|
2876
|
+
Ka.displayName = Ga;
|
|
2877
2877
|
//#endregion
|
|
2878
2878
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2879
|
-
function
|
|
2880
|
-
return
|
|
2879
|
+
function qa(e, t) {
|
|
2880
|
+
return P.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2881
2881
|
}
|
|
2882
|
-
var
|
|
2883
|
-
let { present: t, children: n } = e, r =
|
|
2884
|
-
return typeof n == "function" || r.isPresent ?
|
|
2882
|
+
var Ja = (e) => {
|
|
2883
|
+
let { present: t, children: n } = e, r = Ya(t), i = typeof n == "function" ? n({ present: r.isPresent }) : P.Children.only(n), a = B(r.ref, Za(i));
|
|
2884
|
+
return typeof n == "function" || r.isPresent ? P.cloneElement(i, { ref: a }) : null;
|
|
2885
2885
|
};
|
|
2886
|
-
|
|
2887
|
-
function
|
|
2888
|
-
let [t, n] =
|
|
2886
|
+
Ja.displayName = "Presence";
|
|
2887
|
+
function Ya(e) {
|
|
2888
|
+
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] = qa(e ? "mounted" : "unmounted", {
|
|
2889
2889
|
mounted: {
|
|
2890
2890
|
UNMOUNT: "unmounted",
|
|
2891
2891
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2896,19 +2896,19 @@ function qa(e) {
|
|
|
2896
2896
|
},
|
|
2897
2897
|
unmounted: { MOUNT: "mounted" }
|
|
2898
2898
|
});
|
|
2899
|
-
return
|
|
2900
|
-
let e =
|
|
2899
|
+
return P.useEffect(() => {
|
|
2900
|
+
let e = Xa(r.current);
|
|
2901
2901
|
a.current = o === "mounted" ? e : "none";
|
|
2902
|
-
}, [o]),
|
|
2902
|
+
}, [o]), mr(() => {
|
|
2903
2903
|
let t = r.current, n = i.current;
|
|
2904
2904
|
if (n !== e) {
|
|
2905
|
-
let r = a.current, o =
|
|
2905
|
+
let r = a.current, o = Xa(t);
|
|
2906
2906
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2907
2907
|
}
|
|
2908
|
-
}, [e, s]),
|
|
2908
|
+
}, [e, s]), mr(() => {
|
|
2909
2909
|
if (t) {
|
|
2910
2910
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2911
|
-
let o =
|
|
2911
|
+
let o = Xa(r.current).includes(CSS.escape(a.animationName));
|
|
2912
2912
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2913
2913
|
let r = t.style.animationFillMode;
|
|
2914
2914
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2916,7 +2916,7 @@ function qa(e) {
|
|
|
2916
2916
|
});
|
|
2917
2917
|
}
|
|
2918
2918
|
}, c = (e) => {
|
|
2919
|
-
e.target === t && (a.current =
|
|
2919
|
+
e.target === t && (a.current = Xa(r.current));
|
|
2920
2920
|
};
|
|
2921
2921
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2922
2922
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2924,36 +2924,36 @@ function qa(e) {
|
|
|
2924
2924
|
} else s("ANIMATION_END");
|
|
2925
2925
|
}, [t, s]), {
|
|
2926
2926
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
2927
|
-
ref:
|
|
2927
|
+
ref: P.useCallback((e) => {
|
|
2928
2928
|
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
2929
2929
|
}, [])
|
|
2930
2930
|
};
|
|
2931
2931
|
}
|
|
2932
|
-
function
|
|
2932
|
+
function Xa(e) {
|
|
2933
2933
|
return e?.animationName || "none";
|
|
2934
2934
|
}
|
|
2935
|
-
function
|
|
2935
|
+
function Za(e) {
|
|
2936
2936
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2937
2937
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
2938
2938
|
}
|
|
2939
2939
|
//#endregion
|
|
2940
2940
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2941
|
-
var
|
|
2942
|
-
function
|
|
2943
|
-
let [i, a, o] =
|
|
2941
|
+
var Qa = P.useInsertionEffect || mr;
|
|
2942
|
+
function $a({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2943
|
+
let [i, a, o] = eo({
|
|
2944
2944
|
defaultProp: t,
|
|
2945
2945
|
onChange: n
|
|
2946
2946
|
}), s = e !== void 0, c = s ? e : i;
|
|
2947
2947
|
{
|
|
2948
|
-
let t =
|
|
2949
|
-
|
|
2948
|
+
let t = P.useRef(e !== void 0);
|
|
2949
|
+
P.useEffect(() => {
|
|
2950
2950
|
let e = t.current;
|
|
2951
2951
|
e !== s && console.warn(`${r} is changing from ${e ? "controlled" : "uncontrolled"} to ${s ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`), t.current = s;
|
|
2952
2952
|
}, [s, r]);
|
|
2953
2953
|
}
|
|
2954
|
-
return [c,
|
|
2954
|
+
return [c, P.useCallback((t) => {
|
|
2955
2955
|
if (s) {
|
|
2956
|
-
let n =
|
|
2956
|
+
let n = to(t) ? t(e) : t;
|
|
2957
2957
|
n !== e && o.current?.(n);
|
|
2958
2958
|
} else a(t);
|
|
2959
2959
|
}, [
|
|
@@ -2963,11 +2963,11 @@ function Za({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2963
2963
|
o
|
|
2964
2964
|
])];
|
|
2965
2965
|
}
|
|
2966
|
-
function
|
|
2967
|
-
let [n, r] =
|
|
2968
|
-
return
|
|
2966
|
+
function eo({ defaultProp: e, onChange: t }) {
|
|
2967
|
+
let [n, r] = P.useState(e), i = P.useRef(n), a = P.useRef(t);
|
|
2968
|
+
return Qa(() => {
|
|
2969
2969
|
a.current = t;
|
|
2970
|
-
}, [t]),
|
|
2970
|
+
}, [t]), P.useEffect(() => {
|
|
2971
2971
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
2972
2972
|
}, [n, i]), [
|
|
2973
2973
|
n,
|
|
@@ -2975,27 +2975,27 @@ function Qa({ defaultProp: e, onChange: t }) {
|
|
|
2975
2975
|
a
|
|
2976
2976
|
];
|
|
2977
2977
|
}
|
|
2978
|
-
function
|
|
2978
|
+
function to(e) {
|
|
2979
2979
|
return typeof e == "function";
|
|
2980
2980
|
}
|
|
2981
2981
|
//#endregion
|
|
2982
2982
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2983
|
-
var
|
|
2983
|
+
var no = function(e) {
|
|
2984
2984
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2985
|
-
},
|
|
2986
|
-
return e && (e.host ||
|
|
2987
|
-
},
|
|
2985
|
+
}, ro = /* @__PURE__ */ new WeakMap(), io = /* @__PURE__ */ new WeakMap(), ao = {}, oo = 0, so = function(e) {
|
|
2986
|
+
return e && (e.host || so(e.parentNode));
|
|
2987
|
+
}, co = function(e, t) {
|
|
2988
2988
|
return t.map(function(t) {
|
|
2989
2989
|
if (e.contains(t)) return t;
|
|
2990
|
-
var n =
|
|
2990
|
+
var n = so(t);
|
|
2991
2991
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
2992
2992
|
}).filter(function(e) {
|
|
2993
2993
|
return !!e;
|
|
2994
2994
|
});
|
|
2995
|
-
},
|
|
2996
|
-
var i =
|
|
2997
|
-
|
|
2998
|
-
var a =
|
|
2995
|
+
}, lo = function(e, t, n, r) {
|
|
2996
|
+
var i = co(t, Array.isArray(e) ? e : [e]);
|
|
2997
|
+
ao[n] || (ao[n] = /* @__PURE__ */ new WeakMap());
|
|
2998
|
+
var a = ao[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
2999
2999
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
3000
3000
|
};
|
|
3001
3001
|
i.forEach(l);
|
|
@@ -3003,23 +3003,23 @@ var eo = function(e) {
|
|
|
3003
3003
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
3004
3004
|
if (s.has(e)) u(e);
|
|
3005
3005
|
else try {
|
|
3006
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3007
|
-
|
|
3006
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (ro.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3007
|
+
ro.set(e, c), a.set(e, l), o.push(e), c === 1 && i && io.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3008
3008
|
} catch (t) {
|
|
3009
3009
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3010
3010
|
}
|
|
3011
3011
|
});
|
|
3012
3012
|
};
|
|
3013
|
-
return u(t), s.clear(),
|
|
3013
|
+
return u(t), s.clear(), oo++, function() {
|
|
3014
3014
|
o.forEach(function(e) {
|
|
3015
|
-
var t =
|
|
3016
|
-
|
|
3017
|
-
}),
|
|
3015
|
+
var t = ro.get(e) - 1, i = a.get(e) - 1;
|
|
3016
|
+
ro.set(e, t), a.set(e, i), t || (io.has(e) || e.removeAttribute(r), io.delete(e)), i || e.removeAttribute(n);
|
|
3017
|
+
}), oo--, oo || (ro = /* @__PURE__ */ new WeakMap(), ro = /* @__PURE__ */ new WeakMap(), io = /* @__PURE__ */ new WeakMap(), ao = {});
|
|
3018
3018
|
};
|
|
3019
|
-
},
|
|
3019
|
+
}, uo = function(e, t, n) {
|
|
3020
3020
|
n === void 0 && (n = "data-aria-hidden");
|
|
3021
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3022
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3021
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || no(e);
|
|
3022
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), lo(r, i, n, "aria-hidden")) : function() {
|
|
3023
3023
|
return null;
|
|
3024
3024
|
};
|
|
3025
3025
|
}, $ = function() {
|
|
@@ -3028,13 +3028,13 @@ var eo = function(e) {
|
|
|
3028
3028
|
return e;
|
|
3029
3029
|
}, $.apply(this, arguments);
|
|
3030
3030
|
};
|
|
3031
|
-
function
|
|
3031
|
+
function fo(e, t) {
|
|
3032
3032
|
var n = {};
|
|
3033
3033
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3034
3034
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
3035
3035
|
return n;
|
|
3036
3036
|
}
|
|
3037
|
-
function
|
|
3037
|
+
function po(e, t, n, r) {
|
|
3038
3038
|
function i(e) {
|
|
3039
3039
|
return e instanceof n ? e : new n(function(t) {
|
|
3040
3040
|
t(e);
|
|
@@ -3061,7 +3061,7 @@ function uo(e, t, n, r) {
|
|
|
3061
3061
|
c((r = r.apply(e, t || [])).next());
|
|
3062
3062
|
});
|
|
3063
3063
|
}
|
|
3064
|
-
function
|
|
3064
|
+
function mo(e, t) {
|
|
3065
3065
|
var n = {
|
|
3066
3066
|
label: 0,
|
|
3067
3067
|
sent: function() {
|
|
@@ -3131,7 +3131,7 @@ function fo(e, t) {
|
|
|
3131
3131
|
};
|
|
3132
3132
|
}
|
|
3133
3133
|
}
|
|
3134
|
-
function
|
|
3134
|
+
function ho(e, t) {
|
|
3135
3135
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3136
3136
|
if (!n) return e;
|
|
3137
3137
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3148,26 +3148,26 @@ function po(e, t) {
|
|
|
3148
3148
|
}
|
|
3149
3149
|
return a;
|
|
3150
3150
|
}
|
|
3151
|
-
function
|
|
3152
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3151
|
+
function go() {
|
|
3152
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(ho(arguments[t]));
|
|
3153
3153
|
return e;
|
|
3154
3154
|
}
|
|
3155
|
-
function
|
|
3155
|
+
function _o(e, t, n) {
|
|
3156
3156
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
3157
3157
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3158
3158
|
}
|
|
3159
3159
|
//#endregion
|
|
3160
3160
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3161
|
-
var
|
|
3161
|
+
var vo = "right-scroll-bar-position", yo = "width-before-scroll-bar", bo = "with-scroll-bars-hidden", xo = "--removed-body-scroll-bar-size";
|
|
3162
3162
|
//#endregion
|
|
3163
3163
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3164
|
-
function
|
|
3164
|
+
function So(e, t) {
|
|
3165
3165
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3166
3166
|
}
|
|
3167
3167
|
//#endregion
|
|
3168
3168
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3169
|
-
function
|
|
3170
|
-
var n = (0,
|
|
3169
|
+
function Co(e, t) {
|
|
3170
|
+
var n = (0, P.useState)(function() {
|
|
3171
3171
|
return {
|
|
3172
3172
|
value: e,
|
|
3173
3173
|
callback: t,
|
|
@@ -3186,33 +3186,33 @@ function xo(e, t) {
|
|
|
3186
3186
|
}
|
|
3187
3187
|
//#endregion
|
|
3188
3188
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3189
|
-
var
|
|
3190
|
-
function
|
|
3191
|
-
var n =
|
|
3189
|
+
var wo = typeof window < "u" ? P.useLayoutEffect : P.useEffect, To = /* @__PURE__ */ new WeakMap();
|
|
3190
|
+
function Eo(e, t) {
|
|
3191
|
+
var n = Co(t || null, function(t) {
|
|
3192
3192
|
return e.forEach(function(e) {
|
|
3193
|
-
return
|
|
3193
|
+
return So(e, t);
|
|
3194
3194
|
});
|
|
3195
3195
|
});
|
|
3196
|
-
return
|
|
3197
|
-
var t =
|
|
3196
|
+
return wo(function() {
|
|
3197
|
+
var t = To.get(n);
|
|
3198
3198
|
if (t) {
|
|
3199
3199
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3200
3200
|
r.forEach(function(e) {
|
|
3201
|
-
i.has(e) ||
|
|
3201
|
+
i.has(e) || So(e, null);
|
|
3202
3202
|
}), i.forEach(function(e) {
|
|
3203
|
-
r.has(e) ||
|
|
3203
|
+
r.has(e) || So(e, a);
|
|
3204
3204
|
});
|
|
3205
3205
|
}
|
|
3206
|
-
|
|
3206
|
+
To.set(n, e);
|
|
3207
3207
|
}, [e]), n;
|
|
3208
3208
|
}
|
|
3209
3209
|
//#endregion
|
|
3210
3210
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3211
|
-
function
|
|
3211
|
+
function Do(e) {
|
|
3212
3212
|
return e;
|
|
3213
3213
|
}
|
|
3214
|
-
function
|
|
3215
|
-
t === void 0 && (t =
|
|
3214
|
+
function Oo(e, t) {
|
|
3215
|
+
t === void 0 && (t = Do);
|
|
3216
3216
|
var n = [], r = !1;
|
|
3217
3217
|
return {
|
|
3218
3218
|
read: function() {
|
|
@@ -3265,9 +3265,9 @@ function Eo(e, t) {
|
|
|
3265
3265
|
}
|
|
3266
3266
|
};
|
|
3267
3267
|
}
|
|
3268
|
-
function
|
|
3268
|
+
function ko(e) {
|
|
3269
3269
|
e === void 0 && (e = {});
|
|
3270
|
-
var t =
|
|
3270
|
+
var t = Oo(null);
|
|
3271
3271
|
return t.options = $({
|
|
3272
3272
|
async: !0,
|
|
3273
3273
|
ssr: !1
|
|
@@ -3275,25 +3275,25 @@ function Do(e) {
|
|
|
3275
3275
|
}
|
|
3276
3276
|
//#endregion
|
|
3277
3277
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3278
|
-
var
|
|
3279
|
-
var t = e.sideCar, n =
|
|
3278
|
+
var Ao = function(e) {
|
|
3279
|
+
var t = e.sideCar, n = fo(e, ["sideCar"]);
|
|
3280
3280
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3281
3281
|
var r = t.read();
|
|
3282
3282
|
if (!r) throw Error("Sidecar medium not found");
|
|
3283
|
-
return
|
|
3283
|
+
return P.createElement(r, $({}, n));
|
|
3284
3284
|
};
|
|
3285
|
-
|
|
3286
|
-
function
|
|
3287
|
-
return e.useMedium(t),
|
|
3285
|
+
Ao.isSideCarExport = !0;
|
|
3286
|
+
function jo(e, t) {
|
|
3287
|
+
return e.useMedium(t), Ao;
|
|
3288
3288
|
}
|
|
3289
3289
|
//#endregion
|
|
3290
3290
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3291
|
-
var
|
|
3292
|
-
var n =
|
|
3293
|
-
onScrollCapture:
|
|
3294
|
-
onWheelCapture:
|
|
3295
|
-
onTouchMoveCapture:
|
|
3296
|
-
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b =
|
|
3291
|
+
var Mo = ko(), No = function() {}, Po = P.forwardRef(function(e, t) {
|
|
3292
|
+
var n = P.useRef(null), r = P.useState({
|
|
3293
|
+
onScrollCapture: No,
|
|
3294
|
+
onWheelCapture: No,
|
|
3295
|
+
onTouchMoveCapture: No
|
|
3296
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = fo(e, [
|
|
3297
3297
|
"forwardProps",
|
|
3298
3298
|
"children",
|
|
3299
3299
|
"className",
|
|
@@ -3307,9 +3307,9 @@ var Ao = Do(), jo = function() {}, Mo = F.forwardRef(function(e, t) {
|
|
|
3307
3307
|
"allowPinchZoom",
|
|
3308
3308
|
"as",
|
|
3309
3309
|
"gapMode"
|
|
3310
|
-
]), x = f, S =
|
|
3311
|
-
return
|
|
3312
|
-
sideCar:
|
|
3310
|
+
]), x = f, S = Eo([n, t]), C = $($({}, b), i);
|
|
3311
|
+
return P.createElement(P.Fragment, null, u && P.createElement(x, {
|
|
3312
|
+
sideCar: Mo,
|
|
3313
3313
|
removeScrollBar: l,
|
|
3314
3314
|
shards: d,
|
|
3315
3315
|
noRelative: p,
|
|
@@ -3319,96 +3319,96 @@ var Ao = Do(), jo = function() {}, Mo = F.forwardRef(function(e, t) {
|
|
|
3319
3319
|
allowPinchZoom: !!g,
|
|
3320
3320
|
lockRef: n,
|
|
3321
3321
|
gapMode: y
|
|
3322
|
-
}), o ?
|
|
3322
|
+
}), o ? P.cloneElement(P.Children.only(s), $($({}, C), { ref: S })) : P.createElement(v, $({}, C, {
|
|
3323
3323
|
className: c,
|
|
3324
3324
|
ref: S
|
|
3325
3325
|
}), s));
|
|
3326
3326
|
});
|
|
3327
|
-
|
|
3327
|
+
Po.defaultProps = {
|
|
3328
3328
|
enabled: !0,
|
|
3329
3329
|
removeScrollBar: !0,
|
|
3330
3330
|
inert: !1
|
|
3331
|
-
},
|
|
3332
|
-
fullWidth:
|
|
3333
|
-
zeroRight:
|
|
3331
|
+
}, Po.classNames = {
|
|
3332
|
+
fullWidth: yo,
|
|
3333
|
+
zeroRight: vo
|
|
3334
3334
|
};
|
|
3335
3335
|
//#endregion
|
|
3336
3336
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3337
|
-
var
|
|
3338
|
-
if (
|
|
3337
|
+
var Fo, Io = function() {
|
|
3338
|
+
if (Fo) return Fo;
|
|
3339
3339
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3340
3340
|
};
|
|
3341
3341
|
//#endregion
|
|
3342
3342
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3343
|
-
function
|
|
3343
|
+
function Lo() {
|
|
3344
3344
|
if (!document) return null;
|
|
3345
3345
|
var e = document.createElement("style");
|
|
3346
3346
|
e.type = "text/css";
|
|
3347
|
-
var t =
|
|
3347
|
+
var t = Io();
|
|
3348
3348
|
return t && e.setAttribute("nonce", t), e;
|
|
3349
3349
|
}
|
|
3350
|
-
function
|
|
3350
|
+
function Ro(e, t) {
|
|
3351
3351
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3352
3352
|
}
|
|
3353
|
-
function
|
|
3353
|
+
function zo(e) {
|
|
3354
3354
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3355
3355
|
}
|
|
3356
|
-
var
|
|
3356
|
+
var Bo = function() {
|
|
3357
3357
|
var e = 0, t = null;
|
|
3358
3358
|
return {
|
|
3359
3359
|
add: function(n) {
|
|
3360
|
-
e == 0 && (t =
|
|
3360
|
+
e == 0 && (t = Lo()) && (Ro(t, n), zo(t)), e++;
|
|
3361
3361
|
},
|
|
3362
3362
|
remove: function() {
|
|
3363
3363
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3364
3364
|
}
|
|
3365
3365
|
};
|
|
3366
|
-
},
|
|
3367
|
-
var e =
|
|
3366
|
+
}, Vo = function() {
|
|
3367
|
+
var e = Bo();
|
|
3368
3368
|
return function(t, n) {
|
|
3369
|
-
|
|
3369
|
+
P.useEffect(function() {
|
|
3370
3370
|
return e.add(t), function() {
|
|
3371
3371
|
e.remove();
|
|
3372
3372
|
};
|
|
3373
3373
|
}, [t && n]);
|
|
3374
3374
|
};
|
|
3375
|
-
},
|
|
3376
|
-
var e =
|
|
3375
|
+
}, Ho = function() {
|
|
3376
|
+
var e = Vo();
|
|
3377
3377
|
return function(t) {
|
|
3378
3378
|
var n = t.styles, r = t.dynamic;
|
|
3379
3379
|
return e(n, r), null;
|
|
3380
3380
|
};
|
|
3381
|
-
},
|
|
3381
|
+
}, Uo = {
|
|
3382
3382
|
left: 0,
|
|
3383
3383
|
top: 0,
|
|
3384
3384
|
right: 0,
|
|
3385
3385
|
gap: 0
|
|
3386
|
-
},
|
|
3386
|
+
}, Wo = function(e) {
|
|
3387
3387
|
return parseInt(e || "", 10) || 0;
|
|
3388
|
-
},
|
|
3388
|
+
}, Go = function(e) {
|
|
3389
3389
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3390
3390
|
return [
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3391
|
+
Wo(n),
|
|
3392
|
+
Wo(r),
|
|
3393
|
+
Wo(i)
|
|
3394
3394
|
];
|
|
3395
|
-
},
|
|
3396
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3397
|
-
var t =
|
|
3395
|
+
}, Ko = function(e) {
|
|
3396
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return Uo;
|
|
3397
|
+
var t = Go(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3398
3398
|
return {
|
|
3399
3399
|
left: t[0],
|
|
3400
3400
|
top: t[1],
|
|
3401
3401
|
right: t[2],
|
|
3402
3402
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3403
3403
|
};
|
|
3404
|
-
},
|
|
3404
|
+
}, qo = Ho(), Jo = "data-scroll-locked", Yo = function(e, t, n, r) {
|
|
3405
3405
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3406
3406
|
return n === void 0 && (n = "margin"), `
|
|
3407
|
-
.${
|
|
3407
|
+
.${bo} {
|
|
3408
3408
|
overflow: hidden ${r};
|
|
3409
3409
|
padding-right: ${s}px ${r};
|
|
3410
3410
|
}
|
|
3411
|
-
body[${
|
|
3411
|
+
body[${Jo}] {
|
|
3412
3412
|
overflow: hidden ${r};
|
|
3413
3413
|
overscroll-behavior: contain;
|
|
3414
3414
|
${[
|
|
@@ -3425,122 +3425,122 @@ var Ro = function() {
|
|
|
3425
3425
|
].filter(Boolean).join("")}
|
|
3426
3426
|
}
|
|
3427
3427
|
|
|
3428
|
-
.${
|
|
3428
|
+
.${vo} {
|
|
3429
3429
|
right: ${s}px ${r};
|
|
3430
3430
|
}
|
|
3431
3431
|
|
|
3432
|
-
.${
|
|
3432
|
+
.${yo} {
|
|
3433
3433
|
margin-right: ${s}px ${r};
|
|
3434
3434
|
}
|
|
3435
3435
|
|
|
3436
|
-
.${
|
|
3436
|
+
.${vo} .${vo} {
|
|
3437
3437
|
right: 0 ${r};
|
|
3438
3438
|
}
|
|
3439
3439
|
|
|
3440
|
-
.${
|
|
3440
|
+
.${yo} .${yo} {
|
|
3441
3441
|
margin-right: 0 ${r};
|
|
3442
3442
|
}
|
|
3443
3443
|
|
|
3444
|
-
body[${
|
|
3445
|
-
${
|
|
3444
|
+
body[${Jo}] {
|
|
3445
|
+
${xo}: ${s}px;
|
|
3446
3446
|
}
|
|
3447
3447
|
`;
|
|
3448
|
-
},
|
|
3448
|
+
}, Xo = function() {
|
|
3449
3449
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3450
3450
|
return isFinite(e) ? e : 0;
|
|
3451
|
-
},
|
|
3452
|
-
|
|
3453
|
-
return document.body.setAttribute(
|
|
3454
|
-
var e =
|
|
3455
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3451
|
+
}, Zo = function() {
|
|
3452
|
+
P.useEffect(function() {
|
|
3453
|
+
return document.body.setAttribute(Jo, (Xo() + 1).toString()), function() {
|
|
3454
|
+
var e = Xo() - 1;
|
|
3455
|
+
e <= 0 ? document.body.removeAttribute(Jo) : document.body.setAttribute(Jo, e.toString());
|
|
3456
3456
|
};
|
|
3457
3457
|
}, []);
|
|
3458
|
-
},
|
|
3458
|
+
}, Qo = function(e) {
|
|
3459
3459
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3460
|
-
|
|
3461
|
-
var a =
|
|
3462
|
-
return
|
|
3460
|
+
Zo();
|
|
3461
|
+
var a = P.useMemo(function() {
|
|
3462
|
+
return Ko(i);
|
|
3463
3463
|
}, [i]);
|
|
3464
|
-
return
|
|
3465
|
-
},
|
|
3464
|
+
return P.createElement(qo, { styles: Yo(a, !t, i, n ? "" : "!important") });
|
|
3465
|
+
}, $o = !1;
|
|
3466
3466
|
if (typeof window < "u") try {
|
|
3467
|
-
var
|
|
3468
|
-
return
|
|
3467
|
+
var es = Object.defineProperty({}, "passive", { get: function() {
|
|
3468
|
+
return $o = !0, !0;
|
|
3469
3469
|
} });
|
|
3470
|
-
window.addEventListener("test",
|
|
3470
|
+
window.addEventListener("test", es, es), window.removeEventListener("test", es, es);
|
|
3471
3471
|
} catch {
|
|
3472
|
-
|
|
3472
|
+
$o = !1;
|
|
3473
3473
|
}
|
|
3474
|
-
var
|
|
3474
|
+
var ts = $o ? { passive: !1 } : !1, ns = function(e) {
|
|
3475
3475
|
return e.tagName === "TEXTAREA";
|
|
3476
|
-
},
|
|
3476
|
+
}, rs = function(e, t) {
|
|
3477
3477
|
if (!(e instanceof Element)) return !1;
|
|
3478
3478
|
var n = window.getComputedStyle(e);
|
|
3479
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3480
|
-
},
|
|
3481
|
-
return
|
|
3482
|
-
},
|
|
3483
|
-
return
|
|
3484
|
-
},
|
|
3479
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !ns(e) && n[t] === "visible");
|
|
3480
|
+
}, is = function(e) {
|
|
3481
|
+
return rs(e, "overflowY");
|
|
3482
|
+
}, as = function(e) {
|
|
3483
|
+
return rs(e, "overflowX");
|
|
3484
|
+
}, os = function(e, t) {
|
|
3485
3485
|
var n = t.ownerDocument, r = t;
|
|
3486
3486
|
do {
|
|
3487
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3488
|
-
var i =
|
|
3487
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), ls(e, r)) {
|
|
3488
|
+
var i = us(e, r);
|
|
3489
3489
|
if (i[1] > i[2]) return !0;
|
|
3490
3490
|
}
|
|
3491
3491
|
r = r.parentNode;
|
|
3492
3492
|
} while (r && r !== n.body);
|
|
3493
3493
|
return !1;
|
|
3494
|
-
},
|
|
3494
|
+
}, ss = function(e) {
|
|
3495
3495
|
return [
|
|
3496
3496
|
e.scrollTop,
|
|
3497
3497
|
e.scrollHeight,
|
|
3498
3498
|
e.clientHeight
|
|
3499
3499
|
];
|
|
3500
|
-
},
|
|
3500
|
+
}, cs = function(e) {
|
|
3501
3501
|
return [
|
|
3502
3502
|
e.scrollLeft,
|
|
3503
3503
|
e.scrollWidth,
|
|
3504
3504
|
e.clientWidth
|
|
3505
3505
|
];
|
|
3506
|
-
}, ss = function(e, t) {
|
|
3507
|
-
return e === "v" ? ns(t) : rs(t);
|
|
3508
|
-
}, cs = function(e, t) {
|
|
3509
|
-
return e === "v" ? as(t) : os(t);
|
|
3510
3506
|
}, ls = function(e, t) {
|
|
3507
|
+
return e === "v" ? is(t) : as(t);
|
|
3508
|
+
}, us = function(e, t) {
|
|
3509
|
+
return e === "v" ? ss(t) : cs(t);
|
|
3510
|
+
}, ds = function(e, t) {
|
|
3511
3511
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3512
|
-
},
|
|
3513
|
-
var a =
|
|
3512
|
+
}, fs = function(e, t, n, r, i) {
|
|
3513
|
+
var a = ds(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3514
3514
|
do {
|
|
3515
3515
|
if (!s) break;
|
|
3516
|
-
var p =
|
|
3517
|
-
(m || h) &&
|
|
3516
|
+
var p = us(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3517
|
+
(m || h) && ls(e, s) && (d += h, f += m);
|
|
3518
3518
|
var g = s.parentNode;
|
|
3519
3519
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3520
3520
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3521
3521
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3522
|
-
},
|
|
3522
|
+
}, ps = function(e) {
|
|
3523
3523
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3524
|
-
},
|
|
3524
|
+
}, ms = function(e) {
|
|
3525
3525
|
return [e.deltaX, e.deltaY];
|
|
3526
|
-
},
|
|
3526
|
+
}, hs = function(e) {
|
|
3527
3527
|
return e && "current" in e ? e.current : e;
|
|
3528
|
-
},
|
|
3528
|
+
}, gs = function(e, t) {
|
|
3529
3529
|
return e[0] === t[0] && e[1] === t[1];
|
|
3530
|
-
},
|
|
3530
|
+
}, _s = function(e) {
|
|
3531
3531
|
return `
|
|
3532
3532
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3533
3533
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3534
3534
|
`;
|
|
3535
|
-
},
|
|
3536
|
-
function
|
|
3537
|
-
var t =
|
|
3538
|
-
|
|
3535
|
+
}, vs = 0, ys = [];
|
|
3536
|
+
function bs(e) {
|
|
3537
|
+
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(vs++)[0], a = P.useState(Ho)[0], o = P.useRef(e);
|
|
3538
|
+
P.useEffect(function() {
|
|
3539
3539
|
o.current = e;
|
|
3540
|
-
}, [e]),
|
|
3540
|
+
}, [e]), P.useEffect(function() {
|
|
3541
3541
|
if (e.inert) {
|
|
3542
3542
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3543
|
-
var t =
|
|
3543
|
+
var t = _o([e.lockRef.current], (e.shards || []).map(hs), !0).filter(Boolean);
|
|
3544
3544
|
return t.forEach(function(e) {
|
|
3545
3545
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3546
3546
|
}), function() {
|
|
@@ -3554,147 +3554,147 @@ function vs(e) {
|
|
|
3554
3554
|
e.lockRef.current,
|
|
3555
3555
|
e.shards
|
|
3556
3556
|
]);
|
|
3557
|
-
var s =
|
|
3557
|
+
var s = P.useCallback(function(e, t) {
|
|
3558
3558
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3559
|
-
var i =
|
|
3559
|
+
var i = ps(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";
|
|
3560
3560
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3561
3561
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3562
3562
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3563
|
-
var m =
|
|
3563
|
+
var m = os(d, u);
|
|
3564
3564
|
if (!m) return !0;
|
|
3565
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3565
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = os(d, u)), !m) return !1;
|
|
3566
3566
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3567
3567
|
var h = r.current || l;
|
|
3568
|
-
return
|
|
3569
|
-
}, []), c =
|
|
3568
|
+
return fs(h, t, e, h === "h" ? s : c, !0);
|
|
3569
|
+
}, []), c = P.useCallback(function(e) {
|
|
3570
3570
|
var n = e;
|
|
3571
|
-
if (!(!
|
|
3572
|
-
var r = "deltaY" in n ?
|
|
3573
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3571
|
+
if (!(!ys.length || ys[ys.length - 1] !== a)) {
|
|
3572
|
+
var r = "deltaY" in n ? ms(n) : ps(n), i = t.current.filter(function(e) {
|
|
3573
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && gs(e.delta, r);
|
|
3574
3574
|
})[0];
|
|
3575
3575
|
if (i && i.should) {
|
|
3576
3576
|
n.cancelable && n.preventDefault();
|
|
3577
3577
|
return;
|
|
3578
3578
|
}
|
|
3579
3579
|
if (!i) {
|
|
3580
|
-
var c = (o.current.shards || []).map(
|
|
3580
|
+
var c = (o.current.shards || []).map(hs).filter(Boolean).filter(function(e) {
|
|
3581
3581
|
return e.contains(n.target);
|
|
3582
3582
|
});
|
|
3583
3583
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
3584
3584
|
}
|
|
3585
3585
|
}
|
|
3586
|
-
}, []), l =
|
|
3586
|
+
}, []), l = P.useCallback(function(e, n, r, i) {
|
|
3587
3587
|
var a = {
|
|
3588
3588
|
name: e,
|
|
3589
3589
|
delta: n,
|
|
3590
3590
|
target: r,
|
|
3591
3591
|
should: i,
|
|
3592
|
-
shadowParent:
|
|
3592
|
+
shadowParent: xs(r)
|
|
3593
3593
|
};
|
|
3594
3594
|
t.current.push(a), setTimeout(function() {
|
|
3595
3595
|
t.current = t.current.filter(function(e) {
|
|
3596
3596
|
return e !== a;
|
|
3597
3597
|
});
|
|
3598
3598
|
}, 1);
|
|
3599
|
-
}, []), u =
|
|
3600
|
-
n.current =
|
|
3601
|
-
}, []), d =
|
|
3602
|
-
l(t.type,
|
|
3603
|
-
}, []), f =
|
|
3604
|
-
l(t.type,
|
|
3599
|
+
}, []), u = P.useCallback(function(e) {
|
|
3600
|
+
n.current = ps(e), r.current = void 0;
|
|
3601
|
+
}, []), d = P.useCallback(function(t) {
|
|
3602
|
+
l(t.type, ms(t), t.target, s(t, e.lockRef.current));
|
|
3603
|
+
}, []), f = P.useCallback(function(t) {
|
|
3604
|
+
l(t.type, ps(t), t.target, s(t, e.lockRef.current));
|
|
3605
3605
|
}, []);
|
|
3606
|
-
|
|
3607
|
-
return
|
|
3606
|
+
P.useEffect(function() {
|
|
3607
|
+
return ys.push(a), e.setCallbacks({
|
|
3608
3608
|
onScrollCapture: d,
|
|
3609
3609
|
onWheelCapture: d,
|
|
3610
3610
|
onTouchMoveCapture: f
|
|
3611
|
-
}), document.addEventListener("wheel", c,
|
|
3612
|
-
|
|
3611
|
+
}), document.addEventListener("wheel", c, ts), document.addEventListener("touchmove", c, ts), document.addEventListener("touchstart", u, ts), function() {
|
|
3612
|
+
ys = ys.filter(function(e) {
|
|
3613
3613
|
return e !== a;
|
|
3614
|
-
}), document.removeEventListener("wheel", c,
|
|
3614
|
+
}), document.removeEventListener("wheel", c, ts), document.removeEventListener("touchmove", c, ts), document.removeEventListener("touchstart", u, ts);
|
|
3615
3615
|
};
|
|
3616
3616
|
}, []);
|
|
3617
3617
|
var p = e.removeScrollBar, m = e.inert;
|
|
3618
|
-
return
|
|
3618
|
+
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles: _s(i) }) : null, p ? P.createElement(Qo, {
|
|
3619
3619
|
noRelative: e.noRelative,
|
|
3620
3620
|
gapMode: e.gapMode
|
|
3621
3621
|
}) : null);
|
|
3622
3622
|
}
|
|
3623
|
-
function
|
|
3623
|
+
function xs(e) {
|
|
3624
3624
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3625
3625
|
return t;
|
|
3626
3626
|
}
|
|
3627
3627
|
//#endregion
|
|
3628
3628
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3629
|
-
var
|
|
3630
|
-
return
|
|
3629
|
+
var Ss = jo(Mo, bs), Cs = P.forwardRef(function(e, t) {
|
|
3630
|
+
return P.createElement(Po, $({}, e, {
|
|
3631
3631
|
ref: t,
|
|
3632
|
-
sideCar:
|
|
3632
|
+
sideCar: Ss
|
|
3633
3633
|
}));
|
|
3634
3634
|
});
|
|
3635
|
-
|
|
3635
|
+
Cs.classNames = Po.classNames;
|
|
3636
3636
|
//#endregion
|
|
3637
3637
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3638
|
-
var
|
|
3639
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3638
|
+
var ws = "Popover", [Ts, Es] = Tn(ws, [Ta]), Ds = Ta(), [Os, ks] = Ts(ws), As = (e) => {
|
|
3639
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Ds(t), c = P.useRef(null), [l, u] = P.useState(!1), [d, f] = $a({
|
|
3640
3640
|
prop: r,
|
|
3641
3641
|
defaultProp: i ?? !1,
|
|
3642
3642
|
onChange: a,
|
|
3643
|
-
caller:
|
|
3643
|
+
caller: ws
|
|
3644
3644
|
});
|
|
3645
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3645
|
+
return /* @__PURE__ */ (0, I.jsx)(Va, {
|
|
3646
3646
|
...s,
|
|
3647
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3647
|
+
children: /* @__PURE__ */ (0, I.jsx)(Os, {
|
|
3648
3648
|
scope: t,
|
|
3649
|
-
contentId:
|
|
3649
|
+
contentId: _r(),
|
|
3650
3650
|
triggerRef: c,
|
|
3651
3651
|
open: d,
|
|
3652
3652
|
onOpenChange: f,
|
|
3653
|
-
onOpenToggle:
|
|
3653
|
+
onOpenToggle: P.useCallback(() => f((e) => !e), [f]),
|
|
3654
3654
|
hasCustomAnchor: l,
|
|
3655
|
-
onCustomAnchorAdd:
|
|
3656
|
-
onCustomAnchorRemove:
|
|
3655
|
+
onCustomAnchorAdd: P.useCallback(() => u(!0), []),
|
|
3656
|
+
onCustomAnchorRemove: P.useCallback(() => u(!1), []),
|
|
3657
3657
|
modal: o,
|
|
3658
3658
|
children: n
|
|
3659
3659
|
})
|
|
3660
3660
|
});
|
|
3661
3661
|
};
|
|
3662
|
-
|
|
3663
|
-
var
|
|
3664
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3665
|
-
return
|
|
3662
|
+
As.displayName = ws;
|
|
3663
|
+
var js = "PopoverAnchor", Ms = P.forwardRef((e, t) => {
|
|
3664
|
+
let { __scopePopover: n, ...r } = e, i = ks(js, n), a = Ds(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3665
|
+
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(Ha, {
|
|
3666
3666
|
...a,
|
|
3667
3667
|
...r,
|
|
3668
3668
|
ref: t
|
|
3669
3669
|
});
|
|
3670
3670
|
});
|
|
3671
|
-
|
|
3672
|
-
var
|
|
3673
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3671
|
+
Ms.displayName = js;
|
|
3672
|
+
var Ns = "PopoverTrigger", Ps = P.forwardRef((e, t) => {
|
|
3673
|
+
let { __scopePopover: n, ...r } = e, i = ks(Ns, n), a = Ds(n), o = B(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(V.button, {
|
|
3674
3674
|
type: "button",
|
|
3675
3675
|
"aria-haspopup": "dialog",
|
|
3676
3676
|
"aria-expanded": i.open,
|
|
3677
3677
|
"aria-controls": i.contentId,
|
|
3678
|
-
"data-state":
|
|
3678
|
+
"data-state": Ys(i.open),
|
|
3679
3679
|
...r,
|
|
3680
3680
|
ref: o,
|
|
3681
|
-
onClick:
|
|
3681
|
+
onClick: z(e.onClick, i.onOpenToggle)
|
|
3682
3682
|
});
|
|
3683
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(
|
|
3683
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(Ha, {
|
|
3684
3684
|
asChild: !0,
|
|
3685
3685
|
...a,
|
|
3686
3686
|
children: s
|
|
3687
3687
|
});
|
|
3688
3688
|
});
|
|
3689
|
-
|
|
3690
|
-
var
|
|
3691
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3692
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3689
|
+
Ps.displayName = Ns;
|
|
3690
|
+
var Fs = "PopoverPortal", [Is, Ls] = Ts(Fs, { forceMount: void 0 }), Rs = (e) => {
|
|
3691
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = ks(Fs, t);
|
|
3692
|
+
return /* @__PURE__ */ (0, I.jsx)(Is, {
|
|
3693
3693
|
scope: t,
|
|
3694
3694
|
forceMount: n,
|
|
3695
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3695
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ja, {
|
|
3696
3696
|
present: n || a.open,
|
|
3697
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3697
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ka, {
|
|
3698
3698
|
asChild: !0,
|
|
3699
3699
|
container: i,
|
|
3700
3700
|
children: r
|
|
@@ -3702,47 +3702,47 @@ var Ns = "PopoverPortal", [Ps, Fs] = Cs(Ns, { forceMount: void 0 }), Is = (e) =>
|
|
|
3702
3702
|
})
|
|
3703
3703
|
});
|
|
3704
3704
|
};
|
|
3705
|
-
|
|
3706
|
-
var
|
|
3707
|
-
let n =
|
|
3708
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3705
|
+
Rs.displayName = Fs;
|
|
3706
|
+
var zs = "PopoverContent", Bs = P.forwardRef((e, t) => {
|
|
3707
|
+
let n = Ls(zs, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = ks(zs, e.__scopePopover);
|
|
3708
|
+
return /* @__PURE__ */ (0, I.jsx)(Ja, {
|
|
3709
3709
|
present: r || a.open,
|
|
3710
|
-
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(
|
|
3710
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(Hs, {
|
|
3711
3711
|
...i,
|
|
3712
3712
|
ref: t
|
|
3713
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
3713
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Us, {
|
|
3714
3714
|
...i,
|
|
3715
3715
|
ref: t
|
|
3716
3716
|
})
|
|
3717
3717
|
});
|
|
3718
3718
|
});
|
|
3719
|
-
|
|
3720
|
-
var
|
|
3721
|
-
let n =
|
|
3722
|
-
return
|
|
3719
|
+
Bs.displayName = zs;
|
|
3720
|
+
var Vs = /* @__PURE__ */ Dn("PopoverContent.RemoveScroll"), Hs = P.forwardRef((e, t) => {
|
|
3721
|
+
let n = ks(zs, e.__scopePopover), r = P.useRef(null), i = B(t, r), a = P.useRef(!1);
|
|
3722
|
+
return P.useEffect(() => {
|
|
3723
3723
|
let e = r.current;
|
|
3724
|
-
if (e) return
|
|
3725
|
-
}, []), /* @__PURE__ */ (0, I.jsx)(
|
|
3726
|
-
as:
|
|
3724
|
+
if (e) return uo(e);
|
|
3725
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(Cs, {
|
|
3726
|
+
as: Vs,
|
|
3727
3727
|
allowPinchZoom: !0,
|
|
3728
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3728
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ws, {
|
|
3729
3729
|
...e,
|
|
3730
3730
|
ref: i,
|
|
3731
3731
|
trapFocus: n.open,
|
|
3732
3732
|
disableOutsidePointerEvents: !0,
|
|
3733
|
-
onCloseAutoFocus:
|
|
3733
|
+
onCloseAutoFocus: z(e.onCloseAutoFocus, (e) => {
|
|
3734
3734
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
3735
3735
|
}),
|
|
3736
|
-
onPointerDownOutside:
|
|
3736
|
+
onPointerDownOutside: z(e.onPointerDownOutside, (e) => {
|
|
3737
3737
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
3738
3738
|
a.current = t.button === 2 || n;
|
|
3739
3739
|
}, { checkForDefaultPrevented: !1 }),
|
|
3740
|
-
onFocusOutside:
|
|
3740
|
+
onFocusOutside: z(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3741
3741
|
})
|
|
3742
3742
|
});
|
|
3743
|
-
}),
|
|
3744
|
-
let n =
|
|
3745
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3743
|
+
}), Us = P.forwardRef((e, t) => {
|
|
3744
|
+
let n = ks(zs, e.__scopePopover), r = P.useRef(!1), i = P.useRef(!1);
|
|
3745
|
+
return /* @__PURE__ */ (0, I.jsx)(Ws, {
|
|
3746
3746
|
...e,
|
|
3747
3747
|
ref: t,
|
|
3748
3748
|
trapFocus: !1,
|
|
@@ -3756,15 +3756,15 @@ var zs = /* @__PURE__ */ wn("PopoverContent.RemoveScroll"), Bs = F.forwardRef((e
|
|
|
3756
3756
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3757
3757
|
}
|
|
3758
3758
|
});
|
|
3759
|
-
}),
|
|
3760
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3761
|
-
return
|
|
3759
|
+
}), Ws = P.forwardRef((e, t) => {
|
|
3760
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = ks(zs, n), p = Ds(n);
|
|
3761
|
+
return Xn(), /* @__PURE__ */ (0, I.jsx)(nr, {
|
|
3762
3762
|
asChild: !0,
|
|
3763
3763
|
loop: !0,
|
|
3764
3764
|
trapped: r,
|
|
3765
3765
|
onMountAutoFocus: i,
|
|
3766
3766
|
onUnmountAutoFocus: a,
|
|
3767
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3767
|
+
children: /* @__PURE__ */ (0, I.jsx)(Hn, {
|
|
3768
3768
|
asChild: !0,
|
|
3769
3769
|
disableOutsidePointerEvents: o,
|
|
3770
3770
|
onInteractOutside: u,
|
|
@@ -3772,8 +3772,8 @@ var zs = /* @__PURE__ */ wn("PopoverContent.RemoveScroll"), Bs = F.forwardRef((e
|
|
|
3772
3772
|
onPointerDownOutside: c,
|
|
3773
3773
|
onFocusOutside: l,
|
|
3774
3774
|
onDismiss: () => f.onOpenChange(!1),
|
|
3775
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3776
|
-
"data-state":
|
|
3775
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ua, {
|
|
3776
|
+
"data-state": Ys(f.open),
|
|
3777
3777
|
role: "dialog",
|
|
3778
3778
|
id: f.contentId,
|
|
3779
3779
|
...p,
|
|
@@ -3790,62 +3790,62 @@ var zs = /* @__PURE__ */ wn("PopoverContent.RemoveScroll"), Bs = F.forwardRef((e
|
|
|
3790
3790
|
})
|
|
3791
3791
|
})
|
|
3792
3792
|
});
|
|
3793
|
-
}),
|
|
3794
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3795
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3793
|
+
}), Gs = "PopoverClose", Ks = P.forwardRef((e, t) => {
|
|
3794
|
+
let { __scopePopover: n, ...r } = e, i = ks(Gs, n);
|
|
3795
|
+
return /* @__PURE__ */ (0, I.jsx)(V.button, {
|
|
3796
3796
|
type: "button",
|
|
3797
3797
|
...r,
|
|
3798
3798
|
ref: t,
|
|
3799
|
-
onClick:
|
|
3799
|
+
onClick: z(e.onClick, () => i.onOpenChange(!1))
|
|
3800
3800
|
});
|
|
3801
3801
|
});
|
|
3802
|
-
|
|
3803
|
-
var
|
|
3804
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3805
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3802
|
+
Ks.displayName = Gs;
|
|
3803
|
+
var qs = "PopoverArrow", Js = P.forwardRef((e, t) => {
|
|
3804
|
+
let { __scopePopover: n, ...r } = e, i = Ds(n);
|
|
3805
|
+
return /* @__PURE__ */ (0, I.jsx)(Wa, {
|
|
3806
3806
|
...i,
|
|
3807
3807
|
...r,
|
|
3808
3808
|
ref: t
|
|
3809
3809
|
});
|
|
3810
3810
|
});
|
|
3811
|
-
|
|
3812
|
-
function
|
|
3811
|
+
Js.displayName = qs;
|
|
3812
|
+
function Ys(e) {
|
|
3813
3813
|
return e ? "open" : "closed";
|
|
3814
3814
|
}
|
|
3815
|
-
var
|
|
3815
|
+
var Xs = As, Zs = Ps, Qs = Bs, $s = Js, ec = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(Xs, {
|
|
3816
3816
|
defaultOpen: n,
|
|
3817
3817
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3818
3818
|
className: "flex justify-center",
|
|
3819
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3819
|
+
children: /* @__PURE__ */ (0, I.jsx)(Zs, {
|
|
3820
3820
|
asChild: !0,
|
|
3821
3821
|
children: t
|
|
3822
3822
|
})
|
|
3823
|
-
}), /* @__PURE__ */ (0, I.jsxs)(
|
|
3823
|
+
}), /* @__PURE__ */ (0, I.jsxs)(Qs, {
|
|
3824
3824
|
className: "sid-popover__container",
|
|
3825
3825
|
sideOffset: 10,
|
|
3826
3826
|
side: "bottom",
|
|
3827
|
-
children: [e, /* @__PURE__ */ (0, I.jsx)(
|
|
3827
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)($s, { className: "sid-popover__caret" })]
|
|
3828
3828
|
})]
|
|
3829
|
-
}),
|
|
3829
|
+
}), tc = ({ verificationService: e, initialVisibility: t = !1 }) => /* @__PURE__ */ (0, I.jsx)(ec, {
|
|
3830
3830
|
initialVisibility: t,
|
|
3831
3831
|
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3832
3832
|
type: "button",
|
|
3833
3833
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3834
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3834
|
+
children: /* @__PURE__ */ (0, I.jsx)(j, { id: "howDoesVerifyingWork" })
|
|
3835
3835
|
}),
|
|
3836
3836
|
message: /* @__PURE__ */ (0, I.jsxs)("div", { children: [
|
|
3837
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
3837
|
+
/* @__PURE__ */ (0, I.jsx)(j, { id: "step.personalInfo.howDoesVerifyingWorkDetails" }),
|
|
3838
3838
|
"\xA0",
|
|
3839
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
3839
|
+
/* @__PURE__ */ (0, I.jsx)(It, { verificationService: e })
|
|
3840
3840
|
] })
|
|
3841
|
-
}),
|
|
3842
|
-
let t =
|
|
3841
|
+
}), nc = ({ verificationService: e }) => {
|
|
3842
|
+
let t = xe(), n = p(() => e.programTheme.remainingRewardCodes, null);
|
|
3843
3843
|
return typeof n == "number" && n > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3844
3844
|
className: "sid-rewards-remaining",
|
|
3845
3845
|
role: "note",
|
|
3846
3846
|
children: [
|
|
3847
3847
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3848
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
3848
|
+
/* @__PURE__ */ (0, I.jsx)(E, {
|
|
3849
3849
|
id: "lowRewardPool",
|
|
3850
3850
|
defaultMessage: t?.lowRewardPool,
|
|
3851
3851
|
values: { offersRemaining: n }
|
|
@@ -3853,39 +3853,39 @@ var Js = Os, Ys = Ms, Xs = Rs, Zs = Ks, Qs = ({ message: e, trigger: t, initialV
|
|
|
3853
3853
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3854
3854
|
]
|
|
3855
3855
|
}) : null;
|
|
3856
|
-
},
|
|
3857
|
-
let { verificationResponse: n } = e, r =
|
|
3856
|
+
}, rc = (e) => e !== void 0, ic = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3857
|
+
let { verificationResponse: n } = e, r = rc(n) ? Ke(n) : !1;
|
|
3858
3858
|
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3859
3859
|
className: "sid-personal-info-header",
|
|
3860
|
-
children: /* @__PURE__ */ (0, I.jsxs)(
|
|
3860
|
+
children: /* @__PURE__ */ (0, I.jsxs)(Sn, {
|
|
3861
3861
|
verificationService: e,
|
|
3862
|
-
title: /* @__PURE__ */ (0, I.jsx)(
|
|
3862
|
+
title: /* @__PURE__ */ (0, I.jsx)(j, { id: r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title" }),
|
|
3863
3863
|
classNameIdentifier: t,
|
|
3864
3864
|
children: [
|
|
3865
3865
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3866
3866
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3867
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3867
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, { id: r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle" })
|
|
3868
3868
|
}),
|
|
3869
3869
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3870
3870
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3871
|
-
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(
|
|
3871
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(tc, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)(nc, { verificationService: e })] })
|
|
3872
3872
|
}),
|
|
3873
3873
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3874
3874
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3875
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3875
|
+
children: /* @__PURE__ */ (0, I.jsx)(E, { id: "requiredFields" })
|
|
3876
3876
|
})
|
|
3877
3877
|
]
|
|
3878
3878
|
})
|
|
3879
3879
|
});
|
|
3880
|
-
},
|
|
3881
|
-
let { isEmbedded: i } =
|
|
3880
|
+
}, ac = () => ({ isEmbedded: !!d("verificationIframeUid") }), oc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3881
|
+
let { isEmbedded: i } = ac();
|
|
3882
3882
|
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3883
3883
|
className: `sid-layout sid-layout--${e}`,
|
|
3884
3884
|
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3885
3885
|
className: "sid-layout__container",
|
|
3886
3886
|
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3887
3887
|
className: "sid-layout__content",
|
|
3888
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3888
|
+
children: /* @__PURE__ */ (0, I.jsx)(ic, {
|
|
3889
3889
|
verificationService: n,
|
|
3890
3890
|
classNameIdentifier: "landing"
|
|
3891
3891
|
})
|
|
@@ -3898,82 +3898,82 @@ var Js = Os, Ys = Ms, Xs = Rs, Zs = Ks, Qs = ({ message: e, trigger: t, initialV
|
|
|
3898
3898
|
})]
|
|
3899
3899
|
})
|
|
3900
3900
|
});
|
|
3901
|
-
},
|
|
3901
|
+
}, sc = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3902
3902
|
className: "sid sid-form-wrapper",
|
|
3903
3903
|
children: e
|
|
3904
|
-
}),
|
|
3905
|
-
let a =
|
|
3904
|
+
}), cc = ({ locale: e, programTheme: t, verificationService: n, programId: r }) => {
|
|
3905
|
+
let a = st(), { renderAs: o, _launchDarklyUserTargeting: s } = C(), c = fe() ?? t, l = _e(), { isLoading: d, loadingStep: f } = ue(), p = pe(Ce, de), m = (0, P.useMemo)(() => p ? {
|
|
3906
3906
|
...n.verificationResponse,
|
|
3907
|
-
...
|
|
3908
|
-
} : n.verificationResponse, [
|
|
3907
|
+
...p
|
|
3908
|
+
} : n.verificationResponse, [p, n.verificationResponse]), g = (0, P.useMemo)(() => ({
|
|
3909
3909
|
...n,
|
|
3910
3910
|
programTheme: c,
|
|
3911
|
-
verificationResponse:
|
|
3912
|
-
formValidationOptions: Ot(c,
|
|
3911
|
+
verificationResponse: m,
|
|
3912
|
+
formValidationOptions: Ot(c, m, n.viewModel)
|
|
3913
3913
|
}), [
|
|
3914
3914
|
n,
|
|
3915
3915
|
c,
|
|
3916
|
-
|
|
3917
|
-
]),
|
|
3918
|
-
|
|
3916
|
+
m
|
|
3917
|
+
]), _ = c?.themeChoices?.landingPage?.layout || "center", v = lt();
|
|
3918
|
+
P.useEffect(() => {
|
|
3919
3919
|
try {
|
|
3920
|
-
if (
|
|
3921
|
-
let e = (0, Ct.default)(
|
|
3922
|
-
|
|
3923
|
-
let t =
|
|
3920
|
+
if (v && g && g.viewModel) {
|
|
3921
|
+
let e = (0, Ct.default)(v);
|
|
3922
|
+
i(h.flags, e);
|
|
3923
|
+
let t = u(g.viewModel.metadata || {}, (t) => {
|
|
3924
3924
|
t.flags = e;
|
|
3925
|
-
}), n =
|
|
3925
|
+
}), n = u(g.viewModel, (e) => {
|
|
3926
3926
|
e.metadata = t;
|
|
3927
3927
|
});
|
|
3928
|
-
|
|
3928
|
+
g.updateViewModel(n);
|
|
3929
3929
|
}
|
|
3930
3930
|
} catch (e) {
|
|
3931
|
-
|
|
3931
|
+
M.error(e);
|
|
3932
3932
|
}
|
|
3933
|
-
}, []),
|
|
3934
|
-
if (
|
|
3933
|
+
}, []), P.useEffect(() => {
|
|
3934
|
+
if (l && s && a) {
|
|
3935
3935
|
let e = {
|
|
3936
3936
|
kind: "multi",
|
|
3937
3937
|
user: {
|
|
3938
|
-
key:
|
|
3939
|
-
locale:
|
|
3940
|
-
segment:
|
|
3941
|
-
installType:
|
|
3938
|
+
key: l,
|
|
3939
|
+
locale: g.verificationResponse.locale,
|
|
3940
|
+
segment: g.verificationResponse.segment,
|
|
3941
|
+
installType: ke()
|
|
3942
3942
|
},
|
|
3943
3943
|
program: { key: r }
|
|
3944
3944
|
};
|
|
3945
3945
|
c.accountId && (e.account = { key: c.accountId }), a.identify(e);
|
|
3946
3946
|
}
|
|
3947
|
-
}, [
|
|
3947
|
+
}, [l, a]), P.useEffect(() => {
|
|
3948
3948
|
try {
|
|
3949
|
-
|
|
3949
|
+
C()._launchDarklyFlagCb(v);
|
|
3950
3950
|
} catch {}
|
|
3951
|
-
}, [
|
|
3952
|
-
let
|
|
3953
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3951
|
+
}, [v]);
|
|
3952
|
+
let S = xe(), w = pe(Ce, we);
|
|
3953
|
+
return /* @__PURE__ */ (0, I.jsx)(ne, {
|
|
3954
3954
|
locale: "en",
|
|
3955
3955
|
messages: {
|
|
3956
|
-
...
|
|
3957
|
-
...(0,
|
|
3958
|
-
...(0,
|
|
3956
|
+
...S,
|
|
3957
|
+
...(0, St.default)(b(e)),
|
|
3958
|
+
...(0, St.default)(w?.[e] ?? {})
|
|
3959
3959
|
},
|
|
3960
|
-
textComponent:
|
|
3960
|
+
textComponent: bn,
|
|
3961
3961
|
children: /* @__PURE__ */ (0, I.jsx)(Dt, {
|
|
3962
|
-
themeChoices: c
|
|
3963
|
-
customCssFromOptions:
|
|
3962
|
+
themeChoices: c?.themeChoices,
|
|
3963
|
+
customCssFromOptions: C().customCss,
|
|
3964
3964
|
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3965
|
-
className: `${wt.default.isRtlLang(
|
|
3966
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3967
|
-
layout:
|
|
3968
|
-
verificationService:
|
|
3969
|
-
renderAsLandingPage:
|
|
3970
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3971
|
-
|
|
3972
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3973
|
-
|
|
3974
|
-
children: d.
|
|
3975
|
-
stepToLoad:
|
|
3976
|
-
verificationService:
|
|
3965
|
+
className: `${wt.default.isRtlLang(x(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
3966
|
+
children: /* @__PURE__ */ (0, I.jsx)(sc, { children: /* @__PURE__ */ (0, I.jsx)(oc, {
|
|
3967
|
+
layout: _,
|
|
3968
|
+
verificationService: g,
|
|
3969
|
+
renderAsLandingPage: o === "landingPage",
|
|
3970
|
+
children: /* @__PURE__ */ (0, I.jsx)(vt, {
|
|
3971
|
+
i18n: y,
|
|
3972
|
+
children: /* @__PURE__ */ (0, I.jsx)(P.Suspense, {
|
|
3973
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(Ft, { step: f }),
|
|
3974
|
+
children: d || Ne("mockStep") === Ee.loading ? /* @__PURE__ */ (0, I.jsx)(Ft, { step: f }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!C().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(xn, { verificationService: g }), /* @__PURE__ */ (0, I.jsx)(yn, {
|
|
3975
|
+
stepToLoad: g.overrideStep || g.verificationResponse?.currentStep,
|
|
3976
|
+
verificationService: g
|
|
3977
3977
|
})] })
|
|
3978
3978
|
})
|
|
3979
3979
|
})
|
|
@@ -3981,127 +3981,114 @@ var Js = Os, Ys = Ms, Xs = Rs, Zs = Ks, Qs = ({ message: e, trigger: t, initialV
|
|
|
3981
3981
|
})
|
|
3982
3982
|
})
|
|
3983
3983
|
}, e);
|
|
3984
|
-
},
|
|
3984
|
+
}, lc = () => {
|
|
3985
3985
|
let e = null;
|
|
3986
3986
|
document.addEventListener("keydown", (t) => {
|
|
3987
3987
|
if (t.key !== "Tab") return;
|
|
3988
3988
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3989
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3989
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (it({
|
|
3990
3990
|
type: "focus",
|
|
3991
3991
|
focusOn: "firstElement"
|
|
3992
3992
|
}), t.preventDefault());
|
|
3993
3993
|
}), window.addEventListener("message", (t) => {
|
|
3994
3994
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
3995
|
-
}),
|
|
3995
|
+
}), it({
|
|
3996
3996
|
type: "focus",
|
|
3997
3997
|
focusOn: "firstElement"
|
|
3998
3998
|
});
|
|
3999
|
-
},
|
|
3999
|
+
}, uc = () => {
|
|
4000
4000
|
window.addEventListener("message", (e) => {
|
|
4001
|
-
e.data.isInLightBox === "true" &&
|
|
4001
|
+
e.data.isInLightBox === "true" && lc();
|
|
4002
4002
|
});
|
|
4003
|
-
},
|
|
4004
|
-
locale: "en",
|
|
4005
|
-
messages: {
|
|
4006
|
-
...ge(),
|
|
4007
|
-
...(0, _t.default)(i(e))
|
|
4008
|
-
},
|
|
4009
|
-
textComponent: _n,
|
|
4010
|
-
children: /* @__PURE__ */ (0, I.jsx)(bt, {})
|
|
4011
|
-
}, e), uc = class extends F.Component {
|
|
4003
|
+
}, dc = class extends P.Component {
|
|
4012
4004
|
verificationService;
|
|
4013
4005
|
constructor(e) {
|
|
4014
|
-
super(e),
|
|
4006
|
+
super(e), M.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? M.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : M.info("No trackingId to associate with the verification request");
|
|
4015
4007
|
}
|
|
4016
4008
|
componentDidMount() {
|
|
4017
|
-
|
|
4009
|
+
w(), uc(), he((e) => {
|
|
4018
4010
|
switch (e.data.action) {
|
|
4019
4011
|
case "setViewModel":
|
|
4020
|
-
|
|
4012
|
+
$e(e.data.viewModel, {
|
|
4021
4013
|
partial: !0,
|
|
4022
4014
|
metadataCheck: !0,
|
|
4023
4015
|
externalUserIdCheck: !0
|
|
4024
4016
|
});
|
|
4025
4017
|
break;
|
|
4026
4018
|
case "setOptions":
|
|
4027
|
-
|
|
4019
|
+
f(e.data.options);
|
|
4028
4020
|
break;
|
|
4029
4021
|
default:
|
|
4030
4022
|
}
|
|
4031
|
-
}),
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
let e = u(() => this.props.verificationService.verificationResponse.segment);
|
|
4035
|
-
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4036
|
-
}
|
|
4023
|
+
}), M.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4024
|
+
let e = p(() => this.props.verificationService.verificationResponse.segment);
|
|
4025
|
+
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4037
4026
|
}
|
|
4038
4027
|
render() {
|
|
4039
|
-
let { viewModel: e } = this.props.verificationService, t =
|
|
4040
|
-
|
|
4041
|
-
let { programTheme: n } = this.props.verificationService, { verificationResponse: i } = this.props.verificationService;
|
|
4042
|
-
return N.info("NewVerificationComponent: verificationResponse, viewModel", i, e), N.info(`NewVerificationComponent: locale: ${t}, currentStep: ${i.currentStep}`), /* @__PURE__ */ (0, I.jsx)(oc, {
|
|
4028
|
+
let { viewModel: e } = this.props.verificationService, t = g(e), { programTheme: n } = this.props.verificationService, { verificationResponse: r } = this.props.verificationService;
|
|
4029
|
+
return M.info("NewVerificationComponent: verificationResponse, viewModel", r, e), M.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r?.currentStep}`), /* @__PURE__ */ (0, I.jsx)(cc, {
|
|
4043
4030
|
locale: t,
|
|
4044
4031
|
programTheme: n,
|
|
4045
4032
|
verificationService: this.props.verificationService,
|
|
4046
4033
|
programId: this.props.programId
|
|
4047
4034
|
});
|
|
4048
4035
|
}
|
|
4049
|
-
},
|
|
4036
|
+
}, fc = se((e, t) => ({ ...e }), (e, t) => ({
|
|
4050
4037
|
dispatch: e,
|
|
4051
|
-
fetchNewVerificationRequest:
|
|
4052
|
-
fetchExistingVerificationRequest:
|
|
4053
|
-
updateViewModel:
|
|
4054
|
-
updateLocale:
|
|
4055
|
-
updateProgramTheme:
|
|
4056
|
-
updateFieldValidationErrors:
|
|
4057
|
-
resetState:
|
|
4038
|
+
fetchNewVerificationRequest: He(e),
|
|
4039
|
+
fetchExistingVerificationRequest: et(e),
|
|
4040
|
+
updateViewModel: Ye(e),
|
|
4041
|
+
updateLocale: We(e, t.programId),
|
|
4042
|
+
updateProgramTheme: Qe(e),
|
|
4043
|
+
updateFieldValidationErrors: Ue(e),
|
|
4044
|
+
resetState: Je(e)
|
|
4058
4045
|
}), (e, t, n) => {
|
|
4059
4046
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4060
4047
|
return {
|
|
4061
4048
|
verificationService: {
|
|
4062
4049
|
...e,
|
|
4063
4050
|
...i,
|
|
4064
|
-
submitStep:
|
|
4051
|
+
submitStep: nt(r, a)
|
|
4065
4052
|
},
|
|
4066
4053
|
...n
|
|
4067
4054
|
};
|
|
4068
|
-
})(
|
|
4055
|
+
})(dc), pc = (e) => ({
|
|
4069
4056
|
kind: "program",
|
|
4070
4057
|
key: e
|
|
4071
|
-
}),
|
|
4058
|
+
}), mc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)(ct, {
|
|
4072
4059
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4073
|
-
context:
|
|
4074
|
-
flags:
|
|
4060
|
+
context: pc(e),
|
|
4061
|
+
flags: ut,
|
|
4075
4062
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4076
4063
|
options: { streaming: !1 },
|
|
4077
4064
|
children: t
|
|
4078
|
-
}),
|
|
4079
|
-
|
|
4080
|
-
var
|
|
4065
|
+
}), hc = qe();
|
|
4066
|
+
i(h.jslibVersionActual, p(() => Oe(), "?")), i(h.clientVersion, p(() => Oe(), "?"));
|
|
4067
|
+
var gc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4081
4068
|
try {
|
|
4082
|
-
|
|
4069
|
+
Le();
|
|
4083
4070
|
} catch (e) {
|
|
4084
|
-
|
|
4071
|
+
M.warn("Failed to add predefined hooks", e);
|
|
4085
4072
|
}
|
|
4086
|
-
return (0,
|
|
4087
|
-
|
|
4088
|
-
}),
|
|
4073
|
+
return (0, P.useEffect)(() => {
|
|
4074
|
+
te();
|
|
4075
|
+
}), hc.dispatch({
|
|
4089
4076
|
programId: e,
|
|
4090
4077
|
type: "PROGRAM_ID"
|
|
4091
4078
|
}), n && (n.current = {
|
|
4092
|
-
refresh:
|
|
4093
|
-
reset:
|
|
4079
|
+
refresh: P.useCallback(() => hc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4080
|
+
reset: P.useCallback(() => hc.dispatch({ type: "RESET_STATE" }), [])
|
|
4094
4081
|
}), /* @__PURE__ */ (0, I.jsx)(re, {
|
|
4095
|
-
store:
|
|
4096
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4082
|
+
store: hc,
|
|
4083
|
+
children: /* @__PURE__ */ (0, I.jsx)(mc, {
|
|
4097
4084
|
programId: e,
|
|
4098
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4085
|
+
children: /* @__PURE__ */ (0, I.jsx)(fc, {
|
|
4099
4086
|
programId: e,
|
|
4100
4087
|
trackingId: t
|
|
4101
4088
|
})
|
|
4102
4089
|
})
|
|
4103
4090
|
});
|
|
4104
|
-
}),
|
|
4091
|
+
}), _c = class e {
|
|
4105
4092
|
element;
|
|
4106
4093
|
programId;
|
|
4107
4094
|
trackingId;
|
|
@@ -4109,7 +4096,7 @@ var hc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4109
4096
|
ref;
|
|
4110
4097
|
constructor(t, n, r) {
|
|
4111
4098
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4112
|
-
|
|
4099
|
+
M.info(`Constructing VerificationFormEs5 ${n}`), T(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = P.createRef(), this.render();
|
|
4113
4100
|
}
|
|
4114
4101
|
refresh() {
|
|
4115
4102
|
this.ref.current.refresh();
|
|
@@ -4118,17 +4105,17 @@ var hc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4118
4105
|
this.ref.current.reset();
|
|
4119
4106
|
}
|
|
4120
4107
|
render() {
|
|
4121
|
-
|
|
4108
|
+
xt.render(/* @__PURE__ */ (0, I.jsx)(gc, {
|
|
4122
4109
|
programId: this.programId,
|
|
4123
4110
|
trackingId: this.trackingId,
|
|
4124
4111
|
ref: this.ref
|
|
4125
4112
|
}), this.element);
|
|
4126
4113
|
}
|
|
4127
4114
|
unmount() {
|
|
4128
|
-
|
|
4115
|
+
xt.unmountComponentAtNode(this.element);
|
|
4129
4116
|
}
|
|
4130
|
-
},
|
|
4131
|
-
if (!
|
|
4117
|
+
}, vc = async (e, t) => {
|
|
4118
|
+
if (!p(() => e.threatMetrixEnabled, !1)) return;
|
|
4132
4119
|
let n = e.threatMetrixOrgId || "cnl2my47";
|
|
4133
4120
|
try {
|
|
4134
4121
|
let { ThreatMetrix: e } = await import(
|
|
@@ -4137,50 +4124,50 @@ var hc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4137
4124
|
);
|
|
4138
4125
|
e !== void 0 && e.hasOwnProperty("profile") && typeof e.profile == "function" && e.profile("content.sheerid.com", n, t);
|
|
4139
4126
|
} catch (e) {
|
|
4140
|
-
|
|
4127
|
+
M.error(e, "Failed to collect ThreatMetrix device data");
|
|
4141
4128
|
}
|
|
4142
|
-
},
|
|
4143
|
-
let n =
|
|
4129
|
+
}, yc = /* @__PURE__ */ new Map(), bc = (e, t) => {
|
|
4130
|
+
let n = yc.get(t);
|
|
4144
4131
|
if (n) return n;
|
|
4145
4132
|
let r = (async () => {
|
|
4146
4133
|
let [, n, r] = await Promise.all([
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4134
|
+
vc(e, t),
|
|
4135
|
+
ot(e, t),
|
|
4136
|
+
Ve(e, t)
|
|
4150
4137
|
]);
|
|
4151
4138
|
return {
|
|
4152
4139
|
...r ? { fpSessionId: r } : {},
|
|
4153
4140
|
...n ? { ipqsRequestId: n } : {}
|
|
4154
4141
|
};
|
|
4155
4142
|
})();
|
|
4156
|
-
return
|
|
4157
|
-
},
|
|
4158
|
-
e.locale && e.messages &&
|
|
4159
|
-
},
|
|
4160
|
-
getMessages:
|
|
4161
|
-
setViewModel:
|
|
4162
|
-
resetViewModel:
|
|
4163
|
-
setOptions:
|
|
4164
|
-
resetOptions:
|
|
4165
|
-
refreshStore:
|
|
4166
|
-
setMetadata:
|
|
4167
|
-
getMetadata:
|
|
4168
|
-
resetMetadata:
|
|
4169
|
-
conversion:
|
|
4143
|
+
return yc.set(t, r), r;
|
|
4144
|
+
}, xc = async (e, t) => bc(await k.fetchProgramTheme(t), e), Sc = (e, t) => {
|
|
4145
|
+
e.locale && e.messages && S(e), ye(e, t);
|
|
4146
|
+
}, Cc = {
|
|
4147
|
+
getMessages: o,
|
|
4148
|
+
setViewModel: $e,
|
|
4149
|
+
resetViewModel: Xe,
|
|
4150
|
+
setOptions: f,
|
|
4151
|
+
resetOptions: l,
|
|
4152
|
+
refreshStore: Be,
|
|
4153
|
+
setMetadata: rt,
|
|
4154
|
+
getMetadata: Ge,
|
|
4155
|
+
resetMetadata: ze,
|
|
4156
|
+
conversion: ge,
|
|
4170
4157
|
overrideComponent: At,
|
|
4171
4158
|
resetOverriddenComponents: Mt,
|
|
4172
|
-
postVerificationSizeUpdates:
|
|
4173
|
-
addHook:
|
|
4174
|
-
hooks:
|
|
4175
|
-
VerificationForm:
|
|
4176
|
-
collectDeviceProfile:
|
|
4177
|
-
resetStore:
|
|
4159
|
+
postVerificationSizeUpdates: Re,
|
|
4160
|
+
addHook: at,
|
|
4161
|
+
hooks: Ie,
|
|
4162
|
+
VerificationForm: _c,
|
|
4163
|
+
collectDeviceProfile: xc,
|
|
4164
|
+
resetStore: Ze,
|
|
4178
4165
|
setProgramTheme: (e, n = { partial: !0 }) => {
|
|
4179
|
-
let r =
|
|
4166
|
+
let r = qe(), i = r.getState(), a = () => {
|
|
4180
4167
|
let { intl: i, ...a } = t(e);
|
|
4181
|
-
|
|
4168
|
+
M.info("Setting programTheme", a), i && Sc(i, n.partial), Qe(r.dispatch)(a, n.partial), le(a, n.partial);
|
|
4182
4169
|
};
|
|
4183
|
-
i.isLoading ?
|
|
4170
|
+
i.isLoading ? at({
|
|
4184
4171
|
name: "ON_VERIFICATION_READY",
|
|
4185
4172
|
callback: () => {
|
|
4186
4173
|
a();
|
|
@@ -4189,4 +4176,4 @@ var hc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4189
4176
|
}
|
|
4190
4177
|
};
|
|
4191
4178
|
//#endregion
|
|
4192
|
-
export {
|
|
4179
|
+
export { Kt as A, Nn as C, B as D, wn as E, Tt as F, It as M, Ft as N, z as O, Nt as P, V as S, Tn as T, _r as _, po as a, Hn as b, uo as c, Ka as d, Cc as default, Ha as f, Ta as g, Va as h, Cs as i, zt as j, Zt as k, $a as l, Ua as m, ic as n, mo as o, Wa as p, nc as r, go as s, bc as t, Ja as u, nr as v, Dn as w, Pn as x, Xn as y };
|