@sheerid/jslib-nightly 2.250.0-alpha.3 → 2.251.0-alpha.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 +898 -897
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-BlFms8RU.js → AddressComponent-CmVyKqXc.js} +10 -10
- package/chunk/{AddressComponent-BlFms8RU.js.map → AddressComponent-CmVyKqXc.js.map} +1 -1
- package/chunk/{AddressComponent-DnFQfTYR.js → AddressComponent-ZIF4nAg6.js} +10 -10
- package/chunk/{AddressComponent-DnFQfTYR.js.map → AddressComponent-ZIF4nAg6.js.map} +1 -1
- package/chunk/BirthDateComponent-CMfd5EBF.js +35 -0
- package/chunk/{BirthDateComponent-DBoGs0xO.js.map → BirthDateComponent-CMfd5EBF.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dl0XGTEU.js → BirthDateComponent-qIJ6VyBN.js} +10 -6
- package/chunk/{BirthDateComponent-Dl0XGTEU.js.map → BirthDateComponent-qIJ6VyBN.js.map} +1 -1
- package/chunk/{CaptchaComponent-CpD7kabQ.js → CaptchaComponent-D9qU6ygz.js} +389 -351
- package/chunk/CaptchaComponent-D9qU6ygz.js.map +1 -0
- package/chunk/{CaptchaComponent-CX3VgnkO.js → CaptchaComponent-DtcFKhJ1.js} +416 -386
- package/chunk/CaptchaComponent-DtcFKhJ1.js.map +1 -0
- package/chunk/{ChangeLocaleComponent-CwUU2jUS.js → ChangeLocaleComponent-C506fsyP.js} +15 -15
- package/chunk/{ChangeLocaleComponent-CwUU2jUS.js.map → ChangeLocaleComponent-C506fsyP.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Db5V1sYM.js → ChangeLocaleComponent-D56onLa2.js} +12 -12
- package/chunk/{ChangeLocaleComponent-Db5V1sYM.js.map → ChangeLocaleComponent-D56onLa2.js.map} +1 -1
- package/chunk/{City-Dkthk9oJ.js → City-Ci2TwR7A.js} +10 -10
- package/chunk/{City-COH8oAI6.js.map → City-Ci2TwR7A.js.map} +1 -1
- package/chunk/{City-COH8oAI6.js → City-DcsZCOpS.js} +10 -10
- package/chunk/{City-Dkthk9oJ.js.map → City-DcsZCOpS.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CcQ9X9_B.js → CollegeNameComponent-BgqXaJxu.js} +12 -12
- package/chunk/{CollegeNameComponent-C-dy7DMD.js.map → CollegeNameComponent-BgqXaJxu.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C-dy7DMD.js → CollegeNameComponent-CIzSgol6.js} +13 -13
- package/chunk/{CollegeNameComponent-CcQ9X9_B.js.map → CollegeNameComponent-CIzSgol6.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DIjRs4qZ.js → CopyToClipboardComponent-BESIJEWv.js} +5 -5
- package/chunk/{CopyToClipboardComponent-DIjRs4qZ.js.map → CopyToClipboardComponent-BESIJEWv.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BkiBQWbH.js +4 -4
- package/chunk/CountryComponentWrapper-CASuw2te.js +70 -0
- package/chunk/{CountryComponentWrapper-BKmiop9j.js.map → CountryComponentWrapper-CASuw2te.js.map} +1 -1
- package/chunk/CountryComponentWrapper-hbHOWlgu.js +74 -0
- package/chunk/{CountryComponentWrapper-cR2hBUDi.js.map → CountryComponentWrapper-hbHOWlgu.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CRwKMsjW.js → DischargeDateComponent-C6MdcBJl.js} +31 -35
- package/chunk/{DischargeDateComponent-CRwKMsjW.js.map → DischargeDateComponent-C6MdcBJl.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DSOfwpfI.js → DischargeDateComponent-GAHaUq3j.js} +34 -30
- package/chunk/{DischargeDateComponent-DSOfwpfI.js.map → DischargeDateComponent-GAHaUq3j.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-akwgy_SO.js → DriverLicenseNumberComponent-Bcrs2J8F.js} +11 -11
- package/chunk/{DriverLicenseNumberComponent-BH6bl91g.js.map → DriverLicenseNumberComponent-Bcrs2J8F.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BH6bl91g.js → DriverLicenseNumberComponent-DRqO_tKm.js} +11 -11
- package/chunk/{DriverLicenseNumberComponent-akwgy_SO.js.map → DriverLicenseNumberComponent-DRqO_tKm.js.map} +1 -1
- package/chunk/{EmailLoopPending-BchQNg80.js → EmailLoopPending-C2nD34JV.js} +29 -29
- package/chunk/{EmailLoopPending-BchQNg80.js.map → EmailLoopPending-C2nD34JV.js.map} +1 -1
- package/chunk/{EmailLoopPending-D7XGFrxz.js → EmailLoopPending-tGJf2KO-.js} +21 -21
- package/chunk/{EmailLoopPending-D7XGFrxz.js.map → EmailLoopPending-tGJf2KO-.js.map} +1 -1
- package/chunk/{ExtraMessage-BNODbSi-.js → ExtraMessage-BF7WCgKF.js} +5 -5
- package/chunk/{ExtraMessage-BNODbSi-.js.map → ExtraMessage-BF7WCgKF.js.map} +1 -1
- package/chunk/ExtraMessage-BKREmfl_.js +18 -0
- package/chunk/{ExtraMessage-D78-mbs6.js.map → ExtraMessage-BKREmfl_.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BEvHXfgc.js → FirstResponderOrganizationComponent-CDUd_3wQ.js} +11 -11
- package/chunk/{FirstResponderOrganizationComponent-BEvHXfgc.js.map → FirstResponderOrganizationComponent-CDUd_3wQ.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BLNdDDOa.js → FirstResponderOrganizationComponent-DjVlz-RC.js} +10 -10
- package/chunk/{FirstResponderOrganizationComponent-BLNdDDOa.js.map → FirstResponderOrganizationComponent-DjVlz-RC.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-B8lVVG8B.js → FormFieldInputSelect-B9m2vcvX.js} +7 -7
- package/chunk/{FormFieldInputSelect-B8lVVG8B.js.map → FormFieldInputSelect-B9m2vcvX.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C8O7C4IK.js → FormFieldInputSelect-d_7zlfAb.js} +7 -7
- package/chunk/{FormFieldInputSelect-C8O7C4IK.js.map → FormFieldInputSelect-d_7zlfAb.js.map} +1 -1
- package/chunk/{FormFieldLayout-ZhDGr6rb.js → FormFieldLayout-26v_1nBx.js} +5 -5
- package/chunk/{FormFieldLayout-yzfzLAfZ.js.map → FormFieldLayout-26v_1nBx.js.map} +1 -1
- package/chunk/{FormFieldLayout-yzfzLAfZ.js → FormFieldLayout-DJMFhEbe.js} +13 -13
- package/chunk/{FormFieldLayout-ZhDGr6rb.js.map → FormFieldLayout-DJMFhEbe.js.map} +1 -1
- package/chunk/{FormFieldText-B9EYGm5E.js → FormFieldText-BMCOvY3k.js} +6 -6
- package/chunk/{FormFieldText-B9EYGm5E.js.map → FormFieldText-BMCOvY3k.js.map} +1 -1
- package/chunk/{FormFieldText-DIAcRrkr.js → FormFieldText-CK9dvuS4.js} +7 -7
- package/chunk/{FormFieldText-DIAcRrkr.js.map → FormFieldText-CK9dvuS4.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Y91SkMJD.js → FormFieldTypeahead-ir8rYkOD.js} +435 -439
- package/chunk/{FormFieldTypeahead-BhoK1wVB.js.map → FormFieldTypeahead-ir8rYkOD.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BhoK1wVB.js → FormFieldTypeahead-pZggFuzg.js} +280 -276
- package/chunk/{FormFieldTypeahead-Y91SkMJD.js.map → FormFieldTypeahead-pZggFuzg.js.map} +1 -1
- package/chunk/{FormSelectChoice-BLQgJEYO.js → FormSelectChoice-A_dweQ9k.js} +20 -20
- package/chunk/{FormSelectChoice-BLQgJEYO.js.map → FormSelectChoice-A_dweQ9k.js.map} +1 -1
- package/chunk/{FormSelectChoice-u5sO_GqU.js → FormSelectChoice-C0ZvRRU4.js} +11 -11
- package/chunk/{FormSelectChoice-u5sO_GqU.js.map → FormSelectChoice-C0ZvRRU4.js.map} +1 -1
- package/chunk/{InputText-Cc-nHAaa.js → InputText-CMlYmMPL.js} +5 -5
- package/chunk/{InputText-Cc-nHAaa.js.map → InputText-CMlYmMPL.js.map} +1 -1
- package/chunk/InputText-CtKHbFE7.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-KmfBDjN9.js → LicensedProfessionalOrganizationComponent-C9z4nWyc.js} +10 -10
- package/chunk/{LicensedProfessionalOrganizationComponent-Bd32g18q.js.map → LicensedProfessionalOrganizationComponent-C9z4nWyc.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Bd32g18q.js → LicensedProfessionalOrganizationComponent-CVmJ9eS_.js} +11 -11
- package/chunk/{LicensedProfessionalOrganizationComponent-KmfBDjN9.js.map → LicensedProfessionalOrganizationComponent-CVmJ9eS_.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DmPn8oNy.js → LowIncomeOrganizationComponent-CVYnXbo4.js} +24 -28
- package/chunk/{LowIncomeOrganizationComponent-BDCwBwqA.js.map → LowIncomeOrganizationComponent-CVYnXbo4.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BDCwBwqA.js → LowIncomeOrganizationComponent-CvMiwUmr.js} +27 -23
- package/chunk/{LowIncomeOrganizationComponent-DmPn8oNy.js.map → LowIncomeOrganizationComponent-CvMiwUmr.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CqNumnEx.js → MedicalProfessionalOrganizationComponent-6CxBMyJW.js} +10 -10
- package/chunk/{MedicalProfessionalOrganizationComponent-BvZ5-GKO.js.map → MedicalProfessionalOrganizationComponent-6CxBMyJW.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BvZ5-GKO.js → MedicalProfessionalOrganizationComponent-BAhuoYQR.js} +11 -11
- package/chunk/{MedicalProfessionalOrganizationComponent-CqNumnEx.js.map → MedicalProfessionalOrganizationComponent-BAhuoYQR.js.map} +1 -1
- package/chunk/{MemberIdComponent-CZ4ylsxJ.js → MemberIdComponent-Bc6-XSmk.js} +11 -11
- package/chunk/{MemberIdComponent-CZ4ylsxJ.js.map → MemberIdComponent-Bc6-XSmk.js.map} +1 -1
- package/chunk/{MemberIdComponent-ClhVOK0_.js → MemberIdComponent-D3r9Y4c3.js} +11 -11
- package/chunk/{MemberIdComponent-ClhVOK0_.js.map → MemberIdComponent-D3r9Y4c3.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Ds1UMq_P.js → MembershipOrganizationComponent-PJ1L85G4.js} +10 -10
- package/chunk/{MembershipOrganizationComponent-B2k3iMwP.js.map → MembershipOrganizationComponent-PJ1L85G4.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-B2k3iMwP.js → MembershipOrganizationComponent-xgi0R8Qh.js} +11 -11
- package/chunk/{MembershipOrganizationComponent-Ds1UMq_P.js.map → MembershipOrganizationComponent-xgi0R8Qh.js.map} +1 -1
- package/chunk/Onfido-DX6DWIy6.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-C2E_vI6h.js → PersonalInfoStepSubmitButton-COTSMNng.js} +29 -25
- package/chunk/{PersonalInfoStepSubmitButton-BEt7G8pL.js.map → PersonalInfoStepSubmitButton-COTSMNng.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-BEt7G8pL.js → PersonalInfoStepSubmitButton-DL0Qjm6T.js} +29 -33
- package/chunk/{PersonalInfoStepSubmitButton-C2E_vI6h.js.map → PersonalInfoStepSubmitButton-DL0Qjm6T.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DIecrjL_.js → PersonalInfoStepWrapper-BoM-u8Vg.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-DIecrjL_.js.map → PersonalInfoStepWrapper-BoM-u8Vg.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-B7jyR5L2.js → PersonalInfoStepWrapper-DgxBk5YC.js} +27 -27
- package/chunk/{PersonalInfoStepWrapper-B7jyR5L2.js.map → PersonalInfoStepWrapper-DgxBk5YC.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BRv1OY2E.js → PostalCodeComponent-BAMN5oNJ.js} +10 -10
- package/chunk/{PostalCodeComponent-C5geCnf3.js.map → PostalCodeComponent-BAMN5oNJ.js.map} +1 -1
- package/chunk/{PostalCodeComponent-C5geCnf3.js → PostalCodeComponent-BoviWgTs.js} +10 -10
- package/chunk/{PostalCodeComponent-BRv1OY2E.js.map → PostalCodeComponent-BoviWgTs.js.map} +1 -1
- package/chunk/{SSN-DbmDwC_V.js → SSN-C-tXgqEW.js} +11 -11
- package/chunk/{SSN-DEDbmtXI.js.map → SSN-C-tXgqEW.js.map} +1 -1
- package/chunk/{SSN-DEDbmtXI.js → SSN-Dm927vAY.js} +11 -11
- package/chunk/{SSN-DbmDwC_V.js.map → SSN-Dm927vAY.js.map} +1 -1
- package/chunk/{StateSelectComponent-BVUvB4i-.js → StateSelectComponent-DRh_P7z6.js} +5 -5
- package/chunk/{StateSelectComponent-BVUvB4i-.js.map → StateSelectComponent-DRh_P7z6.js.map} +1 -1
- package/chunk/{StateSelectComponent-ykysTrKn.js → StateSelectComponent-uvSd1iyo.js} +9 -9
- package/chunk/{StateSelectComponent-ykysTrKn.js.map → StateSelectComponent-uvSd1iyo.js.map} +1 -1
- package/chunk/StatusComponent-Bn_amGh4.js +40 -0
- package/chunk/{StatusComponent-C9qP2xkk.js.map → StatusComponent-Bn_amGh4.js.map} +1 -1
- package/chunk/{StatusComponent-C9qP2xkk.js → StatusComponent-DN4l8Npf.js} +14 -14
- package/chunk/{StatusComponent-K7sbnHoL.js.map → StatusComponent-DN4l8Npf.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-OP3pj1nz.js → StepActiveMilitaryPersonalInfoComponent-C195u8WH.js} +59 -55
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B19DJheV.js.map → StepActiveMilitaryPersonalInfoComponent-C195u8WH.js.map} +1 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-ZcCZn0os.js +174 -0
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-OP3pj1nz.js.map → StepActiveMilitaryPersonalInfoComponent-ZcCZn0os.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-BPeMAudS.js +166 -0
- package/chunk/{StepAgePersonalInfo-Bi-QeGX8.js.map → StepAgePersonalInfo-BPeMAudS.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-ChwZMKcL.js +170 -0
- package/chunk/{StepAgePersonalInfo-CQBDmfRF.js.map → StepAgePersonalInfo-ChwZMKcL.js.map} +1 -1
- package/chunk/StepCard-B06reTxD.js +4 -4
- package/chunk/StepCard-Bypd7Dt8.js +4 -4
- package/chunk/{StepCollectIdentifier-BHAvn2O0.js → StepCollectIdentifier-DuKdS-j5.js} +19 -19
- package/chunk/{StepCollectIdentifier-BHAvn2O0.js.map → StepCollectIdentifier-DuKdS-j5.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CJWthRfj.js → StepCollectIdentifier-SFcn1Kr-.js} +12 -12
- package/chunk/{StepCollectIdentifier-CJWthRfj.js.map → StepCollectIdentifier-SFcn1Kr-.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-Bxu0tcW8.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-C4P5lSIX.js → StepCollectMilitaryStatusComponent-DKO_s_ta.js} +5 -5
- package/chunk/StepCollectPersonalInfo-H3GU_HNZ.js +352 -0
- package/chunk/{StepCollectPersonalInfo-B7--XzLY.js.map → StepCollectPersonalInfo-H3GU_HNZ.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DZpwrzjQ.js → StepCollectPersonalInfo-gDQydB_T.js} +124 -120
- package/chunk/{StepCollectPersonalInfo-DZpwrzjQ.js.map → StepCollectPersonalInfo-gDQydB_T.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-B66TaYiw.js → StepCompleteAuthentication-BjFkNxUn.js} +17 -17
- package/chunk/{StepCompleteAuthentication-B66TaYiw.js.map → StepCompleteAuthentication-BjFkNxUn.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-C0kcCUjP.js → StepCompleteAuthentication-DP1Q0Z7P.js} +24 -24
- package/chunk/{StepCompleteAuthentication-C0kcCUjP.js.map → StepCompleteAuthentication-DP1Q0Z7P.js.map} +1 -1
- package/chunk/{StepConsolation-BKobQblj.js → StepConsolation-C1iBEDx5.js} +13 -13
- package/chunk/{StepConsolation-BKobQblj.js.map → StepConsolation-C1iBEDx5.js.map} +1 -1
- package/chunk/{StepConsolation-CfpgPGx0.js → StepConsolation-DkIj9ddz.js} +19 -19
- package/chunk/{StepConsolation-CfpgPGx0.js.map → StepConsolation-DkIj9ddz.js.map} +1 -1
- package/chunk/{StepDocUpload-BM_hrO6C.js → StepDocUpload-CRn87Rqx.js} +249 -249
- package/chunk/{StepDocUpload-DkHcpKDh.js.map → StepDocUpload-CRn87Rqx.js.map} +1 -1
- package/chunk/{StepDocUpload-DkHcpKDh.js → StepDocUpload-D7O41B7o.js} +266 -266
- package/chunk/{StepDocUpload-BM_hrO6C.js.map → StepDocUpload-D7O41B7o.js.map} +1 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-Bf27mPeI.js +136 -0
- package/chunk/{StepDriverLicensePersonalInfoComponent-DRAZbywp.js.map → StepDriverLicensePersonalInfoComponent-Bf27mPeI.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DRAZbywp.js → StepDriverLicensePersonalInfoComponent-BydWgQhM.js} +44 -40
- package/chunk/{StepDriverLicensePersonalInfoComponent-DvF6gQri.js.map → StepDriverLicensePersonalInfoComponent-BydWgQhM.js.map} +1 -1
- package/chunk/{StepEmailLoop-B2pJ6TII.js → StepEmailLoop-BwdA2js0.js} +31 -31
- package/chunk/{StepEmailLoop-B2pJ6TII.js.map → StepEmailLoop-BwdA2js0.js.map} +1 -1
- package/chunk/{StepEmailLoop-D82Ol-tF.js → StepEmailLoop-CaGMrw-M.js} +19 -19
- package/chunk/{StepEmailLoop-D82Ol-tF.js.map → StepEmailLoop-CaGMrw-M.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-BP0D_L-2.js +211 -0
- package/chunk/{StepEmploymentPersonalInfo-BIzLUyqF.js.map → StepEmploymentPersonalInfo-BP0D_L-2.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BIzLUyqF.js → StepEmploymentPersonalInfo-DokmufZm.js} +70 -70
- package/chunk/{StepEmploymentPersonalInfo-CfW1cRz5.js.map → StepEmploymentPersonalInfo-DokmufZm.js.map} +1 -1
- package/chunk/StepFirstResponderPersonalInfo-CFlC4kHJ.js +167 -0
- package/chunk/{StepFirstResponderPersonalInfo-CcKpt9P9.js.map → StepFirstResponderPersonalInfo-CFlC4kHJ.js.map} +1 -1
- package/chunk/StepFirstResponderPersonalInfo-DxaX2t3m.js +171 -0
- package/chunk/{StepFirstResponderPersonalInfo-fkmalnSR.js.map → StepFirstResponderPersonalInfo-DxaX2t3m.js.map} +1 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-D7rWM-zc.js +169 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D-g65U8N.js.map → StepGeneralIdentityPersonalInfoComponent-D7rWM-zc.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DCzOLLXt.js → StepGeneralIdentityPersonalInfoComponent-DjlrFqzf.js} +49 -45
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DCzOLLXt.js.map → StepGeneralIdentityPersonalInfoComponent-DjlrFqzf.js.map} +1 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-7Tl8uDuV.js +178 -0
- package/chunk/{StepHybridIdentityPersonalInfoComponent-B1U-D-Oa.js.map → StepHybridIdentityPersonalInfoComponent-7Tl8uDuV.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-B1U-D-Oa.js → StepHybridIdentityPersonalInfoComponent-QCqe5hPY.js} +51 -47
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CKqXVn71.js.map → StepHybridIdentityPersonalInfoComponent-QCqe5hPY.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-C55YxnHR.js → StepIDCheckLoop-BJgnlAgW.js} +6 -6
- package/chunk/{StepIDCheckLoop-qAopx3ex.js.map → StepIDCheckLoop-BJgnlAgW.js.map} +1 -1
- package/chunk/StepIDCheckLoop-DSWI3l3R.js +21 -0
- package/chunk/{StepIDCheckLoop-C55YxnHR.js.map → StepIDCheckLoop-DSWI3l3R.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CNjlvSWc.js → StepIDCheckLoopOnfido-BQFOVwjz.js} +49 -49
- package/chunk/{StepIDCheckLoopOnfido-CNjlvSWc.js.map → StepIDCheckLoopOnfido-BQFOVwjz.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DMT6NO1B.js → StepIDCheckLoopOnfido-Q2N4Nl-N.js} +50 -50
- package/chunk/{StepIDCheckLoopOnfido-DMT6NO1B.js.map → StepIDCheckLoopOnfido-Q2N4Nl-N.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-qC6UgIrq.js → StepIDCheckLoopRegula-CV50hZTK.js} +40 -40
- package/chunk/{StepIDCheckLoopRegula-CTSRHPQ4.js.map → StepIDCheckLoopRegula-CV50hZTK.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CTSRHPQ4.js → StepIDCheckLoopRegula-G6YJq954.js} +26 -26
- package/chunk/{StepIDCheckLoopRegula-qC6UgIrq.js.map → StepIDCheckLoopRegula-G6YJq954.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DVxON89y.js → StepInactiveMilitaryPersonalInfoComponent-BD5AYCGD.js} +89 -85
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DVxON89y.js.map → StepInactiveMilitaryPersonalInfoComponent-BD5AYCGD.js.map} +1 -1
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-CzS52K0a.js +232 -0
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Sgb4Acqi.js.map → StepInactiveMilitaryPersonalInfoComponent-CzS52K0a.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DssaBYy5.js → StepLicensedProfessionalPersonalInfo-Co6ysIbQ.js} +49 -49
- package/chunk/{StepLicensedProfessionalPersonalInfo-COwznw-a.js.map → StepLicensedProfessionalPersonalInfo-Co6ysIbQ.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-COwznw-a.js → StepLicensedProfessionalPersonalInfo-MyhaHS8O.js} +67 -67
- package/chunk/{StepLicensedProfessionalPersonalInfo-DssaBYy5.js.map → StepLicensedProfessionalPersonalInfo-MyhaHS8O.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-C3U0bUtb.js → StepLowIncomePersonalInfo-DEvMpSOc.js} +76 -76
- package/chunk/{StepLowIncomePersonalInfo-X2S_WVZz.js.map → StepLowIncomePersonalInfo-DEvMpSOc.js.map} +1 -1
- package/chunk/StepLowIncomePersonalInfo-MwI07ZDr.js +217 -0
- package/chunk/{StepLowIncomePersonalInfo-C3U0bUtb.js.map → StepLowIncomePersonalInfo-MwI07ZDr.js.map} +1 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-Br3HaEsM.js +199 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-bRiGlQYY.js.map → StepMedicalProfessionalPersonalInfo-Br3HaEsM.js.map} +1 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-Cz4yih5L.js +203 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-k9qmhFHs.js.map → StepMedicalProfessionalPersonalInfo-Cz4yih5L.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-D3y5Orq9.js +149 -0
- package/chunk/{StepMemberPersonalInfo-AnJ_sPsq.js.map → StepMemberPersonalInfo-D3y5Orq9.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-AnJ_sPsq.js → StepMemberPersonalInfo-DxET2t6t.js} +35 -31
- package/chunk/{StepMemberPersonalInfo-DJC6kzko.js.map → StepMemberPersonalInfo-DxET2t6t.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-Bf95T7H2.js → StepMoverPersonalInfo-BJQcx0QE.js} +44 -40
- package/chunk/{StepMoverPersonalInfo-Bf95T7H2.js.map → StepMoverPersonalInfo-BJQcx0QE.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-ms_oSmJJ.js +136 -0
- package/chunk/{StepMoverPersonalInfo-R8lZHUqS.js.map → StepMoverPersonalInfo-ms_oSmJJ.js.map} +1 -1
- package/chunk/{StepOverrideComponent-C3Wt9p-Y.js → StepOverrideComponent-DR6qA-CV.js} +18 -18
- package/chunk/{StepOverrideComponent-DQ6KQfVX.js.map → StepOverrideComponent-DR6qA-CV.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DQ6KQfVX.js → StepOverrideComponent-DUneGdaQ.js} +26 -26
- package/chunk/{StepOverrideComponent-C3Wt9p-Y.js.map → StepOverrideComponent-DUneGdaQ.js.map} +1 -1
- package/chunk/{StepSMSLoop-BrbJqPhN.js → StepSMSLoop-CmnU4foO.js} +29 -29
- package/chunk/{StepSMSLoop-BrbJqPhN.js.map → StepSMSLoop-CmnU4foO.js.map} +1 -1
- package/chunk/{StepSMSLoop-C48P-QXx.js → StepSMSLoop-D96_oeaY.js} +22 -22
- package/chunk/{StepSMSLoop-C48P-QXx.js.map → StepSMSLoop-D96_oeaY.js.map} +1 -1
- package/chunk/StepSSO-D2pCLSYD.js +9 -0
- package/chunk/{StepSSO-DlRartMb.js → StepSSO-y263jjm-.js} +5 -5
- package/chunk/{StepSocialSecurityNumber-DyiO7ggN.js → StepSocialSecurityNumber-Bv8OGQDM.js} +31 -31
- package/chunk/{StepSocialSecurityNumber-Bn9fK496.js.map → StepSocialSecurityNumber-Bv8OGQDM.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-Bn9fK496.js → StepSocialSecurityNumber-C4iQRaSu.js} +25 -25
- package/chunk/{StepSocialSecurityNumber-DyiO7ggN.js.map → StepSocialSecurityNumber-C4iQRaSu.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BK34pk1g.js → StepStudentPersonalInfo-CStD7GTz.js} +52 -48
- package/chunk/{StepStudentPersonalInfo-BK34pk1g.js.map → StepStudentPersonalInfo-CStD7GTz.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-DC_LuVGO.js +181 -0
- package/chunk/{StepStudentPersonalInfo-Cpx5Y88n.js.map → StepStudentPersonalInfo-DC_LuVGO.js.map} +1 -1
- package/chunk/{StepSuccess-5zi6JPlJ.js → StepSuccess-D0zwNWtW.js} +47 -47
- package/chunk/{StepSuccess-5zi6JPlJ.js.map → StepSuccess-D0zwNWtW.js.map} +1 -1
- package/chunk/{StepSuccess-BEVsDxMB.js → StepSuccess-DH_SCQ3o.js} +43 -43
- package/chunk/{StepSuccess-BEVsDxMB.js.map → StepSuccess-DH_SCQ3o.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-kUTcaH1X.js → StepTeacherPersonalInfo-BD270H75.js} +36 -32
- package/chunk/{StepTeacherPersonalInfo-JFMv7J7a.js.map → StepTeacherPersonalInfo-BD270H75.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-CdIYEUhN.js +146 -0
- package/chunk/{StepTeacherPersonalInfo-kUTcaH1X.js.map → StepTeacherPersonalInfo-CdIYEUhN.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-C9irc_Or.js +9 -0
- package/chunk/{StepThirdPartyLoop-DgBM8Hjr.js → StepThirdPartyLoop-DfDkHKc3.js} +5 -5
- package/chunk/{TeacherSchoolComponent-BlXd_Ago.js → TeacherSchoolComponent-BVq4mqo8.js} +13 -13
- package/chunk/{TeacherSchoolComponent-lxPkOdX5.js.map → TeacherSchoolComponent-BVq4mqo8.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-lxPkOdX5.js → TeacherSchoolComponent-CBD2dQym.js} +12 -12
- package/chunk/{TeacherSchoolComponent-BlXd_Ago.js.map → TeacherSchoolComponent-CBD2dQym.js.map} +1 -1
- package/chunk/ThreatMetrix-DneXzgNV.js +4 -4
- package/chunk/{VerificationApiUtils-Ci3HFxmT.js → VerificationApiUtils-CuQ536DE.js} +5 -5
- package/chunk/{VerificationApiUtils-Ci3HFxmT.js.map → VerificationApiUtils-CuQ536DE.js.map} +1 -1
- package/chunk/{VerificationApiUtils-Cnf-uqtw.js → VerificationApiUtils-D715lDKh.js} +7 -7
- package/chunk/{VerificationApiUtils-Cnf-uqtw.js.map → VerificationApiUtils-D715lDKh.js.map} +1 -1
- package/chunk/ar-DY-xX8jm.js +4 -4
- package/chunk/bg-DtqxFXxf.js +4 -4
- package/chunk/bn-IN-CLQsDlLx.js +4 -4
- package/chunk/countryUtils-D5jLglud.js +4 -4
- package/chunk/countryUtils-ZO5utVC3.js +4 -4
- package/chunk/cs-zKYalrCx.js +4 -4
- package/chunk/da-B5mz--q8.js +4 -4
- package/chunk/de-C1u5bH-H.js +4 -4
- package/chunk/{downshift.esm-qbGlaZEh.js → downshift.esm-CmXev3Ne.js} +5 -5
- package/chunk/{downshift.esm-qbGlaZEh.js.map → downshift.esm-CmXev3Ne.js.map} +1 -1
- package/chunk/{downshift.esm-fwmIRsQT.js → downshift.esm-CtORkuQS.js} +228 -228
- package/chunk/{downshift.esm-fwmIRsQT.js.map → downshift.esm-CtORkuQS.js.map} +1 -1
- package/chunk/el-By0fu1Nj.js +4 -4
- package/chunk/en-GB-Cm1PRlxf.js +4 -4
- package/chunk/es-CNmoqMfp.js +4 -4
- package/chunk/es-ES-B7X6cedJ.js +4 -4
- package/chunk/et-DjJMLduk.js +4 -4
- package/chunk/fa-C9Wazqks.js +4 -4
- package/chunk/fi-Bt0kXgNy.js +4 -4
- package/chunk/fr-BvwOLEGk.js +4 -4
- package/chunk/fr-CA-DDN6X27Z.js +4 -4
- package/chunk/ga-DyaPZPE4.js +4 -4
- package/chunk/hi-IN-BsHMHntR.js +4 -4
- package/chunk/hr-BVl-px1q.js +4 -4
- package/chunk/hu-D4VjeLtb.js +4 -4
- package/chunk/id-B9cy0h8v.js +4 -4
- package/chunk/is-DFpeGHFj.js +4 -4
- package/chunk/it-DWz5-P-2.js +4 -4
- package/chunk/iw-DdKzE4KC.js +4 -4
- package/chunk/ja-BfUezqgt.js +4 -4
- package/chunk/kk-dxzPsna4.js +4 -4
- package/chunk/ko-BoAyzxes.js +4 -4
- package/chunk/lo-VdDzVd41.js +4 -4
- package/chunk/lt-CtEXkLkn.js +4 -4
- package/chunk/lv-SXvo6W1l.js +4 -4
- package/chunk/militaryStepHelpers--Wm0W_ag.js +4 -4
- package/chunk/militaryStepHelpers-BeuHYTWR.js +4 -4
- package/chunk/{mocks-Cgaq6lp9.js → mocks-DW4afxJL.js} +7 -7
- package/chunk/{mocks-BPyxndtc.js.map → mocks-DW4afxJL.js.map} +1 -1
- package/chunk/{mocks-BPyxndtc.js → mocks-WjVFEPXM.js} +8 -8
- package/chunk/{mocks-Cgaq6lp9.js.map → mocks-WjVFEPXM.js.map} +1 -1
- package/chunk/ms-CAQm5fnc.js +4 -4
- package/chunk/nl-BE-bh2asFFE.js +4 -4
- package/chunk/nl-TH42E1ce.js +4 -4
- package/chunk/no-CWx3bQiE.js +4 -4
- package/chunk/pl-C5UPRDbl.js +4 -4
- package/chunk/pt-BR-WR8V3NBI.js +4 -4
- package/chunk/pt-DuRmZVpm.js +4 -4
- package/chunk/ro-X6KMMewz.js +4 -4
- package/chunk/ru-D8cwuuW9.js +4 -4
- package/chunk/sk-l-usPvHT.js +4 -4
- package/chunk/sl-CcFevFDd.js +4 -4
- package/chunk/sr-5hqdw8W6.js +4 -4
- package/chunk/sv-CHHsIc-_.js +4 -4
- package/chunk/sw-N7xKwBA-.js +4 -4
- package/chunk/ta-CJbnZGAc.js +4 -4
- package/chunk/th-BGQ9NXQb.js +4 -4
- package/chunk/tl-D4edHa4A.js +4 -4
- package/chunk/tr-CzGpuTpn.js +4 -4
- package/chunk/uk-ChRcPkiM.js +4 -4
- package/chunk/ur-DwjvEWmp.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-Clin3AaA.js → useCollectFieldsEndpoint-BEwU2IXN.js} +9 -9
- package/chunk/{useCollectFieldsEndpoint-Cig4wEUB.js.map → useCollectFieldsEndpoint-BEwU2IXN.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Cig4wEUB.js → useCollectFieldsEndpoint-CvOWXfx8.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-Clin3AaA.js.map → useCollectFieldsEndpoint-CvOWXfx8.js.map} +1 -1
- package/chunk/{useMetrics-CLLh0Tan.js → useMetrics-2o9KG92p.js} +12 -26
- package/chunk/useMetrics-2o9KG92p.js.map +1 -0
- package/chunk/{useMetrics-5ft9MF-y.js → useMetrics-DW_mv5wy.js} +6 -20
- package/chunk/useMetrics-DW_mv5wy.js.map +1 -0
- package/chunk/vi-CyTj2EhC.js +4 -4
- package/chunk/zh-91qJ02Dp.js +4 -4
- package/chunk/zh-HK-xEJkIfby.js +4 -4
- package/chunk/zu-BrvraDYW.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 +964 -963
- package/sheerid.js.map +1 -1
- package/chunk/BirthDateComponent-DBoGs0xO.js +0 -39
- package/chunk/CaptchaComponent-CX3VgnkO.js.map +0 -1
- package/chunk/CaptchaComponent-CpD7kabQ.js.map +0 -1
- package/chunk/CountryComponentWrapper-BKmiop9j.js +0 -70
- package/chunk/CountryComponentWrapper-cR2hBUDi.js +0 -74
- package/chunk/ExtraMessage-D78-mbs6.js +0 -18
- package/chunk/StatusComponent-K7sbnHoL.js +0 -40
- package/chunk/StepActiveMilitaryPersonalInfoComponent-B19DJheV.js +0 -178
- package/chunk/StepAgePersonalInfo-Bi-QeGX8.js +0 -166
- package/chunk/StepAgePersonalInfo-CQBDmfRF.js +0 -170
- package/chunk/StepCollectMilitaryStatusComponent-Cp82hWUq.js +0 -9
- package/chunk/StepCollectPersonalInfo-B7--XzLY.js +0 -356
- package/chunk/StepDriverLicensePersonalInfoComponent-DvF6gQri.js +0 -140
- package/chunk/StepEmploymentPersonalInfo-CfW1cRz5.js +0 -211
- package/chunk/StepFirstResponderPersonalInfo-CcKpt9P9.js +0 -167
- package/chunk/StepFirstResponderPersonalInfo-fkmalnSR.js +0 -171
- package/chunk/StepGeneralIdentityPersonalInfoComponent-D-g65U8N.js +0 -173
- package/chunk/StepHybridIdentityPersonalInfoComponent-CKqXVn71.js +0 -182
- package/chunk/StepIDCheckLoop-qAopx3ex.js +0 -21
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-Sgb4Acqi.js +0 -236
- package/chunk/StepLowIncomePersonalInfo-X2S_WVZz.js +0 -217
- package/chunk/StepMedicalProfessionalPersonalInfo-bRiGlQYY.js +0 -203
- package/chunk/StepMedicalProfessionalPersonalInfo-k9qmhFHs.js +0 -199
- package/chunk/StepMemberPersonalInfo-DJC6kzko.js +0 -153
- package/chunk/StepMoverPersonalInfo-R8lZHUqS.js +0 -140
- package/chunk/StepSSO-wafaHYQE.js +0 -9
- package/chunk/StepStudentPersonalInfo-Cpx5Y88n.js +0 -185
- package/chunk/StepTeacherPersonalInfo-JFMv7J7a.js +0 -150
- package/chunk/StepThirdPartyLoop-B12aMzdI.js +0 -9
- package/chunk/useMetrics-5ft9MF-y.js.map +0 -1
- package/chunk/useMetrics-CLLh0Tan.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.251.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1782927746565
|
|
9
|
+
* BUILD_DATE: Wed Jul 01 2026 17:42:26 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: cb70a3d38f25dac850245b568238895cd279ec48
|
|
11
11
|
*/
|
|
12
12
|
//#region \0rolldown/runtime.js
|
|
13
13
|
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) => {
|
|
@@ -203,7 +203,7 @@ var ie = [.../* @__PURE__ */ "ar.bg.bn-IN.cs.da.de.el.en-GB.en-US.es-ES.es.et.fa
|
|
|
203
203
|
O.info(`Registering additional locales ${e.join(", ")}`), ie.push(...e);
|
|
204
204
|
};
|
|
205
205
|
function oe(e) {
|
|
206
|
-
return e
|
|
206
|
+
return e?.currentStep === "success";
|
|
207
207
|
}
|
|
208
208
|
Object.values(/* @__PURE__ */ function(e) {
|
|
209
209
|
return e.docUpload = "docUpload", e.pending = "pending", e.error = "error", e;
|
|
@@ -6019,7 +6019,7 @@ var Io = {
|
|
|
6019
6019
|
}, os = () => `${G().restApi.serviceUrl}${G().restApi.resources.verification}`, ss = (e) => `${os()}${e}`, cs = () => os(), ls = (e, t = null) => {
|
|
6020
6020
|
let n = `${G().restApi.serviceUrl}${G().restApi.resources.program.base}${e}/${G().restApi.resources.program.theme}`;
|
|
6021
6021
|
return t ? `${n}?locale=${t}` : `${n}`;
|
|
6022
|
-
}, us = (e) => `${G().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, ds = (e) => `${G().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, fs = (e, t) => `${G().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, ps = (e, t) => `${G().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, ms = (e, t, n) => `${G().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${n}`, hs = () => "2.
|
|
6022
|
+
}, us = (e) => `${G().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, ds = (e) => `${G().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, fs = (e, t) => `${G().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, ps = (e, t) => `${G().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, ms = (e, t, n) => `${G().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${n}`, hs = () => "2.251.0-alpha.0", gs = () => window.location.href, _s = () => {
|
|
6023
6023
|
try {
|
|
6024
6024
|
let e = new URLSearchParams(window.location.search);
|
|
6025
6025
|
if (e.get("installPageUrl")) return decodeURIComponent(e.get(rt));
|
|
@@ -6065,7 +6065,7 @@ var Io = {
|
|
|
6065
6065
|
let n = U(e);
|
|
6066
6066
|
return vs("mockPreviousStep") && vs("mockPreviousStep") === F.sso && (n.lastResponse = Ms(t[F.sso])), n;
|
|
6067
6067
|
}, Ps = (e) => U(e), Fs = async (e, t) => {
|
|
6068
|
-
let { allMockedResponses: n } = await import("./chunk/mocks-
|
|
6068
|
+
let { allMockedResponses: n } = await import("./chunk/mocks-DW4afxJL.js"), r = G().mockResponse || n[e];
|
|
6069
6069
|
if (e && r) switch (O.info(`getOverriddenMock: mocking ${e} response`), e) {
|
|
6070
6070
|
case F.error:
|
|
6071
6071
|
r = ks(r);
|
|
@@ -9134,8 +9134,10 @@ var Mf = [
|
|
|
9134
9134
|
}
|
|
9135
9135
|
}, If = (e) => (t) => (n) => {
|
|
9136
9136
|
let r = e.getState(), i = t(n), a = e.getState();
|
|
9137
|
-
return n.type === "VERIFICATION_RESPONSE" && lf(r.verificationResponse, a.verificationResponse) && (
|
|
9138
|
-
|
|
9137
|
+
return n.type === "VERIFICATION_RESPONSE" && a.verificationResponse && lf(r.verificationResponse, a.verificationResponse) && queueMicrotask(() => {
|
|
9138
|
+
oe(a.verificationResponse) && tc.emit("ON_VERIFICATION_SUCCESS", a.verificationResponse), tc.emit("ON_VERIFICATION_STEP_CHANGE", a.verificationResponse);
|
|
9139
|
+
}), i;
|
|
9140
|
+
}, Lf, Rf = () => (Lf || (Lf = kf(Ff, (typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || Af)(jf(If))), O.init(() => {
|
|
9139
9141
|
let e = Lf.getState(), t = k(() => e.verificationResponse.errorIds);
|
|
9140
9142
|
return {
|
|
9141
9143
|
programId: k(() => e.programId),
|
|
@@ -9147,7 +9149,7 @@ var Mf = [
|
|
|
9147
9149
|
locale: k(() => e.programTheme.intl.locale),
|
|
9148
9150
|
isTestMode: k(() => e.programTheme.isTestMode),
|
|
9149
9151
|
openOrgSearchEnabled: k(() => e.programTheme.openOrgSearchEnabled),
|
|
9150
|
-
jslibVerActual: k(() => "2.
|
|
9152
|
+
jslibVerActual: k(() => "2.251.0-alpha.0", "?")
|
|
9151
9153
|
};
|
|
9152
9154
|
})), Lf), zf = () => Rf().dispatch({ type: "RESET_STATE" }), Bf = (e, t = { partial: !0 }) => {
|
|
9153
9155
|
let n = Rf(), r = n.getState(), i = () => {
|
|
@@ -20487,53 +20489,23 @@ function gb({ id: e, context: t }) {
|
|
|
20487
20489
|
});
|
|
20488
20490
|
}
|
|
20489
20491
|
//#endregion
|
|
20490
|
-
//#region ../packages/shared/src/flags.ts
|
|
20491
|
-
var _b = {
|
|
20492
|
-
"doc-upload-redesign-use-legacy-message-keys": !1,
|
|
20493
|
-
"doc-upload-may24": "default",
|
|
20494
|
-
"include-cvec-field-france-student": "default",
|
|
20495
|
-
"docUpload-assertion-checklist": "default",
|
|
20496
|
-
"doc-upload-considerations": "default",
|
|
20497
|
-
"org-search-overlay": "default",
|
|
20498
|
-
"org-selected-display": "default",
|
|
20499
|
-
"hc-open-org-warning": "control",
|
|
20500
|
-
captcha: "default"
|
|
20501
|
-
}, vb = "_flagOverride", yb = (e = _b, t = window.location.href) => new URL(t).searchParams.getAll(vb).reduce((t, n) => {
|
|
20502
|
-
let [r, i] = n.split(":");
|
|
20503
|
-
if (!r || !i || !Object.keys(e).includes(r)) return t;
|
|
20504
|
-
let a = i === "true" || i === "false" ? JSON.parse(i) : i;
|
|
20505
|
-
return {
|
|
20506
|
-
...t,
|
|
20507
|
-
[r]: a
|
|
20508
|
-
};
|
|
20509
|
-
}, {}), bb = () => {
|
|
20510
|
-
let e = Ry(), t = yb();
|
|
20511
|
-
return {
|
|
20512
|
-
...e,
|
|
20513
|
-
...t
|
|
20514
|
-
};
|
|
20515
|
-
};
|
|
20516
|
-
function xb(e) {
|
|
20517
|
-
return bb()[e];
|
|
20518
|
-
}
|
|
20519
|
-
//#endregion
|
|
20520
20492
|
//#region src/components/FormFooter/FooterTextComponent.tsx
|
|
20521
|
-
var
|
|
20522
|
-
let { currentStep: e } = ib(), t = tb()
|
|
20493
|
+
var _b = () => {
|
|
20494
|
+
let { currentStep: e } = ib(), t = dc(tb());
|
|
20523
20495
|
return /* @__PURE__ */ (0, X.jsxs)("div", {
|
|
20524
20496
|
className: "sid-footer__text",
|
|
20525
20497
|
children: [/* @__PURE__ */ (0, X.jsx)(gb, {
|
|
20526
20498
|
id: "footerText",
|
|
20527
20499
|
context: e
|
|
20528
|
-
}),
|
|
20500
|
+
}), t && re(e) && /* @__PURE__ */ (0, X.jsx)("p", {
|
|
20529
20501
|
className: "sid-footer__captcha-text",
|
|
20530
20502
|
children: /* @__PURE__ */ (0, X.jsx)(gb, { id: "captchaFooterText" })
|
|
20531
20503
|
})]
|
|
20532
20504
|
});
|
|
20533
|
-
},
|
|
20534
|
-
let n =
|
|
20505
|
+
}, vb = Rf(), yb = (e, t) => {
|
|
20506
|
+
let n = vb.getState(), { partial: r = !0, metadataCheck: i = !1, externalUserIdCheck: a = !1 } = t || {}, o = () => {
|
|
20535
20507
|
let t = U(e);
|
|
20536
|
-
O.info("Setting viewModel", t), df(
|
|
20508
|
+
O.info("Setting viewModel", t), df(vb.dispatch)(t, {
|
|
20537
20509
|
partial: r,
|
|
20538
20510
|
metadataCheck: i,
|
|
20539
20511
|
externalUserIdCheck: a
|
|
@@ -20545,10 +20517,10 @@ var Sb = () => {
|
|
|
20545
20517
|
o();
|
|
20546
20518
|
}
|
|
20547
20519
|
}) : o();
|
|
20548
|
-
},
|
|
20520
|
+
}, bb = ({ children: e, showShield: t = !1 }) => {
|
|
20549
20521
|
let n = $i(ab()), r = H.useRef({});
|
|
20550
20522
|
return H.useEffect(() => {
|
|
20551
|
-
r.current &&
|
|
20523
|
+
r.current && yb({ metadata: { submissionOptIn: r.current.textContent } });
|
|
20552
20524
|
}, [r, n]), /* @__PURE__ */ (0, X.jsxs)("div", {
|
|
20553
20525
|
className: "sid-footer sid-h-small-text sid-l-space-top-md",
|
|
20554
20526
|
role: "contentinfo",
|
|
@@ -20561,16 +20533,16 @@ var Sb = () => {
|
|
|
20561
20533
|
}), /* @__PURE__ */ (0, X.jsx)("div", { children: /* @__PURE__ */ (0, X.jsx)("div", {
|
|
20562
20534
|
className: "sid-footer__one",
|
|
20563
20535
|
ref: r,
|
|
20564
|
-
children: e || /* @__PURE__ */ (0, X.jsx)(
|
|
20536
|
+
children: e || /* @__PURE__ */ (0, X.jsx)(_b, {})
|
|
20565
20537
|
}) })]
|
|
20566
20538
|
});
|
|
20567
|
-
},
|
|
20539
|
+
}, xb = (e, t) => {
|
|
20568
20540
|
let n = H.useRef(null);
|
|
20569
20541
|
function r() {
|
|
20570
20542
|
clearInterval(n.current);
|
|
20571
20543
|
}
|
|
20572
20544
|
return H.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
20573
|
-
},
|
|
20545
|
+
}, Sb = (e) => e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`), Cb = ({ children: e, align: t }) => {
|
|
20574
20546
|
let n = (0, H.useRef)(null);
|
|
20575
20547
|
return (0, H.useEffect)(() => {
|
|
20576
20548
|
n.current && n.current.focus();
|
|
@@ -20580,8 +20552,8 @@ var Sb = () => {
|
|
|
20580
20552
|
ref: n,
|
|
20581
20553
|
children: e
|
|
20582
20554
|
});
|
|
20583
|
-
},
|
|
20584
|
-
let a =
|
|
20555
|
+
}, wb = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Db.PRIMARY }) => {
|
|
20556
|
+
let a = Sb(e);
|
|
20585
20557
|
return /* @__PURE__ */ (0, X.jsxs)("div", {
|
|
20586
20558
|
className: "sid-header sid-l-horz-center",
|
|
20587
20559
|
children: [
|
|
@@ -20589,7 +20561,7 @@ var Sb = () => {
|
|
|
20589
20561
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
20590
20562
|
children: n
|
|
20591
20563
|
}),
|
|
20592
|
-
/* @__PURE__ */ (0, X.jsx)(
|
|
20564
|
+
/* @__PURE__ */ (0, X.jsx)(Cb, {
|
|
20593
20565
|
align: "center",
|
|
20594
20566
|
children: t.title
|
|
20595
20567
|
}),
|
|
@@ -20605,7 +20577,7 @@ var Sb = () => {
|
|
|
20605
20577
|
children: /* @__PURE__ */ (0, X.jsx)("button", {
|
|
20606
20578
|
onClick: r,
|
|
20607
20579
|
type: "submit",
|
|
20608
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
20580
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Db.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
20609
20581
|
"aria-label": "submit",
|
|
20610
20582
|
children: t.cancel
|
|
20611
20583
|
})
|
|
@@ -20614,13 +20586,13 @@ var Sb = () => {
|
|
|
20614
20586
|
t?.subtitle2 ? /* @__PURE__ */ (0, X.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, X.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
20615
20587
|
]
|
|
20616
20588
|
});
|
|
20617
|
-
},
|
|
20589
|
+
}, Tb = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Db.PRIMARY }) => /* @__PURE__ */ (0, X.jsx)(wb, {
|
|
20618
20590
|
messages: t,
|
|
20619
20591
|
stepName: e,
|
|
20620
20592
|
logo: n,
|
|
20621
20593
|
cancelSingleSignOn: r,
|
|
20622
20594
|
cancelButtonType: i
|
|
20623
|
-
}),
|
|
20595
|
+
}), Eb = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => /* @__PURE__ */ (0, X.jsxs)("div", {
|
|
20624
20596
|
className: "sid-header sid-l-horz-center",
|
|
20625
20597
|
children: [
|
|
20626
20598
|
/* @__PURE__ */ (0, X.jsx)("div", {
|
|
@@ -20634,7 +20606,7 @@ var Sb = () => {
|
|
|
20634
20606
|
})
|
|
20635
20607
|
})
|
|
20636
20608
|
}),
|
|
20637
|
-
/* @__PURE__ */ (0, X.jsx)(
|
|
20609
|
+
/* @__PURE__ */ (0, X.jsx)(Cb, {
|
|
20638
20610
|
align: "center",
|
|
20639
20611
|
children: e.title
|
|
20640
20612
|
}),
|
|
@@ -20654,10 +20626,10 @@ var Sb = () => {
|
|
|
20654
20626
|
}),
|
|
20655
20627
|
/* @__PURE__ */ (0, X.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
20656
20628
|
]
|
|
20657
|
-
}),
|
|
20629
|
+
}), Db = /* @__PURE__ */ function(e) {
|
|
20658
20630
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
20659
|
-
}({}),
|
|
20660
|
-
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 = bs(), f =
|
|
20631
|
+
}({}), Ob = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
20632
|
+
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 = bs(), f = Sb(t), p, m = /* @__PURE__ */ (0, X.jsx)(qy, {
|
|
20661
20633
|
verificationService: e,
|
|
20662
20634
|
fallbackLogo: /* @__PURE__ */ (0, X.jsx)("img", {
|
|
20663
20635
|
className: `sid-${f}-logo-default sid-l-lead-image`,
|
|
@@ -20694,21 +20666,21 @@ var Sb = () => {
|
|
|
20694
20666
|
"data-testid": `sid-step-${f}`,
|
|
20695
20667
|
children: [/* @__PURE__ */ (0, X.jsx)("div", {
|
|
20696
20668
|
role: "main",
|
|
20697
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, X.jsx)(
|
|
20669
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, X.jsx)(Tb, {
|
|
20698
20670
|
stepName: t,
|
|
20699
20671
|
messages: n,
|
|
20700
20672
|
logo: m,
|
|
20701
20673
|
cancelSingleSignOn: _,
|
|
20702
20674
|
cancelButtonType: r
|
|
20703
|
-
}) : /* @__PURE__ */ (0, X.jsx)(
|
|
20675
|
+
}) : /* @__PURE__ */ (0, X.jsx)(Eb, {
|
|
20704
20676
|
verificationService: e,
|
|
20705
20677
|
messages: n,
|
|
20706
20678
|
updateViewModelAndOpenLoginTab: v,
|
|
20707
20679
|
dashedStepName: f
|
|
20708
20680
|
})
|
|
20709
|
-
}), /* @__PURE__ */ (0, X.jsx)(
|
|
20681
|
+
}), /* @__PURE__ */ (0, X.jsx)(bb, { verificationService: e })]
|
|
20710
20682
|
});
|
|
20711
|
-
},
|
|
20683
|
+
}, kb = {
|
|
20712
20684
|
title: /* @__PURE__ */ (0, X.jsx)(hg, {
|
|
20713
20685
|
id: "step.sso.title",
|
|
20714
20686
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -20730,11 +20702,11 @@ var Sb = () => {
|
|
|
20730
20702
|
id: "step.sso.subtitle2",
|
|
20731
20703
|
defaultMessage: "Can't sign in to your school?"
|
|
20732
20704
|
})
|
|
20733
|
-
},
|
|
20705
|
+
}, Ab = ({ verificationService: e }) => /* @__PURE__ */ (0, X.jsx)(Ob, {
|
|
20734
20706
|
verificationService: e,
|
|
20735
20707
|
stepName: F.sso,
|
|
20736
|
-
messages:
|
|
20737
|
-
}),
|
|
20708
|
+
messages: kb
|
|
20709
|
+
}), jb = (e) => {
|
|
20738
20710
|
let t = Gd(e);
|
|
20739
20711
|
if (t) try {
|
|
20740
20712
|
t.focus();
|
|
@@ -20745,7 +20717,7 @@ var Sb = () => {
|
|
|
20745
20717
|
};
|
|
20746
20718
|
//#endregion
|
|
20747
20719
|
//#region src/lib/utils/getSafe.ts
|
|
20748
|
-
function
|
|
20720
|
+
function Mb(e, t) {
|
|
20749
20721
|
try {
|
|
20750
20722
|
return e();
|
|
20751
20723
|
} catch {
|
|
@@ -20754,7 +20726,7 @@ function Lb(e, t) {
|
|
|
20754
20726
|
}
|
|
20755
20727
|
//#endregion
|
|
20756
20728
|
//#region src/lib/utils/stepComponentHelpers/stepComponentHelpers.ts
|
|
20757
|
-
var
|
|
20729
|
+
var Nb = (e, t) => {
|
|
20758
20730
|
let n = t.viewModel, r = Li(n, (t) => {
|
|
20759
20731
|
t.organization = e ? {
|
|
20760
20732
|
id: e.id,
|
|
@@ -20766,139 +20738,139 @@ var Rb = (e, t) => {
|
|
|
20766
20738
|
} : na.organization, n.organization && n.organization.source !== void 0 && (t.organization.source = n.organization.source);
|
|
20767
20739
|
});
|
|
20768
20740
|
t.updateViewModel(r);
|
|
20769
|
-
},
|
|
20741
|
+
}, Pb = (e) => {
|
|
20770
20742
|
let t = e.viewModel, n = Re(), r = Li(t, (e) => {
|
|
20771
20743
|
Object.keys(t).forEach((t) => {
|
|
20772
20744
|
n.has(t) && (e[t] = n.get(t));
|
|
20773
20745
|
});
|
|
20774
20746
|
});
|
|
20775
20747
|
e.updateViewModel(r);
|
|
20776
|
-
},
|
|
20748
|
+
}, Fb = (e, t) => {
|
|
20777
20749
|
t.updateFieldValidationErrors(e);
|
|
20778
|
-
},
|
|
20750
|
+
}, Ib = (e, t, n) => {
|
|
20779
20751
|
let { fieldValidationErrors: r } = n;
|
|
20780
|
-
|
|
20752
|
+
Fb(Li(r, (r) => {
|
|
20781
20753
|
r[e] && (r[e] = Fd(e, t, n.formValidationOptions));
|
|
20782
20754
|
}), n);
|
|
20783
|
-
},
|
|
20755
|
+
}, Lb = (e, t) => Mb(() => t.length === 1) && Mb(() => t[0]) === "US" || Mb(() => e.value === "US") || Mb(() => e.value === void 0), Rb = (e, t, n) => t ? e.formatHTMLMessage({
|
|
20784
20756
|
id: t,
|
|
20785
20757
|
defaultMessage: n ? n[t] : "status"
|
|
20786
|
-
}) : "",
|
|
20758
|
+
}) : "", zb = (e, t = void 0) => {
|
|
20787
20759
|
let n = [];
|
|
20788
20760
|
return t && t.forEach((t) => {
|
|
20789
20761
|
n.push({
|
|
20790
20762
|
value: t,
|
|
20791
|
-
label:
|
|
20763
|
+
label: Rb(e, t, ve)
|
|
20792
20764
|
});
|
|
20793
20765
|
}), n;
|
|
20794
|
-
},
|
|
20766
|
+
}, Bb = (e, t) => {
|
|
20795
20767
|
let n = [];
|
|
20796
20768
|
return t.forEach((t) => {
|
|
20797
20769
|
n.push({
|
|
20798
20770
|
value: t,
|
|
20799
|
-
label:
|
|
20771
|
+
label: Rb(e, t, ge)
|
|
20800
20772
|
});
|
|
20801
20773
|
}), n;
|
|
20802
|
-
},
|
|
20774
|
+
}, Vb = (e, t) => {
|
|
20803
20775
|
let n = [];
|
|
20804
20776
|
return t.forEach((t) => {
|
|
20805
20777
|
n.push({
|
|
20806
20778
|
value: t,
|
|
20807
|
-
label:
|
|
20779
|
+
label: Rb(e, t, he)
|
|
20808
20780
|
});
|
|
20809
20781
|
}), n;
|
|
20810
|
-
},
|
|
20782
|
+
}, Hb = (e, t) => {
|
|
20811
20783
|
let n = [];
|
|
20812
20784
|
return t.forEach((t) => {
|
|
20813
20785
|
n.push({
|
|
20814
20786
|
value: t,
|
|
20815
|
-
label:
|
|
20787
|
+
label: Rb(e, t, null)
|
|
20816
20788
|
});
|
|
20817
20789
|
}), n;
|
|
20818
|
-
},
|
|
20790
|
+
}, Ub = (e) => ({
|
|
20819
20791
|
value: e.id,
|
|
20820
20792
|
label: e.name,
|
|
20821
20793
|
country: e.country
|
|
20822
|
-
}),
|
|
20794
|
+
}), Wb = new Map([["GB", [
|
|
20823
20795
|
"ACTIVE_DUTY",
|
|
20824
20796
|
"VETERAN",
|
|
20825
20797
|
"RESERVIST"
|
|
20826
|
-
]]]),
|
|
20827
|
-
let n = e.verificationResponse.availableStatuses || e.previousVerificationResponse && e.previousVerificationResponse.availableStatuses, r = [], i = e.viewModel && e.viewModel.countryChoice && e.viewModel.countryChoice.value, a = i &&
|
|
20798
|
+
]]]), Gb = (e, t) => {
|
|
20799
|
+
let n = e.verificationResponse.availableStatuses || e.previousVerificationResponse && e.previousVerificationResponse.availableStatuses, r = [], i = e.viewModel && e.viewModel.countryChoice && e.viewModel.countryChoice.value, a = i && Wb.get(i), o = a ? n.filter((e) => a.includes(e)) : n;
|
|
20828
20800
|
return o ? (o.forEach((e) => {
|
|
20829
20801
|
r.push({
|
|
20830
20802
|
value: e,
|
|
20831
|
-
label:
|
|
20803
|
+
label: Rb(t, e, me)
|
|
20832
20804
|
});
|
|
20833
20805
|
}), r) : null;
|
|
20834
|
-
},
|
|
20806
|
+
}, Kb = () => {
|
|
20835
20807
|
let e = Wd(), t = [];
|
|
20836
20808
|
return e.map((e) => t.push(e.fieldId)), t;
|
|
20837
|
-
},
|
|
20809
|
+
}, qb = (e) => e === "birthDate" || e === "birthDateDay" ? "birthDateYear" : e, Jb = (e, t) => {
|
|
20838
20810
|
let n;
|
|
20839
20811
|
return e.reverse().forEach((e) => {
|
|
20840
20812
|
t[e] && (n = e);
|
|
20841
|
-
}),
|
|
20842
|
-
},
|
|
20813
|
+
}), qb(n);
|
|
20814
|
+
}, Yb = (e) => {
|
|
20843
20815
|
let t = Gd("submitButton");
|
|
20844
20816
|
e.key === "Enter" && t && t.click();
|
|
20845
|
-
},
|
|
20817
|
+
}, Xb = (e, t, n, r) => {
|
|
20846
20818
|
let i = zu(e, t.formValidationOptions);
|
|
20847
20819
|
if (!Vu(i)) O.info(`${n} submitting form`), t.submitStep(n, e, t.verificationResponse), r && r();
|
|
20848
20820
|
else {
|
|
20849
|
-
let e =
|
|
20821
|
+
let e = Jb(Kb(), i);
|
|
20850
20822
|
Ar({
|
|
20851
20823
|
eventName: Er.INVALID_FORM_SUBMIT,
|
|
20852
20824
|
params: { fieldValidationErrors: JSON.stringify(i) }
|
|
20853
|
-
}),
|
|
20825
|
+
}), Fb(i, t), jb(e);
|
|
20854
20826
|
}
|
|
20855
|
-
},
|
|
20827
|
+
}, Zb = (e, t, n) => ({
|
|
20856
20828
|
estReviewTime: n.formatHTMLMessage({
|
|
20857
|
-
id: `dateTime.${
|
|
20829
|
+
id: `dateTime.${Mb(() => e.estimatedReviewTime) || vc(t)}`,
|
|
20858
20830
|
default: "a few minutes"
|
|
20859
20831
|
}),
|
|
20860
20832
|
maxReviewTime: n.formatHTMLMessage({
|
|
20861
|
-
id: `dateTime.${
|
|
20833
|
+
id: `dateTime.${Mb(() => e.maxReviewTime) || yc(t)}`,
|
|
20862
20834
|
default: "2 hours"
|
|
20863
20835
|
})
|
|
20864
|
-
}),
|
|
20836
|
+
}), Qb = (e, t) => gc(e).map((e) => ({
|
|
20865
20837
|
value: e,
|
|
20866
20838
|
label: t.formatHTMLMessage({
|
|
20867
20839
|
id: `countries.${e}`,
|
|
20868
20840
|
defaultMessage: e
|
|
20869
20841
|
})
|
|
20870
|
-
})),
|
|
20842
|
+
})), $b = (e, t, n) => Qb(e, t).sort((e, t) => Intl.Collator(n).compare(e.label, t.label)), ex = (e, t, n) => e.map((e) => ({
|
|
20871
20843
|
value: e,
|
|
20872
20844
|
label: t.formatHTMLMessage({
|
|
20873
20845
|
id: `countries.${e}`,
|
|
20874
20846
|
defaultMessage: e
|
|
20875
20847
|
})
|
|
20876
|
-
})).sort((e, t) => Intl.Collator(n).compare(e.label, t.label)),
|
|
20848
|
+
})).sort((e, t) => Intl.Collator(n).compare(e.label, t.label)), tx = (e, t) => _c(e).map((e) => ({
|
|
20877
20849
|
value: e,
|
|
20878
20850
|
label: t.formatHTMLMessage({
|
|
20879
20851
|
id: `states.${e}`,
|
|
20880
20852
|
defaultMessage: e
|
|
20881
20853
|
})
|
|
20882
|
-
})),
|
|
20854
|
+
})), nx = (e, t) => Li(e, (n) => {
|
|
20883
20855
|
dt.forEach((r) => {
|
|
20884
20856
|
t.some((e) => e.key === r) ? n[r] = e[r] === void 0 ? "" : e[r] : delete n[r];
|
|
20885
20857
|
});
|
|
20886
|
-
}),
|
|
20858
|
+
}), rx = (e, t) => hc(e).map((e) => ({
|
|
20887
20859
|
value: e,
|
|
20888
20860
|
label: t.formatHTMLMessage({
|
|
20889
20861
|
id: `locales.${e}`,
|
|
20890
20862
|
defaultMessage: e
|
|
20891
20863
|
})
|
|
20892
|
-
})),
|
|
20864
|
+
})), ix = (e) => e.length > 0 ? e[0] : {
|
|
20893
20865
|
value: "US",
|
|
20894
20866
|
label: "United States"
|
|
20895
|
-
},
|
|
20867
|
+
}, ax = (e, t, n) => Li(e, (e) => {
|
|
20896
20868
|
e[t] = n;
|
|
20897
|
-
}),
|
|
20869
|
+
}), ox = (e, t, n) => {
|
|
20898
20870
|
let r = "https://support.sheerid.com", { host: i } = new URL(window.location.href);
|
|
20899
20871
|
return (i.includes("preview") || i.includes("localhost")) && (r = "https://support-preview.sheerid.net"), `${r}/${e}/${t}/${n}/remember-me/`;
|
|
20900
|
-
},
|
|
20901
|
-
let r = n.verificationResponse, i =
|
|
20872
|
+
}, sx = (e, t = G()) => t.formFieldConfig.find((t) => t.fieldId === e), cx = ({ intl: e, logo: t, verificationService: n }) => {
|
|
20873
|
+
let r = n.verificationResponse, i = Zb({ ...r }, n.programTheme, e);
|
|
20902
20874
|
return /* @__PURE__ */ (0, X.jsxs)("div", {
|
|
20903
20875
|
className: "sid-header sid-l-horz-center",
|
|
20904
20876
|
"data-testid": "sid-review-pending",
|
|
@@ -20907,7 +20879,7 @@ var Rb = (e, t) => {
|
|
|
20907
20879
|
className: "sid-l-horz-center",
|
|
20908
20880
|
children: t
|
|
20909
20881
|
}),
|
|
20910
|
-
/* @__PURE__ */ (0, X.jsx)(
|
|
20882
|
+
/* @__PURE__ */ (0, X.jsx)(Cb, {
|
|
20911
20883
|
align: "center",
|
|
20912
20884
|
children: /* @__PURE__ */ (0, X.jsx)(hg, {
|
|
20913
20885
|
id: "step.pending.titleReview",
|
|
@@ -20940,7 +20912,7 @@ var Rb = (e, t) => {
|
|
|
20940
20912
|
/* @__PURE__ */ (0, X.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
20941
20913
|
]
|
|
20942
20914
|
});
|
|
20943
|
-
},
|
|
20915
|
+
}, lx = ({ logo: e }) => /* @__PURE__ */ (0, X.jsxs)("div", {
|
|
20944
20916
|
className: "sid-header sid-l-horz-center",
|
|
20945
20917
|
"data-testid": "sid-review-pending",
|
|
20946
20918
|
children: [
|
|
@@ -20948,7 +20920,7 @@ var Rb = (e, t) => {
|
|
|
20948
20920
|
className: "sid-l-horz-center",
|
|
20949
20921
|
children: e
|
|
20950
20922
|
}),
|
|
20951
|
-
/* @__PURE__ */ (0, X.jsx)(
|
|
20923
|
+
/* @__PURE__ */ (0, X.jsx)(Cb, {
|
|
20952
20924
|
align: "center",
|
|
20953
20925
|
children: /* @__PURE__ */ (0, X.jsx)(hg, {
|
|
20954
20926
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -20972,7 +20944,7 @@ var Rb = (e, t) => {
|
|
|
20972
20944
|
}),
|
|
20973
20945
|
/* @__PURE__ */ (0, X.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
20974
20946
|
]
|
|
20975
|
-
}),
|
|
20947
|
+
}), ux = { [Te.SIGNZY]: {
|
|
20976
20948
|
title: /* @__PURE__ */ (0, X.jsx)(hg, {
|
|
20977
20949
|
id: "step.thirdPartyLoop.signzy.title",
|
|
20978
20950
|
tagName: "h1",
|
|
@@ -20990,7 +20962,7 @@ var Rb = (e, t) => {
|
|
|
20990
20962
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
20991
20963
|
defaultMessage: "Upload Proof of Identity"
|
|
20992
20964
|
})
|
|
20993
|
-
} },
|
|
20965
|
+
} }, dx = ({ logo: e }) => /* @__PURE__ */ (0, X.jsx)("div", {
|
|
20994
20966
|
id: "sid-step-third-party-loop",
|
|
20995
20967
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
20996
20968
|
"data-testid": "sid-step-third-party-loop-error",
|
|
@@ -21001,7 +20973,7 @@ var Rb = (e, t) => {
|
|
|
21001
20973
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
21002
20974
|
children: e
|
|
21003
20975
|
}),
|
|
21004
|
-
/* @__PURE__ */ (0, X.jsx)(
|
|
20976
|
+
/* @__PURE__ */ (0, X.jsx)(Cb, {
|
|
21005
20977
|
align: "center",
|
|
21006
20978
|
children: /* @__PURE__ */ (0, X.jsx)(hg, {
|
|
21007
20979
|
id: "error",
|
|
@@ -21020,14 +20992,14 @@ var Rb = (e, t) => {
|
|
|
21020
20992
|
})
|
|
21021
20993
|
]
|
|
21022
20994
|
})
|
|
21023
|
-
}),
|
|
21024
|
-
let t =
|
|
21025
|
-
return t ? /* @__PURE__ */ (0, X.jsx)(
|
|
20995
|
+
}), fx = ({ verificationService: e }) => {
|
|
20996
|
+
let t = ux[e.verificationResponse.thirdPartyLoopProvider] || void 0;
|
|
20997
|
+
return t ? /* @__PURE__ */ (0, X.jsx)(Ob, {
|
|
21026
20998
|
verificationService: e,
|
|
21027
20999
|
stepName: F.thirdPartyLoop,
|
|
21028
21000
|
messages: t,
|
|
21029
|
-
cancelButtonType:
|
|
21030
|
-
}) : /* @__PURE__ */ (0, X.jsx)(
|
|
21001
|
+
cancelButtonType: Db.SECONDARY
|
|
21002
|
+
}) : /* @__PURE__ */ (0, X.jsx)(dx, { logo: /* @__PURE__ */ (0, X.jsx)(qy, {
|
|
21031
21003
|
verificationService: e,
|
|
21032
21004
|
fallbackLogo: /* @__PURE__ */ (0, X.jsx)("img", {
|
|
21033
21005
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -21035,23 +21007,23 @@ var Rb = (e, t) => {
|
|
|
21035
21007
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
21036
21008
|
})
|
|
21037
21009
|
}) });
|
|
21038
|
-
},
|
|
21039
|
-
let i =
|
|
21040
|
-
return i ? /* @__PURE__ */ (0, X.jsx)(
|
|
21010
|
+
}, px = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
21011
|
+
let i = ux[r ? vs("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
21012
|
+
return i ? /* @__PURE__ */ (0, X.jsx)(Tb, {
|
|
21041
21013
|
stepName: F.thirdPartyLoop,
|
|
21042
21014
|
messages: i,
|
|
21043
21015
|
logo: e,
|
|
21044
21016
|
cancelSingleSignOn: n,
|
|
21045
|
-
cancelButtonType:
|
|
21046
|
-
}) : /* @__PURE__ */ (0, X.jsx)(
|
|
21047
|
-
},
|
|
21048
|
-
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 = bs(), c = ws() && ws() === F.sso, l = ws() && ws() === F.thirdPartyLoop, u = ws() && ws() === 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, g = !m && !h, [_, v] = H.useState(() => m ?
|
|
21017
|
+
cancelButtonType: Db.SECONDARY
|
|
21018
|
+
}) : /* @__PURE__ */ (0, X.jsx)(dx, { logo: e });
|
|
21019
|
+
}, mx = 5e3, hx = 2e4, gx = 2e4, _x = 2e3, vx = jh(({ verificationService: e, intl: t }) => {
|
|
21020
|
+
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 = bs(), c = ws() && ws() === F.sso, l = ws() && ws() === F.thirdPartyLoop, u = ws() && ws() === 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, g = !m && !h, [_, v] = H.useState(() => m ? _x : h ? gx : mx);
|
|
21049
21021
|
H.useEffect(() => {
|
|
21050
21022
|
if (!g) return;
|
|
21051
|
-
let e = setTimeout(() => v(
|
|
21023
|
+
let e = setTimeout(() => v(gx), hx);
|
|
21052
21024
|
return () => clearTimeout(e);
|
|
21053
21025
|
}, [g]);
|
|
21054
|
-
let y = !s &&
|
|
21026
|
+
let y = !s && xb(() => {
|
|
21055
21027
|
e.fetchExistingVerificationRequest(n, o, a, i, !1);
|
|
21056
21028
|
}, _), b = (t) => {
|
|
21057
21029
|
let n = Li(r, () => {});
|
|
@@ -21071,17 +21043,17 @@ var Rb = (e, t) => {
|
|
|
21071
21043
|
role: "main",
|
|
21072
21044
|
children: (() => {
|
|
21073
21045
|
let n = d() || c, r = f() || l, i = p() || u;
|
|
21074
|
-
return n ? /* @__PURE__ */ (0, X.jsx)(
|
|
21046
|
+
return n ? /* @__PURE__ */ (0, X.jsx)(Tb, {
|
|
21075
21047
|
stepName: F.sso,
|
|
21076
|
-
messages:
|
|
21048
|
+
messages: kb,
|
|
21077
21049
|
logo: x,
|
|
21078
21050
|
cancelSingleSignOn: () => b(F.sso)
|
|
21079
|
-
}) : r ? /* @__PURE__ */ (0, X.jsx)(
|
|
21051
|
+
}) : r ? /* @__PURE__ */ (0, X.jsx)(px, {
|
|
21080
21052
|
logo: x,
|
|
21081
21053
|
cancelThirdPartyLoop: () => b(F.thirdPartyLoop),
|
|
21082
21054
|
verificationLastResponse: a,
|
|
21083
21055
|
isMockingPreviousStepThirdPartyLoop: l
|
|
21084
|
-
}) : i ? /* @__PURE__ */ (0, X.jsx)(
|
|
21056
|
+
}) : i ? /* @__PURE__ */ (0, X.jsx)(lx, { logo: x }) : /* @__PURE__ */ (0, X.jsx)(cx, {
|
|
21085
21057
|
verificationService: e,
|
|
21086
21058
|
logo: x,
|
|
21087
21059
|
intl: t,
|
|
@@ -21091,12 +21063,12 @@ var Rb = (e, t) => {
|
|
|
21091
21063
|
}), h ? /* @__PURE__ */ (0, X.jsx)(Zy, {
|
|
21092
21064
|
verificationService: e,
|
|
21093
21065
|
isCentered: !0
|
|
21094
|
-
}) : /* @__PURE__ */ (0, X.jsxs)(
|
|
21066
|
+
}) : /* @__PURE__ */ (0, X.jsxs)(bb, {
|
|
21095
21067
|
verificationService: e,
|
|
21096
21068
|
children: [/* @__PURE__ */ (0, X.jsx)("div", {}), " "]
|
|
21097
21069
|
})]
|
|
21098
21070
|
});
|
|
21099
|
-
}),
|
|
21071
|
+
}), yx = () => {
|
|
21100
21072
|
let e = ob(), t = k(() => e.verificationResponse.segment), n = H.useCallback(() => {
|
|
21101
21073
|
if (window.self !== window.top) {
|
|
21102
21074
|
let e = new URL(window.location.href);
|
|
@@ -21115,12 +21087,12 @@ var Rb = (e, t) => {
|
|
|
21115
21087
|
onKeyPress: n,
|
|
21116
21088
|
children: /* @__PURE__ */ (0, X.jsx)(gb, { id: "tryAgain" })
|
|
21117
21089
|
});
|
|
21118
|
-
},
|
|
21090
|
+
}, bx = {
|
|
21119
21091
|
NONE: "none",
|
|
21120
21092
|
RESET: "reset",
|
|
21121
21093
|
POSTMESSAGE: "postMessage",
|
|
21122
21094
|
REDIRECT: "redirect"
|
|
21123
|
-
},
|
|
21095
|
+
}, xx = () => {
|
|
21124
21096
|
let e = ib(), t = () => Jo({
|
|
21125
21097
|
action: "tryAgain",
|
|
21126
21098
|
verificationResponse: e
|
|
@@ -21132,39 +21104,39 @@ var Rb = (e, t) => {
|
|
|
21132
21104
|
onKeyPress: t,
|
|
21133
21105
|
children: /* @__PURE__ */ (0, X.jsx)(gb, { id: "tryAgain" })
|
|
21134
21106
|
});
|
|
21135
|
-
},
|
|
21107
|
+
}, Sx = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, X.jsx)(Jy, {
|
|
21136
21108
|
target: t,
|
|
21137
21109
|
href: e.toString(),
|
|
21138
21110
|
className: "sid-btn sid-btn--dark",
|
|
21139
21111
|
children: /* @__PURE__ */ (0, X.jsx)(gb, { id: "seeOtherOffers" })
|
|
21140
|
-
}),
|
|
21141
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
21142
|
-
},
|
|
21112
|
+
}), Cx = (e) => {
|
|
21113
|
+
if (!(typeof e == "object" && "type" in e && Object.values(bx).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
21114
|
+
}, wx = () => {
|
|
21143
21115
|
let e = Hi("tryAgainAction");
|
|
21144
21116
|
try {
|
|
21145
|
-
switch (
|
|
21146
|
-
case
|
|
21147
|
-
case
|
|
21148
|
-
case
|
|
21117
|
+
switch (Cx(e), e.type) {
|
|
21118
|
+
case bx.NONE: return null;
|
|
21119
|
+
case bx.POSTMESSAGE: return window.self === window.top ? (O.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, X.jsx)(xx, {});
|
|
21120
|
+
case bx.REDIRECT: return /* @__PURE__ */ (0, X.jsx)(Sx, {
|
|
21149
21121
|
redirectUrl: e.url,
|
|
21150
21122
|
target: e.target
|
|
21151
21123
|
});
|
|
21152
|
-
case
|
|
21124
|
+
case bx.RESET: return /* @__PURE__ */ (0, X.jsx)(yx, {});
|
|
21153
21125
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
21154
21126
|
}
|
|
21155
21127
|
} catch (e) {
|
|
21156
|
-
return O.error(e.message), /* @__PURE__ */ (0, X.jsx)(
|
|
21128
|
+
return O.error(e.message), /* @__PURE__ */ (0, X.jsx)(yx, {});
|
|
21157
21129
|
}
|
|
21158
|
-
},
|
|
21130
|
+
}, Tx = ({ verificationService: e, errorIds: t }) => {
|
|
21159
21131
|
let n = t[0];
|
|
21160
|
-
return /* @__PURE__ */ (0, X.jsx)(
|
|
21132
|
+
return /* @__PURE__ */ (0, X.jsx)(Cb, {
|
|
21161
21133
|
align: "center",
|
|
21162
21134
|
children: /* @__PURE__ */ (0, X.jsx)("h1", { children: /* @__PURE__ */ (0, X.jsx)(gb, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
21163
21135
|
});
|
|
21164
|
-
},
|
|
21136
|
+
}, Ex = ({ errorIds: e, errorDetailId: t }) => {
|
|
21165
21137
|
let n = /* @__PURE__ */ new Map();
|
|
21166
21138
|
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, X.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, X.jsx)(gb, { id: t }, t)) }) : null;
|
|
21167
|
-
},
|
|
21139
|
+
}, Dx = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
21168
21140
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
21169
21141
|
let t = k(() => e.programTheme.config.brandInfo.faqUrl);
|
|
21170
21142
|
return t ? /* @__PURE__ */ (0, X.jsx)(Jy, {
|
|
@@ -21175,15 +21147,15 @@ var Rb = (e, t) => {
|
|
|
21175
21147
|
}) : null;
|
|
21176
21148
|
}
|
|
21177
21149
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
21178
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return Hi("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, X.jsx)(
|
|
21150
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return Hi("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, X.jsx)(wx, {});
|
|
21179
21151
|
let r = t[0];
|
|
21180
21152
|
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, X.jsx)(Jy, {
|
|
21181
21153
|
href: n,
|
|
21182
21154
|
onClick: () => Lr(F.error, n),
|
|
21183
21155
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
21184
21156
|
children: /* @__PURE__ */ (0, X.jsx)(gb, { id: `step.error.errorId.${r}.buttonText` })
|
|
21185
|
-
}) : /* @__PURE__ */ (0, X.jsx)(
|
|
21186
|
-
},
|
|
21157
|
+
}) : /* @__PURE__ */ (0, X.jsx)(wx, {});
|
|
21158
|
+
}, Ox = ({ verificationService: e, errorId: t }) => {
|
|
21187
21159
|
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = /* @__PURE__ */ new Set();
|
|
21188
21160
|
t && a.add(t), Array.isArray(n) && n.forEach((e) => a.add(e));
|
|
21189
21161
|
let o = Array.from(a);
|
|
@@ -21205,7 +21177,7 @@ var Rb = (e, t) => {
|
|
|
21205
21177
|
})
|
|
21206
21178
|
})
|
|
21207
21179
|
}),
|
|
21208
|
-
/* @__PURE__ */ (0, X.jsx)(
|
|
21180
|
+
/* @__PURE__ */ (0, X.jsx)(Tx, {
|
|
21209
21181
|
verificationService: e,
|
|
21210
21182
|
errorIds: o
|
|
21211
21183
|
}),
|
|
@@ -21213,13 +21185,13 @@ var Rb = (e, t) => {
|
|
|
21213
21185
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
21214
21186
|
children: [/* @__PURE__ */ (0, X.jsx)("div", {
|
|
21215
21187
|
className: "sid-error-msg sid-l-horz-center",
|
|
21216
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
21188
|
+
children: /* @__PURE__ */ (0, X.jsx)(Ex, {
|
|
21217
21189
|
errorIds: o,
|
|
21218
21190
|
errorDetailId: i
|
|
21219
21191
|
})
|
|
21220
21192
|
}), /* @__PURE__ */ (0, X.jsx)("div", {
|
|
21221
21193
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
21222
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
21194
|
+
children: /* @__PURE__ */ (0, X.jsx)(Dx, {
|
|
21223
21195
|
verificationService: e,
|
|
21224
21196
|
errorIds: o,
|
|
21225
21197
|
redirectUrl: r
|
|
@@ -21235,41 +21207,41 @@ var Rb = (e, t) => {
|
|
|
21235
21207
|
})
|
|
21236
21208
|
})]
|
|
21237
21209
|
});
|
|
21238
|
-
},
|
|
21239
|
-
StepPendingComponent:
|
|
21240
|
-
StepErrorComponent:
|
|
21241
|
-
StepStudentPersonalInfoComponent: H.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
21242
|
-
StepOverrideComponent: H.lazy(() => import("./chunk/StepOverrideComponent-
|
|
21243
|
-
StepAgePersonalInfoComponent: H.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
21244
|
-
StepSeniorPersonalInfoComponent: H.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
21245
|
-
StepActiveMilitaryPersonalInfoComponent: H.lazy(() => import("./chunk/StepActiveMilitaryPersonalInfoComponent-
|
|
21246
|
-
StepCollectMilitaryStatusComponent: H.lazy(() => import("./chunk/StepCollectMilitaryStatusComponent-
|
|
21247
|
-
StepInactiveMilitaryPersonalInfoComponent: H.lazy(() => import("./chunk/StepInactiveMilitaryPersonalInfoComponent-
|
|
21248
|
-
StepDriverLicensePersonalInfoComponent: H.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
21249
|
-
StepEmploymentPersonalInfoComponent: H.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
21250
|
-
StepFirstResponderPersonalInfoComponent: H.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
21251
|
-
StepGeneralIdentityPersonalInfoComponent: H.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
21252
|
-
StepHybridIdentityPersonalInfoComponent: H.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
21253
|
-
StepIDCheckLoopComponent: H.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
21254
|
-
StepLicensedProfessionalPersonalInfoComponent: H.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
21255
|
-
StepLowIncomePersonalInfoComponent: H.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
21256
|
-
StepMedicalProfessionalPersonalInfoComponent: H.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
21257
|
-
StepMemberPersonalInfoComponent: H.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
21258
|
-
StepConsolationComponent: H.lazy(() => import("./chunk/StepConsolation-
|
|
21259
|
-
StepDocUploadComponent: H.lazy(() => import("./chunk/StepDocUpload-
|
|
21260
|
-
StepEmailLoopComponent: H.lazy(() => import("./chunk/StepEmailLoop-
|
|
21261
|
-
StepPendingEmailLoopComponent: H.lazy(() => import("./chunk/EmailLoopPending-
|
|
21262
|
-
StepMoverPersonalInfoComponent: H.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
21263
|
-
StepSMSLoopComponent: H.lazy(() => import("./chunk/StepSMSLoop-
|
|
21264
|
-
StepSocialSecurity: H.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
21265
|
-
StepSSOComponent: H.lazy(() => import("./chunk/StepSSO-
|
|
21266
|
-
StepSuccessComponent: H.lazy(() => import("./chunk/StepSuccess-
|
|
21267
|
-
StepTeacherPersonalInfoComponent: H.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
21268
|
-
StepCompleteAuthentication: H.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
21269
|
-
StepCollectIdentifierComponent: H.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
21270
|
-
StepCollectPersonalInfo: H.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
21271
|
-
StepThirdPartyLoopComponent: H.lazy(() => import("./chunk/StepThirdPartyLoop-
|
|
21272
|
-
}, $ = (e) => (O.info("getComponent", e), Ky(e) ||
|
|
21210
|
+
}, kx = {
|
|
21211
|
+
StepPendingComponent: vx,
|
|
21212
|
+
StepErrorComponent: Ox,
|
|
21213
|
+
StepStudentPersonalInfoComponent: H.lazy(() => import("./chunk/StepStudentPersonalInfo-CStD7GTz.js")),
|
|
21214
|
+
StepOverrideComponent: H.lazy(() => import("./chunk/StepOverrideComponent-DR6qA-CV.js")),
|
|
21215
|
+
StepAgePersonalInfoComponent: H.lazy(() => import("./chunk/StepAgePersonalInfo-ChwZMKcL.js")),
|
|
21216
|
+
StepSeniorPersonalInfoComponent: H.lazy(() => import("./chunk/StepAgePersonalInfo-ChwZMKcL.js")),
|
|
21217
|
+
StepActiveMilitaryPersonalInfoComponent: H.lazy(() => import("./chunk/StepActiveMilitaryPersonalInfoComponent-C195u8WH.js")),
|
|
21218
|
+
StepCollectMilitaryStatusComponent: H.lazy(() => import("./chunk/StepCollectMilitaryStatusComponent-DKO_s_ta.js")),
|
|
21219
|
+
StepInactiveMilitaryPersonalInfoComponent: H.lazy(() => import("./chunk/StepInactiveMilitaryPersonalInfoComponent-BD5AYCGD.js")),
|
|
21220
|
+
StepDriverLicensePersonalInfoComponent: H.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-BydWgQhM.js")),
|
|
21221
|
+
StepEmploymentPersonalInfoComponent: H.lazy(() => import("./chunk/StepEmploymentPersonalInfo-DokmufZm.js")),
|
|
21222
|
+
StepFirstResponderPersonalInfoComponent: H.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-DxaX2t3m.js")),
|
|
21223
|
+
StepGeneralIdentityPersonalInfoComponent: H.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-DjlrFqzf.js")),
|
|
21224
|
+
StepHybridIdentityPersonalInfoComponent: H.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-QCqe5hPY.js")),
|
|
21225
|
+
StepIDCheckLoopComponent: H.lazy(() => import("./chunk/StepIDCheckLoop-BJgnlAgW.js")),
|
|
21226
|
+
StepLicensedProfessionalPersonalInfoComponent: H.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-Co6ysIbQ.js")),
|
|
21227
|
+
StepLowIncomePersonalInfoComponent: H.lazy(() => import("./chunk/StepLowIncomePersonalInfo-DEvMpSOc.js")),
|
|
21228
|
+
StepMedicalProfessionalPersonalInfoComponent: H.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-Cz4yih5L.js")),
|
|
21229
|
+
StepMemberPersonalInfoComponent: H.lazy(() => import("./chunk/StepMemberPersonalInfo-DxET2t6t.js")),
|
|
21230
|
+
StepConsolationComponent: H.lazy(() => import("./chunk/StepConsolation-DkIj9ddz.js")),
|
|
21231
|
+
StepDocUploadComponent: H.lazy(() => import("./chunk/StepDocUpload-CRn87Rqx.js")),
|
|
21232
|
+
StepEmailLoopComponent: H.lazy(() => import("./chunk/StepEmailLoop-CaGMrw-M.js")),
|
|
21233
|
+
StepPendingEmailLoopComponent: H.lazy(() => import("./chunk/EmailLoopPending-tGJf2KO-.js").then((e) => e.n)),
|
|
21234
|
+
StepMoverPersonalInfoComponent: H.lazy(() => import("./chunk/StepMoverPersonalInfo-BJQcx0QE.js")),
|
|
21235
|
+
StepSMSLoopComponent: H.lazy(() => import("./chunk/StepSMSLoop-D96_oeaY.js")),
|
|
21236
|
+
StepSocialSecurity: H.lazy(() => import("./chunk/StepSocialSecurityNumber-C4iQRaSu.js")),
|
|
21237
|
+
StepSSOComponent: H.lazy(() => import("./chunk/StepSSO-y263jjm-.js")),
|
|
21238
|
+
StepSuccessComponent: H.lazy(() => import("./chunk/StepSuccess-D0zwNWtW.js")),
|
|
21239
|
+
StepTeacherPersonalInfoComponent: H.lazy(() => import("./chunk/StepTeacherPersonalInfo-BD270H75.js")),
|
|
21240
|
+
StepCompleteAuthentication: H.lazy(() => import("./chunk/StepCompleteAuthentication-BjFkNxUn.js")),
|
|
21241
|
+
StepCollectIdentifierComponent: H.lazy(() => import("./chunk/StepCollectIdentifier-SFcn1Kr-.js")),
|
|
21242
|
+
StepCollectPersonalInfo: H.lazy(() => import("./chunk/StepCollectPersonalInfo-gDQydB_T.js")),
|
|
21243
|
+
StepThirdPartyLoopComponent: H.lazy(() => import("./chunk/StepThirdPartyLoop-DfDkHKc3.js"))
|
|
21244
|
+
}, $ = (e) => (O.info("getComponent", e), Ky(e) || kx[e]), Ax = () => /* @__PURE__ */ (0, X.jsx)(bg, {}), jx = ({ stepToLoad: e, verificationService: t }) => {
|
|
21273
21245
|
O.info(`LoadStepComponent: rendering step: ${e}`);
|
|
21274
21246
|
let n;
|
|
21275
21247
|
switch ((0, H.useEffect)(() => {
|
|
@@ -21394,23 +21366,23 @@ var Rb = (e, t) => {
|
|
|
21394
21366
|
case "cancelEmailLoop":
|
|
21395
21367
|
case "cancelSocialSecurityNumber":
|
|
21396
21368
|
case "docReviewLimitExceeded":
|
|
21397
|
-
case "emailLoopCollectOrganizationEmail": return O.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, X.jsx)(
|
|
21369
|
+
case "emailLoopCollectOrganizationEmail": return O.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, X.jsx)(Ox, {
|
|
21398
21370
|
verificationService: t,
|
|
21399
21371
|
errorId: "invalidStep"
|
|
21400
21372
|
});
|
|
21401
|
-
default: return O.error("Unable to load step", e), /* @__PURE__ */ (0, X.jsx)(
|
|
21373
|
+
default: return O.error("Unable to load step", e), /* @__PURE__ */ (0, X.jsx)(Ox, {
|
|
21402
21374
|
verificationService: t,
|
|
21403
21375
|
errorId: "invalidStep"
|
|
21404
21376
|
});
|
|
21405
21377
|
}
|
|
21406
21378
|
return /* @__PURE__ */ (0, X.jsx)(H.Suspense, {
|
|
21407
|
-
fallback:
|
|
21379
|
+
fallback: Ax(),
|
|
21408
21380
|
children: /* @__PURE__ */ (0, X.jsx)(n, { verificationService: t })
|
|
21409
21381
|
});
|
|
21410
|
-
},
|
|
21382
|
+
}, Mx = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, X.jsx)("span", {
|
|
21411
21383
|
dangerouslySetInnerHTML: e,
|
|
21412
21384
|
...t
|
|
21413
|
-
}) : /* @__PURE__ */ (0, X.jsx)(H.Fragment, { ...t }),
|
|
21385
|
+
}) : /* @__PURE__ */ (0, X.jsx)(H.Fragment, { ...t }), Nx = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, X.jsxs)("div", {
|
|
21414
21386
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
21415
21387
|
role: "note",
|
|
21416
21388
|
children: ["Test Mode", /* @__PURE__ */ (0, X.jsx)(Jy, {
|
|
@@ -21419,7 +21391,7 @@ var Rb = (e, t) => {
|
|
|
21419
21391
|
"aria-label": "learn more about a sheerid test mode program",
|
|
21420
21392
|
children: "(learn more)"
|
|
21421
21393
|
})]
|
|
21422
|
-
}) : null,
|
|
21394
|
+
}) : null, Px = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, X.jsxs)("header", {
|
|
21423
21395
|
className: "sid-header",
|
|
21424
21396
|
children: [
|
|
21425
21397
|
/* @__PURE__ */ (0, X.jsx)("div", {
|
|
@@ -21437,37 +21409,37 @@ var Rb = (e, t) => {
|
|
|
21437
21409
|
]
|
|
21438
21410
|
});
|
|
21439
21411
|
typeof window < "u" && window.document && window.document.createElement;
|
|
21440
|
-
function
|
|
21412
|
+
function Fx(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
21441
21413
|
return function(r) {
|
|
21442
21414
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
21443
21415
|
};
|
|
21444
21416
|
}
|
|
21445
21417
|
//#endregion
|
|
21446
21418
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
21447
|
-
function
|
|
21419
|
+
function Ix(e, t) {
|
|
21448
21420
|
if (typeof e == "function") return e(t);
|
|
21449
21421
|
e != null && (e.current = t);
|
|
21450
21422
|
}
|
|
21451
|
-
function
|
|
21423
|
+
function Lx(...e) {
|
|
21452
21424
|
return (t) => {
|
|
21453
21425
|
let n = !1, r = e.map((e) => {
|
|
21454
|
-
let r =
|
|
21426
|
+
let r = Ix(e, t);
|
|
21455
21427
|
return !n && typeof r == "function" && (n = !0), r;
|
|
21456
21428
|
});
|
|
21457
21429
|
if (n) return () => {
|
|
21458
21430
|
for (let t = 0; t < r.length; t++) {
|
|
21459
21431
|
let n = r[t];
|
|
21460
|
-
typeof n == "function" ? n() :
|
|
21432
|
+
typeof n == "function" ? n() : Ix(e[t], null);
|
|
21461
21433
|
}
|
|
21462
21434
|
};
|
|
21463
21435
|
};
|
|
21464
21436
|
}
|
|
21465
|
-
function
|
|
21466
|
-
return H.useCallback(
|
|
21437
|
+
function Rx(...e) {
|
|
21438
|
+
return H.useCallback(Lx(...e), e);
|
|
21467
21439
|
}
|
|
21468
21440
|
//#endregion
|
|
21469
21441
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
21470
|
-
function
|
|
21442
|
+
function zx(e, t = []) {
|
|
21471
21443
|
let n = [];
|
|
21472
21444
|
function r(t, r) {
|
|
21473
21445
|
let i = H.createContext(r), a = n.length;
|
|
@@ -21498,9 +21470,9 @@ function Wx(e, t = []) {
|
|
|
21498
21470
|
} }), [n, r]);
|
|
21499
21471
|
};
|
|
21500
21472
|
};
|
|
21501
|
-
return i.scopeName = e, [r,
|
|
21473
|
+
return i.scopeName = e, [r, Bx(i, ...t)];
|
|
21502
21474
|
}
|
|
21503
|
-
function
|
|
21475
|
+
function Bx(...e) {
|
|
21504
21476
|
let t = e[0];
|
|
21505
21477
|
if (e.length === 1) return t;
|
|
21506
21478
|
let n = () => {
|
|
@@ -21524,9 +21496,9 @@ function Gx(...e) {
|
|
|
21524
21496
|
//#endregion
|
|
21525
21497
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
21526
21498
|
/* @__NO_SIDE_EFFECTS__ */
|
|
21527
|
-
function
|
|
21528
|
-
let t = /* @__PURE__ */
|
|
21529
|
-
let { children: r, ...i } = e, a = H.Children.toArray(r), o = a.find(
|
|
21499
|
+
function Vx(e) {
|
|
21500
|
+
let t = /* @__PURE__ */ Hx(e), n = H.forwardRef((e, n) => {
|
|
21501
|
+
let { children: r, ...i } = e, a = H.Children.toArray(r), o = a.find(Wx);
|
|
21530
21502
|
if (o) {
|
|
21531
21503
|
let e = o.props.children, r = a.map((t) => t === o ? H.Children.count(e) > 1 ? H.Children.only(null) : H.isValidElement(e) ? e.props.children : null : t);
|
|
21532
21504
|
return /* @__PURE__ */ (0, X.jsx)(t, {
|
|
@@ -21544,22 +21516,22 @@ function Kx(e) {
|
|
|
21544
21516
|
return n.displayName = `${e}.Slot`, n;
|
|
21545
21517
|
}
|
|
21546
21518
|
/* @__NO_SIDE_EFFECTS__ */
|
|
21547
|
-
function
|
|
21519
|
+
function Hx(e) {
|
|
21548
21520
|
let t = H.forwardRef((e, t) => {
|
|
21549
21521
|
let { children: n, ...r } = e;
|
|
21550
21522
|
if (H.isValidElement(n)) {
|
|
21551
|
-
let e =
|
|
21552
|
-
return n.type !== H.Fragment && (i.ref = t ?
|
|
21523
|
+
let e = Kx(n), i = Gx(r, n.props);
|
|
21524
|
+
return n.type !== H.Fragment && (i.ref = t ? Lx(t, e) : e), H.cloneElement(n, i);
|
|
21553
21525
|
}
|
|
21554
21526
|
return H.Children.count(n) > 1 ? H.Children.only(null) : null;
|
|
21555
21527
|
});
|
|
21556
21528
|
return t.displayName = `${e}.SlotClone`, t;
|
|
21557
21529
|
}
|
|
21558
|
-
var
|
|
21559
|
-
function
|
|
21560
|
-
return H.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
21530
|
+
var Ux = Symbol("radix.slottable");
|
|
21531
|
+
function Wx(e) {
|
|
21532
|
+
return H.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Ux;
|
|
21561
21533
|
}
|
|
21562
|
-
function
|
|
21534
|
+
function Gx(e, t) {
|
|
21563
21535
|
let n = { ...t };
|
|
21564
21536
|
for (let r in t) {
|
|
21565
21537
|
let i = e[r], a = t[r];
|
|
@@ -21576,13 +21548,13 @@ function Xx(e, t) {
|
|
|
21576
21548
|
...n
|
|
21577
21549
|
};
|
|
21578
21550
|
}
|
|
21579
|
-
function
|
|
21551
|
+
function Kx(e) {
|
|
21580
21552
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
21581
21553
|
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);
|
|
21582
21554
|
}
|
|
21583
21555
|
//#endregion
|
|
21584
21556
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
21585
|
-
var
|
|
21557
|
+
var qx = [
|
|
21586
21558
|
"a",
|
|
21587
21559
|
"button",
|
|
21588
21560
|
"div",
|
|
@@ -21601,7 +21573,7 @@ var Qx = [
|
|
|
21601
21573
|
"svg",
|
|
21602
21574
|
"ul"
|
|
21603
21575
|
].reduce((e, t) => {
|
|
21604
|
-
let n = /* @__PURE__ */
|
|
21576
|
+
let n = /* @__PURE__ */ Vx(`Primitive.${t}`), r = H.forwardRef((e, r) => {
|
|
21605
21577
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
21606
21578
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, X.jsx)(o, {
|
|
21607
21579
|
...a,
|
|
@@ -21613,12 +21585,12 @@ var Qx = [
|
|
|
21613
21585
|
[t]: r
|
|
21614
21586
|
};
|
|
21615
21587
|
}, {});
|
|
21616
|
-
function
|
|
21588
|
+
function Jx(e, t) {
|
|
21617
21589
|
e && qf.flushSync(() => e.dispatchEvent(t));
|
|
21618
21590
|
}
|
|
21619
21591
|
//#endregion
|
|
21620
21592
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
21621
|
-
function
|
|
21593
|
+
function Yx(e) {
|
|
21622
21594
|
let t = H.useRef(e);
|
|
21623
21595
|
return H.useEffect(() => {
|
|
21624
21596
|
t.current = e;
|
|
@@ -21626,8 +21598,8 @@ function eS(e) {
|
|
|
21626
21598
|
}
|
|
21627
21599
|
//#endregion
|
|
21628
21600
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
21629
|
-
function
|
|
21630
|
-
let n =
|
|
21601
|
+
function Xx(e, t = globalThis?.document) {
|
|
21602
|
+
let n = Yx(e);
|
|
21631
21603
|
H.useEffect(() => {
|
|
21632
21604
|
let e = (e) => {
|
|
21633
21605
|
e.key === "Escape" && n(e);
|
|
@@ -21637,23 +21609,23 @@ function tS(e, t = globalThis?.document) {
|
|
|
21637
21609
|
}
|
|
21638
21610
|
//#endregion
|
|
21639
21611
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
21640
|
-
var
|
|
21612
|
+
var Zx = "DismissableLayer", Qx = "dismissableLayer.update", $x = "dismissableLayer.pointerDownOutside", eS = "dismissableLayer.focusOutside", tS, nS = H.createContext({
|
|
21641
21613
|
layers: /* @__PURE__ */ new Set(),
|
|
21642
21614
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
21643
21615
|
branches: /* @__PURE__ */ new Set()
|
|
21644
|
-
}),
|
|
21645
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = H.useContext(
|
|
21616
|
+
}), rS = H.forwardRef((e, t) => {
|
|
21617
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = H.useContext(nS), [u, d] = H.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = H.useState({}), m = Rx(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = oS((e) => {
|
|
21646
21618
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
21647
21619
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
21648
|
-
}, f), S =
|
|
21620
|
+
}, f), S = sS((e) => {
|
|
21649
21621
|
let t = e.target;
|
|
21650
21622
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
21651
21623
|
}, f);
|
|
21652
|
-
return
|
|
21624
|
+
return Xx((e) => {
|
|
21653
21625
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
21654
21626
|
}, f), H.useEffect(() => {
|
|
21655
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
21656
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
21627
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (tS = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), cS(), () => {
|
|
21628
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = tS);
|
|
21657
21629
|
};
|
|
21658
21630
|
}, [
|
|
21659
21631
|
u,
|
|
@@ -21661,43 +21633,43 @@ var nS = "DismissableLayer", rS = "dismissableLayer.update", iS = "dismissableLa
|
|
|
21661
21633
|
n,
|
|
21662
21634
|
l
|
|
21663
21635
|
]), H.useEffect(() => () => {
|
|
21664
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
21636
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), cS());
|
|
21665
21637
|
}, [u, l]), H.useEffect(() => {
|
|
21666
21638
|
let e = () => p({});
|
|
21667
|
-
return document.addEventListener(
|
|
21668
|
-
}, []), /* @__PURE__ */ (0, X.jsx)(
|
|
21639
|
+
return document.addEventListener(Qx, e), () => document.removeEventListener(Qx, e);
|
|
21640
|
+
}, []), /* @__PURE__ */ (0, X.jsx)(qx.div, {
|
|
21669
21641
|
...c,
|
|
21670
21642
|
ref: m,
|
|
21671
21643
|
style: {
|
|
21672
21644
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
21673
21645
|
...e.style
|
|
21674
21646
|
},
|
|
21675
|
-
onFocusCapture:
|
|
21676
|
-
onBlurCapture:
|
|
21677
|
-
onPointerDownCapture:
|
|
21647
|
+
onFocusCapture: Fx(e.onFocusCapture, S.onFocusCapture),
|
|
21648
|
+
onBlurCapture: Fx(e.onBlurCapture, S.onBlurCapture),
|
|
21649
|
+
onPointerDownCapture: Fx(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
21678
21650
|
});
|
|
21679
21651
|
});
|
|
21680
|
-
|
|
21681
|
-
var
|
|
21682
|
-
let n = H.useContext(
|
|
21652
|
+
rS.displayName = Zx;
|
|
21653
|
+
var iS = "DismissableLayerBranch", aS = H.forwardRef((e, t) => {
|
|
21654
|
+
let n = H.useContext(nS), r = H.useRef(null), i = Rx(t, r);
|
|
21683
21655
|
return H.useEffect(() => {
|
|
21684
21656
|
let e = r.current;
|
|
21685
21657
|
if (e) return n.branches.add(e), () => {
|
|
21686
21658
|
n.branches.delete(e);
|
|
21687
21659
|
};
|
|
21688
|
-
}, [n.branches]), /* @__PURE__ */ (0, X.jsx)(
|
|
21660
|
+
}, [n.branches]), /* @__PURE__ */ (0, X.jsx)(qx.div, {
|
|
21689
21661
|
...e,
|
|
21690
21662
|
ref: i
|
|
21691
21663
|
});
|
|
21692
21664
|
});
|
|
21693
|
-
|
|
21694
|
-
function
|
|
21695
|
-
let n =
|
|
21665
|
+
aS.displayName = iS;
|
|
21666
|
+
function oS(e, t = globalThis?.document) {
|
|
21667
|
+
let n = Yx(e), r = H.useRef(!1), i = H.useRef(() => {});
|
|
21696
21668
|
return H.useEffect(() => {
|
|
21697
21669
|
let e = (e) => {
|
|
21698
21670
|
if (e.target && !r.current) {
|
|
21699
21671
|
let r = function() {
|
|
21700
|
-
|
|
21672
|
+
lS($x, n, a, { discrete: !0 });
|
|
21701
21673
|
}, a = { originalEvent: e };
|
|
21702
21674
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
21703
21675
|
} else t.removeEventListener("click", i.current);
|
|
@@ -21710,11 +21682,11 @@ function dS(e, t = globalThis?.document) {
|
|
|
21710
21682
|
};
|
|
21711
21683
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
21712
21684
|
}
|
|
21713
|
-
function
|
|
21714
|
-
let n =
|
|
21685
|
+
function sS(e, t = globalThis?.document) {
|
|
21686
|
+
let n = Yx(e), r = H.useRef(!1);
|
|
21715
21687
|
return H.useEffect(() => {
|
|
21716
21688
|
let e = (e) => {
|
|
21717
|
-
e.target && !r.current &&
|
|
21689
|
+
e.target && !r.current && lS(eS, n, { originalEvent: e }, { discrete: !1 });
|
|
21718
21690
|
};
|
|
21719
21691
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
21720
21692
|
}, [t, n]), {
|
|
@@ -21722,40 +21694,40 @@ function fS(e, t = globalThis?.document) {
|
|
|
21722
21694
|
onBlurCapture: () => r.current = !1
|
|
21723
21695
|
};
|
|
21724
21696
|
}
|
|
21725
|
-
function
|
|
21726
|
-
let e = new CustomEvent(
|
|
21697
|
+
function cS() {
|
|
21698
|
+
let e = new CustomEvent(Qx);
|
|
21727
21699
|
document.dispatchEvent(e);
|
|
21728
21700
|
}
|
|
21729
|
-
function
|
|
21701
|
+
function lS(e, t, n, { discrete: r }) {
|
|
21730
21702
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
21731
21703
|
bubbles: !1,
|
|
21732
21704
|
cancelable: !0,
|
|
21733
21705
|
detail: n
|
|
21734
21706
|
});
|
|
21735
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
21707
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Jx(i, a) : i.dispatchEvent(a);
|
|
21736
21708
|
}
|
|
21737
21709
|
//#endregion
|
|
21738
21710
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
21739
|
-
var
|
|
21740
|
-
function
|
|
21711
|
+
var uS = 0;
|
|
21712
|
+
function dS() {
|
|
21741
21713
|
H.useEffect(() => {
|
|
21742
21714
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
21743
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
21744
|
-
|
|
21715
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? fS()), document.body.insertAdjacentElement("beforeend", e[1] ?? fS()), uS++, () => {
|
|
21716
|
+
uS === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), uS--;
|
|
21745
21717
|
};
|
|
21746
21718
|
}, []);
|
|
21747
21719
|
}
|
|
21748
|
-
function
|
|
21720
|
+
function fS() {
|
|
21749
21721
|
let e = document.createElement("span");
|
|
21750
21722
|
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;
|
|
21751
21723
|
}
|
|
21752
21724
|
//#endregion
|
|
21753
21725
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
21754
|
-
var
|
|
21726
|
+
var pS = "focusScope.autoFocusOnMount", mS = "focusScope.autoFocusOnUnmount", hS = {
|
|
21755
21727
|
bubbles: !1,
|
|
21756
21728
|
cancelable: !0
|
|
21757
|
-
},
|
|
21758
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = H.useState(null), l =
|
|
21729
|
+
}, gS = "FocusScope", _S = H.forwardRef((e, t) => {
|
|
21730
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = H.useState(null), l = Yx(i), u = Yx(a), d = H.useRef(null), f = Rx(t, (e) => c(e)), p = H.useRef({
|
|
21759
21731
|
paused: !1,
|
|
21760
21732
|
pause() {
|
|
21761
21733
|
this.paused = !0;
|
|
@@ -21769,13 +21741,13 @@ var vS = "focusScope.autoFocusOnMount", yS = "focusScope.autoFocusOnUnmount", bS
|
|
|
21769
21741
|
let e = function(e) {
|
|
21770
21742
|
if (p.paused || !s) return;
|
|
21771
21743
|
let t = e.target;
|
|
21772
|
-
s.contains(t) ? d.current = t :
|
|
21744
|
+
s.contains(t) ? d.current = t : wS(d.current, { select: !0 });
|
|
21773
21745
|
}, t = function(e) {
|
|
21774
21746
|
if (p.paused || !s) return;
|
|
21775
21747
|
let t = e.relatedTarget;
|
|
21776
|
-
t !== null && (s.contains(t) ||
|
|
21748
|
+
t !== null && (s.contains(t) || wS(d.current, { select: !0 }));
|
|
21777
21749
|
}, n = function(e) {
|
|
21778
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
21750
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && wS(s);
|
|
21779
21751
|
};
|
|
21780
21752
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
21781
21753
|
let r = new MutationObserver(n);
|
|
@@ -21792,16 +21764,16 @@ var vS = "focusScope.autoFocusOnMount", yS = "focusScope.autoFocusOnUnmount", bS
|
|
|
21792
21764
|
p.paused
|
|
21793
21765
|
]), H.useEffect(() => {
|
|
21794
21766
|
if (s) {
|
|
21795
|
-
|
|
21767
|
+
TS.add(p);
|
|
21796
21768
|
let e = document.activeElement;
|
|
21797
21769
|
if (!s.contains(e)) {
|
|
21798
|
-
let t = new CustomEvent(
|
|
21799
|
-
s.addEventListener(
|
|
21770
|
+
let t = new CustomEvent(pS, hS);
|
|
21771
|
+
s.addEventListener(pS, l), s.dispatchEvent(t), t.defaultPrevented || (vS(OS(bS(s)), { select: !0 }), document.activeElement === e && wS(s));
|
|
21800
21772
|
}
|
|
21801
21773
|
return () => {
|
|
21802
|
-
s.removeEventListener(
|
|
21803
|
-
let t = new CustomEvent(
|
|
21804
|
-
s.addEventListener(
|
|
21774
|
+
s.removeEventListener(pS, l), setTimeout(() => {
|
|
21775
|
+
let t = new CustomEvent(mS, hS);
|
|
21776
|
+
s.addEventListener(mS, u), s.dispatchEvent(t), t.defaultPrevented || wS(e ?? document.body, { select: !0 }), s.removeEventListener(mS, u), TS.remove(p);
|
|
21805
21777
|
}, 0);
|
|
21806
21778
|
};
|
|
21807
21779
|
}
|
|
@@ -21815,31 +21787,31 @@ var vS = "focusScope.autoFocusOnMount", yS = "focusScope.autoFocusOnUnmount", bS
|
|
|
21815
21787
|
if (!n && !r || p.paused) return;
|
|
21816
21788
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
21817
21789
|
if (t && i) {
|
|
21818
|
-
let t = e.currentTarget, [r, a] =
|
|
21819
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
21790
|
+
let t = e.currentTarget, [r, a] = yS(t);
|
|
21791
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && wS(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && wS(a, { select: !0 })) : i === t && e.preventDefault();
|
|
21820
21792
|
}
|
|
21821
21793
|
}, [
|
|
21822
21794
|
n,
|
|
21823
21795
|
r,
|
|
21824
21796
|
p.paused
|
|
21825
21797
|
]);
|
|
21826
|
-
return /* @__PURE__ */ (0, X.jsx)(
|
|
21798
|
+
return /* @__PURE__ */ (0, X.jsx)(qx.div, {
|
|
21827
21799
|
tabIndex: -1,
|
|
21828
21800
|
...o,
|
|
21829
21801
|
ref: f,
|
|
21830
21802
|
onKeyDown: m
|
|
21831
21803
|
});
|
|
21832
21804
|
});
|
|
21833
|
-
|
|
21834
|
-
function
|
|
21805
|
+
_S.displayName = gS;
|
|
21806
|
+
function vS(e, { select: t = !1 } = {}) {
|
|
21835
21807
|
let n = document.activeElement;
|
|
21836
|
-
for (let r of e) if (
|
|
21808
|
+
for (let r of e) if (wS(r, { select: t }), document.activeElement !== n) return;
|
|
21837
21809
|
}
|
|
21838
|
-
function
|
|
21839
|
-
let t =
|
|
21840
|
-
return [
|
|
21810
|
+
function yS(e) {
|
|
21811
|
+
let t = bS(e);
|
|
21812
|
+
return [xS(t, e), xS(t.reverse(), e)];
|
|
21841
21813
|
}
|
|
21842
|
-
function
|
|
21814
|
+
function bS(e) {
|
|
21843
21815
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
21844
21816
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
21845
21817
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -21847,10 +21819,10 @@ function TS(e) {
|
|
|
21847
21819
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
21848
21820
|
return t;
|
|
21849
21821
|
}
|
|
21850
|
-
function
|
|
21851
|
-
for (let n of e) if (!
|
|
21822
|
+
function xS(e, t) {
|
|
21823
|
+
for (let n of e) if (!SS(n, { upTo: t })) return n;
|
|
21852
21824
|
}
|
|
21853
|
-
function
|
|
21825
|
+
function SS(e, { upTo: t }) {
|
|
21854
21826
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
21855
21827
|
for (; e;) {
|
|
21856
21828
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -21859,120 +21831,120 @@ function DS(e, { upTo: t }) {
|
|
|
21859
21831
|
}
|
|
21860
21832
|
return !1;
|
|
21861
21833
|
}
|
|
21862
|
-
function
|
|
21834
|
+
function CS(e) {
|
|
21863
21835
|
return e instanceof HTMLInputElement && "select" in e;
|
|
21864
21836
|
}
|
|
21865
|
-
function
|
|
21837
|
+
function wS(e, { select: t = !1 } = {}) {
|
|
21866
21838
|
if (e && e.focus) {
|
|
21867
21839
|
let n = document.activeElement;
|
|
21868
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
21840
|
+
e.focus({ preventScroll: !0 }), e !== n && CS(e) && t && e.select();
|
|
21869
21841
|
}
|
|
21870
21842
|
}
|
|
21871
|
-
var
|
|
21872
|
-
function
|
|
21843
|
+
var TS = ES();
|
|
21844
|
+
function ES() {
|
|
21873
21845
|
let e = [];
|
|
21874
21846
|
return {
|
|
21875
21847
|
add(t) {
|
|
21876
21848
|
let n = e[0];
|
|
21877
|
-
t !== n && n?.pause(), e =
|
|
21849
|
+
t !== n && n?.pause(), e = DS(e, t), e.unshift(t);
|
|
21878
21850
|
},
|
|
21879
21851
|
remove(t) {
|
|
21880
|
-
e =
|
|
21852
|
+
e = DS(e, t), e[0]?.resume();
|
|
21881
21853
|
}
|
|
21882
21854
|
};
|
|
21883
21855
|
}
|
|
21884
|
-
function
|
|
21856
|
+
function DS(e, t) {
|
|
21885
21857
|
let n = [...e], r = n.indexOf(t);
|
|
21886
21858
|
return r !== -1 && n.splice(r, 1), n;
|
|
21887
21859
|
}
|
|
21888
|
-
function
|
|
21860
|
+
function OS(e) {
|
|
21889
21861
|
return e.filter((e) => e.tagName !== "A");
|
|
21890
21862
|
}
|
|
21891
21863
|
//#endregion
|
|
21892
21864
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
21893
|
-
var
|
|
21894
|
-
function
|
|
21895
|
-
let [t, n] = H.useState(
|
|
21896
|
-
return
|
|
21897
|
-
e || n((e) => e ?? String(
|
|
21865
|
+
var kS = globalThis?.document ? H.useLayoutEffect : () => {}, AS = H.useId || (() => void 0), jS = 0;
|
|
21866
|
+
function MS(e) {
|
|
21867
|
+
let [t, n] = H.useState(AS());
|
|
21868
|
+
return kS(() => {
|
|
21869
|
+
e || n((e) => e ?? String(jS++));
|
|
21898
21870
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
21899
21871
|
}
|
|
21900
21872
|
//#endregion
|
|
21901
21873
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
21902
|
-
var
|
|
21874
|
+
var NS = [
|
|
21903
21875
|
"top",
|
|
21904
21876
|
"right",
|
|
21905
21877
|
"bottom",
|
|
21906
21878
|
"left"
|
|
21907
|
-
],
|
|
21879
|
+
], PS = Math.min, FS = Math.max, IS = Math.round, LS = Math.floor, RS = (e) => ({
|
|
21908
21880
|
x: e,
|
|
21909
21881
|
y: e
|
|
21910
|
-
}),
|
|
21882
|
+
}), zS = {
|
|
21911
21883
|
left: "right",
|
|
21912
21884
|
right: "left",
|
|
21913
21885
|
bottom: "top",
|
|
21914
21886
|
top: "bottom"
|
|
21915
21887
|
};
|
|
21916
|
-
function
|
|
21917
|
-
return
|
|
21888
|
+
function BS(e, t, n) {
|
|
21889
|
+
return FS(e, PS(t, n));
|
|
21918
21890
|
}
|
|
21919
|
-
function
|
|
21891
|
+
function VS(e, t) {
|
|
21920
21892
|
return typeof e == "function" ? e(t) : e;
|
|
21921
21893
|
}
|
|
21922
|
-
function
|
|
21894
|
+
function HS(e) {
|
|
21923
21895
|
return e.split("-")[0];
|
|
21924
21896
|
}
|
|
21925
|
-
function
|
|
21897
|
+
function US(e) {
|
|
21926
21898
|
return e.split("-")[1];
|
|
21927
21899
|
}
|
|
21928
|
-
function
|
|
21900
|
+
function WS(e) {
|
|
21929
21901
|
return e === "x" ? "y" : "x";
|
|
21930
21902
|
}
|
|
21931
|
-
function
|
|
21903
|
+
function GS(e) {
|
|
21932
21904
|
return e === "y" ? "height" : "width";
|
|
21933
21905
|
}
|
|
21934
|
-
function
|
|
21906
|
+
function KS(e) {
|
|
21935
21907
|
let t = e[0];
|
|
21936
21908
|
return t === "t" || t === "b" ? "y" : "x";
|
|
21937
21909
|
}
|
|
21938
|
-
function
|
|
21939
|
-
return
|
|
21910
|
+
function qS(e) {
|
|
21911
|
+
return WS(KS(e));
|
|
21940
21912
|
}
|
|
21941
|
-
function
|
|
21913
|
+
function JS(e, t, n) {
|
|
21942
21914
|
n === void 0 && (n = !1);
|
|
21943
|
-
let r =
|
|
21944
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
21915
|
+
let r = US(e), i = qS(e), a = GS(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
21916
|
+
return t.reference[a] > t.floating[a] && (o = rC(o)), [o, rC(o)];
|
|
21945
21917
|
}
|
|
21946
|
-
function
|
|
21947
|
-
let t =
|
|
21918
|
+
function YS(e) {
|
|
21919
|
+
let t = rC(e);
|
|
21948
21920
|
return [
|
|
21949
|
-
|
|
21921
|
+
XS(e),
|
|
21950
21922
|
t,
|
|
21951
|
-
|
|
21923
|
+
XS(t)
|
|
21952
21924
|
];
|
|
21953
21925
|
}
|
|
21954
|
-
function
|
|
21926
|
+
function XS(e) {
|
|
21955
21927
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
21956
21928
|
}
|
|
21957
|
-
var
|
|
21958
|
-
function
|
|
21929
|
+
var ZS = ["left", "right"], QS = ["right", "left"], $S = ["top", "bottom"], eC = ["bottom", "top"];
|
|
21930
|
+
function tC(e, t, n) {
|
|
21959
21931
|
switch (e) {
|
|
21960
21932
|
case "top":
|
|
21961
|
-
case "bottom": return n ? t ?
|
|
21933
|
+
case "bottom": return n ? t ? QS : ZS : t ? ZS : QS;
|
|
21962
21934
|
case "left":
|
|
21963
|
-
case "right": return t ?
|
|
21935
|
+
case "right": return t ? $S : eC;
|
|
21964
21936
|
default: return [];
|
|
21965
21937
|
}
|
|
21966
21938
|
}
|
|
21967
|
-
function
|
|
21968
|
-
let i =
|
|
21969
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
21939
|
+
function nC(e, t, n, r) {
|
|
21940
|
+
let i = US(e), a = tC(HS(e), n === "start", r);
|
|
21941
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(XS)))), a;
|
|
21970
21942
|
}
|
|
21971
|
-
function
|
|
21972
|
-
let t =
|
|
21973
|
-
return
|
|
21943
|
+
function rC(e) {
|
|
21944
|
+
let t = HS(e);
|
|
21945
|
+
return zS[t] + e.slice(t.length);
|
|
21974
21946
|
}
|
|
21975
|
-
function
|
|
21947
|
+
function iC(e) {
|
|
21976
21948
|
return {
|
|
21977
21949
|
top: 0,
|
|
21978
21950
|
right: 0,
|
|
@@ -21981,15 +21953,15 @@ function lC(e) {
|
|
|
21981
21953
|
...e
|
|
21982
21954
|
};
|
|
21983
21955
|
}
|
|
21984
|
-
function
|
|
21956
|
+
function aC(e) {
|
|
21985
21957
|
return typeof e == "number" ? {
|
|
21986
21958
|
top: e,
|
|
21987
21959
|
right: e,
|
|
21988
21960
|
bottom: e,
|
|
21989
21961
|
left: e
|
|
21990
|
-
} :
|
|
21962
|
+
} : iC(e);
|
|
21991
21963
|
}
|
|
21992
|
-
function
|
|
21964
|
+
function oC(e) {
|
|
21993
21965
|
let { x: t, y: n, width: r, height: i } = e;
|
|
21994
21966
|
return {
|
|
21995
21967
|
width: r,
|
|
@@ -22004,8 +21976,8 @@ function dC(e) {
|
|
|
22004
21976
|
}
|
|
22005
21977
|
//#endregion
|
|
22006
21978
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
22007
|
-
function
|
|
22008
|
-
let { reference: r, floating: i } = e, a =
|
|
21979
|
+
function sC(e, t, n) {
|
|
21980
|
+
let { reference: r, floating: i } = e, a = KS(t), o = qS(t), s = GS(o), c = HS(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;
|
|
22009
21981
|
switch (c) {
|
|
22010
21982
|
case "top":
|
|
22011
21983
|
p = {
|
|
@@ -22036,7 +22008,7 @@ function fC(e, t, n) {
|
|
|
22036
22008
|
y: r.y
|
|
22037
22009
|
};
|
|
22038
22010
|
}
|
|
22039
|
-
switch (
|
|
22011
|
+
switch (US(t)) {
|
|
22040
22012
|
case "start":
|
|
22041
22013
|
p[o] -= f * (n && l ? -1 : 1);
|
|
22042
22014
|
break;
|
|
@@ -22046,9 +22018,9 @@ function fC(e, t, n) {
|
|
|
22046
22018
|
}
|
|
22047
22019
|
return p;
|
|
22048
22020
|
}
|
|
22049
|
-
async function
|
|
22021
|
+
async function cC(e, t) {
|
|
22050
22022
|
t === void 0 && (t = {});
|
|
22051
|
-
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 } =
|
|
22023
|
+
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 } = VS(t, e), p = aC(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = oC(await i.getClippingRect({
|
|
22052
22024
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
22053
22025
|
boundary: c,
|
|
22054
22026
|
rootBoundary: l,
|
|
@@ -22061,7 +22033,7 @@ async function pC(e, t) {
|
|
|
22061
22033
|
} : 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(_)) || {
|
|
22062
22034
|
x: 1,
|
|
22063
22035
|
y: 1
|
|
22064
|
-
}, y =
|
|
22036
|
+
}, y = oC(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
22065
22037
|
elements: o,
|
|
22066
22038
|
rect: g,
|
|
22067
22039
|
offsetParent: _,
|
|
@@ -22074,15 +22046,15 @@ async function pC(e, t) {
|
|
|
22074
22046
|
right: (y.right - h.right + p.right) / v.x
|
|
22075
22047
|
};
|
|
22076
22048
|
}
|
|
22077
|
-
var
|
|
22049
|
+
var lC = 50, uC = async (e, t, n) => {
|
|
22078
22050
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
22079
22051
|
...o,
|
|
22080
|
-
detectOverflow:
|
|
22052
|
+
detectOverflow: cC
|
|
22081
22053
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
22082
22054
|
reference: e,
|
|
22083
22055
|
floating: t,
|
|
22084
22056
|
strategy: i
|
|
22085
|
-
}), { x: u, y: d } =
|
|
22057
|
+
}), { x: u, y: d } = sC(l, r, c), f = r, p = 0, m = {};
|
|
22086
22058
|
for (let n = 0; n < a.length; n++) {
|
|
22087
22059
|
let h = a[n];
|
|
22088
22060
|
if (!h) continue;
|
|
@@ -22103,11 +22075,11 @@ var mC = 50, hC = async (e, t, n) => {
|
|
|
22103
22075
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
22104
22076
|
...m[g],
|
|
22105
22077
|
...b
|
|
22106
|
-
}, x && p <
|
|
22078
|
+
}, x && p < lC && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
22107
22079
|
reference: e,
|
|
22108
22080
|
floating: t,
|
|
22109
22081
|
strategy: i
|
|
22110
|
-
}) : x.rects), {x: u, y: d} =
|
|
22082
|
+
}) : x.rects), {x: u, y: d} = sC(l, f, c)), n = -1);
|
|
22111
22083
|
}
|
|
22112
22084
|
return {
|
|
22113
22085
|
x: u,
|
|
@@ -22116,18 +22088,18 @@ var mC = 50, hC = async (e, t, n) => {
|
|
|
22116
22088
|
strategy: i,
|
|
22117
22089
|
middlewareData: m
|
|
22118
22090
|
};
|
|
22119
|
-
},
|
|
22091
|
+
}, dC = (e) => ({
|
|
22120
22092
|
name: "arrow",
|
|
22121
22093
|
options: e,
|
|
22122
22094
|
async fn(t) {
|
|
22123
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } =
|
|
22095
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = VS(e, t) || {};
|
|
22124
22096
|
if (l == null) return {};
|
|
22125
|
-
let d =
|
|
22097
|
+
let d = aC(u), f = {
|
|
22126
22098
|
x: n,
|
|
22127
22099
|
y: r
|
|
22128
|
-
}, p =
|
|
22100
|
+
}, p = qS(i), m = GS(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;
|
|
22129
22101
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
22130
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E =
|
|
22102
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = PS(d[_], T), D = PS(d[v], T), O = E, k = C - h[m] - D, A = C / 2 - h[m] / 2 + w, j = BS(O, A, k), M = !c.arrow && US(i) != null && A !== j && a.reference[m] / 2 - (A < O ? E : D) - h[m] / 2 < 0, N = M ? A < O ? A - O : A - k : 0;
|
|
22131
22103
|
return {
|
|
22132
22104
|
[p]: f[p] + N,
|
|
22133
22105
|
data: {
|
|
@@ -22138,19 +22110,19 @@ var mC = 50, hC = async (e, t, n) => {
|
|
|
22138
22110
|
reset: M
|
|
22139
22111
|
};
|
|
22140
22112
|
}
|
|
22141
|
-
}),
|
|
22113
|
+
}), fC = function(e) {
|
|
22142
22114
|
return e === void 0 && (e = {}), {
|
|
22143
22115
|
name: "flip",
|
|
22144
22116
|
options: e,
|
|
22145
22117
|
async fn(t) {
|
|
22146
22118
|
var n;
|
|
22147
|
-
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 } =
|
|
22119
|
+
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 } = VS(e, t);
|
|
22148
22120
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
22149
|
-
let g =
|
|
22150
|
-
!d && x && b.push(...
|
|
22121
|
+
let g = HS(r), _ = KS(o), v = HS(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [rC(o)] : YS(o)), x = p !== "none";
|
|
22122
|
+
!d && x && b.push(...nC(o, m, p, y));
|
|
22151
22123
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
22152
22124
|
if (l && w.push(C[g]), u) {
|
|
22153
|
-
let e =
|
|
22125
|
+
let e = JS(r, a, y);
|
|
22154
22126
|
w.push(C[e[0]], C[e[1]]);
|
|
22155
22127
|
}
|
|
22156
22128
|
if (T = [...T, {
|
|
@@ -22158,7 +22130,7 @@ var mC = 50, hC = async (e, t, n) => {
|
|
|
22158
22130
|
overflows: w
|
|
22159
22131
|
}], !w.every((e) => e <= 0)) {
|
|
22160
22132
|
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
22161
|
-
if (t && (!(u === "alignment" && _ !==
|
|
22133
|
+
if (t && (!(u === "alignment" && _ !== KS(t)) || T.every((e) => KS(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
|
|
22162
22134
|
data: {
|
|
22163
22135
|
index: e,
|
|
22164
22136
|
overflows: T
|
|
@@ -22170,7 +22142,7 @@ var mC = 50, hC = async (e, t, n) => {
|
|
|
22170
22142
|
case "bestFit": {
|
|
22171
22143
|
let e = T.filter((e) => {
|
|
22172
22144
|
if (x) {
|
|
22173
|
-
let t =
|
|
22145
|
+
let t = KS(e.placement);
|
|
22174
22146
|
return t === _ || t === "y";
|
|
22175
22147
|
}
|
|
22176
22148
|
return !0;
|
|
@@ -22188,7 +22160,7 @@ var mC = 50, hC = async (e, t, n) => {
|
|
|
22188
22160
|
}
|
|
22189
22161
|
};
|
|
22190
22162
|
};
|
|
22191
|
-
function
|
|
22163
|
+
function pC(e, t) {
|
|
22192
22164
|
return {
|
|
22193
22165
|
top: e.top - t.height,
|
|
22194
22166
|
right: e.right - t.width,
|
|
@@ -22196,43 +22168,43 @@ function vC(e, t) {
|
|
|
22196
22168
|
left: e.left - t.width
|
|
22197
22169
|
};
|
|
22198
22170
|
}
|
|
22199
|
-
function
|
|
22200
|
-
return
|
|
22171
|
+
function mC(e) {
|
|
22172
|
+
return NS.some((t) => e[t] >= 0);
|
|
22201
22173
|
}
|
|
22202
|
-
var
|
|
22174
|
+
var hC = function(e) {
|
|
22203
22175
|
return e === void 0 && (e = {}), {
|
|
22204
22176
|
name: "hide",
|
|
22205
22177
|
options: e,
|
|
22206
22178
|
async fn(t) {
|
|
22207
|
-
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } =
|
|
22179
|
+
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = VS(e, t);
|
|
22208
22180
|
switch (i) {
|
|
22209
22181
|
case "referenceHidden": {
|
|
22210
|
-
let e =
|
|
22182
|
+
let e = pC(await r.detectOverflow(t, {
|
|
22211
22183
|
...a,
|
|
22212
22184
|
elementContext: "reference"
|
|
22213
22185
|
}), n.reference);
|
|
22214
22186
|
return { data: {
|
|
22215
22187
|
referenceHiddenOffsets: e,
|
|
22216
|
-
referenceHidden:
|
|
22188
|
+
referenceHidden: mC(e)
|
|
22217
22189
|
} };
|
|
22218
22190
|
}
|
|
22219
22191
|
case "escaped": {
|
|
22220
|
-
let e =
|
|
22192
|
+
let e = pC(await r.detectOverflow(t, {
|
|
22221
22193
|
...a,
|
|
22222
22194
|
altBoundary: !0
|
|
22223
22195
|
}), n.floating);
|
|
22224
22196
|
return { data: {
|
|
22225
22197
|
escapedOffsets: e,
|
|
22226
|
-
escaped:
|
|
22198
|
+
escaped: mC(e)
|
|
22227
22199
|
} };
|
|
22228
22200
|
}
|
|
22229
22201
|
default: return {};
|
|
22230
22202
|
}
|
|
22231
22203
|
}
|
|
22232
22204
|
};
|
|
22233
|
-
},
|
|
22234
|
-
async function
|
|
22235
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o =
|
|
22205
|
+
}, gC = /* @__PURE__ */ new Set(["left", "top"]);
|
|
22206
|
+
async function _C(e, t) {
|
|
22207
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = HS(n), s = US(n), c = KS(n) === "y", l = gC.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = VS(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
22236
22208
|
mainAxis: d,
|
|
22237
22209
|
crossAxis: 0,
|
|
22238
22210
|
alignmentAxis: null
|
|
@@ -22249,13 +22221,13 @@ async function SC(e, t) {
|
|
|
22249
22221
|
y: p * u
|
|
22250
22222
|
};
|
|
22251
22223
|
}
|
|
22252
|
-
var
|
|
22224
|
+
var vC = function(e) {
|
|
22253
22225
|
return e === void 0 && (e = 0), {
|
|
22254
22226
|
name: "offset",
|
|
22255
22227
|
options: e,
|
|
22256
22228
|
async fn(t) {
|
|
22257
22229
|
var n;
|
|
22258
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
22230
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await _C(t, e);
|
|
22259
22231
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
22260
22232
|
x: r + s.x,
|
|
22261
22233
|
y: i + s.y,
|
|
@@ -22266,7 +22238,7 @@ var CC = function(e) {
|
|
|
22266
22238
|
};
|
|
22267
22239
|
}
|
|
22268
22240
|
};
|
|
22269
|
-
},
|
|
22241
|
+
}, yC = function(e) {
|
|
22270
22242
|
return e === void 0 && (e = {}), {
|
|
22271
22243
|
name: "shift",
|
|
22272
22244
|
options: e,
|
|
@@ -22277,17 +22249,17 @@ var CC = function(e) {
|
|
|
22277
22249
|
x: t,
|
|
22278
22250
|
y: n
|
|
22279
22251
|
};
|
|
22280
|
-
} }, ...l } =
|
|
22252
|
+
} }, ...l } = VS(e, t), u = {
|
|
22281
22253
|
x: n,
|
|
22282
22254
|
y: r
|
|
22283
|
-
}, d = await a.detectOverflow(t, l), f =
|
|
22255
|
+
}, d = await a.detectOverflow(t, l), f = KS(HS(i)), p = WS(f), m = u[p], h = u[f];
|
|
22284
22256
|
if (o) {
|
|
22285
22257
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
22286
|
-
m =
|
|
22258
|
+
m = BS(n, m, r);
|
|
22287
22259
|
}
|
|
22288
22260
|
if (s) {
|
|
22289
22261
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
22290
|
-
h =
|
|
22262
|
+
h = BS(n, h, r);
|
|
22291
22263
|
}
|
|
22292
22264
|
let g = c.fn({
|
|
22293
22265
|
...t,
|
|
@@ -22307,14 +22279,14 @@ var CC = function(e) {
|
|
|
22307
22279
|
};
|
|
22308
22280
|
}
|
|
22309
22281
|
};
|
|
22310
|
-
},
|
|
22282
|
+
}, bC = function(e) {
|
|
22311
22283
|
return e === void 0 && (e = {}), {
|
|
22312
22284
|
options: e,
|
|
22313
22285
|
fn(t) {
|
|
22314
|
-
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } =
|
|
22286
|
+
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = VS(e, t), u = {
|
|
22315
22287
|
x: n,
|
|
22316
22288
|
y: r
|
|
22317
|
-
}, d =
|
|
22289
|
+
}, d = KS(i), f = WS(d), p = u[f], m = u[d], h = VS(s, t), g = typeof h == "number" ? {
|
|
22318
22290
|
mainAxis: h,
|
|
22319
22291
|
crossAxis: 0
|
|
22320
22292
|
} : {
|
|
@@ -22327,7 +22299,7 @@ var CC = function(e) {
|
|
|
22327
22299
|
p < t ? p = t : p > n && (p = n);
|
|
22328
22300
|
}
|
|
22329
22301
|
if (l) {
|
|
22330
|
-
let e = f === "y" ? "width" : "height", t =
|
|
22302
|
+
let e = f === "y" ? "width" : "height", t = gC.has(HS(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);
|
|
22331
22303
|
m < n ? m = n : m > r && (m = r);
|
|
22332
22304
|
}
|
|
22333
22305
|
return {
|
|
@@ -22336,18 +22308,18 @@ var CC = function(e) {
|
|
|
22336
22308
|
};
|
|
22337
22309
|
}
|
|
22338
22310
|
};
|
|
22339
|
-
},
|
|
22311
|
+
}, xC = function(e) {
|
|
22340
22312
|
return e === void 0 && (e = {}), {
|
|
22341
22313
|
name: "size",
|
|
22342
22314
|
options: e,
|
|
22343
22315
|
async fn(t) {
|
|
22344
22316
|
var n, r;
|
|
22345
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } =
|
|
22317
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = VS(e, t), u = await o.detectOverflow(t, l), d = HS(i), f = US(i), p = KS(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
22346
22318
|
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");
|
|
22347
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
22319
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = PS(h - u[g], v), x = PS(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
22348
22320
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
22349
|
-
let e =
|
|
22350
|
-
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t :
|
|
22321
|
+
let e = FS(u.left, 0), t = FS(u.right, 0), n = FS(u.top, 0), r = FS(u.bottom, 0);
|
|
22322
|
+
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : FS(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : FS(u.top, u.bottom));
|
|
22351
22323
|
}
|
|
22352
22324
|
await c({
|
|
22353
22325
|
...t,
|
|
@@ -22361,39 +22333,39 @@ var CC = function(e) {
|
|
|
22361
22333
|
};
|
|
22362
22334
|
//#endregion
|
|
22363
22335
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
22364
|
-
function
|
|
22336
|
+
function SC() {
|
|
22365
22337
|
return typeof window < "u";
|
|
22366
22338
|
}
|
|
22367
|
-
function
|
|
22368
|
-
return
|
|
22339
|
+
function CC(e) {
|
|
22340
|
+
return EC(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
22369
22341
|
}
|
|
22370
|
-
function
|
|
22342
|
+
function wC(e) {
|
|
22371
22343
|
var t;
|
|
22372
22344
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
22373
22345
|
}
|
|
22374
|
-
function
|
|
22375
|
-
return ((
|
|
22346
|
+
function TC(e) {
|
|
22347
|
+
return ((EC(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
22376
22348
|
}
|
|
22377
|
-
function
|
|
22378
|
-
return
|
|
22349
|
+
function EC(e) {
|
|
22350
|
+
return SC() ? e instanceof Node || e instanceof wC(e).Node : !1;
|
|
22379
22351
|
}
|
|
22380
|
-
function
|
|
22381
|
-
return
|
|
22352
|
+
function DC(e) {
|
|
22353
|
+
return SC() ? e instanceof Element || e instanceof wC(e).Element : !1;
|
|
22382
22354
|
}
|
|
22383
|
-
function
|
|
22384
|
-
return
|
|
22355
|
+
function OC(e) {
|
|
22356
|
+
return SC() ? e instanceof HTMLElement || e instanceof wC(e).HTMLElement : !1;
|
|
22385
22357
|
}
|
|
22386
|
-
function
|
|
22387
|
-
return !
|
|
22358
|
+
function kC(e) {
|
|
22359
|
+
return !SC() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof wC(e).ShadowRoot;
|
|
22388
22360
|
}
|
|
22389
|
-
function
|
|
22390
|
-
let { overflow: t, overflowX: n, overflowY: r, display: i } =
|
|
22361
|
+
function AC(e) {
|
|
22362
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = VC(e);
|
|
22391
22363
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
22392
22364
|
}
|
|
22393
|
-
function
|
|
22394
|
-
return /^(table|td|th)$/.test(
|
|
22365
|
+
function jC(e) {
|
|
22366
|
+
return /^(table|td|th)$/.test(CC(e));
|
|
22395
22367
|
}
|
|
22396
|
-
function
|
|
22368
|
+
function MC(e) {
|
|
22397
22369
|
try {
|
|
22398
22370
|
if (e.matches(":popover-open")) return !0;
|
|
22399
22371
|
} catch {}
|
|
@@ -22403,31 +22375,31 @@ function LC(e) {
|
|
|
22403
22375
|
return !1;
|
|
22404
22376
|
}
|
|
22405
22377
|
}
|
|
22406
|
-
var
|
|
22407
|
-
function
|
|
22408
|
-
let t =
|
|
22409
|
-
return
|
|
22378
|
+
var NC = /transform|translate|scale|rotate|perspective|filter/, PC = /paint|layout|strict|content/, FC = (e) => !!e && e !== "none", IC;
|
|
22379
|
+
function LC(e) {
|
|
22380
|
+
let t = DC(e) ? VC(e) : e;
|
|
22381
|
+
return FC(t.transform) || FC(t.translate) || FC(t.scale) || FC(t.rotate) || FC(t.perspective) || !zC() && (FC(t.backdropFilter) || FC(t.filter)) || NC.test(t.willChange || "") || PC.test(t.contain || "");
|
|
22410
22382
|
}
|
|
22411
|
-
function
|
|
22412
|
-
let t =
|
|
22413
|
-
for (;
|
|
22414
|
-
if (
|
|
22415
|
-
if (
|
|
22416
|
-
t =
|
|
22383
|
+
function RC(e) {
|
|
22384
|
+
let t = UC(e);
|
|
22385
|
+
for (; OC(t) && !BC(t);) {
|
|
22386
|
+
if (LC(t)) return t;
|
|
22387
|
+
if (MC(t)) return null;
|
|
22388
|
+
t = UC(t);
|
|
22417
22389
|
}
|
|
22418
22390
|
return null;
|
|
22419
22391
|
}
|
|
22420
|
-
function
|
|
22421
|
-
return
|
|
22392
|
+
function zC() {
|
|
22393
|
+
return IC ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), IC;
|
|
22422
22394
|
}
|
|
22423
|
-
function
|
|
22424
|
-
return /^(html|body|#document)$/.test(
|
|
22395
|
+
function BC(e) {
|
|
22396
|
+
return /^(html|body|#document)$/.test(CC(e));
|
|
22425
22397
|
}
|
|
22426
|
-
function
|
|
22427
|
-
return
|
|
22398
|
+
function VC(e) {
|
|
22399
|
+
return wC(e).getComputedStyle(e);
|
|
22428
22400
|
}
|
|
22429
|
-
function
|
|
22430
|
-
return
|
|
22401
|
+
function HC(e) {
|
|
22402
|
+
return DC(e) ? {
|
|
22431
22403
|
scrollLeft: e.scrollLeft,
|
|
22432
22404
|
scrollTop: e.scrollTop
|
|
22433
22405
|
} : {
|
|
@@ -22435,101 +22407,101 @@ function qC(e) {
|
|
|
22435
22407
|
scrollTop: e.scrollY
|
|
22436
22408
|
};
|
|
22437
22409
|
}
|
|
22438
|
-
function
|
|
22439
|
-
if (
|
|
22440
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
22441
|
-
return
|
|
22410
|
+
function UC(e) {
|
|
22411
|
+
if (CC(e) === "html") return e;
|
|
22412
|
+
let t = e.assignedSlot || e.parentNode || kC(e) && e.host || TC(e);
|
|
22413
|
+
return kC(t) ? t.host : t;
|
|
22442
22414
|
}
|
|
22443
|
-
function
|
|
22444
|
-
let t =
|
|
22445
|
-
return
|
|
22415
|
+
function WC(e) {
|
|
22416
|
+
let t = UC(e);
|
|
22417
|
+
return BC(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : OC(t) && AC(t) ? t : WC(t);
|
|
22446
22418
|
}
|
|
22447
|
-
function
|
|
22419
|
+
function GC(e, t, n) {
|
|
22448
22420
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
22449
|
-
let r =
|
|
22421
|
+
let r = WC(e), i = r === e.ownerDocument?.body, a = wC(r);
|
|
22450
22422
|
if (i) {
|
|
22451
|
-
let e =
|
|
22452
|
-
return t.concat(a, a.visualViewport || [],
|
|
22453
|
-
} else return t.concat(r,
|
|
22423
|
+
let e = KC(a);
|
|
22424
|
+
return t.concat(a, a.visualViewport || [], AC(r) ? r : [], e && n ? GC(e) : []);
|
|
22425
|
+
} else return t.concat(r, GC(r, [], n));
|
|
22454
22426
|
}
|
|
22455
|
-
function
|
|
22427
|
+
function KC(e) {
|
|
22456
22428
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
22457
22429
|
}
|
|
22458
22430
|
//#endregion
|
|
22459
22431
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
22460
|
-
function
|
|
22461
|
-
let t =
|
|
22432
|
+
function qC(e) {
|
|
22433
|
+
let t = VC(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = OC(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = IS(n) !== a || IS(r) !== o;
|
|
22462
22434
|
return s && (n = a, r = o), {
|
|
22463
22435
|
width: n,
|
|
22464
22436
|
height: r,
|
|
22465
22437
|
$: s
|
|
22466
22438
|
};
|
|
22467
22439
|
}
|
|
22468
|
-
function
|
|
22469
|
-
return
|
|
22440
|
+
function JC(e) {
|
|
22441
|
+
return DC(e) ? e : e.contextElement;
|
|
22470
22442
|
}
|
|
22471
|
-
function
|
|
22472
|
-
let t =
|
|
22473
|
-
if (!
|
|
22474
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
22443
|
+
function YC(e) {
|
|
22444
|
+
let t = JC(e);
|
|
22445
|
+
if (!OC(t)) return RS(1);
|
|
22446
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = qC(t), o = (a ? IS(n.width) : n.width) / r, s = (a ? IS(n.height) : n.height) / i;
|
|
22475
22447
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
22476
22448
|
x: o,
|
|
22477
22449
|
y: s
|
|
22478
22450
|
};
|
|
22479
22451
|
}
|
|
22480
|
-
var
|
|
22481
|
-
function
|
|
22482
|
-
let t =
|
|
22483
|
-
return !
|
|
22452
|
+
var XC = /* @__PURE__ */ RS(0);
|
|
22453
|
+
function ZC(e) {
|
|
22454
|
+
let t = wC(e);
|
|
22455
|
+
return !zC() || !t.visualViewport ? XC : {
|
|
22484
22456
|
x: t.visualViewport.offsetLeft,
|
|
22485
22457
|
y: t.visualViewport.offsetTop
|
|
22486
22458
|
};
|
|
22487
22459
|
}
|
|
22488
|
-
function
|
|
22489
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
22460
|
+
function QC(e, t, n) {
|
|
22461
|
+
return t === void 0 && (t = !1), !n || t && n !== wC(e) ? !1 : t;
|
|
22490
22462
|
}
|
|
22491
|
-
function
|
|
22463
|
+
function $C(e, t, n, r) {
|
|
22492
22464
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
22493
|
-
let i = e.getBoundingClientRect(), a =
|
|
22494
|
-
t && (r ?
|
|
22495
|
-
let s =
|
|
22465
|
+
let i = e.getBoundingClientRect(), a = JC(e), o = RS(1);
|
|
22466
|
+
t && (r ? DC(r) && (o = YC(r)) : o = YC(e));
|
|
22467
|
+
let s = QC(a, n, r) ? ZC(a) : RS(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;
|
|
22496
22468
|
if (a) {
|
|
22497
|
-
let e =
|
|
22469
|
+
let e = wC(a), t = r && DC(r) ? wC(r) : r, n = e, i = KC(n);
|
|
22498
22470
|
for (; i && r && t !== n;) {
|
|
22499
|
-
let e =
|
|
22500
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n =
|
|
22471
|
+
let e = YC(i), t = i.getBoundingClientRect(), r = VC(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
22472
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = wC(i), i = KC(n);
|
|
22501
22473
|
}
|
|
22502
22474
|
}
|
|
22503
|
-
return
|
|
22475
|
+
return oC({
|
|
22504
22476
|
width: u,
|
|
22505
22477
|
height: d,
|
|
22506
22478
|
x: c,
|
|
22507
22479
|
y: l
|
|
22508
22480
|
});
|
|
22509
22481
|
}
|
|
22510
|
-
function
|
|
22511
|
-
let n =
|
|
22512
|
-
return t ? t.left + n :
|
|
22482
|
+
function ew(e, t) {
|
|
22483
|
+
let n = HC(e).scrollLeft;
|
|
22484
|
+
return t ? t.left + n : $C(TC(e)).left + n;
|
|
22513
22485
|
}
|
|
22514
|
-
function
|
|
22486
|
+
function tw(e, t) {
|
|
22515
22487
|
let n = e.getBoundingClientRect();
|
|
22516
22488
|
return {
|
|
22517
|
-
x: n.left + t.scrollLeft -
|
|
22489
|
+
x: n.left + t.scrollLeft - ew(e, n),
|
|
22518
22490
|
y: n.top + t.scrollTop
|
|
22519
22491
|
};
|
|
22520
22492
|
}
|
|
22521
|
-
function
|
|
22522
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o =
|
|
22493
|
+
function nw(e) {
|
|
22494
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = TC(r), s = t ? MC(t.floating) : !1;
|
|
22523
22495
|
if (r === o || s && a) return n;
|
|
22524
22496
|
let c = {
|
|
22525
22497
|
scrollLeft: 0,
|
|
22526
22498
|
scrollTop: 0
|
|
22527
|
-
}, l =
|
|
22528
|
-
if ((d || !d && !a) && ((
|
|
22529
|
-
let e =
|
|
22530
|
-
l =
|
|
22499
|
+
}, l = RS(1), u = RS(0), d = OC(r);
|
|
22500
|
+
if ((d || !d && !a) && ((CC(r) !== "body" || AC(o)) && (c = HC(r)), d)) {
|
|
22501
|
+
let e = $C(r);
|
|
22502
|
+
l = YC(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
22531
22503
|
}
|
|
22532
|
-
let f = o && !d && !a ?
|
|
22504
|
+
let f = o && !d && !a ? tw(o, c) : RS(0);
|
|
22533
22505
|
return {
|
|
22534
22506
|
width: n.width * l.x,
|
|
22535
22507
|
height: n.height * l.y,
|
|
@@ -22537,31 +22509,31 @@ function sw(e) {
|
|
|
22537
22509
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
22538
22510
|
};
|
|
22539
22511
|
}
|
|
22540
|
-
function
|
|
22512
|
+
function rw(e) {
|
|
22541
22513
|
return Array.from(e.getClientRects());
|
|
22542
22514
|
}
|
|
22543
|
-
function
|
|
22544
|
-
let t =
|
|
22545
|
-
return
|
|
22515
|
+
function iw(e) {
|
|
22516
|
+
let t = TC(e), n = HC(e), r = e.ownerDocument.body, i = FS(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = FS(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + ew(e), s = -n.scrollTop;
|
|
22517
|
+
return VC(r).direction === "rtl" && (o += FS(t.clientWidth, r.clientWidth) - i), {
|
|
22546
22518
|
width: i,
|
|
22547
22519
|
height: a,
|
|
22548
22520
|
x: o,
|
|
22549
22521
|
y: s
|
|
22550
22522
|
};
|
|
22551
22523
|
}
|
|
22552
|
-
var
|
|
22553
|
-
function
|
|
22554
|
-
let n =
|
|
22524
|
+
var aw = 25;
|
|
22525
|
+
function ow(e, t) {
|
|
22526
|
+
let n = wC(e), r = TC(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
22555
22527
|
if (i) {
|
|
22556
22528
|
a = i.width, o = i.height;
|
|
22557
|
-
let e =
|
|
22529
|
+
let e = zC();
|
|
22558
22530
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
22559
22531
|
}
|
|
22560
|
-
let l =
|
|
22532
|
+
let l = ew(r);
|
|
22561
22533
|
if (l <= 0) {
|
|
22562
22534
|
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);
|
|
22563
|
-
o <=
|
|
22564
|
-
} else l <=
|
|
22535
|
+
o <= aw && (a -= o);
|
|
22536
|
+
} else l <= aw && (a += l);
|
|
22565
22537
|
return {
|
|
22566
22538
|
width: a,
|
|
22567
22539
|
height: o,
|
|
@@ -22569,8 +22541,8 @@ function dw(e, t) {
|
|
|
22569
22541
|
y: c
|
|
22570
22542
|
};
|
|
22571
22543
|
}
|
|
22572
|
-
function
|
|
22573
|
-
let n =
|
|
22544
|
+
function sw(e, t) {
|
|
22545
|
+
let n = $C(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = OC(e) ? YC(e) : RS(1);
|
|
22574
22546
|
return {
|
|
22575
22547
|
width: e.clientWidth * a.x,
|
|
22576
22548
|
height: e.clientHeight * a.y,
|
|
@@ -22578,13 +22550,13 @@ function fw(e, t) {
|
|
|
22578
22550
|
y: r * a.y
|
|
22579
22551
|
};
|
|
22580
22552
|
}
|
|
22581
|
-
function
|
|
22553
|
+
function cw(e, t, n) {
|
|
22582
22554
|
let r;
|
|
22583
|
-
if (t === "viewport") r =
|
|
22584
|
-
else if (t === "document") r =
|
|
22585
|
-
else if (
|
|
22555
|
+
if (t === "viewport") r = ow(e, n);
|
|
22556
|
+
else if (t === "document") r = iw(TC(e));
|
|
22557
|
+
else if (DC(t)) r = sw(t, n);
|
|
22586
22558
|
else {
|
|
22587
|
-
let n =
|
|
22559
|
+
let n = ZC(e);
|
|
22588
22560
|
r = {
|
|
22589
22561
|
x: t.x - n.x,
|
|
22590
22562
|
y: t.y - n.y,
|
|
@@ -22592,27 +22564,27 @@ function pw(e, t, n) {
|
|
|
22592
22564
|
height: t.height
|
|
22593
22565
|
};
|
|
22594
22566
|
}
|
|
22595
|
-
return
|
|
22567
|
+
return oC(r);
|
|
22596
22568
|
}
|
|
22597
|
-
function
|
|
22598
|
-
let n =
|
|
22599
|
-
return n === t || !
|
|
22569
|
+
function lw(e, t) {
|
|
22570
|
+
let n = UC(e);
|
|
22571
|
+
return n === t || !DC(n) || BC(n) ? !1 : VC(n).position === "fixed" || lw(n, t);
|
|
22600
22572
|
}
|
|
22601
|
-
function
|
|
22573
|
+
function uw(e, t) {
|
|
22602
22574
|
let n = t.get(e);
|
|
22603
22575
|
if (n) return n;
|
|
22604
|
-
let r =
|
|
22605
|
-
for (;
|
|
22606
|
-
let t =
|
|
22607
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
22576
|
+
let r = GC(e, [], !1).filter((e) => DC(e) && CC(e) !== "body"), i = null, a = VC(e).position === "fixed", o = a ? UC(e) : e;
|
|
22577
|
+
for (; DC(o) && !BC(o);) {
|
|
22578
|
+
let t = VC(o), n = LC(o);
|
|
22579
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || AC(o) && !n && lw(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = UC(o);
|
|
22608
22580
|
}
|
|
22609
22581
|
return t.set(e, r), r;
|
|
22610
22582
|
}
|
|
22611
|
-
function
|
|
22612
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
22583
|
+
function dw(e) {
|
|
22584
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? MC(t) ? [] : uw(t, this._c) : [].concat(n), r], o = cw(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
22613
22585
|
for (let e = 1; e < a.length; e++) {
|
|
22614
|
-
let n =
|
|
22615
|
-
s =
|
|
22586
|
+
let n = cw(t, a[e], i);
|
|
22587
|
+
s = FS(n.top, s), c = PS(n.right, c), l = PS(n.bottom, l), u = FS(n.left, u);
|
|
22616
22588
|
}
|
|
22617
22589
|
return {
|
|
22618
22590
|
width: c - u,
|
|
@@ -22621,27 +22593,27 @@ function gw(e) {
|
|
|
22621
22593
|
y: s
|
|
22622
22594
|
};
|
|
22623
22595
|
}
|
|
22624
|
-
function
|
|
22625
|
-
let { width: t, height: n } =
|
|
22596
|
+
function fw(e) {
|
|
22597
|
+
let { width: t, height: n } = qC(e);
|
|
22626
22598
|
return {
|
|
22627
22599
|
width: t,
|
|
22628
22600
|
height: n
|
|
22629
22601
|
};
|
|
22630
22602
|
}
|
|
22631
|
-
function
|
|
22632
|
-
let r =
|
|
22603
|
+
function pw(e, t, n) {
|
|
22604
|
+
let r = OC(t), i = TC(t), a = n === "fixed", o = $C(e, !0, a, t), s = {
|
|
22633
22605
|
scrollLeft: 0,
|
|
22634
22606
|
scrollTop: 0
|
|
22635
|
-
}, c =
|
|
22607
|
+
}, c = RS(0);
|
|
22636
22608
|
function l() {
|
|
22637
|
-
c.x =
|
|
22609
|
+
c.x = ew(i);
|
|
22638
22610
|
}
|
|
22639
|
-
if (r || !r && !a) if ((
|
|
22640
|
-
let e =
|
|
22611
|
+
if (r || !r && !a) if ((CC(t) !== "body" || AC(i)) && (s = HC(t)), r) {
|
|
22612
|
+
let e = $C(t, !0, a, t);
|
|
22641
22613
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
22642
22614
|
} else i && l();
|
|
22643
22615
|
a && !r && i && l();
|
|
22644
|
-
let u = i && !r && !a ?
|
|
22616
|
+
let u = i && !r && !a ? tw(i, s) : RS(0);
|
|
22645
22617
|
return {
|
|
22646
22618
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
22647
22619
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -22649,34 +22621,34 @@ function vw(e, t, n) {
|
|
|
22649
22621
|
height: o.height
|
|
22650
22622
|
};
|
|
22651
22623
|
}
|
|
22652
|
-
function
|
|
22653
|
-
return
|
|
22624
|
+
function mw(e) {
|
|
22625
|
+
return VC(e).position === "static";
|
|
22654
22626
|
}
|
|
22655
|
-
function
|
|
22656
|
-
if (!
|
|
22627
|
+
function hw(e, t) {
|
|
22628
|
+
if (!OC(e) || VC(e).position === "fixed") return null;
|
|
22657
22629
|
if (t) return t(e);
|
|
22658
22630
|
let n = e.offsetParent;
|
|
22659
|
-
return
|
|
22631
|
+
return TC(e) === n && (n = n.ownerDocument.body), n;
|
|
22660
22632
|
}
|
|
22661
|
-
function
|
|
22662
|
-
let n =
|
|
22663
|
-
if (
|
|
22664
|
-
if (!
|
|
22665
|
-
let t =
|
|
22666
|
-
for (; t && !
|
|
22667
|
-
if (
|
|
22668
|
-
t =
|
|
22633
|
+
function gw(e, t) {
|
|
22634
|
+
let n = wC(e);
|
|
22635
|
+
if (MC(e)) return n;
|
|
22636
|
+
if (!OC(e)) {
|
|
22637
|
+
let t = UC(e);
|
|
22638
|
+
for (; t && !BC(t);) {
|
|
22639
|
+
if (DC(t) && !mw(t)) return t;
|
|
22640
|
+
t = UC(t);
|
|
22669
22641
|
}
|
|
22670
22642
|
return n;
|
|
22671
22643
|
}
|
|
22672
|
-
let r =
|
|
22673
|
-
for (; r &&
|
|
22674
|
-
return r &&
|
|
22644
|
+
let r = hw(e, t);
|
|
22645
|
+
for (; r && jC(r) && mw(r);) r = hw(r, t);
|
|
22646
|
+
return r && BC(r) && mw(r) && !LC(r) ? n : r || RC(e) || n;
|
|
22675
22647
|
}
|
|
22676
|
-
var
|
|
22677
|
-
let t = this.getOffsetParent ||
|
|
22648
|
+
var _w = async function(e) {
|
|
22649
|
+
let t = this.getOffsetParent || gw, n = this.getDimensions, r = await n(e.floating);
|
|
22678
22650
|
return {
|
|
22679
|
-
reference:
|
|
22651
|
+
reference: pw(e.reference, await t(e.floating), e.strategy),
|
|
22680
22652
|
floating: {
|
|
22681
22653
|
x: 0,
|
|
22682
22654
|
y: 0,
|
|
@@ -22685,26 +22657,26 @@ var Sw = async function(e) {
|
|
|
22685
22657
|
}
|
|
22686
22658
|
};
|
|
22687
22659
|
};
|
|
22688
|
-
function
|
|
22689
|
-
return
|
|
22690
|
-
}
|
|
22691
|
-
var
|
|
22692
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
22693
|
-
getDocumentElement:
|
|
22694
|
-
getClippingRect:
|
|
22695
|
-
getOffsetParent:
|
|
22696
|
-
getElementRects:
|
|
22697
|
-
getClientRects:
|
|
22698
|
-
getDimensions:
|
|
22699
|
-
getScale:
|
|
22700
|
-
isElement:
|
|
22701
|
-
isRTL:
|
|
22660
|
+
function vw(e) {
|
|
22661
|
+
return VC(e).direction === "rtl";
|
|
22662
|
+
}
|
|
22663
|
+
var yw = {
|
|
22664
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: nw,
|
|
22665
|
+
getDocumentElement: TC,
|
|
22666
|
+
getClippingRect: dw,
|
|
22667
|
+
getOffsetParent: gw,
|
|
22668
|
+
getElementRects: _w,
|
|
22669
|
+
getClientRects: rw,
|
|
22670
|
+
getDimensions: fw,
|
|
22671
|
+
getScale: YC,
|
|
22672
|
+
isElement: DC,
|
|
22673
|
+
isRTL: vw
|
|
22702
22674
|
};
|
|
22703
|
-
function
|
|
22675
|
+
function bw(e, t) {
|
|
22704
22676
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
22705
22677
|
}
|
|
22706
|
-
function
|
|
22707
|
-
let n = null, r, i =
|
|
22678
|
+
function xw(e, t) {
|
|
22679
|
+
let n = null, r, i = TC(e);
|
|
22708
22680
|
function a() {
|
|
22709
22681
|
var e;
|
|
22710
22682
|
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
@@ -22713,9 +22685,9 @@ function Ew(e, t) {
|
|
|
22713
22685
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
22714
22686
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
22715
22687
|
if (s || t(), !f || !p) return;
|
|
22716
|
-
let m =
|
|
22688
|
+
let m = LS(d), h = LS(i.clientWidth - (u + f)), g = LS(i.clientHeight - (d + p)), _ = LS(u), v = {
|
|
22717
22689
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
22718
|
-
threshold:
|
|
22690
|
+
threshold: FS(0, PS(1, c)) || 1
|
|
22719
22691
|
}, y = !0;
|
|
22720
22692
|
function b(t) {
|
|
22721
22693
|
let n = t[0].intersectionRatio;
|
|
@@ -22725,7 +22697,7 @@ function Ew(e, t) {
|
|
|
22725
22697
|
o(!1, 1e-7);
|
|
22726
22698
|
}, 1e3);
|
|
22727
22699
|
}
|
|
22728
|
-
n === 1 && !
|
|
22700
|
+
n === 1 && !bw(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
22729
22701
|
}
|
|
22730
22702
|
try {
|
|
22731
22703
|
n = new IntersectionObserver(b, {
|
|
@@ -22739,13 +22711,13 @@ function Ew(e, t) {
|
|
|
22739
22711
|
}
|
|
22740
22712
|
return o(!0), a;
|
|
22741
22713
|
}
|
|
22742
|
-
function
|
|
22714
|
+
function Sw(e, t, n, r) {
|
|
22743
22715
|
r === void 0 && (r = {});
|
|
22744
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
22716
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = JC(e), u = i || a ? [...l ? GC(l) : [], ...t ? GC(t) : []] : [];
|
|
22745
22717
|
u.forEach((e) => {
|
|
22746
22718
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
22747
22719
|
});
|
|
22748
|
-
let d = l && s ?
|
|
22720
|
+
let d = l && s ? xw(l, n) : null, f = -1, p = null;
|
|
22749
22721
|
o && (p = new ResizeObserver((e) => {
|
|
22750
22722
|
let [r] = e;
|
|
22751
22723
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -22753,11 +22725,11 @@ function Dw(e, t, n, r) {
|
|
|
22753
22725
|
(e = p) == null || e.observe(t);
|
|
22754
22726
|
})), n();
|
|
22755
22727
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
22756
|
-
let m, h = c ?
|
|
22728
|
+
let m, h = c ? $C(e) : null;
|
|
22757
22729
|
c && g();
|
|
22758
22730
|
function g() {
|
|
22759
|
-
let t =
|
|
22760
|
-
h && !
|
|
22731
|
+
let t = $C(e);
|
|
22732
|
+
h && !bw(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
22761
22733
|
}
|
|
22762
22734
|
return n(), () => {
|
|
22763
22735
|
var e;
|
|
@@ -22766,20 +22738,20 @@ function Dw(e, t, n, r) {
|
|
|
22766
22738
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
22767
22739
|
};
|
|
22768
22740
|
}
|
|
22769
|
-
var
|
|
22741
|
+
var Cw = vC, ww = yC, Tw = fC, Ew = xC, Dw = hC, Ow = dC, kw = bC, Aw = (e, t, n) => {
|
|
22770
22742
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
22771
|
-
platform:
|
|
22743
|
+
platform: yw,
|
|
22772
22744
|
...n
|
|
22773
22745
|
}, a = {
|
|
22774
22746
|
...i.platform,
|
|
22775
22747
|
_c: r
|
|
22776
22748
|
};
|
|
22777
|
-
return
|
|
22749
|
+
return uC(e, t, {
|
|
22778
22750
|
...i,
|
|
22779
22751
|
platform: a
|
|
22780
22752
|
});
|
|
22781
|
-
},
|
|
22782
|
-
function
|
|
22753
|
+
}, jw = typeof document < "u" ? H.useLayoutEffect : function() {};
|
|
22754
|
+
function Mw(e, t) {
|
|
22783
22755
|
if (e === t) return !0;
|
|
22784
22756
|
if (typeof e != typeof t) return !1;
|
|
22785
22757
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -22787,33 +22759,33 @@ function Lw(e, t) {
|
|
|
22787
22759
|
if (e && t && typeof e == "object") {
|
|
22788
22760
|
if (Array.isArray(e)) {
|
|
22789
22761
|
if (n = e.length, n !== t.length) return !1;
|
|
22790
|
-
for (r = n; r-- !== 0;) if (!
|
|
22762
|
+
for (r = n; r-- !== 0;) if (!Mw(e[r], t[r])) return !1;
|
|
22791
22763
|
return !0;
|
|
22792
22764
|
}
|
|
22793
22765
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
22794
22766
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
22795
22767
|
for (r = n; r-- !== 0;) {
|
|
22796
22768
|
let n = i[r];
|
|
22797
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
22769
|
+
if (!(n === "_owner" && e.$$typeof) && !Mw(e[n], t[n])) return !1;
|
|
22798
22770
|
}
|
|
22799
22771
|
return !0;
|
|
22800
22772
|
}
|
|
22801
22773
|
return e !== e && t !== t;
|
|
22802
22774
|
}
|
|
22803
|
-
function
|
|
22775
|
+
function Nw(e) {
|
|
22804
22776
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
22805
22777
|
}
|
|
22806
|
-
function
|
|
22807
|
-
let n =
|
|
22778
|
+
function Pw(e, t) {
|
|
22779
|
+
let n = Nw(e);
|
|
22808
22780
|
return Math.round(t * n) / n;
|
|
22809
22781
|
}
|
|
22810
|
-
function
|
|
22782
|
+
function Fw(e) {
|
|
22811
22783
|
let t = H.useRef(e);
|
|
22812
|
-
return
|
|
22784
|
+
return jw(() => {
|
|
22813
22785
|
t.current = e;
|
|
22814
22786
|
}), t;
|
|
22815
22787
|
}
|
|
22816
|
-
function
|
|
22788
|
+
function Iw(e) {
|
|
22817
22789
|
e === void 0 && (e = {});
|
|
22818
22790
|
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] = H.useState({
|
|
22819
22791
|
x: 0,
|
|
@@ -22823,24 +22795,24 @@ function Vw(e) {
|
|
|
22823
22795
|
middlewareData: {},
|
|
22824
22796
|
isPositioned: !1
|
|
22825
22797
|
}), [f, p] = H.useState(r);
|
|
22826
|
-
|
|
22798
|
+
Mw(f, r) || p(r);
|
|
22827
22799
|
let [m, h] = H.useState(null), [g, _] = H.useState(null), v = H.useCallback((e) => {
|
|
22828
22800
|
e !== S.current && (S.current = e, h(e));
|
|
22829
22801
|
}, []), y = H.useCallback((e) => {
|
|
22830
22802
|
e !== C.current && (C.current = e, _(e));
|
|
22831
|
-
}, []), b = a || m, x = o || g, S = H.useRef(null), C = H.useRef(null), w = H.useRef(u), T = c != null, E =
|
|
22803
|
+
}, []), b = a || m, x = o || g, S = H.useRef(null), C = H.useRef(null), w = H.useRef(u), T = c != null, E = Fw(c), D = Fw(i), O = Fw(l), k = H.useCallback(() => {
|
|
22832
22804
|
if (!S.current || !C.current) return;
|
|
22833
22805
|
let e = {
|
|
22834
22806
|
placement: t,
|
|
22835
22807
|
strategy: n,
|
|
22836
22808
|
middleware: f
|
|
22837
22809
|
};
|
|
22838
|
-
D.current && (e.platform = D.current),
|
|
22810
|
+
D.current && (e.platform = D.current), Aw(S.current, C.current, e).then((e) => {
|
|
22839
22811
|
let t = {
|
|
22840
22812
|
...e,
|
|
22841
22813
|
isPositioned: O.current !== !1
|
|
22842
22814
|
};
|
|
22843
|
-
A.current && !
|
|
22815
|
+
A.current && !Mw(w.current, t) && (w.current = t, qf.flushSync(() => {
|
|
22844
22816
|
d(t);
|
|
22845
22817
|
}));
|
|
22846
22818
|
});
|
|
@@ -22851,16 +22823,16 @@ function Vw(e) {
|
|
|
22851
22823
|
D,
|
|
22852
22824
|
O
|
|
22853
22825
|
]);
|
|
22854
|
-
|
|
22826
|
+
jw(() => {
|
|
22855
22827
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
22856
22828
|
...e,
|
|
22857
22829
|
isPositioned: !1
|
|
22858
22830
|
})));
|
|
22859
22831
|
}, [l]);
|
|
22860
22832
|
let A = H.useRef(!1);
|
|
22861
|
-
|
|
22833
|
+
jw(() => (A.current = !0, () => {
|
|
22862
22834
|
A.current = !1;
|
|
22863
|
-
}), []),
|
|
22835
|
+
}), []), jw(() => {
|
|
22864
22836
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
22865
22837
|
if (E.current) return E.current(b, x, k);
|
|
22866
22838
|
k();
|
|
@@ -22887,11 +22859,11 @@ function Vw(e) {
|
|
|
22887
22859
|
top: 0
|
|
22888
22860
|
};
|
|
22889
22861
|
if (!M.floating) return e;
|
|
22890
|
-
let t =
|
|
22862
|
+
let t = Pw(M.floating, u.x), r = Pw(M.floating, u.y);
|
|
22891
22863
|
return s ? {
|
|
22892
22864
|
...e,
|
|
22893
22865
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
22894
|
-
...
|
|
22866
|
+
...Nw(M.floating) >= 1.5 && { willChange: "transform" }
|
|
22895
22867
|
} : {
|
|
22896
22868
|
position: n,
|
|
22897
22869
|
left: t,
|
|
@@ -22918,7 +22890,7 @@ function Vw(e) {
|
|
|
22918
22890
|
N
|
|
22919
22891
|
]);
|
|
22920
22892
|
}
|
|
22921
|
-
var
|
|
22893
|
+
var Lw = (e) => {
|
|
22922
22894
|
function t(e) {
|
|
22923
22895
|
return {}.hasOwnProperty.call(e, "current");
|
|
22924
22896
|
}
|
|
@@ -22927,63 +22899,63 @@ var Hw = (e) => {
|
|
|
22927
22899
|
options: e,
|
|
22928
22900
|
fn(n) {
|
|
22929
22901
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
22930
|
-
return r && t(r) ? r.current == null ? {} :
|
|
22902
|
+
return r && t(r) ? r.current == null ? {} : Ow({
|
|
22931
22903
|
element: r.current,
|
|
22932
22904
|
padding: i
|
|
22933
|
-
}).fn(n) : r ?
|
|
22905
|
+
}).fn(n) : r ? Ow({
|
|
22934
22906
|
element: r,
|
|
22935
22907
|
padding: i
|
|
22936
22908
|
}).fn(n) : {};
|
|
22937
22909
|
}
|
|
22938
22910
|
};
|
|
22939
|
-
},
|
|
22940
|
-
let n =
|
|
22911
|
+
}, Rw = (e, t) => {
|
|
22912
|
+
let n = Cw(e);
|
|
22941
22913
|
return {
|
|
22942
22914
|
name: n.name,
|
|
22943
22915
|
fn: n.fn,
|
|
22944
22916
|
options: [e, t]
|
|
22945
22917
|
};
|
|
22946
|
-
},
|
|
22947
|
-
let n =
|
|
22918
|
+
}, zw = (e, t) => {
|
|
22919
|
+
let n = ww(e);
|
|
22948
22920
|
return {
|
|
22949
22921
|
name: n.name,
|
|
22950
22922
|
fn: n.fn,
|
|
22951
22923
|
options: [e, t]
|
|
22952
22924
|
};
|
|
22953
|
-
},
|
|
22954
|
-
fn:
|
|
22925
|
+
}, Bw = (e, t) => ({
|
|
22926
|
+
fn: kw(e).fn,
|
|
22955
22927
|
options: [e, t]
|
|
22956
|
-
}),
|
|
22957
|
-
let n =
|
|
22928
|
+
}), Vw = (e, t) => {
|
|
22929
|
+
let n = Tw(e);
|
|
22958
22930
|
return {
|
|
22959
22931
|
name: n.name,
|
|
22960
22932
|
fn: n.fn,
|
|
22961
22933
|
options: [e, t]
|
|
22962
22934
|
};
|
|
22963
|
-
},
|
|
22964
|
-
let n =
|
|
22935
|
+
}, Hw = (e, t) => {
|
|
22936
|
+
let n = Ew(e);
|
|
22965
22937
|
return {
|
|
22966
22938
|
name: n.name,
|
|
22967
22939
|
fn: n.fn,
|
|
22968
22940
|
options: [e, t]
|
|
22969
22941
|
};
|
|
22970
|
-
},
|
|
22971
|
-
let n =
|
|
22942
|
+
}, Uw = (e, t) => {
|
|
22943
|
+
let n = Dw(e);
|
|
22972
22944
|
return {
|
|
22973
22945
|
name: n.name,
|
|
22974
22946
|
fn: n.fn,
|
|
22975
22947
|
options: [e, t]
|
|
22976
22948
|
};
|
|
22977
|
-
},
|
|
22978
|
-
let n =
|
|
22949
|
+
}, Ww = (e, t) => {
|
|
22950
|
+
let n = Lw(e);
|
|
22979
22951
|
return {
|
|
22980
22952
|
name: n.name,
|
|
22981
22953
|
fn: n.fn,
|
|
22982
22954
|
options: [e, t]
|
|
22983
22955
|
};
|
|
22984
|
-
},
|
|
22956
|
+
}, Gw = "Arrow", Kw = H.forwardRef((e, t) => {
|
|
22985
22957
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
22986
|
-
return /* @__PURE__ */ (0, X.jsx)(
|
|
22958
|
+
return /* @__PURE__ */ (0, X.jsx)(qx.svg, {
|
|
22987
22959
|
...a,
|
|
22988
22960
|
ref: t,
|
|
22989
22961
|
width: r,
|
|
@@ -22993,13 +22965,13 @@ var Hw = (e) => {
|
|
|
22993
22965
|
children: e.asChild ? n : /* @__PURE__ */ (0, X.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
22994
22966
|
});
|
|
22995
22967
|
});
|
|
22996
|
-
|
|
22997
|
-
var
|
|
22968
|
+
Kw.displayName = Gw;
|
|
22969
|
+
var qw = Kw;
|
|
22998
22970
|
//#endregion
|
|
22999
22971
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
23000
|
-
function
|
|
22972
|
+
function Jw(e) {
|
|
23001
22973
|
let [t, n] = H.useState(void 0);
|
|
23002
|
-
return
|
|
22974
|
+
return kS(() => {
|
|
23003
22975
|
if (e) {
|
|
23004
22976
|
n({
|
|
23005
22977
|
width: e.offsetWidth,
|
|
@@ -23023,29 +22995,29 @@ function $w(e) {
|
|
|
23023
22995
|
}
|
|
23024
22996
|
//#endregion
|
|
23025
22997
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
23026
|
-
var
|
|
22998
|
+
var Yw = "Popper", [Xw, Zw] = zx(Yw), [Qw, $w] = Xw(Yw), eT = (e) => {
|
|
23027
22999
|
let { __scopePopper: t, children: n } = e, [r, i] = H.useState(null);
|
|
23028
|
-
return /* @__PURE__ */ (0, X.jsx)(
|
|
23000
|
+
return /* @__PURE__ */ (0, X.jsx)(Qw, {
|
|
23029
23001
|
scope: t,
|
|
23030
23002
|
anchor: r,
|
|
23031
23003
|
onAnchorChange: i,
|
|
23032
23004
|
children: n
|
|
23033
23005
|
});
|
|
23034
23006
|
};
|
|
23035
|
-
|
|
23036
|
-
var
|
|
23037
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
23007
|
+
eT.displayName = Yw;
|
|
23008
|
+
var tT = "PopperAnchor", nT = H.forwardRef((e, t) => {
|
|
23009
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = $w(tT, n), o = H.useRef(null), s = Rx(t, o), c = H.useRef(null);
|
|
23038
23010
|
return H.useEffect(() => {
|
|
23039
23011
|
let e = c.current;
|
|
23040
23012
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
23041
|
-
}), r ? null : /* @__PURE__ */ (0, X.jsx)(
|
|
23013
|
+
}), r ? null : /* @__PURE__ */ (0, X.jsx)(qx.div, {
|
|
23042
23014
|
...i,
|
|
23043
23015
|
ref: s
|
|
23044
23016
|
});
|
|
23045
23017
|
});
|
|
23046
|
-
|
|
23047
|
-
var
|
|
23048
|
-
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g =
|
|
23018
|
+
nT.displayName = tT;
|
|
23019
|
+
var rT = "PopperContent", [iT, aT] = Xw(rT), oT = H.forwardRef((e, t) => {
|
|
23020
|
+
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g = $w(rT, n), [_, v] = H.useState(null), y = Rx(t, (e) => v(e)), [b, x] = H.useState(null), S = Jw(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), E = typeof u == "number" ? u : {
|
|
23049
23021
|
top: 0,
|
|
23050
23022
|
right: 0,
|
|
23051
23023
|
bottom: 0,
|
|
@@ -23053,51 +23025,51 @@ var cT = "PopperContent", [lT, uT] = tT(cT), dT = H.forwardRef((e, t) => {
|
|
|
23053
23025
|
...u
|
|
23054
23026
|
}, D = Array.isArray(l) ? l : [l], O = D.length > 0, k = {
|
|
23055
23027
|
padding: E,
|
|
23056
|
-
boundary: D.filter(
|
|
23028
|
+
boundary: D.filter(uT),
|
|
23057
23029
|
altBoundary: O
|
|
23058
|
-
}, { refs: A, floatingStyles: j, placement: M, isPositioned: N, middlewareData: P } =
|
|
23030
|
+
}, { refs: A, floatingStyles: j, placement: M, isPositioned: N, middlewareData: P } = Iw({
|
|
23059
23031
|
strategy: "fixed",
|
|
23060
23032
|
placement: T,
|
|
23061
|
-
whileElementsMounted: (...e) =>
|
|
23033
|
+
whileElementsMounted: (...e) => Sw(...e, { animationFrame: p === "always" }),
|
|
23062
23034
|
elements: { reference: g.anchor },
|
|
23063
23035
|
middleware: [
|
|
23064
|
-
|
|
23036
|
+
Rw({
|
|
23065
23037
|
mainAxis: i + w,
|
|
23066
23038
|
alignmentAxis: o
|
|
23067
23039
|
}),
|
|
23068
|
-
c &&
|
|
23040
|
+
c && zw({
|
|
23069
23041
|
mainAxis: !0,
|
|
23070
23042
|
crossAxis: !1,
|
|
23071
|
-
limiter: d === "partial" ?
|
|
23043
|
+
limiter: d === "partial" ? Bw() : void 0,
|
|
23072
23044
|
...k
|
|
23073
23045
|
}),
|
|
23074
|
-
c &&
|
|
23075
|
-
|
|
23046
|
+
c && Vw({ ...k }),
|
|
23047
|
+
Hw({
|
|
23076
23048
|
...k,
|
|
23077
23049
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
23078
23050
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
23079
23051
|
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`);
|
|
23080
23052
|
}
|
|
23081
23053
|
}),
|
|
23082
|
-
b &&
|
|
23054
|
+
b && Ww({
|
|
23083
23055
|
element: b,
|
|
23084
23056
|
padding: s
|
|
23085
23057
|
}),
|
|
23086
|
-
|
|
23058
|
+
dT({
|
|
23087
23059
|
arrowWidth: C,
|
|
23088
23060
|
arrowHeight: w
|
|
23089
23061
|
}),
|
|
23090
|
-
f &&
|
|
23062
|
+
f && Uw({
|
|
23091
23063
|
strategy: "referenceHidden",
|
|
23092
23064
|
...k
|
|
23093
23065
|
})
|
|
23094
23066
|
]
|
|
23095
|
-
}), [F, ee] =
|
|
23096
|
-
|
|
23067
|
+
}), [F, ee] = fT(M), I = Yx(m);
|
|
23068
|
+
kS(() => {
|
|
23097
23069
|
N && I?.();
|
|
23098
23070
|
}, [N, I]);
|
|
23099
23071
|
let te = P.arrow?.x, ne = P.arrow?.y, re = P.arrow?.centerOffset !== 0, [ie, ae] = H.useState();
|
|
23100
|
-
return
|
|
23072
|
+
return kS(() => {
|
|
23101
23073
|
_ && ae(window.getComputedStyle(_).zIndex);
|
|
23102
23074
|
}, [_]), /* @__PURE__ */ (0, X.jsx)("div", {
|
|
23103
23075
|
ref: A.setFloating,
|
|
@@ -23114,14 +23086,14 @@ var cT = "PopperContent", [lT, uT] = tT(cT), dT = H.forwardRef((e, t) => {
|
|
|
23114
23086
|
}
|
|
23115
23087
|
},
|
|
23116
23088
|
dir: e.dir,
|
|
23117
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
23089
|
+
children: /* @__PURE__ */ (0, X.jsx)(iT, {
|
|
23118
23090
|
scope: n,
|
|
23119
23091
|
placedSide: F,
|
|
23120
23092
|
onArrowChange: x,
|
|
23121
23093
|
arrowX: te,
|
|
23122
23094
|
arrowY: ne,
|
|
23123
23095
|
shouldHideArrow: re,
|
|
23124
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
23096
|
+
children: /* @__PURE__ */ (0, X.jsx)(qx.div, {
|
|
23125
23097
|
"data-side": F,
|
|
23126
23098
|
"data-align": ee,
|
|
23127
23099
|
...h,
|
|
@@ -23134,14 +23106,14 @@ var cT = "PopperContent", [lT, uT] = tT(cT), dT = H.forwardRef((e, t) => {
|
|
|
23134
23106
|
})
|
|
23135
23107
|
});
|
|
23136
23108
|
});
|
|
23137
|
-
|
|
23138
|
-
var
|
|
23109
|
+
oT.displayName = rT;
|
|
23110
|
+
var sT = "PopperArrow", cT = {
|
|
23139
23111
|
top: "bottom",
|
|
23140
23112
|
right: "left",
|
|
23141
23113
|
bottom: "top",
|
|
23142
23114
|
left: "right"
|
|
23143
|
-
},
|
|
23144
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
23115
|
+
}, lT = H.forwardRef(function(e, t) {
|
|
23116
|
+
let { __scopePopper: n, ...r } = e, i = aT(sT, n), a = cT[i.placedSide];
|
|
23145
23117
|
return /* @__PURE__ */ (0, X.jsx)("span", {
|
|
23146
23118
|
ref: i.onArrowChange,
|
|
23147
23119
|
style: {
|
|
@@ -23163,7 +23135,7 @@ var fT = "PopperArrow", pT = {
|
|
|
23163
23135
|
}[i.placedSide],
|
|
23164
23136
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
23165
23137
|
},
|
|
23166
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
23138
|
+
children: /* @__PURE__ */ (0, X.jsx)(qw, {
|
|
23167
23139
|
...r,
|
|
23168
23140
|
ref: t,
|
|
23169
23141
|
style: {
|
|
@@ -23173,15 +23145,15 @@ var fT = "PopperArrow", pT = {
|
|
|
23173
23145
|
})
|
|
23174
23146
|
});
|
|
23175
23147
|
});
|
|
23176
|
-
|
|
23177
|
-
function
|
|
23148
|
+
lT.displayName = sT;
|
|
23149
|
+
function uT(e) {
|
|
23178
23150
|
return e !== null;
|
|
23179
23151
|
}
|
|
23180
|
-
var
|
|
23152
|
+
var dT = (e) => ({
|
|
23181
23153
|
name: "transformOrigin",
|
|
23182
23154
|
options: e,
|
|
23183
23155
|
fn(t) {
|
|
23184
|
-
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] =
|
|
23156
|
+
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] = fT(n), u = {
|
|
23185
23157
|
start: "0%",
|
|
23186
23158
|
center: "50%",
|
|
23187
23159
|
end: "100%"
|
|
@@ -23192,32 +23164,32 @@ var gT = (e) => ({
|
|
|
23192
23164
|
} };
|
|
23193
23165
|
}
|
|
23194
23166
|
});
|
|
23195
|
-
function
|
|
23167
|
+
function fT(e) {
|
|
23196
23168
|
let [t, n = "center"] = e.split("-");
|
|
23197
23169
|
return [t, n];
|
|
23198
23170
|
}
|
|
23199
|
-
var
|
|
23171
|
+
var pT = eT, mT = nT, hT = oT, gT = lT, _T = "Portal", vT = H.forwardRef((e, t) => {
|
|
23200
23172
|
let { container: n, ...r } = e, [i, a] = H.useState(!1);
|
|
23201
|
-
|
|
23173
|
+
kS(() => a(!0), []);
|
|
23202
23174
|
let o = n || i && globalThis?.document?.body;
|
|
23203
|
-
return o ? qf.createPortal(/* @__PURE__ */ (0, X.jsx)(
|
|
23175
|
+
return o ? qf.createPortal(/* @__PURE__ */ (0, X.jsx)(qx.div, {
|
|
23204
23176
|
...r,
|
|
23205
23177
|
ref: t
|
|
23206
23178
|
}), o) : null;
|
|
23207
23179
|
});
|
|
23208
|
-
|
|
23180
|
+
vT.displayName = _T;
|
|
23209
23181
|
//#endregion
|
|
23210
23182
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
23211
|
-
function
|
|
23183
|
+
function yT(e, t) {
|
|
23212
23184
|
return H.useReducer((e, n) => t[e][n] ?? e, e);
|
|
23213
23185
|
}
|
|
23214
|
-
var
|
|
23215
|
-
let { present: t, children: n } = e, r =
|
|
23186
|
+
var bT = (e) => {
|
|
23187
|
+
let { present: t, children: n } = e, r = xT(t), i = typeof n == "function" ? n({ present: r.isPresent }) : H.Children.only(n), a = Rx(r.ref, CT(i));
|
|
23216
23188
|
return typeof n == "function" || r.isPresent ? H.cloneElement(i, { ref: a }) : null;
|
|
23217
23189
|
};
|
|
23218
|
-
|
|
23219
|
-
function
|
|
23220
|
-
let [t, n] = H.useState(), r = H.useRef(null), i = H.useRef(e), a = H.useRef("none"), [o, s] =
|
|
23190
|
+
bT.displayName = "Presence";
|
|
23191
|
+
function xT(e) {
|
|
23192
|
+
let [t, n] = H.useState(), r = H.useRef(null), i = H.useRef(e), a = H.useRef("none"), [o, s] = yT(e ? "mounted" : "unmounted", {
|
|
23221
23193
|
mounted: {
|
|
23222
23194
|
UNMOUNT: "unmounted",
|
|
23223
23195
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -23229,18 +23201,18 @@ function ET(e) {
|
|
|
23229
23201
|
unmounted: { MOUNT: "mounted" }
|
|
23230
23202
|
});
|
|
23231
23203
|
return H.useEffect(() => {
|
|
23232
|
-
let e =
|
|
23204
|
+
let e = ST(r.current);
|
|
23233
23205
|
a.current = o === "mounted" ? e : "none";
|
|
23234
|
-
}, [o]),
|
|
23206
|
+
}, [o]), kS(() => {
|
|
23235
23207
|
let t = r.current, n = i.current;
|
|
23236
23208
|
if (n !== e) {
|
|
23237
|
-
let r = a.current, o =
|
|
23209
|
+
let r = a.current, o = ST(t);
|
|
23238
23210
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
23239
23211
|
}
|
|
23240
|
-
}, [e, s]),
|
|
23212
|
+
}, [e, s]), kS(() => {
|
|
23241
23213
|
if (t) {
|
|
23242
23214
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
23243
|
-
let o =
|
|
23215
|
+
let o = ST(r.current).includes(CSS.escape(a.animationName));
|
|
23244
23216
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
23245
23217
|
let r = t.style.animationFillMode;
|
|
23246
23218
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -23248,7 +23220,7 @@ function ET(e) {
|
|
|
23248
23220
|
});
|
|
23249
23221
|
}
|
|
23250
23222
|
}, c = (e) => {
|
|
23251
|
-
e.target === t && (a.current =
|
|
23223
|
+
e.target === t && (a.current = ST(r.current));
|
|
23252
23224
|
};
|
|
23253
23225
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
23254
23226
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -23261,18 +23233,18 @@ function ET(e) {
|
|
|
23261
23233
|
}, [])
|
|
23262
23234
|
};
|
|
23263
23235
|
}
|
|
23264
|
-
function
|
|
23236
|
+
function ST(e) {
|
|
23265
23237
|
return e?.animationName || "none";
|
|
23266
23238
|
}
|
|
23267
|
-
function
|
|
23239
|
+
function CT(e) {
|
|
23268
23240
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
23269
23241
|
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);
|
|
23270
23242
|
}
|
|
23271
23243
|
//#endregion
|
|
23272
23244
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
23273
|
-
var
|
|
23274
|
-
function
|
|
23275
|
-
let [i, a, o] =
|
|
23245
|
+
var wT = H.useInsertionEffect || kS;
|
|
23246
|
+
function TT({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
23247
|
+
let [i, a, o] = ET({
|
|
23276
23248
|
defaultProp: t,
|
|
23277
23249
|
onChange: n
|
|
23278
23250
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -23285,7 +23257,7 @@ function AT({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
23285
23257
|
}
|
|
23286
23258
|
return [c, H.useCallback((t) => {
|
|
23287
23259
|
if (s) {
|
|
23288
|
-
let n =
|
|
23260
|
+
let n = DT(t) ? t(e) : t;
|
|
23289
23261
|
n !== e && o.current?.(n);
|
|
23290
23262
|
} else a(t);
|
|
23291
23263
|
}, [
|
|
@@ -23295,9 +23267,9 @@ function AT({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
23295
23267
|
o
|
|
23296
23268
|
])];
|
|
23297
23269
|
}
|
|
23298
|
-
function
|
|
23270
|
+
function ET({ defaultProp: e, onChange: t }) {
|
|
23299
23271
|
let [n, r] = H.useState(e), i = H.useRef(n), a = H.useRef(t);
|
|
23300
|
-
return
|
|
23272
|
+
return wT(() => {
|
|
23301
23273
|
a.current = t;
|
|
23302
23274
|
}, [t]), H.useEffect(() => {
|
|
23303
23275
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -23307,27 +23279,27 @@ function jT({ defaultProp: e, onChange: t }) {
|
|
|
23307
23279
|
a
|
|
23308
23280
|
];
|
|
23309
23281
|
}
|
|
23310
|
-
function
|
|
23282
|
+
function DT(e) {
|
|
23311
23283
|
return typeof e == "function";
|
|
23312
23284
|
}
|
|
23313
23285
|
//#endregion
|
|
23314
23286
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
23315
|
-
var
|
|
23287
|
+
var OT = function(e) {
|
|
23316
23288
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
23317
|
-
},
|
|
23318
|
-
return e && (e.host ||
|
|
23319
|
-
},
|
|
23289
|
+
}, kT = /* @__PURE__ */ new WeakMap(), AT = /* @__PURE__ */ new WeakMap(), jT = {}, MT = 0, NT = function(e) {
|
|
23290
|
+
return e && (e.host || NT(e.parentNode));
|
|
23291
|
+
}, PT = function(e, t) {
|
|
23320
23292
|
return t.map(function(t) {
|
|
23321
23293
|
if (e.contains(t)) return t;
|
|
23322
|
-
var n =
|
|
23294
|
+
var n = NT(t);
|
|
23323
23295
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
23324
23296
|
}).filter(function(e) {
|
|
23325
23297
|
return !!e;
|
|
23326
23298
|
});
|
|
23327
|
-
},
|
|
23328
|
-
var i =
|
|
23329
|
-
|
|
23330
|
-
var a =
|
|
23299
|
+
}, FT = function(e, t, n, r) {
|
|
23300
|
+
var i = PT(t, Array.isArray(e) ? e : [e]);
|
|
23301
|
+
jT[n] || (jT[n] = /* @__PURE__ */ new WeakMap());
|
|
23302
|
+
var a = jT[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
23331
23303
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
23332
23304
|
};
|
|
23333
23305
|
i.forEach(l);
|
|
@@ -23335,38 +23307,38 @@ var NT = function(e) {
|
|
|
23335
23307
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
23336
23308
|
if (s.has(e)) u(e);
|
|
23337
23309
|
else try {
|
|
23338
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
23339
|
-
|
|
23310
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (kT.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
23311
|
+
kT.set(e, c), a.set(e, l), o.push(e), c === 1 && i && AT.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
23340
23312
|
} catch (t) {
|
|
23341
23313
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
23342
23314
|
}
|
|
23343
23315
|
});
|
|
23344
23316
|
};
|
|
23345
|
-
return u(t), s.clear(),
|
|
23317
|
+
return u(t), s.clear(), MT++, function() {
|
|
23346
23318
|
o.forEach(function(e) {
|
|
23347
|
-
var t =
|
|
23348
|
-
|
|
23349
|
-
}),
|
|
23319
|
+
var t = kT.get(e) - 1, i = a.get(e) - 1;
|
|
23320
|
+
kT.set(e, t), a.set(e, i), t || (AT.has(e) || e.removeAttribute(r), AT.delete(e)), i || e.removeAttribute(n);
|
|
23321
|
+
}), MT--, MT || (kT = /* @__PURE__ */ new WeakMap(), kT = /* @__PURE__ */ new WeakMap(), AT = /* @__PURE__ */ new WeakMap(), jT = {});
|
|
23350
23322
|
};
|
|
23351
|
-
},
|
|
23323
|
+
}, IT = function(e, t, n) {
|
|
23352
23324
|
n === void 0 && (n = "data-aria-hidden");
|
|
23353
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
23354
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
23325
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || OT(e);
|
|
23326
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), FT(r, i, n, "aria-hidden")) : function() {
|
|
23355
23327
|
return null;
|
|
23356
23328
|
};
|
|
23357
|
-
},
|
|
23358
|
-
return
|
|
23329
|
+
}, LT = function() {
|
|
23330
|
+
return LT = Object.assign || function(e) {
|
|
23359
23331
|
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]);
|
|
23360
23332
|
return e;
|
|
23361
|
-
},
|
|
23333
|
+
}, LT.apply(this, arguments);
|
|
23362
23334
|
};
|
|
23363
|
-
function
|
|
23335
|
+
function RT(e, t) {
|
|
23364
23336
|
var n = {};
|
|
23365
23337
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
23366
23338
|
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]]);
|
|
23367
23339
|
return n;
|
|
23368
23340
|
}
|
|
23369
|
-
function
|
|
23341
|
+
function zT(e, t, n, r) {
|
|
23370
23342
|
function i(e) {
|
|
23371
23343
|
return e instanceof n ? e : new n(function(t) {
|
|
23372
23344
|
t(e);
|
|
@@ -23393,7 +23365,7 @@ function WT(e, t, n, r) {
|
|
|
23393
23365
|
c((r = r.apply(e, t || [])).next());
|
|
23394
23366
|
});
|
|
23395
23367
|
}
|
|
23396
|
-
function
|
|
23368
|
+
function BT(e, t) {
|
|
23397
23369
|
var n = {
|
|
23398
23370
|
label: 0,
|
|
23399
23371
|
sent: function() {
|
|
@@ -23463,7 +23435,7 @@ function GT(e, t) {
|
|
|
23463
23435
|
};
|
|
23464
23436
|
}
|
|
23465
23437
|
}
|
|
23466
|
-
function
|
|
23438
|
+
function VT(e, t) {
|
|
23467
23439
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
23468
23440
|
if (!n) return e;
|
|
23469
23441
|
var r = n.call(e), i, a = [], o;
|
|
@@ -23480,25 +23452,25 @@ function KT(e, t) {
|
|
|
23480
23452
|
}
|
|
23481
23453
|
return a;
|
|
23482
23454
|
}
|
|
23483
|
-
function
|
|
23484
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
23455
|
+
function HT() {
|
|
23456
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(VT(arguments[t]));
|
|
23485
23457
|
return e;
|
|
23486
23458
|
}
|
|
23487
|
-
function
|
|
23459
|
+
function UT(e, t, n) {
|
|
23488
23460
|
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]);
|
|
23489
23461
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
23490
23462
|
}
|
|
23491
23463
|
//#endregion
|
|
23492
23464
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
23493
|
-
var
|
|
23465
|
+
var WT = "right-scroll-bar-position", GT = "width-before-scroll-bar", KT = "with-scroll-bars-hidden", qT = "--removed-body-scroll-bar-size";
|
|
23494
23466
|
//#endregion
|
|
23495
23467
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
23496
|
-
function
|
|
23468
|
+
function JT(e, t) {
|
|
23497
23469
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
23498
23470
|
}
|
|
23499
23471
|
//#endregion
|
|
23500
23472
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
23501
|
-
function
|
|
23473
|
+
function YT(e, t) {
|
|
23502
23474
|
var n = (0, H.useState)(function() {
|
|
23503
23475
|
return {
|
|
23504
23476
|
value: e,
|
|
@@ -23518,33 +23490,33 @@ function eE(e, t) {
|
|
|
23518
23490
|
}
|
|
23519
23491
|
//#endregion
|
|
23520
23492
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
23521
|
-
var
|
|
23522
|
-
function
|
|
23523
|
-
var n =
|
|
23493
|
+
var XT = typeof window < "u" ? H.useLayoutEffect : H.useEffect, ZT = /* @__PURE__ */ new WeakMap();
|
|
23494
|
+
function QT(e, t) {
|
|
23495
|
+
var n = YT(t || null, function(t) {
|
|
23524
23496
|
return e.forEach(function(e) {
|
|
23525
|
-
return
|
|
23497
|
+
return JT(e, t);
|
|
23526
23498
|
});
|
|
23527
23499
|
});
|
|
23528
|
-
return
|
|
23529
|
-
var t =
|
|
23500
|
+
return XT(function() {
|
|
23501
|
+
var t = ZT.get(n);
|
|
23530
23502
|
if (t) {
|
|
23531
23503
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
23532
23504
|
r.forEach(function(e) {
|
|
23533
|
-
i.has(e) ||
|
|
23505
|
+
i.has(e) || JT(e, null);
|
|
23534
23506
|
}), i.forEach(function(e) {
|
|
23535
|
-
r.has(e) ||
|
|
23507
|
+
r.has(e) || JT(e, a);
|
|
23536
23508
|
});
|
|
23537
23509
|
}
|
|
23538
|
-
|
|
23510
|
+
ZT.set(n, e);
|
|
23539
23511
|
}, [e]), n;
|
|
23540
23512
|
}
|
|
23541
23513
|
//#endregion
|
|
23542
23514
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
23543
|
-
function
|
|
23515
|
+
function $T(e) {
|
|
23544
23516
|
return e;
|
|
23545
23517
|
}
|
|
23546
|
-
function
|
|
23547
|
-
t === void 0 && (t =
|
|
23518
|
+
function eE(e, t) {
|
|
23519
|
+
t === void 0 && (t = $T);
|
|
23548
23520
|
var n = [], r = !1;
|
|
23549
23521
|
return {
|
|
23550
23522
|
read: function() {
|
|
@@ -23597,35 +23569,35 @@ function aE(e, t) {
|
|
|
23597
23569
|
}
|
|
23598
23570
|
};
|
|
23599
23571
|
}
|
|
23600
|
-
function
|
|
23572
|
+
function tE(e) {
|
|
23601
23573
|
e === void 0 && (e = {});
|
|
23602
|
-
var t =
|
|
23603
|
-
return t.options =
|
|
23574
|
+
var t = eE(null);
|
|
23575
|
+
return t.options = LT({
|
|
23604
23576
|
async: !0,
|
|
23605
23577
|
ssr: !1
|
|
23606
23578
|
}, e), t;
|
|
23607
23579
|
}
|
|
23608
23580
|
//#endregion
|
|
23609
23581
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
23610
|
-
var
|
|
23611
|
-
var t = e.sideCar, n =
|
|
23582
|
+
var nE = function(e) {
|
|
23583
|
+
var t = e.sideCar, n = RT(e, ["sideCar"]);
|
|
23612
23584
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
23613
23585
|
var r = t.read();
|
|
23614
23586
|
if (!r) throw Error("Sidecar medium not found");
|
|
23615
|
-
return H.createElement(r,
|
|
23587
|
+
return H.createElement(r, LT({}, n));
|
|
23616
23588
|
};
|
|
23617
|
-
|
|
23618
|
-
function
|
|
23619
|
-
return e.useMedium(t),
|
|
23589
|
+
nE.isSideCarExport = !0;
|
|
23590
|
+
function rE(e, t) {
|
|
23591
|
+
return e.useMedium(t), nE;
|
|
23620
23592
|
}
|
|
23621
23593
|
//#endregion
|
|
23622
23594
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
23623
|
-
var
|
|
23595
|
+
var iE = tE(), aE = function() {}, oE = H.forwardRef(function(e, t) {
|
|
23624
23596
|
var n = H.useRef(null), r = H.useState({
|
|
23625
|
-
onScrollCapture:
|
|
23626
|
-
onWheelCapture:
|
|
23627
|
-
onTouchMoveCapture:
|
|
23628
|
-
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b =
|
|
23597
|
+
onScrollCapture: aE,
|
|
23598
|
+
onWheelCapture: aE,
|
|
23599
|
+
onTouchMoveCapture: aE
|
|
23600
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = RT(e, [
|
|
23629
23601
|
"forwardProps",
|
|
23630
23602
|
"children",
|
|
23631
23603
|
"className",
|
|
@@ -23639,9 +23611,9 @@ var lE = oE(), uE = function() {}, dE = H.forwardRef(function(e, t) {
|
|
|
23639
23611
|
"allowPinchZoom",
|
|
23640
23612
|
"as",
|
|
23641
23613
|
"gapMode"
|
|
23642
|
-
]), x = f, S =
|
|
23614
|
+
]), x = f, S = QT([n, t]), C = LT(LT({}, b), i);
|
|
23643
23615
|
return H.createElement(H.Fragment, null, u && H.createElement(x, {
|
|
23644
|
-
sideCar:
|
|
23616
|
+
sideCar: iE,
|
|
23645
23617
|
removeScrollBar: l,
|
|
23646
23618
|
shards: d,
|
|
23647
23619
|
noRelative: p,
|
|
@@ -23651,52 +23623,52 @@ var lE = oE(), uE = function() {}, dE = H.forwardRef(function(e, t) {
|
|
|
23651
23623
|
allowPinchZoom: !!g,
|
|
23652
23624
|
lockRef: n,
|
|
23653
23625
|
gapMode: y
|
|
23654
|
-
}), o ? H.cloneElement(H.Children.only(s),
|
|
23626
|
+
}), o ? H.cloneElement(H.Children.only(s), LT(LT({}, C), { ref: S })) : H.createElement(v, LT({}, C, {
|
|
23655
23627
|
className: c,
|
|
23656
23628
|
ref: S
|
|
23657
23629
|
}), s));
|
|
23658
23630
|
});
|
|
23659
|
-
|
|
23631
|
+
oE.defaultProps = {
|
|
23660
23632
|
enabled: !0,
|
|
23661
23633
|
removeScrollBar: !0,
|
|
23662
23634
|
inert: !1
|
|
23663
|
-
},
|
|
23664
|
-
fullWidth:
|
|
23665
|
-
zeroRight:
|
|
23635
|
+
}, oE.classNames = {
|
|
23636
|
+
fullWidth: GT,
|
|
23637
|
+
zeroRight: WT
|
|
23666
23638
|
};
|
|
23667
23639
|
//#endregion
|
|
23668
23640
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
23669
|
-
var
|
|
23670
|
-
if (
|
|
23641
|
+
var sE, cE = function() {
|
|
23642
|
+
if (sE) return sE;
|
|
23671
23643
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
23672
23644
|
};
|
|
23673
23645
|
//#endregion
|
|
23674
23646
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
23675
|
-
function
|
|
23647
|
+
function lE() {
|
|
23676
23648
|
if (!document) return null;
|
|
23677
23649
|
var e = document.createElement("style");
|
|
23678
23650
|
e.type = "text/css";
|
|
23679
|
-
var t =
|
|
23651
|
+
var t = cE();
|
|
23680
23652
|
return t && e.setAttribute("nonce", t), e;
|
|
23681
23653
|
}
|
|
23682
|
-
function
|
|
23654
|
+
function uE(e, t) {
|
|
23683
23655
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
23684
23656
|
}
|
|
23685
|
-
function
|
|
23657
|
+
function dE(e) {
|
|
23686
23658
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
23687
23659
|
}
|
|
23688
|
-
var
|
|
23660
|
+
var fE = function() {
|
|
23689
23661
|
var e = 0, t = null;
|
|
23690
23662
|
return {
|
|
23691
23663
|
add: function(n) {
|
|
23692
|
-
e == 0 && (t =
|
|
23664
|
+
e == 0 && (t = lE()) && (uE(t, n), dE(t)), e++;
|
|
23693
23665
|
},
|
|
23694
23666
|
remove: function() {
|
|
23695
23667
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
23696
23668
|
}
|
|
23697
23669
|
};
|
|
23698
|
-
},
|
|
23699
|
-
var e =
|
|
23670
|
+
}, pE = function() {
|
|
23671
|
+
var e = fE();
|
|
23700
23672
|
return function(t, n) {
|
|
23701
23673
|
H.useEffect(function() {
|
|
23702
23674
|
return e.add(t), function() {
|
|
@@ -23704,43 +23676,43 @@ var _E = function() {
|
|
|
23704
23676
|
};
|
|
23705
23677
|
}, [t && n]);
|
|
23706
23678
|
};
|
|
23707
|
-
},
|
|
23708
|
-
var e =
|
|
23679
|
+
}, mE = function() {
|
|
23680
|
+
var e = pE();
|
|
23709
23681
|
return function(t) {
|
|
23710
23682
|
var n = t.styles, r = t.dynamic;
|
|
23711
23683
|
return e(n, r), null;
|
|
23712
23684
|
};
|
|
23713
|
-
},
|
|
23685
|
+
}, hE = {
|
|
23714
23686
|
left: 0,
|
|
23715
23687
|
top: 0,
|
|
23716
23688
|
right: 0,
|
|
23717
23689
|
gap: 0
|
|
23718
|
-
},
|
|
23690
|
+
}, gE = function(e) {
|
|
23719
23691
|
return parseInt(e || "", 10) || 0;
|
|
23720
|
-
},
|
|
23692
|
+
}, _E = function(e) {
|
|
23721
23693
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
23722
23694
|
return [
|
|
23723
|
-
|
|
23724
|
-
|
|
23725
|
-
|
|
23695
|
+
gE(n),
|
|
23696
|
+
gE(r),
|
|
23697
|
+
gE(i)
|
|
23726
23698
|
];
|
|
23727
|
-
},
|
|
23728
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
23729
|
-
var t =
|
|
23699
|
+
}, vE = function(e) {
|
|
23700
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return hE;
|
|
23701
|
+
var t = _E(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
23730
23702
|
return {
|
|
23731
23703
|
left: t[0],
|
|
23732
23704
|
top: t[1],
|
|
23733
23705
|
right: t[2],
|
|
23734
23706
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
23735
23707
|
};
|
|
23736
|
-
},
|
|
23708
|
+
}, yE = mE(), bE = "data-scroll-locked", xE = function(e, t, n, r) {
|
|
23737
23709
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
23738
23710
|
return n === void 0 && (n = "margin"), `
|
|
23739
|
-
.${
|
|
23711
|
+
.${KT} {
|
|
23740
23712
|
overflow: hidden ${r};
|
|
23741
23713
|
padding-right: ${s}px ${r};
|
|
23742
23714
|
}
|
|
23743
|
-
body[${
|
|
23715
|
+
body[${bE}] {
|
|
23744
23716
|
overflow: hidden ${r};
|
|
23745
23717
|
overscroll-behavior: contain;
|
|
23746
23718
|
${[
|
|
@@ -23757,122 +23729,122 @@ var _E = function() {
|
|
|
23757
23729
|
].filter(Boolean).join("")}
|
|
23758
23730
|
}
|
|
23759
23731
|
|
|
23760
|
-
.${
|
|
23732
|
+
.${WT} {
|
|
23761
23733
|
right: ${s}px ${r};
|
|
23762
23734
|
}
|
|
23763
23735
|
|
|
23764
|
-
.${
|
|
23736
|
+
.${GT} {
|
|
23765
23737
|
margin-right: ${s}px ${r};
|
|
23766
23738
|
}
|
|
23767
23739
|
|
|
23768
|
-
.${
|
|
23740
|
+
.${WT} .${WT} {
|
|
23769
23741
|
right: 0 ${r};
|
|
23770
23742
|
}
|
|
23771
23743
|
|
|
23772
|
-
.${
|
|
23744
|
+
.${GT} .${GT} {
|
|
23773
23745
|
margin-right: 0 ${r};
|
|
23774
23746
|
}
|
|
23775
23747
|
|
|
23776
|
-
body[${
|
|
23777
|
-
${
|
|
23748
|
+
body[${bE}] {
|
|
23749
|
+
${qT}: ${s}px;
|
|
23778
23750
|
}
|
|
23779
23751
|
`;
|
|
23780
|
-
},
|
|
23752
|
+
}, SE = function() {
|
|
23781
23753
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
23782
23754
|
return isFinite(e) ? e : 0;
|
|
23783
|
-
},
|
|
23755
|
+
}, CE = function() {
|
|
23784
23756
|
H.useEffect(function() {
|
|
23785
|
-
return document.body.setAttribute(
|
|
23786
|
-
var e =
|
|
23787
|
-
e <= 0 ? document.body.removeAttribute(
|
|
23757
|
+
return document.body.setAttribute(bE, (SE() + 1).toString()), function() {
|
|
23758
|
+
var e = SE() - 1;
|
|
23759
|
+
e <= 0 ? document.body.removeAttribute(bE) : document.body.setAttribute(bE, e.toString());
|
|
23788
23760
|
};
|
|
23789
23761
|
}, []);
|
|
23790
|
-
},
|
|
23762
|
+
}, wE = function(e) {
|
|
23791
23763
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
23792
|
-
|
|
23764
|
+
CE();
|
|
23793
23765
|
var a = H.useMemo(function() {
|
|
23794
|
-
return
|
|
23766
|
+
return vE(i);
|
|
23795
23767
|
}, [i]);
|
|
23796
|
-
return H.createElement(
|
|
23797
|
-
},
|
|
23768
|
+
return H.createElement(yE, { styles: xE(a, !t, i, n ? "" : "!important") });
|
|
23769
|
+
}, TE = !1;
|
|
23798
23770
|
if (typeof window < "u") try {
|
|
23799
|
-
var
|
|
23800
|
-
return
|
|
23771
|
+
var EE = Object.defineProperty({}, "passive", { get: function() {
|
|
23772
|
+
return TE = !0, !0;
|
|
23801
23773
|
} });
|
|
23802
|
-
window.addEventListener("test",
|
|
23774
|
+
window.addEventListener("test", EE, EE), window.removeEventListener("test", EE, EE);
|
|
23803
23775
|
} catch {
|
|
23804
|
-
|
|
23776
|
+
TE = !1;
|
|
23805
23777
|
}
|
|
23806
|
-
var
|
|
23778
|
+
var DE = TE ? { passive: !1 } : !1, OE = function(e) {
|
|
23807
23779
|
return e.tagName === "TEXTAREA";
|
|
23808
|
-
},
|
|
23780
|
+
}, kE = function(e, t) {
|
|
23809
23781
|
if (!(e instanceof Element)) return !1;
|
|
23810
23782
|
var n = window.getComputedStyle(e);
|
|
23811
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
23812
|
-
},
|
|
23813
|
-
return
|
|
23814
|
-
},
|
|
23815
|
-
return
|
|
23816
|
-
},
|
|
23783
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !OE(e) && n[t] === "visible");
|
|
23784
|
+
}, AE = function(e) {
|
|
23785
|
+
return kE(e, "overflowY");
|
|
23786
|
+
}, jE = function(e) {
|
|
23787
|
+
return kE(e, "overflowX");
|
|
23788
|
+
}, ME = function(e, t) {
|
|
23817
23789
|
var n = t.ownerDocument, r = t;
|
|
23818
23790
|
do {
|
|
23819
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
23820
|
-
var i =
|
|
23791
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), FE(e, r)) {
|
|
23792
|
+
var i = IE(e, r);
|
|
23821
23793
|
if (i[1] > i[2]) return !0;
|
|
23822
23794
|
}
|
|
23823
23795
|
r = r.parentNode;
|
|
23824
23796
|
} while (r && r !== n.body);
|
|
23825
23797
|
return !1;
|
|
23826
|
-
},
|
|
23798
|
+
}, NE = function(e) {
|
|
23827
23799
|
return [
|
|
23828
23800
|
e.scrollTop,
|
|
23829
23801
|
e.scrollHeight,
|
|
23830
23802
|
e.clientHeight
|
|
23831
23803
|
];
|
|
23832
|
-
},
|
|
23804
|
+
}, PE = function(e) {
|
|
23833
23805
|
return [
|
|
23834
23806
|
e.scrollLeft,
|
|
23835
23807
|
e.scrollWidth,
|
|
23836
23808
|
e.clientWidth
|
|
23837
23809
|
];
|
|
23838
|
-
},
|
|
23839
|
-
return e === "v" ?
|
|
23840
|
-
},
|
|
23841
|
-
return e === "v" ?
|
|
23842
|
-
},
|
|
23810
|
+
}, FE = function(e, t) {
|
|
23811
|
+
return e === "v" ? AE(t) : jE(t);
|
|
23812
|
+
}, IE = function(e, t) {
|
|
23813
|
+
return e === "v" ? NE(t) : PE(t);
|
|
23814
|
+
}, LE = function(e, t) {
|
|
23843
23815
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
23844
|
-
},
|
|
23845
|
-
var a =
|
|
23816
|
+
}, RE = function(e, t, n, r, i) {
|
|
23817
|
+
var a = LE(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
23846
23818
|
do {
|
|
23847
23819
|
if (!s) break;
|
|
23848
|
-
var p =
|
|
23849
|
-
(m || h) &&
|
|
23820
|
+
var p = IE(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
23821
|
+
(m || h) && FE(e, s) && (d += h, f += m);
|
|
23850
23822
|
var g = s.parentNode;
|
|
23851
23823
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
23852
23824
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
23853
23825
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
23854
|
-
},
|
|
23826
|
+
}, zE = function(e) {
|
|
23855
23827
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
23856
|
-
},
|
|
23828
|
+
}, BE = function(e) {
|
|
23857
23829
|
return [e.deltaX, e.deltaY];
|
|
23858
|
-
},
|
|
23830
|
+
}, VE = function(e) {
|
|
23859
23831
|
return e && "current" in e ? e.current : e;
|
|
23860
|
-
},
|
|
23832
|
+
}, HE = function(e, t) {
|
|
23861
23833
|
return e[0] === t[0] && e[1] === t[1];
|
|
23862
|
-
},
|
|
23834
|
+
}, UE = function(e) {
|
|
23863
23835
|
return `
|
|
23864
23836
|
.block-interactivity-${e} {pointer-events: none;}
|
|
23865
23837
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
23866
23838
|
`;
|
|
23867
|
-
},
|
|
23868
|
-
function
|
|
23869
|
-
var t = H.useRef([]), n = H.useRef([0, 0]), r = H.useRef(), i = H.useState(
|
|
23839
|
+
}, WE = 0, GE = [];
|
|
23840
|
+
function KE(e) {
|
|
23841
|
+
var t = H.useRef([]), n = H.useRef([0, 0]), r = H.useRef(), i = H.useState(WE++)[0], a = H.useState(mE)[0], o = H.useRef(e);
|
|
23870
23842
|
H.useEffect(function() {
|
|
23871
23843
|
o.current = e;
|
|
23872
23844
|
}, [e]), H.useEffect(function() {
|
|
23873
23845
|
if (e.inert) {
|
|
23874
23846
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
23875
|
-
var t =
|
|
23847
|
+
var t = UT([e.lockRef.current], (e.shards || []).map(VE), !0).filter(Boolean);
|
|
23876
23848
|
return t.forEach(function(e) {
|
|
23877
23849
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
23878
23850
|
}), function() {
|
|
@@ -23888,28 +23860,28 @@ function ZE(e) {
|
|
|
23888
23860
|
]);
|
|
23889
23861
|
var s = H.useCallback(function(e, t) {
|
|
23890
23862
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
23891
|
-
var i =
|
|
23863
|
+
var i = zE(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";
|
|
23892
23864
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
23893
23865
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
23894
23866
|
if (p && (p === u || p.contains(u))) return !1;
|
|
23895
|
-
var m =
|
|
23867
|
+
var m = ME(d, u);
|
|
23896
23868
|
if (!m) return !0;
|
|
23897
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
23869
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = ME(d, u)), !m) return !1;
|
|
23898
23870
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
23899
23871
|
var h = r.current || l;
|
|
23900
|
-
return
|
|
23872
|
+
return RE(h, t, e, h === "h" ? s : c, !0);
|
|
23901
23873
|
}, []), c = H.useCallback(function(e) {
|
|
23902
23874
|
var n = e;
|
|
23903
|
-
if (!(!
|
|
23904
|
-
var r = "deltaY" in n ?
|
|
23905
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
23875
|
+
if (!(!GE.length || GE[GE.length - 1] !== a)) {
|
|
23876
|
+
var r = "deltaY" in n ? BE(n) : zE(n), i = t.current.filter(function(e) {
|
|
23877
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && HE(e.delta, r);
|
|
23906
23878
|
})[0];
|
|
23907
23879
|
if (i && i.should) {
|
|
23908
23880
|
n.cancelable && n.preventDefault();
|
|
23909
23881
|
return;
|
|
23910
23882
|
}
|
|
23911
23883
|
if (!i) {
|
|
23912
|
-
var c = (o.current.shards || []).map(
|
|
23884
|
+
var c = (o.current.shards || []).map(VE).filter(Boolean).filter(function(e) {
|
|
23913
23885
|
return e.contains(n.target);
|
|
23914
23886
|
});
|
|
23915
23887
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -23921,7 +23893,7 @@ function ZE(e) {
|
|
|
23921
23893
|
delta: n,
|
|
23922
23894
|
target: r,
|
|
23923
23895
|
should: i,
|
|
23924
|
-
shadowParent:
|
|
23896
|
+
shadowParent: qE(r)
|
|
23925
23897
|
};
|
|
23926
23898
|
t.current.push(a), setTimeout(function() {
|
|
23927
23899
|
t.current = t.current.filter(function(e) {
|
|
@@ -23929,56 +23901,56 @@ function ZE(e) {
|
|
|
23929
23901
|
});
|
|
23930
23902
|
}, 1);
|
|
23931
23903
|
}, []), u = H.useCallback(function(e) {
|
|
23932
|
-
n.current =
|
|
23904
|
+
n.current = zE(e), r.current = void 0;
|
|
23933
23905
|
}, []), d = H.useCallback(function(t) {
|
|
23934
|
-
l(t.type,
|
|
23906
|
+
l(t.type, BE(t), t.target, s(t, e.lockRef.current));
|
|
23935
23907
|
}, []), f = H.useCallback(function(t) {
|
|
23936
|
-
l(t.type,
|
|
23908
|
+
l(t.type, zE(t), t.target, s(t, e.lockRef.current));
|
|
23937
23909
|
}, []);
|
|
23938
23910
|
H.useEffect(function() {
|
|
23939
|
-
return
|
|
23911
|
+
return GE.push(a), e.setCallbacks({
|
|
23940
23912
|
onScrollCapture: d,
|
|
23941
23913
|
onWheelCapture: d,
|
|
23942
23914
|
onTouchMoveCapture: f
|
|
23943
|
-
}), document.addEventListener("wheel", c,
|
|
23944
|
-
|
|
23915
|
+
}), document.addEventListener("wheel", c, DE), document.addEventListener("touchmove", c, DE), document.addEventListener("touchstart", u, DE), function() {
|
|
23916
|
+
GE = GE.filter(function(e) {
|
|
23945
23917
|
return e !== a;
|
|
23946
|
-
}), document.removeEventListener("wheel", c,
|
|
23918
|
+
}), document.removeEventListener("wheel", c, DE), document.removeEventListener("touchmove", c, DE), document.removeEventListener("touchstart", u, DE);
|
|
23947
23919
|
};
|
|
23948
23920
|
}, []);
|
|
23949
23921
|
var p = e.removeScrollBar, m = e.inert;
|
|
23950
|
-
return H.createElement(H.Fragment, null, m ? H.createElement(a, { styles:
|
|
23922
|
+
return H.createElement(H.Fragment, null, m ? H.createElement(a, { styles: UE(i) }) : null, p ? H.createElement(wE, {
|
|
23951
23923
|
noRelative: e.noRelative,
|
|
23952
23924
|
gapMode: e.gapMode
|
|
23953
23925
|
}) : null);
|
|
23954
23926
|
}
|
|
23955
|
-
function
|
|
23927
|
+
function qE(e) {
|
|
23956
23928
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
23957
23929
|
return t;
|
|
23958
23930
|
}
|
|
23959
23931
|
//#endregion
|
|
23960
23932
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
23961
|
-
var
|
|
23962
|
-
return H.createElement(
|
|
23933
|
+
var JE = rE(iE, KE), YE = H.forwardRef(function(e, t) {
|
|
23934
|
+
return H.createElement(oE, LT({}, e, {
|
|
23963
23935
|
ref: t,
|
|
23964
|
-
sideCar:
|
|
23936
|
+
sideCar: JE
|
|
23965
23937
|
}));
|
|
23966
23938
|
});
|
|
23967
|
-
|
|
23939
|
+
YE.classNames = oE.classNames;
|
|
23968
23940
|
//#endregion
|
|
23969
23941
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
23970
|
-
var
|
|
23971
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
23942
|
+
var XE = "Popover", [ZE, QE] = zx(XE, [Zw]), $E = Zw(), [eD, tD] = ZE(XE), nD = (e) => {
|
|
23943
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = $E(t), c = H.useRef(null), [l, u] = H.useState(!1), [d, f] = TT({
|
|
23972
23944
|
prop: r,
|
|
23973
23945
|
defaultProp: i ?? !1,
|
|
23974
23946
|
onChange: a,
|
|
23975
|
-
caller:
|
|
23947
|
+
caller: XE
|
|
23976
23948
|
});
|
|
23977
|
-
return /* @__PURE__ */ (0, X.jsx)(
|
|
23949
|
+
return /* @__PURE__ */ (0, X.jsx)(pT, {
|
|
23978
23950
|
...s,
|
|
23979
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
23951
|
+
children: /* @__PURE__ */ (0, X.jsx)(eD, {
|
|
23980
23952
|
scope: t,
|
|
23981
|
-
contentId:
|
|
23953
|
+
contentId: MS(),
|
|
23982
23954
|
triggerRef: c,
|
|
23983
23955
|
open: d,
|
|
23984
23956
|
onOpenChange: f,
|
|
@@ -23991,42 +23963,42 @@ var tD = "Popover", [nD, rD] = Wx(tD, [nT]), iD = nT(), [aD, oD] = nD(tD), sD =
|
|
|
23991
23963
|
})
|
|
23992
23964
|
});
|
|
23993
23965
|
};
|
|
23994
|
-
|
|
23995
|
-
var
|
|
23996
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
23997
|
-
return H.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, X.jsx)(
|
|
23966
|
+
nD.displayName = XE;
|
|
23967
|
+
var rD = "PopoverAnchor", iD = H.forwardRef((e, t) => {
|
|
23968
|
+
let { __scopePopover: n, ...r } = e, i = tD(rD, n), a = $E(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
23969
|
+
return H.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, X.jsx)(mT, {
|
|
23998
23970
|
...a,
|
|
23999
23971
|
...r,
|
|
24000
23972
|
ref: t
|
|
24001
23973
|
});
|
|
24002
23974
|
});
|
|
24003
|
-
|
|
24004
|
-
var
|
|
24005
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
23975
|
+
iD.displayName = rD;
|
|
23976
|
+
var aD = "PopoverTrigger", oD = H.forwardRef((e, t) => {
|
|
23977
|
+
let { __scopePopover: n, ...r } = e, i = tD(aD, n), a = $E(n), o = Rx(t, i.triggerRef), s = /* @__PURE__ */ (0, X.jsx)(qx.button, {
|
|
24006
23978
|
type: "button",
|
|
24007
23979
|
"aria-haspopup": "dialog",
|
|
24008
23980
|
"aria-expanded": i.open,
|
|
24009
23981
|
"aria-controls": i.contentId,
|
|
24010
|
-
"data-state":
|
|
23982
|
+
"data-state": xD(i.open),
|
|
24011
23983
|
...r,
|
|
24012
23984
|
ref: o,
|
|
24013
|
-
onClick:
|
|
23985
|
+
onClick: Fx(e.onClick, i.onOpenToggle)
|
|
24014
23986
|
});
|
|
24015
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, X.jsx)(
|
|
23987
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, X.jsx)(mT, {
|
|
24016
23988
|
asChild: !0,
|
|
24017
23989
|
...a,
|
|
24018
23990
|
children: s
|
|
24019
23991
|
});
|
|
24020
23992
|
});
|
|
24021
|
-
|
|
24022
|
-
var
|
|
24023
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
24024
|
-
return /* @__PURE__ */ (0, X.jsx)(
|
|
23993
|
+
oD.displayName = aD;
|
|
23994
|
+
var sD = "PopoverPortal", [cD, lD] = ZE(sD, { forceMount: void 0 }), uD = (e) => {
|
|
23995
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = tD(sD, t);
|
|
23996
|
+
return /* @__PURE__ */ (0, X.jsx)(cD, {
|
|
24025
23997
|
scope: t,
|
|
24026
23998
|
forceMount: n,
|
|
24027
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
23999
|
+
children: /* @__PURE__ */ (0, X.jsx)(bT, {
|
|
24028
24000
|
present: n || a.open,
|
|
24029
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
24001
|
+
children: /* @__PURE__ */ (0, X.jsx)(vT, {
|
|
24030
24002
|
asChild: !0,
|
|
24031
24003
|
container: i,
|
|
24032
24004
|
children: r
|
|
@@ -24034,47 +24006,47 @@ var fD = "PopoverPortal", [pD, mD] = nD(fD, { forceMount: void 0 }), hD = (e) =>
|
|
|
24034
24006
|
})
|
|
24035
24007
|
});
|
|
24036
24008
|
};
|
|
24037
|
-
|
|
24038
|
-
var
|
|
24039
|
-
let n =
|
|
24040
|
-
return /* @__PURE__ */ (0, X.jsx)(
|
|
24009
|
+
uD.displayName = sD;
|
|
24010
|
+
var dD = "PopoverContent", fD = H.forwardRef((e, t) => {
|
|
24011
|
+
let n = lD(dD, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = tD(dD, e.__scopePopover);
|
|
24012
|
+
return /* @__PURE__ */ (0, X.jsx)(bT, {
|
|
24041
24013
|
present: r || a.open,
|
|
24042
|
-
children: a.modal ? /* @__PURE__ */ (0, X.jsx)(
|
|
24014
|
+
children: a.modal ? /* @__PURE__ */ (0, X.jsx)(mD, {
|
|
24043
24015
|
...i,
|
|
24044
24016
|
ref: t
|
|
24045
|
-
}) : /* @__PURE__ */ (0, X.jsx)(
|
|
24017
|
+
}) : /* @__PURE__ */ (0, X.jsx)(hD, {
|
|
24046
24018
|
...i,
|
|
24047
24019
|
ref: t
|
|
24048
24020
|
})
|
|
24049
24021
|
});
|
|
24050
24022
|
});
|
|
24051
|
-
|
|
24052
|
-
var
|
|
24053
|
-
let n =
|
|
24023
|
+
fD.displayName = dD;
|
|
24024
|
+
var pD = /* @__PURE__ */ Vx("PopoverContent.RemoveScroll"), mD = H.forwardRef((e, t) => {
|
|
24025
|
+
let n = tD(dD, e.__scopePopover), r = H.useRef(null), i = Rx(t, r), a = H.useRef(!1);
|
|
24054
24026
|
return H.useEffect(() => {
|
|
24055
24027
|
let e = r.current;
|
|
24056
|
-
if (e) return
|
|
24057
|
-
}, []), /* @__PURE__ */ (0, X.jsx)(
|
|
24058
|
-
as:
|
|
24028
|
+
if (e) return IT(e);
|
|
24029
|
+
}, []), /* @__PURE__ */ (0, X.jsx)(YE, {
|
|
24030
|
+
as: pD,
|
|
24059
24031
|
allowPinchZoom: !0,
|
|
24060
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
24032
|
+
children: /* @__PURE__ */ (0, X.jsx)(gD, {
|
|
24061
24033
|
...e,
|
|
24062
24034
|
ref: i,
|
|
24063
24035
|
trapFocus: n.open,
|
|
24064
24036
|
disableOutsidePointerEvents: !0,
|
|
24065
|
-
onCloseAutoFocus:
|
|
24037
|
+
onCloseAutoFocus: Fx(e.onCloseAutoFocus, (e) => {
|
|
24066
24038
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
24067
24039
|
}),
|
|
24068
|
-
onPointerDownOutside:
|
|
24040
|
+
onPointerDownOutside: Fx(e.onPointerDownOutside, (e) => {
|
|
24069
24041
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
24070
24042
|
a.current = t.button === 2 || n;
|
|
24071
24043
|
}, { checkForDefaultPrevented: !1 }),
|
|
24072
|
-
onFocusOutside:
|
|
24044
|
+
onFocusOutside: Fx(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
24073
24045
|
})
|
|
24074
24046
|
});
|
|
24075
|
-
}),
|
|
24076
|
-
let n =
|
|
24077
|
-
return /* @__PURE__ */ (0, X.jsx)(
|
|
24047
|
+
}), hD = H.forwardRef((e, t) => {
|
|
24048
|
+
let n = tD(dD, e.__scopePopover), r = H.useRef(!1), i = H.useRef(!1);
|
|
24049
|
+
return /* @__PURE__ */ (0, X.jsx)(gD, {
|
|
24078
24050
|
...e,
|
|
24079
24051
|
ref: t,
|
|
24080
24052
|
trapFocus: !1,
|
|
@@ -24088,15 +24060,15 @@ var vD = /* @__PURE__ */ Kx("PopoverContent.RemoveScroll"), yD = H.forwardRef((e
|
|
|
24088
24060
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
24089
24061
|
}
|
|
24090
24062
|
});
|
|
24091
|
-
}),
|
|
24092
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
24093
|
-
return
|
|
24063
|
+
}), gD = H.forwardRef((e, t) => {
|
|
24064
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = tD(dD, n), p = $E(n);
|
|
24065
|
+
return dS(), /* @__PURE__ */ (0, X.jsx)(_S, {
|
|
24094
24066
|
asChild: !0,
|
|
24095
24067
|
loop: !0,
|
|
24096
24068
|
trapped: r,
|
|
24097
24069
|
onMountAutoFocus: i,
|
|
24098
24070
|
onUnmountAutoFocus: a,
|
|
24099
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
24071
|
+
children: /* @__PURE__ */ (0, X.jsx)(rS, {
|
|
24100
24072
|
asChild: !0,
|
|
24101
24073
|
disableOutsidePointerEvents: o,
|
|
24102
24074
|
onInteractOutside: u,
|
|
@@ -24104,8 +24076,8 @@ var vD = /* @__PURE__ */ Kx("PopoverContent.RemoveScroll"), yD = H.forwardRef((e
|
|
|
24104
24076
|
onPointerDownOutside: c,
|
|
24105
24077
|
onFocusOutside: l,
|
|
24106
24078
|
onDismiss: () => f.onOpenChange(!1),
|
|
24107
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
24108
|
-
"data-state":
|
|
24079
|
+
children: /* @__PURE__ */ (0, X.jsx)(hT, {
|
|
24080
|
+
"data-state": xD(f.open),
|
|
24109
24081
|
role: "dialog",
|
|
24110
24082
|
id: f.contentId,
|
|
24111
24083
|
...p,
|
|
@@ -24122,45 +24094,45 @@ var vD = /* @__PURE__ */ Kx("PopoverContent.RemoveScroll"), yD = H.forwardRef((e
|
|
|
24122
24094
|
})
|
|
24123
24095
|
})
|
|
24124
24096
|
});
|
|
24125
|
-
}),
|
|
24126
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
24127
|
-
return /* @__PURE__ */ (0, X.jsx)(
|
|
24097
|
+
}), _D = "PopoverClose", vD = H.forwardRef((e, t) => {
|
|
24098
|
+
let { __scopePopover: n, ...r } = e, i = tD(_D, n);
|
|
24099
|
+
return /* @__PURE__ */ (0, X.jsx)(qx.button, {
|
|
24128
24100
|
type: "button",
|
|
24129
24101
|
...r,
|
|
24130
24102
|
ref: t,
|
|
24131
|
-
onClick:
|
|
24103
|
+
onClick: Fx(e.onClick, () => i.onOpenChange(!1))
|
|
24132
24104
|
});
|
|
24133
24105
|
});
|
|
24134
|
-
|
|
24135
|
-
var
|
|
24136
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
24137
|
-
return /* @__PURE__ */ (0, X.jsx)(
|
|
24106
|
+
vD.displayName = _D;
|
|
24107
|
+
var yD = "PopoverArrow", bD = H.forwardRef((e, t) => {
|
|
24108
|
+
let { __scopePopover: n, ...r } = e, i = $E(n);
|
|
24109
|
+
return /* @__PURE__ */ (0, X.jsx)(gT, {
|
|
24138
24110
|
...i,
|
|
24139
24111
|
...r,
|
|
24140
24112
|
ref: t
|
|
24141
24113
|
});
|
|
24142
24114
|
});
|
|
24143
|
-
|
|
24144
|
-
function
|
|
24115
|
+
bD.displayName = yD;
|
|
24116
|
+
function xD(e) {
|
|
24145
24117
|
return e ? "open" : "closed";
|
|
24146
24118
|
}
|
|
24147
|
-
var
|
|
24119
|
+
var SD = nD, CD = oD, wD = fD, TD = bD, ED = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, X.jsxs)(SD, {
|
|
24148
24120
|
defaultOpen: n,
|
|
24149
24121
|
children: [/* @__PURE__ */ (0, X.jsx)("div", {
|
|
24150
24122
|
className: "flex justify-center",
|
|
24151
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
24123
|
+
children: /* @__PURE__ */ (0, X.jsx)(CD, {
|
|
24152
24124
|
asChild: !0,
|
|
24153
24125
|
children: t
|
|
24154
24126
|
})
|
|
24155
|
-
}), /* @__PURE__ */ (0, X.jsxs)(
|
|
24127
|
+
}), /* @__PURE__ */ (0, X.jsxs)(wD, {
|
|
24156
24128
|
className: "sid-popover__container",
|
|
24157
24129
|
sideOffset: 10,
|
|
24158
24130
|
side: "bottom",
|
|
24159
|
-
children: [e, /* @__PURE__ */ (0, X.jsx)(
|
|
24131
|
+
children: [e, /* @__PURE__ */ (0, X.jsx)(TD, { className: "sid-popover__caret" })]
|
|
24160
24132
|
})]
|
|
24161
|
-
}),
|
|
24133
|
+
}), DD = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
24162
24134
|
let n = rb();
|
|
24163
|
-
return /* @__PURE__ */ (0, X.jsx)(
|
|
24135
|
+
return /* @__PURE__ */ (0, X.jsx)(ED, {
|
|
24164
24136
|
initialVisibility: t,
|
|
24165
24137
|
trigger: /* @__PURE__ */ (0, X.jsx)("button", {
|
|
24166
24138
|
type: "button",
|
|
@@ -24176,7 +24148,7 @@ var DD = sD, OD = dD, kD = _D, AD = TD, jD = ({ message: e, trigger: t, initialV
|
|
|
24176
24148
|
/* @__PURE__ */ (0, X.jsx)(Yy, { verificationService: e })
|
|
24177
24149
|
] })
|
|
24178
24150
|
});
|
|
24179
|
-
},
|
|
24151
|
+
}, OD = ({ verificationService: e }) => {
|
|
24180
24152
|
let t = k(() => e.programTheme.remainingRewardCodes, null);
|
|
24181
24153
|
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, X.jsxs)("div", {
|
|
24182
24154
|
className: "sid-rewards-remaining",
|
|
@@ -24191,11 +24163,11 @@ var DD = sD, OD = dD, kD = _D, AD = TD, jD = ({ message: e, trigger: t, initialV
|
|
|
24191
24163
|
/* @__PURE__ */ (0, X.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
24192
24164
|
]
|
|
24193
24165
|
}) : null;
|
|
24194
|
-
},
|
|
24195
|
-
let { verificationResponse: n } = e, r =
|
|
24166
|
+
}, kD = (e) => e !== void 0, AD = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
24167
|
+
let { verificationResponse: n } = e, r = kD(n) ? Qd(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
24196
24168
|
return /* @__PURE__ */ (0, X.jsx)("div", {
|
|
24197
24169
|
className: "sid-personal-info-header",
|
|
24198
|
-
children: /* @__PURE__ */ (0, X.jsxs)(
|
|
24170
|
+
children: /* @__PURE__ */ (0, X.jsxs)(Px, {
|
|
24199
24171
|
verificationService: e,
|
|
24200
24172
|
title: /* @__PURE__ */ (0, X.jsx)(gb, {
|
|
24201
24173
|
id: i,
|
|
@@ -24209,7 +24181,7 @@ var DD = sD, OD = dD, kD = _D, AD = TD, jD = ({ message: e, trigger: t, initialV
|
|
|
24209
24181
|
}),
|
|
24210
24182
|
/* @__PURE__ */ (0, X.jsx)("div", {
|
|
24211
24183
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
24212
|
-
children: !r && /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [/* @__PURE__ */ (0, X.jsx)(
|
|
24184
|
+
children: !r && /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [/* @__PURE__ */ (0, X.jsx)(DD, { verificationService: e }), /* @__PURE__ */ (0, X.jsx)(OD, { verificationService: e })] })
|
|
24213
24185
|
}),
|
|
24214
24186
|
/* @__PURE__ */ (0, X.jsx)("div", {
|
|
24215
24187
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -24218,15 +24190,15 @@ var DD = sD, OD = dD, kD = _D, AD = TD, jD = ({ message: e, trigger: t, initialV
|
|
|
24218
24190
|
]
|
|
24219
24191
|
})
|
|
24220
24192
|
});
|
|
24221
|
-
},
|
|
24222
|
-
let { isEmbedded: i } =
|
|
24193
|
+
}, jD = () => ({ isEmbedded: !!ze("verificationIframeUid") }), MD = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
24194
|
+
let { isEmbedded: i } = jD();
|
|
24223
24195
|
return !r || i ? /* @__PURE__ */ (0, X.jsx)(X.Fragment, { children: t }) : /* @__PURE__ */ (0, X.jsx)("div", {
|
|
24224
24196
|
className: `sid-layout sid-layout--${e}`,
|
|
24225
24197
|
children: /* @__PURE__ */ (0, X.jsxs)("div", {
|
|
24226
24198
|
className: "sid-layout__container",
|
|
24227
24199
|
children: [e === "fullRight" && /* @__PURE__ */ (0, X.jsx)("div", {
|
|
24228
24200
|
className: "sid-layout__content",
|
|
24229
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
24201
|
+
children: /* @__PURE__ */ (0, X.jsx)(AD, {
|
|
24230
24202
|
verificationService: n,
|
|
24231
24203
|
classNameIdentifier: "landing"
|
|
24232
24204
|
})
|
|
@@ -24239,11 +24211,40 @@ var DD = sD, OD = dD, kD = _D, AD = TD, jD = ({ message: e, trigger: t, initialV
|
|
|
24239
24211
|
})]
|
|
24240
24212
|
})
|
|
24241
24213
|
});
|
|
24242
|
-
},
|
|
24214
|
+
}, ND = ({ children: e }) => /* @__PURE__ */ (0, X.jsx)("div", {
|
|
24243
24215
|
className: "sid sid-form-wrapper",
|
|
24244
24216
|
children: e
|
|
24245
|
-
}),
|
|
24246
|
-
|
|
24217
|
+
}), PD = {
|
|
24218
|
+
"doc-upload-redesign-use-legacy-message-keys": !1,
|
|
24219
|
+
"doc-upload-may24": "default",
|
|
24220
|
+
"include-cvec-field-france-student": "default",
|
|
24221
|
+
"docUpload-assertion-checklist": "default",
|
|
24222
|
+
"doc-upload-considerations": "default",
|
|
24223
|
+
"org-search-overlay": "default",
|
|
24224
|
+
"org-selected-display": "default",
|
|
24225
|
+
"hc-open-org-warning": "control"
|
|
24226
|
+
}, FD = "_flagOverride", ID = (e = PD, t = window.location.href) => new URL(t).searchParams.getAll(FD).reduce((t, n) => {
|
|
24227
|
+
let [r, i] = n.split(":");
|
|
24228
|
+
if (!r || !i || !Object.keys(e).includes(r)) return t;
|
|
24229
|
+
let a = i === "true" || i === "false" ? JSON.parse(i) : i;
|
|
24230
|
+
return {
|
|
24231
|
+
...t,
|
|
24232
|
+
[r]: a
|
|
24233
|
+
};
|
|
24234
|
+
}, {}), LD = () => {
|
|
24235
|
+
let e = Ry(), t = ID();
|
|
24236
|
+
return {
|
|
24237
|
+
...e,
|
|
24238
|
+
...t
|
|
24239
|
+
};
|
|
24240
|
+
};
|
|
24241
|
+
function RD(e) {
|
|
24242
|
+
return LD()[e];
|
|
24243
|
+
}
|
|
24244
|
+
//#endregion
|
|
24245
|
+
//#region src/components/NewVerificationInnerComponent.tsx
|
|
24246
|
+
var zD = ({ locale: e, messages: t, programTheme: n, verificationService: r, programId: i }) => {
|
|
24247
|
+
let a = zy(), o = G(), s = r.programTheme.themeChoices?.landingPage.layout || "center", { renderAs: c } = o, l = LD();
|
|
24247
24248
|
return H.useEffect(() => {
|
|
24248
24249
|
try {
|
|
24249
24250
|
if (l && r && r.viewModel) {
|
|
@@ -24283,13 +24284,13 @@ var DD = sD, OD = dD, kD = _D, AD = TD, jD = ({ message: e, trigger: t, initialV
|
|
|
24283
24284
|
...t,
|
|
24284
24285
|
...(0, u.default)(Xi(e))
|
|
24285
24286
|
},
|
|
24286
|
-
textComponent:
|
|
24287
|
+
textComponent: Mx,
|
|
24287
24288
|
children: /* @__PURE__ */ (0, X.jsx)(Wy, {
|
|
24288
24289
|
themeChoices: n.themeChoices,
|
|
24289
24290
|
customCssFromOptions: G().customCss,
|
|
24290
24291
|
children: /* @__PURE__ */ (0, X.jsx)("div", {
|
|
24291
24292
|
className: `${Sg.default.isRtlLang(Zi(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
24292
|
-
children: /* @__PURE__ */ (0, X.jsx)(
|
|
24293
|
+
children: /* @__PURE__ */ (0, X.jsx)(ND, { children: /* @__PURE__ */ (0, X.jsx)(MD, {
|
|
24293
24294
|
layout: s,
|
|
24294
24295
|
verificationService: r,
|
|
24295
24296
|
renderAsLandingPage: c === "landingPage",
|
|
@@ -24297,7 +24298,7 @@ var DD = sD, OD = dD, kD = _D, AD = TD, jD = ({ message: e, trigger: t, initialV
|
|
|
24297
24298
|
fallback: /* @__PURE__ */ (0, X.jsx)(bg, { step: r.loadingStep }),
|
|
24298
24299
|
children: /* @__PURE__ */ (0, X.jsx)(mr, {
|
|
24299
24300
|
i18n: Cr,
|
|
24300
|
-
children: r.isLoading ? /* @__PURE__ */ (0, X.jsx)(bg, { step: r.loadingStep }) : /* @__PURE__ */ (0, X.jsxs)("div", { children: [!G().hideTestModeFlag && /* @__PURE__ */ (0, X.jsx)(
|
|
24301
|
+
children: r.isLoading ? /* @__PURE__ */ (0, X.jsx)(bg, { step: r.loadingStep }) : /* @__PURE__ */ (0, X.jsxs)("div", { children: [!G().hideTestModeFlag && /* @__PURE__ */ (0, X.jsx)(Nx, { verificationService: r }), /* @__PURE__ */ (0, X.jsx)(jx, {
|
|
24301
24302
|
stepToLoad: r.overrideStep || r.verificationResponse.currentStep,
|
|
24302
24303
|
verificationService: r
|
|
24303
24304
|
})] })
|
|
@@ -24335,7 +24336,7 @@ var DD = sD, OD = dD, kD = _D, AD = TD, jD = ({ message: e, trigger: t, initialV
|
|
|
24335
24336
|
if (bi(), VD(), Yo((e) => {
|
|
24336
24337
|
switch (e.data.action) {
|
|
24337
24338
|
case "setViewModel":
|
|
24338
|
-
|
|
24339
|
+
yb(e.data.viewModel, {
|
|
24339
24340
|
partial: !0,
|
|
24340
24341
|
metadataCheck: !0,
|
|
24341
24342
|
externalUserIdCheck: !0
|
|
@@ -24363,7 +24364,7 @@ var DD = sD, OD = dD, kD = _D, AD = TD, jD = ({ message: e, trigger: t, initialV
|
|
|
24363
24364
|
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return O.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, X.jsx)($h, {
|
|
24364
24365
|
locale: "en",
|
|
24365
24366
|
messages: r,
|
|
24366
|
-
textComponent:
|
|
24367
|
+
textComponent: Mx,
|
|
24367
24368
|
children: /* @__PURE__ */ (0, X.jsx)(bg, {})
|
|
24368
24369
|
}, t);
|
|
24369
24370
|
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
@@ -24401,7 +24402,7 @@ var DD = sD, OD = dD, kD = _D, AD = TD, jD = ({ message: e, trigger: t, initialV
|
|
|
24401
24402
|
}), GD = ({ programId: e, children: t }) => /* @__PURE__ */ (0, X.jsx)(Ly, {
|
|
24402
24403
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
24403
24404
|
context: WD(e),
|
|
24404
|
-
flags:
|
|
24405
|
+
flags: PD,
|
|
24405
24406
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
24406
24407
|
options: { streaming: !1 },
|
|
24407
24408
|
children: t
|
|
@@ -24487,4 +24488,4 @@ var tO = {
|
|
|
24487
24488
|
resetProgramOptions: QD
|
|
24488
24489
|
};
|
|
24489
24490
|
//#endregion
|
|
24490
|
-
export {
|
|
24491
|
+
export { Ib as $, jr as $t, Qb as A, o as An, Bu as At, sx as B, Xs as Bt, Jx as C, pe as Cn, dp as Ct, Rx as D, k as Dn, Gd as Dt, Lx as E, M as En, Qd as Et, Gb as F, Dc as Ft, Yb as G, fs as Gt, $b as H, Ls as Ht, tx as I, dc as It, ax as J, $i as Jt, Ub as K, Bo as Kt, Hb as L, oc as Lt, rx as M, l as Mn, yu as Mt, zb as N, gc as Nt, Fx as O, O as On, Kd as Ot, Bb as P, uc as Pt, Fb as Q, Er as Qt, ix as R, ec as Rt, qx as S, fe as Sn, gp as St, zx as T, F as Tn, Wf as Tt, ex as U, vs as Ut, ox as V, Bs as Vt, Rb as W, ms as Wt, Lb as X, Li as Xt, nx as Y, G as Yt, Xb as Z, Or as Zt, MS as _, ge as _n, _g as _t, zT as a, ot as an, xb as at, rS as b, Se as bn, jh as bt, IT as c, rt as cn, gb as ct, vT as d, tO as default, ze as dn, Jy as dt, Ar as en, Nb as et, mT as f, Fe as fn, qy as ft, Zw as g, $D as getFeatureFlags, eO as getProgramMessages, ve as gn, vg as gt, pT as h, we as hn, bg as ht, YE as i, B as in, Sb as it, Vb as j, s as jn, Fd as jt, fx as k, D as kn, Ud as kt, TT as l, it as ln, YD as loadInElement, $y as lt, hT as m, he as mn, zy as mt, AD as n, hn as nn, Ab as nt, BT as o, et as on, bb as ot, gT as p, L as pn, Vy as pt, Pb as q, na as qt, OD as r, QD as resetProgramOptions, Ue as rn, Cb as rt, HT as s, ZD as setProgramOptions, XD as setProgramThemeChoices, $e as sn, yb as st, RD as t, Cr as tn, Mb as tt, bT as u, Qe as un, Yy as ut, _S as v, me as vn, hg as vt, Vx as w, Te as wn, up as wt, Yx as x, ue as xn, Pm as xt, dS as y, Ce as yn, mg as yt, Zb as z, Zs as zt };
|