@sheerid/jslib 2.247.0 → 2.248.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 +995 -1023
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/AddressComponent-Bukkdb4u.js +4 -4
- package/chunk/AddressComponent-CkxRlnVO.js +4 -4
- package/chunk/{BirthDateComponent-uWKLRke9.js → BirthDateComponent-Bs0xFFJM.js} +5 -5
- package/chunk/{BirthDateComponent-B0tDW0yB.js.map → BirthDateComponent-Bs0xFFJM.js.map} +1 -1
- package/chunk/{BirthDateComponent-B0tDW0yB.js → BirthDateComponent-DLk6Ilxs.js} +5 -5
- package/chunk/{BirthDateComponent-uWKLRke9.js.map → BirthDateComponent-DLk6Ilxs.js.map} +1 -1
- package/chunk/{CaptchaComponent-D0ddmO45.js → CaptchaComponent-C0umNe_d.js} +62 -62
- package/chunk/{CaptchaComponent-D0ddmO45.js.map → CaptchaComponent-C0umNe_d.js.map} +1 -1
- package/chunk/{CaptchaComponent-DE-ZE8nT.js → CaptchaComponent-Cuh_UEdw.js} +5 -5
- package/chunk/{CaptchaComponent-DE-ZE8nT.js.map → CaptchaComponent-Cuh_UEdw.js.map} +1 -1
- package/chunk/ChangeLocaleComponent-B9FhViAh.js +4 -4
- package/chunk/ChangeLocaleComponent-zT_LYIcp.js +4 -4
- package/chunk/City-DjkeTI1V.js +4 -4
- package/chunk/City-IOdmmFE7.js +4 -4
- package/chunk/{CollegeNameComponent--3-lJ1K4.js → CollegeNameComponent-CnPvtBkA.js} +5 -5
- package/chunk/{CollegeNameComponent--3-lJ1K4.js.map → CollegeNameComponent-CnPvtBkA.js.map} +1 -1
- package/chunk/{CollegeNameComponent-D37lC9Cv.js → CollegeNameComponent-DF3oj7Uw.js} +5 -5
- package/chunk/{CollegeNameComponent-D37lC9Cv.js.map → CollegeNameComponent-DF3oj7Uw.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BksoYi0Z.js +4 -4
- package/chunk/CopyToClipboardComponent-CtgyrPCJ.js +4 -4
- package/chunk/CountryComponentWrapper-C58Sci59.js +4 -4
- package/chunk/CountryComponentWrapper-ZvBsjX0l.js +4 -4
- package/chunk/{DischargeDateComponent-DuJO1xvy.js → DischargeDateComponent-DmfDDmWr.js} +5 -5
- package/chunk/{DischargeDateComponent-CE7d9Tm4.js.map → DischargeDateComponent-DmfDDmWr.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CE7d9Tm4.js → DischargeDateComponent-lYQRumBW.js} +5 -5
- package/chunk/{DischargeDateComponent-DuJO1xvy.js.map → DischargeDateComponent-lYQRumBW.js.map} +1 -1
- package/chunk/DriverLicenseNumberComponent-D6O21jQQ.js +4 -4
- package/chunk/DriverLicenseNumberComponent-K8bTab_I.js +4 -4
- package/chunk/{EmailLoopPending-DI76b6U9.js → EmailLoopPending-B3NjLevJ.js} +19 -19
- package/chunk/{EmailLoopPending-DI76b6U9.js.map → EmailLoopPending-B3NjLevJ.js.map} +1 -1
- package/chunk/{EmailLoopPending-nqmGJQhh.js → EmailLoopPending-CsLNydVl.js} +15 -15
- package/chunk/{EmailLoopPending-nqmGJQhh.js.map → EmailLoopPending-CsLNydVl.js.map} +1 -1
- package/chunk/{ExtraMessage-WGe7ZQyg.js → ExtraMessage-CmZsLEQu.js} +5 -5
- package/chunk/{ExtraMessage-CcqDnr5y.js.map → ExtraMessage-CmZsLEQu.js.map} +1 -1
- package/chunk/{ExtraMessage-CcqDnr5y.js → ExtraMessage-DVAZbguB.js} +9 -9
- package/chunk/{ExtraMessage-WGe7ZQyg.js.map → ExtraMessage-DVAZbguB.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CmATK21l.js → FirstResponderOrganizationComponent-CtDqxnQQ.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-CmATK21l.js.map → FirstResponderOrganizationComponent-CtDqxnQQ.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BRRa_qj-.js → FirstResponderOrganizationComponent-Drf19OL-.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-BRRa_qj-.js.map → FirstResponderOrganizationComponent-Drf19OL-.js.map} +1 -1
- package/chunk/FormFieldInputSelect-CCyn1vvf.js +4 -4
- package/chunk/FormFieldInputSelect-CEVgL_cH.js +4 -4
- package/chunk/FormFieldLayout-BesyfbpW.js +4 -4
- package/chunk/FormFieldLayout-CVSvHLSi.js +4 -4
- package/chunk/FormFieldText-BtlTdgzX.js +4 -4
- package/chunk/FormFieldText-yR7hiQsc.js +4 -4
- package/chunk/{FormFieldTypeahead-ChF6x24k.js → FormFieldTypeahead-CH_TSGle.js} +377 -377
- package/chunk/{FormFieldTypeahead-ChF6x24k.js.map → FormFieldTypeahead-CH_TSGle.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CtxrXjHv.js → FormFieldTypeahead-Da-vHxEO.js} +419 -419
- package/chunk/{FormFieldTypeahead-CtxrXjHv.js.map → FormFieldTypeahead-Da-vHxEO.js.map} +1 -1
- package/chunk/FormSelectChoice-D-8ofshG.js +4 -4
- package/chunk/FormSelectChoice-DlGn-Pdy.js +4 -4
- package/chunk/InputText-BB3UKiij.js +4 -4
- package/chunk/InputText-V45_YE-T.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-DBXMMx_e.js → LicensedProfessionalOrganizationComponent-BT4n-ToV.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-DBXMMx_e.js.map → LicensedProfessionalOrganizationComponent-BT4n-ToV.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-sDiGRvUQ.js → LicensedProfessionalOrganizationComponent-sC--o74M.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-sDiGRvUQ.js.map → LicensedProfessionalOrganizationComponent-sC--o74M.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CnulmvG6.js → LowIncomeOrganizationComponent-BvyJXrdQ.js} +5 -5
- package/chunk/{LowIncomeOrganizationComponent-CnulmvG6.js.map → LowIncomeOrganizationComponent-BvyJXrdQ.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-D8gq-gLP.js → LowIncomeOrganizationComponent-CLJNbJKu.js} +5 -5
- package/chunk/{LowIncomeOrganizationComponent-D8gq-gLP.js.map → LowIncomeOrganizationComponent-CLJNbJKu.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DTOhrqUL.js → MedicalProfessionalOrganizationComponent-B-syoAlu.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-3Itqu9cN.js.map → MedicalProfessionalOrganizationComponent-B-syoAlu.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-3Itqu9cN.js → MedicalProfessionalOrganizationComponent-BmiJZots.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-DTOhrqUL.js.map → MedicalProfessionalOrganizationComponent-BmiJZots.js.map} +1 -1
- package/chunk/MemberIdComponent-Cu2-mU8u.js +4 -4
- package/chunk/MemberIdComponent-D23Ilwkz.js +4 -4
- package/chunk/{MembershipOrganizationComponent-DIMXdPl3.js → MembershipOrganizationComponent-Bf1xshzG.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-DIMXdPl3.js.map → MembershipOrganizationComponent-Bf1xshzG.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Ie7etzSn.js → MembershipOrganizationComponent-CIoAj7iZ.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-Ie7etzSn.js.map → MembershipOrganizationComponent-CIoAj7iZ.js.map} +1 -1
- package/chunk/Onfido-37vLDu4k.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-BLlwswI-.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-veY-9f10.js +4 -4
- package/chunk/PersonalInfoStepWrapper-BiSzCAk8.js +4 -4
- package/chunk/PersonalInfoStepWrapper-HXjWWCYf.js +4 -4
- package/chunk/PostalCodeComponent-DvZ8oZli.js +4 -4
- package/chunk/PostalCodeComponent-lrJGRros.js +4 -4
- package/chunk/SSN-CQUI4vVz.js +4 -4
- package/chunk/SSN-DQ81decb.js +4 -4
- package/chunk/StateSelectComponent-CG87WpOW.js +4 -4
- package/chunk/StateSelectComponent-nOsC00ex.js +4 -4
- package/chunk/StatusComponent-BJQNoEQp.js +4 -4
- package/chunk/StatusComponent-n3jBHJdZ.js +4 -4
- package/chunk/{StepAgePersonalInfo-DtdP8w7b.js → StepAgePersonalInfo-BbImsXfx.js} +8 -8
- package/chunk/{StepAgePersonalInfo-Ca8JaxOI.js.map → StepAgePersonalInfo-BbImsXfx.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Ca8JaxOI.js → StepAgePersonalInfo-D21CSk3y.js} +8 -8
- package/chunk/{StepAgePersonalInfo-DtdP8w7b.js.map → StepAgePersonalInfo-D21CSk3y.js.map} +1 -1
- package/chunk/StepCard-BZ5kx6cD.js +4 -4
- package/chunk/StepCard-D_mLHJLz.js +4 -4
- package/chunk/StepCollectIdentifier-2rYBJnI1.js +4 -4
- package/chunk/StepCollectIdentifier-mZjiHAT1.js +4 -4
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DIzCW8K5.js → StepCollectMilitaryPersonalInfoComponent-Be7kYEbM.js} +9 -9
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DIzCW8K5.js.map → StepCollectMilitaryPersonalInfoComponent-Be7kYEbM.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CgGDBhZS.js → StepCollectMilitaryPersonalInfoComponent-Y6UPWKD2.js} +9 -9
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CgGDBhZS.js.map → StepCollectMilitaryPersonalInfoComponent-Y6UPWKD2.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-HNqAjPy4.js → StepCollectPersonalInfo-6evU9UFg.js} +16 -16
- package/chunk/{StepCollectPersonalInfo-HNqAjPy4.js.map → StepCollectPersonalInfo-6evU9UFg.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-mLCPwTN6.js → StepCollectPersonalInfo-XkEXV-iW.js} +16 -16
- package/chunk/{StepCollectPersonalInfo-mLCPwTN6.js.map → StepCollectPersonalInfo-XkEXV-iW.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-DnTif2W6.js +4 -4
- package/chunk/StepCompleteAuthentication-aBe0T7BX.js +4 -4
- package/chunk/{StepConsolation-DdswFFPp.js → StepConsolation-2GKAlcdt.js} +13 -13
- package/chunk/{StepConsolation-DdswFFPp.js.map → StepConsolation-2GKAlcdt.js.map} +1 -1
- package/chunk/{StepConsolation-UdKEsKki.js → StepConsolation-L3B5-pCn.js} +18 -18
- package/chunk/{StepConsolation-UdKEsKki.js.map → StepConsolation-L3B5-pCn.js.map} +1 -1
- package/chunk/{StepDocUpload-BY28iUhz.js → StepDocUpload-BOpUs-jc.js} +185 -185
- package/chunk/{StepDocUpload-BY28iUhz.js.map → StepDocUpload-BOpUs-jc.js.map} +1 -1
- package/chunk/{StepDocUpload-Uk4OkEbk.js → StepDocUpload-Ck2Fkmt3.js} +482 -482
- package/chunk/{StepDocUpload-Uk4OkEbk.js.map → StepDocUpload-Ck2Fkmt3.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-veSQF1xd.js → StepDriverLicensePersonalInfoComponent-YmaqDbhD.js} +6 -6
- package/chunk/{StepDriverLicensePersonalInfoComponent-BbamyvXd.js.map → StepDriverLicensePersonalInfoComponent-YmaqDbhD.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BbamyvXd.js → StepDriverLicensePersonalInfoComponent-ro1ZZchn.js} +6 -6
- package/chunk/{StepDriverLicensePersonalInfoComponent-veSQF1xd.js.map → StepDriverLicensePersonalInfoComponent-ro1ZZchn.js.map} +1 -1
- package/chunk/{StepEmailLoop-DsL4IHH7.js → StepEmailLoop-B09M3kHx.js} +29 -29
- package/chunk/{StepEmailLoop-DsL4IHH7.js.map → StepEmailLoop-B09M3kHx.js.map} +1 -1
- package/chunk/{StepEmailLoop-FytSYfcH.js → StepEmailLoop-BK-jB2V7.js} +17 -17
- package/chunk/{StepEmailLoop-FytSYfcH.js.map → StepEmailLoop-BK-jB2V7.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-suokVw34.js → StepEmploymentPersonalInfo-CkpQtqFc.js} +7 -7
- package/chunk/{StepEmploymentPersonalInfo-suokVw34.js.map → StepEmploymentPersonalInfo-CkpQtqFc.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CT0xdIqB.js → StepEmploymentPersonalInfo-Dm54oUuJ.js} +7 -7
- package/chunk/{StepEmploymentPersonalInfo-CT0xdIqB.js.map → StepEmploymentPersonalInfo-Dm54oUuJ.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-cJ0I66V3.js → StepFirstResponderPersonalInfo-ab_a-a76.js} +9 -9
- package/chunk/{StepFirstResponderPersonalInfo-cJ0I66V3.js.map → StepFirstResponderPersonalInfo-ab_a-a76.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-21K4JPLJ.js → StepFirstResponderPersonalInfo-reHh6B-r.js} +9 -9
- package/chunk/{StepFirstResponderPersonalInfo-21K4JPLJ.js.map → StepFirstResponderPersonalInfo-reHh6B-r.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-0vDhvX-f.js → StepGeneralIdentityPersonalInfoComponent-CfiOPTKL.js} +7 -7
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-0vDhvX-f.js.map → StepGeneralIdentityPersonalInfoComponent-CfiOPTKL.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-LtXbbdTk.js → StepGeneralIdentityPersonalInfoComponent-zArdBXOy.js} +7 -7
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-LtXbbdTk.js.map → StepGeneralIdentityPersonalInfoComponent-zArdBXOy.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CZ_NWsU5.js → StepHybridIdentityPersonalInfoComponent-Ddi_sFSV.js} +7 -7
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CZ_NWsU5.js.map → StepHybridIdentityPersonalInfoComponent-Ddi_sFSV.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D_kNxG4z.js → StepHybridIdentityPersonalInfoComponent-eKyrwWDx.js} +7 -7
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D_kNxG4z.js.map → StepHybridIdentityPersonalInfoComponent-eKyrwWDx.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-Cs9sCYeC.js → StepIDCheckLoop-CzOTam3f.js} +5 -5
- package/chunk/{StepIDCheckLoop-Cs9sCYeC.js.map → StepIDCheckLoop-CzOTam3f.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-y3B18jLz.js → StepIDCheckLoop-NVY6Na18.js} +5 -5
- package/chunk/{StepIDCheckLoop-y3B18jLz.js.map → StepIDCheckLoop-NVY6Na18.js.map} +1 -1
- package/chunk/StepIDCheckLoopOnfido-BN0JQSB1.js +4 -4
- package/chunk/StepIDCheckLoopOnfido-BiO4Prw4.js +4 -4
- package/chunk/{StepIDCheckLoopRegula-Ds4UjuR0.js → StepIDCheckLoopRegula--6TQ7fHt.js} +37 -37
- package/chunk/{StepIDCheckLoopRegula-B04QQ5kq.js.map → StepIDCheckLoopRegula--6TQ7fHt.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B04QQ5kq.js → StepIDCheckLoopRegula-CU0C7_yr.js} +20 -20
- package/chunk/{StepIDCheckLoopRegula-Ds4UjuR0.js.map → StepIDCheckLoopRegula-CU0C7_yr.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-ZnVGGI7J.js → StepLicensedProfessionalPersonalInfo-CNoYHtIc.js} +9 -9
- package/chunk/{StepLicensedProfessionalPersonalInfo-CGg2o0fx.js.map → StepLicensedProfessionalPersonalInfo-CNoYHtIc.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CGg2o0fx.js → StepLicensedProfessionalPersonalInfo-CsSeujol.js} +9 -9
- package/chunk/{StepLicensedProfessionalPersonalInfo-ZnVGGI7J.js.map → StepLicensedProfessionalPersonalInfo-CsSeujol.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-C_R16jsz.js → StepLowIncomePersonalInfo-B4ItgnSU.js} +8 -8
- package/chunk/{StepLowIncomePersonalInfo-C_R16jsz.js.map → StepLowIncomePersonalInfo-B4ItgnSU.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BiMIDkdF.js → StepLowIncomePersonalInfo-Bx2sI2Zj.js} +8 -8
- package/chunk/{StepLowIncomePersonalInfo-BiMIDkdF.js.map → StepLowIncomePersonalInfo-Bx2sI2Zj.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BRInNGaM.js → StepMedicalProfessionalPersonalInfo-3VniR-r2.js} +9 -9
- package/chunk/{StepMedicalProfessionalPersonalInfo-BRInNGaM.js.map → StepMedicalProfessionalPersonalInfo-3VniR-r2.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DBueJ-et.js → StepMedicalProfessionalPersonalInfo-BPcnz6WY.js} +9 -9
- package/chunk/{StepMedicalProfessionalPersonalInfo-DBueJ-et.js.map → StepMedicalProfessionalPersonalInfo-BPcnz6WY.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DV17pI3O.js → StepMemberPersonalInfo-BLSxbVT5.js} +8 -8
- package/chunk/{StepMemberPersonalInfo-AXsuKV9t.js.map → StepMemberPersonalInfo-BLSxbVT5.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-AXsuKV9t.js → StepMemberPersonalInfo-CqDljJ_G.js} +8 -8
- package/chunk/{StepMemberPersonalInfo-DV17pI3O.js.map → StepMemberPersonalInfo-CqDljJ_G.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DLA7Lwxq.js → StepMoverPersonalInfo-CEzqq77M.js} +6 -6
- package/chunk/{StepMoverPersonalInfo-DLA7Lwxq.js.map → StepMoverPersonalInfo-CEzqq77M.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-GPZw8v_N.js → StepMoverPersonalInfo-mDxH8pdD.js} +6 -6
- package/chunk/{StepMoverPersonalInfo-GPZw8v_N.js.map → StepMoverPersonalInfo-mDxH8pdD.js.map} +1 -1
- package/chunk/{StepOverrideComponent-6emc4t15.js → StepOverrideComponent-BRbDer8j.js} +25 -25
- package/chunk/{StepOverrideComponent-6emc4t15.js.map → StepOverrideComponent-BRbDer8j.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Cd1adOMO.js → StepOverrideComponent-DzKCqsTp.js} +16 -16
- package/chunk/{StepOverrideComponent-Cd1adOMO.js.map → StepOverrideComponent-DzKCqsTp.js.map} +1 -1
- package/chunk/StepSMSLoop-BJLKDaZG.js +4 -4
- package/chunk/StepSMSLoop-DYCZvGvb.js +4 -4
- package/chunk/StepSSO-B0NDIcgz.js +4 -4
- package/chunk/StepSSO-DYAr8DyT.js +4 -4
- package/chunk/{StepSocialSecurityNumber-BlD9PCHV.js → StepSocialSecurityNumber-Cj4IegXf.js} +15 -15
- package/chunk/{StepSocialSecurityNumber-BGsRsjM1.js.map → StepSocialSecurityNumber-Cj4IegXf.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BGsRsjM1.js → StepSocialSecurityNumber-D_6-yJHJ.js} +18 -18
- package/chunk/{StepSocialSecurityNumber-BlD9PCHV.js.map → StepSocialSecurityNumber-D_6-yJHJ.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-geh6wZ_D.js → StepStudentPersonalInfo-D7UYHkij.js} +9 -9
- package/chunk/{StepStudentPersonalInfo-B8ZqZXMN.js.map → StepStudentPersonalInfo-D7UYHkij.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-B8ZqZXMN.js → StepStudentPersonalInfo-DoCd4QzI.js} +38 -38
- package/chunk/{StepStudentPersonalInfo-geh6wZ_D.js.map → StepStudentPersonalInfo-DoCd4QzI.js.map} +1 -1
- package/chunk/{StepSuccess-CB3MM6Ok.js → StepSuccess-COzcG0d4.js} +32 -32
- package/chunk/{StepSuccess-CB3MM6Ok.js.map → StepSuccess-COzcG0d4.js.map} +1 -1
- package/chunk/{StepSuccess-CJKRWcmj.js → StepSuccess-DmBqpPul.js} +22 -22
- package/chunk/{StepSuccess-CJKRWcmj.js.map → StepSuccess-DmBqpPul.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-PSnqhgwN.js → StepTeacherPersonalInfo-C-gLF7UY.js} +9 -9
- package/chunk/{StepTeacherPersonalInfo-Bw1E5Mjo.js.map → StepTeacherPersonalInfo-C-gLF7UY.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-Bw1E5Mjo.js → StepTeacherPersonalInfo-CK9KHo6m.js} +9 -9
- package/chunk/{StepTeacherPersonalInfo-PSnqhgwN.js.map → StepTeacherPersonalInfo-CK9KHo6m.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-CemU-J3W.js +4 -4
- package/chunk/StepThirdPartyLoop-DpCPBnq_.js +4 -4
- package/chunk/{TeacherSchoolComponent-CZ_Ju_nz.js → TeacherSchoolComponent-5NrzG4iI.js} +5 -5
- package/chunk/{TeacherSchoolComponent-CZ_Ju_nz.js.map → TeacherSchoolComponent-5NrzG4iI.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-Dfb49YI1.js → TeacherSchoolComponent-CqCF369X.js} +5 -5
- package/chunk/{TeacherSchoolComponent-Dfb49YI1.js.map → TeacherSchoolComponent-CqCF369X.js.map} +1 -1
- package/chunk/ThreatMetrix-BZ2mAsXV.js +4 -4
- package/chunk/ar-Dv80pKr-.js +4 -4
- package/chunk/bg-BdSc6G6N.js +4 -4
- package/chunk/bn-IN-CrUr8JOI.js +4 -4
- package/chunk/countryUtils-DaKrkKMK.js +4 -4
- package/chunk/countryUtils-H8nsbqSo.js +4 -4
- package/chunk/cs-DpA5-rH7.js +4 -4
- package/chunk/da-C3-FJEY_.js +4 -4
- package/chunk/de-jPL9fRXR.js +4 -4
- package/chunk/downshift.esm-Cj6_BOEM.js +4 -4
- package/chunk/downshift.esm-LvcDlmEB.js +4 -4
- package/chunk/el-DlrR5LMm.js +4 -4
- package/chunk/en-GB-W9d6ZCN1.js +4 -4
- package/chunk/es-B6OTYL4o.js +4 -4
- package/chunk/es-ES-xHUvZoL6.js +4 -4
- package/chunk/et-DslGQ4U9.js +4 -4
- package/chunk/fa-CyMH0fVT.js +4 -4
- package/chunk/fi-DlWjgmmJ.js +4 -4
- package/chunk/fr-CA-CNlAWAGz.js +4 -4
- package/chunk/fr-CKAMq4d5.js +4 -4
- package/chunk/ga-DtNqo3ZG.js +4 -4
- package/chunk/hi-IN-D_eGFRvE.js +4 -4
- package/chunk/hr-DTuTLrLg.js +4 -4
- package/chunk/hu-DSRQQvFq.js +4 -4
- package/chunk/id-Dt1qRS4w.js +4 -4
- package/chunk/is-DFKTfJF9.js +4 -4
- package/chunk/it-DAMkVYDo.js +4 -4
- package/chunk/iw-B-0MBQrz.js +4 -4
- package/chunk/ja-C5qGKliw.js +4 -4
- package/chunk/kk-Cv_pOPga.js +4 -4
- package/chunk/ko-DF10ih6D.js +4 -4
- package/chunk/lo-1CgtDqdu.js +4 -4
- package/chunk/lt-5ciyKS_n.js +4 -4
- package/chunk/lv-BVU8SzMV.js +4 -4
- package/chunk/mocks-BxRYqs3S.js +4 -4
- package/chunk/mocks-DhaSEfKH.js +4 -4
- package/chunk/ms-DfT-JI0V.js +4 -4
- package/chunk/nl-BE-DWOhBddM.js +4 -4
- package/chunk/nl-CAa4TZix.js +4 -4
- package/chunk/no-BDEZtPNY.js +4 -4
- package/chunk/pl-cJhZ0uIf.js +4 -4
- package/chunk/pt-BR-BRTaX_c8.js +4 -4
- package/chunk/pt-DUpqsAm0.js +4 -4
- package/chunk/ro-C7LObCGu.js +4 -4
- package/chunk/ru-Cn52qo44.js +4 -4
- package/chunk/sk-CyBj5Lrr.js +4 -4
- package/chunk/sl-B83EBD3O.js +4 -4
- package/chunk/sr-BWltsfGo.js +4 -4
- package/chunk/sv-WoxLH2NJ.js +4 -4
- package/chunk/sw-DVbHvR4N.js +4 -4
- package/chunk/ta-CCOsIMmw.js +4 -4
- package/chunk/th-OmrOHkUd.js +4 -4
- package/chunk/tl-SPm1AiBZ.js +4 -4
- package/chunk/tr-CaKTs3Fq.js +4 -4
- package/chunk/uk-BUsn2zPB.js +4 -4
- package/chunk/ur-Cm2EOQrR.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-DAgrG_FJ.js → useCollectFieldsEndpoint-CWkFjx5s.js} +9 -9
- package/chunk/{useCollectFieldsEndpoint-DAgrG_FJ.js.map → useCollectFieldsEndpoint-CWkFjx5s.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-ielmtTHm.js → useCollectFieldsEndpoint-DgcqtYAq.js} +15 -15
- package/chunk/{useCollectFieldsEndpoint-ielmtTHm.js.map → useCollectFieldsEndpoint-DgcqtYAq.js.map} +1 -1
- package/chunk/useMetrics-BxQBcyhj.js +4 -4
- package/chunk/useMetrics-wi33JsKT.js +4 -4
- package/chunk/vi-gUtmT7wP.js +4 -4
- package/chunk/zh-Bri8XWQG.js +4 -4
- package/chunk/zh-HK-K7X0SaAv.js +4 -4
- package/chunk/zu-DPTVvU5o.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 +1044 -1072
- package/sheerid.js.map +1 -1
package/sheerid.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun 24 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.248.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1782334790592
|
|
5
|
+
* BUILD_DATE: Wed Jun 24 2026 20:59:50 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 8cb06b1fe5288b47f3dca59fb4c49ff9b8bc12b4
|
|
7
7
|
*/
|
|
8
8
|
//#region \0rolldown/runtime.js
|
|
9
9
|
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {
|
|
@@ -14392,7 +14392,7 @@ var Ou = {
|
|
|
14392
14392
|
"collectMilitaryStatus",
|
|
14393
14393
|
"collectActiveMilitaryPersonalInfo",
|
|
14394
14394
|
"collectInactiveMilitaryPersonalInfo"
|
|
14395
|
-
]), pd = (e, t, n) => fd.has(e) ? `${q().restApi.serviceUrl}rest/v2/verification/${n}/step/collectMilitaryPersonalInfo` : t.submissionUrl, md = (e, t) => `${q().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, hd = (e, t, n) => `${q().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${n}`, gd = () => "2.
|
|
14395
|
+
]), pd = (e, t, n) => fd.has(e) ? `${q().restApi.serviceUrl}rest/v2/verification/${n}/step/collectMilitaryPersonalInfo` : t.submissionUrl, md = (e, t) => `${q().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, hd = (e, t, n) => `${q().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${n}`, gd = () => "2.248.0", _d = () => window.location.href, vd = () => {
|
|
14396
14396
|
try {
|
|
14397
14397
|
let e = new URLSearchParams(window.location.search);
|
|
14398
14398
|
if (e.get("installPageUrl")) return decodeURIComponent(e.get(Pi));
|
|
@@ -19932,69 +19932,11 @@ var _y = {
|
|
|
19932
19932
|
children: [a && /* @__PURE__ */ (0, J.jsx)("style", { children: a }), n]
|
|
19933
19933
|
})
|
|
19934
19934
|
});
|
|
19935
|
-
}, Iy = {
|
|
19936
|
-
|
|
19937
|
-
|
|
19938
|
-
|
|
19939
|
-
|
|
19940
|
-
"doc-upload-considerations": "default",
|
|
19941
|
-
"org-search-overlay": "default",
|
|
19942
|
-
"org-selected-display": "default",
|
|
19943
|
-
"hc-open-org-warning": "control",
|
|
19944
|
-
"kount-device-data": "default",
|
|
19945
|
-
captcha: "default"
|
|
19946
|
-
}, Ly = "_flagOverride", Ry = (e = Iy, t = window.location.href) => new URL(t).searchParams.getAll(Ly).reduce((t, n) => {
|
|
19947
|
-
let [r, i] = n.split(":");
|
|
19948
|
-
if (!r || !i || !Object.keys(e).includes(r)) return t;
|
|
19949
|
-
let a = i === "true" || i === "false" ? JSON.parse(i) : i;
|
|
19950
|
-
return {
|
|
19951
|
-
...t,
|
|
19952
|
-
[r]: a
|
|
19953
|
-
};
|
|
19954
|
-
}, {}), zy = () => {
|
|
19955
|
-
let e = ky(), t = Ry();
|
|
19956
|
-
return {
|
|
19957
|
-
...e,
|
|
19958
|
-
...t
|
|
19959
|
-
};
|
|
19960
|
-
};
|
|
19961
|
-
function By(e) {
|
|
19962
|
-
return zy()[e];
|
|
19963
|
-
}
|
|
19964
|
-
//#endregion
|
|
19965
|
-
//#region src/lib/kount/useKount.ts
|
|
19966
|
-
var Vy = () => crypto.randomUUID().replace(/-/g, ""), Hy = () => {
|
|
19967
|
-
let { host: e } = window.KOUNT || {};
|
|
19968
|
-
if (!e || !e.match(/^(ssl|tst)\.kaptcha\.com$/)) throw Error("Kount environment not set properly");
|
|
19969
|
-
return e;
|
|
19970
|
-
}, Uy = (e) => {
|
|
19971
|
-
let t = By("kount-device-data") === "kount-enabled", { currentStep: n } = e?.verificationResponse || {};
|
|
19972
|
-
g.useEffect(() => {
|
|
19973
|
-
if (!(!t || !e?.viewModel || !ue(n))) try {
|
|
19974
|
-
let t = e.viewModel.metadata?.kSessionId;
|
|
19975
|
-
if (!t) {
|
|
19976
|
-
t = Vy();
|
|
19977
|
-
let n = G(e.viewModel, (e) => {
|
|
19978
|
-
e.metadata ??= {}, e.metadata.kSessionId = t;
|
|
19979
|
-
});
|
|
19980
|
-
e.updateViewModel(n);
|
|
19981
|
-
}
|
|
19982
|
-
let n = document.querySelector("script[data-kount-ddc]");
|
|
19983
|
-
if (n) {
|
|
19984
|
-
if (n.dataset.kountDdc === t) return;
|
|
19985
|
-
n.remove();
|
|
19986
|
-
}
|
|
19987
|
-
let r = document.createElement("script");
|
|
19988
|
-
r.src = `https://${Hy()}/collect/sdk?m=508630238277805&s=${t}`, r.async = !0, r.setAttribute("data-kount-ddc", t), document.body.appendChild(r);
|
|
19989
|
-
} catch (e) {
|
|
19990
|
-
N.error(e, "Failed to load Kount SDK");
|
|
19991
|
-
}
|
|
19992
|
-
}, [e, t]);
|
|
19993
|
-
}, Wy = {}, Gy = (e, t) => {
|
|
19994
|
-
N.log(`overrideComponent registering ${e}`), Wy[e] = t;
|
|
19995
|
-
}, Ky = (e) => Wy[e] ? (N.log(`getOverridenComponent returning ${e}`), Wy[e]) : null, qy = () => {
|
|
19996
|
-
Wy = {};
|
|
19997
|
-
}, Jy = ({ verificationService: e, fallbackLogo: t }) => {
|
|
19935
|
+
}, Iy = {}, Ly = (e, t) => {
|
|
19936
|
+
N.log(`overrideComponent registering ${e}`), Iy[e] = t;
|
|
19937
|
+
}, Ry = (e) => Iy[e] ? (N.log(`getOverridenComponent returning ${e}`), Iy[e]) : null, zy = () => {
|
|
19938
|
+
Iy = {};
|
|
19939
|
+
}, By = ({ verificationService: e, fallbackLogo: t }) => {
|
|
19998
19940
|
let n = rf(e.programTheme);
|
|
19999
19941
|
return n ? /* @__PURE__ */ (0, J.jsx)("div", {
|
|
20000
19942
|
className: "sid-logo sid-l-space-top-md",
|
|
@@ -20008,14 +19950,14 @@ var Vy = () => crypto.randomUUID().replace(/-/g, ""), Hy = () => {
|
|
|
20008
19950
|
})
|
|
20009
19951
|
})
|
|
20010
19952
|
}) : t || null;
|
|
20011
|
-
},
|
|
19953
|
+
}, Vy = ({ children: e, ...t }) => /* @__PURE__ */ (0, J.jsx)("a", {
|
|
20012
19954
|
target: "_blank",
|
|
20013
19955
|
rel: "noopener noreferrer",
|
|
20014
19956
|
...t,
|
|
20015
19957
|
children: e
|
|
20016
|
-
}),
|
|
19958
|
+
}), Hy = ({ verificationService: e, linkText: t }) => {
|
|
20017
19959
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
20018
|
-
return n ? /* @__PURE__ */ (0, J.jsx)(
|
|
19960
|
+
return n ? /* @__PURE__ */ (0, J.jsx)(Vy, {
|
|
20019
19961
|
className: "sid-faq sid-link",
|
|
20020
19962
|
href: mf(i, n, r, Yo(e.viewModel), e.verificationResponse),
|
|
20021
19963
|
children: t || /* @__PURE__ */ (0, J.jsx)(H, {
|
|
@@ -20023,19 +19965,19 @@ var Vy = () => crypto.randomUUID().replace(/-/g, ""), Hy = () => {
|
|
|
20023
19965
|
defaultMessage: "Get help"
|
|
20024
19966
|
})
|
|
20025
19967
|
}) : null;
|
|
20026
|
-
},
|
|
19968
|
+
}, Uy = /* @__PURE__ */ (0, J.jsx)(H, {
|
|
20027
19969
|
id: "poweredBy",
|
|
20028
19970
|
defaultMessage: "Verification services powered by SheerID."
|
|
20029
|
-
}),
|
|
19971
|
+
}), Wy = ({ verificationService: e, isCentered: t, variant: n = "default" }) => {
|
|
20030
19972
|
switch (n) {
|
|
20031
19973
|
case "poweredby": return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20032
19974
|
className: "sid-footer__powered-by-container-experiment",
|
|
20033
19975
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
20034
19976
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
20035
|
-
children:
|
|
19977
|
+
children: Uy
|
|
20036
19978
|
}), /* @__PURE__ */ (0, J.jsx)("div", {
|
|
20037
19979
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
20038
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
19980
|
+
children: /* @__PURE__ */ (0, J.jsx)(Hy, { verificationService: e })
|
|
20039
19981
|
})]
|
|
20040
19982
|
});
|
|
20041
19983
|
case "verificationby": return /* @__PURE__ */ (0, J.jsx)("div", {
|
|
@@ -20048,49 +19990,49 @@ var Vy = () => crypto.randomUUID().replace(/-/g, ""), Hy = () => {
|
|
|
20048
19990
|
alt: "",
|
|
20049
19991
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
20050
19992
|
})
|
|
20051
|
-
}),
|
|
19993
|
+
}), Uy]
|
|
20052
19994
|
})
|
|
20053
19995
|
});
|
|
20054
19996
|
default: return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20055
19997
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
20056
19998
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
20057
19999
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
20058
|
-
children:
|
|
20000
|
+
children: Uy
|
|
20059
20001
|
}), /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20060
20002
|
className: t ? "sid-l-space-top-sm" : "",
|
|
20061
|
-
children: ["\xA0", /* @__PURE__ */ (0, J.jsx)(
|
|
20003
|
+
children: ["\xA0", /* @__PURE__ */ (0, J.jsx)(Hy, { verificationService: e })]
|
|
20062
20004
|
})]
|
|
20063
20005
|
});
|
|
20064
20006
|
}
|
|
20065
|
-
},
|
|
20066
|
-
let e =
|
|
20007
|
+
}, Gy = ot, Ky = Jt, qy = () => Gy((e) => e.programId), Jy = () => Gy((e) => e.programTheme), Yy = () => Gy((e) => e.verificationResponse?.verificationId), Xy = () => Gy((e) => e.verificationResponse?.segment), Zy = () => Gy((e) => e.verificationResponse), Qy = () => Gy((e) => e.viewModel), $y = () => {
|
|
20008
|
+
let e = Ky();
|
|
20067
20009
|
return {
|
|
20068
|
-
isLoading:
|
|
20069
|
-
loadingStep:
|
|
20070
|
-
isErrored:
|
|
20071
|
-
fieldValidationErrors:
|
|
20072
|
-
messages:
|
|
20073
|
-
verificationResponse:
|
|
20074
|
-
viewModel:
|
|
20075
|
-
programTheme:
|
|
20076
|
-
previousViewModel:
|
|
20077
|
-
previousVerificationResponse:
|
|
20078
|
-
programId:
|
|
20079
|
-
formValidationOptions:
|
|
20080
|
-
overrideStep:
|
|
20010
|
+
isLoading: Gy((e) => e.isLoading),
|
|
20011
|
+
loadingStep: Gy((e) => e.loadingStep),
|
|
20012
|
+
isErrored: Gy((e) => e.isErrored),
|
|
20013
|
+
fieldValidationErrors: Gy((e) => e.fieldValidationErrors),
|
|
20014
|
+
messages: Gy((e) => e.messages),
|
|
20015
|
+
verificationResponse: Zy(),
|
|
20016
|
+
viewModel: Qy(),
|
|
20017
|
+
programTheme: Jy(),
|
|
20018
|
+
previousViewModel: Gy((e) => e.previousViewModel),
|
|
20019
|
+
previousVerificationResponse: Gy((e) => e.previousVerificationResponse),
|
|
20020
|
+
programId: qy(),
|
|
20021
|
+
formValidationOptions: Gy((e) => e.formValidationOptions),
|
|
20022
|
+
overrideStep: Gy((e) => e.overrideStep),
|
|
20081
20023
|
fetchNewVerificationRequest: eg(e),
|
|
20082
20024
|
fetchExistingVerificationRequest: tg(e),
|
|
20083
20025
|
updateViewModel: ag(e),
|
|
20084
|
-
updateLocale: og(e,
|
|
20026
|
+
updateLocale: og(e, qy()),
|
|
20085
20027
|
updateProgramTheme: sg(e),
|
|
20086
20028
|
updateFieldValidationErrors: lg(e),
|
|
20087
|
-
submitStep: ug(e,
|
|
20029
|
+
submitStep: ug(e, Jy()),
|
|
20088
20030
|
resetState: cg(e)
|
|
20089
20031
|
};
|
|
20090
20032
|
};
|
|
20091
20033
|
//#endregion
|
|
20092
20034
|
//#region src/components/Message/Message.tsx
|
|
20093
|
-
function
|
|
20035
|
+
function eb(e) {
|
|
20094
20036
|
let { href: t, children: n } = e;
|
|
20095
20037
|
if (!URL.canParse(t)) return /* @__PURE__ */ (0, J.jsx)(J.Fragment, { children: n });
|
|
20096
20038
|
let r = new URL(t);
|
|
@@ -20109,53 +20051,53 @@ function cb(e) {
|
|
|
20109
20051
|
children: g.Children.count(n) > 0 ? n : r.toString()
|
|
20110
20052
|
});
|
|
20111
20053
|
}
|
|
20112
|
-
function
|
|
20113
|
-
let { locale: t, children: n } = e, r =
|
|
20114
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
20115
|
-
href: mf(
|
|
20054
|
+
function tb(e) {
|
|
20055
|
+
let { locale: t, children: n } = e, r = qy();
|
|
20056
|
+
return /* @__PURE__ */ (0, J.jsx)(Vy, {
|
|
20057
|
+
href: mf(Jy(), void 0, r, t, Zy()),
|
|
20116
20058
|
className: "sid-faq sid-link",
|
|
20117
20059
|
children: n
|
|
20118
20060
|
});
|
|
20119
20061
|
}
|
|
20120
|
-
function
|
|
20121
|
-
return e ? /* @__PURE__ */ (0, J.jsx)(
|
|
20062
|
+
function nb({ privacyPolicyHref: e, children: t }) {
|
|
20063
|
+
return e ? /* @__PURE__ */ (0, J.jsx)(Vy, {
|
|
20122
20064
|
href: e,
|
|
20123
20065
|
className: "sid-privacy-policy sid-link",
|
|
20124
20066
|
children: t
|
|
20125
20067
|
}) : t;
|
|
20126
20068
|
}
|
|
20127
|
-
function
|
|
20128
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
20069
|
+
function rb({ children: e }) {
|
|
20070
|
+
return /* @__PURE__ */ (0, J.jsx)(Vy, {
|
|
20129
20071
|
href: Bi,
|
|
20130
20072
|
className: "sid-privacy-policy sid-link",
|
|
20131
20073
|
children: e
|
|
20132
20074
|
});
|
|
20133
20075
|
}
|
|
20134
|
-
function
|
|
20135
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
20076
|
+
function ib({ programId: e, locale: t, children: n }) {
|
|
20077
|
+
return /* @__PURE__ */ (0, J.jsx)(Vy, {
|
|
20136
20078
|
href: `${Ri}&pid=${e}&locale=${Xo(t)}`,
|
|
20137
20079
|
className: "sid-link",
|
|
20138
20080
|
children: n
|
|
20139
20081
|
});
|
|
20140
20082
|
}
|
|
20141
|
-
function
|
|
20142
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
20083
|
+
function ab({ type: e, locale: t, children: n }) {
|
|
20084
|
+
return /* @__PURE__ */ (0, J.jsx)(eb, {
|
|
20143
20085
|
href: `${zi}/${Xo(t)}/help-center/${e}-tips`,
|
|
20144
20086
|
className: "sid-link",
|
|
20145
20087
|
children: n
|
|
20146
20088
|
});
|
|
20147
20089
|
}
|
|
20148
|
-
function
|
|
20090
|
+
function ob({ children: e }) {
|
|
20149
20091
|
return /* @__PURE__ */ (0, J.jsx)(J.Fragment, { children: e });
|
|
20150
20092
|
}
|
|
20151
|
-
function
|
|
20093
|
+
function sb() {
|
|
20152
20094
|
return null;
|
|
20153
20095
|
}
|
|
20154
|
-
function
|
|
20096
|
+
function cb() {
|
|
20155
20097
|
return null;
|
|
20156
20098
|
}
|
|
20157
|
-
function
|
|
20158
|
-
let { i18n: n, t: r } = zo(), i =
|
|
20099
|
+
function lb({ id: e, context: t }) {
|
|
20100
|
+
let { i18n: n, t: r } = zo(), i = qy(), a = Jy(), o = Yy(), s = n.language, c = r("companyName"), l = (0, g.useMemo)(() => ({
|
|
20159
20101
|
programId: i,
|
|
20160
20102
|
verificationId: o,
|
|
20161
20103
|
locale: s,
|
|
@@ -20171,45 +20113,45 @@ function _b({ id: e, context: t }) {
|
|
|
20171
20113
|
context: t,
|
|
20172
20114
|
t: r,
|
|
20173
20115
|
components: (0, g.useMemo)(() => ({
|
|
20174
|
-
aboutSheerID: /* @__PURE__ */ (0, J.jsx)(
|
|
20175
|
-
cloudflarePrivacyPolicy: /* @__PURE__ */ (0, J.jsx)(
|
|
20176
|
-
feedbackFormLink: /* @__PURE__ */ (0, J.jsx)(
|
|
20116
|
+
aboutSheerID: /* @__PURE__ */ (0, J.jsx)(tb, {}),
|
|
20117
|
+
cloudflarePrivacyPolicy: /* @__PURE__ */ (0, J.jsx)(rb, {}),
|
|
20118
|
+
feedbackFormLink: /* @__PURE__ */ (0, J.jsx)(ib, {
|
|
20177
20119
|
programId: i || "",
|
|
20178
20120
|
locale: s
|
|
20179
20121
|
}),
|
|
20180
|
-
privacyPolicy: /* @__PURE__ */ (0, J.jsx)(
|
|
20181
|
-
selfieTipsLink: /* @__PURE__ */ (0, J.jsx)(
|
|
20122
|
+
privacyPolicy: /* @__PURE__ */ (0, J.jsx)(nb, { privacyPolicyHref: af(a) }),
|
|
20123
|
+
selfieTipsLink: /* @__PURE__ */ (0, J.jsx)(ab, {
|
|
20182
20124
|
type: "selfie",
|
|
20183
20125
|
locale: s
|
|
20184
20126
|
}),
|
|
20185
|
-
imageTipsLink: /* @__PURE__ */ (0, J.jsx)(
|
|
20127
|
+
imageTipsLink: /* @__PURE__ */ (0, J.jsx)(ab, {
|
|
20186
20128
|
type: "image",
|
|
20187
20129
|
locale: s
|
|
20188
20130
|
}),
|
|
20189
|
-
a: /* @__PURE__ */ (0, J.jsx)(
|
|
20131
|
+
a: /* @__PURE__ */ (0, J.jsx)(eb, {}),
|
|
20190
20132
|
br: /* @__PURE__ */ (0, J.jsx)("br", {}),
|
|
20191
20133
|
b: /* @__PURE__ */ (0, J.jsx)("strong", {}),
|
|
20192
20134
|
strong: /* @__PURE__ */ (0, J.jsx)("strong", {}),
|
|
20193
20135
|
i: /* @__PURE__ */ (0, J.jsx)("em", {}),
|
|
20194
20136
|
em: /* @__PURE__ */ (0, J.jsx)("em", {}),
|
|
20195
|
-
code: /* @__PURE__ */ (0, J.jsx)(
|
|
20137
|
+
code: /* @__PURE__ */ (0, J.jsx)(ob, {}),
|
|
20196
20138
|
span: /* @__PURE__ */ (0, J.jsx)("span", {}),
|
|
20197
20139
|
p: /* @__PURE__ */ (0, J.jsx)("p", {}),
|
|
20198
20140
|
ul: /* @__PURE__ */ (0, J.jsx)("ul", {}),
|
|
20199
20141
|
ol: /* @__PURE__ */ (0, J.jsx)("ol", {}),
|
|
20200
20142
|
li: /* @__PURE__ */ (0, J.jsx)("li", {}),
|
|
20201
|
-
u: /* @__PURE__ */ (0, J.jsx)(
|
|
20202
|
-
img: /* @__PURE__ */ (0, J.jsx)(
|
|
20143
|
+
u: /* @__PURE__ */ (0, J.jsx)(ob, {}),
|
|
20144
|
+
img: /* @__PURE__ */ (0, J.jsx)(cb, {}),
|
|
20203
20145
|
h1: /* @__PURE__ */ (0, J.jsx)("div", {}),
|
|
20204
20146
|
h2: /* @__PURE__ */ (0, J.jsx)("div", {}),
|
|
20205
20147
|
h3: /* @__PURE__ */ (0, J.jsx)("div", {}),
|
|
20206
20148
|
h4: /* @__PURE__ */ (0, J.jsx)("div", {}),
|
|
20207
20149
|
h5: /* @__PURE__ */ (0, J.jsx)("div", {}),
|
|
20208
20150
|
h6: /* @__PURE__ */ (0, J.jsx)("div", {}),
|
|
20209
|
-
hr: /* @__PURE__ */ (0, J.jsx)(
|
|
20151
|
+
hr: /* @__PURE__ */ (0, J.jsx)(sb, {}),
|
|
20210
20152
|
pre: /* @__PURE__ */ (0, J.jsx)("div", {}),
|
|
20211
20153
|
blockquote: /* @__PURE__ */ (0, J.jsx)("div", {}),
|
|
20212
|
-
table: /* @__PURE__ */ (0, J.jsx)(
|
|
20154
|
+
table: /* @__PURE__ */ (0, J.jsx)(sb, {})
|
|
20213
20155
|
}), [
|
|
20214
20156
|
i,
|
|
20215
20157
|
s,
|
|
@@ -20219,64 +20161,94 @@ function _b({ id: e, context: t }) {
|
|
|
20219
20161
|
});
|
|
20220
20162
|
}
|
|
20221
20163
|
//#endregion
|
|
20164
|
+
//#region ../packages/shared/src/flags.ts
|
|
20165
|
+
var ub = {
|
|
20166
|
+
"doc-upload-redesign-use-legacy-message-keys": !1,
|
|
20167
|
+
"doc-upload-may24": "default",
|
|
20168
|
+
"include-cvec-field-france-student": "default",
|
|
20169
|
+
"docUpload-assertion-checklist": "default",
|
|
20170
|
+
"doc-upload-considerations": "default",
|
|
20171
|
+
"org-search-overlay": "default",
|
|
20172
|
+
"org-selected-display": "default",
|
|
20173
|
+
"hc-open-org-warning": "control",
|
|
20174
|
+
captcha: "default"
|
|
20175
|
+
}, db = "_flagOverride", fb = (e = ub, t = window.location.href) => new URL(t).searchParams.getAll(db).reduce((t, n) => {
|
|
20176
|
+
let [r, i] = n.split(":");
|
|
20177
|
+
if (!r || !i || !Object.keys(e).includes(r)) return t;
|
|
20178
|
+
let a = i === "true" || i === "false" ? JSON.parse(i) : i;
|
|
20179
|
+
return {
|
|
20180
|
+
...t,
|
|
20181
|
+
[r]: a
|
|
20182
|
+
};
|
|
20183
|
+
}, {}), pb = () => {
|
|
20184
|
+
let e = ky(), t = fb();
|
|
20185
|
+
return {
|
|
20186
|
+
...e,
|
|
20187
|
+
...t
|
|
20188
|
+
};
|
|
20189
|
+
};
|
|
20190
|
+
function mb(e) {
|
|
20191
|
+
return pb()[e];
|
|
20192
|
+
}
|
|
20193
|
+
//#endregion
|
|
20222
20194
|
//#region src/components/FormFooter/FooterTextComponent.tsx
|
|
20223
|
-
var
|
|
20224
|
-
let { currentStep: e } =
|
|
20195
|
+
var hb = () => {
|
|
20196
|
+
let { currentStep: e } = Zy(), t = Jy(), n = mb("captcha") === "enabled", r = tf(t) || n;
|
|
20225
20197
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20226
20198
|
className: "sid-footer__text",
|
|
20227
|
-
children: [/* @__PURE__ */ (0, J.jsx)(
|
|
20199
|
+
children: [/* @__PURE__ */ (0, J.jsx)(lb, {
|
|
20228
20200
|
id: "footerText",
|
|
20229
20201
|
context: e
|
|
20230
20202
|
}), r && ue(e) && /* @__PURE__ */ (0, J.jsx)("p", {
|
|
20231
20203
|
className: "sid-footer__captcha-text",
|
|
20232
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
20204
|
+
children: /* @__PURE__ */ (0, J.jsx)(lb, { id: "captchaFooterText" })
|
|
20233
20205
|
})]
|
|
20234
20206
|
});
|
|
20235
20207
|
};
|
|
20236
20208
|
//#endregion
|
|
20237
20209
|
//#region ../node_modules/redux/es/redux.js
|
|
20238
|
-
function
|
|
20210
|
+
function gb(e) {
|
|
20239
20211
|
return "Minified Redux error #" + e + "; visit https://redux.js.org/Errors?code=" + e + " for the full message or use the non-minified dev environment for full errors. ";
|
|
20240
20212
|
}
|
|
20241
|
-
var
|
|
20213
|
+
var _b = (function() {
|
|
20242
20214
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
20243
|
-
})(),
|
|
20215
|
+
})(), vb = function() {
|
|
20244
20216
|
return Math.random().toString(36).substring(7).split("").join(".");
|
|
20245
|
-
},
|
|
20246
|
-
INIT: "@@redux/INIT" +
|
|
20247
|
-
REPLACE: "@@redux/REPLACE" +
|
|
20217
|
+
}, yb = {
|
|
20218
|
+
INIT: "@@redux/INIT" + vb(),
|
|
20219
|
+
REPLACE: "@@redux/REPLACE" + vb(),
|
|
20248
20220
|
PROBE_UNKNOWN_ACTION: function() {
|
|
20249
|
-
return "@@redux/PROBE_UNKNOWN_ACTION" +
|
|
20221
|
+
return "@@redux/PROBE_UNKNOWN_ACTION" + vb();
|
|
20250
20222
|
}
|
|
20251
20223
|
};
|
|
20252
|
-
function
|
|
20224
|
+
function bb(e) {
|
|
20253
20225
|
if (typeof e != "object" || !e) return !1;
|
|
20254
20226
|
for (var t = e; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
|
|
20255
20227
|
return Object.getPrototypeOf(e) === t;
|
|
20256
20228
|
}
|
|
20257
|
-
function
|
|
20229
|
+
function xb(e, t, n) {
|
|
20258
20230
|
var r;
|
|
20259
|
-
if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(
|
|
20231
|
+
if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(gb(0));
|
|
20260
20232
|
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
|
|
20261
|
-
if (typeof n != "function") throw Error(
|
|
20262
|
-
return n(
|
|
20233
|
+
if (typeof n != "function") throw Error(gb(1));
|
|
20234
|
+
return n(xb)(e, t);
|
|
20263
20235
|
}
|
|
20264
|
-
if (typeof e != "function") throw Error(
|
|
20236
|
+
if (typeof e != "function") throw Error(gb(2));
|
|
20265
20237
|
var i = e, a = t, o = [], s = o, c = !1;
|
|
20266
20238
|
function l() {
|
|
20267
20239
|
s === o && (s = o.slice());
|
|
20268
20240
|
}
|
|
20269
20241
|
function u() {
|
|
20270
|
-
if (c) throw Error(
|
|
20242
|
+
if (c) throw Error(gb(3));
|
|
20271
20243
|
return a;
|
|
20272
20244
|
}
|
|
20273
20245
|
function d(e) {
|
|
20274
|
-
if (typeof e != "function") throw Error(
|
|
20275
|
-
if (c) throw Error(
|
|
20246
|
+
if (typeof e != "function") throw Error(gb(4));
|
|
20247
|
+
if (c) throw Error(gb(5));
|
|
20276
20248
|
var t = !0;
|
|
20277
20249
|
return l(), s.push(e), function() {
|
|
20278
20250
|
if (t) {
|
|
20279
|
-
if (c) throw Error(
|
|
20251
|
+
if (c) throw Error(gb(6));
|
|
20280
20252
|
t = !1, l();
|
|
20281
20253
|
var n = s.indexOf(e);
|
|
20282
20254
|
s.splice(n, 1), o = null;
|
|
@@ -20284,9 +20256,9 @@ function wb(e, t, n) {
|
|
|
20284
20256
|
};
|
|
20285
20257
|
}
|
|
20286
20258
|
function f(e) {
|
|
20287
|
-
if (!
|
|
20288
|
-
if (e.type === void 0) throw Error(
|
|
20289
|
-
if (c) throw Error(
|
|
20259
|
+
if (!bb(e)) throw Error(gb(7));
|
|
20260
|
+
if (e.type === void 0) throw Error(gb(8));
|
|
20261
|
+
if (c) throw Error(gb(9));
|
|
20290
20262
|
try {
|
|
20291
20263
|
c = !0, a = i(a, e);
|
|
20292
20264
|
} finally {
|
|
@@ -20299,31 +20271,31 @@ function wb(e, t, n) {
|
|
|
20299
20271
|
return e;
|
|
20300
20272
|
}
|
|
20301
20273
|
function p(e) {
|
|
20302
|
-
if (typeof e != "function") throw Error(
|
|
20303
|
-
i = e, f({ type:
|
|
20274
|
+
if (typeof e != "function") throw Error(gb(10));
|
|
20275
|
+
i = e, f({ type: yb.REPLACE });
|
|
20304
20276
|
}
|
|
20305
20277
|
function m() {
|
|
20306
20278
|
var e, t = d;
|
|
20307
20279
|
return e = { subscribe: function(e) {
|
|
20308
|
-
if (typeof e != "object" || !e) throw Error(
|
|
20280
|
+
if (typeof e != "object" || !e) throw Error(gb(11));
|
|
20309
20281
|
function n() {
|
|
20310
20282
|
e.next && e.next(u());
|
|
20311
20283
|
}
|
|
20312
20284
|
return n(), { unsubscribe: t(n) };
|
|
20313
|
-
} }, e[
|
|
20285
|
+
} }, e[_b] = function() {
|
|
20314
20286
|
return this;
|
|
20315
20287
|
}, e;
|
|
20316
20288
|
}
|
|
20317
|
-
return f({ type:
|
|
20289
|
+
return f({ type: yb.INIT }), r = {
|
|
20318
20290
|
dispatch: f,
|
|
20319
20291
|
subscribe: d,
|
|
20320
20292
|
getState: u,
|
|
20321
20293
|
replaceReducer: p
|
|
20322
|
-
}, r[
|
|
20294
|
+
}, r[_b] = m, r;
|
|
20323
20295
|
}
|
|
20324
20296
|
//#endregion
|
|
20325
20297
|
//#region src/lib/VerificationService/verificationServiceReducer.ts
|
|
20326
|
-
var
|
|
20298
|
+
var Sb = [
|
|
20327
20299
|
"activeDutyStartDate",
|
|
20328
20300
|
"address1",
|
|
20329
20301
|
"birthDate",
|
|
@@ -20344,7 +20316,7 @@ var Tb = [
|
|
|
20344
20316
|
"state",
|
|
20345
20317
|
"status",
|
|
20346
20318
|
"statuses"
|
|
20347
|
-
],
|
|
20319
|
+
], Cb = Object.freeze({
|
|
20348
20320
|
programId: void 0,
|
|
20349
20321
|
programTheme: void 0,
|
|
20350
20322
|
isLoading: !0,
|
|
@@ -20357,7 +20329,7 @@ var Tb = [
|
|
|
20357
20329
|
messages: void 0,
|
|
20358
20330
|
orgList: void 0,
|
|
20359
20331
|
formValidationOptions: {}
|
|
20360
|
-
}),
|
|
20332
|
+
}), wb = () => W(Cb), Tb = (e = wb(), t) => {
|
|
20361
20333
|
switch (t.type) {
|
|
20362
20334
|
case "PROGRAM_ID": return ms(ls.programId, t.programId), {
|
|
20363
20335
|
...e,
|
|
@@ -20431,13 +20403,13 @@ var Tb = [
|
|
|
20431
20403
|
isErrored: t.isErrored
|
|
20432
20404
|
};
|
|
20433
20405
|
case "RESET_STATE": return {
|
|
20434
|
-
...W(
|
|
20406
|
+
...W(wb()),
|
|
20435
20407
|
programId: e.programId
|
|
20436
20408
|
};
|
|
20437
20409
|
case "COLLECT_FIELDS": {
|
|
20438
20410
|
let n = t.requiredFields.map((e) => e.key);
|
|
20439
20411
|
(e.programTheme.smsLoopEnabled || e.viewModel?.country === "US" || e.viewModel.countryChoice?.value === "US") && !n.includes("phoneNumber") && n.push("phoneNumber"), e.verificationResponse.segment === "medical" && n.push("status");
|
|
20440
|
-
let r =
|
|
20412
|
+
let r = Sb.filter((e) => Sb.includes(e) && !n.includes(e));
|
|
20441
20413
|
return {
|
|
20442
20414
|
...e,
|
|
20443
20415
|
viewModel: {
|
|
@@ -20463,8 +20435,8 @@ var Tb = [
|
|
|
20463
20435
|
case "FORCE_UPDATE": return W(e);
|
|
20464
20436
|
default: return e;
|
|
20465
20437
|
}
|
|
20466
|
-
},
|
|
20467
|
-
let e =
|
|
20438
|
+
}, Eb, Db = () => (Eb || (Eb = xb(Tb, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()), N.init(() => {
|
|
20439
|
+
let e = Eb.getState(), t = B(() => e.verificationResponse.errorIds);
|
|
20468
20440
|
return {
|
|
20469
20441
|
programId: B(() => e.programId),
|
|
20470
20442
|
isLoading: B(() => e.isLoading),
|
|
@@ -20475,17 +20447,17 @@ var Tb = [
|
|
|
20475
20447
|
locale: B(() => e.programTheme.intl.locale),
|
|
20476
20448
|
isTestMode: B(() => e.programTheme.isTestMode),
|
|
20477
20449
|
openOrgSearchEnabled: B(() => e.programTheme.openOrgSearchEnabled),
|
|
20478
|
-
jslibVerActual: B(() => "2.
|
|
20450
|
+
jslibVerActual: B(() => "2.248.0", "?")
|
|
20479
20451
|
};
|
|
20480
|
-
})),
|
|
20481
|
-
q().mockResponse &&
|
|
20452
|
+
})), Eb), Ob = () => Db().dispatch({ type: "RESET_STATE" }), kb = () => {
|
|
20453
|
+
q().mockResponse && Db().dispatch({
|
|
20482
20454
|
verificationResponse: q().mockResponse,
|
|
20483
20455
|
type: "VERIFICATION_RESPONSE"
|
|
20484
|
-
}),
|
|
20485
|
-
},
|
|
20486
|
-
let n =
|
|
20456
|
+
}), Db().dispatch({ type: "FORCE_UPDATE" });
|
|
20457
|
+
}, Ab = Db(), jb = (e, t) => {
|
|
20458
|
+
let n = Ab.getState(), { partial: r = !0, metadataCheck: i = !1, externalUserIdCheck: a = !1 } = t || {}, o = () => {
|
|
20487
20459
|
let t = W(e);
|
|
20488
|
-
N.info("Setting viewModel", t), ag(
|
|
20460
|
+
N.info("Setting viewModel", t), ag(Ab.dispatch)(t, {
|
|
20489
20461
|
partial: r,
|
|
20490
20462
|
metadataCheck: i,
|
|
20491
20463
|
externalUserIdCheck: a
|
|
@@ -20497,18 +20469,18 @@ var Tb = [
|
|
|
20497
20469
|
o();
|
|
20498
20470
|
}
|
|
20499
20471
|
}) : o();
|
|
20500
|
-
},
|
|
20501
|
-
let e =
|
|
20472
|
+
}, Mb = () => {
|
|
20473
|
+
let e = Ab.getState();
|
|
20502
20474
|
e.isLoading ? qd({
|
|
20503
20475
|
name: "ON_VERIFICATION_READY",
|
|
20504
20476
|
callback: (e) => {
|
|
20505
|
-
dg(
|
|
20477
|
+
dg(Ab.dispatch)(e);
|
|
20506
20478
|
}
|
|
20507
|
-
}) : dg(
|
|
20508
|
-
},
|
|
20509
|
-
let n = Yo(
|
|
20479
|
+
}) : dg(Ab.dispatch)(e.verificationResponse);
|
|
20480
|
+
}, Nb = ({ children: e, showShield: t = !1 }) => {
|
|
20481
|
+
let n = Yo(Qy()), r = g.useRef({});
|
|
20510
20482
|
return g.useEffect(() => {
|
|
20511
|
-
r.current &&
|
|
20483
|
+
r.current && jb({ metadata: { submissionOptIn: r.current.textContent } });
|
|
20512
20484
|
}, [r, n]), /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20513
20485
|
className: "sid-footer sid-h-small-text sid-l-space-top-md",
|
|
20514
20486
|
role: "contentinfo",
|
|
@@ -20521,16 +20493,16 @@ var Tb = [
|
|
|
20521
20493
|
}), /* @__PURE__ */ (0, J.jsx)("div", { children: /* @__PURE__ */ (0, J.jsx)("div", {
|
|
20522
20494
|
className: "sid-footer__one",
|
|
20523
20495
|
ref: r,
|
|
20524
|
-
children: e || /* @__PURE__ */ (0, J.jsx)(
|
|
20496
|
+
children: e || /* @__PURE__ */ (0, J.jsx)(hb, {})
|
|
20525
20497
|
}) })]
|
|
20526
20498
|
});
|
|
20527
|
-
},
|
|
20499
|
+
}, Pb = (e, t) => {
|
|
20528
20500
|
let n = g.useRef(null);
|
|
20529
20501
|
function r() {
|
|
20530
20502
|
clearInterval(n.current);
|
|
20531
20503
|
}
|
|
20532
20504
|
return g.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
20533
|
-
},
|
|
20505
|
+
}, Fb = (e) => e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`), Ib = ({ children: e, align: t }) => {
|
|
20534
20506
|
let n = (0, g.useRef)(null);
|
|
20535
20507
|
return (0, g.useEffect)(() => {
|
|
20536
20508
|
n.current && n.current.focus();
|
|
@@ -20540,8 +20512,8 @@ var Tb = [
|
|
|
20540
20512
|
ref: n,
|
|
20541
20513
|
children: e
|
|
20542
20514
|
});
|
|
20543
|
-
},
|
|
20544
|
-
let a =
|
|
20515
|
+
}, Lb = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Bb.PRIMARY }) => {
|
|
20516
|
+
let a = Fb(e);
|
|
20545
20517
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20546
20518
|
className: "sid-header sid-l-horz-center",
|
|
20547
20519
|
children: [
|
|
@@ -20549,7 +20521,7 @@ var Tb = [
|
|
|
20549
20521
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
20550
20522
|
children: n
|
|
20551
20523
|
}),
|
|
20552
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
20524
|
+
/* @__PURE__ */ (0, J.jsx)(Ib, {
|
|
20553
20525
|
align: "center",
|
|
20554
20526
|
children: t.title
|
|
20555
20527
|
}),
|
|
@@ -20565,7 +20537,7 @@ var Tb = [
|
|
|
20565
20537
|
children: /* @__PURE__ */ (0, J.jsx)("button", {
|
|
20566
20538
|
onClick: r,
|
|
20567
20539
|
type: "submit",
|
|
20568
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
20540
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Bb.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
20569
20541
|
"aria-label": "submit",
|
|
20570
20542
|
children: t.cancel
|
|
20571
20543
|
})
|
|
@@ -20574,18 +20546,18 @@ var Tb = [
|
|
|
20574
20546
|
t?.subtitle2 ? /* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
20575
20547
|
]
|
|
20576
20548
|
});
|
|
20577
|
-
},
|
|
20549
|
+
}, Rb = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Bb.PRIMARY }) => /* @__PURE__ */ (0, J.jsx)(Lb, {
|
|
20578
20550
|
messages: t,
|
|
20579
20551
|
stepName: e,
|
|
20580
20552
|
logo: n,
|
|
20581
20553
|
cancelSingleSignOn: r,
|
|
20582
20554
|
cancelButtonType: i
|
|
20583
|
-
}),
|
|
20555
|
+
}), zb = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20584
20556
|
className: "sid-header sid-l-horz-center",
|
|
20585
20557
|
children: [
|
|
20586
20558
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
20587
20559
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
20588
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
20560
|
+
children: /* @__PURE__ */ (0, J.jsx)(By, {
|
|
20589
20561
|
verificationService: t,
|
|
20590
20562
|
fallbackLogo: /* @__PURE__ */ (0, J.jsx)("img", {
|
|
20591
20563
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -20594,7 +20566,7 @@ var Tb = [
|
|
|
20594
20566
|
})
|
|
20595
20567
|
})
|
|
20596
20568
|
}),
|
|
20597
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
20569
|
+
/* @__PURE__ */ (0, J.jsx)(Ib, {
|
|
20598
20570
|
align: "center",
|
|
20599
20571
|
children: e.title
|
|
20600
20572
|
}),
|
|
@@ -20614,10 +20586,10 @@ var Tb = [
|
|
|
20614
20586
|
}),
|
|
20615
20587
|
/* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
20616
20588
|
]
|
|
20617
|
-
}),
|
|
20589
|
+
}), Bb = /* @__PURE__ */ function(e) {
|
|
20618
20590
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
20619
|
-
}({}),
|
|
20620
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: l, locale: u } = e.verificationResponse, d = Oc(), f =
|
|
20591
|
+
}({}), Vb = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
20592
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: l, locale: u } = e.verificationResponse, d = Oc(), f = Fb(t), p, m = /* @__PURE__ */ (0, J.jsx)(By, {
|
|
20621
20593
|
verificationService: e,
|
|
20622
20594
|
fallbackLogo: /* @__PURE__ */ (0, J.jsx)("img", {
|
|
20623
20595
|
className: `sid-${f}-logo-default sid-l-lead-image`,
|
|
@@ -20654,21 +20626,21 @@ var Tb = [
|
|
|
20654
20626
|
"data-testid": `sid-step-${f}`,
|
|
20655
20627
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
20656
20628
|
role: "main",
|
|
20657
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, J.jsx)(
|
|
20629
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, J.jsx)(Rb, {
|
|
20658
20630
|
stepName: t,
|
|
20659
20631
|
messages: n,
|
|
20660
20632
|
logo: m,
|
|
20661
20633
|
cancelSingleSignOn: _,
|
|
20662
20634
|
cancelButtonType: r
|
|
20663
|
-
}) : /* @__PURE__ */ (0, J.jsx)(
|
|
20635
|
+
}) : /* @__PURE__ */ (0, J.jsx)(zb, {
|
|
20664
20636
|
verificationService: e,
|
|
20665
20637
|
messages: n,
|
|
20666
20638
|
updateViewModelAndOpenLoginTab: v,
|
|
20667
20639
|
dashedStepName: f
|
|
20668
20640
|
})
|
|
20669
|
-
}), /* @__PURE__ */ (0, J.jsx)(
|
|
20641
|
+
}), /* @__PURE__ */ (0, J.jsx)(Nb, { verificationService: e })]
|
|
20670
20642
|
});
|
|
20671
|
-
},
|
|
20643
|
+
}, Hb = {
|
|
20672
20644
|
title: /* @__PURE__ */ (0, J.jsx)(H, {
|
|
20673
20645
|
id: "step.sso.title",
|
|
20674
20646
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -20690,11 +20662,11 @@ var Tb = [
|
|
|
20690
20662
|
id: "step.sso.subtitle2",
|
|
20691
20663
|
defaultMessage: "Can't sign in to your school?"
|
|
20692
20664
|
})
|
|
20693
|
-
},
|
|
20665
|
+
}, Ub = ({ verificationService: e }) => /* @__PURE__ */ (0, J.jsx)(Vb, {
|
|
20694
20666
|
verificationService: e,
|
|
20695
20667
|
stepName: F.sso,
|
|
20696
|
-
messages:
|
|
20697
|
-
}),
|
|
20668
|
+
messages: Hb
|
|
20669
|
+
}), Wb = (e) => {
|
|
20698
20670
|
let t = Bh(e);
|
|
20699
20671
|
if (t) try {
|
|
20700
20672
|
t.focus();
|
|
@@ -20705,7 +20677,7 @@ var Tb = [
|
|
|
20705
20677
|
};
|
|
20706
20678
|
//#endregion
|
|
20707
20679
|
//#region src/lib/utils/getSafe.ts
|
|
20708
|
-
function
|
|
20680
|
+
function Gb(e, t) {
|
|
20709
20681
|
try {
|
|
20710
20682
|
return e();
|
|
20711
20683
|
} catch {
|
|
@@ -20714,7 +20686,7 @@ function Jb(e, t) {
|
|
|
20714
20686
|
}
|
|
20715
20687
|
//#endregion
|
|
20716
20688
|
//#region src/lib/utils/stepComponentHelpers/stepComponentHelpers.ts
|
|
20717
|
-
var
|
|
20689
|
+
var Kb = (e, t) => {
|
|
20718
20690
|
let n = t.viewModel, r = G(n, (t) => {
|
|
20719
20691
|
t.organization = e ? {
|
|
20720
20692
|
id: e.id,
|
|
@@ -20726,98 +20698,98 @@ var Yb = (e, t) => {
|
|
|
20726
20698
|
} : Xc.organization, n.organization && n.organization.source !== void 0 && (t.organization.source = n.organization.source);
|
|
20727
20699
|
});
|
|
20728
20700
|
t.updateViewModel(r);
|
|
20729
|
-
},
|
|
20701
|
+
}, qb = (e) => {
|
|
20730
20702
|
let t = e.viewModel, n = mi(), r = G(t, (e) => {
|
|
20731
20703
|
Object.keys(t).forEach((t) => {
|
|
20732
20704
|
n.has(t) && (e[t] = n.get(t));
|
|
20733
20705
|
});
|
|
20734
20706
|
});
|
|
20735
20707
|
e.updateViewModel(r);
|
|
20736
|
-
},
|
|
20708
|
+
}, Jb = (e, t) => {
|
|
20737
20709
|
t.updateFieldValidationErrors(e);
|
|
20738
|
-
},
|
|
20710
|
+
}, Yb = (e, t, n) => {
|
|
20739
20711
|
let { fieldValidationErrors: r } = n;
|
|
20740
|
-
|
|
20712
|
+
Jb(G(r, (r) => {
|
|
20741
20713
|
r[e] && (r[e] = Oh(e, t, n.formValidationOptions));
|
|
20742
20714
|
}), n);
|
|
20743
|
-
},
|
|
20715
|
+
}, Xb = (e, t) => Gb(() => t.length === 1) && Gb(() => t[0]) === "US" || Gb(() => e.value === "US") || Gb(() => e.value === void 0), Zb = (e, t) => t ? e.formatHTMLMessage({
|
|
20744
20716
|
id: t,
|
|
20745
20717
|
defaultMessage: t
|
|
20746
|
-
}) : "",
|
|
20718
|
+
}) : "", Qb = (e, t) => t ? t.map((t) => ({
|
|
20747
20719
|
value: t,
|
|
20748
|
-
label:
|
|
20749
|
-
})) : [],
|
|
20720
|
+
label: Zb(e, t)
|
|
20721
|
+
})) : [], $b = (e) => ({
|
|
20750
20722
|
value: e.id,
|
|
20751
20723
|
label: e.name,
|
|
20752
20724
|
country: e.country
|
|
20753
|
-
}),
|
|
20725
|
+
}), ex = () => {
|
|
20754
20726
|
let e = zh(), t = [];
|
|
20755
20727
|
return e.map((e) => t.push(e.fieldId)), t;
|
|
20756
|
-
},
|
|
20728
|
+
}, tx = (e) => e === "birthDate" || e === "birthDateDay" ? "birthDateYear" : e, nx = (e, t) => {
|
|
20757
20729
|
let n;
|
|
20758
20730
|
return e.reverse().forEach((e) => {
|
|
20759
20731
|
t[e] && (n = e);
|
|
20760
|
-
}),
|
|
20761
|
-
},
|
|
20732
|
+
}), tx(n);
|
|
20733
|
+
}, rx = (e) => {
|
|
20762
20734
|
let t = Bh("submitButton");
|
|
20763
20735
|
e.key === "Enter" && t && t.click();
|
|
20764
|
-
},
|
|
20736
|
+
}, ix = (e, t, n, r) => {
|
|
20765
20737
|
let i = Mm(e, t.formValidationOptions);
|
|
20766
20738
|
if (!Pm(i)) N.info(`${n} submitting form`), t.submitStep(n, e, t.verificationResponse), r && r();
|
|
20767
20739
|
else {
|
|
20768
|
-
let e =
|
|
20740
|
+
let e = nx(ex(), i);
|
|
20769
20741
|
fs({
|
|
20770
20742
|
eventName: cs.INVALID_FORM_SUBMIT,
|
|
20771
20743
|
params: { fieldValidationErrors: JSON.stringify(i) }
|
|
20772
|
-
}),
|
|
20744
|
+
}), Jb(i, t), Wb(e);
|
|
20773
20745
|
}
|
|
20774
|
-
},
|
|
20746
|
+
}, ax = (e, t, n) => ({
|
|
20775
20747
|
estReviewTime: n.formatHTMLMessage({
|
|
20776
|
-
id: `dateTime.${
|
|
20748
|
+
id: `dateTime.${Gb(() => e.estimatedReviewTime) || uf(t)}`,
|
|
20777
20749
|
default: "a few minutes"
|
|
20778
20750
|
}),
|
|
20779
20751
|
maxReviewTime: n.formatHTMLMessage({
|
|
20780
|
-
id: `dateTime.${
|
|
20752
|
+
id: `dateTime.${Gb(() => e.maxReviewTime) || df(t)}`,
|
|
20781
20753
|
default: "2 hours"
|
|
20782
20754
|
})
|
|
20783
|
-
}),
|
|
20755
|
+
}), ox = (e, t) => cf(e).map((e) => ({
|
|
20784
20756
|
value: e,
|
|
20785
20757
|
label: t.formatHTMLMessage({
|
|
20786
20758
|
id: `countries.${e}`,
|
|
20787
20759
|
defaultMessage: e
|
|
20788
20760
|
})
|
|
20789
|
-
})),
|
|
20761
|
+
})), sx = (e, t, n) => ox(e, t).sort((e, t) => Intl.Collator(n).compare(e.label, t.label)), cx = (e, t, n) => e.map((e) => ({
|
|
20790
20762
|
value: e,
|
|
20791
20763
|
label: t.formatHTMLMessage({
|
|
20792
20764
|
id: `countries.${e}`,
|
|
20793
20765
|
defaultMessage: e
|
|
20794
20766
|
})
|
|
20795
|
-
})).sort((e, t) => Intl.Collator(n).compare(e.label, t.label)),
|
|
20767
|
+
})).sort((e, t) => Intl.Collator(n).compare(e.label, t.label)), lx = (e, t) => lf(e).map((e) => ({
|
|
20796
20768
|
value: e,
|
|
20797
20769
|
label: t.formatHTMLMessage({
|
|
20798
20770
|
id: `states.${e}`,
|
|
20799
20771
|
defaultMessage: e
|
|
20800
20772
|
})
|
|
20801
|
-
})),
|
|
20773
|
+
})), ux = (e, t) => G(e, (n) => {
|
|
20802
20774
|
Hi.forEach((r) => {
|
|
20803
20775
|
t.some((e) => e.key === r) ? n[r] = e[r] === void 0 ? "" : e[r] : delete n[r];
|
|
20804
20776
|
});
|
|
20805
|
-
}),
|
|
20777
|
+
}), dx = (e, t) => of(e).map((e) => ({
|
|
20806
20778
|
value: e,
|
|
20807
20779
|
label: t.formatHTMLMessage({
|
|
20808
20780
|
id: `locales.${e}`,
|
|
20809
20781
|
defaultMessage: e
|
|
20810
20782
|
})
|
|
20811
|
-
})),
|
|
20783
|
+
})), fx = (e) => e.length > 0 ? e[0] : {
|
|
20812
20784
|
value: "US",
|
|
20813
20785
|
label: "United States"
|
|
20814
|
-
},
|
|
20786
|
+
}, px = (e, t, n) => G(e, (e) => {
|
|
20815
20787
|
e[t] = n;
|
|
20816
|
-
}),
|
|
20788
|
+
}), mx = (e, t, n) => {
|
|
20817
20789
|
let r = "https://support.sheerid.com", { host: i } = new URL(window.location.href);
|
|
20818
20790
|
return (i.includes("preview") || i.includes("localhost")) && (r = "https://support-preview.sheerid.net"), `${r}/${e}/${t}/${n}/remember-me/`;
|
|
20819
|
-
},
|
|
20820
|
-
let r = n.verificationResponse, i =
|
|
20791
|
+
}, hx = (e, t = q()) => t.formFieldConfig.find((t) => t.fieldId === e), gx = ({ intl: e, logo: t, verificationService: n }) => {
|
|
20792
|
+
let r = n.verificationResponse, i = ax({ ...r }, n.programTheme, e);
|
|
20821
20793
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20822
20794
|
className: "sid-header sid-l-horz-center",
|
|
20823
20795
|
"data-testid": "sid-review-pending",
|
|
@@ -20826,7 +20798,7 @@ var Yb = (e, t) => {
|
|
|
20826
20798
|
className: "sid-l-horz-center",
|
|
20827
20799
|
children: t
|
|
20828
20800
|
}),
|
|
20829
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
20801
|
+
/* @__PURE__ */ (0, J.jsx)(Ib, {
|
|
20830
20802
|
align: "center",
|
|
20831
20803
|
children: /* @__PURE__ */ (0, J.jsx)(H, {
|
|
20832
20804
|
id: "step.pending.titleReview",
|
|
@@ -20859,7 +20831,7 @@ var Yb = (e, t) => {
|
|
|
20859
20831
|
/* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
20860
20832
|
]
|
|
20861
20833
|
});
|
|
20862
|
-
},
|
|
20834
|
+
}, _x = ({ logo: e }) => /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20863
20835
|
className: "sid-header sid-l-horz-center",
|
|
20864
20836
|
"data-testid": "sid-review-pending",
|
|
20865
20837
|
children: [
|
|
@@ -20867,7 +20839,7 @@ var Yb = (e, t) => {
|
|
|
20867
20839
|
className: "sid-l-horz-center",
|
|
20868
20840
|
children: e
|
|
20869
20841
|
}),
|
|
20870
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
20842
|
+
/* @__PURE__ */ (0, J.jsx)(Ib, {
|
|
20871
20843
|
align: "center",
|
|
20872
20844
|
children: /* @__PURE__ */ (0, J.jsx)(H, {
|
|
20873
20845
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -20891,7 +20863,7 @@ var Yb = (e, t) => {
|
|
|
20891
20863
|
}),
|
|
20892
20864
|
/* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
20893
20865
|
]
|
|
20894
|
-
}),
|
|
20866
|
+
}), vx = { [De.SIGNZY]: {
|
|
20895
20867
|
title: /* @__PURE__ */ (0, J.jsx)(H, {
|
|
20896
20868
|
id: "step.thirdPartyLoop.signzy.title",
|
|
20897
20869
|
tagName: "h1",
|
|
@@ -20909,7 +20881,7 @@ var Yb = (e, t) => {
|
|
|
20909
20881
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
20910
20882
|
defaultMessage: "Upload Proof of Identity"
|
|
20911
20883
|
})
|
|
20912
|
-
} },
|
|
20884
|
+
} }, yx = ({ logo: e }) => /* @__PURE__ */ (0, J.jsx)("div", {
|
|
20913
20885
|
id: "sid-step-third-party-loop",
|
|
20914
20886
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
20915
20887
|
"data-testid": "sid-step-third-party-loop-error",
|
|
@@ -20920,7 +20892,7 @@ var Yb = (e, t) => {
|
|
|
20920
20892
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
20921
20893
|
children: e
|
|
20922
20894
|
}),
|
|
20923
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
20895
|
+
/* @__PURE__ */ (0, J.jsx)(Ib, {
|
|
20924
20896
|
align: "center",
|
|
20925
20897
|
children: /* @__PURE__ */ (0, J.jsx)(H, {
|
|
20926
20898
|
id: "error",
|
|
@@ -20939,14 +20911,14 @@ var Yb = (e, t) => {
|
|
|
20939
20911
|
})
|
|
20940
20912
|
]
|
|
20941
20913
|
})
|
|
20942
|
-
}),
|
|
20943
|
-
let t =
|
|
20944
|
-
return t ? /* @__PURE__ */ (0, J.jsx)(
|
|
20914
|
+
}), bx = ({ verificationService: e }) => {
|
|
20915
|
+
let t = vx[e.verificationResponse.thirdPartyLoopProvider] || void 0;
|
|
20916
|
+
return t ? /* @__PURE__ */ (0, J.jsx)(Vb, {
|
|
20945
20917
|
verificationService: e,
|
|
20946
20918
|
stepName: F.thirdPartyLoop,
|
|
20947
20919
|
messages: t,
|
|
20948
|
-
cancelButtonType:
|
|
20949
|
-
}) : /* @__PURE__ */ (0, J.jsx)(
|
|
20920
|
+
cancelButtonType: Bb.SECONDARY
|
|
20921
|
+
}) : /* @__PURE__ */ (0, J.jsx)(yx, { logo: /* @__PURE__ */ (0, J.jsx)(By, {
|
|
20950
20922
|
verificationService: e,
|
|
20951
20923
|
fallbackLogo: /* @__PURE__ */ (0, J.jsx)("img", {
|
|
20952
20924
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -20954,28 +20926,28 @@ var Yb = (e, t) => {
|
|
|
20954
20926
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
20955
20927
|
})
|
|
20956
20928
|
}) });
|
|
20957
|
-
},
|
|
20958
|
-
let i =
|
|
20959
|
-
return i ? /* @__PURE__ */ (0, J.jsx)(
|
|
20929
|
+
}, xx = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
20930
|
+
let i = vx[r ? Ec("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
20931
|
+
return i ? /* @__PURE__ */ (0, J.jsx)(Rb, {
|
|
20960
20932
|
stepName: F.thirdPartyLoop,
|
|
20961
20933
|
messages: i,
|
|
20962
20934
|
logo: e,
|
|
20963
20935
|
cancelSingleSignOn: n,
|
|
20964
|
-
cancelButtonType:
|
|
20965
|
-
}) : /* @__PURE__ */ (0, J.jsx)(
|
|
20966
|
-
},
|
|
20967
|
-
let { programId: n } = e, { viewModel: r } = e, i = e.previousViewModel || void 0, a = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: o } = e.verificationResponse, s = Oc(), c = Mc() && Mc() === F.sso, l = Mc() && Mc() === F.thirdPartyLoop, u = Mc() && Mc() === F.idCheckLoop, d = () => a?.currentStep === F.sso, f = () => a?.currentStep === F.thirdPartyLoop, p = () => a?.currentStep === F.idCheckLoop, m = d() || f() || c || l, h = p() || u, _ = !m && !h, [v, y] = g.useState(() => m ?
|
|
20936
|
+
cancelButtonType: Bb.SECONDARY
|
|
20937
|
+
}) : /* @__PURE__ */ (0, J.jsx)(yx, { logo: e });
|
|
20938
|
+
}, Sx = 5e3, Cx = 2e4, wx = 2e4, Tx = 2e3, Ex = Or(({ verificationService: e, intl: t }) => {
|
|
20939
|
+
let { programId: n } = e, { viewModel: r } = e, i = e.previousViewModel || void 0, a = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: o } = e.verificationResponse, s = Oc(), c = Mc() && Mc() === F.sso, l = Mc() && Mc() === F.thirdPartyLoop, u = Mc() && Mc() === F.idCheckLoop, d = () => a?.currentStep === F.sso, f = () => a?.currentStep === F.thirdPartyLoop, p = () => a?.currentStep === F.idCheckLoop, m = d() || f() || c || l, h = p() || u, _ = !m && !h, [v, y] = g.useState(() => m ? Tx : h ? wx : Sx);
|
|
20968
20940
|
g.useEffect(() => {
|
|
20969
20941
|
if (!_) return;
|
|
20970
|
-
let e = setTimeout(() => y(
|
|
20942
|
+
let e = setTimeout(() => y(wx), Cx);
|
|
20971
20943
|
return () => clearTimeout(e);
|
|
20972
20944
|
}, [_]);
|
|
20973
|
-
let b = !s &&
|
|
20945
|
+
let b = !s && Pb(() => {
|
|
20974
20946
|
e.fetchExistingVerificationRequest(n, o, a, i, !1);
|
|
20975
20947
|
}, v), x = (t) => {
|
|
20976
20948
|
let n = G(r, () => {});
|
|
20977
20949
|
N.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), Gh(), e.submitStep(t, n, a);
|
|
20978
|
-
}, S = /* @__PURE__ */ (0, J.jsx)(
|
|
20950
|
+
}, S = /* @__PURE__ */ (0, J.jsx)(By, {
|
|
20979
20951
|
verificationService: e,
|
|
20980
20952
|
fallbackLogo: /* @__PURE__ */ (0, J.jsx)("img", {
|
|
20981
20953
|
className: "sid-l-lead-image",
|
|
@@ -20990,33 +20962,33 @@ var Yb = (e, t) => {
|
|
|
20990
20962
|
role: "main",
|
|
20991
20963
|
children: (() => {
|
|
20992
20964
|
let n = d() || c, r = f() || l, i = p() || u;
|
|
20993
|
-
return n ? /* @__PURE__ */ (0, J.jsx)(
|
|
20965
|
+
return n ? /* @__PURE__ */ (0, J.jsx)(Rb, {
|
|
20994
20966
|
stepName: F.sso,
|
|
20995
|
-
messages:
|
|
20967
|
+
messages: Hb,
|
|
20996
20968
|
logo: S,
|
|
20997
20969
|
cancelSingleSignOn: () => x(F.sso)
|
|
20998
|
-
}) : r ? /* @__PURE__ */ (0, J.jsx)(
|
|
20970
|
+
}) : r ? /* @__PURE__ */ (0, J.jsx)(xx, {
|
|
20999
20971
|
logo: S,
|
|
21000
20972
|
cancelThirdPartyLoop: () => x(F.thirdPartyLoop),
|
|
21001
20973
|
verificationLastResponse: a,
|
|
21002
20974
|
isMockingPreviousStepThirdPartyLoop: l
|
|
21003
|
-
}) : i ? /* @__PURE__ */ (0, J.jsx)(
|
|
20975
|
+
}) : i ? /* @__PURE__ */ (0, J.jsx)(_x, { logo: S }) : /* @__PURE__ */ (0, J.jsx)(gx, {
|
|
21004
20976
|
verificationService: e,
|
|
21005
20977
|
logo: S,
|
|
21006
20978
|
intl: t,
|
|
21007
20979
|
maxReviewTime: df(e.programTheme)
|
|
21008
20980
|
});
|
|
21009
20981
|
})()
|
|
21010
|
-
}), h ? /* @__PURE__ */ (0, J.jsx)(
|
|
20982
|
+
}), h ? /* @__PURE__ */ (0, J.jsx)(Wy, {
|
|
21011
20983
|
verificationService: e,
|
|
21012
20984
|
isCentered: !0
|
|
21013
|
-
}) : /* @__PURE__ */ (0, J.jsxs)(
|
|
20985
|
+
}) : /* @__PURE__ */ (0, J.jsxs)(Nb, {
|
|
21014
20986
|
verificationService: e,
|
|
21015
20987
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {}), " "]
|
|
21016
20988
|
})]
|
|
21017
20989
|
});
|
|
21018
|
-
}),
|
|
21019
|
-
let e =
|
|
20990
|
+
}), Dx = () => {
|
|
20991
|
+
let e = $y(), t = B(() => e.verificationResponse.segment), n = g.useCallback(() => {
|
|
21020
20992
|
if (window.self !== window.top) {
|
|
21021
20993
|
let e = new URL(window.location.href);
|
|
21022
20994
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
@@ -21032,15 +21004,15 @@ var Yb = (e, t) => {
|
|
|
21032
21004
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
21033
21005
|
onClick: n,
|
|
21034
21006
|
onKeyPress: n,
|
|
21035
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21007
|
+
children: /* @__PURE__ */ (0, J.jsx)(lb, { id: "tryAgain" })
|
|
21036
21008
|
});
|
|
21037
|
-
},
|
|
21009
|
+
}, Ox = {
|
|
21038
21010
|
NONE: "none",
|
|
21039
21011
|
RESET: "reset",
|
|
21040
21012
|
POSTMESSAGE: "postMessage",
|
|
21041
21013
|
REDIRECT: "redirect"
|
|
21042
|
-
},
|
|
21043
|
-
let e =
|
|
21014
|
+
}, kx = () => {
|
|
21015
|
+
let e = Zy(), t = () => Uu({
|
|
21044
21016
|
action: "tryAgain",
|
|
21045
21017
|
verificationResponse: e
|
|
21046
21018
|
});
|
|
@@ -21049,60 +21021,60 @@ var Yb = (e, t) => {
|
|
|
21049
21021
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
21050
21022
|
onClick: t,
|
|
21051
21023
|
onKeyPress: t,
|
|
21052
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21024
|
+
children: /* @__PURE__ */ (0, J.jsx)(lb, { id: "tryAgain" })
|
|
21053
21025
|
});
|
|
21054
|
-
},
|
|
21026
|
+
}, Ax = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, J.jsx)(Vy, {
|
|
21055
21027
|
target: t,
|
|
21056
21028
|
href: e.toString(),
|
|
21057
21029
|
className: "sid-btn sid-btn--dark",
|
|
21058
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21059
|
-
}),
|
|
21060
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
21061
|
-
},
|
|
21030
|
+
children: /* @__PURE__ */ (0, J.jsx)(lb, { id: "seeOtherOffers" })
|
|
21031
|
+
}), jx = (e) => {
|
|
21032
|
+
if (!(typeof e == "object" && "type" in e && Object.values(Ox).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
21033
|
+
}, Mx = () => {
|
|
21062
21034
|
let e = Cc("tryAgainAction");
|
|
21063
21035
|
try {
|
|
21064
|
-
switch (
|
|
21065
|
-
case
|
|
21066
|
-
case
|
|
21067
|
-
case
|
|
21036
|
+
switch (jx(e), e.type) {
|
|
21037
|
+
case Ox.NONE: return null;
|
|
21038
|
+
case Ox.POSTMESSAGE: return window.self === window.top ? (N.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, J.jsx)(kx, {});
|
|
21039
|
+
case Ox.REDIRECT: return /* @__PURE__ */ (0, J.jsx)(Ax, {
|
|
21068
21040
|
redirectUrl: e.url,
|
|
21069
21041
|
target: e.target
|
|
21070
21042
|
});
|
|
21071
|
-
case
|
|
21043
|
+
case Ox.RESET: return /* @__PURE__ */ (0, J.jsx)(Dx, {});
|
|
21072
21044
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
21073
21045
|
}
|
|
21074
21046
|
} catch (e) {
|
|
21075
|
-
return N.error(e.message), /* @__PURE__ */ (0, J.jsx)(
|
|
21047
|
+
return N.error(e.message), /* @__PURE__ */ (0, J.jsx)(Dx, {});
|
|
21076
21048
|
}
|
|
21077
|
-
},
|
|
21049
|
+
}, Nx = ({ verificationService: e, errorIds: t }) => {
|
|
21078
21050
|
let n = t[0];
|
|
21079
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
21051
|
+
return /* @__PURE__ */ (0, J.jsx)(Ib, {
|
|
21080
21052
|
align: "center",
|
|
21081
|
-
children: /* @__PURE__ */ (0, J.jsx)("h1", { children: /* @__PURE__ */ (0, J.jsx)(
|
|
21053
|
+
children: /* @__PURE__ */ (0, J.jsx)("h1", { children: /* @__PURE__ */ (0, J.jsx)(lb, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
21082
21054
|
});
|
|
21083
|
-
},
|
|
21055
|
+
}, Px = ({ errorIds: e, errorDetailId: t }) => {
|
|
21084
21056
|
let n = /* @__PURE__ */ new Map();
|
|
21085
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, J.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, J.jsx)(
|
|
21086
|
-
},
|
|
21057
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, J.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, J.jsx)(lb, { id: t }, t)) }) : null;
|
|
21058
|
+
}, Fx = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
21087
21059
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
21088
21060
|
let t = B(() => e.programTheme.config.brandInfo.faqUrl);
|
|
21089
|
-
return t ? /* @__PURE__ */ (0, J.jsx)(
|
|
21061
|
+
return t ? /* @__PURE__ */ (0, J.jsx)(Vy, {
|
|
21090
21062
|
href: t,
|
|
21091
21063
|
onClick: () => ys(F.error, t),
|
|
21092
21064
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
21093
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21065
|
+
children: /* @__PURE__ */ (0, J.jsx)(lb, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
21094
21066
|
}) : null;
|
|
21095
21067
|
}
|
|
21096
21068
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
21097
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return Cc("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, J.jsx)(
|
|
21069
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return Cc("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, J.jsx)(Mx, {});
|
|
21098
21070
|
let r = t[0];
|
|
21099
|
-
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, J.jsx)(
|
|
21071
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, J.jsx)(Vy, {
|
|
21100
21072
|
href: n,
|
|
21101
21073
|
onClick: () => ys(F.error, n),
|
|
21102
21074
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
21103
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21104
|
-
}) : /* @__PURE__ */ (0, J.jsx)(
|
|
21105
|
-
},
|
|
21075
|
+
children: /* @__PURE__ */ (0, J.jsx)(lb, { id: `step.error.errorId.${r}.buttonText` })
|
|
21076
|
+
}) : /* @__PURE__ */ (0, J.jsx)(Mx, {});
|
|
21077
|
+
}, Ix = ({ verificationService: e, errorId: t }) => {
|
|
21106
21078
|
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = /* @__PURE__ */ new Set();
|
|
21107
21079
|
t && a.add(t), Array.isArray(n) && n.forEach((e) => a.add(e));
|
|
21108
21080
|
let o = Array.from(a);
|
|
@@ -21115,7 +21087,7 @@ var Yb = (e, t) => {
|
|
|
21115
21087
|
children: [
|
|
21116
21088
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
21117
21089
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
21118
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21090
|
+
children: /* @__PURE__ */ (0, J.jsx)(By, {
|
|
21119
21091
|
verificationService: e,
|
|
21120
21092
|
fallbackLogo: /* @__PURE__ */ (0, J.jsx)("img", {
|
|
21121
21093
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -21124,7 +21096,7 @@ var Yb = (e, t) => {
|
|
|
21124
21096
|
})
|
|
21125
21097
|
})
|
|
21126
21098
|
}),
|
|
21127
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
21099
|
+
/* @__PURE__ */ (0, J.jsx)(Nx, {
|
|
21128
21100
|
verificationService: e,
|
|
21129
21101
|
errorIds: o
|
|
21130
21102
|
}),
|
|
@@ -21132,13 +21104,13 @@ var Yb = (e, t) => {
|
|
|
21132
21104
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
21133
21105
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
21134
21106
|
className: "sid-error-msg sid-l-horz-center",
|
|
21135
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21107
|
+
children: /* @__PURE__ */ (0, J.jsx)(Px, {
|
|
21136
21108
|
errorIds: o,
|
|
21137
21109
|
errorDetailId: i
|
|
21138
21110
|
})
|
|
21139
21111
|
}), /* @__PURE__ */ (0, J.jsx)("div", {
|
|
21140
21112
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
21141
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21113
|
+
children: /* @__PURE__ */ (0, J.jsx)(Fx, {
|
|
21142
21114
|
verificationService: e,
|
|
21143
21115
|
errorIds: o,
|
|
21144
21116
|
redirectUrl: r
|
|
@@ -21148,48 +21120,48 @@ var Yb = (e, t) => {
|
|
|
21148
21120
|
]
|
|
21149
21121
|
}), /* @__PURE__ */ (0, J.jsx)("div", {
|
|
21150
21122
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
21151
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21123
|
+
children: /* @__PURE__ */ (0, J.jsx)(Wy, {
|
|
21152
21124
|
verificationService: e,
|
|
21153
21125
|
isCentered: !0
|
|
21154
21126
|
})
|
|
21155
21127
|
})]
|
|
21156
21128
|
});
|
|
21157
|
-
},
|
|
21158
|
-
StepPendingComponent:
|
|
21159
|
-
StepErrorComponent:
|
|
21160
|
-
StepStudentPersonalInfoComponent: g.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
21161
|
-
StepOverrideComponent: g.lazy(() => import("./chunk/StepOverrideComponent-
|
|
21162
|
-
StepAgePersonalInfoComponent: g.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
21163
|
-
StepSeniorPersonalInfoComponent: g.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
21164
|
-
StepCollectMilitaryPersonalInfoComponent: g.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
21165
|
-
StepCollectMilitaryStatusComponent: g.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
21166
|
-
StepActiveMilitaryPersonalInfoComponent: g.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
21167
|
-
StepInactiveMilitaryPersonalInfoComponent: g.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
21168
|
-
StepDriverLicensePersonalInfoComponent: g.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
21169
|
-
StepEmploymentPersonalInfoComponent: g.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
21170
|
-
StepFirstResponderPersonalInfoComponent: g.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
21171
|
-
StepGeneralIdentityPersonalInfoComponent: g.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
21172
|
-
StepHybridIdentityPersonalInfoComponent: g.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
21173
|
-
StepIDCheckLoopComponent: g.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
21174
|
-
StepLicensedProfessionalPersonalInfoComponent: g.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
21175
|
-
StepLowIncomePersonalInfoComponent: g.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
21176
|
-
StepMedicalProfessionalPersonalInfoComponent: g.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
21177
|
-
StepMemberPersonalInfoComponent: g.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
21178
|
-
StepConsolationComponent: g.lazy(() => import("./chunk/StepConsolation-
|
|
21179
|
-
StepDocUploadComponent: g.lazy(() => import("./chunk/StepDocUpload-
|
|
21180
|
-
StepEmailLoopComponent: g.lazy(() => import("./chunk/StepEmailLoop-
|
|
21181
|
-
StepPendingEmailLoopComponent: g.lazy(() => import("./chunk/EmailLoopPending-
|
|
21182
|
-
StepMoverPersonalInfoComponent: g.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
21129
|
+
}, Lx = {
|
|
21130
|
+
StepPendingComponent: Ex,
|
|
21131
|
+
StepErrorComponent: Ix,
|
|
21132
|
+
StepStudentPersonalInfoComponent: g.lazy(() => import("./chunk/StepStudentPersonalInfo-D7UYHkij.js")),
|
|
21133
|
+
StepOverrideComponent: g.lazy(() => import("./chunk/StepOverrideComponent-DzKCqsTp.js")),
|
|
21134
|
+
StepAgePersonalInfoComponent: g.lazy(() => import("./chunk/StepAgePersonalInfo-BbImsXfx.js")),
|
|
21135
|
+
StepSeniorPersonalInfoComponent: g.lazy(() => import("./chunk/StepAgePersonalInfo-BbImsXfx.js")),
|
|
21136
|
+
StepCollectMilitaryPersonalInfoComponent: g.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Y6UPWKD2.js")),
|
|
21137
|
+
StepCollectMilitaryStatusComponent: g.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Y6UPWKD2.js")),
|
|
21138
|
+
StepActiveMilitaryPersonalInfoComponent: g.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Y6UPWKD2.js")),
|
|
21139
|
+
StepInactiveMilitaryPersonalInfoComponent: g.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-Y6UPWKD2.js")),
|
|
21140
|
+
StepDriverLicensePersonalInfoComponent: g.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-YmaqDbhD.js")),
|
|
21141
|
+
StepEmploymentPersonalInfoComponent: g.lazy(() => import("./chunk/StepEmploymentPersonalInfo-CkpQtqFc.js")),
|
|
21142
|
+
StepFirstResponderPersonalInfoComponent: g.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-reHh6B-r.js")),
|
|
21143
|
+
StepGeneralIdentityPersonalInfoComponent: g.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-CfiOPTKL.js")),
|
|
21144
|
+
StepHybridIdentityPersonalInfoComponent: g.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-eKyrwWDx.js")),
|
|
21145
|
+
StepIDCheckLoopComponent: g.lazy(() => import("./chunk/StepIDCheckLoop-NVY6Na18.js")),
|
|
21146
|
+
StepLicensedProfessionalPersonalInfoComponent: g.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-CsSeujol.js")),
|
|
21147
|
+
StepLowIncomePersonalInfoComponent: g.lazy(() => import("./chunk/StepLowIncomePersonalInfo-Bx2sI2Zj.js")),
|
|
21148
|
+
StepMedicalProfessionalPersonalInfoComponent: g.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-3VniR-r2.js")),
|
|
21149
|
+
StepMemberPersonalInfoComponent: g.lazy(() => import("./chunk/StepMemberPersonalInfo-CqDljJ_G.js")),
|
|
21150
|
+
StepConsolationComponent: g.lazy(() => import("./chunk/StepConsolation-2GKAlcdt.js")),
|
|
21151
|
+
StepDocUploadComponent: g.lazy(() => import("./chunk/StepDocUpload-BOpUs-jc.js")),
|
|
21152
|
+
StepEmailLoopComponent: g.lazy(() => import("./chunk/StepEmailLoop-BK-jB2V7.js")),
|
|
21153
|
+
StepPendingEmailLoopComponent: g.lazy(() => import("./chunk/EmailLoopPending-CsLNydVl.js").then((e) => e.n)),
|
|
21154
|
+
StepMoverPersonalInfoComponent: g.lazy(() => import("./chunk/StepMoverPersonalInfo-CEzqq77M.js")),
|
|
21183
21155
|
StepSMSLoopComponent: g.lazy(() => import("./chunk/StepSMSLoop-DYCZvGvb.js")),
|
|
21184
|
-
StepSocialSecurity: g.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
21156
|
+
StepSocialSecurity: g.lazy(() => import("./chunk/StepSocialSecurityNumber-Cj4IegXf.js")),
|
|
21185
21157
|
StepSSOComponent: g.lazy(() => import("./chunk/StepSSO-B0NDIcgz.js")),
|
|
21186
|
-
StepSuccessComponent: g.lazy(() => import("./chunk/StepSuccess-
|
|
21187
|
-
StepTeacherPersonalInfoComponent: g.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
21158
|
+
StepSuccessComponent: g.lazy(() => import("./chunk/StepSuccess-DmBqpPul.js")),
|
|
21159
|
+
StepTeacherPersonalInfoComponent: g.lazy(() => import("./chunk/StepTeacherPersonalInfo-C-gLF7UY.js")),
|
|
21188
21160
|
StepCompleteAuthentication: g.lazy(() => import("./chunk/StepCompleteAuthentication-DnTif2W6.js")),
|
|
21189
21161
|
StepCollectIdentifierComponent: g.lazy(() => import("./chunk/StepCollectIdentifier-mZjiHAT1.js")),
|
|
21190
|
-
StepCollectPersonalInfo: g.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
21162
|
+
StepCollectPersonalInfo: g.lazy(() => import("./chunk/StepCollectPersonalInfo-XkEXV-iW.js")),
|
|
21191
21163
|
StepThirdPartyLoopComponent: g.lazy(() => import("./chunk/StepThirdPartyLoop-CemU-J3W.js"))
|
|
21192
|
-
}, $ = (e) => (N.info("getComponent", e),
|
|
21164
|
+
}, $ = (e) => (N.info("getComponent", e), Ry(e) || Lx[e]), Rx = () => /* @__PURE__ */ (0, J.jsx)(Jc, {}), zx = ({ stepToLoad: e, verificationService: t }) => {
|
|
21193
21165
|
N.info(`LoadStepComponent: rendering step: ${e}`);
|
|
21194
21166
|
let n;
|
|
21195
21167
|
switch ((0, g.useEffect)(() => {
|
|
@@ -21317,37 +21289,37 @@ var Yb = (e, t) => {
|
|
|
21317
21289
|
case "cancelEmailLoop":
|
|
21318
21290
|
case "cancelSocialSecurityNumber":
|
|
21319
21291
|
case "docReviewLimitExceeded":
|
|
21320
|
-
case "emailLoopCollectOrganizationEmail": return N.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, J.jsx)(
|
|
21292
|
+
case "emailLoopCollectOrganizationEmail": return N.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, J.jsx)(Ix, {
|
|
21321
21293
|
verificationService: t,
|
|
21322
21294
|
errorId: "invalidStep"
|
|
21323
21295
|
});
|
|
21324
|
-
default: return N.error("Unable to load step", e), /* @__PURE__ */ (0, J.jsx)(
|
|
21296
|
+
default: return N.error("Unable to load step", e), /* @__PURE__ */ (0, J.jsx)(Ix, {
|
|
21325
21297
|
verificationService: t,
|
|
21326
21298
|
errorId: "invalidStep"
|
|
21327
21299
|
});
|
|
21328
21300
|
}
|
|
21329
21301
|
return /* @__PURE__ */ (0, J.jsx)(g.Suspense, {
|
|
21330
|
-
fallback:
|
|
21302
|
+
fallback: Rx(),
|
|
21331
21303
|
children: /* @__PURE__ */ (0, J.jsx)(n, { verificationService: t })
|
|
21332
21304
|
});
|
|
21333
|
-
},
|
|
21305
|
+
}, Bx = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, J.jsx)("span", {
|
|
21334
21306
|
dangerouslySetInnerHTML: e,
|
|
21335
21307
|
...t
|
|
21336
|
-
}) : /* @__PURE__ */ (0, J.jsx)(g.Fragment, { ...t }),
|
|
21308
|
+
}) : /* @__PURE__ */ (0, J.jsx)(g.Fragment, { ...t }), Vx = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
21337
21309
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
21338
21310
|
role: "note",
|
|
21339
|
-
children: ["Test Mode", /* @__PURE__ */ (0, J.jsx)(
|
|
21311
|
+
children: ["Test Mode", /* @__PURE__ */ (0, J.jsx)(Vy, {
|
|
21340
21312
|
className: "sid-test-mode-flag__link",
|
|
21341
21313
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
21342
21314
|
"aria-label": "learn more about a sheerid test mode program",
|
|
21343
21315
|
children: "(learn more)"
|
|
21344
21316
|
})]
|
|
21345
|
-
}) : null,
|
|
21317
|
+
}) : null, Hx = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, J.jsxs)("header", {
|
|
21346
21318
|
className: "sid-header",
|
|
21347
21319
|
children: [
|
|
21348
21320
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
21349
21321
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
21350
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
21322
|
+
children: /* @__PURE__ */ (0, J.jsx)(By, {
|
|
21351
21323
|
verificationService: e,
|
|
21352
21324
|
fallbackLogo: r
|
|
21353
21325
|
})
|
|
@@ -21360,37 +21332,37 @@ var Yb = (e, t) => {
|
|
|
21360
21332
|
]
|
|
21361
21333
|
});
|
|
21362
21334
|
typeof window < "u" && window.document && window.document.createElement;
|
|
21363
|
-
function
|
|
21335
|
+
function Ux(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
21364
21336
|
return function(r) {
|
|
21365
21337
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
21366
21338
|
};
|
|
21367
21339
|
}
|
|
21368
21340
|
//#endregion
|
|
21369
21341
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
21370
|
-
function
|
|
21342
|
+
function Wx(e, t) {
|
|
21371
21343
|
if (typeof e == "function") return e(t);
|
|
21372
21344
|
e != null && (e.current = t);
|
|
21373
21345
|
}
|
|
21374
|
-
function
|
|
21346
|
+
function Gx(...e) {
|
|
21375
21347
|
return (t) => {
|
|
21376
21348
|
let n = !1, r = e.map((e) => {
|
|
21377
|
-
let r =
|
|
21349
|
+
let r = Wx(e, t);
|
|
21378
21350
|
return !n && typeof r == "function" && (n = !0), r;
|
|
21379
21351
|
});
|
|
21380
21352
|
if (n) return () => {
|
|
21381
21353
|
for (let t = 0; t < r.length; t++) {
|
|
21382
21354
|
let n = r[t];
|
|
21383
|
-
typeof n == "function" ? n() :
|
|
21355
|
+
typeof n == "function" ? n() : Wx(e[t], null);
|
|
21384
21356
|
}
|
|
21385
21357
|
};
|
|
21386
21358
|
};
|
|
21387
21359
|
}
|
|
21388
|
-
function
|
|
21389
|
-
return g.useCallback(
|
|
21360
|
+
function Kx(...e) {
|
|
21361
|
+
return g.useCallback(Gx(...e), e);
|
|
21390
21362
|
}
|
|
21391
21363
|
//#endregion
|
|
21392
21364
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
21393
|
-
function
|
|
21365
|
+
function qx(e, t = []) {
|
|
21394
21366
|
let n = [];
|
|
21395
21367
|
function r(t, r) {
|
|
21396
21368
|
let i = g.createContext(r), a = n.length;
|
|
@@ -21421,9 +21393,9 @@ function Xx(e, t = []) {
|
|
|
21421
21393
|
} }), [n, r]);
|
|
21422
21394
|
};
|
|
21423
21395
|
};
|
|
21424
|
-
return i.scopeName = e, [r,
|
|
21396
|
+
return i.scopeName = e, [r, Jx(i, ...t)];
|
|
21425
21397
|
}
|
|
21426
|
-
function
|
|
21398
|
+
function Jx(...e) {
|
|
21427
21399
|
let t = e[0];
|
|
21428
21400
|
if (e.length === 1) return t;
|
|
21429
21401
|
let n = () => {
|
|
@@ -21447,9 +21419,9 @@ function Zx(...e) {
|
|
|
21447
21419
|
//#endregion
|
|
21448
21420
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
21449
21421
|
/* @__NO_SIDE_EFFECTS__ */
|
|
21450
|
-
function
|
|
21451
|
-
let t = /* @__PURE__ */
|
|
21452
|
-
let { children: r, ...i } = e, a = g.Children.toArray(r), o = a.find(
|
|
21422
|
+
function Yx(e) {
|
|
21423
|
+
let t = /* @__PURE__ */ Xx(e), n = g.forwardRef((e, n) => {
|
|
21424
|
+
let { children: r, ...i } = e, a = g.Children.toArray(r), o = a.find(Qx);
|
|
21453
21425
|
if (o) {
|
|
21454
21426
|
let e = o.props.children, r = a.map((t) => t === o ? g.Children.count(e) > 1 ? g.Children.only(null) : g.isValidElement(e) ? e.props.children : null : t);
|
|
21455
21427
|
return /* @__PURE__ */ (0, J.jsx)(t, {
|
|
@@ -21467,22 +21439,22 @@ function Qx(e) {
|
|
|
21467
21439
|
return n.displayName = `${e}.Slot`, n;
|
|
21468
21440
|
}
|
|
21469
21441
|
/* @__NO_SIDE_EFFECTS__ */
|
|
21470
|
-
function
|
|
21442
|
+
function Xx(e) {
|
|
21471
21443
|
let t = g.forwardRef((e, t) => {
|
|
21472
21444
|
let { children: n, ...r } = e;
|
|
21473
21445
|
if (g.isValidElement(n)) {
|
|
21474
|
-
let e =
|
|
21475
|
-
return n.type !== g.Fragment && (i.ref = t ?
|
|
21446
|
+
let e = eS(n), i = $x(r, n.props);
|
|
21447
|
+
return n.type !== g.Fragment && (i.ref = t ? Gx(t, e) : e), g.cloneElement(n, i);
|
|
21476
21448
|
}
|
|
21477
21449
|
return g.Children.count(n) > 1 ? g.Children.only(null) : null;
|
|
21478
21450
|
});
|
|
21479
21451
|
return t.displayName = `${e}.SlotClone`, t;
|
|
21480
21452
|
}
|
|
21481
|
-
var
|
|
21482
|
-
function
|
|
21483
|
-
return g.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
21453
|
+
var Zx = Symbol("radix.slottable");
|
|
21454
|
+
function Qx(e) {
|
|
21455
|
+
return g.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Zx;
|
|
21484
21456
|
}
|
|
21485
|
-
function
|
|
21457
|
+
function $x(e, t) {
|
|
21486
21458
|
let n = { ...t };
|
|
21487
21459
|
for (let r in t) {
|
|
21488
21460
|
let i = e[r], a = t[r];
|
|
@@ -21499,13 +21471,13 @@ function nS(e, t) {
|
|
|
21499
21471
|
...n
|
|
21500
21472
|
};
|
|
21501
21473
|
}
|
|
21502
|
-
function
|
|
21474
|
+
function eS(e) {
|
|
21503
21475
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
21504
21476
|
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);
|
|
21505
21477
|
}
|
|
21506
21478
|
//#endregion
|
|
21507
21479
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
21508
|
-
var
|
|
21480
|
+
var tS = [
|
|
21509
21481
|
"a",
|
|
21510
21482
|
"button",
|
|
21511
21483
|
"div",
|
|
@@ -21524,7 +21496,7 @@ var iS = [
|
|
|
21524
21496
|
"svg",
|
|
21525
21497
|
"ul"
|
|
21526
21498
|
].reduce((e, t) => {
|
|
21527
|
-
let n = /* @__PURE__ */
|
|
21499
|
+
let n = /* @__PURE__ */ Yx(`Primitive.${t}`), r = g.forwardRef((e, r) => {
|
|
21528
21500
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
21529
21501
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, J.jsx)(o, {
|
|
21530
21502
|
...a,
|
|
@@ -21536,12 +21508,12 @@ var iS = [
|
|
|
21536
21508
|
[t]: r
|
|
21537
21509
|
};
|
|
21538
21510
|
}, {});
|
|
21539
|
-
function
|
|
21511
|
+
function nS(e, t) {
|
|
21540
21512
|
e && _.flushSync(() => e.dispatchEvent(t));
|
|
21541
21513
|
}
|
|
21542
21514
|
//#endregion
|
|
21543
21515
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
21544
|
-
function
|
|
21516
|
+
function rS(e) {
|
|
21545
21517
|
let t = g.useRef(e);
|
|
21546
21518
|
return g.useEffect(() => {
|
|
21547
21519
|
t.current = e;
|
|
@@ -21549,8 +21521,8 @@ function oS(e) {
|
|
|
21549
21521
|
}
|
|
21550
21522
|
//#endregion
|
|
21551
21523
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
21552
|
-
function
|
|
21553
|
-
let n =
|
|
21524
|
+
function iS(e, t = globalThis?.document) {
|
|
21525
|
+
let n = rS(e);
|
|
21554
21526
|
g.useEffect(() => {
|
|
21555
21527
|
let e = (e) => {
|
|
21556
21528
|
e.key === "Escape" && n(e);
|
|
@@ -21560,23 +21532,23 @@ function sS(e, t = globalThis?.document) {
|
|
|
21560
21532
|
}
|
|
21561
21533
|
//#endregion
|
|
21562
21534
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
21563
|
-
var
|
|
21535
|
+
var aS = "DismissableLayer", oS = "dismissableLayer.update", sS = "dismissableLayer.pointerDownOutside", cS = "dismissableLayer.focusOutside", lS, uS = g.createContext({
|
|
21564
21536
|
layers: /* @__PURE__ */ new Set(),
|
|
21565
21537
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
21566
21538
|
branches: /* @__PURE__ */ new Set()
|
|
21567
|
-
}),
|
|
21568
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = g.useContext(
|
|
21539
|
+
}), dS = g.forwardRef((e, t) => {
|
|
21540
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = g.useContext(uS), [u, d] = g.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = g.useState({}), m = Kx(t, (e) => d(e)), h = Array.from(l.layers), [_] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), v = h.indexOf(_), y = u ? h.indexOf(u) : -1, b = l.layersWithOutsidePointerEventsDisabled.size > 0, x = y >= v, S = mS((e) => {
|
|
21569
21541
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
21570
21542
|
!x || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
21571
|
-
}, f), C =
|
|
21543
|
+
}, f), C = hS((e) => {
|
|
21572
21544
|
let t = e.target;
|
|
21573
21545
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
21574
21546
|
}, f);
|
|
21575
|
-
return
|
|
21547
|
+
return iS((e) => {
|
|
21576
21548
|
y === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
21577
21549
|
}, f), g.useEffect(() => {
|
|
21578
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
21579
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
21550
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (lS = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), gS(), () => {
|
|
21551
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = lS);
|
|
21580
21552
|
};
|
|
21581
21553
|
}, [
|
|
21582
21554
|
u,
|
|
@@ -21584,43 +21556,43 @@ var cS = "DismissableLayer", lS = "dismissableLayer.update", uS = "dismissableLa
|
|
|
21584
21556
|
n,
|
|
21585
21557
|
l
|
|
21586
21558
|
]), g.useEffect(() => () => {
|
|
21587
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
21559
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), gS());
|
|
21588
21560
|
}, [u, l]), g.useEffect(() => {
|
|
21589
21561
|
let e = () => p({});
|
|
21590
|
-
return document.addEventListener(
|
|
21591
|
-
}, []), /* @__PURE__ */ (0, J.jsx)(
|
|
21562
|
+
return document.addEventListener(oS, e), () => document.removeEventListener(oS, e);
|
|
21563
|
+
}, []), /* @__PURE__ */ (0, J.jsx)(tS.div, {
|
|
21592
21564
|
...c,
|
|
21593
21565
|
ref: m,
|
|
21594
21566
|
style: {
|
|
21595
21567
|
pointerEvents: b ? x ? "auto" : "none" : void 0,
|
|
21596
21568
|
...e.style
|
|
21597
21569
|
},
|
|
21598
|
-
onFocusCapture:
|
|
21599
|
-
onBlurCapture:
|
|
21600
|
-
onPointerDownCapture:
|
|
21570
|
+
onFocusCapture: Ux(e.onFocusCapture, C.onFocusCapture),
|
|
21571
|
+
onBlurCapture: Ux(e.onBlurCapture, C.onBlurCapture),
|
|
21572
|
+
onPointerDownCapture: Ux(e.onPointerDownCapture, S.onPointerDownCapture)
|
|
21601
21573
|
});
|
|
21602
21574
|
});
|
|
21603
|
-
|
|
21604
|
-
var
|
|
21605
|
-
let n = g.useContext(
|
|
21575
|
+
dS.displayName = aS;
|
|
21576
|
+
var fS = "DismissableLayerBranch", pS = g.forwardRef((e, t) => {
|
|
21577
|
+
let n = g.useContext(uS), r = g.useRef(null), i = Kx(t, r);
|
|
21606
21578
|
return g.useEffect(() => {
|
|
21607
21579
|
let e = r.current;
|
|
21608
21580
|
if (e) return n.branches.add(e), () => {
|
|
21609
21581
|
n.branches.delete(e);
|
|
21610
21582
|
};
|
|
21611
|
-
}, [n.branches]), /* @__PURE__ */ (0, J.jsx)(
|
|
21583
|
+
}, [n.branches]), /* @__PURE__ */ (0, J.jsx)(tS.div, {
|
|
21612
21584
|
...e,
|
|
21613
21585
|
ref: i
|
|
21614
21586
|
});
|
|
21615
21587
|
});
|
|
21616
|
-
|
|
21617
|
-
function
|
|
21618
|
-
let n =
|
|
21588
|
+
pS.displayName = fS;
|
|
21589
|
+
function mS(e, t = globalThis?.document) {
|
|
21590
|
+
let n = rS(e), r = g.useRef(!1), i = g.useRef(() => {});
|
|
21619
21591
|
return g.useEffect(() => {
|
|
21620
21592
|
let e = (e) => {
|
|
21621
21593
|
if (e.target && !r.current) {
|
|
21622
21594
|
let r = function() {
|
|
21623
|
-
|
|
21595
|
+
_S(sS, n, a, { discrete: !0 });
|
|
21624
21596
|
}, a = { originalEvent: e };
|
|
21625
21597
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
21626
21598
|
} else t.removeEventListener("click", i.current);
|
|
@@ -21633,11 +21605,11 @@ function _S(e, t = globalThis?.document) {
|
|
|
21633
21605
|
};
|
|
21634
21606
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
21635
21607
|
}
|
|
21636
|
-
function
|
|
21637
|
-
let n =
|
|
21608
|
+
function hS(e, t = globalThis?.document) {
|
|
21609
|
+
let n = rS(e), r = g.useRef(!1);
|
|
21638
21610
|
return g.useEffect(() => {
|
|
21639
21611
|
let e = (e) => {
|
|
21640
|
-
e.target && !r.current &&
|
|
21612
|
+
e.target && !r.current && _S(cS, n, { originalEvent: e }, { discrete: !1 });
|
|
21641
21613
|
};
|
|
21642
21614
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
21643
21615
|
}, [t, n]), {
|
|
@@ -21645,40 +21617,40 @@ function vS(e, t = globalThis?.document) {
|
|
|
21645
21617
|
onBlurCapture: () => r.current = !1
|
|
21646
21618
|
};
|
|
21647
21619
|
}
|
|
21648
|
-
function
|
|
21649
|
-
let e = new CustomEvent(
|
|
21620
|
+
function gS() {
|
|
21621
|
+
let e = new CustomEvent(oS);
|
|
21650
21622
|
document.dispatchEvent(e);
|
|
21651
21623
|
}
|
|
21652
|
-
function
|
|
21624
|
+
function _S(e, t, n, { discrete: r }) {
|
|
21653
21625
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
21654
21626
|
bubbles: !1,
|
|
21655
21627
|
cancelable: !0,
|
|
21656
21628
|
detail: n
|
|
21657
21629
|
});
|
|
21658
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
21630
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? nS(i, a) : i.dispatchEvent(a);
|
|
21659
21631
|
}
|
|
21660
21632
|
//#endregion
|
|
21661
21633
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
21662
|
-
var
|
|
21663
|
-
function
|
|
21634
|
+
var vS = 0;
|
|
21635
|
+
function yS() {
|
|
21664
21636
|
g.useEffect(() => {
|
|
21665
21637
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
21666
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
21667
|
-
|
|
21638
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? bS()), document.body.insertAdjacentElement("beforeend", e[1] ?? bS()), vS++, () => {
|
|
21639
|
+
vS === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), vS--;
|
|
21668
21640
|
};
|
|
21669
21641
|
}, []);
|
|
21670
21642
|
}
|
|
21671
|
-
function
|
|
21643
|
+
function bS() {
|
|
21672
21644
|
let e = document.createElement("span");
|
|
21673
21645
|
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;
|
|
21674
21646
|
}
|
|
21675
21647
|
//#endregion
|
|
21676
21648
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
21677
|
-
var
|
|
21649
|
+
var xS = "focusScope.autoFocusOnMount", SS = "focusScope.autoFocusOnUnmount", CS = {
|
|
21678
21650
|
bubbles: !1,
|
|
21679
21651
|
cancelable: !0
|
|
21680
|
-
},
|
|
21681
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = g.useState(null), l =
|
|
21652
|
+
}, wS = "FocusScope", TS = g.forwardRef((e, t) => {
|
|
21653
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = g.useState(null), l = rS(i), u = rS(a), d = g.useRef(null), f = Kx(t, (e) => c(e)), p = g.useRef({
|
|
21682
21654
|
paused: !1,
|
|
21683
21655
|
pause() {
|
|
21684
21656
|
this.paused = !0;
|
|
@@ -21692,13 +21664,13 @@ var wS = "focusScope.autoFocusOnMount", TS = "focusScope.autoFocusOnUnmount", ES
|
|
|
21692
21664
|
let e = function(e) {
|
|
21693
21665
|
if (p.paused || !s) return;
|
|
21694
21666
|
let t = e.target;
|
|
21695
|
-
s.contains(t) ? d.current = t :
|
|
21667
|
+
s.contains(t) ? d.current = t : MS(d.current, { select: !0 });
|
|
21696
21668
|
}, t = function(e) {
|
|
21697
21669
|
if (p.paused || !s) return;
|
|
21698
21670
|
let t = e.relatedTarget;
|
|
21699
|
-
t !== null && (s.contains(t) ||
|
|
21671
|
+
t !== null && (s.contains(t) || MS(d.current, { select: !0 }));
|
|
21700
21672
|
}, n = function(e) {
|
|
21701
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
21673
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && MS(s);
|
|
21702
21674
|
};
|
|
21703
21675
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
21704
21676
|
let r = new MutationObserver(n);
|
|
@@ -21715,16 +21687,16 @@ var wS = "focusScope.autoFocusOnMount", TS = "focusScope.autoFocusOnUnmount", ES
|
|
|
21715
21687
|
p.paused
|
|
21716
21688
|
]), g.useEffect(() => {
|
|
21717
21689
|
if (s) {
|
|
21718
|
-
|
|
21690
|
+
NS.add(p);
|
|
21719
21691
|
let e = document.activeElement;
|
|
21720
21692
|
if (!s.contains(e)) {
|
|
21721
|
-
let t = new CustomEvent(
|
|
21722
|
-
s.addEventListener(
|
|
21693
|
+
let t = new CustomEvent(xS, CS);
|
|
21694
|
+
s.addEventListener(xS, l), s.dispatchEvent(t), t.defaultPrevented || (ES(IS(OS(s)), { select: !0 }), document.activeElement === e && MS(s));
|
|
21723
21695
|
}
|
|
21724
21696
|
return () => {
|
|
21725
|
-
s.removeEventListener(
|
|
21726
|
-
let t = new CustomEvent(
|
|
21727
|
-
s.addEventListener(
|
|
21697
|
+
s.removeEventListener(xS, l), setTimeout(() => {
|
|
21698
|
+
let t = new CustomEvent(SS, CS);
|
|
21699
|
+
s.addEventListener(SS, u), s.dispatchEvent(t), t.defaultPrevented || MS(e ?? document.body, { select: !0 }), s.removeEventListener(SS, u), NS.remove(p);
|
|
21728
21700
|
}, 0);
|
|
21729
21701
|
};
|
|
21730
21702
|
}
|
|
@@ -21738,31 +21710,31 @@ var wS = "focusScope.autoFocusOnMount", TS = "focusScope.autoFocusOnUnmount", ES
|
|
|
21738
21710
|
if (!n && !r || p.paused) return;
|
|
21739
21711
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
21740
21712
|
if (t && i) {
|
|
21741
|
-
let t = e.currentTarget, [r, a] =
|
|
21742
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
21713
|
+
let t = e.currentTarget, [r, a] = DS(t);
|
|
21714
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && MS(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && MS(a, { select: !0 })) : i === t && e.preventDefault();
|
|
21743
21715
|
}
|
|
21744
21716
|
}, [
|
|
21745
21717
|
n,
|
|
21746
21718
|
r,
|
|
21747
21719
|
p.paused
|
|
21748
21720
|
]);
|
|
21749
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
21721
|
+
return /* @__PURE__ */ (0, J.jsx)(tS.div, {
|
|
21750
21722
|
tabIndex: -1,
|
|
21751
21723
|
...o,
|
|
21752
21724
|
ref: f,
|
|
21753
21725
|
onKeyDown: m
|
|
21754
21726
|
});
|
|
21755
21727
|
});
|
|
21756
|
-
|
|
21757
|
-
function
|
|
21728
|
+
TS.displayName = wS;
|
|
21729
|
+
function ES(e, { select: t = !1 } = {}) {
|
|
21758
21730
|
let n = document.activeElement;
|
|
21759
|
-
for (let r of e) if (
|
|
21731
|
+
for (let r of e) if (MS(r, { select: t }), document.activeElement !== n) return;
|
|
21760
21732
|
}
|
|
21761
|
-
function
|
|
21762
|
-
let t =
|
|
21763
|
-
return [
|
|
21733
|
+
function DS(e) {
|
|
21734
|
+
let t = OS(e);
|
|
21735
|
+
return [kS(t, e), kS(t.reverse(), e)];
|
|
21764
21736
|
}
|
|
21765
|
-
function
|
|
21737
|
+
function OS(e) {
|
|
21766
21738
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
21767
21739
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
21768
21740
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -21770,10 +21742,10 @@ function jS(e) {
|
|
|
21770
21742
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
21771
21743
|
return t;
|
|
21772
21744
|
}
|
|
21773
|
-
function
|
|
21774
|
-
for (let n of e) if (!
|
|
21745
|
+
function kS(e, t) {
|
|
21746
|
+
for (let n of e) if (!AS(n, { upTo: t })) return n;
|
|
21775
21747
|
}
|
|
21776
|
-
function
|
|
21748
|
+
function AS(e, { upTo: t }) {
|
|
21777
21749
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
21778
21750
|
for (; e;) {
|
|
21779
21751
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -21782,120 +21754,120 @@ function NS(e, { upTo: t }) {
|
|
|
21782
21754
|
}
|
|
21783
21755
|
return !1;
|
|
21784
21756
|
}
|
|
21785
|
-
function
|
|
21757
|
+
function jS(e) {
|
|
21786
21758
|
return e instanceof HTMLInputElement && "select" in e;
|
|
21787
21759
|
}
|
|
21788
|
-
function
|
|
21760
|
+
function MS(e, { select: t = !1 } = {}) {
|
|
21789
21761
|
if (e && e.focus) {
|
|
21790
21762
|
let n = document.activeElement;
|
|
21791
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
21763
|
+
e.focus({ preventScroll: !0 }), e !== n && jS(e) && t && e.select();
|
|
21792
21764
|
}
|
|
21793
21765
|
}
|
|
21794
|
-
var
|
|
21795
|
-
function
|
|
21766
|
+
var NS = PS();
|
|
21767
|
+
function PS() {
|
|
21796
21768
|
let e = [];
|
|
21797
21769
|
return {
|
|
21798
21770
|
add(t) {
|
|
21799
21771
|
let n = e[0];
|
|
21800
|
-
t !== n && n?.pause(), e =
|
|
21772
|
+
t !== n && n?.pause(), e = FS(e, t), e.unshift(t);
|
|
21801
21773
|
},
|
|
21802
21774
|
remove(t) {
|
|
21803
|
-
e =
|
|
21775
|
+
e = FS(e, t), e[0]?.resume();
|
|
21804
21776
|
}
|
|
21805
21777
|
};
|
|
21806
21778
|
}
|
|
21807
|
-
function
|
|
21779
|
+
function FS(e, t) {
|
|
21808
21780
|
let n = [...e], r = n.indexOf(t);
|
|
21809
21781
|
return r !== -1 && n.splice(r, 1), n;
|
|
21810
21782
|
}
|
|
21811
|
-
function
|
|
21783
|
+
function IS(e) {
|
|
21812
21784
|
return e.filter((e) => e.tagName !== "A");
|
|
21813
21785
|
}
|
|
21814
21786
|
//#endregion
|
|
21815
21787
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
21816
|
-
var
|
|
21817
|
-
function
|
|
21818
|
-
let [t, n] = g.useState(
|
|
21819
|
-
return
|
|
21820
|
-
e || n((e) => e ?? String(
|
|
21788
|
+
var LS = globalThis?.document ? g.useLayoutEffect : () => {}, RS = g.useId || (() => void 0), zS = 0;
|
|
21789
|
+
function BS(e) {
|
|
21790
|
+
let [t, n] = g.useState(RS());
|
|
21791
|
+
return LS(() => {
|
|
21792
|
+
e || n((e) => e ?? String(zS++));
|
|
21821
21793
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
21822
21794
|
}
|
|
21823
21795
|
//#endregion
|
|
21824
21796
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
21825
|
-
var
|
|
21797
|
+
var VS = [
|
|
21826
21798
|
"top",
|
|
21827
21799
|
"right",
|
|
21828
21800
|
"bottom",
|
|
21829
21801
|
"left"
|
|
21830
|
-
],
|
|
21802
|
+
], HS = Math.min, US = Math.max, WS = Math.round, GS = Math.floor, KS = (e) => ({
|
|
21831
21803
|
x: e,
|
|
21832
21804
|
y: e
|
|
21833
|
-
}),
|
|
21805
|
+
}), qS = {
|
|
21834
21806
|
left: "right",
|
|
21835
21807
|
right: "left",
|
|
21836
21808
|
bottom: "top",
|
|
21837
21809
|
top: "bottom"
|
|
21838
21810
|
};
|
|
21839
|
-
function
|
|
21840
|
-
return
|
|
21811
|
+
function JS(e, t, n) {
|
|
21812
|
+
return US(e, HS(t, n));
|
|
21841
21813
|
}
|
|
21842
|
-
function
|
|
21814
|
+
function YS(e, t) {
|
|
21843
21815
|
return typeof e == "function" ? e(t) : e;
|
|
21844
21816
|
}
|
|
21845
|
-
function
|
|
21817
|
+
function XS(e) {
|
|
21846
21818
|
return e.split("-")[0];
|
|
21847
21819
|
}
|
|
21848
|
-
function
|
|
21820
|
+
function ZS(e) {
|
|
21849
21821
|
return e.split("-")[1];
|
|
21850
21822
|
}
|
|
21851
|
-
function
|
|
21823
|
+
function QS(e) {
|
|
21852
21824
|
return e === "x" ? "y" : "x";
|
|
21853
21825
|
}
|
|
21854
|
-
function
|
|
21826
|
+
function $S(e) {
|
|
21855
21827
|
return e === "y" ? "height" : "width";
|
|
21856
21828
|
}
|
|
21857
|
-
function
|
|
21829
|
+
function eC(e) {
|
|
21858
21830
|
let t = e[0];
|
|
21859
21831
|
return t === "t" || t === "b" ? "y" : "x";
|
|
21860
21832
|
}
|
|
21861
|
-
function
|
|
21862
|
-
return
|
|
21833
|
+
function tC(e) {
|
|
21834
|
+
return QS(eC(e));
|
|
21863
21835
|
}
|
|
21864
|
-
function
|
|
21836
|
+
function nC(e, t, n) {
|
|
21865
21837
|
n === void 0 && (n = !1);
|
|
21866
|
-
let r =
|
|
21867
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
21838
|
+
let r = ZS(e), i = tC(e), a = $S(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
21839
|
+
return t.reference[a] > t.floating[a] && (o = dC(o)), [o, dC(o)];
|
|
21868
21840
|
}
|
|
21869
|
-
function
|
|
21870
|
-
let t =
|
|
21841
|
+
function rC(e) {
|
|
21842
|
+
let t = dC(e);
|
|
21871
21843
|
return [
|
|
21872
|
-
|
|
21844
|
+
iC(e),
|
|
21873
21845
|
t,
|
|
21874
|
-
|
|
21846
|
+
iC(t)
|
|
21875
21847
|
];
|
|
21876
21848
|
}
|
|
21877
|
-
function
|
|
21849
|
+
function iC(e) {
|
|
21878
21850
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
21879
21851
|
}
|
|
21880
|
-
var
|
|
21881
|
-
function
|
|
21852
|
+
var aC = ["left", "right"], oC = ["right", "left"], sC = ["top", "bottom"], cC = ["bottom", "top"];
|
|
21853
|
+
function lC(e, t, n) {
|
|
21882
21854
|
switch (e) {
|
|
21883
21855
|
case "top":
|
|
21884
|
-
case "bottom": return n ? t ?
|
|
21856
|
+
case "bottom": return n ? t ? oC : aC : t ? aC : oC;
|
|
21885
21857
|
case "left":
|
|
21886
|
-
case "right": return t ?
|
|
21858
|
+
case "right": return t ? sC : cC;
|
|
21887
21859
|
default: return [];
|
|
21888
21860
|
}
|
|
21889
21861
|
}
|
|
21890
|
-
function
|
|
21891
|
-
let i =
|
|
21892
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
21862
|
+
function uC(e, t, n, r) {
|
|
21863
|
+
let i = ZS(e), a = lC(XS(e), n === "start", r);
|
|
21864
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(iC)))), a;
|
|
21893
21865
|
}
|
|
21894
|
-
function
|
|
21895
|
-
let t =
|
|
21896
|
-
return
|
|
21866
|
+
function dC(e) {
|
|
21867
|
+
let t = XS(e);
|
|
21868
|
+
return qS[t] + e.slice(t.length);
|
|
21897
21869
|
}
|
|
21898
|
-
function
|
|
21870
|
+
function fC(e) {
|
|
21899
21871
|
return {
|
|
21900
21872
|
top: 0,
|
|
21901
21873
|
right: 0,
|
|
@@ -21904,15 +21876,15 @@ function hC(e) {
|
|
|
21904
21876
|
...e
|
|
21905
21877
|
};
|
|
21906
21878
|
}
|
|
21907
|
-
function
|
|
21879
|
+
function pC(e) {
|
|
21908
21880
|
return typeof e == "number" ? {
|
|
21909
21881
|
top: e,
|
|
21910
21882
|
right: e,
|
|
21911
21883
|
bottom: e,
|
|
21912
21884
|
left: e
|
|
21913
|
-
} :
|
|
21885
|
+
} : fC(e);
|
|
21914
21886
|
}
|
|
21915
|
-
function
|
|
21887
|
+
function mC(e) {
|
|
21916
21888
|
let { x: t, y: n, width: r, height: i } = e;
|
|
21917
21889
|
return {
|
|
21918
21890
|
width: r,
|
|
@@ -21927,8 +21899,8 @@ function _C(e) {
|
|
|
21927
21899
|
}
|
|
21928
21900
|
//#endregion
|
|
21929
21901
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
21930
|
-
function
|
|
21931
|
-
let { reference: r, floating: i } = e, a =
|
|
21902
|
+
function hC(e, t, n) {
|
|
21903
|
+
let { reference: r, floating: i } = e, a = eC(t), o = tC(t), s = $S(o), c = XS(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;
|
|
21932
21904
|
switch (c) {
|
|
21933
21905
|
case "top":
|
|
21934
21906
|
p = {
|
|
@@ -21959,7 +21931,7 @@ function vC(e, t, n) {
|
|
|
21959
21931
|
y: r.y
|
|
21960
21932
|
};
|
|
21961
21933
|
}
|
|
21962
|
-
switch (
|
|
21934
|
+
switch (ZS(t)) {
|
|
21963
21935
|
case "start":
|
|
21964
21936
|
p[o] -= f * (n && l ? -1 : 1);
|
|
21965
21937
|
break;
|
|
@@ -21969,9 +21941,9 @@ function vC(e, t, n) {
|
|
|
21969
21941
|
}
|
|
21970
21942
|
return p;
|
|
21971
21943
|
}
|
|
21972
|
-
async function
|
|
21944
|
+
async function gC(e, t) {
|
|
21973
21945
|
t === void 0 && (t = {});
|
|
21974
|
-
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 } =
|
|
21946
|
+
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 } = YS(t, e), p = pC(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = mC(await i.getClippingRect({
|
|
21975
21947
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
21976
21948
|
boundary: c,
|
|
21977
21949
|
rootBoundary: l,
|
|
@@ -21984,7 +21956,7 @@ async function yC(e, t) {
|
|
|
21984
21956
|
} : 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(_)) || {
|
|
21985
21957
|
x: 1,
|
|
21986
21958
|
y: 1
|
|
21987
|
-
}, y =
|
|
21959
|
+
}, y = mC(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
21988
21960
|
elements: o,
|
|
21989
21961
|
rect: g,
|
|
21990
21962
|
offsetParent: _,
|
|
@@ -21997,15 +21969,15 @@ async function yC(e, t) {
|
|
|
21997
21969
|
right: (y.right - h.right + p.right) / v.x
|
|
21998
21970
|
};
|
|
21999
21971
|
}
|
|
22000
|
-
var
|
|
21972
|
+
var _C = 50, vC = async (e, t, n) => {
|
|
22001
21973
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
22002
21974
|
...o,
|
|
22003
|
-
detectOverflow:
|
|
21975
|
+
detectOverflow: gC
|
|
22004
21976
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
22005
21977
|
reference: e,
|
|
22006
21978
|
floating: t,
|
|
22007
21979
|
strategy: i
|
|
22008
|
-
}), { x: u, y: d } =
|
|
21980
|
+
}), { x: u, y: d } = hC(l, r, c), f = r, p = 0, m = {};
|
|
22009
21981
|
for (let n = 0; n < a.length; n++) {
|
|
22010
21982
|
let h = a[n];
|
|
22011
21983
|
if (!h) continue;
|
|
@@ -22026,11 +21998,11 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22026
21998
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
22027
21999
|
...m[g],
|
|
22028
22000
|
...b
|
|
22029
|
-
}, x && p <
|
|
22001
|
+
}, x && p < _C && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
22030
22002
|
reference: e,
|
|
22031
22003
|
floating: t,
|
|
22032
22004
|
strategy: i
|
|
22033
|
-
}) : x.rects), {x: u, y: d} =
|
|
22005
|
+
}) : x.rects), {x: u, y: d} = hC(l, f, c)), n = -1);
|
|
22034
22006
|
}
|
|
22035
22007
|
return {
|
|
22036
22008
|
x: u,
|
|
@@ -22039,18 +22011,18 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22039
22011
|
strategy: i,
|
|
22040
22012
|
middlewareData: m
|
|
22041
22013
|
};
|
|
22042
|
-
},
|
|
22014
|
+
}, yC = (e) => ({
|
|
22043
22015
|
name: "arrow",
|
|
22044
22016
|
options: e,
|
|
22045
22017
|
async fn(t) {
|
|
22046
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } =
|
|
22018
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = YS(e, t) || {};
|
|
22047
22019
|
if (l == null) return {};
|
|
22048
|
-
let d =
|
|
22020
|
+
let d = pC(u), f = {
|
|
22049
22021
|
x: n,
|
|
22050
22022
|
y: r
|
|
22051
|
-
}, p =
|
|
22023
|
+
}, p = tC(i), m = $S(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;
|
|
22052
22024
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
22053
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E =
|
|
22025
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = HS(d[_], T), D = HS(d[v], T), O = E, ee = C - h[m] - D, k = C / 2 - h[m] / 2 + w, A = JS(O, k, ee), j = !c.arrow && ZS(i) != null && k !== A && a.reference[m] / 2 - (k < O ? E : D) - h[m] / 2 < 0, te = j ? k < O ? k - O : k - ee : 0;
|
|
22054
22026
|
return {
|
|
22055
22027
|
[p]: f[p] + te,
|
|
22056
22028
|
data: {
|
|
@@ -22061,19 +22033,19 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22061
22033
|
reset: j
|
|
22062
22034
|
};
|
|
22063
22035
|
}
|
|
22064
|
-
}),
|
|
22036
|
+
}), bC = function(e) {
|
|
22065
22037
|
return e === void 0 && (e = {}), {
|
|
22066
22038
|
name: "flip",
|
|
22067
22039
|
options: e,
|
|
22068
22040
|
async fn(t) {
|
|
22069
22041
|
var n;
|
|
22070
|
-
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 } =
|
|
22042
|
+
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 } = YS(e, t);
|
|
22071
22043
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
22072
|
-
let g =
|
|
22073
|
-
!d && x && b.push(...
|
|
22044
|
+
let g = XS(r), _ = eC(o), v = XS(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [dC(o)] : rC(o)), x = p !== "none";
|
|
22045
|
+
!d && x && b.push(...uC(o, m, p, y));
|
|
22074
22046
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
22075
22047
|
if (l && w.push(C[g]), u) {
|
|
22076
|
-
let e =
|
|
22048
|
+
let e = nC(r, a, y);
|
|
22077
22049
|
w.push(C[e[0]], C[e[1]]);
|
|
22078
22050
|
}
|
|
22079
22051
|
if (T = [...T, {
|
|
@@ -22081,7 +22053,7 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22081
22053
|
overflows: w
|
|
22082
22054
|
}], !w.every((e) => e <= 0)) {
|
|
22083
22055
|
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
22084
|
-
if (t && (!(u === "alignment" && _ !==
|
|
22056
|
+
if (t && (!(u === "alignment" && _ !== eC(t)) || T.every((e) => eC(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
|
|
22085
22057
|
data: {
|
|
22086
22058
|
index: e,
|
|
22087
22059
|
overflows: T
|
|
@@ -22093,7 +22065,7 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22093
22065
|
case "bestFit": {
|
|
22094
22066
|
let e = T.filter((e) => {
|
|
22095
22067
|
if (x) {
|
|
22096
|
-
let t =
|
|
22068
|
+
let t = eC(e.placement);
|
|
22097
22069
|
return t === _ || t === "y";
|
|
22098
22070
|
}
|
|
22099
22071
|
return !0;
|
|
@@ -22111,7 +22083,7 @@ var bC = 50, xC = async (e, t, n) => {
|
|
|
22111
22083
|
}
|
|
22112
22084
|
};
|
|
22113
22085
|
};
|
|
22114
|
-
function
|
|
22086
|
+
function xC(e, t) {
|
|
22115
22087
|
return {
|
|
22116
22088
|
top: e.top - t.height,
|
|
22117
22089
|
right: e.right - t.width,
|
|
@@ -22119,43 +22091,43 @@ function wC(e, t) {
|
|
|
22119
22091
|
left: e.left - t.width
|
|
22120
22092
|
};
|
|
22121
22093
|
}
|
|
22122
|
-
function
|
|
22123
|
-
return
|
|
22094
|
+
function SC(e) {
|
|
22095
|
+
return VS.some((t) => e[t] >= 0);
|
|
22124
22096
|
}
|
|
22125
|
-
var
|
|
22097
|
+
var CC = function(e) {
|
|
22126
22098
|
return e === void 0 && (e = {}), {
|
|
22127
22099
|
name: "hide",
|
|
22128
22100
|
options: e,
|
|
22129
22101
|
async fn(t) {
|
|
22130
|
-
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } =
|
|
22102
|
+
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = YS(e, t);
|
|
22131
22103
|
switch (i) {
|
|
22132
22104
|
case "referenceHidden": {
|
|
22133
|
-
let e =
|
|
22105
|
+
let e = xC(await r.detectOverflow(t, {
|
|
22134
22106
|
...a,
|
|
22135
22107
|
elementContext: "reference"
|
|
22136
22108
|
}), n.reference);
|
|
22137
22109
|
return { data: {
|
|
22138
22110
|
referenceHiddenOffsets: e,
|
|
22139
|
-
referenceHidden:
|
|
22111
|
+
referenceHidden: SC(e)
|
|
22140
22112
|
} };
|
|
22141
22113
|
}
|
|
22142
22114
|
case "escaped": {
|
|
22143
|
-
let e =
|
|
22115
|
+
let e = xC(await r.detectOverflow(t, {
|
|
22144
22116
|
...a,
|
|
22145
22117
|
altBoundary: !0
|
|
22146
22118
|
}), n.floating);
|
|
22147
22119
|
return { data: {
|
|
22148
22120
|
escapedOffsets: e,
|
|
22149
|
-
escaped:
|
|
22121
|
+
escaped: SC(e)
|
|
22150
22122
|
} };
|
|
22151
22123
|
}
|
|
22152
22124
|
default: return {};
|
|
22153
22125
|
}
|
|
22154
22126
|
}
|
|
22155
22127
|
};
|
|
22156
|
-
},
|
|
22157
|
-
async function
|
|
22158
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o =
|
|
22128
|
+
}, wC = /* @__PURE__ */ new Set(["left", "top"]);
|
|
22129
|
+
async function TC(e, t) {
|
|
22130
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = XS(n), s = ZS(n), c = eC(n) === "y", l = wC.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = YS(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
22159
22131
|
mainAxis: d,
|
|
22160
22132
|
crossAxis: 0,
|
|
22161
22133
|
alignmentAxis: null
|
|
@@ -22172,13 +22144,13 @@ async function OC(e, t) {
|
|
|
22172
22144
|
y: p * u
|
|
22173
22145
|
};
|
|
22174
22146
|
}
|
|
22175
|
-
var
|
|
22147
|
+
var EC = function(e) {
|
|
22176
22148
|
return e === void 0 && (e = 0), {
|
|
22177
22149
|
name: "offset",
|
|
22178
22150
|
options: e,
|
|
22179
22151
|
async fn(t) {
|
|
22180
22152
|
var n;
|
|
22181
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
22153
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await TC(t, e);
|
|
22182
22154
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
22183
22155
|
x: r + s.x,
|
|
22184
22156
|
y: i + s.y,
|
|
@@ -22189,7 +22161,7 @@ var kC = function(e) {
|
|
|
22189
22161
|
};
|
|
22190
22162
|
}
|
|
22191
22163
|
};
|
|
22192
|
-
},
|
|
22164
|
+
}, DC = function(e) {
|
|
22193
22165
|
return e === void 0 && (e = {}), {
|
|
22194
22166
|
name: "shift",
|
|
22195
22167
|
options: e,
|
|
@@ -22200,17 +22172,17 @@ var kC = function(e) {
|
|
|
22200
22172
|
x: t,
|
|
22201
22173
|
y: n
|
|
22202
22174
|
};
|
|
22203
|
-
} }, ...l } =
|
|
22175
|
+
} }, ...l } = YS(e, t), u = {
|
|
22204
22176
|
x: n,
|
|
22205
22177
|
y: r
|
|
22206
|
-
}, d = await a.detectOverflow(t, l), f =
|
|
22178
|
+
}, d = await a.detectOverflow(t, l), f = eC(XS(i)), p = QS(f), m = u[p], h = u[f];
|
|
22207
22179
|
if (o) {
|
|
22208
22180
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
22209
|
-
m =
|
|
22181
|
+
m = JS(n, m, r);
|
|
22210
22182
|
}
|
|
22211
22183
|
if (s) {
|
|
22212
22184
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
22213
|
-
h =
|
|
22185
|
+
h = JS(n, h, r);
|
|
22214
22186
|
}
|
|
22215
22187
|
let g = c.fn({
|
|
22216
22188
|
...t,
|
|
@@ -22230,14 +22202,14 @@ var kC = function(e) {
|
|
|
22230
22202
|
};
|
|
22231
22203
|
}
|
|
22232
22204
|
};
|
|
22233
|
-
},
|
|
22205
|
+
}, OC = function(e) {
|
|
22234
22206
|
return e === void 0 && (e = {}), {
|
|
22235
22207
|
options: e,
|
|
22236
22208
|
fn(t) {
|
|
22237
|
-
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } =
|
|
22209
|
+
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = YS(e, t), u = {
|
|
22238
22210
|
x: n,
|
|
22239
22211
|
y: r
|
|
22240
|
-
}, d =
|
|
22212
|
+
}, d = eC(i), f = QS(d), p = u[f], m = u[d], h = YS(s, t), g = typeof h == "number" ? {
|
|
22241
22213
|
mainAxis: h,
|
|
22242
22214
|
crossAxis: 0
|
|
22243
22215
|
} : {
|
|
@@ -22250,7 +22222,7 @@ var kC = function(e) {
|
|
|
22250
22222
|
p < t ? p = t : p > n && (p = n);
|
|
22251
22223
|
}
|
|
22252
22224
|
if (l) {
|
|
22253
|
-
let e = f === "y" ? "width" : "height", t =
|
|
22225
|
+
let e = f === "y" ? "width" : "height", t = wC.has(XS(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);
|
|
22254
22226
|
m < n ? m = n : m > r && (m = r);
|
|
22255
22227
|
}
|
|
22256
22228
|
return {
|
|
@@ -22259,18 +22231,18 @@ var kC = function(e) {
|
|
|
22259
22231
|
};
|
|
22260
22232
|
}
|
|
22261
22233
|
};
|
|
22262
|
-
},
|
|
22234
|
+
}, kC = function(e) {
|
|
22263
22235
|
return e === void 0 && (e = {}), {
|
|
22264
22236
|
name: "size",
|
|
22265
22237
|
options: e,
|
|
22266
22238
|
async fn(t) {
|
|
22267
22239
|
var n, r;
|
|
22268
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } =
|
|
22240
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = YS(e, t), u = await o.detectOverflow(t, l), d = XS(i), f = ZS(i), p = eC(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
22269
22241
|
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");
|
|
22270
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
22242
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = HS(h - u[g], v), x = HS(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
22271
22243
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
22272
|
-
let e =
|
|
22273
|
-
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t :
|
|
22244
|
+
let e = US(u.left, 0), t = US(u.right, 0), n = US(u.top, 0), r = US(u.bottom, 0);
|
|
22245
|
+
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : US(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : US(u.top, u.bottom));
|
|
22274
22246
|
}
|
|
22275
22247
|
await c({
|
|
22276
22248
|
...t,
|
|
@@ -22284,39 +22256,39 @@ var kC = function(e) {
|
|
|
22284
22256
|
};
|
|
22285
22257
|
//#endregion
|
|
22286
22258
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
22287
|
-
function
|
|
22259
|
+
function AC() {
|
|
22288
22260
|
return typeof window < "u";
|
|
22289
22261
|
}
|
|
22290
|
-
function
|
|
22291
|
-
return
|
|
22262
|
+
function jC(e) {
|
|
22263
|
+
return PC(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
22292
22264
|
}
|
|
22293
|
-
function
|
|
22265
|
+
function MC(e) {
|
|
22294
22266
|
var t;
|
|
22295
22267
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
22296
22268
|
}
|
|
22269
|
+
function NC(e) {
|
|
22270
|
+
return ((PC(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
22271
|
+
}
|
|
22272
|
+
function PC(e) {
|
|
22273
|
+
return AC() ? e instanceof Node || e instanceof MC(e).Node : !1;
|
|
22274
|
+
}
|
|
22275
|
+
function FC(e) {
|
|
22276
|
+
return AC() ? e instanceof Element || e instanceof MC(e).Element : !1;
|
|
22277
|
+
}
|
|
22297
22278
|
function IC(e) {
|
|
22298
|
-
return (
|
|
22279
|
+
return AC() ? e instanceof HTMLElement || e instanceof MC(e).HTMLElement : !1;
|
|
22299
22280
|
}
|
|
22300
22281
|
function LC(e) {
|
|
22301
|
-
return
|
|
22282
|
+
return !AC() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof MC(e).ShadowRoot;
|
|
22302
22283
|
}
|
|
22303
22284
|
function RC(e) {
|
|
22304
|
-
|
|
22285
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = YC(e);
|
|
22286
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
22305
22287
|
}
|
|
22306
22288
|
function zC(e) {
|
|
22307
|
-
return
|
|
22289
|
+
return /^(table|td|th)$/.test(jC(e));
|
|
22308
22290
|
}
|
|
22309
22291
|
function BC(e) {
|
|
22310
|
-
return !NC() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof FC(e).ShadowRoot;
|
|
22311
|
-
}
|
|
22312
|
-
function VC(e) {
|
|
22313
|
-
let { overflow: t, overflowX: n, overflowY: r, display: i } = QC(e);
|
|
22314
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
22315
|
-
}
|
|
22316
|
-
function HC(e) {
|
|
22317
|
-
return /^(table|td|th)$/.test(PC(e));
|
|
22318
|
-
}
|
|
22319
|
-
function UC(e) {
|
|
22320
22292
|
try {
|
|
22321
22293
|
if (e.matches(":popover-open")) return !0;
|
|
22322
22294
|
} catch {}
|
|
@@ -22326,31 +22298,31 @@ function UC(e) {
|
|
|
22326
22298
|
return !1;
|
|
22327
22299
|
}
|
|
22328
22300
|
}
|
|
22329
|
-
var
|
|
22330
|
-
function
|
|
22331
|
-
let t =
|
|
22332
|
-
return
|
|
22301
|
+
var VC = /transform|translate|scale|rotate|perspective|filter/, HC = /paint|layout|strict|content/, UC = (e) => !!e && e !== "none", WC;
|
|
22302
|
+
function GC(e) {
|
|
22303
|
+
let t = FC(e) ? YC(e) : e;
|
|
22304
|
+
return UC(t.transform) || UC(t.translate) || UC(t.scale) || UC(t.rotate) || UC(t.perspective) || !qC() && (UC(t.backdropFilter) || UC(t.filter)) || VC.test(t.willChange || "") || HC.test(t.contain || "");
|
|
22333
22305
|
}
|
|
22334
|
-
function
|
|
22335
|
-
let t =
|
|
22336
|
-
for (;
|
|
22337
|
-
if (
|
|
22338
|
-
if (
|
|
22339
|
-
t =
|
|
22306
|
+
function KC(e) {
|
|
22307
|
+
let t = ZC(e);
|
|
22308
|
+
for (; IC(t) && !JC(t);) {
|
|
22309
|
+
if (GC(t)) return t;
|
|
22310
|
+
if (BC(t)) return null;
|
|
22311
|
+
t = ZC(t);
|
|
22340
22312
|
}
|
|
22341
22313
|
return null;
|
|
22342
22314
|
}
|
|
22343
|
-
function
|
|
22344
|
-
return
|
|
22315
|
+
function qC() {
|
|
22316
|
+
return WC ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), WC;
|
|
22345
22317
|
}
|
|
22346
|
-
function
|
|
22347
|
-
return /^(html|body|#document)$/.test(
|
|
22318
|
+
function JC(e) {
|
|
22319
|
+
return /^(html|body|#document)$/.test(jC(e));
|
|
22348
22320
|
}
|
|
22349
|
-
function
|
|
22350
|
-
return
|
|
22321
|
+
function YC(e) {
|
|
22322
|
+
return MC(e).getComputedStyle(e);
|
|
22351
22323
|
}
|
|
22352
|
-
function
|
|
22353
|
-
return
|
|
22324
|
+
function XC(e) {
|
|
22325
|
+
return FC(e) ? {
|
|
22354
22326
|
scrollLeft: e.scrollLeft,
|
|
22355
22327
|
scrollTop: e.scrollTop
|
|
22356
22328
|
} : {
|
|
@@ -22358,101 +22330,101 @@ function $C(e) {
|
|
|
22358
22330
|
scrollTop: e.scrollY
|
|
22359
22331
|
};
|
|
22360
22332
|
}
|
|
22361
|
-
function
|
|
22362
|
-
if (
|
|
22363
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
22364
|
-
return
|
|
22333
|
+
function ZC(e) {
|
|
22334
|
+
if (jC(e) === "html") return e;
|
|
22335
|
+
let t = e.assignedSlot || e.parentNode || LC(e) && e.host || NC(e);
|
|
22336
|
+
return LC(t) ? t.host : t;
|
|
22365
22337
|
}
|
|
22366
|
-
function
|
|
22367
|
-
let t =
|
|
22368
|
-
return
|
|
22338
|
+
function QC(e) {
|
|
22339
|
+
let t = ZC(e);
|
|
22340
|
+
return JC(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : IC(t) && RC(t) ? t : QC(t);
|
|
22369
22341
|
}
|
|
22370
|
-
function
|
|
22342
|
+
function $C(e, t, n) {
|
|
22371
22343
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
22372
|
-
let r =
|
|
22344
|
+
let r = QC(e), i = r === e.ownerDocument?.body, a = MC(r);
|
|
22373
22345
|
if (i) {
|
|
22374
|
-
let e =
|
|
22375
|
-
return t.concat(a, a.visualViewport || [],
|
|
22376
|
-
} else return t.concat(r,
|
|
22346
|
+
let e = ew(a);
|
|
22347
|
+
return t.concat(a, a.visualViewport || [], RC(r) ? r : [], e && n ? $C(e) : []);
|
|
22348
|
+
} else return t.concat(r, $C(r, [], n));
|
|
22377
22349
|
}
|
|
22378
|
-
function
|
|
22350
|
+
function ew(e) {
|
|
22379
22351
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
22380
22352
|
}
|
|
22381
22353
|
//#endregion
|
|
22382
22354
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
22383
|
-
function
|
|
22384
|
-
let t =
|
|
22355
|
+
function tw(e) {
|
|
22356
|
+
let t = YC(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = IC(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = WS(n) !== a || WS(r) !== o;
|
|
22385
22357
|
return s && (n = a, r = o), {
|
|
22386
22358
|
width: n,
|
|
22387
22359
|
height: r,
|
|
22388
22360
|
$: s
|
|
22389
22361
|
};
|
|
22390
22362
|
}
|
|
22391
|
-
function
|
|
22392
|
-
return
|
|
22363
|
+
function nw(e) {
|
|
22364
|
+
return FC(e) ? e : e.contextElement;
|
|
22393
22365
|
}
|
|
22394
|
-
function
|
|
22395
|
-
let t =
|
|
22396
|
-
if (!
|
|
22397
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
22366
|
+
function rw(e) {
|
|
22367
|
+
let t = nw(e);
|
|
22368
|
+
if (!IC(t)) return KS(1);
|
|
22369
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = tw(t), o = (a ? WS(n.width) : n.width) / r, s = (a ? WS(n.height) : n.height) / i;
|
|
22398
22370
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
22399
22371
|
x: o,
|
|
22400
22372
|
y: s
|
|
22401
22373
|
};
|
|
22402
22374
|
}
|
|
22403
|
-
var
|
|
22404
|
-
function
|
|
22405
|
-
let t =
|
|
22406
|
-
return !
|
|
22375
|
+
var iw = /* @__PURE__ */ KS(0);
|
|
22376
|
+
function aw(e) {
|
|
22377
|
+
let t = MC(e);
|
|
22378
|
+
return !qC() || !t.visualViewport ? iw : {
|
|
22407
22379
|
x: t.visualViewport.offsetLeft,
|
|
22408
22380
|
y: t.visualViewport.offsetTop
|
|
22409
22381
|
};
|
|
22410
22382
|
}
|
|
22411
|
-
function
|
|
22412
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
22383
|
+
function ow(e, t, n) {
|
|
22384
|
+
return t === void 0 && (t = !1), !n || t && n !== MC(e) ? !1 : t;
|
|
22413
22385
|
}
|
|
22414
|
-
function
|
|
22386
|
+
function sw(e, t, n, r) {
|
|
22415
22387
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
22416
|
-
let i = e.getBoundingClientRect(), a =
|
|
22417
|
-
t && (r ?
|
|
22418
|
-
let s =
|
|
22388
|
+
let i = e.getBoundingClientRect(), a = nw(e), o = KS(1);
|
|
22389
|
+
t && (r ? FC(r) && (o = rw(r)) : o = rw(e));
|
|
22390
|
+
let s = ow(a, n, r) ? aw(a) : KS(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;
|
|
22419
22391
|
if (a) {
|
|
22420
|
-
let e =
|
|
22392
|
+
let e = MC(a), t = r && FC(r) ? MC(r) : r, n = e, i = ew(n);
|
|
22421
22393
|
for (; i && r && t !== n;) {
|
|
22422
|
-
let e =
|
|
22423
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n =
|
|
22394
|
+
let e = rw(i), t = i.getBoundingClientRect(), r = YC(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
22395
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = MC(i), i = ew(n);
|
|
22424
22396
|
}
|
|
22425
22397
|
}
|
|
22426
|
-
return
|
|
22398
|
+
return mC({
|
|
22427
22399
|
width: u,
|
|
22428
22400
|
height: d,
|
|
22429
22401
|
x: c,
|
|
22430
22402
|
y: l
|
|
22431
22403
|
});
|
|
22432
22404
|
}
|
|
22433
|
-
function
|
|
22434
|
-
let n =
|
|
22435
|
-
return t ? t.left + n :
|
|
22405
|
+
function cw(e, t) {
|
|
22406
|
+
let n = XC(e).scrollLeft;
|
|
22407
|
+
return t ? t.left + n : sw(NC(e)).left + n;
|
|
22436
22408
|
}
|
|
22437
|
-
function
|
|
22409
|
+
function lw(e, t) {
|
|
22438
22410
|
let n = e.getBoundingClientRect();
|
|
22439
22411
|
return {
|
|
22440
|
-
x: n.left + t.scrollLeft -
|
|
22412
|
+
x: n.left + t.scrollLeft - cw(e, n),
|
|
22441
22413
|
y: n.top + t.scrollTop
|
|
22442
22414
|
};
|
|
22443
22415
|
}
|
|
22444
|
-
function
|
|
22445
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o =
|
|
22416
|
+
function uw(e) {
|
|
22417
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = NC(r), s = t ? BC(t.floating) : !1;
|
|
22446
22418
|
if (r === o || s && a) return n;
|
|
22447
22419
|
let c = {
|
|
22448
22420
|
scrollLeft: 0,
|
|
22449
22421
|
scrollTop: 0
|
|
22450
|
-
}, l =
|
|
22451
|
-
if ((d || !d && !a) && ((
|
|
22452
|
-
let e =
|
|
22453
|
-
l =
|
|
22422
|
+
}, l = KS(1), u = KS(0), d = IC(r);
|
|
22423
|
+
if ((d || !d && !a) && ((jC(r) !== "body" || RC(o)) && (c = XC(r)), d)) {
|
|
22424
|
+
let e = sw(r);
|
|
22425
|
+
l = rw(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
22454
22426
|
}
|
|
22455
|
-
let f = o && !d && !a ?
|
|
22427
|
+
let f = o && !d && !a ? lw(o, c) : KS(0);
|
|
22456
22428
|
return {
|
|
22457
22429
|
width: n.width * l.x,
|
|
22458
22430
|
height: n.height * l.y,
|
|
@@ -22460,31 +22432,31 @@ function pw(e) {
|
|
|
22460
22432
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
22461
22433
|
};
|
|
22462
22434
|
}
|
|
22463
|
-
function
|
|
22435
|
+
function dw(e) {
|
|
22464
22436
|
return Array.from(e.getClientRects());
|
|
22465
22437
|
}
|
|
22466
|
-
function
|
|
22467
|
-
let t =
|
|
22468
|
-
return
|
|
22438
|
+
function fw(e) {
|
|
22439
|
+
let t = NC(e), n = XC(e), r = e.ownerDocument.body, i = US(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = US(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + cw(e), s = -n.scrollTop;
|
|
22440
|
+
return YC(r).direction === "rtl" && (o += US(t.clientWidth, r.clientWidth) - i), {
|
|
22469
22441
|
width: i,
|
|
22470
22442
|
height: a,
|
|
22471
22443
|
x: o,
|
|
22472
22444
|
y: s
|
|
22473
22445
|
};
|
|
22474
22446
|
}
|
|
22475
|
-
var
|
|
22476
|
-
function
|
|
22477
|
-
let n =
|
|
22447
|
+
var pw = 25;
|
|
22448
|
+
function mw(e, t) {
|
|
22449
|
+
let n = MC(e), r = NC(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
22478
22450
|
if (i) {
|
|
22479
22451
|
a = i.width, o = i.height;
|
|
22480
|
-
let e =
|
|
22452
|
+
let e = qC();
|
|
22481
22453
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
22482
22454
|
}
|
|
22483
|
-
let l =
|
|
22455
|
+
let l = cw(r);
|
|
22484
22456
|
if (l <= 0) {
|
|
22485
22457
|
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);
|
|
22486
|
-
o <=
|
|
22487
|
-
} else l <=
|
|
22458
|
+
o <= pw && (a -= o);
|
|
22459
|
+
} else l <= pw && (a += l);
|
|
22488
22460
|
return {
|
|
22489
22461
|
width: a,
|
|
22490
22462
|
height: o,
|
|
@@ -22492,8 +22464,8 @@ function _w(e, t) {
|
|
|
22492
22464
|
y: c
|
|
22493
22465
|
};
|
|
22494
22466
|
}
|
|
22495
|
-
function
|
|
22496
|
-
let n =
|
|
22467
|
+
function hw(e, t) {
|
|
22468
|
+
let n = sw(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = IC(e) ? rw(e) : KS(1);
|
|
22497
22469
|
return {
|
|
22498
22470
|
width: e.clientWidth * a.x,
|
|
22499
22471
|
height: e.clientHeight * a.y,
|
|
@@ -22501,13 +22473,13 @@ function vw(e, t) {
|
|
|
22501
22473
|
y: r * a.y
|
|
22502
22474
|
};
|
|
22503
22475
|
}
|
|
22504
|
-
function
|
|
22476
|
+
function gw(e, t, n) {
|
|
22505
22477
|
let r;
|
|
22506
|
-
if (t === "viewport") r =
|
|
22507
|
-
else if (t === "document") r =
|
|
22508
|
-
else if (
|
|
22478
|
+
if (t === "viewport") r = mw(e, n);
|
|
22479
|
+
else if (t === "document") r = fw(NC(e));
|
|
22480
|
+
else if (FC(t)) r = hw(t, n);
|
|
22509
22481
|
else {
|
|
22510
|
-
let n =
|
|
22482
|
+
let n = aw(e);
|
|
22511
22483
|
r = {
|
|
22512
22484
|
x: t.x - n.x,
|
|
22513
22485
|
y: t.y - n.y,
|
|
@@ -22515,27 +22487,27 @@ function yw(e, t, n) {
|
|
|
22515
22487
|
height: t.height
|
|
22516
22488
|
};
|
|
22517
22489
|
}
|
|
22518
|
-
return
|
|
22490
|
+
return mC(r);
|
|
22519
22491
|
}
|
|
22520
|
-
function
|
|
22521
|
-
let n =
|
|
22522
|
-
return n === t || !
|
|
22492
|
+
function _w(e, t) {
|
|
22493
|
+
let n = ZC(e);
|
|
22494
|
+
return n === t || !FC(n) || JC(n) ? !1 : YC(n).position === "fixed" || _w(n, t);
|
|
22523
22495
|
}
|
|
22524
|
-
function
|
|
22496
|
+
function vw(e, t) {
|
|
22525
22497
|
let n = t.get(e);
|
|
22526
22498
|
if (n) return n;
|
|
22527
|
-
let r =
|
|
22528
|
-
for (;
|
|
22529
|
-
let t =
|
|
22530
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
22499
|
+
let r = $C(e, [], !1).filter((e) => FC(e) && jC(e) !== "body"), i = null, a = YC(e).position === "fixed", o = a ? ZC(e) : e;
|
|
22500
|
+
for (; FC(o) && !JC(o);) {
|
|
22501
|
+
let t = YC(o), n = GC(o);
|
|
22502
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || RC(o) && !n && _w(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = ZC(o);
|
|
22531
22503
|
}
|
|
22532
22504
|
return t.set(e, r), r;
|
|
22533
22505
|
}
|
|
22534
|
-
function
|
|
22535
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
22506
|
+
function yw(e) {
|
|
22507
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? BC(t) ? [] : vw(t, this._c) : [].concat(n), r], o = gw(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
22536
22508
|
for (let e = 1; e < a.length; e++) {
|
|
22537
|
-
let n =
|
|
22538
|
-
s =
|
|
22509
|
+
let n = gw(t, a[e], i);
|
|
22510
|
+
s = US(n.top, s), c = HS(n.right, c), l = HS(n.bottom, l), u = US(n.left, u);
|
|
22539
22511
|
}
|
|
22540
22512
|
return {
|
|
22541
22513
|
width: c - u,
|
|
@@ -22544,27 +22516,27 @@ function Sw(e) {
|
|
|
22544
22516
|
y: s
|
|
22545
22517
|
};
|
|
22546
22518
|
}
|
|
22547
|
-
function
|
|
22548
|
-
let { width: t, height: n } =
|
|
22519
|
+
function bw(e) {
|
|
22520
|
+
let { width: t, height: n } = tw(e);
|
|
22549
22521
|
return {
|
|
22550
22522
|
width: t,
|
|
22551
22523
|
height: n
|
|
22552
22524
|
};
|
|
22553
22525
|
}
|
|
22554
|
-
function
|
|
22555
|
-
let r =
|
|
22526
|
+
function xw(e, t, n) {
|
|
22527
|
+
let r = IC(t), i = NC(t), a = n === "fixed", o = sw(e, !0, a, t), s = {
|
|
22556
22528
|
scrollLeft: 0,
|
|
22557
22529
|
scrollTop: 0
|
|
22558
|
-
}, c =
|
|
22530
|
+
}, c = KS(0);
|
|
22559
22531
|
function l() {
|
|
22560
|
-
c.x =
|
|
22532
|
+
c.x = cw(i);
|
|
22561
22533
|
}
|
|
22562
|
-
if (r || !r && !a) if ((
|
|
22563
|
-
let e =
|
|
22534
|
+
if (r || !r && !a) if ((jC(t) !== "body" || RC(i)) && (s = XC(t)), r) {
|
|
22535
|
+
let e = sw(t, !0, a, t);
|
|
22564
22536
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
22565
22537
|
} else i && l();
|
|
22566
22538
|
a && !r && i && l();
|
|
22567
|
-
let u = i && !r && !a ?
|
|
22539
|
+
let u = i && !r && !a ? lw(i, s) : KS(0);
|
|
22568
22540
|
return {
|
|
22569
22541
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
22570
22542
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -22572,34 +22544,34 @@ function ww(e, t, n) {
|
|
|
22572
22544
|
height: o.height
|
|
22573
22545
|
};
|
|
22574
22546
|
}
|
|
22575
|
-
function
|
|
22576
|
-
return
|
|
22547
|
+
function Sw(e) {
|
|
22548
|
+
return YC(e).position === "static";
|
|
22577
22549
|
}
|
|
22578
|
-
function
|
|
22579
|
-
if (!
|
|
22550
|
+
function Cw(e, t) {
|
|
22551
|
+
if (!IC(e) || YC(e).position === "fixed") return null;
|
|
22580
22552
|
if (t) return t(e);
|
|
22581
22553
|
let n = e.offsetParent;
|
|
22582
|
-
return
|
|
22554
|
+
return NC(e) === n && (n = n.ownerDocument.body), n;
|
|
22583
22555
|
}
|
|
22584
|
-
function
|
|
22585
|
-
let n =
|
|
22586
|
-
if (
|
|
22587
|
-
if (!
|
|
22588
|
-
let t =
|
|
22589
|
-
for (; t && !
|
|
22590
|
-
if (
|
|
22591
|
-
t =
|
|
22556
|
+
function ww(e, t) {
|
|
22557
|
+
let n = MC(e);
|
|
22558
|
+
if (BC(e)) return n;
|
|
22559
|
+
if (!IC(e)) {
|
|
22560
|
+
let t = ZC(e);
|
|
22561
|
+
for (; t && !JC(t);) {
|
|
22562
|
+
if (FC(t) && !Sw(t)) return t;
|
|
22563
|
+
t = ZC(t);
|
|
22592
22564
|
}
|
|
22593
22565
|
return n;
|
|
22594
22566
|
}
|
|
22595
|
-
let r =
|
|
22596
|
-
for (; r &&
|
|
22597
|
-
return r &&
|
|
22567
|
+
let r = Cw(e, t);
|
|
22568
|
+
for (; r && zC(r) && Sw(r);) r = Cw(r, t);
|
|
22569
|
+
return r && JC(r) && Sw(r) && !GC(r) ? n : r || KC(e) || n;
|
|
22598
22570
|
}
|
|
22599
|
-
var
|
|
22600
|
-
let t = this.getOffsetParent ||
|
|
22571
|
+
var Tw = async function(e) {
|
|
22572
|
+
let t = this.getOffsetParent || ww, n = this.getDimensions, r = await n(e.floating);
|
|
22601
22573
|
return {
|
|
22602
|
-
reference:
|
|
22574
|
+
reference: xw(e.reference, await t(e.floating), e.strategy),
|
|
22603
22575
|
floating: {
|
|
22604
22576
|
x: 0,
|
|
22605
22577
|
y: 0,
|
|
@@ -22608,26 +22580,26 @@ var Ow = async function(e) {
|
|
|
22608
22580
|
}
|
|
22609
22581
|
};
|
|
22610
22582
|
};
|
|
22611
|
-
function
|
|
22612
|
-
return
|
|
22613
|
-
}
|
|
22614
|
-
var
|
|
22615
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
22616
|
-
getDocumentElement:
|
|
22617
|
-
getClippingRect:
|
|
22618
|
-
getOffsetParent:
|
|
22619
|
-
getElementRects:
|
|
22620
|
-
getClientRects:
|
|
22621
|
-
getDimensions:
|
|
22622
|
-
getScale:
|
|
22623
|
-
isElement:
|
|
22624
|
-
isRTL:
|
|
22583
|
+
function Ew(e) {
|
|
22584
|
+
return YC(e).direction === "rtl";
|
|
22585
|
+
}
|
|
22586
|
+
var Dw = {
|
|
22587
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: uw,
|
|
22588
|
+
getDocumentElement: NC,
|
|
22589
|
+
getClippingRect: yw,
|
|
22590
|
+
getOffsetParent: ww,
|
|
22591
|
+
getElementRects: Tw,
|
|
22592
|
+
getClientRects: dw,
|
|
22593
|
+
getDimensions: bw,
|
|
22594
|
+
getScale: rw,
|
|
22595
|
+
isElement: FC,
|
|
22596
|
+
isRTL: Ew
|
|
22625
22597
|
};
|
|
22626
|
-
function
|
|
22598
|
+
function Ow(e, t) {
|
|
22627
22599
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
22628
22600
|
}
|
|
22629
|
-
function
|
|
22630
|
-
let n = null, r, i =
|
|
22601
|
+
function kw(e, t) {
|
|
22602
|
+
let n = null, r, i = NC(e);
|
|
22631
22603
|
function a() {
|
|
22632
22604
|
var e;
|
|
22633
22605
|
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
@@ -22636,9 +22608,9 @@ function Mw(e, t) {
|
|
|
22636
22608
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
22637
22609
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
22638
22610
|
if (s || t(), !f || !p) return;
|
|
22639
|
-
let m =
|
|
22611
|
+
let m = GS(d), h = GS(i.clientWidth - (u + f)), g = GS(i.clientHeight - (d + p)), _ = GS(u), v = {
|
|
22640
22612
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
22641
|
-
threshold:
|
|
22613
|
+
threshold: US(0, HS(1, c)) || 1
|
|
22642
22614
|
}, y = !0;
|
|
22643
22615
|
function b(t) {
|
|
22644
22616
|
let n = t[0].intersectionRatio;
|
|
@@ -22648,7 +22620,7 @@ function Mw(e, t) {
|
|
|
22648
22620
|
o(!1, 1e-7);
|
|
22649
22621
|
}, 1e3);
|
|
22650
22622
|
}
|
|
22651
|
-
n === 1 && !
|
|
22623
|
+
n === 1 && !Ow(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
22652
22624
|
}
|
|
22653
22625
|
try {
|
|
22654
22626
|
n = new IntersectionObserver(b, {
|
|
@@ -22662,13 +22634,13 @@ function Mw(e, t) {
|
|
|
22662
22634
|
}
|
|
22663
22635
|
return o(!0), a;
|
|
22664
22636
|
}
|
|
22665
|
-
function
|
|
22637
|
+
function Aw(e, t, n, r) {
|
|
22666
22638
|
r === void 0 && (r = {});
|
|
22667
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
22639
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = nw(e), u = i || a ? [...l ? $C(l) : [], ...t ? $C(t) : []] : [];
|
|
22668
22640
|
u.forEach((e) => {
|
|
22669
22641
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
22670
22642
|
});
|
|
22671
|
-
let d = l && s ?
|
|
22643
|
+
let d = l && s ? kw(l, n) : null, f = -1, p = null;
|
|
22672
22644
|
o && (p = new ResizeObserver((e) => {
|
|
22673
22645
|
let [r] = e;
|
|
22674
22646
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -22676,11 +22648,11 @@ function Nw(e, t, n, r) {
|
|
|
22676
22648
|
(e = p) == null || e.observe(t);
|
|
22677
22649
|
})), n();
|
|
22678
22650
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
22679
|
-
let m, h = c ?
|
|
22651
|
+
let m, h = c ? sw(e) : null;
|
|
22680
22652
|
c && g();
|
|
22681
22653
|
function g() {
|
|
22682
|
-
let t =
|
|
22683
|
-
h && !
|
|
22654
|
+
let t = sw(e);
|
|
22655
|
+
h && !Ow(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
22684
22656
|
}
|
|
22685
22657
|
return n(), () => {
|
|
22686
22658
|
var e;
|
|
@@ -22689,20 +22661,20 @@ function Nw(e, t, n, r) {
|
|
|
22689
22661
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
22690
22662
|
};
|
|
22691
22663
|
}
|
|
22692
|
-
var
|
|
22664
|
+
var jw = EC, Mw = DC, Nw = bC, Pw = kC, Fw = CC, Iw = yC, Lw = OC, Rw = (e, t, n) => {
|
|
22693
22665
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
22694
|
-
platform:
|
|
22666
|
+
platform: Dw,
|
|
22695
22667
|
...n
|
|
22696
22668
|
}, a = {
|
|
22697
22669
|
...i.platform,
|
|
22698
22670
|
_c: r
|
|
22699
22671
|
};
|
|
22700
|
-
return
|
|
22672
|
+
return vC(e, t, {
|
|
22701
22673
|
...i,
|
|
22702
22674
|
platform: a
|
|
22703
22675
|
});
|
|
22704
|
-
},
|
|
22705
|
-
function
|
|
22676
|
+
}, zw = typeof document < "u" ? g.useLayoutEffect : function() {};
|
|
22677
|
+
function Bw(e, t) {
|
|
22706
22678
|
if (e === t) return !0;
|
|
22707
22679
|
if (typeof e != typeof t) return !1;
|
|
22708
22680
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -22710,33 +22682,33 @@ function Uw(e, t) {
|
|
|
22710
22682
|
if (e && t && typeof e == "object") {
|
|
22711
22683
|
if (Array.isArray(e)) {
|
|
22712
22684
|
if (n = e.length, n !== t.length) return !1;
|
|
22713
|
-
for (r = n; r-- !== 0;) if (!
|
|
22685
|
+
for (r = n; r-- !== 0;) if (!Bw(e[r], t[r])) return !1;
|
|
22714
22686
|
return !0;
|
|
22715
22687
|
}
|
|
22716
22688
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
22717
22689
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
22718
22690
|
for (r = n; r-- !== 0;) {
|
|
22719
22691
|
let n = i[r];
|
|
22720
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
22692
|
+
if (!(n === "_owner" && e.$$typeof) && !Bw(e[n], t[n])) return !1;
|
|
22721
22693
|
}
|
|
22722
22694
|
return !0;
|
|
22723
22695
|
}
|
|
22724
22696
|
return e !== e && t !== t;
|
|
22725
22697
|
}
|
|
22726
|
-
function
|
|
22698
|
+
function Vw(e) {
|
|
22727
22699
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
22728
22700
|
}
|
|
22729
|
-
function
|
|
22730
|
-
let n =
|
|
22701
|
+
function Hw(e, t) {
|
|
22702
|
+
let n = Vw(e);
|
|
22731
22703
|
return Math.round(t * n) / n;
|
|
22732
22704
|
}
|
|
22733
|
-
function
|
|
22705
|
+
function Uw(e) {
|
|
22734
22706
|
let t = g.useRef(e);
|
|
22735
|
-
return
|
|
22707
|
+
return zw(() => {
|
|
22736
22708
|
t.current = e;
|
|
22737
22709
|
}), t;
|
|
22738
22710
|
}
|
|
22739
|
-
function
|
|
22711
|
+
function Ww(e) {
|
|
22740
22712
|
e === void 0 && (e = {});
|
|
22741
22713
|
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] = g.useState({
|
|
22742
22714
|
x: 0,
|
|
@@ -22746,24 +22718,24 @@ function qw(e) {
|
|
|
22746
22718
|
middlewareData: {},
|
|
22747
22719
|
isPositioned: !1
|
|
22748
22720
|
}), [f, p] = g.useState(r);
|
|
22749
|
-
|
|
22721
|
+
Bw(f, r) || p(r);
|
|
22750
22722
|
let [m, h] = g.useState(null), [v, y] = g.useState(null), b = g.useCallback((e) => {
|
|
22751
22723
|
e !== w.current && (w.current = e, h(e));
|
|
22752
22724
|
}, []), x = g.useCallback((e) => {
|
|
22753
22725
|
e !== T.current && (T.current = e, y(e));
|
|
22754
|
-
}, []), S = a || m, C = o || v, w = g.useRef(null), T = g.useRef(null), E = g.useRef(u), D = c != null, O =
|
|
22726
|
+
}, []), S = a || m, C = o || v, w = g.useRef(null), T = g.useRef(null), E = g.useRef(u), D = c != null, O = Uw(c), ee = Uw(i), k = Uw(l), A = g.useCallback(() => {
|
|
22755
22727
|
if (!w.current || !T.current) return;
|
|
22756
22728
|
let e = {
|
|
22757
22729
|
placement: t,
|
|
22758
22730
|
strategy: n,
|
|
22759
22731
|
middleware: f
|
|
22760
22732
|
};
|
|
22761
|
-
ee.current && (e.platform = ee.current),
|
|
22733
|
+
ee.current && (e.platform = ee.current), Rw(w.current, T.current, e).then((e) => {
|
|
22762
22734
|
let t = {
|
|
22763
22735
|
...e,
|
|
22764
22736
|
isPositioned: k.current !== !1
|
|
22765
22737
|
};
|
|
22766
|
-
j.current && !
|
|
22738
|
+
j.current && !Bw(E.current, t) && (E.current = t, _.flushSync(() => {
|
|
22767
22739
|
d(t);
|
|
22768
22740
|
}));
|
|
22769
22741
|
});
|
|
@@ -22774,16 +22746,16 @@ function qw(e) {
|
|
|
22774
22746
|
ee,
|
|
22775
22747
|
k
|
|
22776
22748
|
]);
|
|
22777
|
-
|
|
22749
|
+
zw(() => {
|
|
22778
22750
|
l === !1 && E.current.isPositioned && (E.current.isPositioned = !1, d((e) => ({
|
|
22779
22751
|
...e,
|
|
22780
22752
|
isPositioned: !1
|
|
22781
22753
|
})));
|
|
22782
22754
|
}, [l]);
|
|
22783
22755
|
let j = g.useRef(!1);
|
|
22784
|
-
|
|
22756
|
+
zw(() => (j.current = !0, () => {
|
|
22785
22757
|
j.current = !1;
|
|
22786
|
-
}), []),
|
|
22758
|
+
}), []), zw(() => {
|
|
22787
22759
|
if (S && (w.current = S), C && (T.current = C), S && C) {
|
|
22788
22760
|
if (O.current) return O.current(S, C, A);
|
|
22789
22761
|
A();
|
|
@@ -22810,11 +22782,11 @@ function qw(e) {
|
|
|
22810
22782
|
top: 0
|
|
22811
22783
|
};
|
|
22812
22784
|
if (!M.floating) return e;
|
|
22813
|
-
let t =
|
|
22785
|
+
let t = Hw(M.floating, u.x), r = Hw(M.floating, u.y);
|
|
22814
22786
|
return s ? {
|
|
22815
22787
|
...e,
|
|
22816
22788
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
22817
|
-
...
|
|
22789
|
+
...Vw(M.floating) >= 1.5 && { willChange: "transform" }
|
|
22818
22790
|
} : {
|
|
22819
22791
|
position: n,
|
|
22820
22792
|
left: t,
|
|
@@ -22841,7 +22813,7 @@ function qw(e) {
|
|
|
22841
22813
|
N
|
|
22842
22814
|
]);
|
|
22843
22815
|
}
|
|
22844
|
-
var
|
|
22816
|
+
var Gw = (e) => {
|
|
22845
22817
|
function t(e) {
|
|
22846
22818
|
return {}.hasOwnProperty.call(e, "current");
|
|
22847
22819
|
}
|
|
@@ -22850,63 +22822,63 @@ var Jw = (e) => {
|
|
|
22850
22822
|
options: e,
|
|
22851
22823
|
fn(n) {
|
|
22852
22824
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
22853
|
-
return r && t(r) ? r.current == null ? {} :
|
|
22825
|
+
return r && t(r) ? r.current == null ? {} : Iw({
|
|
22854
22826
|
element: r.current,
|
|
22855
22827
|
padding: i
|
|
22856
|
-
}).fn(n) : r ?
|
|
22828
|
+
}).fn(n) : r ? Iw({
|
|
22857
22829
|
element: r,
|
|
22858
22830
|
padding: i
|
|
22859
22831
|
}).fn(n) : {};
|
|
22860
22832
|
}
|
|
22861
22833
|
};
|
|
22862
|
-
},
|
|
22863
|
-
let n =
|
|
22834
|
+
}, Kw = (e, t) => {
|
|
22835
|
+
let n = jw(e);
|
|
22864
22836
|
return {
|
|
22865
22837
|
name: n.name,
|
|
22866
22838
|
fn: n.fn,
|
|
22867
22839
|
options: [e, t]
|
|
22868
22840
|
};
|
|
22869
|
-
},
|
|
22870
|
-
let n =
|
|
22841
|
+
}, qw = (e, t) => {
|
|
22842
|
+
let n = Mw(e);
|
|
22871
22843
|
return {
|
|
22872
22844
|
name: n.name,
|
|
22873
22845
|
fn: n.fn,
|
|
22874
22846
|
options: [e, t]
|
|
22875
22847
|
};
|
|
22876
|
-
},
|
|
22877
|
-
fn:
|
|
22848
|
+
}, Jw = (e, t) => ({
|
|
22849
|
+
fn: Lw(e).fn,
|
|
22878
22850
|
options: [e, t]
|
|
22879
|
-
}),
|
|
22880
|
-
let n =
|
|
22851
|
+
}), Yw = (e, t) => {
|
|
22852
|
+
let n = Nw(e);
|
|
22881
22853
|
return {
|
|
22882
22854
|
name: n.name,
|
|
22883
22855
|
fn: n.fn,
|
|
22884
22856
|
options: [e, t]
|
|
22885
22857
|
};
|
|
22886
|
-
},
|
|
22887
|
-
let n =
|
|
22858
|
+
}, Xw = (e, t) => {
|
|
22859
|
+
let n = Pw(e);
|
|
22888
22860
|
return {
|
|
22889
22861
|
name: n.name,
|
|
22890
22862
|
fn: n.fn,
|
|
22891
22863
|
options: [e, t]
|
|
22892
22864
|
};
|
|
22893
|
-
},
|
|
22894
|
-
let n =
|
|
22865
|
+
}, Zw = (e, t) => {
|
|
22866
|
+
let n = Fw(e);
|
|
22895
22867
|
return {
|
|
22896
22868
|
name: n.name,
|
|
22897
22869
|
fn: n.fn,
|
|
22898
22870
|
options: [e, t]
|
|
22899
22871
|
};
|
|
22900
|
-
},
|
|
22901
|
-
let n =
|
|
22872
|
+
}, Qw = (e, t) => {
|
|
22873
|
+
let n = Gw(e);
|
|
22902
22874
|
return {
|
|
22903
22875
|
name: n.name,
|
|
22904
22876
|
fn: n.fn,
|
|
22905
22877
|
options: [e, t]
|
|
22906
22878
|
};
|
|
22907
|
-
},
|
|
22879
|
+
}, $w = "Arrow", eT = g.forwardRef((e, t) => {
|
|
22908
22880
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
22909
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
22881
|
+
return /* @__PURE__ */ (0, J.jsx)(tS.svg, {
|
|
22910
22882
|
...a,
|
|
22911
22883
|
ref: t,
|
|
22912
22884
|
width: r,
|
|
@@ -22916,13 +22888,13 @@ var Jw = (e) => {
|
|
|
22916
22888
|
children: e.asChild ? n : /* @__PURE__ */ (0, J.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
22917
22889
|
});
|
|
22918
22890
|
});
|
|
22919
|
-
|
|
22920
|
-
var
|
|
22891
|
+
eT.displayName = $w;
|
|
22892
|
+
var tT = eT;
|
|
22921
22893
|
//#endregion
|
|
22922
22894
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
22923
|
-
function
|
|
22895
|
+
function nT(e) {
|
|
22924
22896
|
let [t, n] = g.useState(void 0);
|
|
22925
|
-
return
|
|
22897
|
+
return LS(() => {
|
|
22926
22898
|
if (e) {
|
|
22927
22899
|
n({
|
|
22928
22900
|
width: e.offsetWidth,
|
|
@@ -22946,29 +22918,29 @@ function aT(e) {
|
|
|
22946
22918
|
}
|
|
22947
22919
|
//#endregion
|
|
22948
22920
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
22949
|
-
var
|
|
22921
|
+
var rT = "Popper", [iT, aT] = qx(rT), [oT, sT] = iT(rT), cT = (e) => {
|
|
22950
22922
|
let { __scopePopper: t, children: n } = e, [r, i] = g.useState(null);
|
|
22951
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
22923
|
+
return /* @__PURE__ */ (0, J.jsx)(oT, {
|
|
22952
22924
|
scope: t,
|
|
22953
22925
|
anchor: r,
|
|
22954
22926
|
onAnchorChange: i,
|
|
22955
22927
|
children: n
|
|
22956
22928
|
});
|
|
22957
22929
|
};
|
|
22958
|
-
|
|
22959
|
-
var
|
|
22960
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
22930
|
+
cT.displayName = rT;
|
|
22931
|
+
var lT = "PopperAnchor", uT = g.forwardRef((e, t) => {
|
|
22932
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = sT(lT, n), o = g.useRef(null), s = Kx(t, o), c = g.useRef(null);
|
|
22961
22933
|
return g.useEffect(() => {
|
|
22962
22934
|
let e = c.current;
|
|
22963
22935
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
22964
|
-
}), r ? null : /* @__PURE__ */ (0, J.jsx)(
|
|
22936
|
+
}), r ? null : /* @__PURE__ */ (0, J.jsx)(tS.div, {
|
|
22965
22937
|
...i,
|
|
22966
22938
|
ref: s
|
|
22967
22939
|
});
|
|
22968
22940
|
});
|
|
22969
|
-
|
|
22970
|
-
var
|
|
22971
|
-
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, _ =
|
|
22941
|
+
uT.displayName = lT;
|
|
22942
|
+
var dT = "PopperContent", [fT, pT] = iT(dT), mT = g.forwardRef((e, t) => {
|
|
22943
|
+
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, _ = sT(dT, n), [v, y] = g.useState(null), b = Kx(t, (e) => y(e)), [x, S] = g.useState(null), C = nT(x), w = C?.width ?? 0, T = C?.height ?? 0, E = r + (a === "center" ? "" : "-" + a), D = typeof u == "number" ? u : {
|
|
22972
22944
|
top: 0,
|
|
22973
22945
|
right: 0,
|
|
22974
22946
|
bottom: 0,
|
|
@@ -22976,51 +22948,51 @@ var mT = "PopperContent", [hT, gT] = sT(mT), _T = g.forwardRef((e, t) => {
|
|
|
22976
22948
|
...u
|
|
22977
22949
|
}, O = Array.isArray(l) ? l : [l], ee = O.length > 0, k = {
|
|
22978
22950
|
padding: D,
|
|
22979
|
-
boundary: O.filter(
|
|
22951
|
+
boundary: O.filter(vT),
|
|
22980
22952
|
altBoundary: ee
|
|
22981
|
-
}, { refs: A, floatingStyles: j, placement: te, isPositioned: M, middlewareData: N } =
|
|
22953
|
+
}, { refs: A, floatingStyles: j, placement: te, isPositioned: M, middlewareData: N } = Ww({
|
|
22982
22954
|
strategy: "fixed",
|
|
22983
22955
|
placement: E,
|
|
22984
|
-
whileElementsMounted: (...e) =>
|
|
22956
|
+
whileElementsMounted: (...e) => Aw(...e, { animationFrame: p === "always" }),
|
|
22985
22957
|
elements: { reference: _.anchor },
|
|
22986
22958
|
middleware: [
|
|
22987
|
-
|
|
22959
|
+
Kw({
|
|
22988
22960
|
mainAxis: i + T,
|
|
22989
22961
|
alignmentAxis: o
|
|
22990
22962
|
}),
|
|
22991
|
-
c &&
|
|
22963
|
+
c && qw({
|
|
22992
22964
|
mainAxis: !0,
|
|
22993
22965
|
crossAxis: !1,
|
|
22994
|
-
limiter: d === "partial" ?
|
|
22966
|
+
limiter: d === "partial" ? Jw() : void 0,
|
|
22995
22967
|
...k
|
|
22996
22968
|
}),
|
|
22997
|
-
c &&
|
|
22998
|
-
|
|
22969
|
+
c && Yw({ ...k }),
|
|
22970
|
+
Xw({
|
|
22999
22971
|
...k,
|
|
23000
22972
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
23001
22973
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
23002
22974
|
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`);
|
|
23003
22975
|
}
|
|
23004
22976
|
}),
|
|
23005
|
-
x &&
|
|
22977
|
+
x && Qw({
|
|
23006
22978
|
element: x,
|
|
23007
22979
|
padding: s
|
|
23008
22980
|
}),
|
|
23009
|
-
|
|
22981
|
+
yT({
|
|
23010
22982
|
arrowWidth: w,
|
|
23011
22983
|
arrowHeight: T
|
|
23012
22984
|
}),
|
|
23013
|
-
f &&
|
|
22985
|
+
f && Zw({
|
|
23014
22986
|
strategy: "referenceHidden",
|
|
23015
22987
|
...k
|
|
23016
22988
|
})
|
|
23017
22989
|
]
|
|
23018
|
-
}), [ne, re] =
|
|
23019
|
-
|
|
22990
|
+
}), [ne, re] = bT(te), ie = rS(m);
|
|
22991
|
+
LS(() => {
|
|
23020
22992
|
M && ie?.();
|
|
23021
22993
|
}, [M, ie]);
|
|
23022
22994
|
let P = N.arrow?.x, ae = N.arrow?.y, F = N.arrow?.centerOffset !== 0, [oe, se] = g.useState();
|
|
23023
|
-
return
|
|
22995
|
+
return LS(() => {
|
|
23024
22996
|
v && se(window.getComputedStyle(v).zIndex);
|
|
23025
22997
|
}, [v]), /* @__PURE__ */ (0, J.jsx)("div", {
|
|
23026
22998
|
ref: A.setFloating,
|
|
@@ -23037,14 +23009,14 @@ var mT = "PopperContent", [hT, gT] = sT(mT), _T = g.forwardRef((e, t) => {
|
|
|
23037
23009
|
}
|
|
23038
23010
|
},
|
|
23039
23011
|
dir: e.dir,
|
|
23040
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23012
|
+
children: /* @__PURE__ */ (0, J.jsx)(fT, {
|
|
23041
23013
|
scope: n,
|
|
23042
23014
|
placedSide: ne,
|
|
23043
23015
|
onArrowChange: S,
|
|
23044
23016
|
arrowX: P,
|
|
23045
23017
|
arrowY: ae,
|
|
23046
23018
|
shouldHideArrow: F,
|
|
23047
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23019
|
+
children: /* @__PURE__ */ (0, J.jsx)(tS.div, {
|
|
23048
23020
|
"data-side": ne,
|
|
23049
23021
|
"data-align": re,
|
|
23050
23022
|
...h,
|
|
@@ -23057,14 +23029,14 @@ var mT = "PopperContent", [hT, gT] = sT(mT), _T = g.forwardRef((e, t) => {
|
|
|
23057
23029
|
})
|
|
23058
23030
|
});
|
|
23059
23031
|
});
|
|
23060
|
-
|
|
23061
|
-
var
|
|
23032
|
+
mT.displayName = dT;
|
|
23033
|
+
var hT = "PopperArrow", gT = {
|
|
23062
23034
|
top: "bottom",
|
|
23063
23035
|
right: "left",
|
|
23064
23036
|
bottom: "top",
|
|
23065
23037
|
left: "right"
|
|
23066
|
-
},
|
|
23067
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
23038
|
+
}, _T = g.forwardRef(function(e, t) {
|
|
23039
|
+
let { __scopePopper: n, ...r } = e, i = pT(hT, n), a = gT[i.placedSide];
|
|
23068
23040
|
return /* @__PURE__ */ (0, J.jsx)("span", {
|
|
23069
23041
|
ref: i.onArrowChange,
|
|
23070
23042
|
style: {
|
|
@@ -23086,7 +23058,7 @@ var vT = "PopperArrow", yT = {
|
|
|
23086
23058
|
}[i.placedSide],
|
|
23087
23059
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
23088
23060
|
},
|
|
23089
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23061
|
+
children: /* @__PURE__ */ (0, J.jsx)(tT, {
|
|
23090
23062
|
...r,
|
|
23091
23063
|
ref: t,
|
|
23092
23064
|
style: {
|
|
@@ -23096,15 +23068,15 @@ var vT = "PopperArrow", yT = {
|
|
|
23096
23068
|
})
|
|
23097
23069
|
});
|
|
23098
23070
|
});
|
|
23099
|
-
|
|
23100
|
-
function
|
|
23071
|
+
_T.displayName = hT;
|
|
23072
|
+
function vT(e) {
|
|
23101
23073
|
return e !== null;
|
|
23102
23074
|
}
|
|
23103
|
-
var
|
|
23075
|
+
var yT = (e) => ({
|
|
23104
23076
|
name: "transformOrigin",
|
|
23105
23077
|
options: e,
|
|
23106
23078
|
fn(t) {
|
|
23107
|
-
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] =
|
|
23079
|
+
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] = bT(n), u = {
|
|
23108
23080
|
start: "0%",
|
|
23109
23081
|
center: "50%",
|
|
23110
23082
|
end: "100%"
|
|
@@ -23115,32 +23087,32 @@ var ST = (e) => ({
|
|
|
23115
23087
|
} };
|
|
23116
23088
|
}
|
|
23117
23089
|
});
|
|
23118
|
-
function
|
|
23090
|
+
function bT(e) {
|
|
23119
23091
|
let [t, n = "center"] = e.split("-");
|
|
23120
23092
|
return [t, n];
|
|
23121
23093
|
}
|
|
23122
|
-
var
|
|
23094
|
+
var xT = cT, ST = uT, CT = mT, wT = _T, TT = "Portal", ET = g.forwardRef((e, t) => {
|
|
23123
23095
|
let { container: n, ...r } = e, [i, a] = g.useState(!1);
|
|
23124
|
-
|
|
23096
|
+
LS(() => a(!0), []);
|
|
23125
23097
|
let o = n || i && globalThis?.document?.body;
|
|
23126
|
-
return o ? _.createPortal(/* @__PURE__ */ (0, J.jsx)(
|
|
23098
|
+
return o ? _.createPortal(/* @__PURE__ */ (0, J.jsx)(tS.div, {
|
|
23127
23099
|
...r,
|
|
23128
23100
|
ref: t
|
|
23129
23101
|
}), o) : null;
|
|
23130
23102
|
});
|
|
23131
|
-
|
|
23103
|
+
ET.displayName = TT;
|
|
23132
23104
|
//#endregion
|
|
23133
23105
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
23134
|
-
function
|
|
23106
|
+
function DT(e, t) {
|
|
23135
23107
|
return g.useReducer((e, n) => t[e][n] ?? e, e);
|
|
23136
23108
|
}
|
|
23137
|
-
var
|
|
23138
|
-
let { present: t, children: n } = e, r =
|
|
23109
|
+
var OT = (e) => {
|
|
23110
|
+
let { present: t, children: n } = e, r = kT(t), i = typeof n == "function" ? n({ present: r.isPresent }) : g.Children.only(n), a = Kx(r.ref, jT(i));
|
|
23139
23111
|
return typeof n == "function" || r.isPresent ? g.cloneElement(i, { ref: a }) : null;
|
|
23140
23112
|
};
|
|
23141
|
-
|
|
23142
|
-
function
|
|
23143
|
-
let [t, n] = g.useState(), r = g.useRef(null), i = g.useRef(e), a = g.useRef("none"), [o, s] =
|
|
23113
|
+
OT.displayName = "Presence";
|
|
23114
|
+
function kT(e) {
|
|
23115
|
+
let [t, n] = g.useState(), r = g.useRef(null), i = g.useRef(e), a = g.useRef("none"), [o, s] = DT(e ? "mounted" : "unmounted", {
|
|
23144
23116
|
mounted: {
|
|
23145
23117
|
UNMOUNT: "unmounted",
|
|
23146
23118
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -23152,18 +23124,18 @@ function MT(e) {
|
|
|
23152
23124
|
unmounted: { MOUNT: "mounted" }
|
|
23153
23125
|
});
|
|
23154
23126
|
return g.useEffect(() => {
|
|
23155
|
-
let e =
|
|
23127
|
+
let e = AT(r.current);
|
|
23156
23128
|
a.current = o === "mounted" ? e : "none";
|
|
23157
|
-
}, [o]),
|
|
23129
|
+
}, [o]), LS(() => {
|
|
23158
23130
|
let t = r.current, n = i.current;
|
|
23159
23131
|
if (n !== e) {
|
|
23160
|
-
let r = a.current, o =
|
|
23132
|
+
let r = a.current, o = AT(t);
|
|
23161
23133
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
23162
23134
|
}
|
|
23163
|
-
}, [e, s]),
|
|
23135
|
+
}, [e, s]), LS(() => {
|
|
23164
23136
|
if (t) {
|
|
23165
23137
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
23166
|
-
let o =
|
|
23138
|
+
let o = AT(r.current).includes(CSS.escape(a.animationName));
|
|
23167
23139
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
23168
23140
|
let r = t.style.animationFillMode;
|
|
23169
23141
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -23171,7 +23143,7 @@ function MT(e) {
|
|
|
23171
23143
|
});
|
|
23172
23144
|
}
|
|
23173
23145
|
}, c = (e) => {
|
|
23174
|
-
e.target === t && (a.current =
|
|
23146
|
+
e.target === t && (a.current = AT(r.current));
|
|
23175
23147
|
};
|
|
23176
23148
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
23177
23149
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -23184,18 +23156,18 @@ function MT(e) {
|
|
|
23184
23156
|
}, [])
|
|
23185
23157
|
};
|
|
23186
23158
|
}
|
|
23187
|
-
function
|
|
23159
|
+
function AT(e) {
|
|
23188
23160
|
return e?.animationName || "none";
|
|
23189
23161
|
}
|
|
23190
|
-
function
|
|
23162
|
+
function jT(e) {
|
|
23191
23163
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
23192
23164
|
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);
|
|
23193
23165
|
}
|
|
23194
23166
|
//#endregion
|
|
23195
23167
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
23196
|
-
var
|
|
23197
|
-
function
|
|
23198
|
-
let [i, a, o] =
|
|
23168
|
+
var MT = g.useInsertionEffect || LS;
|
|
23169
|
+
function NT({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
23170
|
+
let [i, a, o] = PT({
|
|
23199
23171
|
defaultProp: t,
|
|
23200
23172
|
onChange: n
|
|
23201
23173
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -23208,7 +23180,7 @@ function IT({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
23208
23180
|
}
|
|
23209
23181
|
return [c, g.useCallback((t) => {
|
|
23210
23182
|
if (s) {
|
|
23211
|
-
let n =
|
|
23183
|
+
let n = FT(t) ? t(e) : t;
|
|
23212
23184
|
n !== e && o.current?.(n);
|
|
23213
23185
|
} else a(t);
|
|
23214
23186
|
}, [
|
|
@@ -23218,9 +23190,9 @@ function IT({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
23218
23190
|
o
|
|
23219
23191
|
])];
|
|
23220
23192
|
}
|
|
23221
|
-
function
|
|
23193
|
+
function PT({ defaultProp: e, onChange: t }) {
|
|
23222
23194
|
let [n, r] = g.useState(e), i = g.useRef(n), a = g.useRef(t);
|
|
23223
|
-
return
|
|
23195
|
+
return MT(() => {
|
|
23224
23196
|
a.current = t;
|
|
23225
23197
|
}, [t]), g.useEffect(() => {
|
|
23226
23198
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -23230,27 +23202,27 @@ function LT({ defaultProp: e, onChange: t }) {
|
|
|
23230
23202
|
a
|
|
23231
23203
|
];
|
|
23232
23204
|
}
|
|
23233
|
-
function
|
|
23205
|
+
function FT(e) {
|
|
23234
23206
|
return typeof e == "function";
|
|
23235
23207
|
}
|
|
23236
23208
|
//#endregion
|
|
23237
23209
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
23238
|
-
var
|
|
23210
|
+
var IT = function(e) {
|
|
23239
23211
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
23240
|
-
},
|
|
23241
|
-
return e && (e.host ||
|
|
23242
|
-
},
|
|
23212
|
+
}, LT = /* @__PURE__ */ new WeakMap(), RT = /* @__PURE__ */ new WeakMap(), zT = {}, BT = 0, VT = function(e) {
|
|
23213
|
+
return e && (e.host || VT(e.parentNode));
|
|
23214
|
+
}, HT = function(e, t) {
|
|
23243
23215
|
return t.map(function(t) {
|
|
23244
23216
|
if (e.contains(t)) return t;
|
|
23245
|
-
var n =
|
|
23217
|
+
var n = VT(t);
|
|
23246
23218
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
23247
23219
|
}).filter(function(e) {
|
|
23248
23220
|
return !!e;
|
|
23249
23221
|
});
|
|
23250
|
-
},
|
|
23251
|
-
var i =
|
|
23252
|
-
|
|
23253
|
-
var a =
|
|
23222
|
+
}, UT = function(e, t, n, r) {
|
|
23223
|
+
var i = HT(t, Array.isArray(e) ? e : [e]);
|
|
23224
|
+
zT[n] || (zT[n] = /* @__PURE__ */ new WeakMap());
|
|
23225
|
+
var a = zT[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
23254
23226
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
23255
23227
|
};
|
|
23256
23228
|
i.forEach(l);
|
|
@@ -23258,38 +23230,38 @@ var zT = function(e) {
|
|
|
23258
23230
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
23259
23231
|
if (s.has(e)) u(e);
|
|
23260
23232
|
else try {
|
|
23261
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
23262
|
-
|
|
23233
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (LT.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
23234
|
+
LT.set(e, c), a.set(e, l), o.push(e), c === 1 && i && RT.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
23263
23235
|
} catch (t) {
|
|
23264
23236
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
23265
23237
|
}
|
|
23266
23238
|
});
|
|
23267
23239
|
};
|
|
23268
|
-
return u(t), s.clear(),
|
|
23240
|
+
return u(t), s.clear(), BT++, function() {
|
|
23269
23241
|
o.forEach(function(e) {
|
|
23270
|
-
var t =
|
|
23271
|
-
|
|
23272
|
-
}),
|
|
23242
|
+
var t = LT.get(e) - 1, i = a.get(e) - 1;
|
|
23243
|
+
LT.set(e, t), a.set(e, i), t || (RT.has(e) || e.removeAttribute(r), RT.delete(e)), i || e.removeAttribute(n);
|
|
23244
|
+
}), BT--, BT || (LT = /* @__PURE__ */ new WeakMap(), LT = /* @__PURE__ */ new WeakMap(), RT = /* @__PURE__ */ new WeakMap(), zT = {});
|
|
23273
23245
|
};
|
|
23274
|
-
},
|
|
23246
|
+
}, WT = function(e, t, n) {
|
|
23275
23247
|
n === void 0 && (n = "data-aria-hidden");
|
|
23276
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
23277
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
23248
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || IT(e);
|
|
23249
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), UT(r, i, n, "aria-hidden")) : function() {
|
|
23278
23250
|
return null;
|
|
23279
23251
|
};
|
|
23280
|
-
},
|
|
23281
|
-
return
|
|
23252
|
+
}, GT = function() {
|
|
23253
|
+
return GT = Object.assign || function(e) {
|
|
23282
23254
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
23283
23255
|
return e;
|
|
23284
|
-
},
|
|
23256
|
+
}, GT.apply(this, arguments);
|
|
23285
23257
|
};
|
|
23286
|
-
function
|
|
23258
|
+
function KT(e, t) {
|
|
23287
23259
|
var n = {};
|
|
23288
23260
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
23289
23261
|
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]]);
|
|
23290
23262
|
return n;
|
|
23291
23263
|
}
|
|
23292
|
-
function
|
|
23264
|
+
function qT(e, t, n, r) {
|
|
23293
23265
|
function i(e) {
|
|
23294
23266
|
return e instanceof n ? e : new n(function(t) {
|
|
23295
23267
|
t(e);
|
|
@@ -23316,7 +23288,7 @@ function XT(e, t, n, r) {
|
|
|
23316
23288
|
c((r = r.apply(e, t || [])).next());
|
|
23317
23289
|
});
|
|
23318
23290
|
}
|
|
23319
|
-
function
|
|
23291
|
+
function JT(e, t) {
|
|
23320
23292
|
var n = {
|
|
23321
23293
|
label: 0,
|
|
23322
23294
|
sent: function() {
|
|
@@ -23386,7 +23358,7 @@ function ZT(e, t) {
|
|
|
23386
23358
|
};
|
|
23387
23359
|
}
|
|
23388
23360
|
}
|
|
23389
|
-
function
|
|
23361
|
+
function YT(e, t) {
|
|
23390
23362
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
23391
23363
|
if (!n) return e;
|
|
23392
23364
|
var r = n.call(e), i, a = [], o;
|
|
@@ -23403,25 +23375,25 @@ function QT(e, t) {
|
|
|
23403
23375
|
}
|
|
23404
23376
|
return a;
|
|
23405
23377
|
}
|
|
23406
|
-
function
|
|
23407
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
23378
|
+
function XT() {
|
|
23379
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(YT(arguments[t]));
|
|
23408
23380
|
return e;
|
|
23409
23381
|
}
|
|
23410
|
-
function
|
|
23382
|
+
function ZT(e, t, n) {
|
|
23411
23383
|
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]);
|
|
23412
23384
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
23413
23385
|
}
|
|
23414
23386
|
//#endregion
|
|
23415
23387
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
23416
|
-
var
|
|
23388
|
+
var QT = "right-scroll-bar-position", $T = "width-before-scroll-bar", eE = "with-scroll-bars-hidden", tE = "--removed-body-scroll-bar-size";
|
|
23417
23389
|
//#endregion
|
|
23418
23390
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
23419
|
-
function
|
|
23391
|
+
function nE(e, t) {
|
|
23420
23392
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
23421
23393
|
}
|
|
23422
23394
|
//#endregion
|
|
23423
23395
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
23424
|
-
function
|
|
23396
|
+
function rE(e, t) {
|
|
23425
23397
|
var n = (0, g.useState)(function() {
|
|
23426
23398
|
return {
|
|
23427
23399
|
value: e,
|
|
@@ -23441,33 +23413,33 @@ function oE(e, t) {
|
|
|
23441
23413
|
}
|
|
23442
23414
|
//#endregion
|
|
23443
23415
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
23444
|
-
var
|
|
23445
|
-
function
|
|
23446
|
-
var n =
|
|
23416
|
+
var iE = typeof window < "u" ? g.useLayoutEffect : g.useEffect, aE = /* @__PURE__ */ new WeakMap();
|
|
23417
|
+
function oE(e, t) {
|
|
23418
|
+
var n = rE(t || null, function(t) {
|
|
23447
23419
|
return e.forEach(function(e) {
|
|
23448
|
-
return
|
|
23420
|
+
return nE(e, t);
|
|
23449
23421
|
});
|
|
23450
23422
|
});
|
|
23451
|
-
return
|
|
23452
|
-
var t =
|
|
23423
|
+
return iE(function() {
|
|
23424
|
+
var t = aE.get(n);
|
|
23453
23425
|
if (t) {
|
|
23454
23426
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
23455
23427
|
r.forEach(function(e) {
|
|
23456
|
-
i.has(e) ||
|
|
23428
|
+
i.has(e) || nE(e, null);
|
|
23457
23429
|
}), i.forEach(function(e) {
|
|
23458
|
-
r.has(e) ||
|
|
23430
|
+
r.has(e) || nE(e, a);
|
|
23459
23431
|
});
|
|
23460
23432
|
}
|
|
23461
|
-
|
|
23433
|
+
aE.set(n, e);
|
|
23462
23434
|
}, [e]), n;
|
|
23463
23435
|
}
|
|
23464
23436
|
//#endregion
|
|
23465
23437
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
23466
|
-
function
|
|
23438
|
+
function sE(e) {
|
|
23467
23439
|
return e;
|
|
23468
23440
|
}
|
|
23469
|
-
function
|
|
23470
|
-
t === void 0 && (t =
|
|
23441
|
+
function cE(e, t) {
|
|
23442
|
+
t === void 0 && (t = sE);
|
|
23471
23443
|
var n = [], r = !1;
|
|
23472
23444
|
return {
|
|
23473
23445
|
read: function() {
|
|
@@ -23520,35 +23492,35 @@ function dE(e, t) {
|
|
|
23520
23492
|
}
|
|
23521
23493
|
};
|
|
23522
23494
|
}
|
|
23523
|
-
function
|
|
23495
|
+
function lE(e) {
|
|
23524
23496
|
e === void 0 && (e = {});
|
|
23525
|
-
var t =
|
|
23526
|
-
return t.options =
|
|
23497
|
+
var t = cE(null);
|
|
23498
|
+
return t.options = GT({
|
|
23527
23499
|
async: !0,
|
|
23528
23500
|
ssr: !1
|
|
23529
23501
|
}, e), t;
|
|
23530
23502
|
}
|
|
23531
23503
|
//#endregion
|
|
23532
23504
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
23533
|
-
var
|
|
23534
|
-
var t = e.sideCar, n =
|
|
23505
|
+
var uE = function(e) {
|
|
23506
|
+
var t = e.sideCar, n = KT(e, ["sideCar"]);
|
|
23535
23507
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
23536
23508
|
var r = t.read();
|
|
23537
23509
|
if (!r) throw Error("Sidecar medium not found");
|
|
23538
|
-
return g.createElement(r,
|
|
23510
|
+
return g.createElement(r, GT({}, n));
|
|
23539
23511
|
};
|
|
23540
|
-
|
|
23541
|
-
function
|
|
23542
|
-
return e.useMedium(t),
|
|
23512
|
+
uE.isSideCarExport = !0;
|
|
23513
|
+
function dE(e, t) {
|
|
23514
|
+
return e.useMedium(t), uE;
|
|
23543
23515
|
}
|
|
23544
23516
|
//#endregion
|
|
23545
23517
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
23546
|
-
var
|
|
23518
|
+
var fE = lE(), pE = function() {}, mE = g.forwardRef(function(e, t) {
|
|
23547
23519
|
var n = g.useRef(null), r = g.useState({
|
|
23548
|
-
onScrollCapture:
|
|
23549
|
-
onWheelCapture:
|
|
23550
|
-
onTouchMoveCapture:
|
|
23551
|
-
}), 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, _ = e.allowPinchZoom, v = e.as, y = v === void 0 ? "div" : v, b = e.gapMode, x =
|
|
23520
|
+
onScrollCapture: pE,
|
|
23521
|
+
onWheelCapture: pE,
|
|
23522
|
+
onTouchMoveCapture: pE
|
|
23523
|
+
}), 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, _ = e.allowPinchZoom, v = e.as, y = v === void 0 ? "div" : v, b = e.gapMode, x = KT(e, [
|
|
23552
23524
|
"forwardProps",
|
|
23553
23525
|
"children",
|
|
23554
23526
|
"className",
|
|
@@ -23562,9 +23534,9 @@ var hE = fE(), gE = function() {}, _E = g.forwardRef(function(e, t) {
|
|
|
23562
23534
|
"allowPinchZoom",
|
|
23563
23535
|
"as",
|
|
23564
23536
|
"gapMode"
|
|
23565
|
-
]), S = f, C =
|
|
23537
|
+
]), S = f, C = oE([n, t]), w = GT(GT({}, x), i);
|
|
23566
23538
|
return g.createElement(g.Fragment, null, u && g.createElement(S, {
|
|
23567
|
-
sideCar:
|
|
23539
|
+
sideCar: fE,
|
|
23568
23540
|
removeScrollBar: l,
|
|
23569
23541
|
shards: d,
|
|
23570
23542
|
noRelative: p,
|
|
@@ -23574,52 +23546,52 @@ var hE = fE(), gE = function() {}, _E = g.forwardRef(function(e, t) {
|
|
|
23574
23546
|
allowPinchZoom: !!_,
|
|
23575
23547
|
lockRef: n,
|
|
23576
23548
|
gapMode: b
|
|
23577
|
-
}), o ? g.cloneElement(g.Children.only(s),
|
|
23549
|
+
}), o ? g.cloneElement(g.Children.only(s), GT(GT({}, w), { ref: C })) : g.createElement(y, GT({}, w, {
|
|
23578
23550
|
className: c,
|
|
23579
23551
|
ref: C
|
|
23580
23552
|
}), s));
|
|
23581
23553
|
});
|
|
23582
|
-
|
|
23554
|
+
mE.defaultProps = {
|
|
23583
23555
|
enabled: !0,
|
|
23584
23556
|
removeScrollBar: !0,
|
|
23585
23557
|
inert: !1
|
|
23586
|
-
},
|
|
23587
|
-
fullWidth:
|
|
23588
|
-
zeroRight:
|
|
23558
|
+
}, mE.classNames = {
|
|
23559
|
+
fullWidth: $T,
|
|
23560
|
+
zeroRight: QT
|
|
23589
23561
|
};
|
|
23590
23562
|
//#endregion
|
|
23591
23563
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
23592
|
-
var
|
|
23593
|
-
if (
|
|
23564
|
+
var hE, gE = function() {
|
|
23565
|
+
if (hE) return hE;
|
|
23594
23566
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
23595
23567
|
};
|
|
23596
23568
|
//#endregion
|
|
23597
23569
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
23598
|
-
function
|
|
23570
|
+
function _E() {
|
|
23599
23571
|
if (!document) return null;
|
|
23600
23572
|
var e = document.createElement("style");
|
|
23601
23573
|
e.type = "text/css";
|
|
23602
|
-
var t =
|
|
23574
|
+
var t = gE();
|
|
23603
23575
|
return t && e.setAttribute("nonce", t), e;
|
|
23604
23576
|
}
|
|
23605
|
-
function
|
|
23577
|
+
function vE(e, t) {
|
|
23606
23578
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
23607
23579
|
}
|
|
23608
|
-
function
|
|
23580
|
+
function yE(e) {
|
|
23609
23581
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
23610
23582
|
}
|
|
23611
|
-
var
|
|
23583
|
+
var bE = function() {
|
|
23612
23584
|
var e = 0, t = null;
|
|
23613
23585
|
return {
|
|
23614
23586
|
add: function(n) {
|
|
23615
|
-
e == 0 && (t =
|
|
23587
|
+
e == 0 && (t = _E()) && (vE(t, n), yE(t)), e++;
|
|
23616
23588
|
},
|
|
23617
23589
|
remove: function() {
|
|
23618
23590
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
23619
23591
|
}
|
|
23620
23592
|
};
|
|
23621
|
-
},
|
|
23622
|
-
var e =
|
|
23593
|
+
}, xE = function() {
|
|
23594
|
+
var e = bE();
|
|
23623
23595
|
return function(t, n) {
|
|
23624
23596
|
g.useEffect(function() {
|
|
23625
23597
|
return e.add(t), function() {
|
|
@@ -23627,43 +23599,43 @@ var CE = function() {
|
|
|
23627
23599
|
};
|
|
23628
23600
|
}, [t && n]);
|
|
23629
23601
|
};
|
|
23630
|
-
},
|
|
23631
|
-
var e =
|
|
23602
|
+
}, SE = function() {
|
|
23603
|
+
var e = xE();
|
|
23632
23604
|
return function(t) {
|
|
23633
23605
|
var n = t.styles, r = t.dynamic;
|
|
23634
23606
|
return e(n, r), null;
|
|
23635
23607
|
};
|
|
23636
|
-
},
|
|
23608
|
+
}, CE = {
|
|
23637
23609
|
left: 0,
|
|
23638
23610
|
top: 0,
|
|
23639
23611
|
right: 0,
|
|
23640
23612
|
gap: 0
|
|
23641
|
-
},
|
|
23613
|
+
}, wE = function(e) {
|
|
23642
23614
|
return parseInt(e || "", 10) || 0;
|
|
23643
|
-
},
|
|
23615
|
+
}, TE = function(e) {
|
|
23644
23616
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
23645
23617
|
return [
|
|
23646
|
-
|
|
23647
|
-
|
|
23648
|
-
|
|
23618
|
+
wE(n),
|
|
23619
|
+
wE(r),
|
|
23620
|
+
wE(i)
|
|
23649
23621
|
];
|
|
23650
|
-
},
|
|
23651
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
23652
|
-
var t =
|
|
23622
|
+
}, EE = function(e) {
|
|
23623
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return CE;
|
|
23624
|
+
var t = TE(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
23653
23625
|
return {
|
|
23654
23626
|
left: t[0],
|
|
23655
23627
|
top: t[1],
|
|
23656
23628
|
right: t[2],
|
|
23657
23629
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
23658
23630
|
};
|
|
23659
|
-
},
|
|
23631
|
+
}, DE = SE(), OE = "data-scroll-locked", kE = function(e, t, n, r) {
|
|
23660
23632
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
23661
23633
|
return n === void 0 && (n = "margin"), `
|
|
23662
|
-
.${
|
|
23634
|
+
.${eE} {
|
|
23663
23635
|
overflow: hidden ${r};
|
|
23664
23636
|
padding-right: ${s}px ${r};
|
|
23665
23637
|
}
|
|
23666
|
-
body[${
|
|
23638
|
+
body[${OE}] {
|
|
23667
23639
|
overflow: hidden ${r};
|
|
23668
23640
|
overscroll-behavior: contain;
|
|
23669
23641
|
${[
|
|
@@ -23680,122 +23652,122 @@ var CE = function() {
|
|
|
23680
23652
|
].filter(Boolean).join("")}
|
|
23681
23653
|
}
|
|
23682
23654
|
|
|
23683
|
-
.${
|
|
23655
|
+
.${QT} {
|
|
23684
23656
|
right: ${s}px ${r};
|
|
23685
23657
|
}
|
|
23686
23658
|
|
|
23687
|
-
.${
|
|
23659
|
+
.${$T} {
|
|
23688
23660
|
margin-right: ${s}px ${r};
|
|
23689
23661
|
}
|
|
23690
23662
|
|
|
23691
|
-
.${
|
|
23663
|
+
.${QT} .${QT} {
|
|
23692
23664
|
right: 0 ${r};
|
|
23693
23665
|
}
|
|
23694
23666
|
|
|
23695
|
-
.${
|
|
23667
|
+
.${$T} .${$T} {
|
|
23696
23668
|
margin-right: 0 ${r};
|
|
23697
23669
|
}
|
|
23698
23670
|
|
|
23699
|
-
body[${
|
|
23700
|
-
${
|
|
23671
|
+
body[${OE}] {
|
|
23672
|
+
${tE}: ${s}px;
|
|
23701
23673
|
}
|
|
23702
23674
|
`;
|
|
23703
|
-
},
|
|
23675
|
+
}, AE = function() {
|
|
23704
23676
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
23705
23677
|
return isFinite(e) ? e : 0;
|
|
23706
|
-
},
|
|
23678
|
+
}, jE = function() {
|
|
23707
23679
|
g.useEffect(function() {
|
|
23708
|
-
return document.body.setAttribute(
|
|
23709
|
-
var e =
|
|
23710
|
-
e <= 0 ? document.body.removeAttribute(
|
|
23680
|
+
return document.body.setAttribute(OE, (AE() + 1).toString()), function() {
|
|
23681
|
+
var e = AE() - 1;
|
|
23682
|
+
e <= 0 ? document.body.removeAttribute(OE) : document.body.setAttribute(OE, e.toString());
|
|
23711
23683
|
};
|
|
23712
23684
|
}, []);
|
|
23713
|
-
},
|
|
23685
|
+
}, ME = function(e) {
|
|
23714
23686
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
23715
|
-
|
|
23687
|
+
jE();
|
|
23716
23688
|
var a = g.useMemo(function() {
|
|
23717
|
-
return
|
|
23689
|
+
return EE(i);
|
|
23718
23690
|
}, [i]);
|
|
23719
|
-
return g.createElement(
|
|
23720
|
-
},
|
|
23691
|
+
return g.createElement(DE, { styles: kE(a, !t, i, n ? "" : "!important") });
|
|
23692
|
+
}, NE = !1;
|
|
23721
23693
|
if (typeof window < "u") try {
|
|
23722
|
-
var
|
|
23723
|
-
return
|
|
23694
|
+
var PE = Object.defineProperty({}, "passive", { get: function() {
|
|
23695
|
+
return NE = !0, !0;
|
|
23724
23696
|
} });
|
|
23725
|
-
window.addEventListener("test",
|
|
23697
|
+
window.addEventListener("test", PE, PE), window.removeEventListener("test", PE, PE);
|
|
23726
23698
|
} catch {
|
|
23727
|
-
|
|
23699
|
+
NE = !1;
|
|
23728
23700
|
}
|
|
23729
|
-
var
|
|
23701
|
+
var FE = NE ? { passive: !1 } : !1, IE = function(e) {
|
|
23730
23702
|
return e.tagName === "TEXTAREA";
|
|
23731
|
-
},
|
|
23703
|
+
}, LE = function(e, t) {
|
|
23732
23704
|
if (!(e instanceof Element)) return !1;
|
|
23733
23705
|
var n = window.getComputedStyle(e);
|
|
23734
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
23735
|
-
},
|
|
23736
|
-
return
|
|
23737
|
-
},
|
|
23738
|
-
return
|
|
23739
|
-
},
|
|
23706
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !IE(e) && n[t] === "visible");
|
|
23707
|
+
}, RE = function(e) {
|
|
23708
|
+
return LE(e, "overflowY");
|
|
23709
|
+
}, zE = function(e) {
|
|
23710
|
+
return LE(e, "overflowX");
|
|
23711
|
+
}, BE = function(e, t) {
|
|
23740
23712
|
var n = t.ownerDocument, r = t;
|
|
23741
23713
|
do {
|
|
23742
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
23743
|
-
var i =
|
|
23714
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), UE(e, r)) {
|
|
23715
|
+
var i = WE(e, r);
|
|
23744
23716
|
if (i[1] > i[2]) return !0;
|
|
23745
23717
|
}
|
|
23746
23718
|
r = r.parentNode;
|
|
23747
23719
|
} while (r && r !== n.body);
|
|
23748
23720
|
return !1;
|
|
23749
|
-
},
|
|
23721
|
+
}, VE = function(e) {
|
|
23750
23722
|
return [
|
|
23751
23723
|
e.scrollTop,
|
|
23752
23724
|
e.scrollHeight,
|
|
23753
23725
|
e.clientHeight
|
|
23754
23726
|
];
|
|
23755
|
-
},
|
|
23727
|
+
}, HE = function(e) {
|
|
23756
23728
|
return [
|
|
23757
23729
|
e.scrollLeft,
|
|
23758
23730
|
e.scrollWidth,
|
|
23759
23731
|
e.clientWidth
|
|
23760
23732
|
];
|
|
23761
|
-
},
|
|
23733
|
+
}, UE = function(e, t) {
|
|
23734
|
+
return e === "v" ? RE(t) : zE(t);
|
|
23735
|
+
}, WE = function(e, t) {
|
|
23762
23736
|
return e === "v" ? VE(t) : HE(t);
|
|
23763
|
-
},
|
|
23764
|
-
return e === "v" ? WE(t) : GE(t);
|
|
23765
|
-
}, JE = function(e, t) {
|
|
23737
|
+
}, GE = function(e, t) {
|
|
23766
23738
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
23767
|
-
},
|
|
23768
|
-
var a =
|
|
23739
|
+
}, KE = function(e, t, n, r, i) {
|
|
23740
|
+
var a = GE(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
23769
23741
|
do {
|
|
23770
23742
|
if (!s) break;
|
|
23771
|
-
var p =
|
|
23772
|
-
(m || h) &&
|
|
23743
|
+
var p = WE(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
23744
|
+
(m || h) && UE(e, s) && (d += h, f += m);
|
|
23773
23745
|
var g = s.parentNode;
|
|
23774
23746
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
23775
23747
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
23776
23748
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
23777
|
-
},
|
|
23749
|
+
}, qE = function(e) {
|
|
23778
23750
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
23779
|
-
},
|
|
23751
|
+
}, JE = function(e) {
|
|
23780
23752
|
return [e.deltaX, e.deltaY];
|
|
23781
|
-
},
|
|
23753
|
+
}, YE = function(e) {
|
|
23782
23754
|
return e && "current" in e ? e.current : e;
|
|
23783
|
-
},
|
|
23755
|
+
}, XE = function(e, t) {
|
|
23784
23756
|
return e[0] === t[0] && e[1] === t[1];
|
|
23785
|
-
},
|
|
23757
|
+
}, ZE = function(e) {
|
|
23786
23758
|
return `
|
|
23787
23759
|
.block-interactivity-${e} {pointer-events: none;}
|
|
23788
23760
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
23789
23761
|
`;
|
|
23790
|
-
},
|
|
23791
|
-
function
|
|
23792
|
-
var t = g.useRef([]), n = g.useRef([0, 0]), r = g.useRef(), i = g.useState(
|
|
23762
|
+
}, QE = 0, $E = [];
|
|
23763
|
+
function eD(e) {
|
|
23764
|
+
var t = g.useRef([]), n = g.useRef([0, 0]), r = g.useRef(), i = g.useState(QE++)[0], a = g.useState(SE)[0], o = g.useRef(e);
|
|
23793
23765
|
g.useEffect(function() {
|
|
23794
23766
|
o.current = e;
|
|
23795
23767
|
}, [e]), g.useEffect(function() {
|
|
23796
23768
|
if (e.inert) {
|
|
23797
23769
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
23798
|
-
var t =
|
|
23770
|
+
var t = ZT([e.lockRef.current], (e.shards || []).map(YE), !0).filter(Boolean);
|
|
23799
23771
|
return t.forEach(function(e) {
|
|
23800
23772
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
23801
23773
|
}), function() {
|
|
@@ -23811,28 +23783,28 @@ function rD(e) {
|
|
|
23811
23783
|
]);
|
|
23812
23784
|
var s = g.useCallback(function(e, t) {
|
|
23813
23785
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
23814
|
-
var i =
|
|
23786
|
+
var i = qE(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";
|
|
23815
23787
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
23816
23788
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
23817
23789
|
if (p && (p === u || p.contains(u))) return !1;
|
|
23818
|
-
var m =
|
|
23790
|
+
var m = BE(d, u);
|
|
23819
23791
|
if (!m) return !0;
|
|
23820
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
23792
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = BE(d, u)), !m) return !1;
|
|
23821
23793
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
23822
23794
|
var h = r.current || l;
|
|
23823
|
-
return
|
|
23795
|
+
return KE(h, t, e, h === "h" ? s : c, !0);
|
|
23824
23796
|
}, []), c = g.useCallback(function(e) {
|
|
23825
23797
|
var n = e;
|
|
23826
|
-
if (!(
|
|
23827
|
-
var r = "deltaY" in n ?
|
|
23828
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
23798
|
+
if (!(!$E.length || $E[$E.length - 1] !== a)) {
|
|
23799
|
+
var r = "deltaY" in n ? JE(n) : qE(n), i = t.current.filter(function(e) {
|
|
23800
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && XE(e.delta, r);
|
|
23829
23801
|
})[0];
|
|
23830
23802
|
if (i && i.should) {
|
|
23831
23803
|
n.cancelable && n.preventDefault();
|
|
23832
23804
|
return;
|
|
23833
23805
|
}
|
|
23834
23806
|
if (!i) {
|
|
23835
|
-
var c = (o.current.shards || []).map(
|
|
23807
|
+
var c = (o.current.shards || []).map(YE).filter(Boolean).filter(function(e) {
|
|
23836
23808
|
return e.contains(n.target);
|
|
23837
23809
|
});
|
|
23838
23810
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -23844,7 +23816,7 @@ function rD(e) {
|
|
|
23844
23816
|
delta: n,
|
|
23845
23817
|
target: r,
|
|
23846
23818
|
should: i,
|
|
23847
|
-
shadowParent:
|
|
23819
|
+
shadowParent: tD(r)
|
|
23848
23820
|
};
|
|
23849
23821
|
t.current.push(a), setTimeout(function() {
|
|
23850
23822
|
t.current = t.current.filter(function(e) {
|
|
@@ -23852,56 +23824,56 @@ function rD(e) {
|
|
|
23852
23824
|
});
|
|
23853
23825
|
}, 1);
|
|
23854
23826
|
}, []), u = g.useCallback(function(e) {
|
|
23855
|
-
n.current =
|
|
23827
|
+
n.current = qE(e), r.current = void 0;
|
|
23856
23828
|
}, []), d = g.useCallback(function(t) {
|
|
23857
|
-
l(t.type,
|
|
23829
|
+
l(t.type, JE(t), t.target, s(t, e.lockRef.current));
|
|
23858
23830
|
}, []), f = g.useCallback(function(t) {
|
|
23859
|
-
l(t.type,
|
|
23831
|
+
l(t.type, qE(t), t.target, s(t, e.lockRef.current));
|
|
23860
23832
|
}, []);
|
|
23861
23833
|
g.useEffect(function() {
|
|
23862
|
-
return
|
|
23834
|
+
return $E.push(a), e.setCallbacks({
|
|
23863
23835
|
onScrollCapture: d,
|
|
23864
23836
|
onWheelCapture: d,
|
|
23865
23837
|
onTouchMoveCapture: f
|
|
23866
|
-
}), document.addEventListener("wheel", c,
|
|
23867
|
-
|
|
23838
|
+
}), document.addEventListener("wheel", c, FE), document.addEventListener("touchmove", c, FE), document.addEventListener("touchstart", u, FE), function() {
|
|
23839
|
+
$E = $E.filter(function(e) {
|
|
23868
23840
|
return e !== a;
|
|
23869
|
-
}), document.removeEventListener("wheel", c,
|
|
23841
|
+
}), document.removeEventListener("wheel", c, FE), document.removeEventListener("touchmove", c, FE), document.removeEventListener("touchstart", u, FE);
|
|
23870
23842
|
};
|
|
23871
23843
|
}, []);
|
|
23872
23844
|
var p = e.removeScrollBar, m = e.inert;
|
|
23873
|
-
return g.createElement(g.Fragment, null, m ? g.createElement(a, { styles:
|
|
23845
|
+
return g.createElement(g.Fragment, null, m ? g.createElement(a, { styles: ZE(i) }) : null, p ? g.createElement(ME, {
|
|
23874
23846
|
noRelative: e.noRelative,
|
|
23875
23847
|
gapMode: e.gapMode
|
|
23876
23848
|
}) : null);
|
|
23877
23849
|
}
|
|
23878
|
-
function
|
|
23850
|
+
function tD(e) {
|
|
23879
23851
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
23880
23852
|
return t;
|
|
23881
23853
|
}
|
|
23882
23854
|
//#endregion
|
|
23883
23855
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
23884
|
-
var
|
|
23885
|
-
return g.createElement(
|
|
23856
|
+
var nD = dE(fE, eD), rD = g.forwardRef(function(e, t) {
|
|
23857
|
+
return g.createElement(mE, GT({}, e, {
|
|
23886
23858
|
ref: t,
|
|
23887
|
-
sideCar:
|
|
23859
|
+
sideCar: nD
|
|
23888
23860
|
}));
|
|
23889
23861
|
});
|
|
23890
|
-
|
|
23862
|
+
rD.classNames = mE.classNames;
|
|
23891
23863
|
//#endregion
|
|
23892
23864
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
23893
|
-
var
|
|
23894
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
23865
|
+
var iD = "Popover", [aD, oD] = qx(iD, [aT]), sD = aT(), [cD, lD] = aD(iD), uD = (e) => {
|
|
23866
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = sD(t), c = g.useRef(null), [l, u] = g.useState(!1), [d, f] = NT({
|
|
23895
23867
|
prop: r,
|
|
23896
23868
|
defaultProp: i ?? !1,
|
|
23897
23869
|
onChange: a,
|
|
23898
|
-
caller:
|
|
23870
|
+
caller: iD
|
|
23899
23871
|
});
|
|
23900
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
23872
|
+
return /* @__PURE__ */ (0, J.jsx)(xT, {
|
|
23901
23873
|
...s,
|
|
23902
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23874
|
+
children: /* @__PURE__ */ (0, J.jsx)(cD, {
|
|
23903
23875
|
scope: t,
|
|
23904
|
-
contentId:
|
|
23876
|
+
contentId: BS(),
|
|
23905
23877
|
triggerRef: c,
|
|
23906
23878
|
open: d,
|
|
23907
23879
|
onOpenChange: f,
|
|
@@ -23914,42 +23886,42 @@ var sD = "Popover", [cD, lD] = Xx(sD, [cT]), uD = cT(), [dD, fD] = cD(sD), pD =
|
|
|
23914
23886
|
})
|
|
23915
23887
|
});
|
|
23916
23888
|
};
|
|
23917
|
-
|
|
23918
|
-
var
|
|
23919
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
23920
|
-
return g.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, J.jsx)(
|
|
23889
|
+
uD.displayName = iD;
|
|
23890
|
+
var dD = "PopoverAnchor", fD = g.forwardRef((e, t) => {
|
|
23891
|
+
let { __scopePopover: n, ...r } = e, i = lD(dD, n), a = sD(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
23892
|
+
return g.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, J.jsx)(ST, {
|
|
23921
23893
|
...a,
|
|
23922
23894
|
...r,
|
|
23923
23895
|
ref: t
|
|
23924
23896
|
});
|
|
23925
23897
|
});
|
|
23926
|
-
|
|
23927
|
-
var
|
|
23928
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
23898
|
+
fD.displayName = dD;
|
|
23899
|
+
var pD = "PopoverTrigger", mD = g.forwardRef((e, t) => {
|
|
23900
|
+
let { __scopePopover: n, ...r } = e, i = lD(pD, n), a = sD(n), o = Kx(t, i.triggerRef), s = /* @__PURE__ */ (0, J.jsx)(tS.button, {
|
|
23929
23901
|
type: "button",
|
|
23930
23902
|
"aria-haspopup": "dialog",
|
|
23931
23903
|
"aria-expanded": i.open,
|
|
23932
23904
|
"aria-controls": i.contentId,
|
|
23933
|
-
"data-state":
|
|
23905
|
+
"data-state": kD(i.open),
|
|
23934
23906
|
...r,
|
|
23935
23907
|
ref: o,
|
|
23936
|
-
onClick:
|
|
23908
|
+
onClick: Ux(e.onClick, i.onOpenToggle)
|
|
23937
23909
|
});
|
|
23938
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, J.jsx)(
|
|
23910
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, J.jsx)(ST, {
|
|
23939
23911
|
asChild: !0,
|
|
23940
23912
|
...a,
|
|
23941
23913
|
children: s
|
|
23942
23914
|
});
|
|
23943
23915
|
});
|
|
23944
|
-
|
|
23945
|
-
var
|
|
23946
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
23947
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
23916
|
+
mD.displayName = pD;
|
|
23917
|
+
var hD = "PopoverPortal", [gD, _D] = aD(hD, { forceMount: void 0 }), vD = (e) => {
|
|
23918
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = lD(hD, t);
|
|
23919
|
+
return /* @__PURE__ */ (0, J.jsx)(gD, {
|
|
23948
23920
|
scope: t,
|
|
23949
23921
|
forceMount: n,
|
|
23950
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23922
|
+
children: /* @__PURE__ */ (0, J.jsx)(OT, {
|
|
23951
23923
|
present: n || a.open,
|
|
23952
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23924
|
+
children: /* @__PURE__ */ (0, J.jsx)(ET, {
|
|
23953
23925
|
asChild: !0,
|
|
23954
23926
|
container: i,
|
|
23955
23927
|
children: r
|
|
@@ -23957,47 +23929,47 @@ var vD = "PopoverPortal", [yD, bD] = cD(vD, { forceMount: void 0 }), xD = (e) =>
|
|
|
23957
23929
|
})
|
|
23958
23930
|
});
|
|
23959
23931
|
};
|
|
23960
|
-
|
|
23961
|
-
var
|
|
23962
|
-
let n =
|
|
23963
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
23932
|
+
vD.displayName = hD;
|
|
23933
|
+
var yD = "PopoverContent", bD = g.forwardRef((e, t) => {
|
|
23934
|
+
let n = _D(yD, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = lD(yD, e.__scopePopover);
|
|
23935
|
+
return /* @__PURE__ */ (0, J.jsx)(OT, {
|
|
23964
23936
|
present: r || a.open,
|
|
23965
|
-
children: a.modal ? /* @__PURE__ */ (0, J.jsx)(
|
|
23937
|
+
children: a.modal ? /* @__PURE__ */ (0, J.jsx)(SD, {
|
|
23966
23938
|
...i,
|
|
23967
23939
|
ref: t
|
|
23968
|
-
}) : /* @__PURE__ */ (0, J.jsx)(
|
|
23940
|
+
}) : /* @__PURE__ */ (0, J.jsx)(CD, {
|
|
23969
23941
|
...i,
|
|
23970
23942
|
ref: t
|
|
23971
23943
|
})
|
|
23972
23944
|
});
|
|
23973
23945
|
});
|
|
23974
|
-
|
|
23975
|
-
var
|
|
23976
|
-
let n =
|
|
23946
|
+
bD.displayName = yD;
|
|
23947
|
+
var xD = /* @__PURE__ */ Yx("PopoverContent.RemoveScroll"), SD = g.forwardRef((e, t) => {
|
|
23948
|
+
let n = lD(yD, e.__scopePopover), r = g.useRef(null), i = Kx(t, r), a = g.useRef(!1);
|
|
23977
23949
|
return g.useEffect(() => {
|
|
23978
23950
|
let e = r.current;
|
|
23979
|
-
if (e) return
|
|
23980
|
-
}, []), /* @__PURE__ */ (0, J.jsx)(
|
|
23981
|
-
as:
|
|
23951
|
+
if (e) return WT(e);
|
|
23952
|
+
}, []), /* @__PURE__ */ (0, J.jsx)(rD, {
|
|
23953
|
+
as: xD,
|
|
23982
23954
|
allowPinchZoom: !0,
|
|
23983
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23955
|
+
children: /* @__PURE__ */ (0, J.jsx)(wD, {
|
|
23984
23956
|
...e,
|
|
23985
23957
|
ref: i,
|
|
23986
23958
|
trapFocus: n.open,
|
|
23987
23959
|
disableOutsidePointerEvents: !0,
|
|
23988
|
-
onCloseAutoFocus:
|
|
23960
|
+
onCloseAutoFocus: Ux(e.onCloseAutoFocus, (e) => {
|
|
23989
23961
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
23990
23962
|
}),
|
|
23991
|
-
onPointerDownOutside:
|
|
23963
|
+
onPointerDownOutside: Ux(e.onPointerDownOutside, (e) => {
|
|
23992
23964
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
23993
23965
|
a.current = t.button === 2 || n;
|
|
23994
23966
|
}, { checkForDefaultPrevented: !1 }),
|
|
23995
|
-
onFocusOutside:
|
|
23967
|
+
onFocusOutside: Ux(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
23996
23968
|
})
|
|
23997
23969
|
});
|
|
23998
|
-
}),
|
|
23999
|
-
let n =
|
|
24000
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
23970
|
+
}), CD = g.forwardRef((e, t) => {
|
|
23971
|
+
let n = lD(yD, e.__scopePopover), r = g.useRef(!1), i = g.useRef(!1);
|
|
23972
|
+
return /* @__PURE__ */ (0, J.jsx)(wD, {
|
|
24001
23973
|
...e,
|
|
24002
23974
|
ref: t,
|
|
24003
23975
|
trapFocus: !1,
|
|
@@ -24011,15 +23983,15 @@ var wD = /* @__PURE__ */ Qx("PopoverContent.RemoveScroll"), TD = g.forwardRef((e
|
|
|
24011
23983
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
24012
23984
|
}
|
|
24013
23985
|
});
|
|
24014
|
-
}),
|
|
24015
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
24016
|
-
return
|
|
23986
|
+
}), wD = g.forwardRef((e, t) => {
|
|
23987
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = lD(yD, n), p = sD(n);
|
|
23988
|
+
return yS(), /* @__PURE__ */ (0, J.jsx)(TS, {
|
|
24017
23989
|
asChild: !0,
|
|
24018
23990
|
loop: !0,
|
|
24019
23991
|
trapped: r,
|
|
24020
23992
|
onMountAutoFocus: i,
|
|
24021
23993
|
onUnmountAutoFocus: a,
|
|
24022
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
23994
|
+
children: /* @__PURE__ */ (0, J.jsx)(dS, {
|
|
24023
23995
|
asChild: !0,
|
|
24024
23996
|
disableOutsidePointerEvents: o,
|
|
24025
23997
|
onInteractOutside: u,
|
|
@@ -24027,8 +23999,8 @@ var wD = /* @__PURE__ */ Qx("PopoverContent.RemoveScroll"), TD = g.forwardRef((e
|
|
|
24027
23999
|
onPointerDownOutside: c,
|
|
24028
24000
|
onFocusOutside: l,
|
|
24029
24001
|
onDismiss: () => f.onOpenChange(!1),
|
|
24030
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24031
|
-
"data-state":
|
|
24002
|
+
children: /* @__PURE__ */ (0, J.jsx)(CT, {
|
|
24003
|
+
"data-state": kD(f.open),
|
|
24032
24004
|
role: "dialog",
|
|
24033
24005
|
id: f.contentId,
|
|
24034
24006
|
...p,
|
|
@@ -24045,61 +24017,61 @@ var wD = /* @__PURE__ */ Qx("PopoverContent.RemoveScroll"), TD = g.forwardRef((e
|
|
|
24045
24017
|
})
|
|
24046
24018
|
})
|
|
24047
24019
|
});
|
|
24048
|
-
}),
|
|
24049
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
24050
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
24020
|
+
}), TD = "PopoverClose", ED = g.forwardRef((e, t) => {
|
|
24021
|
+
let { __scopePopover: n, ...r } = e, i = lD(TD, n);
|
|
24022
|
+
return /* @__PURE__ */ (0, J.jsx)(tS.button, {
|
|
24051
24023
|
type: "button",
|
|
24052
24024
|
...r,
|
|
24053
24025
|
ref: t,
|
|
24054
|
-
onClick:
|
|
24026
|
+
onClick: Ux(e.onClick, () => i.onOpenChange(!1))
|
|
24055
24027
|
});
|
|
24056
24028
|
});
|
|
24057
|
-
|
|
24058
|
-
var
|
|
24059
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
24060
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
24029
|
+
ED.displayName = TD;
|
|
24030
|
+
var DD = "PopoverArrow", OD = g.forwardRef((e, t) => {
|
|
24031
|
+
let { __scopePopover: n, ...r } = e, i = sD(n);
|
|
24032
|
+
return /* @__PURE__ */ (0, J.jsx)(wT, {
|
|
24061
24033
|
...i,
|
|
24062
24034
|
...r,
|
|
24063
24035
|
ref: t
|
|
24064
24036
|
});
|
|
24065
24037
|
});
|
|
24066
|
-
|
|
24067
|
-
function
|
|
24038
|
+
OD.displayName = DD;
|
|
24039
|
+
function kD(e) {
|
|
24068
24040
|
return e ? "open" : "closed";
|
|
24069
24041
|
}
|
|
24070
|
-
var
|
|
24042
|
+
var AD = uD, jD = mD, MD = bD, ND = OD, PD = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, J.jsxs)(AD, {
|
|
24071
24043
|
defaultOpen: n,
|
|
24072
24044
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
24073
24045
|
className: "flex justify-center",
|
|
24074
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24046
|
+
children: /* @__PURE__ */ (0, J.jsx)(jD, {
|
|
24075
24047
|
asChild: !0,
|
|
24076
24048
|
children: t
|
|
24077
24049
|
})
|
|
24078
|
-
}), /* @__PURE__ */ (0, J.jsxs)(
|
|
24050
|
+
}), /* @__PURE__ */ (0, J.jsxs)(MD, {
|
|
24079
24051
|
className: "sid-popover__container",
|
|
24080
24052
|
sideOffset: 10,
|
|
24081
24053
|
side: "bottom",
|
|
24082
|
-
children: [e, /* @__PURE__ */ (0, J.jsx)(
|
|
24054
|
+
children: [e, /* @__PURE__ */ (0, J.jsx)(ND, { className: "sid-popover__caret" })]
|
|
24083
24055
|
})]
|
|
24084
|
-
}),
|
|
24085
|
-
let n =
|
|
24086
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
24056
|
+
}), FD = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
24057
|
+
let n = Xy();
|
|
24058
|
+
return /* @__PURE__ */ (0, J.jsx)(PD, {
|
|
24087
24059
|
initialVisibility: t,
|
|
24088
24060
|
trigger: /* @__PURE__ */ (0, J.jsx)("button", {
|
|
24089
24061
|
type: "button",
|
|
24090
24062
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
24091
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24063
|
+
children: /* @__PURE__ */ (0, J.jsx)(lb, { id: "howDoesVerifyingWork" })
|
|
24092
24064
|
}),
|
|
24093
24065
|
message: /* @__PURE__ */ (0, J.jsxs)("div", { children: [
|
|
24094
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
24066
|
+
/* @__PURE__ */ (0, J.jsx)(lb, {
|
|
24095
24067
|
id: "step.personalInfo.howDoesVerifyingWorkDetails",
|
|
24096
24068
|
context: n
|
|
24097
24069
|
}),
|
|
24098
24070
|
"\xA0",
|
|
24099
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
24071
|
+
/* @__PURE__ */ (0, J.jsx)(Hy, { verificationService: e })
|
|
24100
24072
|
] })
|
|
24101
24073
|
});
|
|
24102
|
-
},
|
|
24074
|
+
}, ID = ({ verificationService: e }) => {
|
|
24103
24075
|
let t = B(() => e.programTheme.remainingRewardCodes, null);
|
|
24104
24076
|
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
24105
24077
|
className: "sid-rewards-remaining",
|
|
@@ -24114,13 +24086,13 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24114
24086
|
/* @__PURE__ */ (0, J.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
24115
24087
|
]
|
|
24116
24088
|
}) : null;
|
|
24117
|
-
},
|
|
24118
|
-
let { verificationResponse: n } = e, r =
|
|
24089
|
+
}, LD = (e) => e !== void 0, RD = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
24090
|
+
let { verificationResponse: n } = e, r = LD(n) ? qh(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
24119
24091
|
return /* @__PURE__ */ (0, J.jsx)("div", {
|
|
24120
24092
|
className: "sid-personal-info-header",
|
|
24121
|
-
children: /* @__PURE__ */ (0, J.jsxs)(
|
|
24093
|
+
children: /* @__PURE__ */ (0, J.jsxs)(Hx, {
|
|
24122
24094
|
verificationService: e,
|
|
24123
|
-
title: /* @__PURE__ */ (0, J.jsx)(
|
|
24095
|
+
title: /* @__PURE__ */ (0, J.jsx)(lb, {
|
|
24124
24096
|
id: i,
|
|
24125
24097
|
context: n.segment
|
|
24126
24098
|
}),
|
|
@@ -24132,7 +24104,7 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24132
24104
|
}),
|
|
24133
24105
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
24134
24106
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
24135
|
-
children: !r && /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(
|
|
24107
|
+
children: !r && /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(FD, { verificationService: e }), /* @__PURE__ */ (0, J.jsx)(ID, { verificationService: e })] })
|
|
24136
24108
|
}),
|
|
24137
24109
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
24138
24110
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -24141,15 +24113,15 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24141
24113
|
]
|
|
24142
24114
|
})
|
|
24143
24115
|
});
|
|
24144
|
-
},
|
|
24145
|
-
let { isEmbedded: i } =
|
|
24116
|
+
}, zD = () => ({ isEmbedded: !!hi("verificationIframeUid") }), BD = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
24117
|
+
let { isEmbedded: i } = zD();
|
|
24146
24118
|
return !r || i ? /* @__PURE__ */ (0, J.jsx)(J.Fragment, { children: t }) : /* @__PURE__ */ (0, J.jsx)("div", {
|
|
24147
24119
|
className: `sid-layout sid-layout--${e}`,
|
|
24148
24120
|
children: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
24149
24121
|
className: "sid-layout__container",
|
|
24150
24122
|
children: [e === "fullRight" && /* @__PURE__ */ (0, J.jsx)("div", {
|
|
24151
24123
|
className: "sid-layout__content",
|
|
24152
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24124
|
+
children: /* @__PURE__ */ (0, J.jsx)(RD, {
|
|
24153
24125
|
verificationService: n,
|
|
24154
24126
|
classNameIdentifier: "landing"
|
|
24155
24127
|
})
|
|
@@ -24162,12 +24134,12 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24162
24134
|
})]
|
|
24163
24135
|
})
|
|
24164
24136
|
});
|
|
24165
|
-
},
|
|
24137
|
+
}, VD = ({ children: e }) => /* @__PURE__ */ (0, J.jsx)("div", {
|
|
24166
24138
|
className: "sid sid-form-wrapper",
|
|
24167
24139
|
children: e
|
|
24168
|
-
}),
|
|
24169
|
-
let a = Ay(), o = q(), s = r.programTheme.themeChoices?.landingPage.layout || "center", { renderAs: c } = o, l =
|
|
24170
|
-
return
|
|
24140
|
+
}), HD = ({ locale: e, messages: t, programTheme: n, verificationService: r, programId: i }) => {
|
|
24141
|
+
let a = Ay(), o = q(), s = r.programTheme.themeChoices?.landingPage.layout || "center", { renderAs: c } = o, l = pb();
|
|
24142
|
+
return g.useEffect(() => {
|
|
24171
24143
|
try {
|
|
24172
24144
|
if (l && r && r.viewModel) {
|
|
24173
24145
|
let e = (0, wu.default)(l);
|
|
@@ -24206,13 +24178,13 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24206
24178
|
...t,
|
|
24207
24179
|
...(0, fi.default)(Ko(e))
|
|
24208
24180
|
},
|
|
24209
|
-
textComponent:
|
|
24181
|
+
textComponent: Bx,
|
|
24210
24182
|
children: /* @__PURE__ */ (0, J.jsx)(Fy, {
|
|
24211
24183
|
themeChoices: n.themeChoices,
|
|
24212
24184
|
customCssFromOptions: q().customCss,
|
|
24213
24185
|
children: /* @__PURE__ */ (0, J.jsx)("div", {
|
|
24214
24186
|
className: `${pg.default.isRtlLang(qo(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
24215
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24187
|
+
children: /* @__PURE__ */ (0, J.jsx)(VD, { children: /* @__PURE__ */ (0, J.jsx)(BD, {
|
|
24216
24188
|
layout: s,
|
|
24217
24189
|
verificationService: r,
|
|
24218
24190
|
renderAsLandingPage: c === "landingPage",
|
|
@@ -24220,7 +24192,7 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24220
24192
|
fallback: /* @__PURE__ */ (0, J.jsx)(Jc, { step: r.loadingStep }),
|
|
24221
24193
|
children: /* @__PURE__ */ (0, J.jsx)(Bo, {
|
|
24222
24194
|
i18n: as,
|
|
24223
|
-
children: r.isLoading ? /* @__PURE__ */ (0, J.jsx)(Jc, { step: r.loadingStep }) : /* @__PURE__ */ (0, J.jsxs)("div", { children: [!q().hideTestModeFlag && /* @__PURE__ */ (0, J.jsx)(
|
|
24195
|
+
children: r.isLoading ? /* @__PURE__ */ (0, J.jsx)(Jc, { step: r.loadingStep }) : /* @__PURE__ */ (0, J.jsxs)("div", { children: [!q().hideTestModeFlag && /* @__PURE__ */ (0, J.jsx)(Vx, { verificationService: r }), /* @__PURE__ */ (0, J.jsx)(zx, {
|
|
24224
24196
|
stepToLoad: r.overrideStep || r.verificationResponse.currentStep,
|
|
24225
24197
|
verificationService: r
|
|
24226
24198
|
})] })
|
|
@@ -24230,7 +24202,7 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24230
24202
|
})
|
|
24231
24203
|
})
|
|
24232
24204
|
}, e);
|
|
24233
|
-
},
|
|
24205
|
+
}, UD = () => {
|
|
24234
24206
|
let e = null;
|
|
24235
24207
|
document.addEventListener("keydown", (t) => {
|
|
24236
24208
|
if (t.key !== "Tab") return;
|
|
@@ -24245,20 +24217,20 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24245
24217
|
type: "focus",
|
|
24246
24218
|
focusOn: "firstElement"
|
|
24247
24219
|
});
|
|
24248
|
-
},
|
|
24220
|
+
}, WD = () => {
|
|
24249
24221
|
window.addEventListener("message", (e) => {
|
|
24250
|
-
e.data.isInLightBox === "true" &&
|
|
24222
|
+
e.data.isInLightBox === "true" && UD();
|
|
24251
24223
|
});
|
|
24252
|
-
},
|
|
24224
|
+
}, GD = class extends g.Component {
|
|
24253
24225
|
verificationService;
|
|
24254
24226
|
constructor(e) {
|
|
24255
24227
|
super(e), N.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? N.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : N.info("No trackingId to associate with the verification request");
|
|
24256
24228
|
}
|
|
24257
24229
|
componentDidMount() {
|
|
24258
|
-
if (nc(),
|
|
24230
|
+
if (nc(), WD(), Wu((e) => {
|
|
24259
24231
|
switch (e.data.action) {
|
|
24260
24232
|
case "setViewModel":
|
|
24261
|
-
|
|
24233
|
+
jb(e.data.viewModel, {
|
|
24262
24234
|
partial: !0,
|
|
24263
24235
|
metadataCheck: !0,
|
|
24264
24236
|
externalUserIdCheck: !0
|
|
@@ -24286,11 +24258,11 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24286
24258
|
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return N.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, J.jsx)(Xr, {
|
|
24287
24259
|
locale: "en",
|
|
24288
24260
|
messages: r,
|
|
24289
|
-
textComponent:
|
|
24261
|
+
textComponent: Bx,
|
|
24290
24262
|
children: /* @__PURE__ */ (0, J.jsx)(Jc, {})
|
|
24291
24263
|
}, t);
|
|
24292
24264
|
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
24293
|
-
return N.info("NewVerificationComponent: verificationResponse, viewModel", a, e), N.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, J.jsx)(
|
|
24265
|
+
return N.info("NewVerificationComponent: verificationResponse, viewModel", a, e), N.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, J.jsx)(HD, {
|
|
24294
24266
|
locale: t,
|
|
24295
24267
|
messages: n,
|
|
24296
24268
|
programTheme: i,
|
|
@@ -24298,7 +24270,7 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24298
24270
|
programId: this.props.programId
|
|
24299
24271
|
});
|
|
24300
24272
|
}
|
|
24301
|
-
},
|
|
24273
|
+
}, KD = Ut((e, t) => ({ ...e }), (e, t) => ({
|
|
24302
24274
|
dispatch: e,
|
|
24303
24275
|
fetchNewVerificationRequest: eg(e),
|
|
24304
24276
|
fetchExistingVerificationRequest: tg(e),
|
|
@@ -24318,19 +24290,19 @@ var ND = pD, PD = _D, FD = CD, ID = jD, LD = ({ message: e, trigger: t, initialV
|
|
|
24318
24290
|
messages: e.messages,
|
|
24319
24291
|
...n
|
|
24320
24292
|
};
|
|
24321
|
-
})(
|
|
24293
|
+
})(GD), qD = (e) => ({
|
|
24322
24294
|
kind: "program",
|
|
24323
24295
|
key: e
|
|
24324
|
-
}),
|
|
24296
|
+
}), JD = ({ programId: e, children: t }) => /* @__PURE__ */ (0, J.jsx)(Oy, {
|
|
24325
24297
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
24326
|
-
context:
|
|
24327
|
-
flags:
|
|
24298
|
+
context: qD(e),
|
|
24299
|
+
flags: ub,
|
|
24328
24300
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
24329
24301
|
options: { streaming: !1 },
|
|
24330
24302
|
children: t
|
|
24331
|
-
}),
|
|
24303
|
+
}), YD = Db();
|
|
24332
24304
|
ms(ls.jslibVersionActual, B(() => gd(), "?"));
|
|
24333
|
-
var
|
|
24305
|
+
var XD = g.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
24334
24306
|
try {
|
|
24335
24307
|
Jd();
|
|
24336
24308
|
} catch (e) {
|
|
@@ -24338,23 +24310,23 @@ var $D = g.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
24338
24310
|
}
|
|
24339
24311
|
return (0, g.useEffect)(() => {
|
|
24340
24312
|
vs();
|
|
24341
|
-
}),
|
|
24313
|
+
}), YD.dispatch({
|
|
24342
24314
|
programId: e,
|
|
24343
24315
|
type: "PROGRAM_ID"
|
|
24344
24316
|
}), n && (n.current = {
|
|
24345
|
-
refresh: g.useCallback(() =>
|
|
24346
|
-
reset: g.useCallback(() =>
|
|
24317
|
+
refresh: g.useCallback(() => YD.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
24318
|
+
reset: g.useCallback(() => YD.dispatch({ type: "RESET_STATE" }), [])
|
|
24347
24319
|
}), /* @__PURE__ */ (0, J.jsx)(Wt, {
|
|
24348
|
-
store:
|
|
24349
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24320
|
+
store: YD,
|
|
24321
|
+
children: /* @__PURE__ */ (0, J.jsx)(JD, {
|
|
24350
24322
|
programId: e,
|
|
24351
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
24323
|
+
children: /* @__PURE__ */ (0, J.jsx)(KD, {
|
|
24352
24324
|
programId: e,
|
|
24353
24325
|
trackingId: t
|
|
24354
24326
|
})
|
|
24355
24327
|
})
|
|
24356
24328
|
});
|
|
24357
|
-
}),
|
|
24329
|
+
}), ZD = class e {
|
|
24358
24330
|
element;
|
|
24359
24331
|
programId;
|
|
24360
24332
|
trackingId;
|
|
@@ -24371,7 +24343,7 @@ var $D = g.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
24371
24343
|
this.ref.current.reset();
|
|
24372
24344
|
}
|
|
24373
24345
|
render() {
|
|
24374
|
-
_.render(/* @__PURE__ */ (0, J.jsx)(
|
|
24346
|
+
_.render(/* @__PURE__ */ (0, J.jsx)(XD, {
|
|
24375
24347
|
programId: this.programId,
|
|
24376
24348
|
trackingId: this.trackingId,
|
|
24377
24349
|
ref: this.ref
|
|
@@ -24380,22 +24352,22 @@ var $D = g.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
24380
24352
|
unmount() {
|
|
24381
24353
|
_.unmountComponentAtNode(this.element);
|
|
24382
24354
|
}
|
|
24383
|
-
},
|
|
24355
|
+
}, QD = async () => {
|
|
24384
24356
|
if (!document.getElementById("ipqs")) return new Promise((e) => {
|
|
24385
24357
|
let t = document.createElement("script");
|
|
24386
24358
|
t.src = "https://fd.sheerid.com/api/*/BJOvvIiNpZnA9XHXIHVc0S4FO87k4eub6NLOfmShTU7nRqamLKTzQixwD7XETz7bvtNHmicHNx9hEtOJ9NPo3kUJBl7o1jpwcbcXeOMDJjvulAWSrRnO7WYq9gxL6xNT0xnfou5UlshUGWQ2g68qBuWajMWbxZ25JELntxaP0neiVUbephG5E79ES89qBo4uIGBDvykdJb75hpo0URvJ0Fm1j6fuEqHQBq64Mi390KC9XoQwiFxyboxQ5lSooY4p/learn.js", t.async = !0, t.id = "ipqs", document.body.appendChild(t), t.onload = () => {
|
|
24387
24359
|
e();
|
|
24388
24360
|
};
|
|
24389
24361
|
});
|
|
24390
|
-
},
|
|
24362
|
+
}, $D = async (e, t) => {
|
|
24391
24363
|
if (B(() => e.ipqsDeviceFingerprintEnabled, !1)) try {
|
|
24392
|
-
await
|
|
24364
|
+
await QD(), window.IPQ = { Callback: () => {
|
|
24393
24365
|
window.Startup.Store("transactionID", t), window.Startup.Init();
|
|
24394
24366
|
} };
|
|
24395
24367
|
} catch (e) {
|
|
24396
24368
|
N.error(e, "Failed to collect IPQS device data");
|
|
24397
24369
|
}
|
|
24398
|
-
},
|
|
24370
|
+
}, eO = async (e, t) => {
|
|
24399
24371
|
if (!B(() => e.threatMetrixEnabled, !1)) return;
|
|
24400
24372
|
let n = e.threatMetrixOrgId || "cnl2my47";
|
|
24401
24373
|
try {
|
|
@@ -24407,39 +24379,39 @@ var $D = g.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
24407
24379
|
} catch (e) {
|
|
24408
24380
|
N.error(e, "Failed to collect ThreatMetrix device data");
|
|
24409
24381
|
}
|
|
24410
|
-
},
|
|
24411
|
-
let n =
|
|
24382
|
+
}, tO = /* @__PURE__ */ new Map(), nO = (e, t) => {
|
|
24383
|
+
let n = tO.get(t);
|
|
24412
24384
|
if (n) return n;
|
|
24413
24385
|
let r = (async () => {
|
|
24414
24386
|
let [, , n] = await Promise.all([
|
|
24415
|
-
|
|
24416
|
-
|
|
24387
|
+
eO(e, t),
|
|
24388
|
+
$D(e, t),
|
|
24417
24389
|
fm(e, t)
|
|
24418
24390
|
]);
|
|
24419
24391
|
return n ? { fpSessionId: n } : {};
|
|
24420
24392
|
})();
|
|
24421
|
-
return
|
|
24422
|
-
},
|
|
24393
|
+
return tO.set(t, r), r;
|
|
24394
|
+
}, rO = {
|
|
24423
24395
|
getMessages: Jo,
|
|
24424
|
-
setViewModel:
|
|
24425
|
-
resetViewModel:
|
|
24396
|
+
setViewModel: jb,
|
|
24397
|
+
resetViewModel: Mb,
|
|
24426
24398
|
setOptions: Tc,
|
|
24427
24399
|
resetOptions: wc,
|
|
24428
|
-
refreshStore:
|
|
24400
|
+
refreshStore: kb,
|
|
24429
24401
|
setMetadata: Mh,
|
|
24430
24402
|
getMetadata: Ph,
|
|
24431
24403
|
resetMetadata: Nh,
|
|
24432
24404
|
conversion: $u,
|
|
24433
|
-
overrideComponent:
|
|
24434
|
-
resetOverriddenComponents:
|
|
24405
|
+
overrideComponent: Ly,
|
|
24406
|
+
resetOverriddenComponents: zy,
|
|
24435
24407
|
postVerificationSizeUpdates: Hd,
|
|
24436
24408
|
addHook: qd,
|
|
24437
24409
|
hooks: Gd,
|
|
24438
|
-
VerificationForm:
|
|
24439
|
-
collectDeviceProfile: async (e, t) =>
|
|
24440
|
-
resetStore:
|
|
24410
|
+
VerificationForm: ZD,
|
|
24411
|
+
collectDeviceProfile: async (e, t) => nO(await Bd.fetchProgramTheme(t), e),
|
|
24412
|
+
resetStore: Ob,
|
|
24441
24413
|
setProgramTheme: (e, t = { partial: !0 }) => {
|
|
24442
|
-
let n =
|
|
24414
|
+
let n = Db(), r = n.getState(), i = () => {
|
|
24443
24415
|
let r = W(e);
|
|
24444
24416
|
N.info("Setting programTheme", r), sg(n.dispatch)(r, t.partial);
|
|
24445
24417
|
};
|
|
@@ -24452,4 +24424,4 @@ var $D = g.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
24452
24424
|
}
|
|
24453
24425
|
};
|
|
24454
24426
|
//#endregion
|
|
24455
|
-
export {
|
|
24427
|
+
export { Ib as $, hi as $t, ox as A, Mu as At, Qb as B, cs as Bt, nS as C, s as Cn, Wd as Ct, Kx as D, bd as Dt, Gx as E, kd as Et, hx as F, Ec as Ft, ux as G, bi as Gt, $b as H, fs as Ht, mx as I, q as It, Jb as J, ji as Jt, Xb as K, vi as Kt, sx as L, G as Lt, lx as M, Jc as Mt, fx as N, Kc as Nt, Ux as O, hd as Ot, ax as P, Gc as Pt, Ub as Q, ki as Qt, cx as R, ls as Rt, tS as S, o as Sn, Xd as St, qx as T, zd as Tt, qb as U, as as Ut, rx as V, ps as Vt, px as W, Yo as Wt, Kb as X, Pi as Xt, Yb as Y, Ai as Yt, Gb as Z, Fi as Zt, BS as _, F as _n, Oh as _t, qT as a, pt as an, lb as at, dS as b, h as bn, yf as bt, WT as c, Le as cn, Vy as ct, ET as d, rO as default, Te as dn, Ay as dt, H as en, Fb as et, ST as f, we as fn, qh as ft, aT as g, De as gn, Nm as gt, xT as h, be as hn, Rh as ht, rD as i, B as in, mb as it, dx as j, Xc as jt, bx as k, dd as kt, NT as l, I as ln, By as lt, CT as m, ye as mn, Vh as mt, RD as n, Or as nn, Nb as nt, JT as o, ct as on, Ky as ot, wT as p, _e as pn, Bh as pt, ix as q, Li as qt, ID as r, jn as rn, jb as rt, XT as s, st as sn, Hy as st, nO as t, di as tn, Pb as tt, OT as u, Ee as un, My as ut, TS as v, ie as vn, cf as vt, Yx as w, l as wn, Bd as wt, rS as x, d as xn, tf as xt, yS as y, N as yn, ef as yt, Zb as z, us as zt };
|