@sheerid/jslib 2.257.0 → 2.259.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 +1039 -1039
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/AddressComponent-DMwOmjiG.js +4 -4
- package/chunk/AddressComponent-DluNaOpg.js +4 -4
- package/chunk/AnnouncingHeader-BZreAj2L.js +4 -4
- package/chunk/AnnouncingHeader-DjgtqEeX.js +4 -4
- package/chunk/{ApiUrls-YF6TyaSs.js → ApiUrls-CMxzfcln.js} +7 -7
- package/chunk/ApiUrls-CMxzfcln.js.map +1 -0
- package/chunk/{ApiUrls-kNSykNOJ.js → ApiUrls-wmwWKS2C.js} +7 -7
- package/chunk/ApiUrls-wmwWKS2C.js.map +1 -0
- package/chunk/{BirthDateComponent-DONZ5fzS.js → BirthDateComponent-CRcyEtHM.js} +5 -5
- package/chunk/{BirthDateComponent-Cbir66WP.js.map → BirthDateComponent-CRcyEtHM.js.map} +1 -1
- package/chunk/{BirthDateComponent-Cbir66WP.js → BirthDateComponent-llCfw7_W.js} +5 -5
- package/chunk/{BirthDateComponent-DONZ5fzS.js.map → BirthDateComponent-llCfw7_W.js.map} +1 -1
- package/chunk/{CaptchaComponent-CWAAvH7w.js → CaptchaComponent-BFxgmyuB.js} +6 -6
- package/chunk/{CaptchaComponent-CWAAvH7w.js.map → CaptchaComponent-BFxgmyuB.js.map} +1 -1
- package/chunk/{CaptchaComponent-CjxsuQNp.js → CaptchaComponent-PWuS9jOd.js} +6 -6
- package/chunk/{CaptchaComponent-CjxsuQNp.js.map → CaptchaComponent-PWuS9jOd.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-_DkBI-O7.js → ChangeLocaleComponent-Bx6q68EQ.js} +5 -5
- package/chunk/{ChangeLocaleComponent-B49jCxWi.js.map → ChangeLocaleComponent-Bx6q68EQ.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-B49jCxWi.js → ChangeLocaleComponent-CWaoihG4.js} +5 -5
- package/chunk/{ChangeLocaleComponent-_DkBI-O7.js.map → ChangeLocaleComponent-CWaoihG4.js.map} +1 -1
- package/chunk/City-BP95fpVf.js +4 -4
- package/chunk/City-CmO85Z9x.js +4 -4
- package/chunk/{CollegeNameComponent-DCP1jDNx.js → CollegeNameComponent-2PXS2ePf.js} +5 -5
- package/chunk/{CollegeNameComponent-DCP1jDNx.js.map → CollegeNameComponent-2PXS2ePf.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Dw6x6u9H.js → CollegeNameComponent-L7k680Sn.js} +5 -5
- package/chunk/{CollegeNameComponent-Dw6x6u9H.js.map → CollegeNameComponent-L7k680Sn.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-1BeB_oX_.js +4 -4
- package/chunk/CopyToClipboardComponent-6MY3v7_-.js +4 -4
- package/chunk/{CountryComponentWrapper-D2lHioPo.js → CountryComponentWrapper-CAVCVXi7.js} +5 -5
- package/chunk/{CountryComponentWrapper-Ci-eM3LZ.js.map → CountryComponentWrapper-CAVCVXi7.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-Ci-eM3LZ.js → CountryComponentWrapper-DSy5reL2.js} +5 -5
- package/chunk/{CountryComponentWrapper-D2lHioPo.js.map → CountryComponentWrapper-DSy5reL2.js.map} +1 -1
- package/chunk/{DischargeDateComponent-BEZPJ6VA.js → DischargeDateComponent-1m_NMvKq.js} +7 -7
- package/chunk/{DischargeDateComponent-BEZPJ6VA.js.map → DischargeDateComponent-1m_NMvKq.js.map} +1 -1
- package/chunk/{DischargeDateComponent-BqBhrUXb.js → DischargeDateComponent-BR2dWL3V.js} +7 -7
- package/chunk/{DischargeDateComponent-BqBhrUXb.js.map → DischargeDateComponent-BR2dWL3V.js.map} +1 -1
- package/chunk/DriverLicenseNumberComponent-CQeKZs0G.js +4 -4
- package/chunk/DriverLicenseNumberComponent-DgXMM-Pt.js +4 -4
- package/chunk/{EmailLoopPending-C7R3cvjD.js → EmailLoopPending-CYcjVnBb.js} +5 -5
- package/chunk/{EmailLoopPending-Dl0j9jPU.js.map → EmailLoopPending-CYcjVnBb.js.map} +1 -1
- package/chunk/{EmailLoopPending-Dl0j9jPU.js → EmailLoopPending-UoSRB9_p.js} +5 -5
- package/chunk/{EmailLoopPending-C7R3cvjD.js.map → EmailLoopPending-UoSRB9_p.js.map} +1 -1
- package/chunk/{ExtraMessage-DhWQOpZE.js → ExtraMessage-B8JJs1B1.js} +5 -5
- package/chunk/{ExtraMessage-5bkoWe4m.js.map → ExtraMessage-B8JJs1B1.js.map} +1 -1
- package/chunk/{ExtraMessage-5bkoWe4m.js → ExtraMessage-CvX2-UUd.js} +5 -5
- package/chunk/{ExtraMessage-DhWQOpZE.js.map → ExtraMessage-CvX2-UUd.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DoJl8kF4.js → FirstResponderOrganizationComponent-BPohnWTK.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-BS5jL_dk.js.map → FirstResponderOrganizationComponent-BPohnWTK.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BS5jL_dk.js → FirstResponderOrganizationComponent-C65uBoFZ.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-DoJl8kF4.js.map → FirstResponderOrganizationComponent-C65uBoFZ.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CG3KJsm0.js → FormFieldInputSelect-CA33_XWB.js} +5 -5
- package/chunk/{FormFieldInputSelect-CG3KJsm0.js.map → FormFieldInputSelect-CA33_XWB.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Dph4SbVn.js → FormFieldInputSelect-Czqu-Pmp.js} +5 -5
- package/chunk/{FormFieldInputSelect-Dph4SbVn.js.map → FormFieldInputSelect-Czqu-Pmp.js.map} +1 -1
- package/chunk/FormFieldLayout-CUA-PItd.js +4 -4
- package/chunk/FormFieldLayout-DIcCOsGu.js +4 -4
- package/chunk/FormFieldText-BeEhq8Kc.js +4 -4
- package/chunk/FormFieldText-zjWk7Cyc.js +4 -4
- package/chunk/{FormFieldTypeahead-DWEi8I3c.js → FormFieldTypeahead-D6O7vbrI.js} +10 -10
- package/chunk/FormFieldTypeahead-D6O7vbrI.js.map +1 -0
- package/chunk/{FormFieldTypeahead-BISMQdr-.js → FormFieldTypeahead-DeErMxU5.js} +10 -10
- package/chunk/FormFieldTypeahead-DeErMxU5.js.map +1 -0
- package/chunk/{FormFooterComponent-Cqp9nEWQ.js → FormFooterComponent-DCpHwIvH.js} +1136 -1143
- package/chunk/{FormFooterComponent-Cqp9nEWQ.js.map → FormFooterComponent-DCpHwIvH.js.map} +1 -1
- package/chunk/{FormFooterComponent-v9LR78TQ.js → FormFooterComponent-lkSSDuP2.js} +1087 -1094
- package/chunk/FormFooterComponent-lkSSDuP2.js.map +1 -0
- package/chunk/{FormSelectChoice-C8G7NDIE.js → FormSelectChoice-0iF6V7Yx.js} +5 -5
- package/chunk/{FormSelectChoice-C8G7NDIE.js.map → FormSelectChoice-0iF6V7Yx.js.map} +1 -1
- package/chunk/{FormSelectChoice-CXcrFjcm.js → FormSelectChoice-DPmhEFvl.js} +5 -5
- package/chunk/{FormSelectChoice-CXcrFjcm.js.map → FormSelectChoice-DPmhEFvl.js.map} +1 -1
- package/chunk/InputText-Bzkl8mKj.js +4 -4
- package/chunk/InputText-CkDvaW9P.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-Dm9j53yR.js → LicensedProfessionalOrganizationComponent-CcDWU643.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-n-ddHerW.js.map → LicensedProfessionalOrganizationComponent-CcDWU643.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-n-ddHerW.js → LicensedProfessionalOrganizationComponent-DsLT8IyE.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-Dm9j53yR.js.map → LicensedProfessionalOrganizationComponent-DsLT8IyE.js.map} +1 -1
- package/chunk/LogoComponent-BMeuu-aK.js +4 -4
- package/chunk/LogoComponent-CFPoRk_q.js +4 -4
- package/chunk/{LowIncomeOrganizationComponent-CihlxKE0.js → LowIncomeOrganizationComponent-BQmLLIA7.js} +7 -7
- package/chunk/{LowIncomeOrganizationComponent-CihlxKE0.js.map → LowIncomeOrganizationComponent-BQmLLIA7.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CrVv-JGD.js → LowIncomeOrganizationComponent-ClrHFbDQ.js} +7 -7
- package/chunk/{LowIncomeOrganizationComponent-CrVv-JGD.js.map → LowIncomeOrganizationComponent-ClrHFbDQ.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CjY4YV2o.js → MedicalProfessionalOrganizationComponent-C6qWK8CC.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-9ZdAz9Bd.js.map → MedicalProfessionalOrganizationComponent-C6qWK8CC.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-9ZdAz9Bd.js → MedicalProfessionalOrganizationComponent-Txm4_49Z.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-CjY4YV2o.js.map → MedicalProfessionalOrganizationComponent-Txm4_49Z.js.map} +1 -1
- package/chunk/MemberIdComponent-D_KVob09.js +4 -4
- package/chunk/MemberIdComponent-Dva2Xx7J.js +4 -4
- package/chunk/{MembershipOrganizationComponent-BREeSUa9.js → MembershipOrganizationComponent-CjYBJsct.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-BREeSUa9.js.map → MembershipOrganizationComponent-CjYBJsct.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CtsN_EOU.js → MembershipOrganizationComponent-DlNL6K9Z.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-CtsN_EOU.js.map → MembershipOrganizationComponent-DlNL6K9Z.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-CdweyyxM.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-Ywai8bYu.js +4 -4
- package/chunk/{PersonalInfoStepWrapper-DK8IScMk.js → PersonalInfoStepWrapper-DOGAXhdr.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-DK8IScMk.js.map → PersonalInfoStepWrapper-DOGAXhdr.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DwEv_qJC.js → PersonalInfoStepWrapper-PzXD3h7a.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-DwEv_qJC.js.map → PersonalInfoStepWrapper-PzXD3h7a.js.map} +1 -1
- package/chunk/PostalCodeComponent-C97fgZFI.js +4 -4
- package/chunk/PostalCodeComponent-YFm2z5qa.js +4 -4
- package/chunk/SSN-CtVtLOD7.js +4 -4
- package/chunk/SSN-mk_cMbDH.js +4 -4
- package/chunk/{StateSelectComponent-BjJAh7ni.js → StateSelectComponent-BnGbnRTj.js} +5 -5
- package/chunk/{StateSelectComponent-BjJAh7ni.js.map → StateSelectComponent-BnGbnRTj.js.map} +1 -1
- package/chunk/{StateSelectComponent-TpcRMH2O.js → StateSelectComponent-Bt2ZmfME.js} +5 -5
- package/chunk/{StateSelectComponent-TpcRMH2O.js.map → StateSelectComponent-Bt2ZmfME.js.map} +1 -1
- package/chunk/{StatusComponent-BHXsZJ9x.js → StatusComponent-DnUWAEJj.js} +5 -5
- package/chunk/{StatusComponent-BHXsZJ9x.js.map → StatusComponent-DnUWAEJj.js.map} +1 -1
- package/chunk/{StatusComponent-DyQ2-iEF.js → StatusComponent-ajJ9Ta__.js} +5 -5
- package/chunk/{StatusComponent-DyQ2-iEF.js.map → StatusComponent-ajJ9Ta__.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BJ4JExxI.js → StepActiveMilitaryPersonalInfoComponent-BTOGTIXg.js} +13 -13
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BJ4JExxI.js.map → StepActiveMilitaryPersonalInfoComponent-BTOGTIXg.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DGCP-zrs.js → StepActiveMilitaryPersonalInfoComponent-DhvouiGN.js} +13 -13
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DGCP-zrs.js.map → StepActiveMilitaryPersonalInfoComponent-DhvouiGN.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-UU9ztrG8.js → StepAgePersonalInfo-CMC6rjNO.js} +12 -12
- package/chunk/{StepAgePersonalInfo-COnJq3HY.js.map → StepAgePersonalInfo-CMC6rjNO.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-COnJq3HY.js → StepAgePersonalInfo-DujabZHH.js} +12 -12
- package/chunk/{StepAgePersonalInfo-UU9ztrG8.js.map → StepAgePersonalInfo-DujabZHH.js.map} +1 -1
- package/chunk/StepCard-7t2vkHqM.js +4 -4
- package/chunk/StepCard-BF_RD7Rd.js +4 -4
- package/chunk/{StepCollectIdentifier-CgcaJFwF.js → StepCollectIdentifier-CSVkKgnI.js} +5 -5
- package/chunk/{StepCollectIdentifier-K1WUadIu.js.map → StepCollectIdentifier-CSVkKgnI.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-K1WUadIu.js → StepCollectIdentifier-DwRhpfiv.js} +5 -5
- package/chunk/{StepCollectIdentifier-CgcaJFwF.js.map → StepCollectIdentifier-DwRhpfiv.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-BAblA32a.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-BTE6B_34.js → StepCollectMilitaryStatusComponent-CP3sWYMI.js} +5 -5
- package/chunk/{StepCollectPersonalInfo-CzvyNUYR.js → StepCollectPersonalInfo-Bgq57XJk.js} +20 -20
- package/chunk/{StepCollectPersonalInfo-CzvyNUYR.js.map → StepCollectPersonalInfo-Bgq57XJk.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-Cm9eCXvW.js → StepCollectPersonalInfo-CTvT-qcO.js} +20 -20
- package/chunk/{StepCollectPersonalInfo-Cm9eCXvW.js.map → StepCollectPersonalInfo-CTvT-qcO.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-Cs4zhI-D.js +4 -4
- package/chunk/StepCompleteAuthentication-q5i7ecb3.js +4 -4
- package/chunk/{StepConsolation-Bbi7w5SE.js → StepConsolation-DPEEKVbT.js} +5 -5
- package/chunk/{StepConsolation-Bbi7w5SE.js.map → StepConsolation-DPEEKVbT.js.map} +1 -1
- package/chunk/{StepConsolation-D-n317FK.js → StepConsolation-QlQnL4Uq.js} +5 -5
- package/chunk/{StepConsolation-D-n317FK.js.map → StepConsolation-QlQnL4Uq.js.map} +1 -1
- package/chunk/{StepDocUpload-Cgo6QclU.js → StepDocUpload-CtfGQsaz.js} +5 -5
- package/chunk/{StepDocUpload-Cgo6QclU.js.map → StepDocUpload-CtfGQsaz.js.map} +1 -1
- package/chunk/{StepDocUpload-SFAgF5Pw.js → StepDocUpload-DYxV8Kym.js} +5 -5
- package/chunk/{StepDocUpload-SFAgF5Pw.js.map → StepDocUpload-DYxV8Kym.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-D__ia-uy.js → StepDriverLicensePersonalInfoComponent-Daondhf4.js} +10 -10
- package/chunk/{StepDriverLicensePersonalInfoComponent-D__ia-uy.js.map → StepDriverLicensePersonalInfoComponent-Daondhf4.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Da9rSWTP.js → StepDriverLicensePersonalInfoComponent-Db2VrzNT.js} +10 -10
- package/chunk/{StepDriverLicensePersonalInfoComponent-Da9rSWTP.js.map → StepDriverLicensePersonalInfoComponent-Db2VrzNT.js.map} +1 -1
- package/chunk/{StepEmailLoop-B5FaflNh.js → StepEmailLoop-96EHseY_.js} +6 -6
- package/chunk/{StepEmailLoop-B5FaflNh.js.map → StepEmailLoop-96EHseY_.js.map} +1 -1
- package/chunk/{StepEmailLoop-BPJpYENt.js → StepEmailLoop-CWf8sd-q.js} +6 -6
- package/chunk/{StepEmailLoop-BPJpYENt.js.map → StepEmailLoop-CWf8sd-q.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-C9Q0HvNi.js → StepEmploymentPersonalInfo-B_OwsviZ.js} +11 -11
- package/chunk/{StepEmploymentPersonalInfo-C9Q0HvNi.js.map → StepEmploymentPersonalInfo-B_OwsviZ.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CoxYYMsj.js → StepEmploymentPersonalInfo-DiVG1C7j.js} +11 -11
- package/chunk/{StepEmploymentPersonalInfo-CoxYYMsj.js.map → StepEmploymentPersonalInfo-DiVG1C7j.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-D-nuYjr4.js → StepFirstResponderPersonalInfo-CyQIP6B5.js} +13 -13
- package/chunk/{StepFirstResponderPersonalInfo-D-nuYjr4.js.map → StepFirstResponderPersonalInfo-CyQIP6B5.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-hODZ0Ft0.js → StepFirstResponderPersonalInfo-WpzShFnv.js} +13 -13
- package/chunk/{StepFirstResponderPersonalInfo-hODZ0Ft0.js.map → StepFirstResponderPersonalInfo-WpzShFnv.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C9dAwMmc.js → StepGeneralIdentityPersonalInfoComponent-AoQplTrl.js} +11 -11
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B1p6Facu.js.map → StepGeneralIdentityPersonalInfoComponent-AoQplTrl.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B1p6Facu.js → StepGeneralIdentityPersonalInfoComponent-DXTVPfCu.js} +11 -11
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C9dAwMmc.js.map → StepGeneralIdentityPersonalInfoComponent-DXTVPfCu.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-nyAKJNSH.js → StepHybridIdentityPersonalInfoComponent-7mUKXRsj.js} +11 -11
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CAXAwCeB.js.map → StepHybridIdentityPersonalInfoComponent-7mUKXRsj.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CAXAwCeB.js → StepHybridIdentityPersonalInfoComponent-CRngU4Z8.js} +11 -11
- package/chunk/{StepHybridIdentityPersonalInfoComponent-nyAKJNSH.js.map → StepHybridIdentityPersonalInfoComponent-CRngU4Z8.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DyEyLkAv.js → StepIDCheckLoop-DLI2CeQG.js} +5 -5
- package/chunk/{StepIDCheckLoop-DyEyLkAv.js.map → StepIDCheckLoop-DLI2CeQG.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-StTjmfSJ.js → StepIDCheckLoop-DegHcWq1.js} +5 -5
- package/chunk/{StepIDCheckLoop-StTjmfSJ.js.map → StepIDCheckLoop-DegHcWq1.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CEmedZ9T.js → StepIDCheckLoopOnfido-DOfUG4B6.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-CEmedZ9T.js.map → StepIDCheckLoopOnfido-DOfUG4B6.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-B9js21fN.js → StepIDCheckLoopOnfido-vdL7yGQ4.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-B9js21fN.js.map → StepIDCheckLoopOnfido-vdL7yGQ4.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-auOqSkAR.js → StepIDCheckLoopRegula-CEzqWK_p.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-BJ2teu7Y.js.map → StepIDCheckLoopRegula-CEzqWK_p.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BJ2teu7Y.js → StepIDCheckLoopRegula-Ct2yi8ZQ.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-auOqSkAR.js.map → StepIDCheckLoopRegula-Ct2yi8ZQ.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-GelDtWO6.js → StepInactiveMilitaryPersonalInfoComponent-B63tGi2G.js} +15 -15
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-GelDtWO6.js.map → StepInactiveMilitaryPersonalInfoComponent-B63tGi2G.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CW1MoV24.js → StepInactiveMilitaryPersonalInfoComponent-CJfU_-86.js} +15 -15
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CW1MoV24.js.map → StepInactiveMilitaryPersonalInfoComponent-CJfU_-86.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CJuWvyeM.js → StepLicensedProfessionalPersonalInfo-BCUai-I7.js} +13 -13
- package/chunk/{StepLicensedProfessionalPersonalInfo-BCMYp_aC.js.map → StepLicensedProfessionalPersonalInfo-BCUai-I7.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BCMYp_aC.js → StepLicensedProfessionalPersonalInfo-BX8ShUp6.js} +13 -13
- package/chunk/{StepLicensedProfessionalPersonalInfo-CJuWvyeM.js.map → StepLicensedProfessionalPersonalInfo-BX8ShUp6.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BsyG3vqg.js → StepLowIncomePersonalInfo-DhdsxHNd.js} +13 -13
- package/chunk/{StepLowIncomePersonalInfo-BsyG3vqg.js.map → StepLowIncomePersonalInfo-DhdsxHNd.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BvGn84Ze.js → StepLowIncomePersonalInfo-b0kTlX5-.js} +13 -13
- package/chunk/{StepLowIncomePersonalInfo-BvGn84Ze.js.map → StepLowIncomePersonalInfo-b0kTlX5-.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-Bx4ErJPu.js → StepMedicalProfessionalPersonalInfo-BeWq_K7Z.js} +14 -14
- package/chunk/{StepMedicalProfessionalPersonalInfo-BWp_vhos.js.map → StepMedicalProfessionalPersonalInfo-BeWq_K7Z.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BWp_vhos.js → StepMedicalProfessionalPersonalInfo-DqlTiVZ1.js} +14 -14
- package/chunk/{StepMedicalProfessionalPersonalInfo-Bx4ErJPu.js.map → StepMedicalProfessionalPersonalInfo-DqlTiVZ1.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BL9jasJE.js → StepMemberPersonalInfo--gpEUBOh.js} +12 -12
- package/chunk/{StepMemberPersonalInfo-BL9jasJE.js.map → StepMemberPersonalInfo--gpEUBOh.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-Bwg0gewC.js → StepMemberPersonalInfo-BjCqdO0W.js} +12 -12
- package/chunk/{StepMemberPersonalInfo-Bwg0gewC.js.map → StepMemberPersonalInfo-BjCqdO0W.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-Dw96C0gt.js → StepMoverPersonalInfo-D_GxQ6w6.js} +9 -9
- package/chunk/{StepMoverPersonalInfo-7OcNjstS.js.map → StepMoverPersonalInfo-D_GxQ6w6.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-7OcNjstS.js → StepMoverPersonalInfo-Dc1Wo78L.js} +9 -9
- package/chunk/{StepMoverPersonalInfo-Dw96C0gt.js.map → StepMoverPersonalInfo-Dc1Wo78L.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BZ83aLj6.js → StepOverrideComponent-B4gJdpxG.js} +5 -5
- package/chunk/{StepOverrideComponent-BZ83aLj6.js.map → StepOverrideComponent-B4gJdpxG.js.map} +1 -1
- package/chunk/{StepOverrideComponent-ChUsQQOW.js → StepOverrideComponent-CVpCfheF.js} +5 -5
- package/chunk/{StepOverrideComponent-ChUsQQOW.js.map → StepOverrideComponent-CVpCfheF.js.map} +1 -1
- package/chunk/{StepSMSLoop-3CkHqK70.js → StepSMSLoop-BazGkVz0.js} +5 -5
- package/chunk/{StepSMSLoop-3CkHqK70.js.map → StepSMSLoop-BazGkVz0.js.map} +1 -1
- package/chunk/{StepSMSLoop-BxiXaX55.js → StepSMSLoop-DUE0F6-D.js} +5 -5
- package/chunk/{StepSMSLoop-BxiXaX55.js.map → StepSMSLoop-DUE0F6-D.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +4 -4
- package/chunk/StepSSO-BaFk7RFJ.js +4 -4
- package/chunk/{StepSocialSecurityNumber-BxOAoULb.js → StepSocialSecurityNumber-BIfWNwdd.js} +6 -6
- package/chunk/{StepSocialSecurityNumber-CJEZuXpw.js.map → StepSocialSecurityNumber-BIfWNwdd.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CJEZuXpw.js → StepSocialSecurityNumber-C5F_UOgu.js} +6 -6
- package/chunk/{StepSocialSecurityNumber-BxOAoULb.js.map → StepSocialSecurityNumber-C5F_UOgu.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-25n_IHmO.js → StepStudentPersonalInfo-B5pA5Kno.js} +12 -12
- package/chunk/{StepStudentPersonalInfo-25n_IHmO.js.map → StepStudentPersonalInfo-B5pA5Kno.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-Mya0jFUx.js → StepStudentPersonalInfo-BLzjrwKQ.js} +12 -12
- package/chunk/{StepStudentPersonalInfo-Mya0jFUx.js.map → StepStudentPersonalInfo-BLzjrwKQ.js.map} +1 -1
- package/chunk/{StepSuccess-DCAbnrWd.js → StepSuccess-BM8MIrs5.js} +72 -72
- package/chunk/StepSuccess-BM8MIrs5.js.map +1 -0
- package/chunk/{StepSuccess-D_JiUGIt.js → StepSuccess-DiV9Z_NF.js} +71 -71
- package/chunk/StepSuccess-DiV9Z_NF.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-I69FekBC.js → StepTeacherPersonalInfo-CVmVS0pY.js} +13 -13
- package/chunk/{StepTeacherPersonalInfo-Cn1d9hhj.js.map → StepTeacherPersonalInfo-CVmVS0pY.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-Cn1d9hhj.js → StepTeacherPersonalInfo-DV_FeKo7.js} +13 -13
- package/chunk/{StepTeacherPersonalInfo-I69FekBC.js.map → StepTeacherPersonalInfo-DV_FeKo7.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BGHCbduX.js +4 -4
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +4 -4
- package/chunk/{TeacherSchoolComponent-B0n_ES70.js → TeacherSchoolComponent-BPbepOfp.js} +5 -5
- package/chunk/{TeacherSchoolComponent-B0n_ES70.js.map → TeacherSchoolComponent-BPbepOfp.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-DBEwofIQ.js → TeacherSchoolComponent-Cv-smYmA.js} +5 -5
- package/chunk/{TeacherSchoolComponent-DBEwofIQ.js.map → TeacherSchoolComponent-Cv-smYmA.js.map} +1 -1
- package/chunk/TestingRouteOverrides-B-zcTBa_.js +4 -4
- package/chunk/TestingRouteOverrides-DCR0qXVH.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-XEv61Ta1.js → VerificationApiClient-BTLAOHGR.js} +182 -174
- package/chunk/VerificationApiClient-BTLAOHGR.js.map +1 -0
- package/chunk/{VerificationApiClient-7wz0UH9Q.js → VerificationApiClient-Bhmjtve0.js} +190 -182
- package/chunk/VerificationApiClient-Bhmjtve0.js.map +1 -0
- package/chunk/{VerificationApiUtils-BcwFht9_.js → VerificationApiUtils-DheQDpKM.js} +6 -6
- package/chunk/{VerificationApiUtils-BcwFht9_.js.map → VerificationApiUtils-DheQDpKM.js.map} +1 -1
- package/chunk/{VerificationApiUtils-DrrsiUMd.js → VerificationApiUtils-Dlul6Md3.js} +6 -6
- package/chunk/{VerificationApiUtils-DrrsiUMd.js.map → VerificationApiUtils-Dlul6Md3.js.map} +1 -1
- package/chunk/ar-wkBEXxD9.js +4 -4
- package/chunk/bg-D2-seofX.js +4 -4
- package/chunk/bn-IN-B5PyYaJU.js +4 -4
- package/chunk/countryUtils-BAFwHnuu.js +4 -4
- package/chunk/countryUtils-QSjR1rBI.js +4 -4
- package/chunk/cs-CsEnIopo.js +4 -4
- package/chunk/da-Da-m3VU_.js +4 -4
- package/chunk/de-BSoD5U3-.js +4 -4
- package/chunk/{downshift.esm-C8hmF344.js → downshift.esm-BS-YwEuA.js} +5 -5
- package/chunk/{downshift.esm-C8hmF344.js.map → downshift.esm-BS-YwEuA.js.map} +1 -1
- package/chunk/{downshift.esm-yUvYnBx9.js → downshift.esm-BeqLKFfe.js} +5 -5
- package/chunk/{downshift.esm-yUvYnBx9.js.map → downshift.esm-BeqLKFfe.js.map} +1 -1
- package/chunk/el-CFa6y9Ri.js +4 -4
- package/chunk/empties-BIoZK05_.js +4 -4
- package/chunk/empties-Ck9OJXHG.js +4 -4
- package/chunk/en-GB-V8XaGkaI.js +4 -4
- package/chunk/es-D18tLxcT.js +4 -4
- package/chunk/es-ES-7x2bVUQr.js +4 -4
- package/chunk/et-udrWMVlD.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-DgwYULMs.js +4 -4
- package/chunk/fi-CkCWFGDC.js +4 -4
- package/chunk/fr-BprIFEa8.js +4 -4
- package/chunk/fr-CA-DrjICejr.js +4 -4
- package/chunk/ga-LaV5ZJgg.js +4 -4
- package/chunk/hi-IN-7dtEICYI.js +4 -4
- package/chunk/hr-2Bctl997.js +4 -4
- package/chunk/hu-BT0z6TPZ.js +4 -4
- package/chunk/id-BvyYep3X.js +4 -4
- package/chunk/intl-aUfdCP8t.js +4 -4
- package/chunk/is-DOsKfa80.js +4 -4
- package/chunk/it-3dX9AQk7.js +4 -4
- package/chunk/iw-5I90wqQ8.js +4 -4
- package/chunk/ja-CHdgbMgX.js +4 -4
- package/chunk/jsx-runtime-BknAqbDq.js +4 -4
- package/chunk/jsx-runtime-XNwIsY_N.js +4 -4
- package/chunk/kk-BriyNfHL.js +4 -4
- package/chunk/ko-DsMaax3V.js +4 -4
- package/chunk/lo-CjASRmNr.js +4 -4
- package/chunk/lt-DF29E1de.js +4 -4
- package/chunk/lv-DlHBZyt-.js +4 -4
- package/chunk/militaryStepHelpers-UF-7lF1f.js +4 -4
- package/chunk/militaryStepHelpers-qMYyQgVn.js +4 -4
- package/chunk/mocks-1r84in2Q.js +4 -4
- package/chunk/mocks-fUTXc8-e.js +4 -4
- package/chunk/ms-B3vDtlFh.js +4 -4
- package/chunk/nl-BE-Dw1IGXuF.js +4 -4
- package/chunk/nl-Cqkrr5-r.js +4 -4
- package/chunk/no-876EdwkX.js +4 -4
- package/chunk/options-D19mRw5a.js +4 -4
- package/chunk/pl-B_G8s05-.js +4 -4
- package/chunk/programThemeGetters-CyMKyJao.js +4 -4
- package/chunk/programThemeGetters-Lz3L0Vh7.js +4 -4
- package/chunk/pt-BR-DWj043qk.js +4 -4
- package/chunk/pt-DckA3Jnn.js +4 -4
- package/chunk/refs--ECXpllB.js +4 -4
- package/chunk/refs-Bbe0gnJ3.js +4 -4
- package/chunk/ro-DukNcWCM.js +4 -4
- package/chunk/ru-RkdRQ7qb.js +4 -4
- package/chunk/sk-CPBgBtC5.js +4 -4
- package/chunk/sl-Cyj9PWmN.js +4 -4
- package/chunk/sr-Bm1GVW8m.js +4 -4
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-CcMmeZrG.js +4 -4
- package/chunk/sw-BPvl1ou6.js +4 -4
- package/chunk/ta-BPEH7IlE.js +4 -4
- package/chunk/th-Dd912RL5.js +4 -4
- package/chunk/tl-J_TdpjQz.js +4 -4
- package/chunk/tr-B-GrrJj0.js +4 -4
- package/chunk/uk-MohyvT_n.js +4 -4
- package/chunk/ur-CDYGpWMm.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-zuG1qpLn.js → useCollectFieldsEndpoint-B-bMxmVp.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-DuxxsZUK.js.map → useCollectFieldsEndpoint-B-bMxmVp.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DuxxsZUK.js → useCollectFieldsEndpoint-ByJI0izC.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-zuG1qpLn.js.map → useCollectFieldsEndpoint-ByJI0izC.js.map} +1 -1
- package/chunk/useMetrics-D_8asKZL.js +4 -4
- package/chunk/useMetrics-Ivet_g4B.js +4 -4
- package/chunk/validators-BZCydYkb.js +4 -4
- package/chunk/validators-Do9xo2t_.js +4 -4
- package/chunk/vi-CdPTWSev.js +4 -4
- package/chunk/zh-DhnjKBoc.js +4 -4
- package/chunk/zh-HK-CWKNP_HX.js +4 -4
- package/chunk/zu-BpMHS0oR.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +50 -45
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +4 -4
- package/sheerid.js +1208 -1208
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls-YF6TyaSs.js.map +0 -1
- package/chunk/ApiUrls-kNSykNOJ.js.map +0 -1
- package/chunk/FormFieldTypeahead-BISMQdr-.js.map +0 -1
- package/chunk/FormFieldTypeahead-DWEi8I3c.js.map +0 -1
- package/chunk/FormFooterComponent-v9LR78TQ.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-jZyP2eYZ.js +0 -9
- package/chunk/StepSuccess-DCAbnrWd.js.map +0 -1
- package/chunk/StepSuccess-D_JiUGIt.js.map +0 -1
- package/chunk/VerificationApiClient-7wz0UH9Q.js.map +0 -1
- package/chunk/VerificationApiClient-XEv61Ta1.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
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.259.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1785265950089
|
|
9
|
+
* BUILD_DATE: Tue Jul 28 2026 19:12:30 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: b55d423813b208371b7321acda89b241c58129d0
|
|
11
11
|
*/
|
|
12
12
|
import { Bt as e, E as t, Ht as n, It as r, L as i, Lt as a, Mt as o, T as s, b as c, bt as l, c as u, f as d, g as f, gt as p, h as m, i as h, it as g, jt as _, kt as v, l as y, m as b, n as x, o as S, p as C, r as w, rt as T, s as E, t as D, ut as O, v as k, vt as A, w as j, x as M, y as N, yt as P, zt as F } from "./chunk/intl-aUfdCP8t.js";
|
|
13
13
|
import { a as ee, c as I, i as te, n as L, s as ne, t as re } from "./chunk/jsx-runtime-XNwIsY_N.js";
|
|
14
|
-
import { A as ie, C as ae, D as R, O as oe, S as se, T as ce, _ as le, a as ue, b as de, c as fe, g as pe, h as me, k as he, l as ge, m as _e, n as ve, o as ye, r as
|
|
15
|
-
import { n as
|
|
16
|
-
import { c as
|
|
17
|
-
import { d as Me, l as Ne } from "./chunk/ApiUrls-
|
|
14
|
+
import { A as ie, C as ae, D as R, O as oe, S as se, T as ce, _ as le, a as ue, b as de, c as fe, g as pe, h as me, k as he, l as ge, m as _e, n as ve, o as ye, r as z, s as be, t as xe, u as Se, v as Ce, w as we, x as Te, y as Ee } from "./chunk/FormFooterComponent-lkSSDuP2.js";
|
|
15
|
+
import { n as De } from "./chunk/empties-Ck9OJXHG.js";
|
|
16
|
+
import { c as Oe, s as ke, u as Ae } from "./chunk/VerificationApiClient-Bhmjtve0.js";
|
|
17
|
+
import { d as je, f as Me, l as Ne } from "./chunk/ApiUrls-wmwWKS2C.js";
|
|
18
18
|
import { a as Pe, i as Fe, r as Ie, s as Le, t as Re } from "./chunk/TestingRouteOverrides-DCR0qXVH.js";
|
|
19
19
|
import { a as ze, c as Be, i as Ve, n as He, r as Ue, t as We } from "./chunk/programThemeGetters-CyMKyJao.js";
|
|
20
20
|
import { a as Ge, n as Ke, r as qe } from "./chunk/validators-BZCydYkb.js";
|
|
@@ -23,13 +23,13 @@ import { t as $e } from "./chunk/LogoComponent-CFPoRk_q.js";
|
|
|
23
23
|
import { t as et } from "./chunk/strings-DWLVdUcm.js";
|
|
24
24
|
import { t as tt } from "./chunk/AnnouncingHeader-BZreAj2L.js";
|
|
25
25
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
26
|
-
var
|
|
26
|
+
var B = /* @__PURE__ */ n(I());
|
|
27
27
|
function nt({ i18n: e, defaultNS: t, children: n }) {
|
|
28
|
-
let r = (0,
|
|
28
|
+
let r = (0, B.useMemo)(() => ({
|
|
29
29
|
i18n: e,
|
|
30
30
|
defaultNS: t
|
|
31
31
|
}), [e, t]);
|
|
32
|
-
return (0,
|
|
32
|
+
return (0, B.createElement)(ie.Provider, { value: r }, n);
|
|
33
33
|
}
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
@@ -44,34 +44,34 @@ var rt = (e, n = { partial: !0 }) => {
|
|
|
44
44
|
o();
|
|
45
45
|
}
|
|
46
46
|
}) : o();
|
|
47
|
-
}, it = /* @__PURE__ */ n(F(), 1), at = /* @__PURE__ */ n(_e(), 1),
|
|
47
|
+
}, it = /* @__PURE__ */ n(F(), 1), at = /* @__PURE__ */ n(_e(), 1), V = re(), ot = () => /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
48
48
|
className: "sid-spinner",
|
|
49
49
|
"data-testid": "sid-spinner",
|
|
50
50
|
children: [
|
|
51
|
-
/* @__PURE__ */ (0,
|
|
52
|
-
/* @__PURE__ */ (0,
|
|
53
|
-
/* @__PURE__ */ (0,
|
|
54
|
-
/* @__PURE__ */ (0,
|
|
51
|
+
/* @__PURE__ */ (0, V.jsx)("div", { className: "sid-spinner__frame" }),
|
|
52
|
+
/* @__PURE__ */ (0, V.jsx)("div", { className: "sid-spinner__frame" }),
|
|
53
|
+
/* @__PURE__ */ (0, V.jsx)("div", { className: "sid-spinner__frame" }),
|
|
54
|
+
/* @__PURE__ */ (0, V.jsx)("div", { className: "sid-spinner__frame" })
|
|
55
55
|
]
|
|
56
|
-
}), st = ({ step: e }) => /* @__PURE__ */ (0,
|
|
56
|
+
}), st = ({ step: e }) => /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
57
57
|
className: "sid-loading-screen__message",
|
|
58
|
-
children: [o(e) && /* @__PURE__ */ (0,
|
|
58
|
+
children: [o(e) && /* @__PURE__ */ (0, V.jsx)("div", {
|
|
59
59
|
className: "sid-loading-screen__message-header",
|
|
60
60
|
role: "alert",
|
|
61
|
-
children: /* @__PURE__ */ (0,
|
|
61
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
62
62
|
id: "step.personalInfo.verifyingTitle",
|
|
63
63
|
defaultMessage: "Verifying your status"
|
|
64
64
|
})
|
|
65
|
-
}), /* @__PURE__ */ (0,
|
|
65
|
+
}), /* @__PURE__ */ (0, V.jsx)("div", {
|
|
66
66
|
className: "sid-loading-screen__message-subhead",
|
|
67
|
-
children: /* @__PURE__ */ (0,
|
|
67
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
68
68
|
id: "step.personalInfo.verifyingSubtitle",
|
|
69
69
|
defaultMessage: "This should only take a minute"
|
|
70
70
|
})
|
|
71
71
|
})]
|
|
72
|
-
}), ct = ({ step: e = Re() }) => /* @__PURE__ */ (0,
|
|
72
|
+
}), ct = ({ step: e = Re() }) => /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
73
73
|
className: "sid-loading-screen",
|
|
74
|
-
children: [/* @__PURE__ */ (0,
|
|
74
|
+
children: [/* @__PURE__ */ (0, V.jsx)(ot, {}), e && /* @__PURE__ */ (0, V.jsx)(st, { step: e })]
|
|
75
75
|
}), lt = /* @__PURE__ */ e(((e, t) => {
|
|
76
76
|
var n, r = n = {
|
|
77
77
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
@@ -152,7 +152,7 @@ function dt(e) {
|
|
|
152
152
|
}
|
|
153
153
|
return t.prototype = /* @__PURE__ */ Error(), t.prototype.name = e, t.prototype.constructor = t, t;
|
|
154
154
|
}
|
|
155
|
-
for (var ft = dt("LaunchDarklyUnexpectedResponseError"), pt = dt("LaunchDarklyInvalidEnvironmentIdError"), mt = dt("LaunchDarklyInvalidUserError"), ht = dt("LaunchDarklyInvalidEventKeyError"), gt = dt("LaunchDarklyInvalidArgumentError"), _t = dt("LaunchDarklyFlagFetchError"),
|
|
155
|
+
for (var ft = dt("LaunchDarklyUnexpectedResponseError"), pt = dt("LaunchDarklyInvalidEnvironmentIdError"), mt = dt("LaunchDarklyInvalidUserError"), ht = dt("LaunchDarklyInvalidEventKeyError"), gt = dt("LaunchDarklyInvalidArgumentError"), _t = dt("LaunchDarklyFlagFetchError"), H = {
|
|
156
156
|
LDUnexpectedResponseError: ft,
|
|
157
157
|
LDInvalidEnvironmentIdError: pt,
|
|
158
158
|
LDInvalidUserError: mt,
|
|
@@ -171,12 +171,12 @@ for (var ft = dt("LaunchDarklyUnexpectedResponseError"), pt = dt("LaunchDarklyIn
|
|
|
171
171
|
var t, n, r = Tt(e), i = r[0], a = r[1], o = new St(function(e, t, n) {
|
|
172
172
|
return 3 * (t + n) / 4 - n;
|
|
173
173
|
}(0, i, a)), s = 0, c = a > 0 ? i - 4 : i;
|
|
174
|
-
for (n = 0; n < c; n += 4) t =
|
|
175
|
-
return a === 2 && (t =
|
|
174
|
+
for (n = 0; n < c; n += 4) t = U[e.charCodeAt(n)] << 18 | U[e.charCodeAt(n + 1)] << 12 | U[e.charCodeAt(n + 2)] << 6 | U[e.charCodeAt(n + 3)], o[s++] = t >> 16 & 255, o[s++] = t >> 8 & 255, o[s++] = 255 & t;
|
|
175
|
+
return a === 2 && (t = U[e.charCodeAt(n)] << 2 | U[e.charCodeAt(n + 1)] >> 4, o[s++] = 255 & t), a === 1 && (t = U[e.charCodeAt(n)] << 10 | U[e.charCodeAt(n + 1)] << 4 | U[e.charCodeAt(n + 2)] >> 2, o[s++] = t >> 8 & 255, o[s++] = 255 & t), o;
|
|
176
176
|
}, bt = function(e) {
|
|
177
177
|
for (var t, n = e.length, r = n % 3, i = [], a = 16383, o = 0, s = n - r; o < s; o += a) i.push(Dt(e, o, o + a > s ? s : o + a));
|
|
178
178
|
return r === 1 ? (t = e[n - 1], i.push(xt[t >> 2] + xt[t << 4 & 63] + "==")) : r === 2 && (t = (e[n - 2] << 8) + e[n - 1], i.push(xt[t >> 10] + xt[t >> 4 & 63] + xt[t << 2 & 63] + "=")), i.join("");
|
|
179
|
-
}, xt = [],
|
|
179
|
+
}, xt = [], U = [], St = typeof Uint8Array < "u" ? Uint8Array : Array, Ct = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", wt = 0; wt < 64; ++wt) xt[wt] = Ct[wt], U[Ct.charCodeAt(wt)] = wt;
|
|
180
180
|
function Tt(e) {
|
|
181
181
|
var t = e.length;
|
|
182
182
|
if (t % 4 > 0) throw Error("Invalid string. Length must be a multiple of 4");
|
|
@@ -190,7 +190,7 @@ function Dt(e, t, n) {
|
|
|
190
190
|
for (var r, i = [], a = t; a < n; a += 3) r = (e[a] << 16 & 16711680) + (e[a + 1] << 8 & 65280) + (255 & e[a + 2]), i.push(Et(r));
|
|
191
191
|
return i.join("");
|
|
192
192
|
}
|
|
193
|
-
|
|
193
|
+
U[45] = 62, U[95] = 63;
|
|
194
194
|
var Ot = {
|
|
195
195
|
byteLength: vt,
|
|
196
196
|
toByteArray: yt,
|
|
@@ -239,7 +239,7 @@ function Pt(e) {
|
|
|
239
239
|
function Ft(e, t) {
|
|
240
240
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
241
241
|
}
|
|
242
|
-
var
|
|
242
|
+
var W = {
|
|
243
243
|
appendUrlPath: function(e, t) {
|
|
244
244
|
return (e.endsWith("/") ? e.substring(0, e.length - 1) : e) + (t.startsWith("/") ? "" : "/") + t;
|
|
245
245
|
},
|
|
@@ -410,7 +410,7 @@ var Gt = {
|
|
|
410
410
|
function Jt(e) {
|
|
411
411
|
return e && e.message ? e.message : typeof e == "string" || e instanceof String ? e : JSON.stringify(e);
|
|
412
412
|
}
|
|
413
|
-
var
|
|
413
|
+
var G = {
|
|
414
414
|
bootstrapInvalid: function() {
|
|
415
415
|
return "LaunchDarkly bootstrap data is not available because the back end could not read the flags.";
|
|
416
416
|
},
|
|
@@ -472,7 +472,7 @@ var W = {
|
|
|
472
472
|
return "Be sure to call `identify` in the LaunchDarkly client: https://docs.launchdarkly.com/sdk/features/identify#javascript";
|
|
473
473
|
},
|
|
474
474
|
httpErrorMessage: function(e, t, n) {
|
|
475
|
-
return "Received error " + e + (e === 401 ? " (invalid SDK key)" : "") + " for " + t + " - " + (
|
|
475
|
+
return "Received error " + e + (e === 401 ? " (invalid SDK key)" : "") + " for " + t + " - " + (H.isHttpErrorRecoverable(e) ? n : "giving up permanently");
|
|
476
476
|
},
|
|
477
477
|
httpUnavailable: function() {
|
|
478
478
|
return "Cannot make HTTP requests in this environment. Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initialize-the-client for instructions on SDK initialization.";
|
|
@@ -573,34 +573,34 @@ function Qt(e) {
|
|
|
573
573
|
function $t(e, t, n) {
|
|
574
574
|
if (typeof t == "string" && t.match(Zt)) {
|
|
575
575
|
if (!(t.length > 64)) return t;
|
|
576
|
-
n.warn(
|
|
577
|
-
} else n.warn(
|
|
576
|
+
n.warn(G.tagValueTooLong(e));
|
|
577
|
+
} else n.warn(G.invalidTagValue(e));
|
|
578
578
|
}
|
|
579
579
|
var en = {
|
|
580
580
|
baseOptionDefs: Xt,
|
|
581
581
|
validate: function(e, t, n, r) {
|
|
582
|
-
let i =
|
|
582
|
+
let i = W.extend({ logger: { default: r } }, Xt, n), a = {};
|
|
583
583
|
function o(e) {
|
|
584
|
-
|
|
585
|
-
t && t.maybeReportError(new
|
|
584
|
+
W.onNextTick(() => {
|
|
585
|
+
t && t.maybeReportError(new H.LDInvalidArgumentError(e));
|
|
586
586
|
});
|
|
587
587
|
}
|
|
588
|
-
let s =
|
|
588
|
+
let s = W.extend({}, e || {});
|
|
589
589
|
return function(e) {
|
|
590
590
|
let t = e;
|
|
591
591
|
Object.keys(a).forEach((e) => {
|
|
592
592
|
if (t[e] !== void 0) {
|
|
593
593
|
let n = a[e];
|
|
594
|
-
r && r.warn(
|
|
594
|
+
r && r.warn(G.deprecated(e, n)), n && (t[n] === void 0 && (t[n] = t[e]), delete t[e]);
|
|
595
595
|
}
|
|
596
596
|
});
|
|
597
597
|
}(s), s = function(e) {
|
|
598
|
-
let t =
|
|
598
|
+
let t = W.extend({}, e);
|
|
599
599
|
return Object.keys(i).forEach((e) => {
|
|
600
600
|
t[e] !== void 0 && t[e] !== null || (t[e] = i[e] && i[e].default);
|
|
601
601
|
}), t;
|
|
602
602
|
}(s), s = function(e) {
|
|
603
|
-
let t =
|
|
603
|
+
let t = W.extend({}, e), n = (e) => {
|
|
604
604
|
if (e === null) return "any";
|
|
605
605
|
if (e === void 0) return;
|
|
606
606
|
if (Array.isArray(e)) return "array";
|
|
@@ -611,7 +611,7 @@ var en = {
|
|
|
611
611
|
let s = e[a];
|
|
612
612
|
if (s != null) {
|
|
613
613
|
let c = i[a];
|
|
614
|
-
if (c === void 0) o(
|
|
614
|
+
if (c === void 0) o(G.unknownOption(a));
|
|
615
615
|
else {
|
|
616
616
|
let i = c.type || n(c.default), l = c.validator;
|
|
617
617
|
if (l) {
|
|
@@ -619,7 +619,7 @@ var en = {
|
|
|
619
619
|
n === void 0 ? delete t[a] : t[a] = n;
|
|
620
620
|
} else if (i !== "any") {
|
|
621
621
|
let e = i.split("|"), r = n(s);
|
|
622
|
-
e.indexOf(r) < 0 ? i === "boolean" ? (t[a] = !!s, o(
|
|
622
|
+
e.indexOf(r) < 0 ? i === "boolean" ? (t[a] = !!s, o(G.wrongOptionTypeBoolean(a, r))) : (o(G.wrongOptionType(a, i, r)), t[a] = c.default) : r === "number" && c.minimum !== void 0 && s < c.minimum && (o(G.optionBelowMinimum(a, s, c.minimum)), t[a] = c.minimum);
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
625
|
}
|
|
@@ -630,7 +630,7 @@ var en = {
|
|
|
630
630
|
let t = {};
|
|
631
631
|
return e && (e.application && e.application.id !== void 0 && e.application.id !== null && (t["application-id"] = [e.application.id]), e.application && e.application.version !== void 0 && e.application.id !== null && (t["application-version"] = [e.application.version])), t;
|
|
632
632
|
}
|
|
633
|
-
}, { getLDUserAgentString: tn } =
|
|
633
|
+
}, { getLDUserAgentString: tn } = W, nn = {
|
|
634
634
|
getLDHeaders: function(e, t) {
|
|
635
635
|
if (t && !t.sendLDHeaders) return {};
|
|
636
636
|
let n = {};
|
|
@@ -642,17 +642,17 @@ var en = {
|
|
|
642
642
|
return t && t.requestHeaderTransform ? t.requestHeaderTransform({ ...e }) : e;
|
|
643
643
|
}
|
|
644
644
|
}, { randomUuidV4: rn } = Gt, { getLDHeaders: an, transformHeaders: on } = nn, sn = function(e, t, n) {
|
|
645
|
-
let r =
|
|
645
|
+
let r = W.extend({ "Content-Type": "application/json" }, an(e, n)), i = {};
|
|
646
646
|
return i.sendEvents = (t, i, a) => {
|
|
647
647
|
if (!e.httpRequest) return Promise.resolve();
|
|
648
648
|
let o = JSON.stringify(t), s = a ? null : rn();
|
|
649
649
|
return function t(c) {
|
|
650
|
-
let l = a ? r :
|
|
650
|
+
let l = a ? r : W.extend({}, r, {
|
|
651
651
|
"X-LaunchDarkly-Event-Schema": "4",
|
|
652
652
|
"X-LaunchDarkly-Payload-ID": s
|
|
653
653
|
});
|
|
654
654
|
return e.httpRequest("POST", i, on(l, n), o).promise.then((e) => {
|
|
655
|
-
if (e) return e.status >= 400 &&
|
|
655
|
+
if (e) return e.status >= 400 && H.isHttpErrorRecoverable(e.status) && c ? t(!1) : function(e) {
|
|
656
656
|
let t = { status: e.status }, n = e.header("date");
|
|
657
657
|
if (n) {
|
|
658
658
|
let e = Date.parse(n);
|
|
@@ -885,23 +885,23 @@ var xn = {
|
|
|
885
885
|
return n;
|
|
886
886
|
})(e, t) : o(e, t), t;
|
|
887
887
|
}, { getContextKeys: Cn } = fn, wn = function(e, t, n, r = null, i = null, a = null) {
|
|
888
|
-
let o = {}, s = a || sn(e, n, t), c =
|
|
888
|
+
let o = {}, s = a || sn(e, n, t), c = W.appendUrlPath(t.eventsUrl, "/events/bulk/" + n), l = Sn(t), u = hn(l), d = t.samplingInterval, f = t.eventCapacity, p = t.flushInterval, m = t.logger, h, g = [], _ = 0, v = !1, y = !1;
|
|
889
889
|
function b() {
|
|
890
890
|
return d === 0 || Math.floor(Math.random() * d) === 0;
|
|
891
891
|
}
|
|
892
892
|
function x(e) {
|
|
893
|
-
let t =
|
|
893
|
+
let t = W.extend({}, e);
|
|
894
894
|
return e.kind === "identify" || e.kind === "feature" || e.kind === "custom" ? t.context = l.filter(e.context) : (t.contextKeys = Cn(e.context, m), delete t.context), e.kind === "feature" && (delete t.trackEvents, delete t.debugEventsUntilDate), t;
|
|
895
895
|
}
|
|
896
896
|
function S(e) {
|
|
897
|
-
g.length < f ? (g.push(e), y = !1) : (y || (y = !0, m.warn(
|
|
897
|
+
g.length < f ? (g.push(e), y = !1) : (y || (y = !0, m.warn(G.eventCapacityExceeded())), r && r.incrementDroppedEvents());
|
|
898
898
|
}
|
|
899
899
|
return o.enqueue = function(e) {
|
|
900
900
|
if (v) return;
|
|
901
901
|
let t = !1, n = !1;
|
|
902
902
|
var r;
|
|
903
903
|
if (u.summarizeEvent(e), e.kind === "feature" ? b() && (t = !!e.trackEvents, n = !!(r = e).debugEventsUntilDate && r.debugEventsUntilDate > _ && r.debugEventsUntilDate > (/* @__PURE__ */ new Date()).getTime()) : t = b(), t && S(x(e)), n) {
|
|
904
|
-
let t =
|
|
904
|
+
let t = W.extend({}, e, { kind: "debug" });
|
|
905
905
|
t.context = l.filter(t.context), delete t.trackEvents, delete t.debugEventsUntilDate, S(t);
|
|
906
906
|
}
|
|
907
907
|
}, o.flush = async function() {
|
|
@@ -909,9 +909,9 @@ var xn = {
|
|
|
909
909
|
let e = g;
|
|
910
910
|
return u.getSummaries().forEach((t) => {
|
|
911
911
|
Object.keys(t.features).length && e.push(t);
|
|
912
|
-
}), r && r.setEventsInLastBatch(e.length), e.length === 0 ? Promise.resolve() : (g = [], m.debug(
|
|
913
|
-
e && (e.serverTime && (_ = e.serverTime),
|
|
914
|
-
i.maybeReportError(new
|
|
912
|
+
}), r && r.setEventsInLastBatch(e.length), e.length === 0 ? Promise.resolve() : (g = [], m.debug(G.debugPostingEvents(e.length)), s.sendEvents(e, c).then((e) => {
|
|
913
|
+
e && (e.serverTime && (_ = e.serverTime), H.isHttpErrorRecoverable(e.status) || (v = !0), e.status >= 400 && W.onNextTick(() => {
|
|
914
|
+
i.maybeReportError(new H.LDUnexpectedResponseError(G.httpErrorMessage(e.status, "event posting", "some events were dropped")));
|
|
915
915
|
}));
|
|
916
916
|
}));
|
|
917
917
|
}, o.start = function() {
|
|
@@ -970,7 +970,7 @@ var xn = {
|
|
|
970
970
|
let i = {};
|
|
971
971
|
function a() {
|
|
972
972
|
let e = "", i = r.getContext();
|
|
973
|
-
return i && (e = n ||
|
|
973
|
+
return i && (e = n || W.btoa(JSON.stringify(i))), "ld:" + t + ":" + e;
|
|
974
974
|
}
|
|
975
975
|
return i.loadFlags = () => e.get(a()).then((e) => {
|
|
976
976
|
if (e == null) return null;
|
|
@@ -978,19 +978,19 @@ var xn = {
|
|
|
978
978
|
let t = JSON.parse(e);
|
|
979
979
|
if (t) {
|
|
980
980
|
let e = t.$schema;
|
|
981
|
-
e === void 0 || e < 1 ? t =
|
|
981
|
+
e === void 0 || e < 1 ? t = W.transformValuesToVersionedValues(t) : delete t.$schema;
|
|
982
982
|
}
|
|
983
983
|
return t;
|
|
984
984
|
} catch {
|
|
985
985
|
return i.clearFlags().then(() => null);
|
|
986
986
|
}
|
|
987
987
|
}), i.saveFlags = (t) => {
|
|
988
|
-
let n =
|
|
988
|
+
let n = W.extend({}, t, { $schema: 1 });
|
|
989
989
|
return e.set(a(), JSON.stringify(n));
|
|
990
990
|
}, i.clearFlags = () => e.clear(a()), i;
|
|
991
991
|
}, jn = function(e, t) {
|
|
992
992
|
let n = {}, r = !1, i = (e) => {
|
|
993
|
-
r || (r = !0, t.warn(
|
|
993
|
+
r || (r = !0, t.warn(G.localStorageUnavailable(e)));
|
|
994
994
|
};
|
|
995
995
|
return n.isEnabled = () => !!e, n.get = (t) => new Promise((n) => {
|
|
996
996
|
e ? e.get(t).then(n).catch((e) => {
|
|
@@ -1005,7 +1005,7 @@ var xn = {
|
|
|
1005
1005
|
i(e), n(!1);
|
|
1006
1006
|
}) : n(!1);
|
|
1007
1007
|
}), n;
|
|
1008
|
-
}, { appendUrlPath: Mn, base64URLEncode: Nn, objectHasOwnProperty: Pn } =
|
|
1008
|
+
}, { appendUrlPath: Mn, base64URLEncode: Nn, objectHasOwnProperty: Pn } = W, { getLDHeaders: Fn, transformHeaders: In } = nn, { isHttpErrorRecoverable: Ln } = H, Rn = function(e, t, n, r) {
|
|
1009
1009
|
let i = t.streamUrl, a = t.logger, o = {}, s = Mn(i, "/eval/" + n), c = t.useReport, l = t.evaluationReasons, u = t.streamReconnectDelay, d = Fn(e, t), f, p = !1, m = null, h = null, g = null, _ = null, v = null, y = 0;
|
|
1010
1010
|
function b() {
|
|
1011
1011
|
let e = (t = function() {
|
|
@@ -1016,9 +1016,9 @@ var xn = {
|
|
|
1016
1016
|
return y += 1, e;
|
|
1017
1017
|
}
|
|
1018
1018
|
function x(e) {
|
|
1019
|
-
if (e.status && typeof e.status == "number" && !Ln(e.status)) return w(), a.error(
|
|
1019
|
+
if (e.status && typeof e.status == "number" && !Ln(e.status)) return w(), a.error(G.unrecoverableStreamError(e)), void (h &&= (clearTimeout(h), null));
|
|
1020
1020
|
let t = b();
|
|
1021
|
-
p ||= (a.warn(
|
|
1021
|
+
p ||= (a.warn(G.streamError(e, t)), !0), T(!1), w(), S(t);
|
|
1022
1022
|
}
|
|
1023
1023
|
function S(e) {
|
|
1024
1024
|
h || (e ? h = setTimeout(C, e) : C());
|
|
@@ -1031,7 +1031,7 @@ var xn = {
|
|
|
1031
1031
|
readTimeoutMillis: 3e5
|
|
1032
1032
|
};
|
|
1033
1033
|
if (e.eventSourceFactory) {
|
|
1034
|
-
_ != null && (o = "h=" + _), c ? e.eventSourceAllowsReport ? (r = s, u.method = "REPORT", u.headers["Content-Type"] = "application/json", u.body = JSON.stringify(g)) : (r = Mn(i, "/ping/" + n), o = "") : r = s + "/" + Nn(JSON.stringify(g)), u.headers = In(u.headers, t), l && (o = o + (o ? "&" : "") + "withReasons=true"), r = r + (o ? "?" : "") + o, w(), a.info(
|
|
1034
|
+
_ != null && (o = "h=" + _), c ? e.eventSourceAllowsReport ? (r = s, u.method = "REPORT", u.headers["Content-Type"] = "application/json", u.body = JSON.stringify(g)) : (r = Mn(i, "/ping/" + n), o = "") : r = s + "/" + Nn(JSON.stringify(g)), u.headers = In(u.headers, t), l && (o = o + (o ? "&" : "") + "withReasons=true"), r = r + (o ? "?" : "") + o, w(), a.info(G.streamConnecting(r)), f = (/* @__PURE__ */ new Date()).getTime(), m = e.eventSourceFactory(r, u);
|
|
1035
1035
|
for (let e in v) Pn(v, e) && m.addEventListener(e, v[e]);
|
|
1036
1036
|
m.onerror = x, m.onopen = () => {
|
|
1037
1037
|
y = 0;
|
|
@@ -1039,7 +1039,7 @@ var xn = {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
1041
|
function w() {
|
|
1042
|
-
m &&= (a.info(
|
|
1042
|
+
m &&= (a.info(G.streamClosing()), m.close(), null);
|
|
1043
1043
|
}
|
|
1044
1044
|
function T(e) {
|
|
1045
1045
|
f && r && r.recordStreamInit(f, !e, (/* @__PURE__ */ new Date()).getTime() - f), f = null;
|
|
@@ -1070,7 +1070,7 @@ var xn = {
|
|
|
1070
1070
|
let r = t.baseUrl, i = t.useReport, a = t.evaluationReasons, o = t.logger, s = {}, c = {};
|
|
1071
1071
|
function l(n, r) {
|
|
1072
1072
|
if (!e.httpRequest) return new Promise((e, t) => {
|
|
1073
|
-
t(new
|
|
1073
|
+
t(new H.LDFlagFetchError(G.httpUnavailable()));
|
|
1074
1074
|
});
|
|
1075
1075
|
let i = r ? "REPORT" : "GET", a = Vn(e, t);
|
|
1076
1076
|
r && (a["Content-Type"] = Hn);
|
|
@@ -1082,20 +1082,20 @@ var xn = {
|
|
|
1082
1082
|
if (e.status === 200) {
|
|
1083
1083
|
if (e.header("content-type") && e.header("content-type").substring(0, 16) === Hn) return JSON.parse(e.body);
|
|
1084
1084
|
{
|
|
1085
|
-
let t =
|
|
1086
|
-
return Promise.reject(new
|
|
1085
|
+
let t = G.invalidContentType(e.header("content-type") || "");
|
|
1086
|
+
return Promise.reject(new H.LDFlagFetchError(t));
|
|
1087
1087
|
}
|
|
1088
1088
|
}
|
|
1089
1089
|
return Promise.reject(function(e) {
|
|
1090
|
-
return e.status === 404 ? new
|
|
1090
|
+
return e.status === 404 ? new H.LDInvalidEnvironmentIdError(G.environmentNotFound()) : new H.LDFlagFetchError(G.errorFetchingFlags(e.statusText || String(e.status)));
|
|
1091
1091
|
}(e));
|
|
1092
|
-
}, (e) => Promise.reject(new
|
|
1092
|
+
}, (e) => Promise.reject(new H.LDFlagFetchError(G.networkError(e))));
|
|
1093
1093
|
return o.addPromise(l, () => {
|
|
1094
1094
|
s.cancel && s.cancel();
|
|
1095
1095
|
}), o.resultPromise;
|
|
1096
1096
|
}
|
|
1097
1097
|
return s.fetchJSON = function(e) {
|
|
1098
|
-
return l(
|
|
1098
|
+
return l(W.appendUrlPath(r, e), null);
|
|
1099
1099
|
}, s.fetchFlagSettings = function(e, t) {
|
|
1100
1100
|
let s, c, u, d = "";
|
|
1101
1101
|
return i ? (c = [
|
|
@@ -1103,20 +1103,20 @@ var xn = {
|
|
|
1103
1103
|
"/sdk/evalx/",
|
|
1104
1104
|
n,
|
|
1105
1105
|
"/context"
|
|
1106
|
-
].join(""), u = JSON.stringify(e)) : (s =
|
|
1106
|
+
].join(""), u = JSON.stringify(e)) : (s = W.base64URLEncode(JSON.stringify(e)), c = [
|
|
1107
1107
|
r,
|
|
1108
1108
|
"/sdk/evalx/",
|
|
1109
1109
|
n,
|
|
1110
1110
|
"/contexts/",
|
|
1111
1111
|
s
|
|
1112
|
-
].join("")), t && (d = "h=" + t), a && (d = d + (d ? "&" : "") + "withReasons=true"), c = c + (d ? "?" : "") + d, o.debug(
|
|
1112
|
+
].join("")), t && (d = "h=" + t), a && (d = d + (d ? "&" : "") + "withReasons=true"), c = c + (d ? "?" : "") + d, o.debug(G.debugPolling(c)), l(c, u);
|
|
1113
1113
|
}, s;
|
|
1114
1114
|
}, Wn = function(e, t) {
|
|
1115
1115
|
let n = {}, r;
|
|
1116
1116
|
return n.setContext = function(e) {
|
|
1117
|
-
r =
|
|
1117
|
+
r = W.sanitizeContext(e), r && t && t(W.clone(r));
|
|
1118
1118
|
}, n.getContext = function() {
|
|
1119
|
-
return r ?
|
|
1119
|
+
return r ? W.clone(r) : null;
|
|
1120
1120
|
}, e && n.setContext(e), n;
|
|
1121
1121
|
}, { randomUuidV4: Gn } = Gt, { getContextKinds: Kn } = fn, qn = function(e) {
|
|
1122
1122
|
function t(e) {
|
|
@@ -1133,18 +1133,18 @@ var xn = {
|
|
|
1133
1133
|
return e.set(t(r), n);
|
|
1134
1134
|
}(i, n).then(() => r);
|
|
1135
1135
|
}
|
|
1136
|
-
}) : Promise.reject(new
|
|
1136
|
+
}) : Promise.reject(new H.LDInvalidUserError(G.invalidContext()));
|
|
1137
1137
|
}
|
|
1138
1138
|
this.processContext = (e) => {
|
|
1139
|
-
if (!e) return Promise.reject(new
|
|
1140
|
-
let t =
|
|
1139
|
+
if (!e) return Promise.reject(new H.LDInvalidUserError(G.contextNotSpecified()));
|
|
1140
|
+
let t = W.clone(e);
|
|
1141
1141
|
if (e.kind === "multi") {
|
|
1142
1142
|
let e = Kn(t);
|
|
1143
1143
|
return Promise.all(e.map((e) => n(e, t[e]))).then(() => t);
|
|
1144
1144
|
}
|
|
1145
1145
|
return n(e.kind, t);
|
|
1146
1146
|
};
|
|
1147
|
-
}, { randomUuidV4: Jn } = Gt, { baseOptionDefs: Yn } = en, { appendUrlPath: Xn } =
|
|
1147
|
+
}, { randomUuidV4: Jn } = Gt, { baseOptionDefs: Yn } = en, { appendUrlPath: Xn } = W, Zn = {
|
|
1148
1148
|
DiagnosticId: function(e) {
|
|
1149
1149
|
let t = { diagnosticId: Jn() };
|
|
1150
1150
|
return e && (t.sdkKeySuffix = e.length > 6 ? e.substring(e.length - 6) : e), t;
|
|
@@ -1191,7 +1191,7 @@ var xn = {
|
|
|
1191
1191
|
};
|
|
1192
1192
|
}
|
|
1193
1193
|
function _(e) {
|
|
1194
|
-
a.logger && a.logger.debug(
|
|
1194
|
+
a.logger && a.logger.debug(G.debugPostingDiagnosticEvent(e)), r.sendEvents(e, l, !0).then(() => {}).catch(() => {});
|
|
1195
1195
|
}
|
|
1196
1196
|
function v() {
|
|
1197
1197
|
_(function() {
|
|
@@ -1271,57 +1271,57 @@ var xn = {
|
|
|
1271
1271
|
try {
|
|
1272
1272
|
e.method(...i);
|
|
1273
1273
|
} catch {
|
|
1274
|
-
n || (n = !0, t.warn(
|
|
1274
|
+
n || (n = !0, t.warn(G.inspectorMethodError(r.type, r.name)));
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
};
|
|
1278
1278
|
return r;
|
|
1279
|
-
}, { onNextTick: $n } =
|
|
1279
|
+
}, { onNextTick: $n } = W, K = {
|
|
1280
1280
|
flagUsed: "flag-used",
|
|
1281
1281
|
flagDetailsChanged: "flag-details-changed",
|
|
1282
1282
|
flagDetailChanged: "flag-detail-changed",
|
|
1283
1283
|
clientIdentityChanged: "client-identity-changed"
|
|
1284
1284
|
};
|
|
1285
|
-
Object.freeze(
|
|
1285
|
+
Object.freeze(K);
|
|
1286
1286
|
var er = {
|
|
1287
|
-
InspectorTypes:
|
|
1287
|
+
InspectorTypes: K,
|
|
1288
1288
|
InspectorManager: function(e, t) {
|
|
1289
1289
|
let n = {}, r = {
|
|
1290
|
-
[
|
|
1291
|
-
[
|
|
1292
|
-
[
|
|
1293
|
-
[
|
|
1290
|
+
[K.flagUsed]: [],
|
|
1291
|
+
[K.flagDetailsChanged]: [],
|
|
1292
|
+
[K.flagDetailChanged]: [],
|
|
1293
|
+
[K.clientIdentityChanged]: []
|
|
1294
1294
|
}, i = {
|
|
1295
|
-
[
|
|
1296
|
-
[
|
|
1297
|
-
[
|
|
1298
|
-
[
|
|
1295
|
+
[K.flagUsed]: [],
|
|
1296
|
+
[K.flagDetailsChanged]: [],
|
|
1297
|
+
[K.flagDetailChanged]: [],
|
|
1298
|
+
[K.clientIdentityChanged]: []
|
|
1299
1299
|
}, a = e && e.map((e) => Qn(e, t));
|
|
1300
1300
|
return a && a.forEach((e) => {
|
|
1301
|
-
Object.prototype.hasOwnProperty.call(r, e.type) && !e.synchronous ? r[e.type].push(e) : Object.prototype.hasOwnProperty.call(i, e.type) && e.synchronous ? i[e.type].push(e) : t.warn(
|
|
1301
|
+
Object.prototype.hasOwnProperty.call(r, e.type) && !e.synchronous ? r[e.type].push(e) : Object.prototype.hasOwnProperty.call(i, e.type) && e.synchronous ? i[e.type].push(e) : t.warn(G.invalidInspector(e.type, e.name));
|
|
1302
1302
|
}), n.hasListeners = (e) => r[e] && r[e].length || i[e] && i[e].length, n.onFlagUsed = (e, t, n) => {
|
|
1303
|
-
let a =
|
|
1303
|
+
let a = K.flagUsed;
|
|
1304
1304
|
i[a].length && i[a].forEach((r) => r.method(e, t, n)), r[a].length && $n(() => {
|
|
1305
1305
|
r[a].forEach((r) => r.method(e, t, n));
|
|
1306
1306
|
});
|
|
1307
1307
|
}, n.onFlags = (e) => {
|
|
1308
|
-
let t =
|
|
1308
|
+
let t = K.flagDetailsChanged;
|
|
1309
1309
|
i[t].length && i[t].forEach((t) => t.method(e)), r[t].length && $n(() => {
|
|
1310
1310
|
r[t].forEach((t) => t.method(e));
|
|
1311
1311
|
});
|
|
1312
1312
|
}, n.onFlagChanged = (e, t) => {
|
|
1313
|
-
let n =
|
|
1313
|
+
let n = K.flagDetailChanged;
|
|
1314
1314
|
i[n].length && i[n].forEach((n) => n.method(e, t)), r[n].length && $n(() => {
|
|
1315
1315
|
r[n].forEach((n) => n.method(e, t));
|
|
1316
1316
|
});
|
|
1317
1317
|
}, n.onIdentityChanged = (e) => {
|
|
1318
|
-
let t =
|
|
1318
|
+
let t = K.clientIdentityChanged;
|
|
1319
1319
|
i[t].length && i[t].forEach((t) => t.method(e)), r[t].length && $n(() => {
|
|
1320
1320
|
r[t].forEach((t) => t.method(e));
|
|
1321
1321
|
});
|
|
1322
1322
|
}, n;
|
|
1323
1323
|
}
|
|
1324
|
-
}, { LDTimeoutError: tr } =
|
|
1324
|
+
}, { LDTimeoutError: tr } = H, nr = function(e, t) {
|
|
1325
1325
|
return new Promise((n, r) => {
|
|
1326
1326
|
setTimeout(() => {
|
|
1327
1327
|
r(new tr(`${t} timed out after ${e} seconds.`));
|
|
@@ -1392,7 +1392,7 @@ var or = function(e, t) {
|
|
|
1392
1392
|
}, sr = function() {
|
|
1393
1393
|
let e, t = {};
|
|
1394
1394
|
function n(n) {
|
|
1395
|
-
return e &&
|
|
1395
|
+
return e && W.objectHasOwnProperty(e, n) && e[n] ? e[n] : t && W.objectHasOwnProperty(t, n) && t[n] && !t[n].deleted ? t[n] : null;
|
|
1396
1396
|
}
|
|
1397
1397
|
return {
|
|
1398
1398
|
clearAllOverrides: function() {
|
|
@@ -1492,7 +1492,7 @@ var ur = {
|
|
|
1492
1492
|
})(e), l.hasListeners(mr.clientIdentityChanged) && l.onIdentityChanged(F.getContext());
|
|
1493
1493
|
}), ee = new qn(_), I = _.isEnabled() ? An(_, d, f, F) : null;
|
|
1494
1494
|
function te(e) {
|
|
1495
|
-
d && (P && P.enqueueEvent && P.enqueueEvent(e) || (e.context ? (N = !1, !u || M || r.isDoNotTrack() || (a.debug(
|
|
1495
|
+
d && (P && P.enqueueEvent && P.enqueueEvent(e) || (e.context ? (N = !1, !u || M || r.isDoNotTrack() || (a.debug(G.debugEnqueueingEvent(e.kind)), w.enqueue(e))) : N &&= (a.warn(G.eventWithoutContext()), !1)));
|
|
1496
1496
|
}
|
|
1497
1497
|
function L(e, t) {
|
|
1498
1498
|
l.hasListeners(mr.flagDetailChanged) && l.onFlagChanged(e.key, R(t));
|
|
@@ -1516,7 +1516,7 @@ var ur = {
|
|
|
1516
1516
|
s && (o.version = s.flagVersion ? s.flagVersion : s.version, o.trackEvents = s.trackEvents, o.debugEventsUntilDate = s.debugEventsUntilDate), (r || s && s.trackReason) && t && (o.reason = t.reason), te(o);
|
|
1517
1517
|
}
|
|
1518
1518
|
function ie(e) {
|
|
1519
|
-
return fr(e, !1) ? Promise.resolve(e) : Promise.reject(new
|
|
1519
|
+
return fr(e, !1) ? Promise.resolve(e) : Promise.reject(new H.LDInvalidUserError(G.invalidContext()));
|
|
1520
1520
|
}
|
|
1521
1521
|
function ae(e, t, n, r, i, a) {
|
|
1522
1522
|
let o, s = E.get(e);
|
|
@@ -1546,51 +1546,51 @@ var ur = {
|
|
|
1546
1546
|
try {
|
|
1547
1547
|
return JSON.parse(e);
|
|
1548
1548
|
} catch {
|
|
1549
|
-
o.maybeReportError(new
|
|
1549
|
+
o.maybeReportError(new H.LDInvalidDataError(G.invalidData()));
|
|
1550
1550
|
return;
|
|
1551
1551
|
}
|
|
1552
1552
|
};
|
|
1553
1553
|
C.connect(F.getContext(), f, {
|
|
1554
1554
|
ping: function() {
|
|
1555
|
-
a.debug(
|
|
1555
|
+
a.debug(G.debugStreamPing());
|
|
1556
1556
|
let e = F.getContext();
|
|
1557
1557
|
T.fetchFlagSettings(e, f).then((t) => {
|
|
1558
|
-
|
|
1558
|
+
W.deepEquals(e, F.getContext()) && ce(t || {});
|
|
1559
1559
|
}).catch((e) => {
|
|
1560
|
-
o.maybeReportError(new
|
|
1560
|
+
o.maybeReportError(new H.LDFlagFetchError(G.errorFetchingFlags(e)));
|
|
1561
1561
|
});
|
|
1562
1562
|
},
|
|
1563
1563
|
put: function(t) {
|
|
1564
1564
|
let n = e(t.data);
|
|
1565
|
-
n && (a.debug(
|
|
1565
|
+
n && (a.debug(G.debugStreamPut()), ce(n));
|
|
1566
1566
|
},
|
|
1567
1567
|
patch: function(t) {
|
|
1568
1568
|
let n = e(t.data);
|
|
1569
1569
|
if (!n) return;
|
|
1570
1570
|
let r = E.getFlags(), i = r[n.key];
|
|
1571
1571
|
if (!i || !i.version || !n.version || i.version < n.version) {
|
|
1572
|
-
a.debug(
|
|
1573
|
-
let e = {}, t =
|
|
1572
|
+
a.debug(G.debugStreamPatch(n.key));
|
|
1573
|
+
let e = {}, t = W.extend({}, n);
|
|
1574
1574
|
delete t.key, r[n.key] = t, E.setFlags(r);
|
|
1575
1575
|
let o = R(t);
|
|
1576
1576
|
e[n.key] = i ? {
|
|
1577
1577
|
previous: i.value,
|
|
1578
1578
|
current: o
|
|
1579
1579
|
} : { current: o }, L(n, t), le(e);
|
|
1580
|
-
} else a.debug(
|
|
1580
|
+
} else a.debug(G.debugStreamPatchIgnored(n.key));
|
|
1581
1581
|
},
|
|
1582
1582
|
delete: function(t) {
|
|
1583
1583
|
let n = e(t.data);
|
|
1584
1584
|
if (!n) return;
|
|
1585
1585
|
let r = E.getFlags();
|
|
1586
1586
|
if (!r[n.key] || r[n.key].version < n.version) {
|
|
1587
|
-
a.debug(
|
|
1587
|
+
a.debug(G.debugStreamDelete(n.key));
|
|
1588
1588
|
let e = {};
|
|
1589
1589
|
r[n.key] && !r[n.key].deleted && (e[n.key] = { previous: r[n.key].value }), r[n.key] = {
|
|
1590
1590
|
version: n.version,
|
|
1591
1591
|
deleted: !0
|
|
1592
1592
|
}, E.setFlags(r), L(n, r[n.key]), le(e);
|
|
1593
|
-
} else a.debug(
|
|
1593
|
+
} else a.debug(G.debugStreamDeleteIgnored(n.key));
|
|
1594
1594
|
}
|
|
1595
1595
|
});
|
|
1596
1596
|
}
|
|
@@ -1601,11 +1601,11 @@ var ur = {
|
|
|
1601
1601
|
let t = {};
|
|
1602
1602
|
if (!e) return Promise.resolve();
|
|
1603
1603
|
let n = E.getFlags();
|
|
1604
|
-
for (let r in n)
|
|
1604
|
+
for (let r in n) W.objectHasOwnProperty(n, r) && n[r] && (e[r] && !W.deepEquals(e[r].value, n[r].value) ? t[r] = {
|
|
1605
1605
|
previous: n[r].value,
|
|
1606
1606
|
current: R(e[r])
|
|
1607
1607
|
} : e[r] && !e[r].deleted || (t[r] = { previous: n[r].value }));
|
|
1608
|
-
for (let r in e)
|
|
1608
|
+
for (let r in e) W.objectHasOwnProperty(e, r) && e[r] && (!n[r] || n[r].deleted) && (t[r] = { current: R(e[r]) });
|
|
1609
1609
|
return E.setFlags({ ...e }), ne(), le(t).catch(() => {});
|
|
1610
1610
|
}
|
|
1611
1611
|
function le(e) {
|
|
@@ -1631,14 +1631,14 @@ var ur = {
|
|
|
1631
1631
|
function de(e) {
|
|
1632
1632
|
return e === br || e.substr(0, 7) === "change:";
|
|
1633
1633
|
}
|
|
1634
|
-
if (typeof c.bootstrap == "string" && c.bootstrap.toUpperCase() === "LOCALSTORAGE" && (I ? D = !0 : a.warn(
|
|
1634
|
+
if (typeof c.bootstrap == "string" && c.bootstrap.toUpperCase() === "LOCALSTORAGE" && (I ? D = !0 : a.warn(G.localStorageUnavailable())), typeof c.bootstrap == "object" && E.setFlags(function(e) {
|
|
1635
1635
|
let t = Object.keys(e), n = "$flagsState", r = "$valid", i = e[n];
|
|
1636
|
-
!i && t.length && a.warn(
|
|
1636
|
+
!i && t.length && a.warn(G.bootstrapOldFormat()), !1 === e[r] && a.warn(G.bootstrapInvalid());
|
|
1637
1637
|
let o = {};
|
|
1638
1638
|
return t.forEach((t) => {
|
|
1639
1639
|
if (t !== n && t !== r) {
|
|
1640
1640
|
let n = { value: e[t] };
|
|
1641
|
-
i && i[t] ? n =
|
|
1641
|
+
i && i[t] ? n = W.extend(n, i[t]) : n.version = 0, o[t] = n;
|
|
1642
1642
|
}
|
|
1643
1643
|
}), o;
|
|
1644
1644
|
}(c.bootstrap)), P) {
|
|
@@ -1647,11 +1647,11 @@ var ur = {
|
|
|
1647
1647
|
e.context && F.setContext(e.context), e.flags && ce(e.flags);
|
|
1648
1648
|
});
|
|
1649
1649
|
} else (function() {
|
|
1650
|
-
if (!e) return Promise.reject(new
|
|
1650
|
+
if (!e) return Promise.reject(new H.LDInvalidEnvironmentIdError(G.environmentNotSpecified()));
|
|
1651
1651
|
let n;
|
|
1652
|
-
return ee.processContext(t).then(ie).then((e) => (n =
|
|
1653
|
-
me(new
|
|
1654
|
-
})) : (E.setFlags(e),
|
|
1652
|
+
return ee.processContext(t).then(ie).then((e) => (n = W.once(g.identify(e, void 0)), e)).then((e) => (n?.({ status: "completed" }), F.setContext(e), typeof c.bootstrap == "object" ? pe() : D ? I.loadFlags().then((e) => e == null ? (E.setFlags({}), T.fetchFlagSettings(F.getContext(), f).then((e) => ce(e || {})).then(pe).catch((e) => {
|
|
1653
|
+
me(new H.LDFlagFetchError(G.errorFetchingFlags(e)));
|
|
1654
|
+
})) : (E.setFlags(e), W.onNextTick(pe), T.fetchFlagSettings(F.getContext(), f).then((e) => ce(e)).catch((e) => o.maybeReportError(e)))) : T.fetchFlagSettings(F.getContext(), f).then((e) => {
|
|
1655
1655
|
E.setFlags(e || {}), ne(), pe();
|
|
1656
1656
|
}).catch((e) => {
|
|
1657
1657
|
E.setFlags({}), me(e);
|
|
@@ -1660,10 +1660,10 @@ var ur = {
|
|
|
1660
1660
|
});
|
|
1661
1661
|
})().catch(me);
|
|
1662
1662
|
function fe(e) {
|
|
1663
|
-
d = e.environment, F.setContext(e.context), E.setFlags({ ...e.flags }),
|
|
1663
|
+
d = e.environment, F.setContext(e.context), E.setFlags({ ...e.flags }), W.onNextTick(pe);
|
|
1664
1664
|
}
|
|
1665
1665
|
function pe() {
|
|
1666
|
-
a.info(
|
|
1666
|
+
a.info(G.clientInitialized()), j = !0, ue(), s.signalSuccess();
|
|
1667
1667
|
}
|
|
1668
1668
|
function me(e) {
|
|
1669
1669
|
s.signalFailure(e);
|
|
@@ -1675,7 +1675,7 @@ var ur = {
|
|
|
1675
1675
|
e > 5 && a.warn("The waitForInitialization function was called with a timeout greater than 5 seconds. We recommend a timeout of 5 seconds or less.");
|
|
1676
1676
|
let t = s.getInitializationPromise(), n = nr(e, "waitForInitialization");
|
|
1677
1677
|
return Promise.race([n, t]).catch((e) => {
|
|
1678
|
-
throw e instanceof
|
|
1678
|
+
throw e instanceof H.LDTimeoutError && a.error(`waitForInitialization error: ${e}`), e;
|
|
1679
1679
|
});
|
|
1680
1680
|
}(e);
|
|
1681
1681
|
a.warn("The waitForInitialization method was provided with a non-numeric timeout.");
|
|
@@ -1684,11 +1684,11 @@ var ur = {
|
|
|
1684
1684
|
},
|
|
1685
1685
|
waitUntilReady: () => s.getReadyPromise(),
|
|
1686
1686
|
identify: function(e, t, n) {
|
|
1687
|
-
if (M) return
|
|
1688
|
-
if (P) return a.warn(
|
|
1687
|
+
if (M) return W.wrapPromiseCallback(Promise.resolve({}), n);
|
|
1688
|
+
if (P) return a.warn(G.identifyDisabled()), W.wrapPromiseCallback(Promise.resolve(W.transformVersionedValuesToValues(E.getFlagsWithOverrides())), n);
|
|
1689
1689
|
let r, i = D && I ? I.clearFlags() : Promise.resolve();
|
|
1690
|
-
return
|
|
1691
|
-
let r =
|
|
1690
|
+
return W.wrapPromiseCallback(i.then(() => ee.processContext(e)).then(ie).then((e) => (r = W.once(g.identify(e, void 0)), e)).then((e) => T.fetchFlagSettings(e, t).then((n) => {
|
|
1691
|
+
let r = W.transformVersionedValuesToValues(n);
|
|
1692
1692
|
return F.setContext(e), f = t, n ? ce(n).then(() => r) : r;
|
|
1693
1693
|
})).then((e) => (r?.({ status: "completed" }), O && oe(), e)).catch((e) => (r?.({ status: "error" }), o.maybeReportError(e), Promise.reject(e))), n);
|
|
1694
1694
|
},
|
|
@@ -1703,8 +1703,8 @@ var ur = {
|
|
|
1703
1703
|
return g.withEvaluation(e, F.getContext(), t, () => ae(e, t, !0, !0, !1, !0));
|
|
1704
1704
|
},
|
|
1705
1705
|
track: function(e, t, n) {
|
|
1706
|
-
if (typeof e != "string") return void o.maybeReportError(new
|
|
1707
|
-
n !== void 0 && typeof n != "number" && a.warn(
|
|
1706
|
+
if (typeof e != "string") return void o.maybeReportError(new H.LDInvalidEventKeyError(G.unknownCustomEventKey(e)));
|
|
1707
|
+
n !== void 0 && typeof n != "number" && a.warn(G.invalidMetricValue(typeof n)), r.customEventFilter && !r.customEventFilter(e) && a.warn(G.unknownCustomEventKey(e));
|
|
1708
1708
|
let i = F.getContext(), s = {
|
|
1709
1709
|
kind: "custom",
|
|
1710
1710
|
key: e,
|
|
@@ -1735,7 +1735,7 @@ var ur = {
|
|
|
1735
1735
|
t !== A && (A = t, ue());
|
|
1736
1736
|
},
|
|
1737
1737
|
flush: function(e) {
|
|
1738
|
-
return
|
|
1738
|
+
return W.wrapPromiseCallback(u ? w.flush() : Promise.resolve(), e);
|
|
1739
1739
|
},
|
|
1740
1740
|
allFlags: function() {
|
|
1741
1741
|
let e = {}, t = E.getFlagsWithOverrides();
|
|
@@ -1744,13 +1744,13 @@ var ur = {
|
|
|
1744
1744
|
return e;
|
|
1745
1745
|
},
|
|
1746
1746
|
close: function(e) {
|
|
1747
|
-
if (M) return
|
|
1747
|
+
if (M) return W.wrapPromiseCallback(Promise.resolve(), e);
|
|
1748
1748
|
let t = () => {
|
|
1749
1749
|
M = !0, E.setFlags({});
|
|
1750
1750
|
}, n = Promise.resolve().then(() => {
|
|
1751
1751
|
if (se(), S && S.stop(), u) return w.stop(), w.flush();
|
|
1752
1752
|
}).then(t).catch(t);
|
|
1753
|
-
return
|
|
1753
|
+
return W.wrapPromiseCallback(n, e);
|
|
1754
1754
|
},
|
|
1755
1755
|
addHook: function(e) {
|
|
1756
1756
|
g.addHook(e);
|
|
@@ -1816,9 +1816,9 @@ var ur = {
|
|
|
1816
1816
|
};
|
|
1817
1817
|
},
|
|
1818
1818
|
commonBasicLogger: dr,
|
|
1819
|
-
errors:
|
|
1820
|
-
messages:
|
|
1821
|
-
utils:
|
|
1819
|
+
errors: H,
|
|
1820
|
+
messages: G,
|
|
1821
|
+
utils: W,
|
|
1822
1822
|
getContextKeys: pr
|
|
1823
1823
|
}, Cr = Sr.initialize, wr = Sr.errors;
|
|
1824
1824
|
Sr.messages;
|
|
@@ -2311,73 +2311,73 @@ var Lr = /* @__PURE__ */ n((/* @__PURE__ */ e(((e, t) => {
|
|
|
2311
2311
|
function ye(e) {
|
|
2312
2312
|
return ce.test(e);
|
|
2313
2313
|
}
|
|
2314
|
-
function
|
|
2314
|
+
function z(e) {
|
|
2315
2315
|
return le.test(e);
|
|
2316
2316
|
}
|
|
2317
|
-
function
|
|
2318
|
-
return ye(e) ?
|
|
2317
|
+
function be(e) {
|
|
2318
|
+
return ye(e) ? xe(e) : he(e);
|
|
2319
2319
|
}
|
|
2320
|
-
function
|
|
2320
|
+
function xe(e) {
|
|
2321
2321
|
return e.match(oe) || [];
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function Se(e) {
|
|
2324
2324
|
return e.match(se) || [];
|
|
2325
2325
|
}
|
|
2326
|
-
var
|
|
2327
|
-
function
|
|
2326
|
+
var Ce = Object.prototype.toString, we = pe.Symbol, Te = we ? we.prototype : void 0, Ee = Te ? Te.toString : void 0;
|
|
2327
|
+
function De(e, t, n) {
|
|
2328
2328
|
var r = -1, i = e.length;
|
|
2329
2329
|
t < 0 && (t = -t > i ? 0 : i + t), n = n > i ? i : n, n < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0;
|
|
2330
2330
|
for (var a = Array(i); ++r < i;) a[r] = e[r + t];
|
|
2331
2331
|
return a;
|
|
2332
2332
|
}
|
|
2333
|
-
function
|
|
2333
|
+
function Oe(e) {
|
|
2334
2334
|
if (typeof e == "string") return e;
|
|
2335
|
-
if (
|
|
2335
|
+
if (Ne(e)) return Ee ? Ee.call(e) : "";
|
|
2336
2336
|
var t = e + "";
|
|
2337
2337
|
return t == "0" && 1 / e == -n ? "-0" : t;
|
|
2338
2338
|
}
|
|
2339
|
-
function
|
|
2339
|
+
function ke(e, t, n) {
|
|
2340
2340
|
var r = e.length;
|
|
2341
|
-
return n = n === void 0 ? r : n, !t && n >= r ? e :
|
|
2341
|
+
return n = n === void 0 ? r : n, !t && n >= r ? e : De(e, t, n);
|
|
2342
2342
|
}
|
|
2343
|
-
function
|
|
2343
|
+
function Ae(e) {
|
|
2344
2344
|
return function(t) {
|
|
2345
|
-
t =
|
|
2346
|
-
var n = ye(t) ?
|
|
2345
|
+
t = Pe(t);
|
|
2346
|
+
var n = ye(t) ? be(t) : void 0, r = n ? n[0] : t.charAt(0), i = n ? ke(n, 1).join("") : t.slice(1);
|
|
2347
2347
|
return r[e]() + i;
|
|
2348
2348
|
};
|
|
2349
2349
|
}
|
|
2350
|
-
function
|
|
2350
|
+
function je(e) {
|
|
2351
2351
|
return function(t) {
|
|
2352
|
-
return me(
|
|
2352
|
+
return me(ze(Le(t).replace(ae, "")), e, "");
|
|
2353
2353
|
};
|
|
2354
2354
|
}
|
|
2355
|
-
function
|
|
2355
|
+
function Me(e) {
|
|
2356
2356
|
return !!e && typeof e == "object";
|
|
2357
2357
|
}
|
|
2358
|
-
function
|
|
2359
|
-
return typeof e == "symbol" ||
|
|
2358
|
+
function Ne(e) {
|
|
2359
|
+
return typeof e == "symbol" || Me(e) && Ce.call(e) == r;
|
|
2360
2360
|
}
|
|
2361
|
-
function
|
|
2362
|
-
return e == null ? "" :
|
|
2361
|
+
function Pe(e) {
|
|
2362
|
+
return e == null ? "" : Oe(e);
|
|
2363
2363
|
}
|
|
2364
|
-
var
|
|
2365
|
-
return t = t.toLowerCase(), e + (n ?
|
|
2364
|
+
var Fe = je(function(e, t, n) {
|
|
2365
|
+
return t = t.toLowerCase(), e + (n ? Ie(t) : t);
|
|
2366
2366
|
});
|
|
2367
|
-
function
|
|
2368
|
-
return
|
|
2367
|
+
function Ie(e) {
|
|
2368
|
+
return Re(Pe(e).toLowerCase());
|
|
2369
2369
|
}
|
|
2370
|
-
function
|
|
2371
|
-
return e =
|
|
2370
|
+
function Le(e) {
|
|
2371
|
+
return e = Pe(e), e && e.replace(a, ve).replace(R, "");
|
|
2372
2372
|
}
|
|
2373
|
-
var
|
|
2374
|
-
function
|
|
2375
|
-
return e =
|
|
2373
|
+
var Re = Ae("toUpperCase");
|
|
2374
|
+
function ze(e, t, n) {
|
|
2375
|
+
return e = Pe(e), t = n ? void 0 : t, t === void 0 ? z(e) ? Se(e) : ge(e) : e.match(t) || [];
|
|
2376
2376
|
}
|
|
2377
|
-
t.exports =
|
|
2377
|
+
t.exports = Fe;
|
|
2378
2378
|
})))());
|
|
2379
2379
|
ne();
|
|
2380
|
-
var Rr = (0,
|
|
2380
|
+
var Rr = (0, B.createContext)({
|
|
2381
2381
|
flags: {},
|
|
2382
2382
|
flagKeyMap: {},
|
|
2383
2383
|
ldClient: void 0
|
|
@@ -2436,7 +2436,7 @@ var Yr = {
|
|
|
2436
2436
|
configurable: !0,
|
|
2437
2437
|
writable: !0,
|
|
2438
2438
|
value: n
|
|
2439
|
-
}) : e[t] = n,
|
|
2439
|
+
}) : e[t] = n, q = (e, t) => {
|
|
2440
2440
|
for (var n in t ||= {}) ei.call(t, n) && ni(e, n, t[n]);
|
|
2441
2441
|
if ($r) for (var n of $r(t)) ti.call(t, n) && ni(e, n, t[n]);
|
|
2442
2442
|
return e;
|
|
@@ -2455,22 +2455,22 @@ var Yr = {
|
|
|
2455
2455
|
}
|
|
2456
2456
|
}, s = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(a, o);
|
|
2457
2457
|
s((n = n.apply(e, t)).next());
|
|
2458
|
-
}), ai = class extends
|
|
2458
|
+
}), ai = class extends B.Component {
|
|
2459
2459
|
constructor(e) {
|
|
2460
|
-
super(e), this.getReactOptions = () =>
|
|
2460
|
+
super(e), this.getReactOptions = () => q(q({}, Vr), this.props.reactOptions), this.subscribeToChanges = (e) => {
|
|
2461
2461
|
let { flags: t } = this.props;
|
|
2462
2462
|
e.on("change", (n) => {
|
|
2463
2463
|
let r = this.getReactOptions(), i = Wr(n, t);
|
|
2464
2464
|
Object.keys(i).length > 0 && this.setState((n) => {
|
|
2465
|
-
let a =
|
|
2466
|
-
return
|
|
2465
|
+
let a = q(q({}, n.unproxiedFlags), i);
|
|
2466
|
+
return q(ri(q({}, n), { unproxiedFlags: a }), Kr(e, a, r, t));
|
|
2467
2467
|
});
|
|
2468
2468
|
});
|
|
2469
2469
|
}, this.onFailed = (e, t) => {
|
|
2470
|
-
this.setState((e) => ri(
|
|
2470
|
+
this.setState((e) => ri(q({}, e), { error: t }));
|
|
2471
2471
|
}, this.onReady = (e, t, n) => {
|
|
2472
2472
|
let r = Gr(e, n);
|
|
2473
|
-
this.setState((i) =>
|
|
2473
|
+
this.setState((i) => q(ri(q({}, i), { unproxiedFlags: r }), Kr(e, r, t, n)));
|
|
2474
2474
|
}, this.prepareLDClient = () => ii(this, null, function* () {
|
|
2475
2475
|
let { clientSideID: e, flags: t, options: n } = this.props, r = yield this.props.ldClient, i = this.getReactOptions(), a, o = this.state.unproxiedFlags;
|
|
2476
2476
|
if (r) o = Gr(r, t);
|
|
@@ -2478,7 +2478,7 @@ var Yr = {
|
|
|
2478
2478
|
r = Ir(e, Hr(this.props) ?? {
|
|
2479
2479
|
anonymous: !0,
|
|
2480
2480
|
kind: "user"
|
|
2481
|
-
},
|
|
2481
|
+
}, q(q({}, Yr), n));
|
|
2482
2482
|
try {
|
|
2483
2483
|
yield r.waitForInitialization(this.props.timeout), o = Gr(r, t);
|
|
2484
2484
|
} catch (e) {
|
|
@@ -2487,7 +2487,7 @@ var Yr = {
|
|
|
2487
2487
|
}));
|
|
2488
2488
|
}
|
|
2489
2489
|
}
|
|
2490
|
-
this.setState((e) => ri(
|
|
2490
|
+
this.setState((e) => ri(q(ri(q({}, e), { unproxiedFlags: o }), Kr(r, o, i, t)), {
|
|
2491
2491
|
ldClient: r,
|
|
2492
2492
|
error: a
|
|
2493
2493
|
})), this.subscribeToChanges(r);
|
|
@@ -2523,7 +2523,7 @@ var Yr = {
|
|
|
2523
2523
|
}
|
|
2524
2524
|
render() {
|
|
2525
2525
|
let { flags: e, flagKeyMap: t, ldClient: n, error: r } = this.state, { reactContext: i } = this.getReactOptions();
|
|
2526
|
-
return
|
|
2526
|
+
return B.createElement(i.Provider, { value: {
|
|
2527
2527
|
flags: e,
|
|
2528
2528
|
flagKeyMap: t,
|
|
2529
2529
|
ldClient: n,
|
|
@@ -2531,12 +2531,12 @@ var Yr = {
|
|
|
2531
2531
|
} }, this.props.children);
|
|
2532
2532
|
}
|
|
2533
2533
|
}, oi = (e) => {
|
|
2534
|
-
let { flags: t } = (0,
|
|
2534
|
+
let { flags: t } = (0, B.useContext)(e ?? Vr.reactContext);
|
|
2535
2535
|
return t;
|
|
2536
2536
|
}, si = (e) => {
|
|
2537
|
-
let { ldClient: t } = (0,
|
|
2537
|
+
let { ldClient: t } = (0, B.useContext)(e ?? Vr.reactContext);
|
|
2538
2538
|
return t;
|
|
2539
|
-
}, ci = /* @__PURE__ */ n(
|
|
2539
|
+
}, ci = /* @__PURE__ */ n(Ae(), 1), J = {
|
|
2540
2540
|
landingBackgroundColor: "#fff",
|
|
2541
2541
|
landingPrimaryFontColor: "#000",
|
|
2542
2542
|
landingBackgroundImage: "none",
|
|
@@ -2550,7 +2550,7 @@ var Yr = {
|
|
|
2550
2550
|
formFont: "var(--sheerid-font-family-sans)",
|
|
2551
2551
|
cssVariables: null,
|
|
2552
2552
|
customStyles: null
|
|
2553
|
-
}, li =
|
|
2553
|
+
}, li = B.createContext(J), Y = {
|
|
2554
2554
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
2555
2555
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
2556
2556
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -2676,24 +2676,24 @@ var Yr = {
|
|
|
2676
2676
|
percentage: 3
|
|
2677
2677
|
}
|
|
2678
2678
|
}, di = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
2679
|
-
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor ||
|
|
2680
|
-
[
|
|
2681
|
-
[
|
|
2682
|
-
[
|
|
2683
|
-
[
|
|
2684
|
-
[
|
|
2685
|
-
[
|
|
2686
|
-
[
|
|
2687
|
-
[
|
|
2688
|
-
[
|
|
2689
|
-
[
|
|
2690
|
-
[
|
|
2679
|
+
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || J.landingBackgroundColor, c = o?.primaryFontColor || J.landingPrimaryFontColor, l = o?.backgroundImageUrl || J.landingBackgroundImage, u = e?.backgroundColor || J.formBackgroundColor, d = e?.primaryFontColor || J.formPrimaryFontColor, f = e?.buttonColor || J.formButtonColor, p = e?.buttonFontColor || J.formButtonFontColor, m = e?.linkColor || J.formLinkColor, h = e?.h1FontColor || J.formH1FontColor, g = e?.helperFontColor || J.formHelperFontColor, _ = e?.font || J.formFont, v = {
|
|
2680
|
+
[Y.landingBackgroundColor]: s,
|
|
2681
|
+
[Y.landingPrimaryFontColor]: c,
|
|
2682
|
+
[Y.landingBackgroundImage]: l === J.landingBackgroundImage ? J.landingBackgroundImage : `url(${l})`,
|
|
2683
|
+
[Y.formBackgroundColor]: u,
|
|
2684
|
+
[Y.formPrimaryFontColor]: d,
|
|
2685
|
+
[Y.formButtonColor]: f,
|
|
2686
|
+
[Y.formButtonFontColor]: p,
|
|
2687
|
+
[Y.formLinkColor]: m,
|
|
2688
|
+
[Y.formH1FontColor]: h,
|
|
2689
|
+
[Y.formHelperFontColor]: g,
|
|
2690
|
+
[Y.formFont]: _ === J.formFont ? J.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
2691
2691
|
...Object.entries(ui).reduce((e, [t, n]) => {
|
|
2692
2692
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
2693
2693
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
2694
2694
|
}, {})
|
|
2695
|
-
}, y =
|
|
2696
|
-
return /* @__PURE__ */ (0,
|
|
2695
|
+
}, y = B.useRef(null), b = Me() === je.cdnInlineIframe, x = Me() === je.cdnModalIframe;
|
|
2696
|
+
return /* @__PURE__ */ (0, V.jsx)(li.Provider, {
|
|
2697
2697
|
value: {
|
|
2698
2698
|
landingBackgroundColor: s,
|
|
2699
2699
|
landingPrimaryFontColor: c,
|
|
@@ -2709,92 +2709,92 @@ var Yr = {
|
|
|
2709
2709
|
cssVariables: v,
|
|
2710
2710
|
customStyles: a
|
|
2711
2711
|
},
|
|
2712
|
-
children: /* @__PURE__ */ (0,
|
|
2712
|
+
children: /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
2713
2713
|
style: v,
|
|
2714
2714
|
ref: y,
|
|
2715
2715
|
"data-in-iframe": b,
|
|
2716
2716
|
"data-in-modal": x,
|
|
2717
|
-
children: [a && /* @__PURE__ */ (0,
|
|
2717
|
+
children: [a && /* @__PURE__ */ (0, V.jsx)("style", { children: a }), n]
|
|
2718
2718
|
})
|
|
2719
2719
|
});
|
|
2720
2720
|
}, fi = {}, pi = (e) => fi[e] ? (a.log(`getOverridenComponent returning ${e}`), fi[e]) : null, mi = ({ verificationService: e, linkText: t }) => {
|
|
2721
2721
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
2722
|
-
return n ? /* @__PURE__ */ (0,
|
|
2722
|
+
return n ? /* @__PURE__ */ (0, V.jsx)(fe, {
|
|
2723
2723
|
className: "sid-faq sid-link",
|
|
2724
2724
|
href: ze(i, n, r, D(e.viewModel), e.verificationResponse),
|
|
2725
|
-
children: t || /* @__PURE__ */ (0,
|
|
2725
|
+
children: t || /* @__PURE__ */ (0, V.jsx)(L, {
|
|
2726
2726
|
id: "getHelp",
|
|
2727
2727
|
defaultMessage: "Get help"
|
|
2728
2728
|
})
|
|
2729
2729
|
}) : null;
|
|
2730
|
-
}, hi = /* @__PURE__ */ (0,
|
|
2730
|
+
}, hi = /* @__PURE__ */ (0, V.jsx)(L, {
|
|
2731
2731
|
id: "poweredBy",
|
|
2732
2732
|
defaultMessage: "Verification services powered by SheerID."
|
|
2733
2733
|
}), gi = ({ verificationService: e, isCentered: t, variant: n = "default" }) => {
|
|
2734
2734
|
switch (n) {
|
|
2735
|
-
case "poweredby": return /* @__PURE__ */ (0,
|
|
2735
|
+
case "poweredby": return /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
2736
2736
|
className: "sid-footer__powered-by-container-experiment",
|
|
2737
|
-
children: [/* @__PURE__ */ (0,
|
|
2737
|
+
children: [/* @__PURE__ */ (0, V.jsx)("div", {
|
|
2738
2738
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
2739
2739
|
children: hi
|
|
2740
|
-
}), /* @__PURE__ */ (0,
|
|
2740
|
+
}), /* @__PURE__ */ (0, V.jsx)("div", {
|
|
2741
2741
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
2742
|
-
children: /* @__PURE__ */ (0,
|
|
2742
|
+
children: /* @__PURE__ */ (0, V.jsx)(mi, { verificationService: e })
|
|
2743
2743
|
})]
|
|
2744
2744
|
});
|
|
2745
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
2745
|
+
case "verificationby": return /* @__PURE__ */ (0, V.jsx)("div", {
|
|
2746
2746
|
className: "sid-footer__powered-by-container--stacked sid-l-horz-center sid-footer__powered-by-experiment",
|
|
2747
|
-
children: /* @__PURE__ */ (0,
|
|
2747
|
+
children: /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
2748
2748
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
2749
|
-
children: [/* @__PURE__ */ (0,
|
|
2749
|
+
children: [/* @__PURE__ */ (0, V.jsx)("div", {
|
|
2750
2750
|
className: "sid-footer__powered-by-icon-experiment",
|
|
2751
|
-
children: /* @__PURE__ */ (0,
|
|
2751
|
+
children: /* @__PURE__ */ (0, V.jsx)("img", {
|
|
2752
2752
|
alt: "",
|
|
2753
2753
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
2754
2754
|
})
|
|
2755
2755
|
}), hi]
|
|
2756
2756
|
})
|
|
2757
2757
|
});
|
|
2758
|
-
default: return /* @__PURE__ */ (0,
|
|
2758
|
+
default: return /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
2759
2759
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
2760
|
-
children: [/* @__PURE__ */ (0,
|
|
2760
|
+
children: [/* @__PURE__ */ (0, V.jsx)("div", {
|
|
2761
2761
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
2762
2762
|
children: hi
|
|
2763
|
-
}), /* @__PURE__ */ (0,
|
|
2763
|
+
}), /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
2764
2764
|
className: t ? "sid-l-space-top-sm" : "",
|
|
2765
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
2765
|
+
children: ["\xA0", /* @__PURE__ */ (0, V.jsx)(mi, { verificationService: e })]
|
|
2766
2766
|
})]
|
|
2767
2767
|
});
|
|
2768
2768
|
}
|
|
2769
2769
|
}, _i = (e, t) => {
|
|
2770
|
-
let n =
|
|
2770
|
+
let n = B.useRef(null);
|
|
2771
2771
|
function r() {
|
|
2772
2772
|
clearInterval(n.current);
|
|
2773
2773
|
}
|
|
2774
|
-
return
|
|
2774
|
+
return B.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
2775
2775
|
}, vi = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = xi.PRIMARY }) => {
|
|
2776
2776
|
let a = et(e);
|
|
2777
|
-
return /* @__PURE__ */ (0,
|
|
2777
|
+
return /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
2778
2778
|
className: "sid-header sid-l-horz-center",
|
|
2779
2779
|
children: [
|
|
2780
|
-
/* @__PURE__ */ (0,
|
|
2780
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
2781
2781
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
2782
2782
|
children: n
|
|
2783
2783
|
}),
|
|
2784
|
-
/* @__PURE__ */ (0,
|
|
2784
|
+
/* @__PURE__ */ (0, V.jsx)(tt, {
|
|
2785
2785
|
align: "center",
|
|
2786
2786
|
children: t.title
|
|
2787
2787
|
}),
|
|
2788
|
-
/* @__PURE__ */ (0,
|
|
2788
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
2789
2789
|
className: "sid-header__subtitle-one",
|
|
2790
2790
|
children: t.subtitle
|
|
2791
2791
|
}),
|
|
2792
|
-
t?.subtitle2 && /* @__PURE__ */ (0,
|
|
2793
|
-
/* @__PURE__ */ (0,
|
|
2792
|
+
t?.subtitle2 && /* @__PURE__ */ (0, V.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
2793
|
+
/* @__PURE__ */ (0, V.jsxs)("div", {
|
|
2794
2794
|
className: "sid-header__subtitle-two sid-h-small-text sid-l-space-top-md",
|
|
2795
|
-
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0,
|
|
2795
|
+
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0, V.jsx)("div", {
|
|
2796
2796
|
className: `sid-form-region sid-${a}-pending-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
2797
|
-
children: /* @__PURE__ */ (0,
|
|
2797
|
+
children: /* @__PURE__ */ (0, V.jsx)("button", {
|
|
2798
2798
|
onClick: r,
|
|
2799
2799
|
type: "submit",
|
|
2800
2800
|
className: `sid-btn sid-${a}-pending-submit-btn ${i === xi.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
@@ -2803,40 +2803,40 @@ var Yr = {
|
|
|
2803
2803
|
})
|
|
2804
2804
|
})]
|
|
2805
2805
|
}),
|
|
2806
|
-
t?.subtitle2 ? /* @__PURE__ */ (0,
|
|
2806
|
+
t?.subtitle2 ? /* @__PURE__ */ (0, V.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, V.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
2807
2807
|
]
|
|
2808
2808
|
});
|
|
2809
|
-
}, yi = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = xi.PRIMARY }) => /* @__PURE__ */ (0,
|
|
2809
|
+
}, yi = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = xi.PRIMARY }) => /* @__PURE__ */ (0, V.jsx)(vi, {
|
|
2810
2810
|
messages: t,
|
|
2811
2811
|
stepName: e,
|
|
2812
2812
|
logo: n,
|
|
2813
2813
|
cancelSingleSignOn: r,
|
|
2814
2814
|
cancelButtonType: i
|
|
2815
|
-
}), bi = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => /* @__PURE__ */ (0,
|
|
2815
|
+
}), bi = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
2816
2816
|
className: "sid-header sid-l-horz-center",
|
|
2817
2817
|
children: [
|
|
2818
|
-
/* @__PURE__ */ (0,
|
|
2818
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
2819
2819
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
2820
|
-
children: /* @__PURE__ */ (0,
|
|
2820
|
+
children: /* @__PURE__ */ (0, V.jsx)($e, {
|
|
2821
2821
|
verificationService: t,
|
|
2822
|
-
fallbackLogo: /* @__PURE__ */ (0,
|
|
2822
|
+
fallbackLogo: /* @__PURE__ */ (0, V.jsx)("img", {
|
|
2823
2823
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
2824
2824
|
alt: "",
|
|
2825
2825
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"
|
|
2826
2826
|
})
|
|
2827
2827
|
})
|
|
2828
2828
|
}),
|
|
2829
|
-
/* @__PURE__ */ (0,
|
|
2829
|
+
/* @__PURE__ */ (0, V.jsx)(tt, {
|
|
2830
2830
|
align: "center",
|
|
2831
2831
|
children: e.title
|
|
2832
2832
|
}),
|
|
2833
|
-
/* @__PURE__ */ (0,
|
|
2833
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
2834
2834
|
className: "sid-header__subtitle-one",
|
|
2835
2835
|
children: e.subtitle
|
|
2836
2836
|
}),
|
|
2837
|
-
/* @__PURE__ */ (0,
|
|
2837
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
2838
2838
|
className: `sid-form-region sid-${r}-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
2839
|
-
children: /* @__PURE__ */ (0,
|
|
2839
|
+
children: /* @__PURE__ */ (0, V.jsx)("button", {
|
|
2840
2840
|
id: `sid-submit-btn-${r}`,
|
|
2841
2841
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
2842
2842
|
type: "submit",
|
|
@@ -2844,14 +2844,14 @@ var Yr = {
|
|
|
2844
2844
|
children: e.login
|
|
2845
2845
|
})
|
|
2846
2846
|
}),
|
|
2847
|
-
/* @__PURE__ */ (0,
|
|
2847
|
+
/* @__PURE__ */ (0, V.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
2848
2848
|
]
|
|
2849
2849
|
}), xi = /* @__PURE__ */ function(e) {
|
|
2850
2850
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
2851
2851
|
}({}), Si = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
2852
|
-
let { programId: i } = e, o = e.viewModel, s = e.previousViewModel || void 0, c = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: u, locale: d } = e.verificationResponse, p = Pe(), m = et(t), h, g = /* @__PURE__ */ (0,
|
|
2852
|
+
let { programId: i } = e, o = e.viewModel, s = e.previousViewModel || void 0, c = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: u, locale: d } = e.verificationResponse, p = Pe(), m = et(t), h, g = /* @__PURE__ */ (0, V.jsx)($e, {
|
|
2853
2853
|
verificationService: e,
|
|
2854
|
-
fallbackLogo: /* @__PURE__ */ (0,
|
|
2854
|
+
fallbackLogo: /* @__PURE__ */ (0, V.jsx)("img", {
|
|
2855
2855
|
className: `sid-${m}-logo-default sid-l-lead-image`,
|
|
2856
2856
|
alt: "",
|
|
2857
2857
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
@@ -2880,49 +2880,49 @@ var Yr = {
|
|
|
2880
2880
|
}, x = () => {
|
|
2881
2881
|
Ze(window.open(c.loginUrl, "_blank")), Je().focus();
|
|
2882
2882
|
};
|
|
2883
|
-
return o.isSingleSignOnActive && !p && (h = _()), !o.countryChoice && s && s.countryChoice && v("countryChoice", s.countryChoice), /* @__PURE__ */ (0,
|
|
2883
|
+
return o.isSingleSignOnActive && !p && (h = _()), !o.countryChoice && s && s.countryChoice && v("countryChoice", s.countryChoice), /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
2884
2884
|
id: `sid-step-${m}`,
|
|
2885
2885
|
className: `sid-${m}-container sid-l-container`,
|
|
2886
2886
|
"data-testid": `sid-step-${m}`,
|
|
2887
|
-
children: [/* @__PURE__ */ (0,
|
|
2887
|
+
children: [/* @__PURE__ */ (0, V.jsx)("div", {
|
|
2888
2888
|
role: "main",
|
|
2889
|
-
children: o.isSingleSignOnActive ? /* @__PURE__ */ (0,
|
|
2889
|
+
children: o.isSingleSignOnActive ? /* @__PURE__ */ (0, V.jsx)(yi, {
|
|
2890
2890
|
stepName: t,
|
|
2891
2891
|
messages: n,
|
|
2892
2892
|
logo: g,
|
|
2893
2893
|
cancelSingleSignOn: y,
|
|
2894
2894
|
cancelButtonType: r
|
|
2895
|
-
}) : /* @__PURE__ */ (0,
|
|
2895
|
+
}) : /* @__PURE__ */ (0, V.jsx)(bi, {
|
|
2896
2896
|
verificationService: e,
|
|
2897
2897
|
messages: n,
|
|
2898
2898
|
updateViewModelAndOpenLoginTab: b,
|
|
2899
2899
|
dashedStepName: m
|
|
2900
2900
|
})
|
|
2901
|
-
}), /* @__PURE__ */ (0,
|
|
2901
|
+
}), /* @__PURE__ */ (0, V.jsx)(xe, { verificationService: e })]
|
|
2902
2902
|
});
|
|
2903
2903
|
}, Ci = {
|
|
2904
|
-
title: /* @__PURE__ */ (0,
|
|
2904
|
+
title: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
2905
2905
|
id: "step.sso.title",
|
|
2906
2906
|
defaultMessage: "Verify using your school credentials",
|
|
2907
2907
|
tagName: "h1"
|
|
2908
2908
|
}),
|
|
2909
|
-
subtitle: /* @__PURE__ */ (0,
|
|
2909
|
+
subtitle: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
2910
2910
|
id: "step.sso.subtitle",
|
|
2911
2911
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
2912
2912
|
}),
|
|
2913
|
-
login: /* @__PURE__ */ (0,
|
|
2913
|
+
login: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
2914
2914
|
id: "step.sso.login",
|
|
2915
2915
|
defaultMessage: "Sign in to my school"
|
|
2916
2916
|
}),
|
|
2917
|
-
cancel: /* @__PURE__ */ (0,
|
|
2917
|
+
cancel: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
2918
2918
|
id: "step.sso.cancel",
|
|
2919
2919
|
defaultMessage: "Upload Proof of Enrollment"
|
|
2920
2920
|
}),
|
|
2921
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
2921
|
+
subtitle2: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
2922
2922
|
id: "step.sso.subtitle2",
|
|
2923
2923
|
defaultMessage: "Can't sign in to your school?"
|
|
2924
2924
|
})
|
|
2925
|
-
}, wi = ({ verificationService: e }) => /* @__PURE__ */ (0,
|
|
2925
|
+
}, wi = ({ verificationService: e }) => /* @__PURE__ */ (0, V.jsx)(Si, {
|
|
2926
2926
|
verificationService: e,
|
|
2927
2927
|
stepName: _.sso,
|
|
2928
2928
|
messages: Ci
|
|
@@ -2955,7 +2955,7 @@ var Di = (e, t) => {
|
|
|
2955
2955
|
city: e.city,
|
|
2956
2956
|
state: e.state,
|
|
2957
2957
|
source: e.source
|
|
2958
|
-
} :
|
|
2958
|
+
} : De.organization, n.organization && n.organization.source !== void 0 && (t.organization.source = n.organization.source);
|
|
2959
2959
|
});
|
|
2960
2960
|
t.updateViewModel(r);
|
|
2961
2961
|
}, Oi = (e) => {
|
|
@@ -3091,120 +3091,120 @@ var Di = (e, t) => {
|
|
|
3091
3091
|
return (i.includes("preview") || i.includes("localhost")) && (r = "https://support-preview.sheerid.net"), `${r}/${e}/${t}/${n}/remember-me/`;
|
|
3092
3092
|
}, ta = (e, t = E()) => t.formFieldConfig.find((t) => t.fieldId === e), na = ({ intl: e, logo: t, verificationService: n }) => {
|
|
3093
3093
|
let r = n.verificationResponse, i = Gi({ ...r }, n.programTheme, e);
|
|
3094
|
-
return /* @__PURE__ */ (0,
|
|
3094
|
+
return /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
3095
3095
|
className: "sid-header sid-l-horz-center",
|
|
3096
3096
|
"data-testid": "sid-review-pending",
|
|
3097
3097
|
children: [
|
|
3098
|
-
/* @__PURE__ */ (0,
|
|
3098
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3099
3099
|
className: "sid-l-horz-center",
|
|
3100
3100
|
children: t
|
|
3101
3101
|
}),
|
|
3102
|
-
/* @__PURE__ */ (0,
|
|
3102
|
+
/* @__PURE__ */ (0, V.jsx)(tt, {
|
|
3103
3103
|
align: "center",
|
|
3104
|
-
children: /* @__PURE__ */ (0,
|
|
3104
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3105
3105
|
id: "step.pending.titleReview",
|
|
3106
3106
|
defaultMessage: "Reviewing",
|
|
3107
3107
|
tagName: "h1"
|
|
3108
3108
|
})
|
|
3109
3109
|
}),
|
|
3110
|
-
/* @__PURE__ */ (0,
|
|
3110
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3111
3111
|
className: "sid-header__subtitle-one",
|
|
3112
|
-
children: /* @__PURE__ */ (0,
|
|
3112
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3113
3113
|
id: "step.pending.turnaroundTime",
|
|
3114
3114
|
defaultMessage: "Turnaround time is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",
|
|
3115
3115
|
values: i
|
|
3116
3116
|
})
|
|
3117
3117
|
}),
|
|
3118
|
-
/* @__PURE__ */ (0,
|
|
3118
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3119
3119
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
3120
|
-
children: /* @__PURE__ */ (0,
|
|
3120
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3121
3121
|
id: "step.pending.subtitle2",
|
|
3122
3122
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
3123
3123
|
})
|
|
3124
3124
|
}),
|
|
3125
|
-
/* @__PURE__ */ (0,
|
|
3125
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3126
3126
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
3127
|
-
children: /* @__PURE__ */ (0,
|
|
3127
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3128
3128
|
id: "step.pending.subtitle3",
|
|
3129
3129
|
defaultMessage: "You will be contacted via email."
|
|
3130
3130
|
})
|
|
3131
3131
|
}),
|
|
3132
|
-
/* @__PURE__ */ (0,
|
|
3132
|
+
/* @__PURE__ */ (0, V.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
3133
3133
|
]
|
|
3134
3134
|
});
|
|
3135
|
-
}, ra = ({ logo: e }) => /* @__PURE__ */ (0,
|
|
3135
|
+
}, ra = ({ logo: e }) => /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
3136
3136
|
className: "sid-header sid-l-horz-center",
|
|
3137
3137
|
"data-testid": "sid-review-pending",
|
|
3138
3138
|
children: [
|
|
3139
|
-
/* @__PURE__ */ (0,
|
|
3139
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3140
3140
|
className: "sid-l-horz-center",
|
|
3141
3141
|
children: e
|
|
3142
3142
|
}),
|
|
3143
|
-
/* @__PURE__ */ (0,
|
|
3143
|
+
/* @__PURE__ */ (0, V.jsx)(tt, {
|
|
3144
3144
|
align: "center",
|
|
3145
|
-
children: /* @__PURE__ */ (0,
|
|
3145
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3146
3146
|
id: "step.pending.idCheckLoop.title",
|
|
3147
3147
|
defaultMessage: "We're reviewing your documents",
|
|
3148
3148
|
tagName: "h1"
|
|
3149
3149
|
})
|
|
3150
3150
|
}),
|
|
3151
|
-
/* @__PURE__ */ (0,
|
|
3151
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3152
3152
|
className: "sid-header__subtitle-one",
|
|
3153
|
-
children: /* @__PURE__ */ (0,
|
|
3153
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3154
3154
|
id: "step.pending.idCheckLoop.subtitle",
|
|
3155
3155
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
3156
3156
|
})
|
|
3157
3157
|
}),
|
|
3158
|
-
/* @__PURE__ */ (0,
|
|
3158
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3159
3159
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
3160
|
-
children: /* @__PURE__ */ (0,
|
|
3160
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3161
3161
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
3162
3162
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
3163
3163
|
})
|
|
3164
3164
|
}),
|
|
3165
|
-
/* @__PURE__ */ (0,
|
|
3165
|
+
/* @__PURE__ */ (0, V.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
3166
3166
|
]
|
|
3167
3167
|
}), ia = { [v.SIGNZY]: {
|
|
3168
|
-
title: /* @__PURE__ */ (0,
|
|
3168
|
+
title: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3169
3169
|
id: "step.thirdPartyLoop.signzy.title",
|
|
3170
3170
|
tagName: "h1",
|
|
3171
3171
|
defaultMessage: "Verify using DigiLocker"
|
|
3172
3172
|
}),
|
|
3173
|
-
subtitle: /* @__PURE__ */ (0,
|
|
3173
|
+
subtitle: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3174
3174
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
3175
3175
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
3176
3176
|
}),
|
|
3177
|
-
login: /* @__PURE__ */ (0,
|
|
3177
|
+
login: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3178
3178
|
id: "step.thirdPartyLoop.signzy.login",
|
|
3179
3179
|
defaultMessage: "Sign in to DigiLocker"
|
|
3180
3180
|
}),
|
|
3181
|
-
cancel: /* @__PURE__ */ (0,
|
|
3181
|
+
cancel: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3182
3182
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
3183
3183
|
defaultMessage: "Upload Proof of Identity"
|
|
3184
3184
|
})
|
|
3185
|
-
} }, aa = ({ logo: e }) => /* @__PURE__ */ (0,
|
|
3185
|
+
} }, aa = ({ logo: e }) => /* @__PURE__ */ (0, V.jsx)("div", {
|
|
3186
3186
|
id: "sid-step-third-party-loop",
|
|
3187
3187
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
3188
3188
|
"data-testid": "sid-step-third-party-loop-error",
|
|
3189
|
-
children: /* @__PURE__ */ (0,
|
|
3189
|
+
children: /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
3190
3190
|
className: "sid-header sid-l-horz-center",
|
|
3191
3191
|
children: [
|
|
3192
|
-
/* @__PURE__ */ (0,
|
|
3192
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3193
3193
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
3194
3194
|
children: e
|
|
3195
3195
|
}),
|
|
3196
|
-
/* @__PURE__ */ (0,
|
|
3196
|
+
/* @__PURE__ */ (0, V.jsx)(tt, {
|
|
3197
3197
|
align: "center",
|
|
3198
|
-
children: /* @__PURE__ */ (0,
|
|
3198
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3199
3199
|
id: "error",
|
|
3200
3200
|
tagName: "h1"
|
|
3201
3201
|
})
|
|
3202
3202
|
}),
|
|
3203
|
-
/* @__PURE__ */ (0,
|
|
3203
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3204
3204
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
3205
|
-
children: /* @__PURE__ */ (0,
|
|
3205
|
+
children: /* @__PURE__ */ (0, V.jsx)("div", {
|
|
3206
3206
|
className: "sid-error-msg sid-l-horz-center",
|
|
3207
|
-
children: /* @__PURE__ */ (0,
|
|
3207
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, {
|
|
3208
3208
|
id: "step.thirdPartyLoop.error",
|
|
3209
3209
|
defaultMessage: "Provider not supported"
|
|
3210
3210
|
})
|
|
@@ -3214,14 +3214,14 @@ var Di = (e, t) => {
|
|
|
3214
3214
|
})
|
|
3215
3215
|
}), oa = ({ verificationService: e }) => {
|
|
3216
3216
|
let t = ia[e.verificationResponse.thirdPartyLoopProvider] || void 0;
|
|
3217
|
-
return t ? /* @__PURE__ */ (0,
|
|
3217
|
+
return t ? /* @__PURE__ */ (0, V.jsx)(Si, {
|
|
3218
3218
|
verificationService: e,
|
|
3219
3219
|
stepName: _.thirdPartyLoop,
|
|
3220
3220
|
messages: t,
|
|
3221
3221
|
cancelButtonType: xi.SECONDARY
|
|
3222
|
-
}) : /* @__PURE__ */ (0,
|
|
3222
|
+
}) : /* @__PURE__ */ (0, V.jsx)(aa, { logo: /* @__PURE__ */ (0, V.jsx)($e, {
|
|
3223
3223
|
verificationService: e,
|
|
3224
|
-
fallbackLogo: /* @__PURE__ */ (0,
|
|
3224
|
+
fallbackLogo: /* @__PURE__ */ (0, V.jsx)("img", {
|
|
3225
3225
|
className: "sid-error-logo sid-l-lead-image",
|
|
3226
3226
|
alt: "",
|
|
3227
3227
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
@@ -3229,16 +3229,16 @@ var Di = (e, t) => {
|
|
|
3229
3229
|
}) });
|
|
3230
3230
|
}, sa = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
3231
3231
|
let i = ia[r ? Fe("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
3232
|
-
return i ? /* @__PURE__ */ (0,
|
|
3232
|
+
return i ? /* @__PURE__ */ (0, V.jsx)(yi, {
|
|
3233
3233
|
stepName: _.thirdPartyLoop,
|
|
3234
3234
|
messages: i,
|
|
3235
3235
|
logo: e,
|
|
3236
3236
|
cancelSingleSignOn: n,
|
|
3237
3237
|
cancelButtonType: xi.SECONDARY
|
|
3238
|
-
}) : /* @__PURE__ */ (0,
|
|
3238
|
+
}) : /* @__PURE__ */ (0, V.jsx)(aa, { logo: e });
|
|
3239
3239
|
}, ca = 5e3, la = 2e4, ua = 2e4, da = 2e3, fa = ee(({ verificationService: e, intl: t }) => {
|
|
3240
|
-
let { programId: n } = e, { viewModel: r } = e, i = e.previousViewModel || void 0, o = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: s } = e.verificationResponse, c = Pe(), l = Ie() && Ie() === _.sso, u = Ie() && Ie() === _.thirdPartyLoop, d = Ie() && Ie() === _.idCheckLoop, f = () => o?.currentStep === _.sso, p = () => o?.currentStep === _.thirdPartyLoop, m = () => o?.currentStep === _.idCheckLoop, h = f() || p() || l || u, g = m() || d, v = !h && !g, [y, b] =
|
|
3241
|
-
|
|
3240
|
+
let { programId: n } = e, { viewModel: r } = e, i = e.previousViewModel || void 0, o = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: s } = e.verificationResponse, c = Pe(), l = Ie() && Ie() === _.sso, u = Ie() && Ie() === _.thirdPartyLoop, d = Ie() && Ie() === _.idCheckLoop, f = () => o?.currentStep === _.sso, p = () => o?.currentStep === _.thirdPartyLoop, m = () => o?.currentStep === _.idCheckLoop, h = f() || p() || l || u, g = m() || d, v = !h && !g, [y, b] = B.useState(() => h ? da : g ? ua : ca);
|
|
3241
|
+
B.useEffect(() => {
|
|
3242
3242
|
if (!v) return;
|
|
3243
3243
|
let e = setTimeout(() => b(ua), la);
|
|
3244
3244
|
return () => clearTimeout(e);
|
|
@@ -3248,48 +3248,48 @@ var Di = (e, t) => {
|
|
|
3248
3248
|
}, y), S = (t) => {
|
|
3249
3249
|
let n = C(r, () => {});
|
|
3250
3250
|
a.info("StepSingleSignOnComponent submitting cancel request, step:", t), x(), Qe(), e.submitStep(t, n, o);
|
|
3251
|
-
}, w = /* @__PURE__ */ (0,
|
|
3251
|
+
}, w = /* @__PURE__ */ (0, V.jsx)($e, {
|
|
3252
3252
|
verificationService: e,
|
|
3253
|
-
fallbackLogo: /* @__PURE__ */ (0,
|
|
3253
|
+
fallbackLogo: /* @__PURE__ */ (0, V.jsx)("img", {
|
|
3254
3254
|
className: "sid-l-lead-image",
|
|
3255
3255
|
alt: "",
|
|
3256
3256
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
3257
3257
|
})
|
|
3258
3258
|
});
|
|
3259
|
-
return /* @__PURE__ */ (0,
|
|
3259
|
+
return /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
3260
3260
|
id: "sid-step-pending",
|
|
3261
3261
|
className: "sid-l-container",
|
|
3262
|
-
children: [/* @__PURE__ */ (0,
|
|
3262
|
+
children: [/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3263
3263
|
role: "main",
|
|
3264
3264
|
children: (() => {
|
|
3265
3265
|
let n = f() || l, r = p() || u, i = m() || d;
|
|
3266
|
-
return n ? /* @__PURE__ */ (0,
|
|
3266
|
+
return n ? /* @__PURE__ */ (0, V.jsx)(yi, {
|
|
3267
3267
|
stepName: _.sso,
|
|
3268
3268
|
messages: Ci,
|
|
3269
3269
|
logo: w,
|
|
3270
3270
|
cancelSingleSignOn: () => S(_.sso)
|
|
3271
|
-
}) : r ? /* @__PURE__ */ (0,
|
|
3271
|
+
}) : r ? /* @__PURE__ */ (0, V.jsx)(sa, {
|
|
3272
3272
|
logo: w,
|
|
3273
3273
|
cancelThirdPartyLoop: () => S(_.thirdPartyLoop),
|
|
3274
3274
|
verificationLastResponse: o,
|
|
3275
3275
|
isMockingPreviousStepThirdPartyLoop: u
|
|
3276
|
-
}) : i ? /* @__PURE__ */ (0,
|
|
3276
|
+
}) : i ? /* @__PURE__ */ (0, V.jsx)(ra, { logo: w }) : /* @__PURE__ */ (0, V.jsx)(na, {
|
|
3277
3277
|
verificationService: e,
|
|
3278
3278
|
logo: w,
|
|
3279
3279
|
intl: t,
|
|
3280
3280
|
maxReviewTime: Be(e.programTheme)
|
|
3281
3281
|
});
|
|
3282
3282
|
})()
|
|
3283
|
-
}), g ? /* @__PURE__ */ (0,
|
|
3283
|
+
}), g ? /* @__PURE__ */ (0, V.jsx)(gi, {
|
|
3284
3284
|
verificationService: e,
|
|
3285
3285
|
isCentered: !0
|
|
3286
|
-
}) : /* @__PURE__ */ (0,
|
|
3286
|
+
}) : /* @__PURE__ */ (0, V.jsxs)(xe, {
|
|
3287
3287
|
verificationService: e,
|
|
3288
|
-
children: [/* @__PURE__ */ (0,
|
|
3288
|
+
children: [/* @__PURE__ */ (0, V.jsx)("div", {}), " "]
|
|
3289
3289
|
})]
|
|
3290
3290
|
});
|
|
3291
3291
|
}), pa = () => {
|
|
3292
|
-
let e =
|
|
3292
|
+
let e = be(), t = r(() => e.verificationResponse.segment), n = B.useCallback(() => {
|
|
3293
3293
|
if (window.self !== window.top) {
|
|
3294
3294
|
let e = new URL(window.location.href);
|
|
3295
3295
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
@@ -3300,12 +3300,12 @@ var Di = (e, t) => {
|
|
|
3300
3300
|
e.resetState(), await e.fetchNewVerificationRequest(n, t, void 0, void 0, !0);
|
|
3301
3301
|
})();
|
|
3302
3302
|
}, [e.programId, t]);
|
|
3303
|
-
return /* @__PURE__ */ (0,
|
|
3303
|
+
return /* @__PURE__ */ (0, V.jsx)("button", {
|
|
3304
3304
|
type: "button",
|
|
3305
3305
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
3306
3306
|
onClick: n,
|
|
3307
3307
|
onKeyPress: n,
|
|
3308
|
-
children: /* @__PURE__ */ (0,
|
|
3308
|
+
children: /* @__PURE__ */ (0, V.jsx)(z, { id: "tryAgain" })
|
|
3309
3309
|
});
|
|
3310
3310
|
}, ma = {
|
|
3311
3311
|
NONE: "none",
|
|
@@ -3313,22 +3313,22 @@ var Di = (e, t) => {
|
|
|
3313
3313
|
POSTMESSAGE: "postMessage",
|
|
3314
3314
|
REDIRECT: "redirect"
|
|
3315
3315
|
}, ha = () => {
|
|
3316
|
-
let e = ye(), t = () =>
|
|
3316
|
+
let e = ye(), t = () => Oe({
|
|
3317
3317
|
action: "tryAgain",
|
|
3318
3318
|
verificationResponse: e
|
|
3319
3319
|
});
|
|
3320
|
-
return /* @__PURE__ */ (0,
|
|
3320
|
+
return /* @__PURE__ */ (0, V.jsx)("button", {
|
|
3321
3321
|
type: "button",
|
|
3322
3322
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
3323
3323
|
onClick: t,
|
|
3324
3324
|
onKeyPress: t,
|
|
3325
|
-
children: /* @__PURE__ */ (0,
|
|
3325
|
+
children: /* @__PURE__ */ (0, V.jsx)(z, { id: "tryAgain" })
|
|
3326
3326
|
});
|
|
3327
|
-
}, ga = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0,
|
|
3327
|
+
}, ga = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, V.jsx)(fe, {
|
|
3328
3328
|
target: t,
|
|
3329
3329
|
href: e.toString(),
|
|
3330
3330
|
className: "sid-btn sid-btn--dark",
|
|
3331
|
-
children: /* @__PURE__ */ (0,
|
|
3331
|
+
children: /* @__PURE__ */ (0, V.jsx)(z, { id: "seeOtherOffers" })
|
|
3332
3332
|
}), _a = (e) => {
|
|
3333
3333
|
if (!(typeof e == "object" && "type" in e && Object.values(ma).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
3334
3334
|
}, va = () => {
|
|
@@ -3336,82 +3336,82 @@ var Di = (e, t) => {
|
|
|
3336
3336
|
try {
|
|
3337
3337
|
switch (_a(e), e.type) {
|
|
3338
3338
|
case ma.NONE: return null;
|
|
3339
|
-
case ma.POSTMESSAGE: return window.self === window.top ? (a.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0,
|
|
3340
|
-
case ma.REDIRECT: return /* @__PURE__ */ (0,
|
|
3339
|
+
case ma.POSTMESSAGE: return window.self === window.top ? (a.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, V.jsx)(ha, {});
|
|
3340
|
+
case ma.REDIRECT: return /* @__PURE__ */ (0, V.jsx)(ga, {
|
|
3341
3341
|
redirectUrl: e.url,
|
|
3342
3342
|
target: e.target
|
|
3343
3343
|
});
|
|
3344
|
-
case ma.RESET: return /* @__PURE__ */ (0,
|
|
3344
|
+
case ma.RESET: return /* @__PURE__ */ (0, V.jsx)(pa, {});
|
|
3345
3345
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
3346
3346
|
}
|
|
3347
3347
|
} catch (e) {
|
|
3348
|
-
return a.error(e.message), /* @__PURE__ */ (0,
|
|
3348
|
+
return a.error(e.message), /* @__PURE__ */ (0, V.jsx)(pa, {});
|
|
3349
3349
|
}
|
|
3350
3350
|
}, ya = ({ verificationService: e, errorIds: t }) => {
|
|
3351
3351
|
let n = t[0];
|
|
3352
|
-
return /* @__PURE__ */ (0,
|
|
3352
|
+
return /* @__PURE__ */ (0, V.jsx)(tt, {
|
|
3353
3353
|
align: "center",
|
|
3354
|
-
children: /* @__PURE__ */ (0,
|
|
3354
|
+
children: /* @__PURE__ */ (0, V.jsx)("h1", { children: /* @__PURE__ */ (0, V.jsx)(z, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
3355
3355
|
});
|
|
3356
3356
|
}, ba = ({ errorIds: e, errorDetailId: t }) => {
|
|
3357
3357
|
let n = /* @__PURE__ */ new Map();
|
|
3358
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0,
|
|
3358
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, V.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(z, { id: t }, t)) }) : null;
|
|
3359
3359
|
}, xa = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
3360
3360
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
3361
3361
|
let t = r(() => e.programTheme.config.brandInfo.faqUrl);
|
|
3362
|
-
return t ? /* @__PURE__ */ (0,
|
|
3362
|
+
return t ? /* @__PURE__ */ (0, V.jsx)(fe, {
|
|
3363
3363
|
href: t,
|
|
3364
3364
|
onClick: () => c(_.error, t),
|
|
3365
3365
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
3366
|
-
children: /* @__PURE__ */ (0,
|
|
3366
|
+
children: /* @__PURE__ */ (0, V.jsx)(z, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
3367
3367
|
}) : null;
|
|
3368
3368
|
}
|
|
3369
3369
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
3370
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return S("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0,
|
|
3370
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return S("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, V.jsx)(va, {});
|
|
3371
3371
|
let i = t[0];
|
|
3372
|
-
return e.messages?.[`step.error.errorId.${i}.buttonText`] && n ? /* @__PURE__ */ (0,
|
|
3372
|
+
return e.messages?.[`step.error.errorId.${i}.buttonText`] && n ? /* @__PURE__ */ (0, V.jsx)(fe, {
|
|
3373
3373
|
href: n,
|
|
3374
3374
|
onClick: () => c(_.error, n),
|
|
3375
3375
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
3376
|
-
children: /* @__PURE__ */ (0,
|
|
3377
|
-
}) : /* @__PURE__ */ (0,
|
|
3376
|
+
children: /* @__PURE__ */ (0, V.jsx)(z, { id: `step.error.errorId.${i}.buttonText` })
|
|
3377
|
+
}) : /* @__PURE__ */ (0, V.jsx)(va, {});
|
|
3378
3378
|
}, Sa = ({ verificationService: e, errorId: t }) => {
|
|
3379
3379
|
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = /* @__PURE__ */ new Set();
|
|
3380
3380
|
t && a.add(t), Array.isArray(n) && n.forEach((e) => a.add(e));
|
|
3381
3381
|
let o = Array.from(a);
|
|
3382
|
-
return /* @__PURE__ */ (0,
|
|
3382
|
+
return /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
3383
3383
|
id: "sid-step-error",
|
|
3384
3384
|
className: "sid-error-container sid-l-container",
|
|
3385
|
-
children: [/* @__PURE__ */ (0,
|
|
3385
|
+
children: [/* @__PURE__ */ (0, V.jsxs)("div", {
|
|
3386
3386
|
className: "sid-header sid-l-horz-center",
|
|
3387
3387
|
role: "banner",
|
|
3388
3388
|
children: [
|
|
3389
|
-
/* @__PURE__ */ (0,
|
|
3389
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3390
3390
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
3391
|
-
children: /* @__PURE__ */ (0,
|
|
3391
|
+
children: /* @__PURE__ */ (0, V.jsx)($e, {
|
|
3392
3392
|
verificationService: e,
|
|
3393
|
-
fallbackLogo: /* @__PURE__ */ (0,
|
|
3393
|
+
fallbackLogo: /* @__PURE__ */ (0, V.jsx)("img", {
|
|
3394
3394
|
className: "sid-error-logo sid-l-lead-image",
|
|
3395
3395
|
alt: "",
|
|
3396
3396
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
3397
3397
|
})
|
|
3398
3398
|
})
|
|
3399
3399
|
}),
|
|
3400
|
-
/* @__PURE__ */ (0,
|
|
3400
|
+
/* @__PURE__ */ (0, V.jsx)(ya, {
|
|
3401
3401
|
verificationService: e,
|
|
3402
3402
|
errorIds: o
|
|
3403
3403
|
}),
|
|
3404
|
-
/* @__PURE__ */ (0,
|
|
3404
|
+
/* @__PURE__ */ (0, V.jsxs)("div", {
|
|
3405
3405
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
3406
|
-
children: [/* @__PURE__ */ (0,
|
|
3406
|
+
children: [/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3407
3407
|
className: "sid-error-msg sid-l-horz-center",
|
|
3408
|
-
children: /* @__PURE__ */ (0,
|
|
3408
|
+
children: /* @__PURE__ */ (0, V.jsx)(ba, {
|
|
3409
3409
|
errorIds: o,
|
|
3410
3410
|
errorDetailId: i
|
|
3411
3411
|
})
|
|
3412
|
-
}), /* @__PURE__ */ (0,
|
|
3412
|
+
}), /* @__PURE__ */ (0, V.jsx)("div", {
|
|
3413
3413
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
3414
|
-
children: /* @__PURE__ */ (0,
|
|
3414
|
+
children: /* @__PURE__ */ (0, V.jsx)(xa, {
|
|
3415
3415
|
verificationService: e,
|
|
3416
3416
|
errorIds: o,
|
|
3417
3417
|
redirectUrl: r
|
|
@@ -3419,9 +3419,9 @@ var Di = (e, t) => {
|
|
|
3419
3419
|
})]
|
|
3420
3420
|
})
|
|
3421
3421
|
]
|
|
3422
|
-
}), /* @__PURE__ */ (0,
|
|
3422
|
+
}), /* @__PURE__ */ (0, V.jsx)("div", {
|
|
3423
3423
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
3424
|
-
children: /* @__PURE__ */ (0,
|
|
3424
|
+
children: /* @__PURE__ */ (0, V.jsx)(gi, {
|
|
3425
3425
|
verificationService: e,
|
|
3426
3426
|
isCentered: !0
|
|
3427
3427
|
})
|
|
@@ -3430,45 +3430,45 @@ var Di = (e, t) => {
|
|
|
3430
3430
|
}, Ca = {
|
|
3431
3431
|
StepPendingComponent: fa,
|
|
3432
3432
|
StepErrorComponent: Sa,
|
|
3433
|
-
StepStudentPersonalInfoComponent:
|
|
3434
|
-
StepOverrideComponent:
|
|
3435
|
-
StepAgePersonalInfoComponent:
|
|
3436
|
-
StepSeniorPersonalInfoComponent:
|
|
3437
|
-
StepActiveMilitaryPersonalInfoComponent:
|
|
3438
|
-
StepCollectMilitaryStatusComponent:
|
|
3439
|
-
StepInactiveMilitaryPersonalInfoComponent:
|
|
3440
|
-
StepDriverLicensePersonalInfoComponent:
|
|
3441
|
-
StepEmploymentPersonalInfoComponent:
|
|
3442
|
-
StepFirstResponderPersonalInfoComponent:
|
|
3443
|
-
StepGeneralIdentityPersonalInfoComponent:
|
|
3444
|
-
StepHybridIdentityPersonalInfoComponent:
|
|
3445
|
-
StepIDCheckLoopComponent:
|
|
3446
|
-
StepLicensedProfessionalPersonalInfoComponent:
|
|
3447
|
-
StepLowIncomePersonalInfoComponent:
|
|
3448
|
-
StepMedicalProfessionalPersonalInfoComponent:
|
|
3449
|
-
StepMemberPersonalInfoComponent:
|
|
3450
|
-
StepConsolationComponent:
|
|
3451
|
-
StepDocUploadComponent:
|
|
3452
|
-
StepEmailLoopComponent:
|
|
3453
|
-
StepPendingEmailLoopComponent:
|
|
3454
|
-
StepMoverPersonalInfoComponent:
|
|
3455
|
-
StepSMSLoopComponent:
|
|
3456
|
-
StepSocialSecurity:
|
|
3457
|
-
StepSSOComponent:
|
|
3458
|
-
StepSuccessComponent:
|
|
3459
|
-
StepTeacherPersonalInfoComponent:
|
|
3460
|
-
StepCompleteAuthentication:
|
|
3461
|
-
StepCollectIdentifierComponent:
|
|
3462
|
-
StepCollectPersonalInfo:
|
|
3463
|
-
StepThirdPartyLoopComponent:
|
|
3464
|
-
},
|
|
3433
|
+
StepStudentPersonalInfoComponent: B.lazy(() => import("./chunk/StepStudentPersonalInfo-B5pA5Kno.js")),
|
|
3434
|
+
StepOverrideComponent: B.lazy(() => import("./chunk/StepOverrideComponent-B4gJdpxG.js")),
|
|
3435
|
+
StepAgePersonalInfoComponent: B.lazy(() => import("./chunk/StepAgePersonalInfo-DujabZHH.js")),
|
|
3436
|
+
StepSeniorPersonalInfoComponent: B.lazy(() => import("./chunk/StepAgePersonalInfo-DujabZHH.js")),
|
|
3437
|
+
StepActiveMilitaryPersonalInfoComponent: B.lazy(() => import("./chunk/StepActiveMilitaryPersonalInfoComponent-BTOGTIXg.js")),
|
|
3438
|
+
StepCollectMilitaryStatusComponent: B.lazy(() => import("./chunk/StepCollectMilitaryStatusComponent-CP3sWYMI.js")),
|
|
3439
|
+
StepInactiveMilitaryPersonalInfoComponent: B.lazy(() => import("./chunk/StepInactiveMilitaryPersonalInfoComponent-B63tGi2G.js")),
|
|
3440
|
+
StepDriverLicensePersonalInfoComponent: B.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-Daondhf4.js")),
|
|
3441
|
+
StepEmploymentPersonalInfoComponent: B.lazy(() => import("./chunk/StepEmploymentPersonalInfo-DiVG1C7j.js")),
|
|
3442
|
+
StepFirstResponderPersonalInfoComponent: B.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-CyQIP6B5.js")),
|
|
3443
|
+
StepGeneralIdentityPersonalInfoComponent: B.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-AoQplTrl.js")),
|
|
3444
|
+
StepHybridIdentityPersonalInfoComponent: B.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-CRngU4Z8.js")),
|
|
3445
|
+
StepIDCheckLoopComponent: B.lazy(() => import("./chunk/StepIDCheckLoop-DegHcWq1.js")),
|
|
3446
|
+
StepLicensedProfessionalPersonalInfoComponent: B.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-BCUai-I7.js")),
|
|
3447
|
+
StepLowIncomePersonalInfoComponent: B.lazy(() => import("./chunk/StepLowIncomePersonalInfo-b0kTlX5-.js")),
|
|
3448
|
+
StepMedicalProfessionalPersonalInfoComponent: B.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-BeWq_K7Z.js")),
|
|
3449
|
+
StepMemberPersonalInfoComponent: B.lazy(() => import("./chunk/StepMemberPersonalInfo--gpEUBOh.js")),
|
|
3450
|
+
StepConsolationComponent: B.lazy(() => import("./chunk/StepConsolation-DPEEKVbT.js")),
|
|
3451
|
+
StepDocUploadComponent: B.lazy(() => import("./chunk/StepDocUpload-CtfGQsaz.js")),
|
|
3452
|
+
StepEmailLoopComponent: B.lazy(() => import("./chunk/StepEmailLoop-96EHseY_.js")),
|
|
3453
|
+
StepPendingEmailLoopComponent: B.lazy(() => import("./chunk/EmailLoopPending-CYcjVnBb.js").then((e) => e.n)),
|
|
3454
|
+
StepMoverPersonalInfoComponent: B.lazy(() => import("./chunk/StepMoverPersonalInfo-D_GxQ6w6.js")),
|
|
3455
|
+
StepSMSLoopComponent: B.lazy(() => import("./chunk/StepSMSLoop-BazGkVz0.js")),
|
|
3456
|
+
StepSocialSecurity: B.lazy(() => import("./chunk/StepSocialSecurityNumber-C5F_UOgu.js")),
|
|
3457
|
+
StepSSOComponent: B.lazy(() => import("./chunk/StepSSO-BaFk7RFJ.js")),
|
|
3458
|
+
StepSuccessComponent: B.lazy(() => import("./chunk/StepSuccess-BM8MIrs5.js")),
|
|
3459
|
+
StepTeacherPersonalInfoComponent: B.lazy(() => import("./chunk/StepTeacherPersonalInfo-DV_FeKo7.js")),
|
|
3460
|
+
StepCompleteAuthentication: B.lazy(() => import("./chunk/StepCompleteAuthentication-q5i7ecb3.js")),
|
|
3461
|
+
StepCollectIdentifierComponent: B.lazy(() => import("./chunk/StepCollectIdentifier-CSVkKgnI.js")),
|
|
3462
|
+
StepCollectPersonalInfo: B.lazy(() => import("./chunk/StepCollectPersonalInfo-Bgq57XJk.js")),
|
|
3463
|
+
StepThirdPartyLoopComponent: B.lazy(() => import("./chunk/StepThirdPartyLoop-BGHCbduX.js"))
|
|
3464
|
+
}, X = (e) => (a.info("getComponent", e), pi(e) || Ca[e]), wa = () => /* @__PURE__ */ (0, V.jsx)(ct, {}), Ta = ({ stepToLoad: e, verificationService: t }) => {
|
|
3465
3465
|
a.info(`LoadStepComponent: rendering step: ${e}`);
|
|
3466
3466
|
let n;
|
|
3467
|
-
switch ((0,
|
|
3467
|
+
switch ((0, B.useEffect)(() => {
|
|
3468
3468
|
try {
|
|
3469
3469
|
performance.mark(m.INITIAL_STEP_LOAD);
|
|
3470
3470
|
} catch {}
|
|
3471
|
-
}, []),
|
|
3471
|
+
}, []), B.useEffect(() => {
|
|
3472
3472
|
if (!["pending", "error"].includes(e)) try {
|
|
3473
3473
|
performance.mark(f.STEP_SEEN), M({
|
|
3474
3474
|
eventName: f.STEP_SEEN,
|
|
@@ -3479,151 +3479,151 @@ var Di = (e, t) => {
|
|
|
3479
3479
|
}
|
|
3480
3480
|
}, [e]), e) {
|
|
3481
3481
|
case "collectPersonalInfo":
|
|
3482
|
-
n =
|
|
3482
|
+
n = X("StepCollectPersonalInfo");
|
|
3483
3483
|
break;
|
|
3484
3484
|
case "collectStudentPersonalInfo":
|
|
3485
|
-
n =
|
|
3485
|
+
n = X("StepStudentPersonalInfoComponent");
|
|
3486
3486
|
break;
|
|
3487
3487
|
case "collectSeniorPersonalInfo":
|
|
3488
|
-
n =
|
|
3488
|
+
n = X("StepSeniorPersonalInfoComponent");
|
|
3489
3489
|
break;
|
|
3490
3490
|
case "collectAgePersonalInfo":
|
|
3491
|
-
n =
|
|
3491
|
+
n = X("StepAgePersonalInfoComponent");
|
|
3492
3492
|
break;
|
|
3493
3493
|
case "collectTeacherPersonalInfo":
|
|
3494
|
-
n =
|
|
3494
|
+
n = X("StepTeacherPersonalInfoComponent");
|
|
3495
3495
|
break;
|
|
3496
3496
|
case "collectMemberPersonalInfo":
|
|
3497
|
-
n =
|
|
3497
|
+
n = X("StepMemberPersonalInfoComponent");
|
|
3498
3498
|
break;
|
|
3499
3499
|
case "collectMilitaryStatus":
|
|
3500
|
-
n =
|
|
3500
|
+
n = X("StepCollectMilitaryStatusComponent");
|
|
3501
3501
|
break;
|
|
3502
3502
|
case "collectActiveMilitaryPersonalInfo":
|
|
3503
|
-
n =
|
|
3503
|
+
n = X("StepActiveMilitaryPersonalInfoComponent");
|
|
3504
3504
|
break;
|
|
3505
3505
|
case "collectInactiveMilitaryPersonalInfo":
|
|
3506
|
-
n =
|
|
3506
|
+
n = X("StepInactiveMilitaryPersonalInfoComponent");
|
|
3507
3507
|
break;
|
|
3508
3508
|
case "collectFirstResponderPersonalInfo":
|
|
3509
|
-
n =
|
|
3509
|
+
n = X("StepFirstResponderPersonalInfoComponent");
|
|
3510
3510
|
break;
|
|
3511
3511
|
case "collectMedicalProfessionalPersonalInfo":
|
|
3512
|
-
n =
|
|
3512
|
+
n = X("StepMedicalProfessionalPersonalInfoComponent");
|
|
3513
3513
|
break;
|
|
3514
3514
|
case "collectEmployeePersonalInfo":
|
|
3515
|
-
n =
|
|
3515
|
+
n = X("StepEmploymentPersonalInfoComponent");
|
|
3516
3516
|
break;
|
|
3517
3517
|
case "collectDriverLicensePersonalInfo":
|
|
3518
|
-
n =
|
|
3518
|
+
n = X("StepDriverLicensePersonalInfoComponent");
|
|
3519
3519
|
break;
|
|
3520
3520
|
case "collectGeneralIdentityPersonalInfo":
|
|
3521
|
-
n =
|
|
3521
|
+
n = X("StepGeneralIdentityPersonalInfoComponent");
|
|
3522
3522
|
break;
|
|
3523
3523
|
case "collectHybridIdentityPersonalInfo":
|
|
3524
|
-
n =
|
|
3524
|
+
n = X("StepHybridIdentityPersonalInfoComponent");
|
|
3525
3525
|
break;
|
|
3526
3526
|
case "collectLicensedProfessionalPersonalInfo":
|
|
3527
|
-
n =
|
|
3527
|
+
n = X("StepLicensedProfessionalPersonalInfoComponent");
|
|
3528
3528
|
break;
|
|
3529
3529
|
case "collectMoverPersonalInfo":
|
|
3530
|
-
n =
|
|
3530
|
+
n = X("StepMoverPersonalInfoComponent");
|
|
3531
3531
|
break;
|
|
3532
3532
|
case "collectLowIncomePersonalInfo":
|
|
3533
|
-
n =
|
|
3533
|
+
n = X("StepLowIncomePersonalInfoComponent");
|
|
3534
3534
|
break;
|
|
3535
3535
|
case "collectSocialSecurityNumber":
|
|
3536
|
-
n =
|
|
3536
|
+
n = X("StepSocialSecurity");
|
|
3537
3537
|
break;
|
|
3538
3538
|
case "success":
|
|
3539
|
-
n =
|
|
3539
|
+
n = X("StepSuccessComponent");
|
|
3540
3540
|
break;
|
|
3541
3541
|
case "consolation":
|
|
3542
|
-
n =
|
|
3542
|
+
n = X("StepConsolationComponent");
|
|
3543
3543
|
break;
|
|
3544
3544
|
case "override":
|
|
3545
|
-
n =
|
|
3545
|
+
n = X("StepOverrideComponent");
|
|
3546
3546
|
break;
|
|
3547
3547
|
case "docUpload":
|
|
3548
|
-
n =
|
|
3548
|
+
n = X("StepDocUploadComponent");
|
|
3549
3549
|
break;
|
|
3550
3550
|
case "pending":
|
|
3551
|
-
n =
|
|
3551
|
+
n = X("StepPendingComponent");
|
|
3552
3552
|
break;
|
|
3553
3553
|
case "sso":
|
|
3554
|
-
n =
|
|
3554
|
+
n = X("StepSSOComponent");
|
|
3555
3555
|
break;
|
|
3556
3556
|
case "thirdPartyLoop":
|
|
3557
|
-
n =
|
|
3557
|
+
n = X("StepThirdPartyLoopComponent");
|
|
3558
3558
|
break;
|
|
3559
3559
|
case "smsLoop":
|
|
3560
|
-
n =
|
|
3560
|
+
n = X("StepSMSLoopComponent");
|
|
3561
3561
|
break;
|
|
3562
3562
|
case "emailLoop":
|
|
3563
|
-
n =
|
|
3563
|
+
n = X("StepEmailLoopComponent");
|
|
3564
3564
|
break;
|
|
3565
3565
|
case "idCheckLoop":
|
|
3566
|
-
n =
|
|
3566
|
+
n = X("StepIDCheckLoopComponent");
|
|
3567
3567
|
break;
|
|
3568
3568
|
case "collectIdentifier":
|
|
3569
|
-
n =
|
|
3569
|
+
n = X("StepCollectIdentifierComponent");
|
|
3570
3570
|
break;
|
|
3571
3571
|
case "completeAuthentication":
|
|
3572
|
-
n =
|
|
3572
|
+
n = X("StepCompleteAuthentication");
|
|
3573
3573
|
break;
|
|
3574
|
-
case "missingRequiredMetadata": return n =
|
|
3574
|
+
case "missingRequiredMetadata": return n = X("StepErrorComponent"), /* @__PURE__ */ (0, V.jsx)(n, {
|
|
3575
3575
|
verificationService: t,
|
|
3576
3576
|
errorId: "missingRequiredMetadata"
|
|
3577
3577
|
});
|
|
3578
|
-
case "missingRequiredExternalId": return n =
|
|
3578
|
+
case "missingRequiredExternalId": return n = X("StepErrorComponent"), /* @__PURE__ */ (0, V.jsx)(n, {
|
|
3579
3579
|
verificationService: t,
|
|
3580
3580
|
errorId: "missingRequiredExternalId"
|
|
3581
3581
|
});
|
|
3582
3582
|
case "error":
|
|
3583
|
-
n =
|
|
3583
|
+
n = X("StepErrorComponent");
|
|
3584
3584
|
break;
|
|
3585
3585
|
case "cancelDocUpload":
|
|
3586
3586
|
case "cancelEmailLoop":
|
|
3587
3587
|
case "cancelSocialSecurityNumber":
|
|
3588
3588
|
case "docReviewLimitExceeded":
|
|
3589
|
-
case "emailLoopCollectOrganizationEmail": return a.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0,
|
|
3589
|
+
case "emailLoopCollectOrganizationEmail": return a.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, V.jsx)(Sa, {
|
|
3590
3590
|
verificationService: t,
|
|
3591
3591
|
errorId: "invalidStep"
|
|
3592
3592
|
});
|
|
3593
|
-
default: return a.error("Unable to load step", e), /* @__PURE__ */ (0,
|
|
3593
|
+
default: return a.error("Unable to load step", e), /* @__PURE__ */ (0, V.jsx)(Sa, {
|
|
3594
3594
|
verificationService: t,
|
|
3595
3595
|
errorId: "invalidStep"
|
|
3596
3596
|
});
|
|
3597
3597
|
}
|
|
3598
|
-
return /* @__PURE__ */ (0,
|
|
3598
|
+
return /* @__PURE__ */ (0, V.jsx)(B.Suspense, {
|
|
3599
3599
|
fallback: wa(),
|
|
3600
|
-
children: /* @__PURE__ */ (0,
|
|
3600
|
+
children: /* @__PURE__ */ (0, V.jsx)(n, { verificationService: t })
|
|
3601
3601
|
});
|
|
3602
|
-
}, Ea = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0,
|
|
3602
|
+
}, Ea = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, V.jsx)("span", {
|
|
3603
3603
|
dangerouslySetInnerHTML: e,
|
|
3604
3604
|
...t
|
|
3605
|
-
}) : /* @__PURE__ */ (0,
|
|
3605
|
+
}) : /* @__PURE__ */ (0, V.jsx)(B.Fragment, { ...t }), Da = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
3606
3606
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
3607
3607
|
role: "note",
|
|
3608
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
3608
|
+
children: ["Test Mode", /* @__PURE__ */ (0, V.jsx)(fe, {
|
|
3609
3609
|
className: "sid-test-mode-flag__link",
|
|
3610
3610
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
3611
3611
|
"aria-label": "learn more about a sheerid test mode program",
|
|
3612
3612
|
children: "(learn more)"
|
|
3613
3613
|
})]
|
|
3614
|
-
}) : null, Oa = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0,
|
|
3614
|
+
}) : null, Oa = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, V.jsxs)("header", {
|
|
3615
3615
|
className: "sid-header",
|
|
3616
3616
|
children: [
|
|
3617
|
-
/* @__PURE__ */ (0,
|
|
3617
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3618
3618
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
3619
|
-
children: /* @__PURE__ */ (0,
|
|
3619
|
+
children: /* @__PURE__ */ (0, V.jsx)($e, {
|
|
3620
3620
|
verificationService: e,
|
|
3621
3621
|
fallbackLogo: r
|
|
3622
3622
|
})
|
|
3623
3623
|
}),
|
|
3624
|
-
/* @__PURE__ */ (0,
|
|
3624
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
3625
3625
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
3626
|
-
children: /* @__PURE__ */ (0,
|
|
3626
|
+
children: /* @__PURE__ */ (0, V.jsx)("h1", { children: t })
|
|
3627
3627
|
}),
|
|
3628
3628
|
n
|
|
3629
3629
|
]
|
|
@@ -3655,25 +3655,25 @@ function ja(...e) {
|
|
|
3655
3655
|
};
|
|
3656
3656
|
}
|
|
3657
3657
|
function Ma(...e) {
|
|
3658
|
-
return
|
|
3658
|
+
return B.useCallback(ja(...e), e);
|
|
3659
3659
|
}
|
|
3660
3660
|
//#endregion
|
|
3661
3661
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
3662
3662
|
function Na(e, t = []) {
|
|
3663
3663
|
let n = [];
|
|
3664
3664
|
function r(t, r) {
|
|
3665
|
-
let i =
|
|
3665
|
+
let i = B.createContext(r), a = n.length;
|
|
3666
3666
|
n = [...n, r];
|
|
3667
3667
|
let o = (t) => {
|
|
3668
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
3669
|
-
return /* @__PURE__ */ (0,
|
|
3668
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = B.useMemo(() => o, Object.values(o));
|
|
3669
|
+
return /* @__PURE__ */ (0, V.jsx)(s.Provider, {
|
|
3670
3670
|
value: c,
|
|
3671
3671
|
children: r
|
|
3672
3672
|
});
|
|
3673
3673
|
};
|
|
3674
3674
|
o.displayName = t + "Provider";
|
|
3675
3675
|
function s(n, o) {
|
|
3676
|
-
let s = o?.[e]?.[a] || i, c =
|
|
3676
|
+
let s = o?.[e]?.[a] || i, c = B.useContext(s);
|
|
3677
3677
|
if (c) return c;
|
|
3678
3678
|
if (r !== void 0) return r;
|
|
3679
3679
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -3681,10 +3681,10 @@ function Na(e, t = []) {
|
|
|
3681
3681
|
return [o, s];
|
|
3682
3682
|
}
|
|
3683
3683
|
let i = () => {
|
|
3684
|
-
let t = n.map((e) =>
|
|
3684
|
+
let t = n.map((e) => B.createContext(e));
|
|
3685
3685
|
return function(n) {
|
|
3686
3686
|
let r = n?.[e] || t;
|
|
3687
|
-
return
|
|
3687
|
+
return B.useMemo(() => ({ [`__scope${e}`]: {
|
|
3688
3688
|
...n,
|
|
3689
3689
|
[e]: r
|
|
3690
3690
|
} }), [n, r]);
|
|
@@ -3708,7 +3708,7 @@ function Pa(...e) {
|
|
|
3708
3708
|
...i
|
|
3709
3709
|
};
|
|
3710
3710
|
}, {});
|
|
3711
|
-
return
|
|
3711
|
+
return B.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
3712
3712
|
};
|
|
3713
3713
|
};
|
|
3714
3714
|
return n.scopeName = t.scopeName, n;
|
|
@@ -3717,17 +3717,17 @@ function Pa(...e) {
|
|
|
3717
3717
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
3718
3718
|
// @__NO_SIDE_EFFECTS__
|
|
3719
3719
|
function Fa(e) {
|
|
3720
|
-
let t = /* @__PURE__ */ Ia(e), n =
|
|
3721
|
-
let { children: r, ...i } = e, a =
|
|
3720
|
+
let t = /* @__PURE__ */ Ia(e), n = B.forwardRef((e, n) => {
|
|
3721
|
+
let { children: r, ...i } = e, a = B.Children.toArray(r), o = a.find(Ra);
|
|
3722
3722
|
if (o) {
|
|
3723
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
3724
|
-
return /* @__PURE__ */ (0,
|
|
3723
|
+
let e = o.props.children, r = a.map((t) => t === o ? B.Children.count(e) > 1 ? B.Children.only(null) : B.isValidElement(e) ? e.props.children : null : t);
|
|
3724
|
+
return /* @__PURE__ */ (0, V.jsx)(t, {
|
|
3725
3725
|
...i,
|
|
3726
3726
|
ref: n,
|
|
3727
|
-
children:
|
|
3727
|
+
children: B.isValidElement(e) ? B.cloneElement(e, void 0, r) : null
|
|
3728
3728
|
});
|
|
3729
3729
|
}
|
|
3730
|
-
return /* @__PURE__ */ (0,
|
|
3730
|
+
return /* @__PURE__ */ (0, V.jsx)(t, {
|
|
3731
3731
|
...i,
|
|
3732
3732
|
ref: n,
|
|
3733
3733
|
children: r
|
|
@@ -3737,19 +3737,19 @@ function Fa(e) {
|
|
|
3737
3737
|
}
|
|
3738
3738
|
// @__NO_SIDE_EFFECTS__
|
|
3739
3739
|
function Ia(e) {
|
|
3740
|
-
let t =
|
|
3740
|
+
let t = B.forwardRef((e, t) => {
|
|
3741
3741
|
let { children: n, ...r } = e;
|
|
3742
|
-
if (
|
|
3742
|
+
if (B.isValidElement(n)) {
|
|
3743
3743
|
let e = Ba(n), i = za(r, n.props);
|
|
3744
|
-
return n.type !==
|
|
3744
|
+
return n.type !== B.Fragment && (i.ref = t ? ja(t, e) : e), B.cloneElement(n, i);
|
|
3745
3745
|
}
|
|
3746
|
-
return
|
|
3746
|
+
return B.Children.count(n) > 1 ? B.Children.only(null) : null;
|
|
3747
3747
|
});
|
|
3748
3748
|
return t.displayName = `${e}.SlotClone`, t;
|
|
3749
3749
|
}
|
|
3750
3750
|
var La = Symbol("radix.slottable");
|
|
3751
3751
|
function Ra(e) {
|
|
3752
|
-
return
|
|
3752
|
+
return B.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === La;
|
|
3753
3753
|
}
|
|
3754
3754
|
function za(e, t) {
|
|
3755
3755
|
let n = { ...t };
|
|
@@ -3793,9 +3793,9 @@ var Va = [
|
|
|
3793
3793
|
"svg",
|
|
3794
3794
|
"ul"
|
|
3795
3795
|
].reduce((e, t) => {
|
|
3796
|
-
let n = /* @__PURE__ */ Fa(`Primitive.${t}`), r =
|
|
3796
|
+
let n = /* @__PURE__ */ Fa(`Primitive.${t}`), r = B.forwardRef((e, r) => {
|
|
3797
3797
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
3798
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0,
|
|
3798
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, V.jsx)(o, {
|
|
3799
3799
|
...a,
|
|
3800
3800
|
ref: r
|
|
3801
3801
|
});
|
|
@@ -3811,16 +3811,16 @@ function Ha(e, t) {
|
|
|
3811
3811
|
//#endregion
|
|
3812
3812
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
3813
3813
|
function Ua(e) {
|
|
3814
|
-
let t =
|
|
3815
|
-
return
|
|
3814
|
+
let t = B.useRef(e);
|
|
3815
|
+
return B.useEffect(() => {
|
|
3816
3816
|
t.current = e;
|
|
3817
|
-
}),
|
|
3817
|
+
}), B.useMemo(() => (...e) => t.current?.(...e), []);
|
|
3818
3818
|
}
|
|
3819
3819
|
//#endregion
|
|
3820
3820
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
3821
3821
|
function Wa(e, t = globalThis?.document) {
|
|
3822
3822
|
let n = Ua(e);
|
|
3823
|
-
|
|
3823
|
+
B.useEffect(() => {
|
|
3824
3824
|
let e = (e) => {
|
|
3825
3825
|
e.key === "Escape" && n(e);
|
|
3826
3826
|
};
|
|
@@ -3829,12 +3829,12 @@ function Wa(e, t = globalThis?.document) {
|
|
|
3829
3829
|
}
|
|
3830
3830
|
//#endregion
|
|
3831
3831
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
3832
|
-
var Ga = "DismissableLayer", Ka = "dismissableLayer.update", qa = "dismissableLayer.pointerDownOutside", Ja = "dismissableLayer.focusOutside", Ya, Xa =
|
|
3832
|
+
var Ga = "DismissableLayer", Ka = "dismissableLayer.update", qa = "dismissableLayer.pointerDownOutside", Ja = "dismissableLayer.focusOutside", Ya, Xa = B.createContext({
|
|
3833
3833
|
layers: /* @__PURE__ */ new Set(),
|
|
3834
3834
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
3835
3835
|
branches: /* @__PURE__ */ new Set()
|
|
3836
|
-
}), Za =
|
|
3837
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
3836
|
+
}), Za = B.forwardRef((e, t) => {
|
|
3837
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = B.useContext(Xa), [u, d] = B.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = B.useState({}), m = Ma(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 = eo((e) => {
|
|
3838
3838
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
3839
3839
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
3840
3840
|
}, f), S = to((e) => {
|
|
@@ -3843,7 +3843,7 @@ var Ga = "DismissableLayer", Ka = "dismissableLayer.update", qa = "dismissableLa
|
|
|
3843
3843
|
}, f);
|
|
3844
3844
|
return Wa((e) => {
|
|
3845
3845
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
3846
|
-
}, f),
|
|
3846
|
+
}, f), B.useEffect(() => {
|
|
3847
3847
|
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Ya = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), no(), () => {
|
|
3848
3848
|
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Ya);
|
|
3849
3849
|
};
|
|
@@ -3852,12 +3852,12 @@ var Ga = "DismissableLayer", Ka = "dismissableLayer.update", qa = "dismissableLa
|
|
|
3852
3852
|
f,
|
|
3853
3853
|
n,
|
|
3854
3854
|
l
|
|
3855
|
-
]),
|
|
3855
|
+
]), B.useEffect(() => () => {
|
|
3856
3856
|
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), no());
|
|
3857
|
-
}, [u, l]),
|
|
3857
|
+
}, [u, l]), B.useEffect(() => {
|
|
3858
3858
|
let e = () => p({});
|
|
3859
3859
|
return document.addEventListener(Ka, e), () => document.removeEventListener(Ka, e);
|
|
3860
|
-
}, []), /* @__PURE__ */ (0,
|
|
3860
|
+
}, []), /* @__PURE__ */ (0, V.jsx)(Va.div, {
|
|
3861
3861
|
...c,
|
|
3862
3862
|
ref: m,
|
|
3863
3863
|
style: {
|
|
@@ -3870,22 +3870,22 @@ var Ga = "DismissableLayer", Ka = "dismissableLayer.update", qa = "dismissableLa
|
|
|
3870
3870
|
});
|
|
3871
3871
|
});
|
|
3872
3872
|
Za.displayName = Ga;
|
|
3873
|
-
var Qa = "DismissableLayerBranch", $a =
|
|
3874
|
-
let n =
|
|
3875
|
-
return
|
|
3873
|
+
var Qa = "DismissableLayerBranch", $a = B.forwardRef((e, t) => {
|
|
3874
|
+
let n = B.useContext(Xa), r = B.useRef(null), i = Ma(t, r);
|
|
3875
|
+
return B.useEffect(() => {
|
|
3876
3876
|
let e = r.current;
|
|
3877
3877
|
if (e) return n.branches.add(e), () => {
|
|
3878
3878
|
n.branches.delete(e);
|
|
3879
3879
|
};
|
|
3880
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
3880
|
+
}, [n.branches]), /* @__PURE__ */ (0, V.jsx)(Va.div, {
|
|
3881
3881
|
...e,
|
|
3882
3882
|
ref: i
|
|
3883
3883
|
});
|
|
3884
3884
|
});
|
|
3885
3885
|
$a.displayName = Qa;
|
|
3886
3886
|
function eo(e, t = globalThis?.document) {
|
|
3887
|
-
let n = Ua(e), r =
|
|
3888
|
-
return
|
|
3887
|
+
let n = Ua(e), r = B.useRef(!1), i = B.useRef(() => {});
|
|
3888
|
+
return B.useEffect(() => {
|
|
3889
3889
|
let e = (e) => {
|
|
3890
3890
|
if (e.target && !r.current) {
|
|
3891
3891
|
let r = function() {
|
|
@@ -3903,8 +3903,8 @@ function eo(e, t = globalThis?.document) {
|
|
|
3903
3903
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
3904
3904
|
}
|
|
3905
3905
|
function to(e, t = globalThis?.document) {
|
|
3906
|
-
let n = Ua(e), r =
|
|
3907
|
-
return
|
|
3906
|
+
let n = Ua(e), r = B.useRef(!1);
|
|
3907
|
+
return B.useEffect(() => {
|
|
3908
3908
|
let e = (e) => {
|
|
3909
3909
|
e.target && !r.current && ro(Ja, n, { originalEvent: e }, { discrete: !1 });
|
|
3910
3910
|
};
|
|
@@ -3930,7 +3930,7 @@ function ro(e, t, n, { discrete: r }) {
|
|
|
3930
3930
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
3931
3931
|
var io = 0;
|
|
3932
3932
|
function ao() {
|
|
3933
|
-
|
|
3933
|
+
B.useEffect(() => {
|
|
3934
3934
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
3935
3935
|
return document.body.insertAdjacentElement("afterbegin", e[0] ?? oo()), document.body.insertAdjacentElement("beforeend", e[1] ?? oo()), io++, () => {
|
|
3936
3936
|
io === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), io--;
|
|
@@ -3946,8 +3946,8 @@ function oo() {
|
|
|
3946
3946
|
var so = "focusScope.autoFocusOnMount", co = "focusScope.autoFocusOnUnmount", lo = {
|
|
3947
3947
|
bubbles: !1,
|
|
3948
3948
|
cancelable: !0
|
|
3949
|
-
}, uo = "FocusScope", fo =
|
|
3950
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
3949
|
+
}, uo = "FocusScope", fo = B.forwardRef((e, t) => {
|
|
3950
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = B.useState(null), l = Ua(i), u = Ua(a), d = B.useRef(null), f = Ma(t, (e) => c(e)), p = B.useRef({
|
|
3951
3951
|
paused: !1,
|
|
3952
3952
|
pause() {
|
|
3953
3953
|
this.paused = !0;
|
|
@@ -3956,7 +3956,7 @@ var so = "focusScope.autoFocusOnMount", co = "focusScope.autoFocusOnUnmount", lo
|
|
|
3956
3956
|
this.paused = !1;
|
|
3957
3957
|
}
|
|
3958
3958
|
}).current;
|
|
3959
|
-
|
|
3959
|
+
B.useEffect(() => {
|
|
3960
3960
|
if (r) {
|
|
3961
3961
|
let e = function(e) {
|
|
3962
3962
|
if (p.paused || !s) return;
|
|
@@ -3982,7 +3982,7 @@ var so = "focusScope.autoFocusOnMount", co = "focusScope.autoFocusOnUnmount", lo
|
|
|
3982
3982
|
r,
|
|
3983
3983
|
s,
|
|
3984
3984
|
p.paused
|
|
3985
|
-
]),
|
|
3985
|
+
]), B.useEffect(() => {
|
|
3986
3986
|
if (s) {
|
|
3987
3987
|
bo.add(p);
|
|
3988
3988
|
let e = document.activeElement;
|
|
@@ -4003,7 +4003,7 @@ var so = "focusScope.autoFocusOnMount", co = "focusScope.autoFocusOnUnmount", lo
|
|
|
4003
4003
|
u,
|
|
4004
4004
|
p
|
|
4005
4005
|
]);
|
|
4006
|
-
let m =
|
|
4006
|
+
let m = B.useCallback((e) => {
|
|
4007
4007
|
if (!n && !r || p.paused) return;
|
|
4008
4008
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
4009
4009
|
if (t && i) {
|
|
@@ -4015,7 +4015,7 @@ var so = "focusScope.autoFocusOnMount", co = "focusScope.autoFocusOnUnmount", lo
|
|
|
4015
4015
|
r,
|
|
4016
4016
|
p.paused
|
|
4017
4017
|
]);
|
|
4018
|
-
return /* @__PURE__ */ (0,
|
|
4018
|
+
return /* @__PURE__ */ (0, V.jsx)(Va.div, {
|
|
4019
4019
|
tabIndex: -1,
|
|
4020
4020
|
...o,
|
|
4021
4021
|
ref: f,
|
|
@@ -4082,9 +4082,9 @@ function Co(e) {
|
|
|
4082
4082
|
}
|
|
4083
4083
|
//#endregion
|
|
4084
4084
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
4085
|
-
var wo = globalThis?.document ?
|
|
4085
|
+
var wo = globalThis?.document ? B.useLayoutEffect : () => {}, To = B.useId || (() => void 0), Eo = 0;
|
|
4086
4086
|
function Do(e) {
|
|
4087
|
-
let [t, n] =
|
|
4087
|
+
let [t, n] = B.useState(To());
|
|
4088
4088
|
return wo(() => {
|
|
4089
4089
|
e || n((e) => e ?? String(Eo++));
|
|
4090
4090
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
@@ -4096,7 +4096,7 @@ var Oo = [
|
|
|
4096
4096
|
"right",
|
|
4097
4097
|
"bottom",
|
|
4098
4098
|
"left"
|
|
4099
|
-
], ko = Math.min,
|
|
4099
|
+
], ko = Math.min, Z = Math.max, Ao = Math.round, jo = Math.floor, Mo = (e) => ({
|
|
4100
4100
|
x: e,
|
|
4101
4101
|
y: e
|
|
4102
4102
|
}), No = {
|
|
@@ -4106,7 +4106,7 @@ var Oo = [
|
|
|
4106
4106
|
top: "bottom"
|
|
4107
4107
|
};
|
|
4108
4108
|
function Po(e, t, n) {
|
|
4109
|
-
return
|
|
4109
|
+
return Z(e, ko(t, n));
|
|
4110
4110
|
}
|
|
4111
4111
|
function Fo(e, t) {
|
|
4112
4112
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -4538,8 +4538,8 @@ var fs = function(e) {
|
|
|
4538
4538
|
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");
|
|
4539
4539
|
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = ko(h - u[g], v), x = ko(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
4540
4540
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
4541
|
-
let e =
|
|
4542
|
-
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t :
|
|
4541
|
+
let e = Z(u.left, 0), t = Z(u.right, 0), n = Z(u.top, 0), r = Z(u.bottom, 0);
|
|
4542
|
+
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : Z(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : Z(u.top, u.bottom));
|
|
4543
4543
|
}
|
|
4544
4544
|
await c({
|
|
4545
4545
|
...t,
|
|
@@ -4559,7 +4559,7 @@ function gs() {
|
|
|
4559
4559
|
function _s(e) {
|
|
4560
4560
|
return ys(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
4561
4561
|
}
|
|
4562
|
-
function
|
|
4562
|
+
function Q(e) {
|
|
4563
4563
|
var t;
|
|
4564
4564
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
4565
4565
|
}
|
|
@@ -4567,19 +4567,19 @@ function vs(e) {
|
|
|
4567
4567
|
return ((ys(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
4568
4568
|
}
|
|
4569
4569
|
function ys(e) {
|
|
4570
|
-
return gs() ? e instanceof Node || e instanceof
|
|
4570
|
+
return gs() ? e instanceof Node || e instanceof Q(e).Node : !1;
|
|
4571
4571
|
}
|
|
4572
|
-
function
|
|
4573
|
-
return gs() ? e instanceof Element || e instanceof
|
|
4572
|
+
function $(e) {
|
|
4573
|
+
return gs() ? e instanceof Element || e instanceof Q(e).Element : !1;
|
|
4574
4574
|
}
|
|
4575
4575
|
function bs(e) {
|
|
4576
|
-
return gs() ? e instanceof HTMLElement || e instanceof
|
|
4576
|
+
return gs() ? e instanceof HTMLElement || e instanceof Q(e).HTMLElement : !1;
|
|
4577
4577
|
}
|
|
4578
4578
|
function xs(e) {
|
|
4579
|
-
return !gs() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof
|
|
4579
|
+
return !gs() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Q(e).ShadowRoot;
|
|
4580
4580
|
}
|
|
4581
4581
|
function Ss(e) {
|
|
4582
|
-
let { overflow: t, overflowX: n, overflowY: r, display: i } =
|
|
4582
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Ns(e);
|
|
4583
4583
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
4584
4584
|
}
|
|
4585
4585
|
function Cs(e) {
|
|
@@ -4597,15 +4597,15 @@ function ws(e) {
|
|
|
4597
4597
|
}
|
|
4598
4598
|
var Ts = /transform|translate|scale|rotate|perspective|filter/, Es = /paint|layout|strict|content/, Ds = (e) => !!e && e !== "none", Os;
|
|
4599
4599
|
function ks(e) {
|
|
4600
|
-
let t =
|
|
4600
|
+
let t = $(e) ? Ns(e) : e;
|
|
4601
4601
|
return Ds(t.transform) || Ds(t.translate) || Ds(t.scale) || Ds(t.rotate) || Ds(t.perspective) || !js() && (Ds(t.backdropFilter) || Ds(t.filter)) || Ts.test(t.willChange || "") || Es.test(t.contain || "");
|
|
4602
4602
|
}
|
|
4603
4603
|
function As(e) {
|
|
4604
|
-
let t =
|
|
4604
|
+
let t = Fs(e);
|
|
4605
4605
|
for (; bs(t) && !Ms(t);) {
|
|
4606
4606
|
if (ks(t)) return t;
|
|
4607
4607
|
if (ws(t)) return null;
|
|
4608
|
-
t =
|
|
4608
|
+
t = Fs(t);
|
|
4609
4609
|
}
|
|
4610
4610
|
return null;
|
|
4611
4611
|
}
|
|
@@ -4615,11 +4615,11 @@ function js() {
|
|
|
4615
4615
|
function Ms(e) {
|
|
4616
4616
|
return /^(html|body|#document)$/.test(_s(e));
|
|
4617
4617
|
}
|
|
4618
|
-
function $(e) {
|
|
4619
|
-
return Z(e).getComputedStyle(e);
|
|
4620
|
-
}
|
|
4621
4618
|
function Ns(e) {
|
|
4622
|
-
return Q(e)
|
|
4619
|
+
return Q(e).getComputedStyle(e);
|
|
4620
|
+
}
|
|
4621
|
+
function Ps(e) {
|
|
4622
|
+
return $(e) ? {
|
|
4623
4623
|
scrollLeft: e.scrollLeft,
|
|
4624
4624
|
scrollTop: e.scrollTop
|
|
4625
4625
|
} : {
|
|
@@ -4627,69 +4627,69 @@ function Ns(e) {
|
|
|
4627
4627
|
scrollTop: e.scrollY
|
|
4628
4628
|
};
|
|
4629
4629
|
}
|
|
4630
|
-
function
|
|
4630
|
+
function Fs(e) {
|
|
4631
4631
|
if (_s(e) === "html") return e;
|
|
4632
4632
|
let t = e.assignedSlot || e.parentNode || xs(e) && e.host || vs(e);
|
|
4633
4633
|
return xs(t) ? t.host : t;
|
|
4634
4634
|
}
|
|
4635
|
-
function
|
|
4636
|
-
let t =
|
|
4637
|
-
return Ms(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : bs(t) && Ss(t) ? t :
|
|
4635
|
+
function Is(e) {
|
|
4636
|
+
let t = Fs(e);
|
|
4637
|
+
return Ms(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : bs(t) && Ss(t) ? t : Is(t);
|
|
4638
4638
|
}
|
|
4639
|
-
function
|
|
4639
|
+
function Ls(e, t, n) {
|
|
4640
4640
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
4641
|
-
let r =
|
|
4641
|
+
let r = Is(e), i = r === e.ownerDocument?.body, a = Q(r);
|
|
4642
4642
|
if (i) {
|
|
4643
|
-
let e =
|
|
4644
|
-
return t.concat(a, a.visualViewport || [], Ss(r) ? r : [], e && n ?
|
|
4645
|
-
} else return t.concat(r,
|
|
4643
|
+
let e = Rs(a);
|
|
4644
|
+
return t.concat(a, a.visualViewport || [], Ss(r) ? r : [], e && n ? Ls(e) : []);
|
|
4645
|
+
} else return t.concat(r, Ls(r, [], n));
|
|
4646
4646
|
}
|
|
4647
|
-
function
|
|
4647
|
+
function Rs(e) {
|
|
4648
4648
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
4649
4649
|
}
|
|
4650
4650
|
//#endregion
|
|
4651
4651
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
4652
|
-
function
|
|
4653
|
-
let t =
|
|
4652
|
+
function zs(e) {
|
|
4653
|
+
let t = Ns(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = bs(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Ao(n) !== a || Ao(r) !== o;
|
|
4654
4654
|
return s && (n = a, r = o), {
|
|
4655
4655
|
width: n,
|
|
4656
4656
|
height: r,
|
|
4657
4657
|
$: s
|
|
4658
4658
|
};
|
|
4659
4659
|
}
|
|
4660
|
-
function zs(e) {
|
|
4661
|
-
return Q(e) ? e : e.contextElement;
|
|
4662
|
-
}
|
|
4663
4660
|
function Bs(e) {
|
|
4664
|
-
|
|
4661
|
+
return $(e) ? e : e.contextElement;
|
|
4662
|
+
}
|
|
4663
|
+
function Vs(e) {
|
|
4664
|
+
let t = Bs(e);
|
|
4665
4665
|
if (!bs(t)) return Mo(1);
|
|
4666
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
4666
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = zs(t), o = (a ? Ao(n.width) : n.width) / r, s = (a ? Ao(n.height) : n.height) / i;
|
|
4667
4667
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
4668
4668
|
x: o,
|
|
4669
4669
|
y: s
|
|
4670
4670
|
};
|
|
4671
4671
|
}
|
|
4672
|
-
var
|
|
4673
|
-
function
|
|
4674
|
-
let t =
|
|
4675
|
-
return !js() || !t.visualViewport ?
|
|
4672
|
+
var Hs = /*#__PURE__*/ Mo(0);
|
|
4673
|
+
function Us(e) {
|
|
4674
|
+
let t = Q(e);
|
|
4675
|
+
return !js() || !t.visualViewport ? Hs : {
|
|
4676
4676
|
x: t.visualViewport.offsetLeft,
|
|
4677
4677
|
y: t.visualViewport.offsetTop
|
|
4678
4678
|
};
|
|
4679
4679
|
}
|
|
4680
|
-
function
|
|
4681
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
4680
|
+
function Ws(e, t, n) {
|
|
4681
|
+
return t === void 0 && (t = !1), !n || t && n !== Q(e) ? !1 : t;
|
|
4682
4682
|
}
|
|
4683
|
-
function
|
|
4683
|
+
function Gs(e, t, n, r) {
|
|
4684
4684
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
4685
|
-
let i = e.getBoundingClientRect(), a =
|
|
4686
|
-
t && (r ?
|
|
4687
|
-
let s =
|
|
4685
|
+
let i = e.getBoundingClientRect(), a = Bs(e), o = Mo(1);
|
|
4686
|
+
t && (r ? $(r) && (o = Vs(r)) : o = Vs(e));
|
|
4687
|
+
let s = Ws(a, n, r) ? Us(a) : Mo(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;
|
|
4688
4688
|
if (a) {
|
|
4689
|
-
let e =
|
|
4689
|
+
let e = Q(a), t = r && $(r) ? Q(r) : r, n = e, i = Rs(n);
|
|
4690
4690
|
for (; i && r && t !== n;) {
|
|
4691
|
-
let e =
|
|
4692
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n =
|
|
4691
|
+
let e = Vs(i), t = i.getBoundingClientRect(), r = Ns(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
4692
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = Q(i), i = Rs(n);
|
|
4693
4693
|
}
|
|
4694
4694
|
}
|
|
4695
4695
|
return es({
|
|
@@ -4699,29 +4699,29 @@ function Ws(e, t, n, r) {
|
|
|
4699
4699
|
y: l
|
|
4700
4700
|
});
|
|
4701
4701
|
}
|
|
4702
|
-
function Gs(e, t) {
|
|
4703
|
-
let n = Ns(e).scrollLeft;
|
|
4704
|
-
return t ? t.left + n : Ws(vs(e)).left + n;
|
|
4705
|
-
}
|
|
4706
4702
|
function Ks(e, t) {
|
|
4703
|
+
let n = Ps(e).scrollLeft;
|
|
4704
|
+
return t ? t.left + n : Gs(vs(e)).left + n;
|
|
4705
|
+
}
|
|
4706
|
+
function qs(e, t) {
|
|
4707
4707
|
let n = e.getBoundingClientRect();
|
|
4708
4708
|
return {
|
|
4709
|
-
x: n.left + t.scrollLeft -
|
|
4709
|
+
x: n.left + t.scrollLeft - Ks(e, n),
|
|
4710
4710
|
y: n.top + t.scrollTop
|
|
4711
4711
|
};
|
|
4712
4712
|
}
|
|
4713
|
-
function
|
|
4713
|
+
function Js(e) {
|
|
4714
4714
|
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = vs(r), s = t ? ws(t.floating) : !1;
|
|
4715
4715
|
if (r === o || s && a) return n;
|
|
4716
4716
|
let c = {
|
|
4717
4717
|
scrollLeft: 0,
|
|
4718
4718
|
scrollTop: 0
|
|
4719
4719
|
}, l = Mo(1), u = Mo(0), d = bs(r);
|
|
4720
|
-
if ((d || !d && !a) && ((_s(r) !== "body" || Ss(o)) && (c =
|
|
4721
|
-
let e =
|
|
4722
|
-
l =
|
|
4720
|
+
if ((d || !d && !a) && ((_s(r) !== "body" || Ss(o)) && (c = Ps(r)), d)) {
|
|
4721
|
+
let e = Gs(r);
|
|
4722
|
+
l = Vs(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
4723
4723
|
}
|
|
4724
|
-
let f = o && !d && !a ?
|
|
4724
|
+
let f = o && !d && !a ? qs(o, c) : Mo(0);
|
|
4725
4725
|
return {
|
|
4726
4726
|
width: n.width * l.x,
|
|
4727
4727
|
height: n.height * l.y,
|
|
@@ -4729,31 +4729,31 @@ function qs(e) {
|
|
|
4729
4729
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
4730
4730
|
};
|
|
4731
4731
|
}
|
|
4732
|
-
function
|
|
4732
|
+
function Ys(e) {
|
|
4733
4733
|
return Array.from(e.getClientRects());
|
|
4734
4734
|
}
|
|
4735
|
-
function
|
|
4736
|
-
let t = vs(e), n =
|
|
4737
|
-
return
|
|
4735
|
+
function Xs(e) {
|
|
4736
|
+
let t = vs(e), n = Ps(e), r = e.ownerDocument.body, i = Z(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = Z(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Ks(e), s = -n.scrollTop;
|
|
4737
|
+
return Ns(r).direction === "rtl" && (o += Z(t.clientWidth, r.clientWidth) - i), {
|
|
4738
4738
|
width: i,
|
|
4739
4739
|
height: a,
|
|
4740
4740
|
x: o,
|
|
4741
4741
|
y: s
|
|
4742
4742
|
};
|
|
4743
4743
|
}
|
|
4744
|
-
var
|
|
4745
|
-
function
|
|
4746
|
-
let n =
|
|
4744
|
+
var Zs = 25;
|
|
4745
|
+
function Qs(e, t) {
|
|
4746
|
+
let n = Q(e), r = vs(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
4747
4747
|
if (i) {
|
|
4748
4748
|
a = i.width, o = i.height;
|
|
4749
4749
|
let e = js();
|
|
4750
4750
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
4751
4751
|
}
|
|
4752
|
-
let l =
|
|
4752
|
+
let l = Ks(r);
|
|
4753
4753
|
if (l <= 0) {
|
|
4754
4754
|
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);
|
|
4755
|
-
o <=
|
|
4756
|
-
} else l <=
|
|
4755
|
+
o <= Zs && (a -= o);
|
|
4756
|
+
} else l <= Zs && (a += l);
|
|
4757
4757
|
return {
|
|
4758
4758
|
width: a,
|
|
4759
4759
|
height: o,
|
|
@@ -4761,8 +4761,8 @@ function Zs(e, t) {
|
|
|
4761
4761
|
y: c
|
|
4762
4762
|
};
|
|
4763
4763
|
}
|
|
4764
|
-
function
|
|
4765
|
-
let n =
|
|
4764
|
+
function $s(e, t) {
|
|
4765
|
+
let n = Gs(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = bs(e) ? Vs(e) : Mo(1);
|
|
4766
4766
|
return {
|
|
4767
4767
|
width: e.clientWidth * a.x,
|
|
4768
4768
|
height: e.clientHeight * a.y,
|
|
@@ -4770,13 +4770,13 @@ function Qs(e, t) {
|
|
|
4770
4770
|
y: r * a.y
|
|
4771
4771
|
};
|
|
4772
4772
|
}
|
|
4773
|
-
function
|
|
4773
|
+
function ec(e, t, n) {
|
|
4774
4774
|
let r;
|
|
4775
|
-
if (t === "viewport") r =
|
|
4776
|
-
else if (t === "document") r =
|
|
4777
|
-
else if (
|
|
4775
|
+
if (t === "viewport") r = Qs(e, n);
|
|
4776
|
+
else if (t === "document") r = Xs(vs(e));
|
|
4777
|
+
else if ($(t)) r = $s(t, n);
|
|
4778
4778
|
else {
|
|
4779
|
-
let n =
|
|
4779
|
+
let n = Us(e);
|
|
4780
4780
|
r = {
|
|
4781
4781
|
x: t.x - n.x,
|
|
4782
4782
|
y: t.y - n.y,
|
|
@@ -4786,25 +4786,25 @@ function $s(e, t, n) {
|
|
|
4786
4786
|
}
|
|
4787
4787
|
return es(r);
|
|
4788
4788
|
}
|
|
4789
|
-
function ec(e, t) {
|
|
4790
|
-
let n = Ps(e);
|
|
4791
|
-
return n === t || !Q(n) || Ms(n) ? !1 : $(n).position === "fixed" || ec(n, t);
|
|
4792
|
-
}
|
|
4793
4789
|
function tc(e, t) {
|
|
4790
|
+
let n = Fs(e);
|
|
4791
|
+
return n === t || !$(n) || Ms(n) ? !1 : Ns(n).position === "fixed" || tc(n, t);
|
|
4792
|
+
}
|
|
4793
|
+
function nc(e, t) {
|
|
4794
4794
|
let n = t.get(e);
|
|
4795
4795
|
if (n) return n;
|
|
4796
|
-
let r =
|
|
4797
|
-
for (;
|
|
4798
|
-
let t =
|
|
4799
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Ss(o) && !n &&
|
|
4796
|
+
let r = Ls(e, [], !1).filter((e) => $(e) && _s(e) !== "body"), i = null, a = Ns(e).position === "fixed", o = a ? Fs(e) : e;
|
|
4797
|
+
for (; $(o) && !Ms(o);) {
|
|
4798
|
+
let t = Ns(o), n = ks(o);
|
|
4799
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Ss(o) && !n && tc(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Fs(o);
|
|
4800
4800
|
}
|
|
4801
4801
|
return t.set(e, r), r;
|
|
4802
4802
|
}
|
|
4803
|
-
function
|
|
4804
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ws(t) ? [] :
|
|
4803
|
+
function rc(e) {
|
|
4804
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ws(t) ? [] : nc(t, this._c) : [].concat(n), r], o = ec(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
4805
4805
|
for (let e = 1; e < a.length; e++) {
|
|
4806
|
-
let n =
|
|
4807
|
-
s =
|
|
4806
|
+
let n = ec(t, a[e], i);
|
|
4807
|
+
s = Z(n.top, s), c = ko(n.right, c), l = ko(n.bottom, l), u = Z(n.left, u);
|
|
4808
4808
|
}
|
|
4809
4809
|
return {
|
|
4810
4810
|
width: c - u,
|
|
@@ -4813,27 +4813,27 @@ function nc(e) {
|
|
|
4813
4813
|
y: s
|
|
4814
4814
|
};
|
|
4815
4815
|
}
|
|
4816
|
-
function
|
|
4817
|
-
let { width: t, height: n } =
|
|
4816
|
+
function ic(e) {
|
|
4817
|
+
let { width: t, height: n } = zs(e);
|
|
4818
4818
|
return {
|
|
4819
4819
|
width: t,
|
|
4820
4820
|
height: n
|
|
4821
4821
|
};
|
|
4822
4822
|
}
|
|
4823
|
-
function
|
|
4824
|
-
let r = bs(t), i = vs(t), a = n === "fixed", o =
|
|
4823
|
+
function ac(e, t, n) {
|
|
4824
|
+
let r = bs(t), i = vs(t), a = n === "fixed", o = Gs(e, !0, a, t), s = {
|
|
4825
4825
|
scrollLeft: 0,
|
|
4826
4826
|
scrollTop: 0
|
|
4827
4827
|
}, c = Mo(0);
|
|
4828
4828
|
function l() {
|
|
4829
|
-
c.x =
|
|
4829
|
+
c.x = Ks(i);
|
|
4830
4830
|
}
|
|
4831
|
-
if (r || !r && !a) if ((_s(t) !== "body" || Ss(i)) && (s =
|
|
4832
|
-
let e =
|
|
4831
|
+
if (r || !r && !a) if ((_s(t) !== "body" || Ss(i)) && (s = Ps(t)), r) {
|
|
4832
|
+
let e = Gs(t, !0, a, t);
|
|
4833
4833
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
4834
4834
|
} else i && l();
|
|
4835
4835
|
a && !r && i && l();
|
|
4836
|
-
let u = i && !r && !a ?
|
|
4836
|
+
let u = i && !r && !a ? qs(i, s) : Mo(0);
|
|
4837
4837
|
return {
|
|
4838
4838
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
4839
4839
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -4841,34 +4841,34 @@ function ic(e, t, n) {
|
|
|
4841
4841
|
height: o.height
|
|
4842
4842
|
};
|
|
4843
4843
|
}
|
|
4844
|
-
function
|
|
4845
|
-
return
|
|
4844
|
+
function oc(e) {
|
|
4845
|
+
return Ns(e).position === "static";
|
|
4846
4846
|
}
|
|
4847
|
-
function
|
|
4848
|
-
if (!bs(e) ||
|
|
4847
|
+
function sc(e, t) {
|
|
4848
|
+
if (!bs(e) || Ns(e).position === "fixed") return null;
|
|
4849
4849
|
if (t) return t(e);
|
|
4850
4850
|
let n = e.offsetParent;
|
|
4851
4851
|
return vs(e) === n && (n = n.ownerDocument.body), n;
|
|
4852
4852
|
}
|
|
4853
|
-
function
|
|
4854
|
-
let n =
|
|
4853
|
+
function cc(e, t) {
|
|
4854
|
+
let n = Q(e);
|
|
4855
4855
|
if (ws(e)) return n;
|
|
4856
4856
|
if (!bs(e)) {
|
|
4857
|
-
let t =
|
|
4857
|
+
let t = Fs(e);
|
|
4858
4858
|
for (; t && !Ms(t);) {
|
|
4859
|
-
if (
|
|
4860
|
-
t =
|
|
4859
|
+
if ($(t) && !oc(t)) return t;
|
|
4860
|
+
t = Fs(t);
|
|
4861
4861
|
}
|
|
4862
4862
|
return n;
|
|
4863
4863
|
}
|
|
4864
|
-
let r =
|
|
4865
|
-
for (; r && Cs(r) &&
|
|
4866
|
-
return r && Ms(r) &&
|
|
4864
|
+
let r = sc(e, t);
|
|
4865
|
+
for (; r && Cs(r) && oc(r);) r = sc(r, t);
|
|
4866
|
+
return r && Ms(r) && oc(r) && !ks(r) ? n : r || As(e) || n;
|
|
4867
4867
|
}
|
|
4868
|
-
var
|
|
4869
|
-
let t = this.getOffsetParent ||
|
|
4868
|
+
var lc = async function(e) {
|
|
4869
|
+
let t = this.getOffsetParent || cc, n = this.getDimensions, r = await n(e.floating);
|
|
4870
4870
|
return {
|
|
4871
|
-
reference:
|
|
4871
|
+
reference: ac(e.reference, await t(e.floating), e.strategy),
|
|
4872
4872
|
floating: {
|
|
4873
4873
|
x: 0,
|
|
4874
4874
|
y: 0,
|
|
@@ -4877,25 +4877,25 @@ var cc = async function(e) {
|
|
|
4877
4877
|
}
|
|
4878
4878
|
};
|
|
4879
4879
|
};
|
|
4880
|
-
function
|
|
4881
|
-
return
|
|
4880
|
+
function uc(e) {
|
|
4881
|
+
return Ns(e).direction === "rtl";
|
|
4882
4882
|
}
|
|
4883
|
-
var
|
|
4884
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
4883
|
+
var dc = {
|
|
4884
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Js,
|
|
4885
4885
|
getDocumentElement: vs,
|
|
4886
|
-
getClippingRect:
|
|
4887
|
-
getOffsetParent:
|
|
4888
|
-
getElementRects:
|
|
4889
|
-
getClientRects:
|
|
4890
|
-
getDimensions:
|
|
4891
|
-
getScale:
|
|
4892
|
-
isElement:
|
|
4893
|
-
isRTL:
|
|
4886
|
+
getClippingRect: rc,
|
|
4887
|
+
getOffsetParent: cc,
|
|
4888
|
+
getElementRects: lc,
|
|
4889
|
+
getClientRects: Ys,
|
|
4890
|
+
getDimensions: ic,
|
|
4891
|
+
getScale: Vs,
|
|
4892
|
+
isElement: $,
|
|
4893
|
+
isRTL: uc
|
|
4894
4894
|
};
|
|
4895
|
-
function
|
|
4895
|
+
function fc(e, t) {
|
|
4896
4896
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
4897
4897
|
}
|
|
4898
|
-
function
|
|
4898
|
+
function pc(e, t) {
|
|
4899
4899
|
let n = null, r, i = vs(e);
|
|
4900
4900
|
function a() {
|
|
4901
4901
|
var e;
|
|
@@ -4907,7 +4907,7 @@ function fc(e, t) {
|
|
|
4907
4907
|
if (s || t(), !f || !p) return;
|
|
4908
4908
|
let m = jo(d), h = jo(i.clientWidth - (u + f)), g = jo(i.clientHeight - (d + p)), _ = jo(u), v = {
|
|
4909
4909
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
4910
|
-
threshold:
|
|
4910
|
+
threshold: Z(0, ko(1, c)) || 1
|
|
4911
4911
|
}, y = !0;
|
|
4912
4912
|
function b(t) {
|
|
4913
4913
|
let n = t[0].intersectionRatio;
|
|
@@ -4917,7 +4917,7 @@ function fc(e, t) {
|
|
|
4917
4917
|
o(!1, 1e-7);
|
|
4918
4918
|
}, 1e3);
|
|
4919
4919
|
}
|
|
4920
|
-
n === 1 && !
|
|
4920
|
+
n === 1 && !fc(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
4921
4921
|
}
|
|
4922
4922
|
try {
|
|
4923
4923
|
n = new IntersectionObserver(b, {
|
|
@@ -4931,13 +4931,13 @@ function fc(e, t) {
|
|
|
4931
4931
|
}
|
|
4932
4932
|
return o(!0), a;
|
|
4933
4933
|
}
|
|
4934
|
-
function
|
|
4934
|
+
function mc(e, t, n, r) {
|
|
4935
4935
|
r === void 0 && (r = {});
|
|
4936
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
4936
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Bs(e), u = i || a ? [...l ? Ls(l) : [], ...t ? Ls(t) : []] : [];
|
|
4937
4937
|
u.forEach((e) => {
|
|
4938
4938
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
4939
4939
|
});
|
|
4940
|
-
let d = l && s ?
|
|
4940
|
+
let d = l && s ? pc(l, n) : null, f = -1, p = null;
|
|
4941
4941
|
o && (p = new ResizeObserver((e) => {
|
|
4942
4942
|
let [r] = e;
|
|
4943
4943
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -4945,11 +4945,11 @@ function pc(e, t, n, r) {
|
|
|
4945
4945
|
(e = p) == null || e.observe(t);
|
|
4946
4946
|
})), n();
|
|
4947
4947
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
4948
|
-
let m, h = c ?
|
|
4948
|
+
let m, h = c ? Gs(e) : null;
|
|
4949
4949
|
c && g();
|
|
4950
4950
|
function g() {
|
|
4951
|
-
let t =
|
|
4952
|
-
h && !
|
|
4951
|
+
let t = Gs(e);
|
|
4952
|
+
h && !fc(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
4953
4953
|
}
|
|
4954
4954
|
return n(), () => {
|
|
4955
4955
|
var e;
|
|
@@ -4958,9 +4958,9 @@ function pc(e, t, n, r) {
|
|
|
4958
4958
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
4959
4959
|
};
|
|
4960
4960
|
}
|
|
4961
|
-
var
|
|
4961
|
+
var hc = fs, gc = ps, _c = os, vc = hs, yc = ls, bc = as, xc = ms, Sc = (e, t, n) => {
|
|
4962
4962
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
4963
|
-
platform:
|
|
4963
|
+
platform: dc,
|
|
4964
4964
|
...n
|
|
4965
4965
|
}, a = {
|
|
4966
4966
|
...i.platform,
|
|
@@ -4970,8 +4970,8 @@ var mc = fs, hc = ps, gc = os, _c = hs, vc = ls, yc = as, bc = ms, xc = (e, t, n
|
|
|
4970
4970
|
...i,
|
|
4971
4971
|
platform: a
|
|
4972
4972
|
});
|
|
4973
|
-
},
|
|
4974
|
-
function
|
|
4973
|
+
}, Cc = typeof document < "u" ? B.useLayoutEffect : function() {};
|
|
4974
|
+
function wc(e, t) {
|
|
4975
4975
|
if (e === t) return !0;
|
|
4976
4976
|
if (typeof e != typeof t) return !1;
|
|
4977
4977
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -4979,60 +4979,60 @@ function Cc(e, t) {
|
|
|
4979
4979
|
if (e && t && typeof e == "object") {
|
|
4980
4980
|
if (Array.isArray(e)) {
|
|
4981
4981
|
if (n = e.length, n !== t.length) return !1;
|
|
4982
|
-
for (r = n; r-- !== 0;) if (!
|
|
4982
|
+
for (r = n; r-- !== 0;) if (!wc(e[r], t[r])) return !1;
|
|
4983
4983
|
return !0;
|
|
4984
4984
|
}
|
|
4985
4985
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
4986
4986
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
4987
4987
|
for (r = n; r-- !== 0;) {
|
|
4988
4988
|
let n = i[r];
|
|
4989
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
4989
|
+
if (!(n === "_owner" && e.$$typeof) && !wc(e[n], t[n])) return !1;
|
|
4990
4990
|
}
|
|
4991
4991
|
return !0;
|
|
4992
4992
|
}
|
|
4993
4993
|
return e !== e && t !== t;
|
|
4994
4994
|
}
|
|
4995
|
-
function
|
|
4995
|
+
function Tc(e) {
|
|
4996
4996
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
4997
4997
|
}
|
|
4998
|
-
function
|
|
4999
|
-
let n =
|
|
4998
|
+
function Ec(e, t) {
|
|
4999
|
+
let n = Tc(e);
|
|
5000
5000
|
return Math.round(t * n) / n;
|
|
5001
5001
|
}
|
|
5002
|
-
function
|
|
5003
|
-
let t =
|
|
5004
|
-
return
|
|
5002
|
+
function Dc(e) {
|
|
5003
|
+
let t = B.useRef(e);
|
|
5004
|
+
return Cc(() => {
|
|
5005
5005
|
t.current = e;
|
|
5006
5006
|
}), t;
|
|
5007
5007
|
}
|
|
5008
|
-
function
|
|
5008
|
+
function Oc(e) {
|
|
5009
5009
|
e === void 0 && (e = {});
|
|
5010
|
-
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] =
|
|
5010
|
+
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] = B.useState({
|
|
5011
5011
|
x: 0,
|
|
5012
5012
|
y: 0,
|
|
5013
5013
|
strategy: n,
|
|
5014
5014
|
placement: t,
|
|
5015
5015
|
middlewareData: {},
|
|
5016
5016
|
isPositioned: !1
|
|
5017
|
-
}), [f, p] =
|
|
5018
|
-
|
|
5019
|
-
let [m, h] =
|
|
5017
|
+
}), [f, p] = B.useState(r);
|
|
5018
|
+
wc(f, r) || p(r);
|
|
5019
|
+
let [m, h] = B.useState(null), [g, _] = B.useState(null), v = B.useCallback((e) => {
|
|
5020
5020
|
e !== S.current && (S.current = e, h(e));
|
|
5021
|
-
}, []), y =
|
|
5021
|
+
}, []), y = B.useCallback((e) => {
|
|
5022
5022
|
e !== C.current && (C.current = e, _(e));
|
|
5023
|
-
}, []), b = a || m, x = o || g, S =
|
|
5023
|
+
}, []), b = a || m, x = o || g, S = B.useRef(null), C = B.useRef(null), w = B.useRef(u), T = c != null, E = Dc(c), D = Dc(i), O = Dc(l), k = B.useCallback(() => {
|
|
5024
5024
|
if (!S.current || !C.current) return;
|
|
5025
5025
|
let e = {
|
|
5026
5026
|
placement: t,
|
|
5027
5027
|
strategy: n,
|
|
5028
5028
|
middleware: f
|
|
5029
5029
|
};
|
|
5030
|
-
D.current && (e.platform = D.current),
|
|
5030
|
+
D.current && (e.platform = D.current), Sc(S.current, C.current, e).then((e) => {
|
|
5031
5031
|
let t = {
|
|
5032
5032
|
...e,
|
|
5033
5033
|
isPositioned: O.current !== !1
|
|
5034
5034
|
};
|
|
5035
|
-
A.current && !
|
|
5035
|
+
A.current && !wc(w.current, t) && (w.current = t, at.flushSync(() => {
|
|
5036
5036
|
d(t);
|
|
5037
5037
|
}));
|
|
5038
5038
|
});
|
|
@@ -5043,16 +5043,16 @@ function Dc(e) {
|
|
|
5043
5043
|
D,
|
|
5044
5044
|
O
|
|
5045
5045
|
]);
|
|
5046
|
-
|
|
5046
|
+
Cc(() => {
|
|
5047
5047
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
5048
5048
|
...e,
|
|
5049
5049
|
isPositioned: !1
|
|
5050
5050
|
})));
|
|
5051
5051
|
}, [l]);
|
|
5052
|
-
let A =
|
|
5053
|
-
|
|
5052
|
+
let A = B.useRef(!1);
|
|
5053
|
+
Cc(() => (A.current = !0, () => {
|
|
5054
5054
|
A.current = !1;
|
|
5055
|
-
}), []),
|
|
5055
|
+
}), []), Cc(() => {
|
|
5056
5056
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
5057
5057
|
if (E.current) return E.current(b, x, k);
|
|
5058
5058
|
k();
|
|
@@ -5064,26 +5064,26 @@ function Dc(e) {
|
|
|
5064
5064
|
E,
|
|
5065
5065
|
T
|
|
5066
5066
|
]);
|
|
5067
|
-
let j =
|
|
5067
|
+
let j = B.useMemo(() => ({
|
|
5068
5068
|
reference: S,
|
|
5069
5069
|
floating: C,
|
|
5070
5070
|
setReference: v,
|
|
5071
5071
|
setFloating: y
|
|
5072
|
-
}), [v, y]), M =
|
|
5072
|
+
}), [v, y]), M = B.useMemo(() => ({
|
|
5073
5073
|
reference: b,
|
|
5074
5074
|
floating: x
|
|
5075
|
-
}), [b, x]), N =
|
|
5075
|
+
}), [b, x]), N = B.useMemo(() => {
|
|
5076
5076
|
let e = {
|
|
5077
5077
|
position: n,
|
|
5078
5078
|
left: 0,
|
|
5079
5079
|
top: 0
|
|
5080
5080
|
};
|
|
5081
5081
|
if (!M.floating) return e;
|
|
5082
|
-
let t =
|
|
5082
|
+
let t = Ec(M.floating, u.x), r = Ec(M.floating, u.y);
|
|
5083
5083
|
return s ? {
|
|
5084
5084
|
...e,
|
|
5085
5085
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
5086
|
-
...
|
|
5086
|
+
...Tc(M.floating) >= 1.5 && { willChange: "transform" }
|
|
5087
5087
|
} : {
|
|
5088
5088
|
position: n,
|
|
5089
5089
|
left: t,
|
|
@@ -5096,7 +5096,7 @@ function Dc(e) {
|
|
|
5096
5096
|
u.x,
|
|
5097
5097
|
u.y
|
|
5098
5098
|
]);
|
|
5099
|
-
return
|
|
5099
|
+
return B.useMemo(() => ({
|
|
5100
5100
|
...u,
|
|
5101
5101
|
update: k,
|
|
5102
5102
|
refs: j,
|
|
@@ -5110,7 +5110,7 @@ function Dc(e) {
|
|
|
5110
5110
|
N
|
|
5111
5111
|
]);
|
|
5112
5112
|
}
|
|
5113
|
-
var
|
|
5113
|
+
var kc = (e) => {
|
|
5114
5114
|
function t(e) {
|
|
5115
5115
|
return {}.hasOwnProperty.call(e, "current");
|
|
5116
5116
|
}
|
|
@@ -5119,22 +5119,15 @@ var Oc = (e) => {
|
|
|
5119
5119
|
options: e,
|
|
5120
5120
|
fn(n) {
|
|
5121
5121
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
5122
|
-
return r && t(r) ? r.current == null ? {} :
|
|
5122
|
+
return r && t(r) ? r.current == null ? {} : bc({
|
|
5123
5123
|
element: r.current,
|
|
5124
5124
|
padding: i
|
|
5125
|
-
}).fn(n) : r ?
|
|
5125
|
+
}).fn(n) : r ? bc({
|
|
5126
5126
|
element: r,
|
|
5127
5127
|
padding: i
|
|
5128
5128
|
}).fn(n) : {};
|
|
5129
5129
|
}
|
|
5130
5130
|
};
|
|
5131
|
-
}, kc = (e, t) => {
|
|
5132
|
-
let n = mc(e);
|
|
5133
|
-
return {
|
|
5134
|
-
name: n.name,
|
|
5135
|
-
fn: n.fn,
|
|
5136
|
-
options: [e, t]
|
|
5137
|
-
};
|
|
5138
5131
|
}, Ac = (e, t) => {
|
|
5139
5132
|
let n = hc(e);
|
|
5140
5133
|
return {
|
|
@@ -5142,17 +5135,17 @@ var Oc = (e) => {
|
|
|
5142
5135
|
fn: n.fn,
|
|
5143
5136
|
options: [e, t]
|
|
5144
5137
|
};
|
|
5145
|
-
}, jc = (e, t) =>
|
|
5146
|
-
fn: bc(e).fn,
|
|
5147
|
-
options: [e, t]
|
|
5148
|
-
}), Mc = (e, t) => {
|
|
5138
|
+
}, jc = (e, t) => {
|
|
5149
5139
|
let n = gc(e);
|
|
5150
5140
|
return {
|
|
5151
5141
|
name: n.name,
|
|
5152
5142
|
fn: n.fn,
|
|
5153
5143
|
options: [e, t]
|
|
5154
5144
|
};
|
|
5155
|
-
},
|
|
5145
|
+
}, Mc = (e, t) => ({
|
|
5146
|
+
fn: xc(e).fn,
|
|
5147
|
+
options: [e, t]
|
|
5148
|
+
}), Nc = (e, t) => {
|
|
5156
5149
|
let n = _c(e);
|
|
5157
5150
|
return {
|
|
5158
5151
|
name: n.name,
|
|
@@ -5167,30 +5160,37 @@ var Oc = (e) => {
|
|
|
5167
5160
|
options: [e, t]
|
|
5168
5161
|
};
|
|
5169
5162
|
}, Fc = (e, t) => {
|
|
5170
|
-
let n =
|
|
5163
|
+
let n = yc(e);
|
|
5171
5164
|
return {
|
|
5172
5165
|
name: n.name,
|
|
5173
5166
|
fn: n.fn,
|
|
5174
5167
|
options: [e, t]
|
|
5175
5168
|
};
|
|
5176
|
-
}, Ic =
|
|
5169
|
+
}, Ic = (e, t) => {
|
|
5170
|
+
let n = kc(e);
|
|
5171
|
+
return {
|
|
5172
|
+
name: n.name,
|
|
5173
|
+
fn: n.fn,
|
|
5174
|
+
options: [e, t]
|
|
5175
|
+
};
|
|
5176
|
+
}, Lc = "Arrow", Rc = B.forwardRef((e, t) => {
|
|
5177
5177
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
5178
|
-
return /* @__PURE__ */ (0,
|
|
5178
|
+
return /* @__PURE__ */ (0, V.jsx)(Va.svg, {
|
|
5179
5179
|
...a,
|
|
5180
5180
|
ref: t,
|
|
5181
5181
|
width: r,
|
|
5182
5182
|
height: i,
|
|
5183
5183
|
viewBox: "0 0 30 10",
|
|
5184
5184
|
preserveAspectRatio: "none",
|
|
5185
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
5185
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, V.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
5186
5186
|
});
|
|
5187
5187
|
});
|
|
5188
|
-
|
|
5189
|
-
var
|
|
5188
|
+
Rc.displayName = Lc;
|
|
5189
|
+
var zc = Rc;
|
|
5190
5190
|
//#endregion
|
|
5191
5191
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
5192
|
-
function
|
|
5193
|
-
let [t, n] =
|
|
5192
|
+
function Bc(e) {
|
|
5193
|
+
let [t, n] = B.useState(void 0);
|
|
5194
5194
|
return wo(() => {
|
|
5195
5195
|
if (e) {
|
|
5196
5196
|
n({
|
|
@@ -5215,29 +5215,29 @@ function zc(e) {
|
|
|
5215
5215
|
}
|
|
5216
5216
|
//#endregion
|
|
5217
5217
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
5218
|
-
var
|
|
5219
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
5220
|
-
return /* @__PURE__ */ (0,
|
|
5218
|
+
var Vc = "Popper", [Hc, Uc] = Na(Vc), [Wc, Gc] = Hc(Vc), Kc = (e) => {
|
|
5219
|
+
let { __scopePopper: t, children: n } = e, [r, i] = B.useState(null);
|
|
5220
|
+
return /* @__PURE__ */ (0, V.jsx)(Wc, {
|
|
5221
5221
|
scope: t,
|
|
5222
5222
|
anchor: r,
|
|
5223
5223
|
onAnchorChange: i,
|
|
5224
5224
|
children: n
|
|
5225
5225
|
});
|
|
5226
5226
|
};
|
|
5227
|
-
|
|
5228
|
-
var
|
|
5229
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
5230
|
-
return
|
|
5227
|
+
Kc.displayName = Vc;
|
|
5228
|
+
var qc = "PopperAnchor", Jc = B.forwardRef((e, t) => {
|
|
5229
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Gc(qc, n), o = B.useRef(null), s = Ma(t, o), c = B.useRef(null);
|
|
5230
|
+
return B.useEffect(() => {
|
|
5231
5231
|
let e = c.current;
|
|
5232
5232
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
5233
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
5233
|
+
}), r ? null : /* @__PURE__ */ (0, V.jsx)(Va.div, {
|
|
5234
5234
|
...i,
|
|
5235
5235
|
ref: s
|
|
5236
5236
|
});
|
|
5237
5237
|
});
|
|
5238
|
-
|
|
5239
|
-
var
|
|
5240
|
-
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 =
|
|
5238
|
+
Jc.displayName = qc;
|
|
5239
|
+
var Yc = "PopperContent", [Xc, Zc] = Hc(Yc), Qc = B.forwardRef((e, t) => {
|
|
5240
|
+
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 = Gc(Yc, n), [_, v] = B.useState(null), y = Ma(t, (e) => v(e)), [b, x] = B.useState(null), S = Bc(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), E = typeof u == "number" ? u : {
|
|
5241
5241
|
top: 0,
|
|
5242
5242
|
right: 0,
|
|
5243
5243
|
bottom: 0,
|
|
@@ -5245,53 +5245,53 @@ var Jc = "PopperContent", [Yc, Xc] = Vc(Jc), Zc = z.forwardRef((e, t) => {
|
|
|
5245
5245
|
...u
|
|
5246
5246
|
}, D = Array.isArray(l) ? l : [l], O = D.length > 0, k = {
|
|
5247
5247
|
padding: E,
|
|
5248
|
-
boundary: D.filter(
|
|
5248
|
+
boundary: D.filter(nl),
|
|
5249
5249
|
altBoundary: O
|
|
5250
|
-
}, { refs: A, floatingStyles: j, placement: M, isPositioned: N, middlewareData: P } =
|
|
5250
|
+
}, { refs: A, floatingStyles: j, placement: M, isPositioned: N, middlewareData: P } = Oc({
|
|
5251
5251
|
strategy: "fixed",
|
|
5252
5252
|
placement: T,
|
|
5253
|
-
whileElementsMounted: (...e) =>
|
|
5253
|
+
whileElementsMounted: (...e) => mc(...e, { animationFrame: p === "always" }),
|
|
5254
5254
|
elements: { reference: g.anchor },
|
|
5255
5255
|
middleware: [
|
|
5256
|
-
|
|
5256
|
+
Ac({
|
|
5257
5257
|
mainAxis: i + w,
|
|
5258
5258
|
alignmentAxis: o
|
|
5259
5259
|
}),
|
|
5260
|
-
c &&
|
|
5260
|
+
c && jc({
|
|
5261
5261
|
mainAxis: !0,
|
|
5262
5262
|
crossAxis: !1,
|
|
5263
|
-
limiter: d === "partial" ?
|
|
5263
|
+
limiter: d === "partial" ? Mc() : void 0,
|
|
5264
5264
|
...k
|
|
5265
5265
|
}),
|
|
5266
|
-
c &&
|
|
5267
|
-
|
|
5266
|
+
c && Nc({ ...k }),
|
|
5267
|
+
Pc({
|
|
5268
5268
|
...k,
|
|
5269
5269
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
5270
5270
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
5271
5271
|
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`);
|
|
5272
5272
|
}
|
|
5273
5273
|
}),
|
|
5274
|
-
b &&
|
|
5274
|
+
b && Ic({
|
|
5275
5275
|
element: b,
|
|
5276
5276
|
padding: s
|
|
5277
5277
|
}),
|
|
5278
|
-
|
|
5278
|
+
rl({
|
|
5279
5279
|
arrowWidth: C,
|
|
5280
5280
|
arrowHeight: w
|
|
5281
5281
|
}),
|
|
5282
|
-
f &&
|
|
5282
|
+
f && Fc({
|
|
5283
5283
|
strategy: "referenceHidden",
|
|
5284
5284
|
...k
|
|
5285
5285
|
})
|
|
5286
5286
|
]
|
|
5287
|
-
}), [F, ee] =
|
|
5287
|
+
}), [F, ee] = il(M), I = Ua(m);
|
|
5288
5288
|
wo(() => {
|
|
5289
5289
|
N && I?.();
|
|
5290
5290
|
}, [N, I]);
|
|
5291
|
-
let te = P.arrow?.x, L = P.arrow?.y, ne = P.arrow?.centerOffset !== 0, [re, ie] =
|
|
5291
|
+
let te = P.arrow?.x, L = P.arrow?.y, ne = P.arrow?.centerOffset !== 0, [re, ie] = B.useState();
|
|
5292
5292
|
return wo(() => {
|
|
5293
5293
|
_ && ie(window.getComputedStyle(_).zIndex);
|
|
5294
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
5294
|
+
}, [_]), /* @__PURE__ */ (0, V.jsx)("div", {
|
|
5295
5295
|
ref: A.setFloating,
|
|
5296
5296
|
"data-radix-popper-content-wrapper": "",
|
|
5297
5297
|
style: {
|
|
@@ -5306,14 +5306,14 @@ var Jc = "PopperContent", [Yc, Xc] = Vc(Jc), Zc = z.forwardRef((e, t) => {
|
|
|
5306
5306
|
}
|
|
5307
5307
|
},
|
|
5308
5308
|
dir: e.dir,
|
|
5309
|
-
children: /* @__PURE__ */ (0,
|
|
5309
|
+
children: /* @__PURE__ */ (0, V.jsx)(Xc, {
|
|
5310
5310
|
scope: n,
|
|
5311
5311
|
placedSide: F,
|
|
5312
5312
|
onArrowChange: x,
|
|
5313
5313
|
arrowX: te,
|
|
5314
5314
|
arrowY: L,
|
|
5315
5315
|
shouldHideArrow: ne,
|
|
5316
|
-
children: /* @__PURE__ */ (0,
|
|
5316
|
+
children: /* @__PURE__ */ (0, V.jsx)(Va.div, {
|
|
5317
5317
|
"data-side": F,
|
|
5318
5318
|
"data-align": ee,
|
|
5319
5319
|
...h,
|
|
@@ -5326,15 +5326,15 @@ var Jc = "PopperContent", [Yc, Xc] = Vc(Jc), Zc = z.forwardRef((e, t) => {
|
|
|
5326
5326
|
})
|
|
5327
5327
|
});
|
|
5328
5328
|
});
|
|
5329
|
-
|
|
5330
|
-
var
|
|
5329
|
+
Qc.displayName = Yc;
|
|
5330
|
+
var $c = "PopperArrow", el = {
|
|
5331
5331
|
top: "bottom",
|
|
5332
5332
|
right: "left",
|
|
5333
5333
|
bottom: "top",
|
|
5334
5334
|
left: "right"
|
|
5335
|
-
},
|
|
5336
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
5337
|
-
return /* @__PURE__ */ (0,
|
|
5335
|
+
}, tl = B.forwardRef(function(e, t) {
|
|
5336
|
+
let { __scopePopper: n, ...r } = e, i = Zc($c, n), a = el[i.placedSide];
|
|
5337
|
+
return /* @__PURE__ */ (0, V.jsx)("span", {
|
|
5338
5338
|
ref: i.onArrowChange,
|
|
5339
5339
|
style: {
|
|
5340
5340
|
position: "absolute",
|
|
@@ -5355,7 +5355,7 @@ var Qc = "PopperArrow", $c = {
|
|
|
5355
5355
|
}[i.placedSide],
|
|
5356
5356
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
5357
5357
|
},
|
|
5358
|
-
children: /* @__PURE__ */ (0,
|
|
5358
|
+
children: /* @__PURE__ */ (0, V.jsx)(zc, {
|
|
5359
5359
|
...r,
|
|
5360
5360
|
ref: t,
|
|
5361
5361
|
style: {
|
|
@@ -5365,15 +5365,15 @@ var Qc = "PopperArrow", $c = {
|
|
|
5365
5365
|
})
|
|
5366
5366
|
});
|
|
5367
5367
|
});
|
|
5368
|
-
|
|
5369
|
-
function
|
|
5368
|
+
tl.displayName = $c;
|
|
5369
|
+
function nl(e) {
|
|
5370
5370
|
return e !== null;
|
|
5371
5371
|
}
|
|
5372
|
-
var
|
|
5372
|
+
var rl = (e) => ({
|
|
5373
5373
|
name: "transformOrigin",
|
|
5374
5374
|
options: e,
|
|
5375
5375
|
fn(t) {
|
|
5376
|
-
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] =
|
|
5376
|
+
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] = il(n), u = {
|
|
5377
5377
|
start: "0%",
|
|
5378
5378
|
center: "50%",
|
|
5379
5379
|
end: "100%"
|
|
@@ -5384,32 +5384,32 @@ var nl = (e) => ({
|
|
|
5384
5384
|
} };
|
|
5385
5385
|
}
|
|
5386
5386
|
});
|
|
5387
|
-
function
|
|
5387
|
+
function il(e) {
|
|
5388
5388
|
let [t, n = "center"] = e.split("-");
|
|
5389
5389
|
return [t, n];
|
|
5390
5390
|
}
|
|
5391
|
-
var
|
|
5392
|
-
let { container: n, ...r } = e, [i, a] =
|
|
5391
|
+
var al = Kc, ol = Jc, sl = Qc, cl = tl, ll = "Portal", ul = B.forwardRef((e, t) => {
|
|
5392
|
+
let { container: n, ...r } = e, [i, a] = B.useState(!1);
|
|
5393
5393
|
wo(() => a(!0), []);
|
|
5394
5394
|
let o = n || i && globalThis?.document?.body;
|
|
5395
|
-
return o ? at.createPortal(/* @__PURE__ */ (0,
|
|
5395
|
+
return o ? at.createPortal(/* @__PURE__ */ (0, V.jsx)(Va.div, {
|
|
5396
5396
|
...r,
|
|
5397
5397
|
ref: t
|
|
5398
5398
|
}), o) : null;
|
|
5399
5399
|
});
|
|
5400
|
-
|
|
5400
|
+
ul.displayName = ll;
|
|
5401
5401
|
//#endregion
|
|
5402
5402
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
5403
|
-
function
|
|
5404
|
-
return
|
|
5403
|
+
function dl(e, t) {
|
|
5404
|
+
return B.useReducer((e, n) => t[e][n] ?? e, e);
|
|
5405
5405
|
}
|
|
5406
|
-
var
|
|
5407
|
-
let { present: t, children: n } = e, r =
|
|
5408
|
-
return typeof n == "function" || r.isPresent ?
|
|
5406
|
+
var fl = (e) => {
|
|
5407
|
+
let { present: t, children: n } = e, r = pl(t), i = typeof n == "function" ? n({ present: r.isPresent }) : B.Children.only(n), a = Ma(r.ref, hl(i));
|
|
5408
|
+
return typeof n == "function" || r.isPresent ? B.cloneElement(i, { ref: a }) : null;
|
|
5409
5409
|
};
|
|
5410
|
-
|
|
5411
|
-
function
|
|
5412
|
-
let [t, n] =
|
|
5410
|
+
fl.displayName = "Presence";
|
|
5411
|
+
function pl(e) {
|
|
5412
|
+
let [t, n] = B.useState(), r = B.useRef(null), i = B.useRef(e), a = B.useRef("none"), [o, s] = dl(e ? "mounted" : "unmounted", {
|
|
5413
5413
|
mounted: {
|
|
5414
5414
|
UNMOUNT: "unmounted",
|
|
5415
5415
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -5420,19 +5420,19 @@ function fl(e) {
|
|
|
5420
5420
|
},
|
|
5421
5421
|
unmounted: { MOUNT: "mounted" }
|
|
5422
5422
|
});
|
|
5423
|
-
return
|
|
5424
|
-
let e =
|
|
5423
|
+
return B.useEffect(() => {
|
|
5424
|
+
let e = ml(r.current);
|
|
5425
5425
|
a.current = o === "mounted" ? e : "none";
|
|
5426
5426
|
}, [o]), wo(() => {
|
|
5427
5427
|
let t = r.current, n = i.current;
|
|
5428
5428
|
if (n !== e) {
|
|
5429
|
-
let r = a.current, o =
|
|
5429
|
+
let r = a.current, o = ml(t);
|
|
5430
5430
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
5431
5431
|
}
|
|
5432
5432
|
}, [e, s]), wo(() => {
|
|
5433
5433
|
if (t) {
|
|
5434
5434
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
5435
|
-
let o =
|
|
5435
|
+
let o = ml(r.current).includes(CSS.escape(a.animationName));
|
|
5436
5436
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
5437
5437
|
let r = t.style.animationFillMode;
|
|
5438
5438
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -5440,7 +5440,7 @@ function fl(e) {
|
|
|
5440
5440
|
});
|
|
5441
5441
|
}
|
|
5442
5442
|
}, c = (e) => {
|
|
5443
|
-
e.target === t && (a.current =
|
|
5443
|
+
e.target === t && (a.current = ml(r.current));
|
|
5444
5444
|
};
|
|
5445
5445
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
5446
5446
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -5448,36 +5448,36 @@ function fl(e) {
|
|
|
5448
5448
|
} else s("ANIMATION_END");
|
|
5449
5449
|
}, [t, s]), {
|
|
5450
5450
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
5451
|
-
ref:
|
|
5451
|
+
ref: B.useCallback((e) => {
|
|
5452
5452
|
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
5453
5453
|
}, [])
|
|
5454
5454
|
};
|
|
5455
5455
|
}
|
|
5456
|
-
function
|
|
5456
|
+
function ml(e) {
|
|
5457
5457
|
return e?.animationName || "none";
|
|
5458
5458
|
}
|
|
5459
|
-
function
|
|
5459
|
+
function hl(e) {
|
|
5460
5460
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
5461
5461
|
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);
|
|
5462
5462
|
}
|
|
5463
5463
|
//#endregion
|
|
5464
5464
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
5465
|
-
var
|
|
5466
|
-
function
|
|
5467
|
-
let [i, a, o] =
|
|
5465
|
+
var gl = B.useInsertionEffect || wo;
|
|
5466
|
+
function _l({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
5467
|
+
let [i, a, o] = vl({
|
|
5468
5468
|
defaultProp: t,
|
|
5469
5469
|
onChange: n
|
|
5470
5470
|
}), s = e !== void 0, c = s ? e : i;
|
|
5471
5471
|
{
|
|
5472
|
-
let t =
|
|
5473
|
-
|
|
5472
|
+
let t = B.useRef(e !== void 0);
|
|
5473
|
+
B.useEffect(() => {
|
|
5474
5474
|
let e = t.current;
|
|
5475
5475
|
e !== s && console.warn(`${r} is changing from ${e ? "controlled" : "uncontrolled"} to ${s ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`), t.current = s;
|
|
5476
5476
|
}, [s, r]);
|
|
5477
5477
|
}
|
|
5478
|
-
return [c,
|
|
5478
|
+
return [c, B.useCallback((t) => {
|
|
5479
5479
|
if (s) {
|
|
5480
|
-
let n =
|
|
5480
|
+
let n = yl(t) ? t(e) : t;
|
|
5481
5481
|
n !== e && o.current?.(n);
|
|
5482
5482
|
} else a(t);
|
|
5483
5483
|
}, [
|
|
@@ -5487,11 +5487,11 @@ function gl({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
5487
5487
|
o
|
|
5488
5488
|
])];
|
|
5489
5489
|
}
|
|
5490
|
-
function
|
|
5491
|
-
let [n, r] =
|
|
5492
|
-
return
|
|
5490
|
+
function vl({ defaultProp: e, onChange: t }) {
|
|
5491
|
+
let [n, r] = B.useState(e), i = B.useRef(n), a = B.useRef(t);
|
|
5492
|
+
return gl(() => {
|
|
5493
5493
|
a.current = t;
|
|
5494
|
-
}, [t]),
|
|
5494
|
+
}, [t]), B.useEffect(() => {
|
|
5495
5495
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
5496
5496
|
}, [n, i]), [
|
|
5497
5497
|
n,
|
|
@@ -5499,27 +5499,27 @@ function _l({ defaultProp: e, onChange: t }) {
|
|
|
5499
5499
|
a
|
|
5500
5500
|
];
|
|
5501
5501
|
}
|
|
5502
|
-
function
|
|
5502
|
+
function yl(e) {
|
|
5503
5503
|
return typeof e == "function";
|
|
5504
5504
|
}
|
|
5505
5505
|
//#endregion
|
|
5506
5506
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
5507
|
-
var
|
|
5507
|
+
var bl = function(e) {
|
|
5508
5508
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
5509
|
-
},
|
|
5510
|
-
return e && (e.host ||
|
|
5511
|
-
},
|
|
5509
|
+
}, xl = /* @__PURE__ */ new WeakMap(), Sl = /* @__PURE__ */ new WeakMap(), Cl = {}, wl = 0, Tl = function(e) {
|
|
5510
|
+
return e && (e.host || Tl(e.parentNode));
|
|
5511
|
+
}, El = function(e, t) {
|
|
5512
5512
|
return t.map(function(t) {
|
|
5513
5513
|
if (e.contains(t)) return t;
|
|
5514
|
-
var n =
|
|
5514
|
+
var n = Tl(t);
|
|
5515
5515
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
5516
5516
|
}).filter(function(e) {
|
|
5517
5517
|
return !!e;
|
|
5518
5518
|
});
|
|
5519
|
-
},
|
|
5520
|
-
var i =
|
|
5521
|
-
|
|
5522
|
-
var a =
|
|
5519
|
+
}, Dl = function(e, t, n, r) {
|
|
5520
|
+
var i = El(t, Array.isArray(e) ? e : [e]);
|
|
5521
|
+
Cl[n] || (Cl[n] = /* @__PURE__ */ new WeakMap());
|
|
5522
|
+
var a = Cl[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
5523
5523
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
5524
5524
|
};
|
|
5525
5525
|
i.forEach(l);
|
|
@@ -5527,38 +5527,38 @@ var yl = function(e) {
|
|
|
5527
5527
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
5528
5528
|
if (s.has(e)) u(e);
|
|
5529
5529
|
else try {
|
|
5530
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
5531
|
-
|
|
5530
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (xl.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
5531
|
+
xl.set(e, c), a.set(e, l), o.push(e), c === 1 && i && Sl.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
5532
5532
|
} catch (t) {
|
|
5533
5533
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
5534
5534
|
}
|
|
5535
5535
|
});
|
|
5536
5536
|
};
|
|
5537
|
-
return u(t), s.clear(),
|
|
5537
|
+
return u(t), s.clear(), wl++, function() {
|
|
5538
5538
|
o.forEach(function(e) {
|
|
5539
|
-
var t =
|
|
5540
|
-
|
|
5541
|
-
}),
|
|
5539
|
+
var t = xl.get(e) - 1, i = a.get(e) - 1;
|
|
5540
|
+
xl.set(e, t), a.set(e, i), t || (Sl.has(e) || e.removeAttribute(r), Sl.delete(e)), i || e.removeAttribute(n);
|
|
5541
|
+
}), wl--, wl || (xl = /* @__PURE__ */ new WeakMap(), xl = /* @__PURE__ */ new WeakMap(), Sl = /* @__PURE__ */ new WeakMap(), Cl = {});
|
|
5542
5542
|
};
|
|
5543
|
-
},
|
|
5543
|
+
}, Ol = function(e, t, n) {
|
|
5544
5544
|
n === void 0 && (n = "data-aria-hidden");
|
|
5545
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
5546
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
5545
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || bl(e);
|
|
5546
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), Dl(r, i, n, "aria-hidden")) : function() {
|
|
5547
5547
|
return null;
|
|
5548
5548
|
};
|
|
5549
|
-
},
|
|
5550
|
-
return
|
|
5549
|
+
}, kl = function() {
|
|
5550
|
+
return kl = Object.assign || function(e) {
|
|
5551
5551
|
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]);
|
|
5552
5552
|
return e;
|
|
5553
|
-
},
|
|
5553
|
+
}, kl.apply(this, arguments);
|
|
5554
5554
|
};
|
|
5555
|
-
function
|
|
5555
|
+
function Al(e, t) {
|
|
5556
5556
|
var n = {};
|
|
5557
5557
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
5558
5558
|
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]]);
|
|
5559
5559
|
return n;
|
|
5560
5560
|
}
|
|
5561
|
-
function
|
|
5561
|
+
function jl(e, t, n, r) {
|
|
5562
5562
|
function i(e) {
|
|
5563
5563
|
return e instanceof n ? e : new n(function(t) {
|
|
5564
5564
|
t(e);
|
|
@@ -5585,7 +5585,7 @@ function Al(e, t, n, r) {
|
|
|
5585
5585
|
c((r = r.apply(e, t || [])).next());
|
|
5586
5586
|
});
|
|
5587
5587
|
}
|
|
5588
|
-
function
|
|
5588
|
+
function Ml(e, t) {
|
|
5589
5589
|
var n = {
|
|
5590
5590
|
label: 0,
|
|
5591
5591
|
sent: function() {
|
|
@@ -5655,7 +5655,7 @@ function jl(e, t) {
|
|
|
5655
5655
|
};
|
|
5656
5656
|
}
|
|
5657
5657
|
}
|
|
5658
|
-
function
|
|
5658
|
+
function Nl(e, t) {
|
|
5659
5659
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
5660
5660
|
if (!n) return e;
|
|
5661
5661
|
var r = n.call(e), i, a = [], o;
|
|
@@ -5672,26 +5672,26 @@ function Ml(e, t) {
|
|
|
5672
5672
|
}
|
|
5673
5673
|
return a;
|
|
5674
5674
|
}
|
|
5675
|
-
function
|
|
5676
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
5675
|
+
function Pl() {
|
|
5676
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Nl(arguments[t]));
|
|
5677
5677
|
return e;
|
|
5678
5678
|
}
|
|
5679
|
-
function
|
|
5679
|
+
function Fl(e, t, n) {
|
|
5680
5680
|
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]);
|
|
5681
5681
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
5682
5682
|
}
|
|
5683
5683
|
//#endregion
|
|
5684
5684
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
5685
|
-
var
|
|
5685
|
+
var Il = "right-scroll-bar-position", Ll = "width-before-scroll-bar", Rl = "with-scroll-bars-hidden", zl = "--removed-body-scroll-bar-size";
|
|
5686
5686
|
//#endregion
|
|
5687
5687
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
5688
|
-
function
|
|
5688
|
+
function Bl(e, t) {
|
|
5689
5689
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
5690
5690
|
}
|
|
5691
5691
|
//#endregion
|
|
5692
5692
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
5693
|
-
function
|
|
5694
|
-
var n = (0,
|
|
5693
|
+
function Vl(e, t) {
|
|
5694
|
+
var n = (0, B.useState)(function() {
|
|
5695
5695
|
return {
|
|
5696
5696
|
value: e,
|
|
5697
5697
|
callback: t,
|
|
@@ -5710,33 +5710,33 @@ function Bl(e, t) {
|
|
|
5710
5710
|
}
|
|
5711
5711
|
//#endregion
|
|
5712
5712
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
5713
|
-
var
|
|
5714
|
-
function
|
|
5715
|
-
var n =
|
|
5713
|
+
var Hl = typeof window < "u" ? B.useLayoutEffect : B.useEffect, Ul = /* @__PURE__ */ new WeakMap();
|
|
5714
|
+
function Wl(e, t) {
|
|
5715
|
+
var n = Vl(t || null, function(t) {
|
|
5716
5716
|
return e.forEach(function(e) {
|
|
5717
|
-
return
|
|
5717
|
+
return Bl(e, t);
|
|
5718
5718
|
});
|
|
5719
5719
|
});
|
|
5720
|
-
return
|
|
5721
|
-
var t =
|
|
5720
|
+
return Hl(function() {
|
|
5721
|
+
var t = Ul.get(n);
|
|
5722
5722
|
if (t) {
|
|
5723
5723
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
5724
5724
|
r.forEach(function(e) {
|
|
5725
|
-
i.has(e) ||
|
|
5725
|
+
i.has(e) || Bl(e, null);
|
|
5726
5726
|
}), i.forEach(function(e) {
|
|
5727
|
-
r.has(e) ||
|
|
5727
|
+
r.has(e) || Bl(e, a);
|
|
5728
5728
|
});
|
|
5729
5729
|
}
|
|
5730
|
-
|
|
5730
|
+
Ul.set(n, e);
|
|
5731
5731
|
}, [e]), n;
|
|
5732
5732
|
}
|
|
5733
5733
|
//#endregion
|
|
5734
5734
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
5735
|
-
function
|
|
5735
|
+
function Gl(e) {
|
|
5736
5736
|
return e;
|
|
5737
5737
|
}
|
|
5738
|
-
function
|
|
5739
|
-
t === void 0 && (t =
|
|
5738
|
+
function Kl(e, t) {
|
|
5739
|
+
t === void 0 && (t = Gl);
|
|
5740
5740
|
var n = [], r = !1;
|
|
5741
5741
|
return {
|
|
5742
5742
|
read: function() {
|
|
@@ -5789,35 +5789,35 @@ function Gl(e, t) {
|
|
|
5789
5789
|
}
|
|
5790
5790
|
};
|
|
5791
5791
|
}
|
|
5792
|
-
function
|
|
5792
|
+
function ql(e) {
|
|
5793
5793
|
e === void 0 && (e = {});
|
|
5794
|
-
var t =
|
|
5795
|
-
return t.options =
|
|
5794
|
+
var t = Kl(null);
|
|
5795
|
+
return t.options = kl({
|
|
5796
5796
|
async: !0,
|
|
5797
5797
|
ssr: !1
|
|
5798
5798
|
}, e), t;
|
|
5799
5799
|
}
|
|
5800
5800
|
//#endregion
|
|
5801
5801
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
5802
|
-
var
|
|
5803
|
-
var t = e.sideCar, n =
|
|
5802
|
+
var Jl = function(e) {
|
|
5803
|
+
var t = e.sideCar, n = Al(e, ["sideCar"]);
|
|
5804
5804
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
5805
5805
|
var r = t.read();
|
|
5806
5806
|
if (!r) throw Error("Sidecar medium not found");
|
|
5807
|
-
return
|
|
5807
|
+
return B.createElement(r, kl({}, n));
|
|
5808
5808
|
};
|
|
5809
|
-
|
|
5810
|
-
function
|
|
5811
|
-
return e.useMedium(t),
|
|
5809
|
+
Jl.isSideCarExport = !0;
|
|
5810
|
+
function Yl(e, t) {
|
|
5811
|
+
return e.useMedium(t), Jl;
|
|
5812
5812
|
}
|
|
5813
5813
|
//#endregion
|
|
5814
5814
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
5815
|
-
var
|
|
5816
|
-
var n =
|
|
5817
|
-
onScrollCapture:
|
|
5818
|
-
onWheelCapture:
|
|
5819
|
-
onTouchMoveCapture:
|
|
5820
|
-
}), 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 =
|
|
5815
|
+
var Xl = ql(), Zl = function() {}, Ql = B.forwardRef(function(e, t) {
|
|
5816
|
+
var n = B.useRef(null), r = B.useState({
|
|
5817
|
+
onScrollCapture: Zl,
|
|
5818
|
+
onWheelCapture: Zl,
|
|
5819
|
+
onTouchMoveCapture: Zl
|
|
5820
|
+
}), 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 = Al(e, [
|
|
5821
5821
|
"forwardProps",
|
|
5822
5822
|
"children",
|
|
5823
5823
|
"className",
|
|
@@ -5831,9 +5831,9 @@ var Yl = Kl(), Xl = function() {}, Zl = z.forwardRef(function(e, t) {
|
|
|
5831
5831
|
"allowPinchZoom",
|
|
5832
5832
|
"as",
|
|
5833
5833
|
"gapMode"
|
|
5834
|
-
]), x = f, S =
|
|
5835
|
-
return
|
|
5836
|
-
sideCar:
|
|
5834
|
+
]), x = f, S = Wl([n, t]), C = kl(kl({}, b), i);
|
|
5835
|
+
return B.createElement(B.Fragment, null, u && B.createElement(x, {
|
|
5836
|
+
sideCar: Xl,
|
|
5837
5837
|
removeScrollBar: l,
|
|
5838
5838
|
shards: d,
|
|
5839
5839
|
noRelative: p,
|
|
@@ -5843,96 +5843,96 @@ var Yl = Kl(), Xl = function() {}, Zl = z.forwardRef(function(e, t) {
|
|
|
5843
5843
|
allowPinchZoom: !!g,
|
|
5844
5844
|
lockRef: n,
|
|
5845
5845
|
gapMode: y
|
|
5846
|
-
}), o ?
|
|
5846
|
+
}), o ? B.cloneElement(B.Children.only(s), kl(kl({}, C), { ref: S })) : B.createElement(v, kl({}, C, {
|
|
5847
5847
|
className: c,
|
|
5848
5848
|
ref: S
|
|
5849
5849
|
}), s));
|
|
5850
5850
|
});
|
|
5851
|
-
|
|
5851
|
+
Ql.defaultProps = {
|
|
5852
5852
|
enabled: !0,
|
|
5853
5853
|
removeScrollBar: !0,
|
|
5854
5854
|
inert: !1
|
|
5855
|
-
},
|
|
5856
|
-
fullWidth:
|
|
5857
|
-
zeroRight:
|
|
5855
|
+
}, Ql.classNames = {
|
|
5856
|
+
fullWidth: Ll,
|
|
5857
|
+
zeroRight: Il
|
|
5858
5858
|
};
|
|
5859
5859
|
//#endregion
|
|
5860
5860
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
5861
|
-
var
|
|
5862
|
-
if (
|
|
5861
|
+
var $l, eu = function() {
|
|
5862
|
+
if ($l) return $l;
|
|
5863
5863
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
5864
5864
|
};
|
|
5865
5865
|
//#endregion
|
|
5866
5866
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
5867
|
-
function
|
|
5867
|
+
function tu() {
|
|
5868
5868
|
if (!document) return null;
|
|
5869
5869
|
var e = document.createElement("style");
|
|
5870
5870
|
e.type = "text/css";
|
|
5871
|
-
var t =
|
|
5871
|
+
var t = eu();
|
|
5872
5872
|
return t && e.setAttribute("nonce", t), e;
|
|
5873
5873
|
}
|
|
5874
|
-
function
|
|
5874
|
+
function nu(e, t) {
|
|
5875
5875
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
5876
5876
|
}
|
|
5877
|
-
function
|
|
5877
|
+
function ru(e) {
|
|
5878
5878
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
5879
5879
|
}
|
|
5880
|
-
var
|
|
5880
|
+
var iu = function() {
|
|
5881
5881
|
var e = 0, t = null;
|
|
5882
5882
|
return {
|
|
5883
5883
|
add: function(n) {
|
|
5884
|
-
e == 0 && (t =
|
|
5884
|
+
e == 0 && (t = tu()) && (nu(t, n), ru(t)), e++;
|
|
5885
5885
|
},
|
|
5886
5886
|
remove: function() {
|
|
5887
5887
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
5888
5888
|
}
|
|
5889
5889
|
};
|
|
5890
|
-
},
|
|
5891
|
-
var e =
|
|
5890
|
+
}, au = function() {
|
|
5891
|
+
var e = iu();
|
|
5892
5892
|
return function(t, n) {
|
|
5893
|
-
|
|
5893
|
+
B.useEffect(function() {
|
|
5894
5894
|
return e.add(t), function() {
|
|
5895
5895
|
e.remove();
|
|
5896
5896
|
};
|
|
5897
5897
|
}, [t && n]);
|
|
5898
5898
|
};
|
|
5899
|
-
},
|
|
5900
|
-
var e =
|
|
5899
|
+
}, ou = function() {
|
|
5900
|
+
var e = au();
|
|
5901
5901
|
return function(t) {
|
|
5902
5902
|
var n = t.styles, r = t.dynamic;
|
|
5903
5903
|
return e(n, r), null;
|
|
5904
5904
|
};
|
|
5905
|
-
},
|
|
5905
|
+
}, su = {
|
|
5906
5906
|
left: 0,
|
|
5907
5907
|
top: 0,
|
|
5908
5908
|
right: 0,
|
|
5909
5909
|
gap: 0
|
|
5910
|
-
}, su = function(e) {
|
|
5911
|
-
return parseInt(e || "", 10) || 0;
|
|
5912
5910
|
}, cu = function(e) {
|
|
5911
|
+
return parseInt(e || "", 10) || 0;
|
|
5912
|
+
}, lu = function(e) {
|
|
5913
5913
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
5914
5914
|
return [
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5915
|
+
cu(n),
|
|
5916
|
+
cu(r),
|
|
5917
|
+
cu(i)
|
|
5918
5918
|
];
|
|
5919
|
-
},
|
|
5920
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
5921
|
-
var t =
|
|
5919
|
+
}, uu = function(e) {
|
|
5920
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return su;
|
|
5921
|
+
var t = lu(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
5922
5922
|
return {
|
|
5923
5923
|
left: t[0],
|
|
5924
5924
|
top: t[1],
|
|
5925
5925
|
right: t[2],
|
|
5926
5926
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
5927
5927
|
};
|
|
5928
|
-
},
|
|
5928
|
+
}, du = ou(), fu = "data-scroll-locked", pu = function(e, t, n, r) {
|
|
5929
5929
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
5930
5930
|
return n === void 0 && (n = "margin"), `
|
|
5931
|
-
.${
|
|
5931
|
+
.${Rl} {
|
|
5932
5932
|
overflow: hidden ${r};
|
|
5933
5933
|
padding-right: ${s}px ${r};
|
|
5934
5934
|
}
|
|
5935
|
-
body[${
|
|
5935
|
+
body[${fu}] {
|
|
5936
5936
|
overflow: hidden ${r};
|
|
5937
5937
|
overscroll-behavior: contain;
|
|
5938
5938
|
${[
|
|
@@ -5949,122 +5949,122 @@ var ru = function() {
|
|
|
5949
5949
|
].filter(Boolean).join("")}
|
|
5950
5950
|
}
|
|
5951
5951
|
|
|
5952
|
-
.${
|
|
5952
|
+
.${Il} {
|
|
5953
5953
|
right: ${s}px ${r};
|
|
5954
5954
|
}
|
|
5955
5955
|
|
|
5956
|
-
.${
|
|
5956
|
+
.${Ll} {
|
|
5957
5957
|
margin-right: ${s}px ${r};
|
|
5958
5958
|
}
|
|
5959
5959
|
|
|
5960
|
-
.${
|
|
5960
|
+
.${Il} .${Il} {
|
|
5961
5961
|
right: 0 ${r};
|
|
5962
5962
|
}
|
|
5963
5963
|
|
|
5964
|
-
.${
|
|
5964
|
+
.${Ll} .${Ll} {
|
|
5965
5965
|
margin-right: 0 ${r};
|
|
5966
5966
|
}
|
|
5967
5967
|
|
|
5968
|
-
body[${
|
|
5969
|
-
${
|
|
5968
|
+
body[${fu}] {
|
|
5969
|
+
${zl}: ${s}px;
|
|
5970
5970
|
}
|
|
5971
5971
|
`;
|
|
5972
|
-
},
|
|
5972
|
+
}, mu = function() {
|
|
5973
5973
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
5974
5974
|
return isFinite(e) ? e : 0;
|
|
5975
|
-
},
|
|
5976
|
-
|
|
5977
|
-
return document.body.setAttribute(
|
|
5978
|
-
var e =
|
|
5979
|
-
e <= 0 ? document.body.removeAttribute(
|
|
5975
|
+
}, hu = function() {
|
|
5976
|
+
B.useEffect(function() {
|
|
5977
|
+
return document.body.setAttribute(fu, (mu() + 1).toString()), function() {
|
|
5978
|
+
var e = mu() - 1;
|
|
5979
|
+
e <= 0 ? document.body.removeAttribute(fu) : document.body.setAttribute(fu, e.toString());
|
|
5980
5980
|
};
|
|
5981
5981
|
}, []);
|
|
5982
|
-
},
|
|
5982
|
+
}, gu = function(e) {
|
|
5983
5983
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
5984
|
-
|
|
5985
|
-
var a =
|
|
5986
|
-
return
|
|
5984
|
+
hu();
|
|
5985
|
+
var a = B.useMemo(function() {
|
|
5986
|
+
return uu(i);
|
|
5987
5987
|
}, [i]);
|
|
5988
|
-
return
|
|
5989
|
-
},
|
|
5988
|
+
return B.createElement(du, { styles: pu(a, !t, i, n ? "" : "!important") });
|
|
5989
|
+
}, _u = !1;
|
|
5990
5990
|
if (typeof window < "u") try {
|
|
5991
|
-
var
|
|
5992
|
-
return
|
|
5991
|
+
var vu = Object.defineProperty({}, "passive", { get: function() {
|
|
5992
|
+
return _u = !0, !0;
|
|
5993
5993
|
} });
|
|
5994
|
-
window.addEventListener("test",
|
|
5994
|
+
window.addEventListener("test", vu, vu), window.removeEventListener("test", vu, vu);
|
|
5995
5995
|
} catch {
|
|
5996
|
-
|
|
5996
|
+
_u = !1;
|
|
5997
5997
|
}
|
|
5998
|
-
var
|
|
5998
|
+
var yu = _u ? { passive: !1 } : !1, bu = function(e) {
|
|
5999
5999
|
return e.tagName === "TEXTAREA";
|
|
6000
|
-
},
|
|
6000
|
+
}, xu = function(e, t) {
|
|
6001
6001
|
if (!(e instanceof Element)) return !1;
|
|
6002
6002
|
var n = window.getComputedStyle(e);
|
|
6003
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
6004
|
-
}, xu = function(e) {
|
|
6005
|
-
return bu(e, "overflowY");
|
|
6003
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !bu(e) && n[t] === "visible");
|
|
6006
6004
|
}, Su = function(e) {
|
|
6007
|
-
return
|
|
6008
|
-
}, Cu = function(e
|
|
6005
|
+
return xu(e, "overflowY");
|
|
6006
|
+
}, Cu = function(e) {
|
|
6007
|
+
return xu(e, "overflowX");
|
|
6008
|
+
}, wu = function(e, t) {
|
|
6009
6009
|
var n = t.ownerDocument, r = t;
|
|
6010
6010
|
do {
|
|
6011
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
6012
|
-
var i =
|
|
6011
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), Du(e, r)) {
|
|
6012
|
+
var i = Ou(e, r);
|
|
6013
6013
|
if (i[1] > i[2]) return !0;
|
|
6014
6014
|
}
|
|
6015
6015
|
r = r.parentNode;
|
|
6016
6016
|
} while (r && r !== n.body);
|
|
6017
6017
|
return !1;
|
|
6018
|
-
},
|
|
6018
|
+
}, Tu = function(e) {
|
|
6019
6019
|
return [
|
|
6020
6020
|
e.scrollTop,
|
|
6021
6021
|
e.scrollHeight,
|
|
6022
6022
|
e.clientHeight
|
|
6023
6023
|
];
|
|
6024
|
-
},
|
|
6024
|
+
}, Eu = function(e) {
|
|
6025
6025
|
return [
|
|
6026
6026
|
e.scrollLeft,
|
|
6027
6027
|
e.scrollWidth,
|
|
6028
6028
|
e.clientWidth
|
|
6029
6029
|
];
|
|
6030
|
-
}, Eu = function(e, t) {
|
|
6031
|
-
return e === "v" ? xu(t) : Su(t);
|
|
6032
6030
|
}, Du = function(e, t) {
|
|
6033
|
-
return e === "v" ?
|
|
6031
|
+
return e === "v" ? Su(t) : Cu(t);
|
|
6034
6032
|
}, Ou = function(e, t) {
|
|
6033
|
+
return e === "v" ? Tu(t) : Eu(t);
|
|
6034
|
+
}, ku = function(e, t) {
|
|
6035
6035
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
6036
|
-
},
|
|
6037
|
-
var a =
|
|
6036
|
+
}, Au = function(e, t, n, r, i) {
|
|
6037
|
+
var a = ku(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
6038
6038
|
do {
|
|
6039
6039
|
if (!s) break;
|
|
6040
|
-
var p =
|
|
6041
|
-
(m || h) &&
|
|
6040
|
+
var p = Ou(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
6041
|
+
(m || h) && Du(e, s) && (d += h, f += m);
|
|
6042
6042
|
var g = s.parentNode;
|
|
6043
6043
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
6044
6044
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
6045
6045
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
6046
|
-
}, Au = function(e) {
|
|
6047
|
-
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
6048
6046
|
}, ju = function(e) {
|
|
6049
|
-
return [e.
|
|
6047
|
+
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
6050
6048
|
}, Mu = function(e) {
|
|
6049
|
+
return [e.deltaX, e.deltaY];
|
|
6050
|
+
}, Nu = function(e) {
|
|
6051
6051
|
return e && "current" in e ? e.current : e;
|
|
6052
|
-
},
|
|
6052
|
+
}, Pu = function(e, t) {
|
|
6053
6053
|
return e[0] === t[0] && e[1] === t[1];
|
|
6054
|
-
},
|
|
6054
|
+
}, Fu = function(e) {
|
|
6055
6055
|
return `
|
|
6056
6056
|
.block-interactivity-${e} {pointer-events: none;}
|
|
6057
6057
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
6058
6058
|
`;
|
|
6059
|
-
},
|
|
6060
|
-
function
|
|
6061
|
-
var t =
|
|
6062
|
-
|
|
6059
|
+
}, Iu = 0, Lu = [];
|
|
6060
|
+
function Ru(e) {
|
|
6061
|
+
var t = B.useRef([]), n = B.useRef([0, 0]), r = B.useRef(), i = B.useState(Iu++)[0], a = B.useState(ou)[0], o = B.useRef(e);
|
|
6062
|
+
B.useEffect(function() {
|
|
6063
6063
|
o.current = e;
|
|
6064
|
-
}, [e]),
|
|
6064
|
+
}, [e]), B.useEffect(function() {
|
|
6065
6065
|
if (e.inert) {
|
|
6066
6066
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
6067
|
-
var t =
|
|
6067
|
+
var t = Fl([e.lockRef.current], (e.shards || []).map(Nu), !0).filter(Boolean);
|
|
6068
6068
|
return t.forEach(function(e) {
|
|
6069
6069
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
6070
6070
|
}), function() {
|
|
@@ -6078,147 +6078,147 @@ function Lu(e) {
|
|
|
6078
6078
|
e.lockRef.current,
|
|
6079
6079
|
e.shards
|
|
6080
6080
|
]);
|
|
6081
|
-
var s =
|
|
6081
|
+
var s = B.useCallback(function(e, t) {
|
|
6082
6082
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
6083
|
-
var i =
|
|
6083
|
+
var i = ju(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";
|
|
6084
6084
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
6085
6085
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
6086
6086
|
if (p && (p === u || p.contains(u))) return !1;
|
|
6087
|
-
var m =
|
|
6087
|
+
var m = wu(d, u);
|
|
6088
6088
|
if (!m) return !0;
|
|
6089
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
6089
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = wu(d, u)), !m) return !1;
|
|
6090
6090
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
6091
6091
|
var h = r.current || l;
|
|
6092
|
-
return
|
|
6093
|
-
}, []), c =
|
|
6092
|
+
return Au(h, t, e, h === "h" ? s : c, !0);
|
|
6093
|
+
}, []), c = B.useCallback(function(e) {
|
|
6094
6094
|
var n = e;
|
|
6095
|
-
if (!(!
|
|
6096
|
-
var r = "deltaY" in n ?
|
|
6097
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
6095
|
+
if (!(!Lu.length || Lu[Lu.length - 1] !== a)) {
|
|
6096
|
+
var r = "deltaY" in n ? Mu(n) : ju(n), i = t.current.filter(function(e) {
|
|
6097
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && Pu(e.delta, r);
|
|
6098
6098
|
})[0];
|
|
6099
6099
|
if (i && i.should) {
|
|
6100
6100
|
n.cancelable && n.preventDefault();
|
|
6101
6101
|
return;
|
|
6102
6102
|
}
|
|
6103
6103
|
if (!i) {
|
|
6104
|
-
var c = (o.current.shards || []).map(
|
|
6104
|
+
var c = (o.current.shards || []).map(Nu).filter(Boolean).filter(function(e) {
|
|
6105
6105
|
return e.contains(n.target);
|
|
6106
6106
|
});
|
|
6107
6107
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
6108
6108
|
}
|
|
6109
6109
|
}
|
|
6110
|
-
}, []), l =
|
|
6110
|
+
}, []), l = B.useCallback(function(e, n, r, i) {
|
|
6111
6111
|
var a = {
|
|
6112
6112
|
name: e,
|
|
6113
6113
|
delta: n,
|
|
6114
6114
|
target: r,
|
|
6115
6115
|
should: i,
|
|
6116
|
-
shadowParent:
|
|
6116
|
+
shadowParent: zu(r)
|
|
6117
6117
|
};
|
|
6118
6118
|
t.current.push(a), setTimeout(function() {
|
|
6119
6119
|
t.current = t.current.filter(function(e) {
|
|
6120
6120
|
return e !== a;
|
|
6121
6121
|
});
|
|
6122
6122
|
}, 1);
|
|
6123
|
-
}, []), u =
|
|
6124
|
-
n.current =
|
|
6125
|
-
}, []), d =
|
|
6123
|
+
}, []), u = B.useCallback(function(e) {
|
|
6124
|
+
n.current = ju(e), r.current = void 0;
|
|
6125
|
+
}, []), d = B.useCallback(function(t) {
|
|
6126
|
+
l(t.type, Mu(t), t.target, s(t, e.lockRef.current));
|
|
6127
|
+
}, []), f = B.useCallback(function(t) {
|
|
6126
6128
|
l(t.type, ju(t), t.target, s(t, e.lockRef.current));
|
|
6127
|
-
}, []), f = z.useCallback(function(t) {
|
|
6128
|
-
l(t.type, Au(t), t.target, s(t, e.lockRef.current));
|
|
6129
6129
|
}, []);
|
|
6130
|
-
|
|
6131
|
-
return
|
|
6130
|
+
B.useEffect(function() {
|
|
6131
|
+
return Lu.push(a), e.setCallbacks({
|
|
6132
6132
|
onScrollCapture: d,
|
|
6133
6133
|
onWheelCapture: d,
|
|
6134
6134
|
onTouchMoveCapture: f
|
|
6135
|
-
}), document.addEventListener("wheel", c,
|
|
6136
|
-
|
|
6135
|
+
}), document.addEventListener("wheel", c, yu), document.addEventListener("touchmove", c, yu), document.addEventListener("touchstart", u, yu), function() {
|
|
6136
|
+
Lu = Lu.filter(function(e) {
|
|
6137
6137
|
return e !== a;
|
|
6138
|
-
}), document.removeEventListener("wheel", c,
|
|
6138
|
+
}), document.removeEventListener("wheel", c, yu), document.removeEventListener("touchmove", c, yu), document.removeEventListener("touchstart", u, yu);
|
|
6139
6139
|
};
|
|
6140
6140
|
}, []);
|
|
6141
6141
|
var p = e.removeScrollBar, m = e.inert;
|
|
6142
|
-
return
|
|
6142
|
+
return B.createElement(B.Fragment, null, m ? B.createElement(a, { styles: Fu(i) }) : null, p ? B.createElement(gu, {
|
|
6143
6143
|
noRelative: e.noRelative,
|
|
6144
6144
|
gapMode: e.gapMode
|
|
6145
6145
|
}) : null);
|
|
6146
6146
|
}
|
|
6147
|
-
function
|
|
6147
|
+
function zu(e) {
|
|
6148
6148
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
6149
6149
|
return t;
|
|
6150
6150
|
}
|
|
6151
6151
|
//#endregion
|
|
6152
6152
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
6153
|
-
var
|
|
6154
|
-
return
|
|
6153
|
+
var Bu = Yl(Xl, Ru), Vu = B.forwardRef(function(e, t) {
|
|
6154
|
+
return B.createElement(Ql, kl({}, e, {
|
|
6155
6155
|
ref: t,
|
|
6156
|
-
sideCar:
|
|
6156
|
+
sideCar: Bu
|
|
6157
6157
|
}));
|
|
6158
6158
|
});
|
|
6159
|
-
|
|
6159
|
+
Vu.classNames = Ql.classNames;
|
|
6160
6160
|
//#endregion
|
|
6161
6161
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
6162
|
-
var
|
|
6163
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
6162
|
+
var Hu = "Popover", [Uu, Wu] = Na(Hu, [Uc]), Gu = Uc(), [Ku, qu] = Uu(Hu), Ju = (e) => {
|
|
6163
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Gu(t), c = B.useRef(null), [l, u] = B.useState(!1), [d, f] = _l({
|
|
6164
6164
|
prop: r,
|
|
6165
6165
|
defaultProp: i ?? !1,
|
|
6166
6166
|
onChange: a,
|
|
6167
|
-
caller:
|
|
6167
|
+
caller: Hu
|
|
6168
6168
|
});
|
|
6169
|
-
return /* @__PURE__ */ (0,
|
|
6169
|
+
return /* @__PURE__ */ (0, V.jsx)(al, {
|
|
6170
6170
|
...s,
|
|
6171
|
-
children: /* @__PURE__ */ (0,
|
|
6171
|
+
children: /* @__PURE__ */ (0, V.jsx)(Ku, {
|
|
6172
6172
|
scope: t,
|
|
6173
6173
|
contentId: Do(),
|
|
6174
6174
|
triggerRef: c,
|
|
6175
6175
|
open: d,
|
|
6176
6176
|
onOpenChange: f,
|
|
6177
|
-
onOpenToggle:
|
|
6177
|
+
onOpenToggle: B.useCallback(() => f((e) => !e), [f]),
|
|
6178
6178
|
hasCustomAnchor: l,
|
|
6179
|
-
onCustomAnchorAdd:
|
|
6180
|
-
onCustomAnchorRemove:
|
|
6179
|
+
onCustomAnchorAdd: B.useCallback(() => u(!0), []),
|
|
6180
|
+
onCustomAnchorRemove: B.useCallback(() => u(!1), []),
|
|
6181
6181
|
modal: o,
|
|
6182
6182
|
children: n
|
|
6183
6183
|
})
|
|
6184
6184
|
});
|
|
6185
6185
|
};
|
|
6186
|
-
|
|
6187
|
-
var
|
|
6188
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
6189
|
-
return
|
|
6186
|
+
Ju.displayName = Hu;
|
|
6187
|
+
var Yu = "PopoverAnchor", Xu = B.forwardRef((e, t) => {
|
|
6188
|
+
let { __scopePopover: n, ...r } = e, i = qu(Yu, n), a = Gu(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
6189
|
+
return B.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, V.jsx)(ol, {
|
|
6190
6190
|
...a,
|
|
6191
6191
|
...r,
|
|
6192
6192
|
ref: t
|
|
6193
6193
|
});
|
|
6194
6194
|
});
|
|
6195
|
-
|
|
6196
|
-
var
|
|
6197
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
6195
|
+
Xu.displayName = Yu;
|
|
6196
|
+
var Zu = "PopoverTrigger", Qu = B.forwardRef((e, t) => {
|
|
6197
|
+
let { __scopePopover: n, ...r } = e, i = qu(Zu, n), a = Gu(n), o = Ma(t, i.triggerRef), s = /* @__PURE__ */ (0, V.jsx)(Va.button, {
|
|
6198
6198
|
type: "button",
|
|
6199
6199
|
"aria-haspopup": "dialog",
|
|
6200
6200
|
"aria-expanded": i.open,
|
|
6201
6201
|
"aria-controls": i.contentId,
|
|
6202
|
-
"data-state":
|
|
6202
|
+
"data-state": pd(i.open),
|
|
6203
6203
|
...r,
|
|
6204
6204
|
ref: o,
|
|
6205
6205
|
onClick: ka(e.onClick, i.onOpenToggle)
|
|
6206
6206
|
});
|
|
6207
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
6207
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, V.jsx)(ol, {
|
|
6208
6208
|
asChild: !0,
|
|
6209
6209
|
...a,
|
|
6210
6210
|
children: s
|
|
6211
6211
|
});
|
|
6212
6212
|
});
|
|
6213
|
-
|
|
6214
|
-
var
|
|
6215
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
6216
|
-
return /* @__PURE__ */ (0,
|
|
6213
|
+
Qu.displayName = Zu;
|
|
6214
|
+
var $u = "PopoverPortal", [ed, td] = Uu($u, { forceMount: void 0 }), nd = (e) => {
|
|
6215
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = qu($u, t);
|
|
6216
|
+
return /* @__PURE__ */ (0, V.jsx)(ed, {
|
|
6217
6217
|
scope: t,
|
|
6218
6218
|
forceMount: n,
|
|
6219
|
-
children: /* @__PURE__ */ (0,
|
|
6219
|
+
children: /* @__PURE__ */ (0, V.jsx)(fl, {
|
|
6220
6220
|
present: n || a.open,
|
|
6221
|
-
children: /* @__PURE__ */ (0,
|
|
6221
|
+
children: /* @__PURE__ */ (0, V.jsx)(ul, {
|
|
6222
6222
|
asChild: !0,
|
|
6223
6223
|
container: i,
|
|
6224
6224
|
children: r
|
|
@@ -6226,30 +6226,30 @@ var Qu = "PopoverPortal", [$u, ed] = Hu(Qu, { forceMount: void 0 }), td = (e) =>
|
|
|
6226
6226
|
})
|
|
6227
6227
|
});
|
|
6228
6228
|
};
|
|
6229
|
-
|
|
6230
|
-
var
|
|
6231
|
-
let n =
|
|
6232
|
-
return /* @__PURE__ */ (0,
|
|
6229
|
+
nd.displayName = $u;
|
|
6230
|
+
var rd = "PopoverContent", id = B.forwardRef((e, t) => {
|
|
6231
|
+
let n = td(rd, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = qu(rd, e.__scopePopover);
|
|
6232
|
+
return /* @__PURE__ */ (0, V.jsx)(fl, {
|
|
6233
6233
|
present: r || a.open,
|
|
6234
|
-
children: a.modal ? /* @__PURE__ */ (0,
|
|
6234
|
+
children: a.modal ? /* @__PURE__ */ (0, V.jsx)(od, {
|
|
6235
6235
|
...i,
|
|
6236
6236
|
ref: t
|
|
6237
|
-
}) : /* @__PURE__ */ (0,
|
|
6237
|
+
}) : /* @__PURE__ */ (0, V.jsx)(sd, {
|
|
6238
6238
|
...i,
|
|
6239
6239
|
ref: t
|
|
6240
6240
|
})
|
|
6241
6241
|
});
|
|
6242
6242
|
});
|
|
6243
|
-
|
|
6244
|
-
var
|
|
6245
|
-
let n =
|
|
6246
|
-
return
|
|
6243
|
+
id.displayName = rd;
|
|
6244
|
+
var ad = /* @__PURE__ */ Fa("PopoverContent.RemoveScroll"), od = B.forwardRef((e, t) => {
|
|
6245
|
+
let n = qu(rd, e.__scopePopover), r = B.useRef(null), i = Ma(t, r), a = B.useRef(!1);
|
|
6246
|
+
return B.useEffect(() => {
|
|
6247
6247
|
let e = r.current;
|
|
6248
|
-
if (e) return
|
|
6249
|
-
}, []), /* @__PURE__ */ (0,
|
|
6250
|
-
as:
|
|
6248
|
+
if (e) return Ol(e);
|
|
6249
|
+
}, []), /* @__PURE__ */ (0, V.jsx)(Vu, {
|
|
6250
|
+
as: ad,
|
|
6251
6251
|
allowPinchZoom: !0,
|
|
6252
|
-
children: /* @__PURE__ */ (0,
|
|
6252
|
+
children: /* @__PURE__ */ (0, V.jsx)(cd, {
|
|
6253
6253
|
...e,
|
|
6254
6254
|
ref: i,
|
|
6255
6255
|
trapFocus: n.open,
|
|
@@ -6264,9 +6264,9 @@ var id = /* @__PURE__ */ Fa("PopoverContent.RemoveScroll"), ad = z.forwardRef((e
|
|
|
6264
6264
|
onFocusOutside: ka(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
6265
6265
|
})
|
|
6266
6266
|
});
|
|
6267
|
-
}),
|
|
6268
|
-
let n =
|
|
6269
|
-
return /* @__PURE__ */ (0,
|
|
6267
|
+
}), sd = B.forwardRef((e, t) => {
|
|
6268
|
+
let n = qu(rd, e.__scopePopover), r = B.useRef(!1), i = B.useRef(!1);
|
|
6269
|
+
return /* @__PURE__ */ (0, V.jsx)(cd, {
|
|
6270
6270
|
...e,
|
|
6271
6271
|
ref: t,
|
|
6272
6272
|
trapFocus: !1,
|
|
@@ -6280,15 +6280,15 @@ var id = /* @__PURE__ */ Fa("PopoverContent.RemoveScroll"), ad = z.forwardRef((e
|
|
|
6280
6280
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
6281
6281
|
}
|
|
6282
6282
|
});
|
|
6283
|
-
}),
|
|
6284
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
6285
|
-
return ao(), /* @__PURE__ */ (0,
|
|
6283
|
+
}), cd = B.forwardRef((e, t) => {
|
|
6284
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = qu(rd, n), p = Gu(n);
|
|
6285
|
+
return ao(), /* @__PURE__ */ (0, V.jsx)(fo, {
|
|
6286
6286
|
asChild: !0,
|
|
6287
6287
|
loop: !0,
|
|
6288
6288
|
trapped: r,
|
|
6289
6289
|
onMountAutoFocus: i,
|
|
6290
6290
|
onUnmountAutoFocus: a,
|
|
6291
|
-
children: /* @__PURE__ */ (0,
|
|
6291
|
+
children: /* @__PURE__ */ (0, V.jsx)(Za, {
|
|
6292
6292
|
asChild: !0,
|
|
6293
6293
|
disableOutsidePointerEvents: o,
|
|
6294
6294
|
onInteractOutside: u,
|
|
@@ -6296,8 +6296,8 @@ var id = /* @__PURE__ */ Fa("PopoverContent.RemoveScroll"), ad = z.forwardRef((e
|
|
|
6296
6296
|
onPointerDownOutside: c,
|
|
6297
6297
|
onFocusOutside: l,
|
|
6298
6298
|
onDismiss: () => f.onOpenChange(!1),
|
|
6299
|
-
children: /* @__PURE__ */ (0,
|
|
6300
|
-
"data-state":
|
|
6299
|
+
children: /* @__PURE__ */ (0, V.jsx)(sl, {
|
|
6300
|
+
"data-state": pd(f.open),
|
|
6301
6301
|
role: "dialog",
|
|
6302
6302
|
id: f.contentId,
|
|
6303
6303
|
...p,
|
|
@@ -6314,127 +6314,127 @@ var id = /* @__PURE__ */ Fa("PopoverContent.RemoveScroll"), ad = z.forwardRef((e
|
|
|
6314
6314
|
})
|
|
6315
6315
|
})
|
|
6316
6316
|
});
|
|
6317
|
-
}),
|
|
6318
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
6319
|
-
return /* @__PURE__ */ (0,
|
|
6317
|
+
}), ld = "PopoverClose", ud = B.forwardRef((e, t) => {
|
|
6318
|
+
let { __scopePopover: n, ...r } = e, i = qu(ld, n);
|
|
6319
|
+
return /* @__PURE__ */ (0, V.jsx)(Va.button, {
|
|
6320
6320
|
type: "button",
|
|
6321
6321
|
...r,
|
|
6322
6322
|
ref: t,
|
|
6323
6323
|
onClick: ka(e.onClick, () => i.onOpenChange(!1))
|
|
6324
6324
|
});
|
|
6325
6325
|
});
|
|
6326
|
-
|
|
6327
|
-
var
|
|
6328
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
6329
|
-
return /* @__PURE__ */ (0,
|
|
6326
|
+
ud.displayName = ld;
|
|
6327
|
+
var dd = "PopoverArrow", fd = B.forwardRef((e, t) => {
|
|
6328
|
+
let { __scopePopover: n, ...r } = e, i = Gu(n);
|
|
6329
|
+
return /* @__PURE__ */ (0, V.jsx)(cl, {
|
|
6330
6330
|
...i,
|
|
6331
6331
|
...r,
|
|
6332
6332
|
ref: t
|
|
6333
6333
|
});
|
|
6334
6334
|
});
|
|
6335
|
-
|
|
6336
|
-
function
|
|
6335
|
+
fd.displayName = dd;
|
|
6336
|
+
function pd(e) {
|
|
6337
6337
|
return e ? "open" : "closed";
|
|
6338
6338
|
}
|
|
6339
|
-
var
|
|
6339
|
+
var md = Ju, hd = Qu, gd = id, _d = fd, vd = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, V.jsxs)(md, {
|
|
6340
6340
|
defaultOpen: n,
|
|
6341
|
-
children: [/* @__PURE__ */ (0,
|
|
6341
|
+
children: [/* @__PURE__ */ (0, V.jsx)("div", {
|
|
6342
6342
|
className: "flex justify-center",
|
|
6343
|
-
children: /* @__PURE__ */ (0,
|
|
6343
|
+
children: /* @__PURE__ */ (0, V.jsx)(hd, {
|
|
6344
6344
|
asChild: !0,
|
|
6345
6345
|
children: t
|
|
6346
6346
|
})
|
|
6347
|
-
}), /* @__PURE__ */ (0,
|
|
6347
|
+
}), /* @__PURE__ */ (0, V.jsxs)(gd, {
|
|
6348
6348
|
className: "sid-popover__container",
|
|
6349
6349
|
sideOffset: 10,
|
|
6350
6350
|
side: "bottom",
|
|
6351
|
-
children: [e, /* @__PURE__ */ (0,
|
|
6351
|
+
children: [e, /* @__PURE__ */ (0, V.jsx)(_d, { className: "sid-popover__caret" })]
|
|
6352
6352
|
})]
|
|
6353
|
-
}),
|
|
6353
|
+
}), yd = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
6354
6354
|
let n = ue();
|
|
6355
|
-
return /* @__PURE__ */ (0,
|
|
6355
|
+
return /* @__PURE__ */ (0, V.jsx)(vd, {
|
|
6356
6356
|
initialVisibility: t,
|
|
6357
|
-
trigger: /* @__PURE__ */ (0,
|
|
6357
|
+
trigger: /* @__PURE__ */ (0, V.jsx)("button", {
|
|
6358
6358
|
type: "button",
|
|
6359
6359
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
6360
|
-
children: /* @__PURE__ */ (0,
|
|
6360
|
+
children: /* @__PURE__ */ (0, V.jsx)(z, { id: "howDoesVerifyingWork" })
|
|
6361
6361
|
}),
|
|
6362
|
-
message: /* @__PURE__ */ (0,
|
|
6363
|
-
/* @__PURE__ */ (0,
|
|
6362
|
+
message: /* @__PURE__ */ (0, V.jsxs)("div", { children: [
|
|
6363
|
+
/* @__PURE__ */ (0, V.jsx)(z, {
|
|
6364
6364
|
id: "step.personalInfo.howDoesVerifyingWorkDetails",
|
|
6365
6365
|
context: n
|
|
6366
6366
|
}),
|
|
6367
6367
|
"\xA0",
|
|
6368
|
-
/* @__PURE__ */ (0,
|
|
6368
|
+
/* @__PURE__ */ (0, V.jsx)(mi, { verificationService: e })
|
|
6369
6369
|
] })
|
|
6370
6370
|
});
|
|
6371
|
-
},
|
|
6371
|
+
}, bd = ({ verificationService: e }) => {
|
|
6372
6372
|
let t = r(() => e.programTheme.remainingRewardCodes, null);
|
|
6373
|
-
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0,
|
|
6373
|
+
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
6374
6374
|
className: "sid-rewards-remaining",
|
|
6375
6375
|
role: "note",
|
|
6376
6376
|
children: [
|
|
6377
|
-
/* @__PURE__ */ (0,
|
|
6378
|
-
/* @__PURE__ */ (0,
|
|
6377
|
+
/* @__PURE__ */ (0, V.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
6378
|
+
/* @__PURE__ */ (0, V.jsx)(L, {
|
|
6379
6379
|
id: "lowRewardPool",
|
|
6380
6380
|
defaultMessage: e.messages.lowRewardPool,
|
|
6381
6381
|
values: { offersRemaining: t }
|
|
6382
6382
|
}),
|
|
6383
|
-
/* @__PURE__ */ (0,
|
|
6383
|
+
/* @__PURE__ */ (0, V.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
6384
6384
|
]
|
|
6385
6385
|
}) : null;
|
|
6386
|
-
},
|
|
6387
|
-
let { verificationResponse: n } = e, r =
|
|
6388
|
-
return /* @__PURE__ */ (0,
|
|
6386
|
+
}, xd = (e) => e !== void 0, Sd = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
6387
|
+
let { verificationResponse: n } = e, r = xd(n) ? ce(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
6388
|
+
return /* @__PURE__ */ (0, V.jsx)("div", {
|
|
6389
6389
|
className: "sid-personal-info-header",
|
|
6390
|
-
children: /* @__PURE__ */ (0,
|
|
6390
|
+
children: /* @__PURE__ */ (0, V.jsxs)(Oa, {
|
|
6391
6391
|
verificationService: e,
|
|
6392
|
-
title: /* @__PURE__ */ (0,
|
|
6392
|
+
title: /* @__PURE__ */ (0, V.jsx)(z, {
|
|
6393
6393
|
id: i,
|
|
6394
6394
|
context: n.segment
|
|
6395
6395
|
}),
|
|
6396
6396
|
classNameIdentifier: t,
|
|
6397
6397
|
children: [
|
|
6398
|
-
/* @__PURE__ */ (0,
|
|
6398
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
6399
6399
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
6400
|
-
children: /* @__PURE__ */ (0,
|
|
6400
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, { id: a })
|
|
6401
6401
|
}),
|
|
6402
|
-
/* @__PURE__ */ (0,
|
|
6402
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
6403
6403
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
6404
|
-
children: !r && /* @__PURE__ */ (0,
|
|
6404
|
+
children: !r && /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(yd, { verificationService: e }), /* @__PURE__ */ (0, V.jsx)(bd, { verificationService: e })] })
|
|
6405
6405
|
}),
|
|
6406
|
-
/* @__PURE__ */ (0,
|
|
6406
|
+
/* @__PURE__ */ (0, V.jsx)("div", {
|
|
6407
6407
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
6408
|
-
children: /* @__PURE__ */ (0,
|
|
6408
|
+
children: /* @__PURE__ */ (0, V.jsx)(L, { id: "requiredFields" })
|
|
6409
6409
|
})
|
|
6410
6410
|
]
|
|
6411
6411
|
})
|
|
6412
6412
|
});
|
|
6413
|
-
},
|
|
6414
|
-
let { isEmbedded: i } =
|
|
6415
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
6413
|
+
}, Cd = () => ({ isEmbedded: !!T("verificationIframeUid") }), wd = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
6414
|
+
let { isEmbedded: i } = Cd();
|
|
6415
|
+
return !r || i ? /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: t }) : /* @__PURE__ */ (0, V.jsx)("div", {
|
|
6416
6416
|
className: `sid-layout sid-layout--${e}`,
|
|
6417
|
-
children: /* @__PURE__ */ (0,
|
|
6417
|
+
children: /* @__PURE__ */ (0, V.jsxs)("div", {
|
|
6418
6418
|
className: "sid-layout__container",
|
|
6419
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
6419
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, V.jsx)("div", {
|
|
6420
6420
|
className: "sid-layout__content",
|
|
6421
|
-
children: /* @__PURE__ */ (0,
|
|
6421
|
+
children: /* @__PURE__ */ (0, V.jsx)(Sd, {
|
|
6422
6422
|
verificationService: n,
|
|
6423
6423
|
classNameIdentifier: "landing"
|
|
6424
6424
|
})
|
|
6425
|
-
}), /* @__PURE__ */ (0,
|
|
6425
|
+
}), /* @__PURE__ */ (0, V.jsx)("div", {
|
|
6426
6426
|
className: "sid-layout__form-container",
|
|
6427
|
-
children: /* @__PURE__ */ (0,
|
|
6427
|
+
children: /* @__PURE__ */ (0, V.jsx)("div", {
|
|
6428
6428
|
className: "sid-layout__form",
|
|
6429
6429
|
children: t
|
|
6430
6430
|
})
|
|
6431
6431
|
})]
|
|
6432
6432
|
})
|
|
6433
6433
|
});
|
|
6434
|
-
},
|
|
6434
|
+
}, Td = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)("div", {
|
|
6435
6435
|
className: "sid sid-form-wrapper",
|
|
6436
6436
|
children: e
|
|
6437
|
-
}),
|
|
6437
|
+
}), Ed = {
|
|
6438
6438
|
"doc-upload-redesign-use-legacy-message-keys": !1,
|
|
6439
6439
|
"doc-upload-may24": "default",
|
|
6440
6440
|
"include-cvec-field-france-student": "default",
|
|
@@ -6443,7 +6443,7 @@ var pd = qu, md = Zu, hd = rd, gd = dd, _d = ({ message: e, trigger: t, initialV
|
|
|
6443
6443
|
"org-search-overlay": "default",
|
|
6444
6444
|
"org-selected-display": "default",
|
|
6445
6445
|
"hc-open-org-warning": "control"
|
|
6446
|
-
},
|
|
6446
|
+
}, Dd = "_flagOverride", Od = (e = Ed, t = window.location.href) => new URL(t).searchParams.getAll(Dd).reduce((t, n) => {
|
|
6447
6447
|
let [r, i] = n.split(":");
|
|
6448
6448
|
if (!r || !i || !Object.keys(e).includes(r)) return t;
|
|
6449
6449
|
let a = i === "true" || i === "false" ? JSON.parse(i) : i;
|
|
@@ -6451,21 +6451,21 @@ var pd = qu, md = Zu, hd = rd, gd = dd, _d = ({ message: e, trigger: t, initialV
|
|
|
6451
6451
|
...t,
|
|
6452
6452
|
[r]: a
|
|
6453
6453
|
};
|
|
6454
|
-
}, {}),
|
|
6455
|
-
let e = oi(), t =
|
|
6454
|
+
}, {}), kd = () => {
|
|
6455
|
+
let e = oi(), t = Od();
|
|
6456
6456
|
return {
|
|
6457
6457
|
...e,
|
|
6458
6458
|
...t
|
|
6459
6459
|
};
|
|
6460
6460
|
};
|
|
6461
|
-
function
|
|
6462
|
-
return
|
|
6461
|
+
function Ad(e) {
|
|
6462
|
+
return kd()[e];
|
|
6463
6463
|
}
|
|
6464
6464
|
//#endregion
|
|
6465
6465
|
//#region src/components/NewVerificationInnerComponent.tsx
|
|
6466
|
-
var
|
|
6467
|
-
let o = si(), c = E(), l = r.programTheme.themeChoices?.landingPage.layout || "center", { renderAs: u } = c, d =
|
|
6468
|
-
return
|
|
6466
|
+
var jd = ({ locale: e, messages: t, programTheme: n, verificationService: r, programId: i }) => {
|
|
6467
|
+
let o = si(), c = E(), l = r.programTheme.themeChoices?.landingPage.layout || "center", { renderAs: u } = c, d = kd();
|
|
6468
|
+
return B.useEffect(() => {
|
|
6469
6469
|
try {
|
|
6470
6470
|
if (d && r && r.viewModel) {
|
|
6471
6471
|
let e = (0, ci.default)(d);
|
|
@@ -6480,7 +6480,7 @@ var Ad = ({ locale: e, messages: t, programTheme: n, verificationService: r, pro
|
|
|
6480
6480
|
} catch (e) {
|
|
6481
6481
|
a.error(e);
|
|
6482
6482
|
}
|
|
6483
|
-
}, []),
|
|
6483
|
+
}, []), B.useEffect(() => {
|
|
6484
6484
|
if (r.verificationResponse.verificationId && c._launchDarklyUserTargeting && o) {
|
|
6485
6485
|
let e = {
|
|
6486
6486
|
kind: "multi",
|
|
@@ -6494,31 +6494,31 @@ var Ad = ({ locale: e, messages: t, programTheme: n, verificationService: r, pro
|
|
|
6494
6494
|
};
|
|
6495
6495
|
n.accountId && (e.account = { key: n.accountId }), o.identify(e);
|
|
6496
6496
|
}
|
|
6497
|
-
}, [r.verificationResponse.verificationId, o]),
|
|
6497
|
+
}, [r.verificationResponse.verificationId, o]), B.useEffect(() => {
|
|
6498
6498
|
try {
|
|
6499
6499
|
E()._launchDarklyFlagCb(d);
|
|
6500
6500
|
} catch {}
|
|
6501
|
-
}, [d]), /* @__PURE__ */ (0,
|
|
6501
|
+
}, [d]), /* @__PURE__ */ (0, V.jsx)(te, {
|
|
6502
6502
|
locale: "en",
|
|
6503
6503
|
messages: {
|
|
6504
6504
|
...t,
|
|
6505
6505
|
...(0, it.default)(w(e))
|
|
6506
6506
|
},
|
|
6507
6507
|
textComponent: Ea,
|
|
6508
|
-
children: /* @__PURE__ */ (0,
|
|
6508
|
+
children: /* @__PURE__ */ (0, V.jsx)(di, {
|
|
6509
6509
|
themeChoices: n.themeChoices,
|
|
6510
6510
|
customCssFromOptions: E().customCss,
|
|
6511
|
-
children: /* @__PURE__ */ (0,
|
|
6511
|
+
children: /* @__PURE__ */ (0, V.jsx)("div", {
|
|
6512
6512
|
className: `${ut.default.isRtlLang(h(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
6513
|
-
children: /* @__PURE__ */ (0,
|
|
6513
|
+
children: /* @__PURE__ */ (0, V.jsx)(Td, { children: /* @__PURE__ */ (0, V.jsx)(wd, {
|
|
6514
6514
|
layout: l,
|
|
6515
6515
|
verificationService: r,
|
|
6516
6516
|
renderAsLandingPage: u === "landingPage",
|
|
6517
|
-
children: /* @__PURE__ */ (0,
|
|
6518
|
-
fallback: /* @__PURE__ */ (0,
|
|
6519
|
-
children: /* @__PURE__ */ (0,
|
|
6517
|
+
children: /* @__PURE__ */ (0, V.jsx)(B.Suspense, {
|
|
6518
|
+
fallback: /* @__PURE__ */ (0, V.jsx)(ct, { step: r.loadingStep }),
|
|
6519
|
+
children: /* @__PURE__ */ (0, V.jsx)(nt, {
|
|
6520
6520
|
i18n: s,
|
|
6521
|
-
children: r.isLoading ? /* @__PURE__ */ (0,
|
|
6521
|
+
children: r.isLoading ? /* @__PURE__ */ (0, V.jsx)(ct, { step: r.loadingStep }) : /* @__PURE__ */ (0, V.jsxs)("div", { children: [!E().hideTestModeFlag && /* @__PURE__ */ (0, V.jsx)(Da, { verificationService: r }), /* @__PURE__ */ (0, V.jsx)(Ta, {
|
|
6522
6522
|
stepToLoad: r.overrideStep || r.verificationResponse.currentStep,
|
|
6523
6523
|
verificationService: r
|
|
6524
6524
|
})] })
|
|
@@ -6528,7 +6528,7 @@ var Ad = ({ locale: e, messages: t, programTheme: n, verificationService: r, pro
|
|
|
6528
6528
|
})
|
|
6529
6529
|
})
|
|
6530
6530
|
}, e);
|
|
6531
|
-
},
|
|
6531
|
+
}, Md = () => {
|
|
6532
6532
|
let e = null;
|
|
6533
6533
|
document.addEventListener("keydown", (t) => {
|
|
6534
6534
|
if (t.key !== "Tab") return;
|
|
@@ -6543,17 +6543,17 @@ var Ad = ({ locale: e, messages: t, programTheme: n, verificationService: r, pro
|
|
|
6543
6543
|
type: "focus",
|
|
6544
6544
|
focusOn: "firstElement"
|
|
6545
6545
|
});
|
|
6546
|
-
},
|
|
6546
|
+
}, Nd = () => {
|
|
6547
6547
|
window.addEventListener("message", (e) => {
|
|
6548
|
-
e.data.isInLightBox === "true" &&
|
|
6548
|
+
e.data.isInLightBox === "true" && Md();
|
|
6549
6549
|
});
|
|
6550
|
-
},
|
|
6550
|
+
}, Pd = class extends B.Component {
|
|
6551
6551
|
verificationService;
|
|
6552
6552
|
constructor(e) {
|
|
6553
6553
|
super(e), a.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? a.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : a.info("No trackingId to associate with the verification request");
|
|
6554
6554
|
}
|
|
6555
6555
|
componentDidMount() {
|
|
6556
|
-
if (d(),
|
|
6556
|
+
if (d(), Nd(), ke((e) => {
|
|
6557
6557
|
switch (e.data.action) {
|
|
6558
6558
|
case "setViewModel":
|
|
6559
6559
|
ve(e.data.viewModel, {
|
|
@@ -6581,14 +6581,14 @@ var Ad = ({ locale: e, messages: t, programTheme: n, verificationService: r, pro
|
|
|
6581
6581
|
...n,
|
|
6582
6582
|
...(0, it.default)(w(t))
|
|
6583
6583
|
};
|
|
6584
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return a.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0,
|
|
6584
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return a.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, V.jsx)(te, {
|
|
6585
6585
|
locale: "en",
|
|
6586
6586
|
messages: r,
|
|
6587
6587
|
textComponent: Ea,
|
|
6588
|
-
children: /* @__PURE__ */ (0,
|
|
6588
|
+
children: /* @__PURE__ */ (0, V.jsx)(ct, {})
|
|
6589
6589
|
}, t);
|
|
6590
6590
|
let { programTheme: i } = this.props.verificationService, { verificationResponse: o } = this.props.verificationService;
|
|
6591
|
-
return a.info("NewVerificationComponent: verificationResponse, viewModel", o, e), a.info(`NewVerificationComponent: locale: ${t}, currentStep: ${o.currentStep}, messages: `, n), /* @__PURE__ */ (0,
|
|
6591
|
+
return a.info("NewVerificationComponent: verificationResponse, viewModel", o, e), a.info(`NewVerificationComponent: locale: ${t}, currentStep: ${o.currentStep}, messages: `, n), /* @__PURE__ */ (0, V.jsx)(jd, {
|
|
6592
6592
|
locale: t,
|
|
6593
6593
|
messages: n,
|
|
6594
6594
|
programTheme: i,
|
|
@@ -6596,15 +6596,15 @@ var Ad = ({ locale: e, messages: t, programTheme: n, verificationService: r, pro
|
|
|
6596
6596
|
programId: this.props.programId
|
|
6597
6597
|
});
|
|
6598
6598
|
}
|
|
6599
|
-
},
|
|
6599
|
+
}, Fd = Se((e, t) => ({ ...e }), (e, t) => ({
|
|
6600
6600
|
dispatch: e,
|
|
6601
|
-
fetchNewVerificationRequest:
|
|
6601
|
+
fetchNewVerificationRequest: Ce(e),
|
|
6602
6602
|
fetchExistingVerificationRequest: le(e),
|
|
6603
|
-
updateViewModel:
|
|
6603
|
+
updateViewModel: we(e),
|
|
6604
6604
|
updateLocale: se(e, t.programId),
|
|
6605
6605
|
updateProgramTheme: ae(e),
|
|
6606
|
-
updateFieldValidationErrors:
|
|
6607
|
-
resetState:
|
|
6606
|
+
updateFieldValidationErrors: Te(e),
|
|
6607
|
+
resetState: Ee(e)
|
|
6608
6608
|
}), (e, t, n) => {
|
|
6609
6609
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
6610
6610
|
return {
|
|
@@ -6616,43 +6616,43 @@ var Ad = ({ locale: e, messages: t, programTheme: n, verificationService: r, pro
|
|
|
6616
6616
|
messages: e.messages,
|
|
6617
6617
|
...n
|
|
6618
6618
|
};
|
|
6619
|
-
})(
|
|
6619
|
+
})(Pd), Id = (e) => ({
|
|
6620
6620
|
kind: "program",
|
|
6621
6621
|
key: e
|
|
6622
|
-
}),
|
|
6622
|
+
}), Ld = ({ programId: e, children: t }) => /* @__PURE__ */ (0, V.jsx)(ai, {
|
|
6623
6623
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
6624
|
-
context:
|
|
6625
|
-
flags:
|
|
6624
|
+
context: Id(e),
|
|
6625
|
+
flags: Ed,
|
|
6626
6626
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
6627
6627
|
options: { streaming: !1 },
|
|
6628
6628
|
children: t
|
|
6629
|
-
}),
|
|
6629
|
+
}), Rd = me();
|
|
6630
6630
|
j(b.jslibVersionActual, r(() => Ne(), "?")), j(b.clientVersion, r(() => Ne(), "?"));
|
|
6631
|
-
var
|
|
6631
|
+
var zd = B.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
6632
6632
|
try {
|
|
6633
6633
|
oe();
|
|
6634
6634
|
} catch (e) {
|
|
6635
6635
|
a.warn("Failed to add predefined hooks", e);
|
|
6636
6636
|
}
|
|
6637
|
-
return (0,
|
|
6637
|
+
return (0, B.useEffect)(() => {
|
|
6638
6638
|
k();
|
|
6639
|
-
}),
|
|
6639
|
+
}), Rd.dispatch({
|
|
6640
6640
|
programId: e,
|
|
6641
6641
|
type: "PROGRAM_ID"
|
|
6642
6642
|
}), n && (n.current = {
|
|
6643
|
-
refresh:
|
|
6644
|
-
reset:
|
|
6645
|
-
}), /* @__PURE__ */ (0,
|
|
6646
|
-
store:
|
|
6647
|
-
children: /* @__PURE__ */ (0,
|
|
6643
|
+
refresh: B.useCallback(() => Rd.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
6644
|
+
reset: B.useCallback(() => Rd.dispatch({ type: "RESET_STATE" }), [])
|
|
6645
|
+
}), /* @__PURE__ */ (0, V.jsx)(ge, {
|
|
6646
|
+
store: Rd,
|
|
6647
|
+
children: /* @__PURE__ */ (0, V.jsx)(Ld, {
|
|
6648
6648
|
programId: e,
|
|
6649
|
-
children: /* @__PURE__ */ (0,
|
|
6649
|
+
children: /* @__PURE__ */ (0, V.jsx)(Fd, {
|
|
6650
6650
|
programId: e,
|
|
6651
6651
|
trackingId: t
|
|
6652
6652
|
})
|
|
6653
6653
|
})
|
|
6654
6654
|
});
|
|
6655
|
-
}),
|
|
6655
|
+
}), Bd = class e {
|
|
6656
6656
|
element;
|
|
6657
6657
|
programId;
|
|
6658
6658
|
trackingId;
|
|
@@ -6660,7 +6660,7 @@ var Rd = z.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
6660
6660
|
ref;
|
|
6661
6661
|
constructor(t, n, r) {
|
|
6662
6662
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
6663
|
-
a.info(`Constructing VerificationFormEs5 ${n}`), O(t), this.element = t, this.programId = n, this.trackingId = r, this.ref =
|
|
6663
|
+
a.info(`Constructing VerificationFormEs5 ${n}`), O(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = B.createRef(), this.render();
|
|
6664
6664
|
}
|
|
6665
6665
|
refresh() {
|
|
6666
6666
|
this.ref.current.refresh();
|
|
@@ -6669,7 +6669,7 @@ var Rd = z.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
6669
6669
|
this.ref.current.reset();
|
|
6670
6670
|
}
|
|
6671
6671
|
render() {
|
|
6672
|
-
at.render(/* @__PURE__ */ (0,
|
|
6672
|
+
at.render(/* @__PURE__ */ (0, V.jsx)(zd, {
|
|
6673
6673
|
programId: this.programId,
|
|
6674
6674
|
trackingId: this.trackingId,
|
|
6675
6675
|
ref: this.ref
|
|
@@ -6681,31 +6681,31 @@ var Rd = z.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
6681
6681
|
};
|
|
6682
6682
|
//#endregion
|
|
6683
6683
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
6684
|
-
function
|
|
6685
|
-
return new
|
|
6684
|
+
function Vd(e, t) {
|
|
6685
|
+
return new Bd(e, t);
|
|
6686
6686
|
}
|
|
6687
|
-
function
|
|
6687
|
+
function Hd(e) {
|
|
6688
6688
|
rt(e);
|
|
6689
6689
|
}
|
|
6690
|
-
function
|
|
6690
|
+
function Ud(e) {
|
|
6691
6691
|
pe(), y(e);
|
|
6692
6692
|
}
|
|
6693
|
-
function
|
|
6693
|
+
function Wd() {
|
|
6694
6694
|
u();
|
|
6695
6695
|
}
|
|
6696
|
-
function
|
|
6696
|
+
function Gd(e) {
|
|
6697
6697
|
y({ _launchDarklyFlagCb: e });
|
|
6698
6698
|
}
|
|
6699
|
-
function
|
|
6699
|
+
function Kd(e, t, n) {
|
|
6700
6700
|
return x(e, t, n);
|
|
6701
6701
|
}
|
|
6702
|
-
var
|
|
6703
|
-
loadInElement:
|
|
6704
|
-
getProgramMessages:
|
|
6705
|
-
getFeatureFlags:
|
|
6706
|
-
setProgramThemeChoices:
|
|
6707
|
-
setProgramOptions:
|
|
6708
|
-
resetProgramOptions:
|
|
6702
|
+
var qd = {
|
|
6703
|
+
loadInElement: Vd,
|
|
6704
|
+
getProgramMessages: Kd,
|
|
6705
|
+
getFeatureFlags: Gd,
|
|
6706
|
+
setProgramThemeChoices: Hd,
|
|
6707
|
+
setProgramOptions: Ud,
|
|
6708
|
+
resetProgramOptions: Wd
|
|
6709
6709
|
};
|
|
6710
6710
|
//#endregion
|
|
6711
|
-
export { Ai as $, Ki as A, ta as B, Ha as C, Ma as D, ja as E, zi as F, Ui as G, qi as H, Yi as I, $i as J, Li as K, Ii as L, Zi as M, Ni as N, ka as O, Pi as P, ki as Q, Qi as R, Va as S, Na as T, Ji as U, ea as V, Mi as W, ji as X, Xi as Y, Wi as Z, Do as _,
|
|
6711
|
+
export { Ai as $, Ki as A, ta as B, Ha as C, Ma as D, ja as E, zi as F, Ui as G, qi as H, Yi as I, $i as J, Li as K, Ii as L, Zi as M, Ni as N, ka as O, Pi as P, ki as Q, Qi as R, Va as S, Na as T, Ji as U, ea as V, Mi as W, ji as X, Xi as Y, Wi as Z, Do as _, jl as a, li as at, Za as b, Ol as c, ot as ct, ul as d, qd as default, Di as et, ol as f, Uc as g, Gd as getFeatureFlags, Kd as getProgramMessages, al as h, Vu as i, mi as it, Fi as j, oa as k, _l as l, Vd as loadInElement, sl as m, Sd as n, wi as nt, Ml as o, si as ot, cl as p, Oi as q, bd as r, Wd as resetProgramOptions, _i as rt, Pl as s, Ud as setProgramOptions, Hd as setProgramThemeChoices, ct as st, Ad as t, Ei as tt, fl as u, fo as v, Fa as w, Ua as x, ao as y, Gi as z };
|