@sheerid/jslib 2.315.0 → 2.316.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 +856 -852
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-uhBMgV3q.js → AddressComponent-BxavEqNN.js} +14 -13
- package/chunk/{AddressComponent-BUOibRxr.js.map → AddressComponent-BxavEqNN.js.map} +1 -1
- package/chunk/{AddressComponent-BUOibRxr.js → AddressComponent-D2mEkfix.js} +14 -13
- package/chunk/{AddressComponent-uhBMgV3q.js.map → AddressComponent-D2mEkfix.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CM01vEpF.js → AnnouncingHeader-C3W0VQzV.js} +6 -6
- package/chunk/{AnnouncingHeader-CM01vEpF.js.map → AnnouncingHeader-C3W0VQzV.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CSh0UW8I.js → AnnouncingHeader-OtaykXZw.js} +6 -6
- package/chunk/{AnnouncingHeader-CSh0UW8I.js.map → AnnouncingHeader-OtaykXZw.js.map} +1 -1
- package/chunk/ApiUrls-C604MmkC.js +36 -0
- package/chunk/ApiUrls-C604MmkC.js.map +1 -0
- package/chunk/ApiUrls-DC453lFN.js +32 -0
- package/chunk/ApiUrls-DC453lFN.js.map +1 -0
- package/chunk/BirthDateComponent-BwcAqOFe.js +38 -0
- package/chunk/{BirthDateComponent-DEm62ubJ.js.map → BirthDateComponent-BwcAqOFe.js.map} +1 -1
- package/chunk/{BirthDateComponent-DEm62ubJ.js → BirthDateComponent-d6voii3J.js} +14 -13
- package/chunk/{BirthDateComponent-i59ScGu6.js.map → BirthDateComponent-d6voii3J.js.map} +1 -1
- package/chunk/{CaptchaComponent-BD4yKfJR.js → CaptchaComponent-Cw4MkQRy.js} +151 -150
- package/chunk/{CaptchaComponent-g9Ye-t7Z.js.map → CaptchaComponent-Cw4MkQRy.js.map} +1 -1
- package/chunk/{CaptchaComponent-g9Ye-t7Z.js → CaptchaComponent-Da7DkPA_.js} +128 -127
- package/chunk/{CaptchaComponent-BD4yKfJR.js.map → CaptchaComponent-Da7DkPA_.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Drpt_vzW.js → ChangeLocaleComponent--uRPSHsI.js} +27 -26
- package/chunk/{ChangeLocaleComponent-Drpt_vzW.js.map → ChangeLocaleComponent--uRPSHsI.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DBoMb2NA.js → ChangeLocaleComponent-CUEmQuoA.js} +27 -26
- package/chunk/{ChangeLocaleComponent-DBoMb2NA.js.map → ChangeLocaleComponent-CUEmQuoA.js.map} +1 -1
- package/chunk/{City-IKHXV6fA.js → City-CR2xigNn.js} +14 -13
- package/chunk/{City-IKHXV6fA.js.map → City-CR2xigNn.js.map} +1 -1
- package/chunk/City-DoccJLpM.js +37 -0
- package/chunk/{City-gBRdOIsP.js.map → City-DoccJLpM.js.map} +1 -1
- package/chunk/CollegeNameComponent-DwA9T43o.js +41 -0
- package/chunk/{CollegeNameComponent-CQvKnECH.js.map → CollegeNameComponent-DwA9T43o.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DpMt-iEi.js → CollegeNameComponent-gIG7563E.js} +18 -17
- package/chunk/{CollegeNameComponent-DpMt-iEi.js.map → CollegeNameComponent-gIG7563E.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BN9qCovT.js → CopyToClipboardComponent-DdLZvzfB.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BN9qCovT.js.map → CopyToClipboardComponent-DdLZvzfB.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Dag4rxf8.js → CopyToClipboardComponent-De_3_3VT.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Dag4rxf8.js.map → CopyToClipboardComponent-De_3_3VT.js.map} +1 -1
- package/chunk/CountryComponentWrapper-D6bRhqUP.js +84 -0
- package/chunk/{CountryComponentWrapper-A-NCx760.js.map → CountryComponentWrapper-D6bRhqUP.js.map} +1 -1
- package/chunk/CountryComponentWrapper-PZKJeo-8.js +80 -0
- package/chunk/{CountryComponentWrapper-DHUcGCUF.js.map → CountryComponentWrapper-PZKJeo-8.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CifKJfBT.js → DischargeDateComponent-DllDTFXI.js} +39 -37
- package/chunk/{DischargeDateComponent-CifKJfBT.js.map → DischargeDateComponent-DllDTFXI.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DAeyxPdd.js → DischargeDateComponent-sCHfnq4x.js} +42 -40
- package/chunk/{DischargeDateComponent-DAeyxPdd.js.map → DischargeDateComponent-sCHfnq4x.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-4I1cN8DR.js → DriverLicenseNumberComponent-CdRJgKXz.js} +15 -14
- package/chunk/{DriverLicenseNumberComponent-4I1cN8DR.js.map → DriverLicenseNumberComponent-CdRJgKXz.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-ej0LVqRI.js → DriverLicenseNumberComponent-iE4uZhjY.js} +15 -14
- package/chunk/{DriverLicenseNumberComponent-ej0LVqRI.js.map → DriverLicenseNumberComponent-iE4uZhjY.js.map} +1 -1
- package/chunk/{EmailLoopPending-DQ4KVVzP.js → EmailLoopPending-B3Y7-M0k.js} +32 -30
- package/chunk/{EmailLoopPending-DQ4KVVzP.js.map → EmailLoopPending-B3Y7-M0k.js.map} +1 -1
- package/chunk/{EmailLoopPending-DnPlbLqA.js → EmailLoopPending-DPEx2yPl.js} +28 -26
- package/chunk/{EmailLoopPending-DnPlbLqA.js.map → EmailLoopPending-DPEx2yPl.js.map} +1 -1
- package/chunk/{ExtraMessage-CzchllLx.js → ExtraMessage-CR5rN46Q.js} +7 -7
- package/chunk/{ExtraMessage-CzchllLx.js.map → ExtraMessage-CR5rN46Q.js.map} +1 -1
- package/chunk/{ExtraMessage-v4rZ0l8r.js → ExtraMessage-Dy5YujvI.js} +7 -7
- package/chunk/{ExtraMessage-v4rZ0l8r.js.map → ExtraMessage-Dy5YujvI.js.map} +1 -1
- package/chunk/FirstResponderOrganizationComponent-Bnqi3SpC.js +39 -0
- package/chunk/{FirstResponderOrganizationComponent-DUn8PxZo.js.map → FirstResponderOrganizationComponent-Bnqi3SpC.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DUn8PxZo.js → FirstResponderOrganizationComponent-CrsqGhmT.js} +17 -16
- package/chunk/{FirstResponderOrganizationComponent-JsNBGiPH.js.map → FirstResponderOrganizationComponent-CrsqGhmT.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CtLIp6NY.js → FormFieldInputSelect-DCe1fl-X.js} +7 -7
- package/chunk/{FormFieldInputSelect-CtLIp6NY.js.map → FormFieldInputSelect-DCe1fl-X.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DzfYVFe2.js → FormFieldInputSelect-wzL--dyG.js} +7 -7
- package/chunk/{FormFieldInputSelect-DzfYVFe2.js.map → FormFieldInputSelect-wzL--dyG.js.map} +1 -1
- package/chunk/{FormFieldLayout-KJilu-sR.js → FormFieldLayout-Cx2ljZnE.js} +6 -6
- package/chunk/{FormFieldLayout-KJilu-sR.js.map → FormFieldLayout-Cx2ljZnE.js.map} +1 -1
- package/chunk/{FormFieldLayout-UCIBwDRH.js → FormFieldLayout-eZlxsUFO.js} +6 -6
- package/chunk/{FormFieldLayout-UCIBwDRH.js.map → FormFieldLayout-eZlxsUFO.js.map} +1 -1
- package/chunk/{FormFieldText-B_2IOFED.js → FormFieldText-BqN10-Wh.js} +7 -7
- package/chunk/{FormFieldText-B_2IOFED.js.map → FormFieldText-BqN10-Wh.js.map} +1 -1
- package/chunk/{FormFieldText-CkPmuIPf.js → FormFieldText-CSfUMOnT.js} +7 -7
- package/chunk/{FormFieldText-CkPmuIPf.js.map → FormFieldText-CSfUMOnT.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BQGJX1il.js → FormFieldTypeahead-CP2_PAIw.js} +139 -137
- package/chunk/{FormFieldTypeahead-BQGJX1il.js.map → FormFieldTypeahead-CP2_PAIw.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BjsW2DUM.js → FormFieldTypeahead-CoH3Km-j.js} +132 -130
- package/chunk/{FormFieldTypeahead-BjsW2DUM.js.map → FormFieldTypeahead-CoH3Km-j.js.map} +1 -1
- package/chunk/{FormFooterComponent-B7fUP0wx.js → FormFooterComponent-BNcMAlwo.js} +502 -502
- package/chunk/{FormFooterComponent-B7fUP0wx.js.map → FormFooterComponent-BNcMAlwo.js.map} +1 -1
- package/chunk/{FormFooterComponent-BTfz7YAX.js → FormFooterComponent-CCnomymd.js} +256 -256
- package/chunk/{FormFooterComponent-BTfz7YAX.js.map → FormFooterComponent-CCnomymd.js.map} +1 -1
- package/chunk/{FormSelectChoice-DN3XV8go.js → FormSelectChoice-BtoOF4T1.js} +25 -24
- package/chunk/FormSelectChoice-BtoOF4T1.js.map +1 -0
- package/chunk/{FormSelectChoice-DGDSioEg.js → FormSelectChoice-OvLHNUCT.js} +29 -28
- package/chunk/FormSelectChoice-OvLHNUCT.js.map +1 -0
- package/chunk/{InputText-C2qEtF0t.js → InputText-CofmfudI.js} +6 -6
- package/chunk/{InputText-Bvj815Th.js.map → InputText-CofmfudI.js.map} +1 -1
- package/chunk/{InputText-Bvj815Th.js → InputText-Dcl3FSxA.js} +6 -6
- package/chunk/{InputText-C2qEtF0t.js.map → InputText-Dcl3FSxA.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-C43VAUdy.js → LicensedProfessionalOrganizationComponent-BpaFeYR-.js} +17 -16
- package/chunk/{LicensedProfessionalOrganizationComponent-DEwASktt.js.map → LicensedProfessionalOrganizationComponent-BpaFeYR-.js.map} +1 -1
- package/chunk/LicensedProfessionalOrganizationComponent-Do2puR4-.js +38 -0
- package/chunk/{LicensedProfessionalOrganizationComponent-C43VAUdy.js.map → LicensedProfessionalOrganizationComponent-Do2puR4-.js.map} +1 -1
- package/chunk/{LogoComponent-C2diSRfu.js → LogoComponent-1FE2nzPz.js} +10 -9
- package/chunk/{LogoComponent-BoEYsksW.js.map → LogoComponent-1FE2nzPz.js.map} +1 -1
- package/chunk/LogoComponent-Dwrer09q.js +28 -0
- package/chunk/{LogoComponent-C2diSRfu.js.map → LogoComponent-Dwrer09q.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-D9qAHj0m.js → LowIncomeOrganizationComponent-ClsRb34i.js} +37 -35
- package/chunk/{LowIncomeOrganizationComponent-bijYf_Ae.js.map → LowIncomeOrganizationComponent-ClsRb34i.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-bijYf_Ae.js → LowIncomeOrganizationComponent-DtM5LGeH.js} +34 -32
- package/chunk/{LowIncomeOrganizationComponent-D9qAHj0m.js.map → LowIncomeOrganizationComponent-DtM5LGeH.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CMDxCj_U.js → MedicalProfessionalOrganizationComponent-BGx4efvQ.js} +17 -16
- package/chunk/{MedicalProfessionalOrganizationComponent-CsZ0PEb5.js.map → MedicalProfessionalOrganizationComponent-BGx4efvQ.js.map} +1 -1
- package/chunk/MedicalProfessionalOrganizationComponent-DH-kRN2y.js +39 -0
- package/chunk/{MedicalProfessionalOrganizationComponent-CMDxCj_U.js.map → MedicalProfessionalOrganizationComponent-DH-kRN2y.js.map} +1 -1
- package/chunk/{MemberIdComponent-B9vrsE-q.js → MemberIdComponent-Bwd8_Zby.js} +15 -14
- package/chunk/{MemberIdComponent-JTyvLPTU.js.map → MemberIdComponent-Bwd8_Zby.js.map} +1 -1
- package/chunk/MemberIdComponent-Op5eJ6S1.js +40 -0
- package/chunk/{MemberIdComponent-B9vrsE-q.js.map → MemberIdComponent-Op5eJ6S1.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-C5dWGUPp.js → MembershipOrganizationComponent-B7Xe1YGg.js} +17 -16
- package/chunk/{MembershipOrganizationComponent-Dwnrko48.js.map → MembershipOrganizationComponent-B7Xe1YGg.js.map} +1 -1
- package/chunk/MembershipOrganizationComponent-jn62suuT.js +38 -0
- package/chunk/{MembershipOrganizationComponent-C5dWGUPp.js.map → MembershipOrganizationComponent-jn62suuT.js.map} +1 -1
- package/chunk/Message-B40rYRnQ.js +660 -0
- package/chunk/Message-B40rYRnQ.js.map +1 -0
- package/chunk/Message-DeYfEIfJ.js +656 -0
- package/chunk/Message-DeYfEIfJ.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-Ds_-FUfA.js → PersonalInfoStepSubmitButton-CT7lguuZ.js} +32 -31
- package/chunk/{PersonalInfoStepSubmitButton-Ds_-FUfA.js.map → PersonalInfoStepSubmitButton-CT7lguuZ.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-vpNt-1XI.js → PersonalInfoStepSubmitButton-jF2Q-TQ1.js} +42 -41
- package/chunk/{PersonalInfoStepSubmitButton-vpNt-1XI.js.map → PersonalInfoStepSubmitButton-jF2Q-TQ1.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CyCuyImb.js → PersonalInfoStepWrapper-8bWmgyhA.js} +10 -10
- package/chunk/{PersonalInfoStepWrapper-CyCuyImb.js.map → PersonalInfoStepWrapper-8bWmgyhA.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CJzVOQ_x.js → PersonalInfoStepWrapper-Wq0T4gth.js} +17 -17
- package/chunk/PersonalInfoStepWrapper-Wq0T4gth.js.map +1 -0
- package/chunk/{PostalCodeComponent-IMgjUHRf.js → PostalCodeComponent-CM7B9nbQ.js} +14 -13
- package/chunk/{PostalCodeComponent-IMgjUHRf.js.map → PostalCodeComponent-CM7B9nbQ.js.map} +1 -1
- package/chunk/{PostalCodeComponent-B25YSrIO.js → PostalCodeComponent-DOaiP-XH.js} +14 -13
- package/chunk/{PostalCodeComponent-B25YSrIO.js.map → PostalCodeComponent-DOaiP-XH.js.map} +1 -1
- package/chunk/{SSN-BjBIZSyh.js → SSN-CLdLfiNj.js} +16 -15
- package/chunk/{SSN-BjBIZSyh.js.map → SSN-CLdLfiNj.js.map} +1 -1
- package/chunk/{SSN-0xlUI5ik.js → SSN-CxrFw1Bw.js} +14 -13
- package/chunk/{SSN-0xlUI5ik.js.map → SSN-CxrFw1Bw.js.map} +1 -1
- package/chunk/{StateSelectComponent-uKT0CUkG.js → StateSelectComponent-Bs0zMXwM.js} +14 -13
- package/chunk/{StateSelectComponent-uKT0CUkG.js.map → StateSelectComponent-Bs0zMXwM.js.map} +1 -1
- package/chunk/{StateSelectComponent-aAvCOLUg.js → StateSelectComponent-CDUxaxhl.js} +12 -11
- package/chunk/{StateSelectComponent-aAvCOLUg.js.map → StateSelectComponent-CDUxaxhl.js.map} +1 -1
- package/chunk/{StatusComponent-CmqMjhRY.js → StatusComponent-B9xHqfyT.js} +14 -13
- package/chunk/{StatusComponent-CmqMjhRY.js.map → StatusComponent-B9xHqfyT.js.map} +1 -1
- package/chunk/StatusComponent-wmBrTgh8.js +42 -0
- package/chunk/{StatusComponent-DqlhdO7Q.js.map → StatusComponent-wmBrTgh8.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-8s929DzY.js +177 -0
- package/chunk/{StepAgePersonalInfo-BMB7unTI.js.map → StepAgePersonalInfo-8s929DzY.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-Bbh1q-Ny.js +173 -0
- package/chunk/{StepAgePersonalInfo-D0vIoD_n.js.map → StepAgePersonalInfo-Bbh1q-Ny.js.map} +1 -1
- package/chunk/{StepCard-BEucy3JJ.js → StepCard-C1asZqmo.js} +5 -5
- package/chunk/{StepCard-BEucy3JJ.js.map → StepCard-C1asZqmo.js.map} +1 -1
- package/chunk/{StepCard-Blp7ZcI-.js → StepCard-CSGX5DWE.js} +5 -5
- package/chunk/{StepCard-Blp7ZcI-.js.map → StepCard-CSGX5DWE.js.map} +1 -1
- package/chunk/StepCollectIdentifier-BnKW0Kpp.js +61 -0
- package/chunk/{StepCollectIdentifier-RF_12KR0.js.map → StepCollectIdentifier-BnKW0Kpp.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-RF_12KR0.js → StepCollectIdentifier-eNuejbhk.js} +20 -19
- package/chunk/{StepCollectIdentifier-B_IWZFnm.js.map → StepCollectIdentifier-eNuejbhk.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CTniITbD.js → StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js} +40 -35
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D9Z8yHB3.js.map → StepCollectMilitaryPersonalInfoComponent-CvVnTjMm.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D9Z8yHB3.js → StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js} +42 -45
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CTniITbD.js.map → StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-Bxj7rasK.js +373 -0
- package/chunk/{StepCollectPersonalInfo-CYAL3QrN.js.map → StepCollectPersonalInfo-Bxj7rasK.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-DmTVCQ3_.js +369 -0
- package/chunk/{StepCollectPersonalInfo-Bmu7n4bc.js.map → StepCollectPersonalInfo-DmTVCQ3_.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Ds3ieihr.js → StepCompleteAuthentication-Bjs9HhHK.js} +30 -25
- package/chunk/{StepCompleteAuthentication-Ds3ieihr.js.map → StepCompleteAuthentication-Bjs9HhHK.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-B_0EZ3mH.js → StepCompleteAuthentication-CK8SYf3r.js} +31 -34
- package/chunk/{StepCompleteAuthentication-B_0EZ3mH.js.map → StepCompleteAuthentication-CK8SYf3r.js.map} +1 -1
- package/chunk/{StepConsolation-D12aSsuO.js → StepConsolation-Do3BvzLY.js} +27 -25
- package/chunk/{StepConsolation-mzf-Xvuk.js.map → StepConsolation-Do3BvzLY.js.map} +1 -1
- package/chunk/{StepConsolation-mzf-Xvuk.js → StepConsolation-qIEGxdup.js} +24 -22
- package/chunk/{StepConsolation-D12aSsuO.js.map → StepConsolation-qIEGxdup.js.map} +1 -1
- package/chunk/{StepDocUpload-_qGcWolC.js → StepDocUpload-DZFVexGs.js} +109 -108
- package/chunk/{StepDocUpload-BZ1I9-VI.js.map → StepDocUpload-DZFVexGs.js.map} +1 -1
- package/chunk/{StepDocUpload-BZ1I9-VI.js → StepDocUpload-Dwczk00D.js} +479 -478
- package/chunk/{StepDocUpload-_qGcWolC.js.map → StepDocUpload-Dwczk00D.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BRLFwKvG.js → StepDriverLicensePersonalInfoComponent-BWtUxbIw.js} +30 -25
- package/chunk/{StepDriverLicensePersonalInfoComponent-BRLFwKvG.js.map → StepDriverLicensePersonalInfoComponent-BWtUxbIw.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DTjd9EPj.js → StepDriverLicensePersonalInfoComponent-CE_p8hWp.js} +47 -50
- package/chunk/{StepDriverLicensePersonalInfoComponent-DTjd9EPj.js.map → StepDriverLicensePersonalInfoComponent-CE_p8hWp.js.map} +1 -1
- package/chunk/{StepEmailLoop-2ftuvoPd.js → StepEmailLoop-CPF3-q6j.js} +33 -32
- package/chunk/{StepEmailLoop-2ftuvoPd.js.map → StepEmailLoop-CPF3-q6j.js.map} +1 -1
- package/chunk/{StepEmailLoop-CqjFTe3c.js → StepEmailLoop-CuJwIM1_.js} +35 -34
- package/chunk/{StepEmailLoop-CqjFTe3c.js.map → StepEmailLoop-CuJwIM1_.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-D7Dp0Cg4.js → StepEmploymentPersonalInfo-D5nZkseJ.js} +75 -78
- package/chunk/{StepEmploymentPersonalInfo-B-iW-S7t.js.map → StepEmploymentPersonalInfo-D5nZkseJ.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-B-iW-S7t.js → StepEmploymentPersonalInfo-DkDvxjer.js} +60 -55
- package/chunk/{StepEmploymentPersonalInfo-D7Dp0Cg4.js.map → StepEmploymentPersonalInfo-DkDvxjer.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-LhAbOSlA.js → StepFirstResponderPersonalInfo-CLxwkudV.js} +39 -39
- package/chunk/{StepFirstResponderPersonalInfo-LhAbOSlA.js.map → StepFirstResponderPersonalInfo-CLxwkudV.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CPSAt1KD.js → StepFirstResponderPersonalInfo-HdJfcO_z.js} +37 -37
- package/chunk/{StepFirstResponderPersonalInfo-CPSAt1KD.js.map → StepFirstResponderPersonalInfo-HdJfcO_z.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-t9Kkem2-.js → StepGeneralIdentityPersonalInfoComponent-DJ-NhRjo.js} +52 -55
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-t9Kkem2-.js.map → StepGeneralIdentityPersonalInfoComponent-DJ-NhRjo.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CgtkLEB0.js → StepGeneralIdentityPersonalInfoComponent-xgXKl9_S.js} +32 -27
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CgtkLEB0.js.map → StepGeneralIdentityPersonalInfoComponent-xgXKl9_S.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BUMAYXNM.js → StepHybridIdentityPersonalInfoComponent-BjSAtSa6.js} +54 -57
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BUMAYXNM.js.map → StepHybridIdentityPersonalInfoComponent-BjSAtSa6.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-iHwo3WsG.js → StepHybridIdentityPersonalInfoComponent-DIJLJ-No.js} +33 -28
- package/chunk/{StepHybridIdentityPersonalInfoComponent-iHwo3WsG.js.map → StepHybridIdentityPersonalInfoComponent-DIJLJ-No.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CLclpa5W.js → StepIDCheckLoop-DUYjdP69.js} +8 -8
- package/chunk/{StepIDCheckLoop-CLclpa5W.js.map → StepIDCheckLoop-DUYjdP69.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CHAvBy1v.js → StepIDCheckLoop-qIX2zLc8.js} +8 -8
- package/chunk/{StepIDCheckLoop-CHAvBy1v.js.map → StepIDCheckLoop-qIX2zLc8.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DSXpRkVG.js → StepIDCheckLoopOnfido-CV3kt9oK.js} +81 -79
- package/chunk/{StepIDCheckLoopOnfido-DSXpRkVG.js.map → StepIDCheckLoopOnfido-CV3kt9oK.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BvBFfhtv.js → StepIDCheckLoopOnfido-tvPCLWF8.js} +66 -64
- package/chunk/{StepIDCheckLoopOnfido-BvBFfhtv.js.map → StepIDCheckLoopOnfido-tvPCLWF8.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B1ScLVSh.js → StepIDCheckLoopRegula-BILUu5tf.js} +41 -40
- package/chunk/{StepIDCheckLoopRegula-B1ScLVSh.js.map → StepIDCheckLoopRegula-BILUu5tf.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BX_r_E4L.js → StepIDCheckLoopRegula-De-6wF71.js} +52 -51
- package/chunk/{StepIDCheckLoopRegula-BX_r_E4L.js.map → StepIDCheckLoopRegula-De-6wF71.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-PDja7OV9.js → StepLicensedProfessionalPersonalInfo-1usJS0LC.js} +35 -30
- package/chunk/{StepLicensedProfessionalPersonalInfo-D6e0aKcx.js.map → StepLicensedProfessionalPersonalInfo-1usJS0LC.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-D6e0aKcx.js → StepLicensedProfessionalPersonalInfo-CG3ysYv5.js} +57 -60
- package/chunk/{StepLicensedProfessionalPersonalInfo-PDja7OV9.js.map → StepLicensedProfessionalPersonalInfo-CG3ysYv5.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-D2qFMg0V.js → StepLowIncomePersonalInfo-BDfU93Fg.js} +83 -83
- package/chunk/{StepLowIncomePersonalInfo-D2qFMg0V.js.map → StepLowIncomePersonalInfo-BDfU93Fg.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BDgG3QSv.js → StepLowIncomePersonalInfo-Gb1n2pGQ.js} +80 -80
- package/chunk/{StepLowIncomePersonalInfo-BDgG3QSv.js.map → StepLowIncomePersonalInfo-Gb1n2pGQ.js.map} +1 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-39h1tErA.js +209 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-BC0lr1WI.js.map → StepMedicalProfessionalPersonalInfo-39h1tErA.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BC0lr1WI.js → StepMedicalProfessionalPersonalInfo-DMrAMdhg.js} +79 -74
- package/chunk/{StepMedicalProfessionalPersonalInfo-1XPLI2W3.js.map → StepMedicalProfessionalPersonalInfo-DMrAMdhg.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-BaXygfnb.js +160 -0
- package/chunk/{StepMemberPersonalInfo-BFKv1wPh.js.map → StepMemberPersonalInfo-BaXygfnb.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-BcAmXMmQ.js +156 -0
- package/chunk/{StepMemberPersonalInfo-RyxtQuwt.js.map → StepMemberPersonalInfo-BcAmXMmQ.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-BGrXmC7p.js +143 -0
- package/chunk/{StepMoverPersonalInfo-BX_5wilp.js.map → StepMoverPersonalInfo-BGrXmC7p.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-BaKNdrcZ.js +147 -0
- package/chunk/{StepMoverPersonalInfo-Cl4UiqSf.js.map → StepMoverPersonalInfo-BaKNdrcZ.js.map} +1 -1
- package/chunk/{StepOverrideComponent-mD4Wijhb.js → StepOverrideComponent-BB3pmLMm.js} +35 -34
- package/chunk/{StepOverrideComponent-mD4Wijhb.js.map → StepOverrideComponent-BB3pmLMm.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CPCNavii.js → StepOverrideComponent-Bs0kS5Fn.js} +32 -31
- package/chunk/{StepOverrideComponent-CPCNavii.js.map → StepOverrideComponent-Bs0kS5Fn.js.map} +1 -1
- package/chunk/{StepSMSLoop-l4LDphcg.js → StepSMSLoop-BzPFHGko.js} +45 -39
- package/chunk/{StepSMSLoop-DE9FVO3o.js.map → StepSMSLoop-BzPFHGko.js.map} +1 -1
- package/chunk/{StepSMSLoop-DE9FVO3o.js → StepSMSLoop-ChHl3FJv.js} +37 -39
- package/chunk/{StepSMSLoop-l4LDphcg.js.map → StepSMSLoop-ChHl3FJv.js.map} +1 -1
- package/chunk/StepSSO-Bx1gQq5b.js +4 -4
- package/chunk/StepSSO-Cy9ViRyN.js +4 -4
- package/chunk/{StepSocialSecurityNumber-DPstxLu3.js → StepSocialSecurityNumber-D-MJ_k8J.js} +39 -38
- package/chunk/{StepSocialSecurityNumber-Bjru8M0j.js.map → StepSocialSecurityNumber-D-MJ_k8J.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-Bjru8M0j.js → StepSocialSecurityNumber-DWVLAzbC.js} +36 -35
- package/chunk/{StepSocialSecurityNumber-DPstxLu3.js.map → StepSocialSecurityNumber-DWVLAzbC.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-BBZZ7gam.js +237 -0
- package/chunk/{StepStudentPersonalInfo-BIewd34q.js.map → StepStudentPersonalInfo-BBZZ7gam.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-BUc4GbpM.js +233 -0
- package/chunk/{StepStudentPersonalInfo-DRvZ3Vtb.js.map → StepStudentPersonalInfo-BUc4GbpM.js.map} +1 -1
- package/chunk/{StepSuccess-Dh1ycMJX.js → StepSuccess-CZdiXPoC.js} +59 -57
- package/chunk/{StepSuccess-Dh1ycMJX.js.map → StepSuccess-CZdiXPoC.js.map} +1 -1
- package/chunk/{StepSuccess-XOl1mdFQ.js → StepSuccess-l84qE6Kp.js} +49 -47
- package/chunk/{StepSuccess-XOl1mdFQ.js.map → StepSuccess-l84qE6Kp.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-Bn402aTO.js +153 -0
- package/chunk/{StepTeacherPersonalInfo-ip_pVe12.js.map → StepTeacherPersonalInfo-Bn402aTO.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-BuMUyAcB.js +157 -0
- package/chunk/{StepTeacherPersonalInfo-B8foLmZZ.js.map → StepTeacherPersonalInfo-BuMUyAcB.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BFizJiyZ.js +4 -4
- package/chunk/StepThirdPartyLoop-C9d7QWS3.js +4 -4
- package/chunk/TeacherSchoolComponent-D9ZZzXXt.js +41 -0
- package/chunk/{TeacherSchoolComponent-kPobTv7N.js.map → TeacherSchoolComponent-D9ZZzXXt.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-nB-dP00I.js → TeacherSchoolComponent-uIDJa9LF.js} +18 -17
- package/chunk/{TeacherSchoolComponent-nB-dP00I.js.map → TeacherSchoolComponent-uIDJa9LF.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-DXjtFZZd.js → TestingRouteOverrides-Dq_tcy8v.js} +32 -32
- package/chunk/TestingRouteOverrides-Dq_tcy8v.js.map +1 -0
- package/chunk/{TestingRouteOverrides-fnlJLg1Z.js → TestingRouteOverrides-FmMiDhr9.js} +30 -30
- package/chunk/TestingRouteOverrides-FmMiDhr9.js.map +1 -0
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{Message-YS1p6ov3.js → VerificationApiClient-D-j3JgWo.js} +326 -970
- package/chunk/VerificationApiClient-D-j3JgWo.js.map +1 -0
- package/chunk/{Message-CexO4eZq.js → VerificationApiClient-DbvSVsoF.js} +331 -975
- package/chunk/VerificationApiClient-DbvSVsoF.js.map +1 -0
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-DC8twM4t.js +4 -4
- package/chunk/countryUtils-Ckbc78Ow.js +12 -0
- package/chunk/{countryUtils-DqbdyVbZ.js.map → countryUtils-Ckbc78Ow.js.map} +1 -1
- package/chunk/{countryUtils-R4Q_aquD.js → countryUtils-DGu3xN9n.js} +5 -5
- package/chunk/{countryUtils-R4Q_aquD.js.map → countryUtils-DGu3xN9n.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-D2aHUCbq.js → downshift.esm-BHmrbwB5.js} +156 -151
- package/chunk/{downshift.esm-DQMomT6K.js.map → downshift.esm-BHmrbwB5.js.map} +1 -1
- package/chunk/{downshift.esm-DQMomT6K.js → downshift.esm-Bo38bpfV.js} +135 -138
- package/chunk/{downshift.esm-D2aHUCbq.js.map → downshift.esm-Bo38bpfV.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{intl-BK4prEGw.js → empties-DtevBq9w.js} +819 -469
- package/chunk/empties-DtevBq9w.js.map +1 -0
- package/chunk/{i18next-iyVj5hRL.js → empties-xLh6FzDA.js} +685 -333
- package/chunk/empties-xLh6FzDA.js.map +1 -0
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/getInstallType-BRxisNNY.js +4 -4
- package/chunk/getInstallType-DlS_DNKt.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-D0X_qdc-.js → hooks-D4L3tNqJ.js} +59 -56
- package/chunk/{hooks-D0X_qdc-.js.map → hooks-D4L3tNqJ.js.map} +1 -1
- package/chunk/{hooks-B7aeAwHn.js → hooks-df3XJbin.js} +81 -86
- package/chunk/{hooks-B7aeAwHn.js.map → hooks-df3XJbin.js.map} +1 -1
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{jsx-runtime-BUMIo32n.js → index.es-Cir3-TDI.js} +496 -895
- package/chunk/index.es-Cir3-TDI.js.map +1 -0
- package/chunk/{jsx-runtime-DwmrsRqi.js → index.es-Dw43pp1V.js} +496 -895
- package/chunk/index.es-Dw43pp1V.js.map +1 -0
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-DQgZVOUX.js +414 -0
- package/chunk/jsx-runtime-DQgZVOUX.js.map +1 -0
- package/chunk/jsx-runtime-h9ybVYa3.js +410 -0
- package/chunk/jsx-runtime-h9ybVYa3.js.map +1 -0
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramBranding-C9Ysu3Mp.js +4 -4
- package/chunk/mockProgramConfiguration-BNqSCrMG.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
- package/chunk/{mocks-DV23paUj.js → mocks-D7frr82N.js} +5 -5
- package/chunk/{mocks-DV23paUj.js.map → mocks-D7frr82N.js.map} +1 -1
- package/chunk/{mocks-R-p7VtJz.js → mocks-jT71x7MH.js} +5 -5
- package/chunk/{mocks-R-p7VtJz.js.map → mocks-jT71x7MH.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-BEzpDnQy.js → programThemeGetters-B2hrl_I4.js} +378 -398
- package/chunk/programThemeGetters-B2hrl_I4.js.map +1 -0
- package/chunk/{programThemeGetters-0iwXNOx6.js → programThemeGetters-BhNmQw7_.js} +1743 -1766
- package/chunk/programThemeGetters-BhNmQw7_.js.map +1 -0
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-Dztw-HNP.js → stepComponentHelpers-3SlH9niv.js} +36 -37
- package/chunk/{stepComponentHelpers-CyqXTDdj.js.map → stepComponentHelpers-3SlH9niv.js.map} +1 -1
- package/chunk/{stepComponentHelpers-CyqXTDdj.js → stepComponentHelpers-BcYAcI_q.js} +26 -27
- package/chunk/{stepComponentHelpers-Dztw-HNP.js.map → stepComponentHelpers-BcYAcI_q.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/useCollectFieldsEndpoint-1jasoT_J.js +64 -0
- package/chunk/{useCollectFieldsEndpoint-BbzTOhC3.js.map → useCollectFieldsEndpoint-1jasoT_J.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-BbzTOhC3.js → useCollectFieldsEndpoint-CE4ZmnRu.js} +21 -20
- package/chunk/{useCollectFieldsEndpoint-CKn8va6d.js.map → useCollectFieldsEndpoint-CE4ZmnRu.js.map} +1 -1
- package/chunk/{useMetrics-O66_lNx5.js → useMetrics-B96ha_3m.js} +16 -16
- package/chunk/{useMetrics-O66_lNx5.js.map → useMetrics-B96ha_3m.js.map} +1 -1
- package/chunk/{useMetrics-C13Ap129.js → useMetrics-BV3Mnauz.js} +16 -16
- package/chunk/{useMetrics-C13Ap129.js.map → useMetrics-BV3Mnauz.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +1054 -1049
- package/sheerid.js.map +1 -1
- package/chunk/BirthDateComponent-i59ScGu6.js +0 -37
- package/chunk/City-gBRdOIsP.js +0 -36
- package/chunk/CollegeNameComponent-CQvKnECH.js +0 -40
- package/chunk/CountryComponentWrapper-A-NCx760.js +0 -84
- package/chunk/CountryComponentWrapper-DHUcGCUF.js +0 -80
- package/chunk/FirstResponderOrganizationComponent-JsNBGiPH.js +0 -38
- package/chunk/FormSelectChoice-DGDSioEg.js.map +0 -1
- package/chunk/FormSelectChoice-DN3XV8go.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-DEwASktt.js +0 -37
- package/chunk/LogoComponent-BoEYsksW.js +0 -27
- package/chunk/MedicalProfessionalOrganizationComponent-CsZ0PEb5.js +0 -38
- package/chunk/MemberIdComponent-JTyvLPTU.js +0 -39
- package/chunk/MembershipOrganizationComponent-Dwnrko48.js +0 -37
- package/chunk/Message-CexO4eZq.js.map +0 -1
- package/chunk/Message-YS1p6ov3.js.map +0 -1
- package/chunk/PersonalInfoStepWrapper-CJzVOQ_x.js.map +0 -1
- package/chunk/StatusComponent-DqlhdO7Q.js +0 -41
- package/chunk/StepAgePersonalInfo-BMB7unTI.js +0 -172
- package/chunk/StepAgePersonalInfo-D0vIoD_n.js +0 -176
- package/chunk/StepCollectIdentifier-B_IWZFnm.js +0 -60
- package/chunk/StepCollectPersonalInfo-Bmu7n4bc.js +0 -372
- package/chunk/StepCollectPersonalInfo-CYAL3QrN.js +0 -368
- package/chunk/StepMedicalProfessionalPersonalInfo-1XPLI2W3.js +0 -212
- package/chunk/StepMemberPersonalInfo-BFKv1wPh.js +0 -155
- package/chunk/StepMemberPersonalInfo-RyxtQuwt.js +0 -159
- package/chunk/StepMoverPersonalInfo-BX_5wilp.js +0 -146
- package/chunk/StepMoverPersonalInfo-Cl4UiqSf.js +0 -142
- package/chunk/StepStudentPersonalInfo-BIewd34q.js +0 -236
- package/chunk/StepStudentPersonalInfo-DRvZ3Vtb.js +0 -232
- package/chunk/StepTeacherPersonalInfo-B8foLmZZ.js +0 -152
- package/chunk/StepTeacherPersonalInfo-ip_pVe12.js +0 -156
- package/chunk/TeacherSchoolComponent-kPobTv7N.js +0 -40
- package/chunk/TestingRouteOverrides-DXjtFZZd.js.map +0 -1
- package/chunk/TestingRouteOverrides-fnlJLg1Z.js.map +0 -1
- package/chunk/countryUtils-DqbdyVbZ.js +0 -12
- package/chunk/empties-BBKd53_B.js +0 -363
- package/chunk/empties-BBKd53_B.js.map +0 -1
- package/chunk/empties-DcQjcgEV.js +0 -367
- package/chunk/empties-DcQjcgEV.js.map +0 -1
- package/chunk/i18next-iyVj5hRL.js.map +0 -1
- package/chunk/intl-BK4prEGw.js.map +0 -1
- package/chunk/jsx-runtime-BUMIo32n.js.map +0 -1
- package/chunk/jsx-runtime-DwmrsRqi.js.map +0 -1
- package/chunk/programThemeGetters-0iwXNOx6.js.map +0 -1
- package/chunk/programThemeGetters-BEzpDnQy.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-CKn8va6d.js +0 -63
package/sheerid.js
CHANGED
|
@@ -1,35 +1,38 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Nov 04 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.316.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1793815392848
|
|
5
|
+
* BUILD_DATE: Wed Nov 04 2026 18:03:12 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: bb665aedf7c454e7b96109378831b676a31ea9eb
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { D as A, E as
|
|
11
|
-
import { S as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { i as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
8
|
+
import { A as e, Dt as t, E as n, F as r, Lt as i, O as a, P as o, Q as s, T as c, b as l, bt as u, d, g as f, h as p, j as m, k as h, lt as g, m as _, mt as v, ot as y, p as b, pt as x, u as S, v as C, w, x as T, xt as E, y as D, yt as ee, zt as O } from "./chunk/empties-xLh6FzDA.js";
|
|
9
|
+
import { r as k, t as te } from "./chunk/jsx-runtime-h9ybVYa3.js";
|
|
10
|
+
import { D as A, E as j, M as ne, O as re, R as ie, S as ae, _ as oe, a as se, c as ce, d as le, f as ue, g as de, h as fe, i as pe, j as me, k as he, l as ge, m as _e, o as ve, s as ye, t as be } from "./chunk/programThemeGetters-BhNmQw7_.js";
|
|
11
|
+
import { S as M, b as N, h as xe, o as Se, x as Ce } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
12
|
+
import { i as we, r as Te, t as P } from "./chunk/Message-DeYfEIfJ.js";
|
|
13
|
+
import { f as Ee, l as De, o as Oe, p as ke, s as Ae, t as je, u as Me } from "./chunk/VerificationApiClient-DbvSVsoF.js";
|
|
14
|
+
import { n as Ne, t as Pe } from "./chunk/getInstallType-DlS_DNKt.js";
|
|
15
|
+
import { p as Fe } from "./chunk/ApiUrls-DC453lFN.js";
|
|
16
|
+
import { i as Ie, n as Le, r as Re } from "./chunk/TestingRouteOverrides-FmMiDhr9.js";
|
|
17
|
+
import { A as ze, D as Be, O as Ve, _ as He, a as Ue, b as We, c as Ge, d as Ke, f as qe, g as Je, h as Ye, i as Xe, j as Ze, k as Qe, l as $e, m as et, n as tt, o as nt, p as rt, r as it, s as at, t as ot, u as st, v as ct, y as lt } from "./chunk/FormFooterComponent-CCnomymd.js";
|
|
18
|
+
import { a as ut, i as dt, n as ft, r as pt, t as mt } from "./chunk/hooks-df3XJbin.js";
|
|
19
|
+
import { i as ht, s as gt, t as _t } from "./chunk/refs-Mq0rtW9K.js";
|
|
20
|
+
import { r as vt, t as F } from "./chunk/index.es-Dw43pp1V.js";
|
|
21
|
+
import { t as yt } from "./chunk/LogoComponent-Dwrer09q.js";
|
|
22
|
+
import { t as bt } from "./chunk/strings-DWLVdUcm.js";
|
|
23
|
+
import { t as xt } from "./chunk/AnnouncingHeader-C3W0VQzV.js";
|
|
21
24
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
22
|
-
var
|
|
23
|
-
function
|
|
24
|
-
let r = (0,
|
|
25
|
+
var I = /* @__PURE__ */ O(k());
|
|
26
|
+
function St({ i18n: e, defaultNS: t, children: n }) {
|
|
27
|
+
let r = (0, I.useMemo)(() => ({
|
|
25
28
|
i18n: e,
|
|
26
29
|
defaultNS: t
|
|
27
30
|
}), [e, t]);
|
|
28
|
-
return (0,
|
|
31
|
+
return (0, I.createElement)(we.Provider, { value: r }, n);
|
|
29
32
|
}
|
|
30
33
|
//#endregion
|
|
31
34
|
//#region ../node_modules/rtl-detect/lib/rtl-detect.js
|
|
32
|
-
var
|
|
35
|
+
var Ct = /* @__PURE__ */ i(((e, t) => {
|
|
33
36
|
var n, r = n = {
|
|
34
37
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
35
38
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -96,13 +99,13 @@ var Tt = /* @__PURE__ */ n(((e, t) => {
|
|
|
96
99
|
enumerable: !0,
|
|
97
100
|
configurable: !1
|
|
98
101
|
}), t.exports = r;
|
|
99
|
-
})),
|
|
100
|
-
var n =
|
|
102
|
+
})), wt = /* @__PURE__ */ i(((e, t) => {
|
|
103
|
+
var n = Ct();
|
|
101
104
|
t.exports = {
|
|
102
105
|
isRtlLang: n.isRtlLang,
|
|
103
106
|
getLangDir: n.getLangDir
|
|
104
107
|
};
|
|
105
|
-
})),
|
|
108
|
+
})), Tt = /* @__PURE__ */ O(ie(), 1), Et = /* @__PURE__ */ O(v(), 1), Dt = /* @__PURE__ */ O(Ee(), 1), Ot = /* @__PURE__ */ O(wt(), 1), L = {
|
|
106
109
|
landingBackgroundColor: "#fff",
|
|
107
110
|
landingPrimaryFontColor: "#000",
|
|
108
111
|
landingBackgroundImage: "none",
|
|
@@ -116,7 +119,7 @@ var Tt = /* @__PURE__ */ n(((e, t) => {
|
|
|
116
119
|
formFont: "var(--sheerid-font-family-sans)",
|
|
117
120
|
cssVariables: null,
|
|
118
121
|
customStyles: null
|
|
119
|
-
},
|
|
122
|
+
}, kt = I.createContext(L), R = te(), z = {
|
|
120
123
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
121
124
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
122
125
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -130,7 +133,7 @@ var Tt = /* @__PURE__ */ n(((e, t) => {
|
|
|
130
133
|
formFont: "--sheerid-font-family-body",
|
|
131
134
|
cssVariables: null,
|
|
132
135
|
customStyles: null
|
|
133
|
-
},
|
|
136
|
+
}, At = {
|
|
134
137
|
"--sheerid-color-fg-05": {
|
|
135
138
|
from: "--sheerid-color-bg",
|
|
136
139
|
to: "--sheerid-color-fg",
|
|
@@ -241,25 +244,25 @@ var Tt = /* @__PURE__ */ n(((e, t) => {
|
|
|
241
244
|
to: "--sheerid-color-fg",
|
|
242
245
|
percentage: 3
|
|
243
246
|
}
|
|
244
|
-
},
|
|
245
|
-
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 ||
|
|
246
|
-
[
|
|
247
|
-
[
|
|
248
|
-
[
|
|
249
|
-
[
|
|
250
|
-
[
|
|
251
|
-
[
|
|
252
|
-
[
|
|
253
|
-
[
|
|
254
|
-
[
|
|
255
|
-
[
|
|
256
|
-
[
|
|
257
|
-
...Object.entries(
|
|
247
|
+
}, jt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
248
|
+
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 || L.landingBackgroundColor, c = o?.primaryFontColor || L.landingPrimaryFontColor, l = o?.backgroundImageUrl || L.landingBackgroundImage, u = e?.backgroundColor || L.formBackgroundColor, d = e?.primaryFontColor || L.formPrimaryFontColor, f = e?.buttonColor || L.formButtonColor, p = e?.buttonFontColor || L.formButtonFontColor, m = e?.linkColor || L.formLinkColor, h = e?.h1FontColor || L.formH1FontColor, g = e?.helperFontColor || L.formHelperFontColor, _ = e?.font || L.formFont, v = {
|
|
249
|
+
[z.landingBackgroundColor]: s,
|
|
250
|
+
[z.landingPrimaryFontColor]: c,
|
|
251
|
+
[z.landingBackgroundImage]: l === L.landingBackgroundImage ? L.landingBackgroundImage : `url(${l})`,
|
|
252
|
+
[z.formBackgroundColor]: u,
|
|
253
|
+
[z.formPrimaryFontColor]: d,
|
|
254
|
+
[z.formButtonColor]: f,
|
|
255
|
+
[z.formButtonFontColor]: p,
|
|
256
|
+
[z.formLinkColor]: m,
|
|
257
|
+
[z.formH1FontColor]: h,
|
|
258
|
+
[z.formHelperFontColor]: g,
|
|
259
|
+
[z.formFont]: _ === L.formFont ? L.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
260
|
+
...Object.entries(At).reduce((e, [t, n]) => {
|
|
258
261
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
259
262
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
260
263
|
}, {})
|
|
261
|
-
}, y =
|
|
262
|
-
return /* @__PURE__ */ (0,
|
|
264
|
+
}, y = I.useRef(null), b = Ne() === Pe.cdnInlineIframe, x = Ne() === Pe.cdnModalIframe;
|
|
265
|
+
return /* @__PURE__ */ (0, R.jsx)(kt.Provider, {
|
|
263
266
|
value: {
|
|
264
267
|
landingBackgroundColor: s,
|
|
265
268
|
landingPrimaryFontColor: c,
|
|
@@ -275,15 +278,15 @@ var Tt = /* @__PURE__ */ n(((e, t) => {
|
|
|
275
278
|
cssVariables: v,
|
|
276
279
|
customStyles: a
|
|
277
280
|
},
|
|
278
|
-
children: /* @__PURE__ */ (0,
|
|
281
|
+
children: /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
279
282
|
style: v,
|
|
280
283
|
ref: y,
|
|
281
284
|
"data-in-iframe": b,
|
|
282
285
|
"data-in-modal": x,
|
|
283
|
-
children: [a && /* @__PURE__ */ (0,
|
|
286
|
+
children: [a && /* @__PURE__ */ (0, R.jsx)("style", { children: a }), n]
|
|
284
287
|
})
|
|
285
288
|
});
|
|
286
|
-
},
|
|
289
|
+
}, Mt = (e, t, n) => ({
|
|
287
290
|
minAge: t?.minAge || e?.minAge,
|
|
288
291
|
maxAge: t?.maxAge || e?.maxAge,
|
|
289
292
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -291,164 +294,166 @@ var Tt = /* @__PURE__ */ n(((e, t) => {
|
|
|
291
294
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
292
295
|
currentStep: t?.currentStep,
|
|
293
296
|
viewModel: n
|
|
294
|
-
}),
|
|
295
|
-
|
|
296
|
-
},
|
|
297
|
-
|
|
298
|
-
},
|
|
297
|
+
}), Nt = {}, Pt = (e, t) => {
|
|
298
|
+
M.log(`overrideComponent registering ${e}`), Nt[e] = t;
|
|
299
|
+
}, Ft = (e) => Nt[e] ? (M.log(`getOverridenComponent returning ${e}`), Nt[e]) : null, It = () => {
|
|
300
|
+
Nt = {};
|
|
301
|
+
}, Lt = () => /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
299
302
|
className: "sid-spinner",
|
|
300
303
|
"data-testid": "sid-spinner",
|
|
301
304
|
children: [
|
|
302
|
-
/* @__PURE__ */ (0,
|
|
303
|
-
/* @__PURE__ */ (0,
|
|
304
|
-
/* @__PURE__ */ (0,
|
|
305
|
-
/* @__PURE__ */ (0,
|
|
305
|
+
/* @__PURE__ */ (0, R.jsx)("div", { className: "sid-spinner__frame" }),
|
|
306
|
+
/* @__PURE__ */ (0, R.jsx)("div", { className: "sid-spinner__frame" }),
|
|
307
|
+
/* @__PURE__ */ (0, R.jsx)("div", { className: "sid-spinner__frame" }),
|
|
308
|
+
/* @__PURE__ */ (0, R.jsx)("div", { className: "sid-spinner__frame" })
|
|
306
309
|
]
|
|
307
|
-
})
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
id: "step.personalInfo.verifyingSubtitle"
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
310
|
+
});
|
|
311
|
+
//#endregion
|
|
312
|
+
//#region src/components/LoadingScreen/LoadingScreenMessage.tsx
|
|
313
|
+
function Rt({ step: e }) {
|
|
314
|
+
return /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
315
|
+
className: "sid-loading-screen__message",
|
|
316
|
+
children: [Ce(e) && /* @__PURE__ */ (0, R.jsx)("div", {
|
|
317
|
+
className: "sid-loading-screen__message-header",
|
|
318
|
+
role: "alert",
|
|
319
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: "step.personalInfo.verifyingTitle" })
|
|
320
|
+
}), /* @__PURE__ */ (0, R.jsx)("div", {
|
|
321
|
+
className: "sid-loading-screen__message-subhead",
|
|
322
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: "step.personalInfo.verifyingSubtitle" })
|
|
323
|
+
})]
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
//#endregion
|
|
327
|
+
//#region src/components/LoadingScreen/LoadingScreenComponent.tsx
|
|
328
|
+
var zt = ({ step: e }) => /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
324
329
|
className: "sid-loading-screen",
|
|
325
|
-
children: [/* @__PURE__ */ (0,
|
|
326
|
-
}),
|
|
330
|
+
children: [/* @__PURE__ */ (0, R.jsx)(Lt, {}), e && /* @__PURE__ */ (0, R.jsx)(Rt, { step: e })]
|
|
331
|
+
}), Bt = ({ verificationService: e, linkText: t }) => {
|
|
327
332
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
328
333
|
if (n) {
|
|
329
|
-
let a =
|
|
330
|
-
return /* @__PURE__ */ (0,
|
|
334
|
+
let a = be(i, n, r, b(e.viewModel), e.verificationResponse);
|
|
335
|
+
return /* @__PURE__ */ (0, R.jsx)(Te, {
|
|
331
336
|
className: "sid-faq sid-link",
|
|
332
337
|
href: a,
|
|
333
|
-
children: t || /* @__PURE__ */ (0,
|
|
338
|
+
children: t || /* @__PURE__ */ (0, R.jsx)(F, {
|
|
334
339
|
id: "getHelp",
|
|
335
340
|
defaultMessage: "Get help"
|
|
336
341
|
})
|
|
337
342
|
});
|
|
338
343
|
}
|
|
339
344
|
return null;
|
|
340
|
-
},
|
|
345
|
+
}, Vt = /* @__PURE__ */ (0, R.jsx)(F, {
|
|
341
346
|
id: "poweredBy",
|
|
342
347
|
defaultMessage: "Verification services powered by SheerID."
|
|
343
|
-
}),
|
|
348
|
+
}), Ht = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
344
349
|
switch (n) {
|
|
345
|
-
case "poweredby": return /* @__PURE__ */ (0,
|
|
350
|
+
case "poweredby": return /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
346
351
|
className: "sid-footer__powered-by-container-experiment",
|
|
347
|
-
children: [/* @__PURE__ */ (0,
|
|
352
|
+
children: [/* @__PURE__ */ (0, R.jsx)("div", {
|
|
348
353
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
349
|
-
children:
|
|
350
|
-
}), !r && /* @__PURE__ */ (0,
|
|
354
|
+
children: Vt
|
|
355
|
+
}), !r && /* @__PURE__ */ (0, R.jsx)("div", {
|
|
351
356
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
352
|
-
children: /* @__PURE__ */ (0,
|
|
357
|
+
children: /* @__PURE__ */ (0, R.jsx)(Bt, { verificationService: e })
|
|
353
358
|
})]
|
|
354
359
|
});
|
|
355
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
360
|
+
case "verificationby": return /* @__PURE__ */ (0, R.jsx)("div", {
|
|
356
361
|
className: "sid-footer__powered-by-container--stacked sid-l-horz-center sid-footer__powered-by-experiment",
|
|
357
|
-
children: /* @__PURE__ */ (0,
|
|
362
|
+
children: /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
358
363
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
359
|
-
children: [/* @__PURE__ */ (0,
|
|
364
|
+
children: [/* @__PURE__ */ (0, R.jsx)("div", {
|
|
360
365
|
className: "sid-footer__powered-by-icon-experiment",
|
|
361
|
-
children: /* @__PURE__ */ (0,
|
|
366
|
+
children: /* @__PURE__ */ (0, R.jsx)("img", {
|
|
362
367
|
alt: "",
|
|
363
368
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
364
369
|
})
|
|
365
|
-
}),
|
|
370
|
+
}), Vt]
|
|
366
371
|
})
|
|
367
372
|
});
|
|
368
|
-
default: return /* @__PURE__ */ (0,
|
|
373
|
+
default: return /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
369
374
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
370
|
-
children: [/* @__PURE__ */ (0,
|
|
375
|
+
children: [/* @__PURE__ */ (0, R.jsx)("div", {
|
|
371
376
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
372
|
-
children:
|
|
373
|
-
}), !r && /* @__PURE__ */ (0,
|
|
377
|
+
children: Vt
|
|
378
|
+
}), !r && /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
374
379
|
className: t ? "sid-l-space-top-sm" : "",
|
|
375
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
380
|
+
children: ["\xA0", /* @__PURE__ */ (0, R.jsx)(Bt, { verificationService: e })]
|
|
376
381
|
})]
|
|
377
382
|
});
|
|
378
383
|
}
|
|
379
|
-
},
|
|
380
|
-
let n =
|
|
384
|
+
}, Ut = (e, t) => {
|
|
385
|
+
let n = I.useRef(null);
|
|
381
386
|
function r() {
|
|
382
387
|
clearInterval(n.current);
|
|
383
388
|
}
|
|
384
|
-
return
|
|
385
|
-
},
|
|
386
|
-
let a =
|
|
387
|
-
return /* @__PURE__ */ (0,
|
|
389
|
+
return I.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
390
|
+
}, Wt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = qt.PRIMARY }) => {
|
|
391
|
+
let a = bt(e);
|
|
392
|
+
return /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
388
393
|
className: "sid-header sid-l-horz-center",
|
|
389
394
|
children: [
|
|
390
|
-
/* @__PURE__ */ (0,
|
|
395
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
391
396
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
392
397
|
children: n
|
|
393
398
|
}),
|
|
394
|
-
/* @__PURE__ */ (0,
|
|
399
|
+
/* @__PURE__ */ (0, R.jsx)(xt, {
|
|
395
400
|
align: "center",
|
|
396
401
|
children: t.title
|
|
397
402
|
}),
|
|
398
|
-
/* @__PURE__ */ (0,
|
|
403
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
399
404
|
className: "sid-header__subtitle-one",
|
|
400
405
|
children: t.subtitle
|
|
401
406
|
}),
|
|
402
|
-
t?.subtitle2 && /* @__PURE__ */ (0,
|
|
403
|
-
/* @__PURE__ */ (0,
|
|
407
|
+
t?.subtitle2 && /* @__PURE__ */ (0, R.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
408
|
+
/* @__PURE__ */ (0, R.jsxs)("div", {
|
|
404
409
|
className: "sid-header__subtitle-two sid-h-small-text sid-l-space-top-md",
|
|
405
|
-
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0,
|
|
410
|
+
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0, R.jsx)("div", {
|
|
406
411
|
className: `sid-form-region sid-${a}-pending-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
407
|
-
children: /* @__PURE__ */ (0,
|
|
412
|
+
children: /* @__PURE__ */ (0, R.jsx)("button", {
|
|
408
413
|
onClick: r,
|
|
409
414
|
type: "submit",
|
|
410
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
415
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === qt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
411
416
|
"aria-label": "submit",
|
|
412
417
|
children: t.cancel
|
|
413
418
|
})
|
|
414
419
|
})]
|
|
415
420
|
}),
|
|
416
|
-
t?.subtitle2 ? /* @__PURE__ */ (0,
|
|
421
|
+
t?.subtitle2 ? /* @__PURE__ */ (0, R.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, R.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
417
422
|
]
|
|
418
423
|
});
|
|
419
|
-
},
|
|
424
|
+
}, Gt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = qt.PRIMARY }) => /* @__PURE__ */ (0, R.jsx)(Wt, {
|
|
420
425
|
messages: t,
|
|
421
426
|
stepName: e,
|
|
422
427
|
logo: n,
|
|
423
428
|
cancelSingleSignOn: r,
|
|
424
429
|
cancelButtonType: i
|
|
425
|
-
}),
|
|
426
|
-
let i =
|
|
427
|
-
return /* @__PURE__ */ (0,
|
|
430
|
+
}), Kt = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
431
|
+
let i = mt("hc-my-sheer-id-theme-builder");
|
|
432
|
+
return /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
428
433
|
className: "sid-header sid-l-horz-center",
|
|
429
434
|
children: [
|
|
430
|
-
/* @__PURE__ */ (0,
|
|
435
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
431
436
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
432
|
-
children: /* @__PURE__ */ (0,
|
|
437
|
+
children: /* @__PURE__ */ (0, R.jsx)(yt, {
|
|
433
438
|
verificationService: t,
|
|
434
|
-
fallbackLogo: !i && /* @__PURE__ */ (0,
|
|
439
|
+
fallbackLogo: !i && /* @__PURE__ */ (0, R.jsx)("img", {
|
|
435
440
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
436
441
|
alt: "",
|
|
437
442
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"
|
|
438
443
|
})
|
|
439
444
|
})
|
|
440
445
|
}),
|
|
441
|
-
/* @__PURE__ */ (0,
|
|
446
|
+
/* @__PURE__ */ (0, R.jsx)(xt, {
|
|
442
447
|
align: "center",
|
|
443
448
|
children: e.title
|
|
444
449
|
}),
|
|
445
|
-
/* @__PURE__ */ (0,
|
|
450
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
446
451
|
className: "sid-header__subtitle-one",
|
|
447
452
|
children: e.subtitle
|
|
448
453
|
}),
|
|
449
|
-
/* @__PURE__ */ (0,
|
|
454
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
450
455
|
className: `sid-form-region sid-${r}-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
451
|
-
children: /* @__PURE__ */ (0,
|
|
456
|
+
children: /* @__PURE__ */ (0, R.jsx)("button", {
|
|
452
457
|
id: `sid-submit-btn-${r}`,
|
|
453
458
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
454
459
|
type: "submit",
|
|
@@ -456,200 +461,200 @@ var Tt = /* @__PURE__ */ n(((e, t) => {
|
|
|
456
461
|
children: e.login
|
|
457
462
|
})
|
|
458
463
|
}),
|
|
459
|
-
/* @__PURE__ */ (0,
|
|
464
|
+
/* @__PURE__ */ (0, R.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
460
465
|
]
|
|
461
466
|
});
|
|
462
|
-
},
|
|
467
|
+
}, qt = /* @__PURE__ */ function(e) {
|
|
463
468
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
464
|
-
}({}),
|
|
465
|
-
let { programId:
|
|
469
|
+
}({}), Jt = ({ verificationService: e, stepName: t, messages: r, cancelButtonType: i = "primary" }) => {
|
|
470
|
+
let { programId: a } = e, o = e.viewModel, s = e.previousViewModel || void 0, c = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, p = Ie(), m = bt(t), g = mt("hc-my-sheer-id-theme-builder"), _, v = /* @__PURE__ */ (0, R.jsx)(yt, {
|
|
466
471
|
verificationService: e,
|
|
467
|
-
fallbackLogo: !g && /* @__PURE__ */ (0,
|
|
468
|
-
className: `sid-${
|
|
472
|
+
fallbackLogo: !g && /* @__PURE__ */ (0, R.jsx)("img", {
|
|
473
|
+
className: `sid-${m}-logo-default sid-l-lead-image`,
|
|
469
474
|
alt: "",
|
|
470
475
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
471
476
|
})
|
|
472
|
-
}),
|
|
473
|
-
e.fetchExistingVerificationRequest(
|
|
474
|
-
}, 1e3),
|
|
475
|
-
let r =
|
|
477
|
+
}), y = () => setTimeout(() => {
|
|
478
|
+
e.fetchExistingVerificationRequest(a, d, l, s);
|
|
479
|
+
}, 1e3), b = (t, n) => {
|
|
480
|
+
let r = u(o, (e) => {
|
|
476
481
|
e[t] = n;
|
|
477
482
|
});
|
|
478
483
|
e.updateViewModel(r);
|
|
479
484
|
}, S = () => {
|
|
480
|
-
|
|
481
|
-
programId:
|
|
482
|
-
locale:
|
|
483
|
-
verificationId:
|
|
484
|
-
}),
|
|
485
|
-
let
|
|
486
|
-
|
|
485
|
+
h(n.SSO_CANCEL_CLICKED, {
|
|
486
|
+
programId: a,
|
|
487
|
+
locale: f,
|
|
488
|
+
verificationId: d
|
|
489
|
+
}), _t();
|
|
490
|
+
let r = u(o, () => {});
|
|
491
|
+
M.info("SingleSignOnComponent submitting cancel request"), clearTimeout(_), e.submitStep(t, r, e.verificationResponse);
|
|
487
492
|
}, C = (e, t) => {
|
|
488
|
-
|
|
489
|
-
programId:
|
|
490
|
-
locale:
|
|
491
|
-
verificationId:
|
|
492
|
-
}),
|
|
493
|
+
h(n.SSO_SIGN_IN_CLICKED, {
|
|
494
|
+
programId: a,
|
|
495
|
+
locale: f,
|
|
496
|
+
verificationId: d
|
|
497
|
+
}), b(e, t), w();
|
|
493
498
|
}, w = () => {
|
|
494
|
-
let e = t ===
|
|
495
|
-
|
|
499
|
+
let e = t === N.sso ? Oe(c.loginUrl) : c.loginUrl;
|
|
500
|
+
x(e) ? (gt(window.open(e, "_blank")), ht().focus()) : M.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
496
501
|
};
|
|
497
|
-
return
|
|
498
|
-
id: `sid-step-${
|
|
499
|
-
className: `sid-${
|
|
500
|
-
"data-testid": `sid-step-${
|
|
501
|
-
children: [/* @__PURE__ */ (0,
|
|
502
|
+
return o.isSingleSignOnActive && !p && (_ = y()), !o.countryChoice && s && s.countryChoice && b("countryChoice", s.countryChoice), /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
503
|
+
id: `sid-step-${m}`,
|
|
504
|
+
className: `sid-${m}-container sid-l-container`,
|
|
505
|
+
"data-testid": `sid-step-${m}`,
|
|
506
|
+
children: [/* @__PURE__ */ (0, R.jsx)("div", {
|
|
502
507
|
role: "main",
|
|
503
|
-
children:
|
|
508
|
+
children: o.isSingleSignOnActive ? /* @__PURE__ */ (0, R.jsx)(Gt, {
|
|
504
509
|
stepName: t,
|
|
505
|
-
messages:
|
|
506
|
-
logo:
|
|
510
|
+
messages: r,
|
|
511
|
+
logo: v,
|
|
507
512
|
cancelSingleSignOn: S,
|
|
508
|
-
cancelButtonType:
|
|
509
|
-
}) : /* @__PURE__ */ (0,
|
|
513
|
+
cancelButtonType: i
|
|
514
|
+
}) : /* @__PURE__ */ (0, R.jsx)(Kt, {
|
|
510
515
|
verificationService: e,
|
|
511
|
-
messages:
|
|
516
|
+
messages: r,
|
|
512
517
|
updateViewModelAndOpenLoginTab: C,
|
|
513
|
-
dashedStepName:
|
|
518
|
+
dashedStepName: m
|
|
514
519
|
})
|
|
515
|
-
}), /* @__PURE__ */ (0,
|
|
520
|
+
}), /* @__PURE__ */ (0, R.jsx)(ot, { verificationService: e })]
|
|
516
521
|
});
|
|
517
|
-
},
|
|
518
|
-
title: /* @__PURE__ */ (0,
|
|
522
|
+
}, Yt = {
|
|
523
|
+
title: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
519
524
|
id: "step.sso.title",
|
|
520
525
|
defaultMessage: "Verify using your school credentials",
|
|
521
526
|
tagName: "h1"
|
|
522
527
|
}),
|
|
523
|
-
subtitle: /* @__PURE__ */ (0,
|
|
528
|
+
subtitle: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
524
529
|
id: "step.sso.subtitle",
|
|
525
530
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
526
531
|
}),
|
|
527
|
-
login: /* @__PURE__ */ (0,
|
|
532
|
+
login: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
528
533
|
id: "step.sso.login",
|
|
529
534
|
defaultMessage: "Sign in to my school"
|
|
530
535
|
}),
|
|
531
|
-
cancel: /* @__PURE__ */ (0,
|
|
536
|
+
cancel: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
532
537
|
id: "step.sso.cancel",
|
|
533
538
|
defaultMessage: "Upload Proof of Enrollment"
|
|
534
539
|
}),
|
|
535
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
540
|
+
subtitle2: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
536
541
|
id: "step.sso.subtitle2",
|
|
537
542
|
defaultMessage: "Can't sign in to your school?"
|
|
538
543
|
})
|
|
539
|
-
},
|
|
544
|
+
}, Xt = ({ verificationService: e }) => /* @__PURE__ */ (0, R.jsx)(Jt, {
|
|
540
545
|
verificationService: e,
|
|
541
|
-
stepName:
|
|
542
|
-
messages:
|
|
543
|
-
}),
|
|
546
|
+
stepName: N.sso,
|
|
547
|
+
messages: Yt
|
|
548
|
+
}), Zt = ({ logo: e }) => /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
544
549
|
className: "sid-header sid-l-horz-center",
|
|
545
550
|
"data-testid": "sid-review-pending",
|
|
546
551
|
children: [
|
|
547
|
-
/* @__PURE__ */ (0,
|
|
552
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
548
553
|
className: "sid-l-horz-center",
|
|
549
554
|
children: e
|
|
550
555
|
}),
|
|
551
|
-
/* @__PURE__ */ (0,
|
|
556
|
+
/* @__PURE__ */ (0, R.jsx)(xt, {
|
|
552
557
|
align: "center",
|
|
553
|
-
children: /* @__PURE__ */ (0,
|
|
558
|
+
children: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
554
559
|
id: "step.pending.titleReview",
|
|
555
560
|
defaultMessage: "Reviewing",
|
|
556
561
|
tagName: "h1"
|
|
557
562
|
})
|
|
558
563
|
}),
|
|
559
|
-
/* @__PURE__ */ (0,
|
|
564
|
+
/* @__PURE__ */ (0, R.jsx)("div", { children: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
560
565
|
id: "step.pending.uploadedDocument",
|
|
561
566
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
562
567
|
}) }),
|
|
563
|
-
/* @__PURE__ */ (0,
|
|
568
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
564
569
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
565
|
-
children: /* @__PURE__ */ (0,
|
|
570
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: "step.pending.turnaroundTime" })
|
|
566
571
|
}),
|
|
567
|
-
/* @__PURE__ */ (0,
|
|
572
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
568
573
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
569
|
-
children: /* @__PURE__ */ (0,
|
|
574
|
+
children: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
570
575
|
id: "step.pending.subtitle2",
|
|
571
576
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
572
577
|
})
|
|
573
578
|
}),
|
|
574
|
-
/* @__PURE__ */ (0,
|
|
579
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
575
580
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
576
|
-
children: /* @__PURE__ */ (0,
|
|
581
|
+
children: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
577
582
|
id: "step.pending.subtitle3",
|
|
578
583
|
defaultMessage: "You will be contacted via email."
|
|
579
584
|
})
|
|
580
585
|
}),
|
|
581
|
-
/* @__PURE__ */ (0,
|
|
586
|
+
/* @__PURE__ */ (0, R.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
582
587
|
]
|
|
583
|
-
}),
|
|
588
|
+
}), Qt = ({ logo: e }) => /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
584
589
|
className: "sid-header sid-l-horz-center",
|
|
585
590
|
"data-testid": "sid-review-pending",
|
|
586
591
|
children: [
|
|
587
|
-
/* @__PURE__ */ (0,
|
|
592
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
588
593
|
className: "sid-l-horz-center",
|
|
589
594
|
children: e
|
|
590
595
|
}),
|
|
591
|
-
/* @__PURE__ */ (0,
|
|
596
|
+
/* @__PURE__ */ (0, R.jsx)(xt, {
|
|
592
597
|
align: "center",
|
|
593
|
-
children: /* @__PURE__ */ (0,
|
|
598
|
+
children: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
594
599
|
id: "step.pending.idCheckLoop.title",
|
|
595
600
|
defaultMessage: "We're reviewing your documents",
|
|
596
601
|
tagName: "h1"
|
|
597
602
|
})
|
|
598
603
|
}),
|
|
599
|
-
/* @__PURE__ */ (0,
|
|
604
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
600
605
|
className: "sid-header__subtitle-one",
|
|
601
|
-
children: /* @__PURE__ */ (0,
|
|
606
|
+
children: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
602
607
|
id: "step.pending.idCheckLoop.subtitle",
|
|
603
608
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
604
609
|
})
|
|
605
610
|
}),
|
|
606
|
-
/* @__PURE__ */ (0,
|
|
611
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
607
612
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
608
|
-
children: /* @__PURE__ */ (0,
|
|
613
|
+
children: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
609
614
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
610
615
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
611
616
|
})
|
|
612
617
|
}),
|
|
613
|
-
/* @__PURE__ */ (0,
|
|
618
|
+
/* @__PURE__ */ (0, R.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
614
619
|
]
|
|
615
|
-
}),
|
|
616
|
-
title: /* @__PURE__ */ (0,
|
|
620
|
+
}), $t = { [xe.SIGNZY]: {
|
|
621
|
+
title: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
617
622
|
id: "step.thirdPartyLoop.signzy.title",
|
|
618
623
|
tagName: "h1",
|
|
619
624
|
defaultMessage: "Verify using DigiLocker"
|
|
620
625
|
}),
|
|
621
|
-
subtitle: /* @__PURE__ */ (0,
|
|
626
|
+
subtitle: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
622
627
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
623
628
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
624
629
|
}),
|
|
625
|
-
login: /* @__PURE__ */ (0,
|
|
630
|
+
login: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
626
631
|
id: "step.thirdPartyLoop.signzy.login",
|
|
627
632
|
defaultMessage: "Sign in to DigiLocker"
|
|
628
633
|
}),
|
|
629
|
-
cancel: /* @__PURE__ */ (0,
|
|
634
|
+
cancel: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
630
635
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
631
636
|
defaultMessage: "Upload Proof of Identity"
|
|
632
637
|
})
|
|
633
|
-
} },
|
|
634
|
-
let n = /* @__PURE__ */ (0,
|
|
638
|
+
} }, en = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
639
|
+
let n = /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
635
640
|
className: "sid-header sid-l-horz-center",
|
|
636
641
|
children: [
|
|
637
|
-
/* @__PURE__ */ (0,
|
|
642
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
638
643
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
639
644
|
children: e
|
|
640
645
|
}),
|
|
641
|
-
/* @__PURE__ */ (0,
|
|
646
|
+
/* @__PURE__ */ (0, R.jsx)(xt, {
|
|
642
647
|
align: "center",
|
|
643
|
-
children: /* @__PURE__ */ (0,
|
|
648
|
+
children: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
644
649
|
id: "error",
|
|
645
650
|
tagName: "h1"
|
|
646
651
|
})
|
|
647
652
|
}),
|
|
648
|
-
/* @__PURE__ */ (0,
|
|
653
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
649
654
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
650
|
-
children: /* @__PURE__ */ (0,
|
|
655
|
+
children: /* @__PURE__ */ (0, R.jsx)("div", {
|
|
651
656
|
className: "sid-error-msg sid-l-horz-center",
|
|
652
|
-
children: /* @__PURE__ */ (0,
|
|
657
|
+
children: /* @__PURE__ */ (0, R.jsx)(F, {
|
|
653
658
|
id: "step.thirdPartyLoop.error",
|
|
654
659
|
defaultMessage: "Provider not supported"
|
|
655
660
|
})
|
|
@@ -657,243 +662,243 @@ var Tt = /* @__PURE__ */ n(((e, t) => {
|
|
|
657
662
|
})
|
|
658
663
|
]
|
|
659
664
|
});
|
|
660
|
-
return /* @__PURE__ */ (0,
|
|
665
|
+
return /* @__PURE__ */ (0, R.jsx)("div", {
|
|
661
666
|
id: "sid-step-third-party-loop",
|
|
662
667
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
663
668
|
"data-testid": "sid-step-third-party-loop-error",
|
|
664
|
-
children: t ? /* @__PURE__ */ (0,
|
|
669
|
+
children: t ? /* @__PURE__ */ (0, R.jsx)("div", {
|
|
665
670
|
role: "main",
|
|
666
671
|
children: n
|
|
667
672
|
}) : n
|
|
668
673
|
});
|
|
669
|
-
},
|
|
670
|
-
let t =
|
|
671
|
-
return t ? /* @__PURE__ */ (0,
|
|
674
|
+
}, tn = ({ verificationService: e }) => {
|
|
675
|
+
let t = $t[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = mt("hc-my-sheer-id-theme-builder");
|
|
676
|
+
return t ? /* @__PURE__ */ (0, R.jsx)(Jt, {
|
|
672
677
|
verificationService: e,
|
|
673
|
-
stepName:
|
|
678
|
+
stepName: N.thirdPartyLoop,
|
|
674
679
|
messages: t,
|
|
675
|
-
cancelButtonType:
|
|
676
|
-
}) : /* @__PURE__ */ (0,
|
|
680
|
+
cancelButtonType: qt.SECONDARY
|
|
681
|
+
}) : /* @__PURE__ */ (0, R.jsx)(en, {
|
|
677
682
|
isStepRoot: !0,
|
|
678
|
-
logo: /* @__PURE__ */ (0,
|
|
683
|
+
logo: /* @__PURE__ */ (0, R.jsx)(yt, {
|
|
679
684
|
verificationService: e,
|
|
680
|
-
fallbackLogo: !n && /* @__PURE__ */ (0,
|
|
685
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, R.jsx)("img", {
|
|
681
686
|
className: "sid-error-logo sid-l-lead-image",
|
|
682
687
|
alt: "",
|
|
683
688
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
684
689
|
})
|
|
685
690
|
})
|
|
686
691
|
});
|
|
687
|
-
},
|
|
688
|
-
let i =
|
|
689
|
-
return i ? /* @__PURE__ */ (0,
|
|
690
|
-
stepName:
|
|
692
|
+
}, nn = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
693
|
+
let i = $t[r ? Re(y) : t?.thirdPartyLoopProvider] || void 0;
|
|
694
|
+
return i ? /* @__PURE__ */ (0, R.jsx)(Gt, {
|
|
695
|
+
stepName: N.thirdPartyLoop,
|
|
691
696
|
messages: i,
|
|
692
697
|
logo: e,
|
|
693
698
|
cancelSingleSignOn: n,
|
|
694
|
-
cancelButtonType:
|
|
695
|
-
}) : /* @__PURE__ */ (0,
|
|
696
|
-
},
|
|
697
|
-
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o =
|
|
698
|
-
|
|
699
|
+
cancelButtonType: qt.SECONDARY
|
|
700
|
+
}) : /* @__PURE__ */ (0, R.jsx)(en, { logo: e });
|
|
701
|
+
}, rn = 5e3, an = 2e4, on = 2e4, sn = 2e3, cn = ({ verificationService: e }) => {
|
|
702
|
+
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o = Ie(), s = Le() && Le() === N.sso, c = Le() && Le() === N.thirdPartyLoop, l = Le() && Le() === N.idCheckLoop, d = mt("hc-my-sheer-id-theme-builder"), f = () => i?.currentStep === N.sso, p = () => i?.currentStep === N.thirdPartyLoop, m = () => i?.currentStep === N.idCheckLoop, h = f() || p() || s || c, g = m() || l, _ = !h && !g, [v, y] = I.useState(() => h ? sn : g ? on : rn);
|
|
703
|
+
I.useEffect(() => {
|
|
699
704
|
if (!_) return;
|
|
700
|
-
let e = setTimeout(() => y(
|
|
705
|
+
let e = setTimeout(() => y(on), an);
|
|
701
706
|
return () => clearTimeout(e);
|
|
702
707
|
}, [_]);
|
|
703
|
-
let b = !o &&
|
|
708
|
+
let b = !o && Ut(() => {
|
|
704
709
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
705
710
|
}, v), x = (t) => {
|
|
706
|
-
let r =
|
|
707
|
-
|
|
708
|
-
}, S = /* @__PURE__ */ (0,
|
|
711
|
+
let r = u(n, () => {});
|
|
712
|
+
M.info("StepSingleSignOnComponent submitting cancel request, step:", t), b(), _t(), e.submitStep(t, r, i);
|
|
713
|
+
}, S = /* @__PURE__ */ (0, R.jsx)(yt, {
|
|
709
714
|
verificationService: e,
|
|
710
|
-
fallbackLogo: !
|
|
715
|
+
fallbackLogo: !d && /* @__PURE__ */ (0, R.jsx)("img", {
|
|
711
716
|
className: "sid-l-lead-image",
|
|
712
717
|
alt: "",
|
|
713
718
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
714
719
|
})
|
|
715
720
|
});
|
|
716
|
-
return /* @__PURE__ */ (0,
|
|
721
|
+
return /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
717
722
|
id: "sid-step-pending",
|
|
718
723
|
className: "sid-l-container",
|
|
719
|
-
children: [/* @__PURE__ */ (0,
|
|
724
|
+
children: [/* @__PURE__ */ (0, R.jsx)("div", {
|
|
720
725
|
role: "main",
|
|
721
726
|
children: (() => {
|
|
722
727
|
let e = f() || s, t = p() || c, n = m() || l;
|
|
723
|
-
return e ? /* @__PURE__ */ (0,
|
|
724
|
-
stepName:
|
|
725
|
-
messages:
|
|
728
|
+
return e ? /* @__PURE__ */ (0, R.jsx)(Gt, {
|
|
729
|
+
stepName: N.sso,
|
|
730
|
+
messages: Yt,
|
|
726
731
|
logo: S,
|
|
727
|
-
cancelSingleSignOn: () => x(
|
|
728
|
-
}) : t ? /* @__PURE__ */ (0,
|
|
732
|
+
cancelSingleSignOn: () => x(N.sso)
|
|
733
|
+
}) : t ? /* @__PURE__ */ (0, R.jsx)(nn, {
|
|
729
734
|
logo: S,
|
|
730
|
-
cancelThirdPartyLoop: () => x(
|
|
735
|
+
cancelThirdPartyLoop: () => x(N.thirdPartyLoop),
|
|
731
736
|
verificationLastResponse: i,
|
|
732
737
|
isMockingPreviousStepThirdPartyLoop: c
|
|
733
|
-
}) : n ? /* @__PURE__ */ (0,
|
|
738
|
+
}) : n ? /* @__PURE__ */ (0, R.jsx)(Qt, { logo: S }) : /* @__PURE__ */ (0, R.jsx)(Zt, { logo: S });
|
|
734
739
|
})()
|
|
735
|
-
}), g ? /* @__PURE__ */ (0,
|
|
740
|
+
}), g ? /* @__PURE__ */ (0, R.jsx)(Ht, {
|
|
736
741
|
verificationService: e,
|
|
737
742
|
isCentered: !0
|
|
738
|
-
}) : /* @__PURE__ */ (0,
|
|
743
|
+
}) : /* @__PURE__ */ (0, R.jsxs)(ot, {
|
|
739
744
|
verificationService: e,
|
|
740
|
-
children: [/* @__PURE__ */ (0,
|
|
745
|
+
children: [/* @__PURE__ */ (0, R.jsx)("div", {}), " "]
|
|
741
746
|
})]
|
|
742
747
|
});
|
|
743
|
-
},
|
|
744
|
-
let e =
|
|
748
|
+
}, ln = () => {
|
|
749
|
+
let e = pe(), t = ye(), n = ue(), r = E(() => n.segment), i = I.useCallback(() => {
|
|
745
750
|
if (window.self !== window.top) {
|
|
746
751
|
let e = new URL(window.location.href);
|
|
747
752
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
748
753
|
} else (async () => {
|
|
749
|
-
|
|
754
|
+
$e(e)(), await Ge(e)(t, r, void 0, void 0, !0);
|
|
750
755
|
})();
|
|
751
756
|
}, [
|
|
752
757
|
e,
|
|
753
758
|
t,
|
|
754
759
|
r
|
|
755
760
|
]);
|
|
756
|
-
return /* @__PURE__ */ (0,
|
|
761
|
+
return /* @__PURE__ */ (0, R.jsx)("button", {
|
|
757
762
|
type: "button",
|
|
758
763
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
759
764
|
onClick: i,
|
|
760
765
|
onKeyPress: i,
|
|
761
|
-
children: /* @__PURE__ */ (0,
|
|
766
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: "tryAgain" })
|
|
762
767
|
});
|
|
763
|
-
},
|
|
764
|
-
let t =
|
|
768
|
+
}, un = ({ allowReset: e = !0 }) => {
|
|
769
|
+
let t = ve()?.tryAgainButton;
|
|
765
770
|
switch (t?.mode) {
|
|
766
|
-
case "RESET": return e ? /* @__PURE__ */ (0,
|
|
767
|
-
case "REDIRECT": return
|
|
771
|
+
case "RESET": return e ? /* @__PURE__ */ (0, R.jsx)(ln, {}) : null;
|
|
772
|
+
case "REDIRECT": return x(t.url) ? /* @__PURE__ */ (0, R.jsx)(Te, {
|
|
768
773
|
href: t.url,
|
|
769
774
|
target: "_top",
|
|
770
775
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
771
|
-
children: /* @__PURE__ */ (0,
|
|
772
|
-
}) : (
|
|
776
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: "tryAgain" })
|
|
777
|
+
}) : (M.error("Invalid tryAgainButton redirect url - must be an absolute http(s) URL."), null);
|
|
773
778
|
default: return null;
|
|
774
779
|
}
|
|
775
|
-
},
|
|
780
|
+
}, dn = {
|
|
776
781
|
NONE: "none",
|
|
777
782
|
RESET: "reset",
|
|
778
783
|
POSTMESSAGE: "postMessage",
|
|
779
784
|
REDIRECT: "redirect"
|
|
780
|
-
},
|
|
781
|
-
let e =
|
|
785
|
+
}, fn = () => {
|
|
786
|
+
let e = ue(), t = () => Me({
|
|
782
787
|
action: "tryAgain",
|
|
783
788
|
verificationResponse: e
|
|
784
789
|
});
|
|
785
|
-
return /* @__PURE__ */ (0,
|
|
790
|
+
return /* @__PURE__ */ (0, R.jsx)("button", {
|
|
786
791
|
type: "button",
|
|
787
792
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
788
793
|
onClick: t,
|
|
789
794
|
onKeyPress: t,
|
|
790
|
-
children: /* @__PURE__ */ (0,
|
|
795
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: "tryAgain" })
|
|
791
796
|
});
|
|
792
|
-
},
|
|
797
|
+
}, pn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, R.jsx)(Te, {
|
|
793
798
|
target: t,
|
|
794
799
|
href: e.toString(),
|
|
795
800
|
className: "sid-btn sid-btn--dark",
|
|
796
|
-
children: /* @__PURE__ */ (0,
|
|
797
|
-
}),
|
|
798
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
799
|
-
},
|
|
800
|
-
let t =
|
|
801
|
-
if (!e && t?.type ===
|
|
801
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: "seeOtherOffers" })
|
|
802
|
+
}), mn = (e) => {
|
|
803
|
+
if (!(typeof e == "object" && "type" in e && Object.values(dn).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
804
|
+
}, hn = ({ allowReset: e = !0 }) => {
|
|
805
|
+
let t = C("tryAgainAction");
|
|
806
|
+
if (!e && t?.type === dn.RESET) return null;
|
|
802
807
|
try {
|
|
803
|
-
switch (
|
|
804
|
-
case
|
|
805
|
-
case
|
|
806
|
-
case
|
|
807
|
-
if (!
|
|
808
|
-
return /* @__PURE__ */ (0,
|
|
808
|
+
switch (mn(t), t.type) {
|
|
809
|
+
case dn.NONE: return null;
|
|
810
|
+
case dn.POSTMESSAGE: return window.self === window.top ? (M.error(`Invalid tryAgainAction option type "${t.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, R.jsx)(fn, {});
|
|
811
|
+
case dn.REDIRECT:
|
|
812
|
+
if (!x(t.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
813
|
+
return /* @__PURE__ */ (0, R.jsx)(pn, {
|
|
809
814
|
redirectUrl: t.url,
|
|
810
815
|
target: t.target
|
|
811
816
|
});
|
|
812
|
-
case
|
|
817
|
+
case dn.RESET: return /* @__PURE__ */ (0, R.jsx)(ln, {});
|
|
813
818
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
814
819
|
}
|
|
815
820
|
} catch (e) {
|
|
816
|
-
return
|
|
821
|
+
return M.error(e.message), /* @__PURE__ */ (0, R.jsx)(ln, {});
|
|
817
822
|
}
|
|
818
|
-
},
|
|
823
|
+
}, gn = ({ allowReset: e = !0 }) => mt("hc-my-sheer-id-theme-builder") === !0 ? /* @__PURE__ */ (0, R.jsx)(un, { allowReset: e }) : /* @__PURE__ */ (0, R.jsx)(hn, { allowReset: e }), _n = [
|
|
819
824
|
"docReviewLimitExceeded",
|
|
820
825
|
"verificationLimitExceeded",
|
|
821
826
|
"fraudRulesReject"
|
|
822
|
-
],
|
|
823
|
-
let t =
|
|
824
|
-
return /* @__PURE__ */ (0,
|
|
827
|
+
], vn = ({ errorIds: e }) => {
|
|
828
|
+
let t = ce(), n = e[0], r = t?.[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title";
|
|
829
|
+
return /* @__PURE__ */ (0, R.jsx)(xt, {
|
|
825
830
|
align: "center",
|
|
826
|
-
children: /* @__PURE__ */ (0,
|
|
831
|
+
children: /* @__PURE__ */ (0, R.jsx)("h1", { children: /* @__PURE__ */ (0, R.jsx)(P, { id: r }) })
|
|
827
832
|
});
|
|
828
|
-
},
|
|
833
|
+
}, yn = ({ errorIds: e, errorDetailId: t }) => {
|
|
829
834
|
let n = /* @__PURE__ */ new Map();
|
|
830
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0,
|
|
831
|
-
},
|
|
832
|
-
let t =
|
|
833
|
-
return t?.[n] ? /* @__PURE__ */ (0,
|
|
835
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, R.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(P, { id: t }, t)) }) : null;
|
|
836
|
+
}, bn = ({ errorIds: e }) => {
|
|
837
|
+
let t = ce(), n = `step.error.errorId.${e[0]}.note`;
|
|
838
|
+
return t?.[n] ? /* @__PURE__ */ (0, R.jsx)("p", {
|
|
834
839
|
className: "sid-error-note sid-h-small-text",
|
|
835
|
-
children: /* @__PURE__ */ (0,
|
|
840
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: n })
|
|
836
841
|
}) : null;
|
|
837
|
-
},
|
|
838
|
-
let
|
|
839
|
-
if (
|
|
840
|
-
let
|
|
841
|
-
return
|
|
842
|
-
href:
|
|
843
|
-
onClick: () =>
|
|
842
|
+
}, xn = ({ verificationService: t, errorIds: n, redirectUrl: r }) => {
|
|
843
|
+
let i = ce();
|
|
844
|
+
if (n.includes("unauthorizedAccountStatus")) {
|
|
845
|
+
let n = E(() => t.programTheme.config.brandInfo.faqUrl);
|
|
846
|
+
return n ? /* @__PURE__ */ (0, R.jsx)(Te, {
|
|
847
|
+
href: n,
|
|
848
|
+
onClick: () => e(N.error, n),
|
|
844
849
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
845
|
-
children: /* @__PURE__ */ (0,
|
|
850
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
846
851
|
}) : null;
|
|
847
852
|
}
|
|
848
|
-
if (
|
|
849
|
-
if (
|
|
850
|
-
let
|
|
851
|
-
return
|
|
852
|
-
href:
|
|
853
|
-
onClick: () =>
|
|
853
|
+
if (n.includes("verificationLimitExceeded")) return null;
|
|
854
|
+
if (n.includes("missingRequiredMetadata") || n.includes("missingRequiredExternalId")) return /* @__PURE__ */ (0, R.jsx)(gn, { allowReset: !1 });
|
|
855
|
+
let a = n[0];
|
|
856
|
+
return i?.[`step.error.errorId.${a}.buttonText`] && x(r) ? /* @__PURE__ */ (0, R.jsx)(Te, {
|
|
857
|
+
href: r,
|
|
858
|
+
onClick: () => e(N.error, r),
|
|
854
859
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
855
|
-
children: /* @__PURE__ */ (0,
|
|
856
|
-
}) : /* @__PURE__ */ (0,
|
|
857
|
-
},
|
|
858
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
860
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: `step.error.errorId.${a}.buttonText` })
|
|
861
|
+
}) : /* @__PURE__ */ (0, R.jsx)(gn, {});
|
|
862
|
+
}, Sn = ({ verificationService: e, errorId: t }) => {
|
|
863
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = mt("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
859
864
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
860
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
861
|
-
return /* @__PURE__ */ (0,
|
|
865
|
+
let s = Array.from(o), c = s.some((e) => _n.includes(e));
|
|
866
|
+
return /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
862
867
|
id: "sid-step-error",
|
|
863
868
|
className: "sid-error-container sid-l-container",
|
|
864
|
-
children: [/* @__PURE__ */ (0,
|
|
869
|
+
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
|
|
865
870
|
className: "sid-header sid-l-horz-center",
|
|
866
871
|
role: "banner",
|
|
867
872
|
children: [
|
|
868
|
-
/* @__PURE__ */ (0,
|
|
873
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
869
874
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
870
|
-
children: /* @__PURE__ */ (0,
|
|
875
|
+
children: /* @__PURE__ */ (0, R.jsx)(yt, {
|
|
871
876
|
verificationService: e,
|
|
872
|
-
fallbackLogo: !a && /* @__PURE__ */ (0,
|
|
877
|
+
fallbackLogo: !a && /* @__PURE__ */ (0, R.jsx)("img", {
|
|
873
878
|
className: "sid-error-logo sid-l-lead-image",
|
|
874
879
|
alt: "",
|
|
875
880
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
876
881
|
})
|
|
877
882
|
})
|
|
878
883
|
}),
|
|
879
|
-
/* @__PURE__ */ (0,
|
|
880
|
-
/* @__PURE__ */ (0,
|
|
884
|
+
/* @__PURE__ */ (0, R.jsx)(vn, { errorIds: s }),
|
|
885
|
+
/* @__PURE__ */ (0, R.jsxs)("div", {
|
|
881
886
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
882
887
|
children: [
|
|
883
|
-
/* @__PURE__ */ (0,
|
|
888
|
+
/* @__PURE__ */ (0, R.jsxs)("div", {
|
|
884
889
|
className: "sid-error-msg sid-l-horz-center",
|
|
885
|
-
children: [/* @__PURE__ */ (0,
|
|
890
|
+
children: [/* @__PURE__ */ (0, R.jsx)(yn, {
|
|
886
891
|
errorIds: s,
|
|
887
892
|
errorDetailId: i
|
|
888
|
-
}), /* @__PURE__ */ (0,
|
|
893
|
+
}), /* @__PURE__ */ (0, R.jsx)(bn, { errorIds: s })]
|
|
889
894
|
}),
|
|
890
|
-
c && /* @__PURE__ */ (0,
|
|
895
|
+
c && /* @__PURE__ */ (0, R.jsx)("p", {
|
|
891
896
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
892
|
-
children: /* @__PURE__ */ (0,
|
|
897
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: "contactSupport" })
|
|
893
898
|
}),
|
|
894
|
-
/* @__PURE__ */ (0,
|
|
899
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
895
900
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
896
|
-
children: /* @__PURE__ */ (0,
|
|
901
|
+
children: /* @__PURE__ */ (0, R.jsx)(xn, {
|
|
897
902
|
verificationService: e,
|
|
898
903
|
errorIds: s,
|
|
899
904
|
redirectUrl: r
|
|
@@ -902,266 +907,266 @@ var Tt = /* @__PURE__ */ n(((e, t) => {
|
|
|
902
907
|
]
|
|
903
908
|
})
|
|
904
909
|
]
|
|
905
|
-
}), /* @__PURE__ */ (0,
|
|
910
|
+
}), /* @__PURE__ */ (0, R.jsx)("div", {
|
|
906
911
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
907
|
-
children: /* @__PURE__ */ (0,
|
|
912
|
+
children: /* @__PURE__ */ (0, R.jsx)(Ht, {
|
|
908
913
|
verificationService: e,
|
|
909
914
|
isCentered: !0,
|
|
910
915
|
hideFaqLink: c
|
|
911
916
|
})
|
|
912
917
|
})]
|
|
913
918
|
});
|
|
914
|
-
},
|
|
915
|
-
StepPendingComponent:
|
|
916
|
-
StepErrorComponent:
|
|
917
|
-
StepStudentPersonalInfoComponent:
|
|
918
|
-
StepOverrideComponent:
|
|
919
|
-
StepAgePersonalInfoComponent:
|
|
920
|
-
StepSeniorPersonalInfoComponent:
|
|
921
|
-
StepCollectMilitaryPersonalInfoComponent:
|
|
922
|
-
StepCollectMilitaryStatusComponent:
|
|
923
|
-
StepActiveMilitaryPersonalInfoComponent:
|
|
924
|
-
StepInactiveMilitaryPersonalInfoComponent:
|
|
925
|
-
StepDriverLicensePersonalInfoComponent:
|
|
926
|
-
StepEmploymentPersonalInfoComponent:
|
|
927
|
-
StepFirstResponderPersonalInfoComponent:
|
|
928
|
-
StepGeneralIdentityPersonalInfoComponent:
|
|
929
|
-
StepHybridIdentityPersonalInfoComponent:
|
|
930
|
-
StepIDCheckLoopComponent:
|
|
931
|
-
StepLicensedProfessionalPersonalInfoComponent:
|
|
932
|
-
StepLowIncomePersonalInfoComponent:
|
|
933
|
-
StepMedicalProfessionalPersonalInfoComponent:
|
|
934
|
-
StepMemberPersonalInfoComponent:
|
|
935
|
-
StepConsolationComponent:
|
|
936
|
-
StepDocUploadComponent:
|
|
937
|
-
StepEmailLoopComponent:
|
|
938
|
-
StepPendingEmailLoopComponent:
|
|
939
|
-
StepMoverPersonalInfoComponent:
|
|
940
|
-
StepSMSLoopComponent:
|
|
941
|
-
StepSocialSecurity:
|
|
942
|
-
StepSSOComponent:
|
|
943
|
-
StepSuccessComponent:
|
|
944
|
-
StepTeacherPersonalInfoComponent:
|
|
945
|
-
StepCompleteAuthentication:
|
|
946
|
-
StepCollectIdentifierComponent:
|
|
947
|
-
StepCollectPersonalInfo:
|
|
948
|
-
StepThirdPartyLoopComponent:
|
|
949
|
-
},
|
|
950
|
-
|
|
951
|
-
let
|
|
952
|
-
switch ((0,
|
|
919
|
+
}, Cn = {
|
|
920
|
+
StepPendingComponent: cn,
|
|
921
|
+
StepErrorComponent: Sn,
|
|
922
|
+
StepStudentPersonalInfoComponent: I.lazy(() => import("./chunk/StepStudentPersonalInfo-BUc4GbpM.js")),
|
|
923
|
+
StepOverrideComponent: I.lazy(() => import("./chunk/StepOverrideComponent-BB3pmLMm.js")),
|
|
924
|
+
StepAgePersonalInfoComponent: I.lazy(() => import("./chunk/StepAgePersonalInfo-Bbh1q-Ny.js")),
|
|
925
|
+
StepSeniorPersonalInfoComponent: I.lazy(() => import("./chunk/StepAgePersonalInfo-Bbh1q-Ny.js")),
|
|
926
|
+
StepCollectMilitaryPersonalInfoComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js")),
|
|
927
|
+
StepCollectMilitaryStatusComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js")),
|
|
928
|
+
StepActiveMilitaryPersonalInfoComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js")),
|
|
929
|
+
StepInactiveMilitaryPersonalInfoComponent: I.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-IUKAcF4m.js")),
|
|
930
|
+
StepDriverLicensePersonalInfoComponent: I.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-CE_p8hWp.js")),
|
|
931
|
+
StepEmploymentPersonalInfoComponent: I.lazy(() => import("./chunk/StepEmploymentPersonalInfo-D5nZkseJ.js")),
|
|
932
|
+
StepFirstResponderPersonalInfoComponent: I.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-CLxwkudV.js")),
|
|
933
|
+
StepGeneralIdentityPersonalInfoComponent: I.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-DJ-NhRjo.js")),
|
|
934
|
+
StepHybridIdentityPersonalInfoComponent: I.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-BjSAtSa6.js")),
|
|
935
|
+
StepIDCheckLoopComponent: I.lazy(() => import("./chunk/StepIDCheckLoop-qIX2zLc8.js")),
|
|
936
|
+
StepLicensedProfessionalPersonalInfoComponent: I.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-CG3ysYv5.js")),
|
|
937
|
+
StepLowIncomePersonalInfoComponent: I.lazy(() => import("./chunk/StepLowIncomePersonalInfo-Gb1n2pGQ.js")),
|
|
938
|
+
StepMedicalProfessionalPersonalInfoComponent: I.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-39h1tErA.js")),
|
|
939
|
+
StepMemberPersonalInfoComponent: I.lazy(() => import("./chunk/StepMemberPersonalInfo-BcAmXMmQ.js")),
|
|
940
|
+
StepConsolationComponent: I.lazy(() => import("./chunk/StepConsolation-Do3BvzLY.js")),
|
|
941
|
+
StepDocUploadComponent: I.lazy(() => import("./chunk/StepDocUpload-Dwczk00D.js")),
|
|
942
|
+
StepEmailLoopComponent: I.lazy(() => import("./chunk/StepEmailLoop-CuJwIM1_.js")),
|
|
943
|
+
StepPendingEmailLoopComponent: I.lazy(() => import("./chunk/EmailLoopPending-DPEx2yPl.js").then((e) => e.n)),
|
|
944
|
+
StepMoverPersonalInfoComponent: I.lazy(() => import("./chunk/StepMoverPersonalInfo-BGrXmC7p.js")),
|
|
945
|
+
StepSMSLoopComponent: I.lazy(() => import("./chunk/StepSMSLoop-ChHl3FJv.js")),
|
|
946
|
+
StepSocialSecurity: I.lazy(() => import("./chunk/StepSocialSecurityNumber-D-MJ_k8J.js")),
|
|
947
|
+
StepSSOComponent: I.lazy(() => import("./chunk/StepSSO-Bx1gQq5b.js")),
|
|
948
|
+
StepSuccessComponent: I.lazy(() => import("./chunk/StepSuccess-CZdiXPoC.js")),
|
|
949
|
+
StepTeacherPersonalInfoComponent: I.lazy(() => import("./chunk/StepTeacherPersonalInfo-Bn402aTO.js")),
|
|
950
|
+
StepCompleteAuthentication: I.lazy(() => import("./chunk/StepCompleteAuthentication-CK8SYf3r.js")),
|
|
951
|
+
StepCollectIdentifierComponent: I.lazy(() => import("./chunk/StepCollectIdentifier-BnKW0Kpp.js")),
|
|
952
|
+
StepCollectPersonalInfo: I.lazy(() => import("./chunk/StepCollectPersonalInfo-DmTVCQ3_.js")),
|
|
953
|
+
StepThirdPartyLoopComponent: I.lazy(() => import("./chunk/StepThirdPartyLoop-BFizJiyZ.js"))
|
|
954
|
+
}, B = (e) => (M.info("getComponent", e), Ft(e) || Cn[e]), wn = () => /* @__PURE__ */ (0, R.jsx)(zt, {}), Tn = ({ stepToLoad: e, verificationService: t }) => {
|
|
955
|
+
M.info(`LoadStepComponent: rendering step: ${e}`);
|
|
956
|
+
let r;
|
|
957
|
+
switch ((0, I.useEffect)(() => {
|
|
953
958
|
try {
|
|
954
|
-
performance.mark(
|
|
959
|
+
performance.mark(c.INITIAL_STEP_LOAD);
|
|
955
960
|
} catch {}
|
|
956
|
-
}, []),
|
|
961
|
+
}, []), I.useEffect(() => {
|
|
957
962
|
if (!["pending", "error"].includes(e)) try {
|
|
958
|
-
performance.mark(
|
|
959
|
-
eventName:
|
|
963
|
+
performance.mark(n.STEP_SEEN), m({
|
|
964
|
+
eventName: n.STEP_SEEN,
|
|
960
965
|
params: { step: e }
|
|
961
966
|
});
|
|
962
967
|
} catch (e) {
|
|
963
|
-
|
|
968
|
+
M.error(e);
|
|
964
969
|
}
|
|
965
970
|
}, [e]), e) {
|
|
966
971
|
case "collectPersonalInfo":
|
|
967
|
-
|
|
972
|
+
r = B("StepCollectPersonalInfo");
|
|
968
973
|
break;
|
|
969
974
|
case "collectStudentPersonalInfo":
|
|
970
|
-
|
|
975
|
+
r = B("StepStudentPersonalInfoComponent");
|
|
971
976
|
break;
|
|
972
977
|
case "collectSeniorPersonalInfo":
|
|
973
|
-
|
|
978
|
+
r = B("StepSeniorPersonalInfoComponent");
|
|
974
979
|
break;
|
|
975
980
|
case "collectAgePersonalInfo":
|
|
976
|
-
|
|
981
|
+
r = B("StepAgePersonalInfoComponent");
|
|
977
982
|
break;
|
|
978
983
|
case "collectTeacherPersonalInfo":
|
|
979
|
-
|
|
984
|
+
r = B("StepTeacherPersonalInfoComponent");
|
|
980
985
|
break;
|
|
981
986
|
case "collectMemberPersonalInfo":
|
|
982
|
-
|
|
987
|
+
r = B("StepMemberPersonalInfoComponent");
|
|
983
988
|
break;
|
|
984
989
|
case "collectMilitaryStatus":
|
|
985
|
-
|
|
990
|
+
r = B("StepCollectMilitaryStatusComponent");
|
|
986
991
|
break;
|
|
987
992
|
case "collectActiveMilitaryPersonalInfo":
|
|
988
|
-
|
|
993
|
+
r = B("StepActiveMilitaryPersonalInfoComponent");
|
|
989
994
|
break;
|
|
990
995
|
case "collectInactiveMilitaryPersonalInfo":
|
|
991
|
-
|
|
996
|
+
r = B("StepInactiveMilitaryPersonalInfoComponent");
|
|
992
997
|
break;
|
|
993
998
|
case "collectMilitaryPersonalInfo":
|
|
994
|
-
|
|
999
|
+
r = B("StepCollectMilitaryPersonalInfoComponent");
|
|
995
1000
|
break;
|
|
996
1001
|
case "collectFirstResponderPersonalInfo":
|
|
997
|
-
|
|
1002
|
+
r = B("StepFirstResponderPersonalInfoComponent");
|
|
998
1003
|
break;
|
|
999
1004
|
case "collectMedicalProfessionalPersonalInfo":
|
|
1000
|
-
|
|
1005
|
+
r = B("StepMedicalProfessionalPersonalInfoComponent");
|
|
1001
1006
|
break;
|
|
1002
1007
|
case "collectEmployeePersonalInfo":
|
|
1003
|
-
|
|
1008
|
+
r = B("StepEmploymentPersonalInfoComponent");
|
|
1004
1009
|
break;
|
|
1005
1010
|
case "collectDriverLicensePersonalInfo":
|
|
1006
|
-
|
|
1011
|
+
r = B("StepDriverLicensePersonalInfoComponent");
|
|
1007
1012
|
break;
|
|
1008
1013
|
case "collectGeneralIdentityPersonalInfo":
|
|
1009
|
-
|
|
1014
|
+
r = B("StepGeneralIdentityPersonalInfoComponent");
|
|
1010
1015
|
break;
|
|
1011
1016
|
case "collectHybridIdentityPersonalInfo":
|
|
1012
|
-
|
|
1017
|
+
r = B("StepHybridIdentityPersonalInfoComponent");
|
|
1013
1018
|
break;
|
|
1014
1019
|
case "collectLicensedProfessionalPersonalInfo":
|
|
1015
|
-
|
|
1020
|
+
r = B("StepLicensedProfessionalPersonalInfoComponent");
|
|
1016
1021
|
break;
|
|
1017
1022
|
case "collectMoverPersonalInfo":
|
|
1018
|
-
|
|
1023
|
+
r = B("StepMoverPersonalInfoComponent");
|
|
1019
1024
|
break;
|
|
1020
1025
|
case "collectLowIncomePersonalInfo":
|
|
1021
|
-
|
|
1026
|
+
r = B("StepLowIncomePersonalInfoComponent");
|
|
1022
1027
|
break;
|
|
1023
1028
|
case "collectSocialSecurityNumber":
|
|
1024
|
-
|
|
1029
|
+
r = B("StepSocialSecurity");
|
|
1025
1030
|
break;
|
|
1026
1031
|
case "success":
|
|
1027
|
-
|
|
1032
|
+
r = B("StepSuccessComponent");
|
|
1028
1033
|
break;
|
|
1029
1034
|
case "consolation":
|
|
1030
|
-
|
|
1035
|
+
r = B("StepConsolationComponent");
|
|
1031
1036
|
break;
|
|
1032
1037
|
case "override":
|
|
1033
|
-
|
|
1038
|
+
r = B("StepOverrideComponent");
|
|
1034
1039
|
break;
|
|
1035
1040
|
case "docUpload":
|
|
1036
|
-
|
|
1041
|
+
r = B("StepDocUploadComponent");
|
|
1037
1042
|
break;
|
|
1038
1043
|
case "pending":
|
|
1039
|
-
|
|
1044
|
+
r = B("StepPendingComponent");
|
|
1040
1045
|
break;
|
|
1041
1046
|
case "sso":
|
|
1042
|
-
|
|
1047
|
+
r = B("StepSSOComponent");
|
|
1043
1048
|
break;
|
|
1044
1049
|
case "thirdPartyLoop":
|
|
1045
|
-
|
|
1050
|
+
r = B("StepThirdPartyLoopComponent");
|
|
1046
1051
|
break;
|
|
1047
1052
|
case "smsLoop":
|
|
1048
|
-
|
|
1053
|
+
r = B("StepSMSLoopComponent");
|
|
1049
1054
|
break;
|
|
1050
1055
|
case "emailLoop":
|
|
1051
|
-
|
|
1056
|
+
r = B("StepEmailLoopComponent");
|
|
1052
1057
|
break;
|
|
1053
1058
|
case "idCheckLoop":
|
|
1054
|
-
|
|
1059
|
+
r = B("StepIDCheckLoopComponent");
|
|
1055
1060
|
break;
|
|
1056
1061
|
case "collectIdentifier":
|
|
1057
|
-
|
|
1062
|
+
r = B("StepCollectIdentifierComponent");
|
|
1058
1063
|
break;
|
|
1059
1064
|
case "completeAuthentication":
|
|
1060
|
-
|
|
1065
|
+
r = B("StepCompleteAuthentication");
|
|
1061
1066
|
break;
|
|
1062
|
-
case "missingRequiredMetadata": return
|
|
1067
|
+
case "missingRequiredMetadata": return r = B("StepErrorComponent"), /* @__PURE__ */ (0, R.jsx)(r, {
|
|
1063
1068
|
verificationService: t,
|
|
1064
1069
|
errorId: "missingRequiredMetadata"
|
|
1065
1070
|
});
|
|
1066
|
-
case "missingRequiredExternalId": return
|
|
1071
|
+
case "missingRequiredExternalId": return r = B("StepErrorComponent"), /* @__PURE__ */ (0, R.jsx)(r, {
|
|
1067
1072
|
verificationService: t,
|
|
1068
1073
|
errorId: "missingRequiredExternalId"
|
|
1069
1074
|
});
|
|
1070
1075
|
case "error":
|
|
1071
|
-
|
|
1076
|
+
r = B("StepErrorComponent");
|
|
1072
1077
|
break;
|
|
1073
1078
|
case "cancelDocUpload":
|
|
1074
1079
|
case "cancelEmailLoop":
|
|
1075
1080
|
case "cancelSocialSecurityNumber":
|
|
1076
1081
|
case "docReviewLimitExceeded":
|
|
1077
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
1082
|
+
case "emailLoopCollectOrganizationEmail": return M.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, R.jsx)(Sn, {
|
|
1078
1083
|
verificationService: t,
|
|
1079
1084
|
errorId: "invalidStep"
|
|
1080
1085
|
});
|
|
1081
|
-
default: return
|
|
1086
|
+
default: return M.error("Unable to load step", e), /* @__PURE__ */ (0, R.jsx)(Sn, {
|
|
1082
1087
|
verificationService: t,
|
|
1083
1088
|
errorId: "invalidStep"
|
|
1084
1089
|
});
|
|
1085
1090
|
}
|
|
1086
|
-
return /* @__PURE__ */ (0,
|
|
1087
|
-
fallback:
|
|
1088
|
-
children: /* @__PURE__ */ (0,
|
|
1091
|
+
return /* @__PURE__ */ (0, R.jsx)(I.Suspense, {
|
|
1092
|
+
fallback: wn(),
|
|
1093
|
+
children: /* @__PURE__ */ (0, R.jsx)(r, { verificationService: t })
|
|
1089
1094
|
});
|
|
1090
|
-
},
|
|
1095
|
+
}, En = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, R.jsx)("span", {
|
|
1091
1096
|
dangerouslySetInnerHTML: e,
|
|
1092
1097
|
...t
|
|
1093
|
-
}) : /* @__PURE__ */ (0,
|
|
1098
|
+
}) : /* @__PURE__ */ (0, R.jsx)(I.Fragment, { ...t }), Dn = (e) => ve()?.isTestMode ? /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
1094
1099
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1095
1100
|
role: "note",
|
|
1096
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
1101
|
+
children: ["Test Mode", /* @__PURE__ */ (0, R.jsx)(Te, {
|
|
1097
1102
|
className: "sid-test-mode-flag__link",
|
|
1098
1103
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1099
1104
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1100
1105
|
children: "(learn more)"
|
|
1101
1106
|
})]
|
|
1102
|
-
}) : null,
|
|
1107
|
+
}) : null, On = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, R.jsxs)("header", {
|
|
1103
1108
|
className: "sid-header",
|
|
1104
1109
|
children: [
|
|
1105
|
-
/* @__PURE__ */ (0,
|
|
1110
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
1106
1111
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1107
|
-
children: /* @__PURE__ */ (0,
|
|
1112
|
+
children: /* @__PURE__ */ (0, R.jsx)(yt, {
|
|
1108
1113
|
verificationService: e,
|
|
1109
1114
|
fallbackLogo: r
|
|
1110
1115
|
})
|
|
1111
1116
|
}),
|
|
1112
|
-
/* @__PURE__ */ (0,
|
|
1117
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
1113
1118
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
1114
|
-
children: /* @__PURE__ */ (0,
|
|
1119
|
+
children: /* @__PURE__ */ (0, R.jsx)("h1", { children: t })
|
|
1115
1120
|
}),
|
|
1116
1121
|
n
|
|
1117
1122
|
]
|
|
1118
1123
|
});
|
|
1119
1124
|
typeof window < "u" && window.document && window.document.createElement;
|
|
1120
|
-
function
|
|
1125
|
+
function V(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1121
1126
|
return function(r) {
|
|
1122
1127
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1123
1128
|
};
|
|
1124
1129
|
}
|
|
1125
1130
|
//#endregion
|
|
1126
1131
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1127
|
-
function
|
|
1132
|
+
function kn(e, t) {
|
|
1128
1133
|
if (typeof e == "function") return e(t);
|
|
1129
1134
|
e != null && (e.current = t);
|
|
1130
1135
|
}
|
|
1131
|
-
function
|
|
1136
|
+
function An(...e) {
|
|
1132
1137
|
return (t) => {
|
|
1133
1138
|
let n = !1, r = e.map((e) => {
|
|
1134
|
-
let r =
|
|
1139
|
+
let r = kn(e, t);
|
|
1135
1140
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1136
1141
|
});
|
|
1137
1142
|
if (n) return () => {
|
|
1138
1143
|
for (let t = 0; t < r.length; t++) {
|
|
1139
1144
|
let n = r[t];
|
|
1140
|
-
typeof n == "function" ? n() :
|
|
1145
|
+
typeof n == "function" ? n() : kn(e[t], null);
|
|
1141
1146
|
}
|
|
1142
1147
|
};
|
|
1143
1148
|
};
|
|
1144
1149
|
}
|
|
1145
|
-
function
|
|
1146
|
-
return
|
|
1150
|
+
function H(...e) {
|
|
1151
|
+
return I.useCallback(An(...e), e);
|
|
1147
1152
|
}
|
|
1148
1153
|
//#endregion
|
|
1149
1154
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1150
|
-
function
|
|
1155
|
+
function jn(e, t = []) {
|
|
1151
1156
|
let n = [];
|
|
1152
1157
|
function r(t, r) {
|
|
1153
|
-
let i =
|
|
1158
|
+
let i = I.createContext(r), a = n.length;
|
|
1154
1159
|
n = [...n, r];
|
|
1155
1160
|
let o = (t) => {
|
|
1156
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
1157
|
-
return /* @__PURE__ */ (0,
|
|
1161
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = I.useMemo(() => o, Object.values(o));
|
|
1162
|
+
return /* @__PURE__ */ (0, R.jsx)(s.Provider, {
|
|
1158
1163
|
value: c,
|
|
1159
1164
|
children: r
|
|
1160
1165
|
});
|
|
1161
1166
|
};
|
|
1162
1167
|
o.displayName = t + "Provider";
|
|
1163
1168
|
function s(n, o) {
|
|
1164
|
-
let s = o?.[e]?.[a] || i, c =
|
|
1169
|
+
let s = o?.[e]?.[a] || i, c = I.useContext(s);
|
|
1165
1170
|
if (c) return c;
|
|
1166
1171
|
if (r !== void 0) return r;
|
|
1167
1172
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -1169,18 +1174,18 @@ function Nn(e, t = []) {
|
|
|
1169
1174
|
return [o, s];
|
|
1170
1175
|
}
|
|
1171
1176
|
let i = () => {
|
|
1172
|
-
let t = n.map((e) =>
|
|
1177
|
+
let t = n.map((e) => I.createContext(e));
|
|
1173
1178
|
return function(n) {
|
|
1174
1179
|
let r = n?.[e] || t;
|
|
1175
|
-
return
|
|
1180
|
+
return I.useMemo(() => ({ [`__scope${e}`]: {
|
|
1176
1181
|
...n,
|
|
1177
1182
|
[e]: r
|
|
1178
1183
|
} }), [n, r]);
|
|
1179
1184
|
};
|
|
1180
1185
|
};
|
|
1181
|
-
return i.scopeName = e, [r,
|
|
1186
|
+
return i.scopeName = e, [r, Mn(i, ...t)];
|
|
1182
1187
|
}
|
|
1183
|
-
function
|
|
1188
|
+
function Mn(...e) {
|
|
1184
1189
|
let t = e[0];
|
|
1185
1190
|
if (e.length === 1) return t;
|
|
1186
1191
|
let n = () => {
|
|
@@ -1196,7 +1201,7 @@ function Pn(...e) {
|
|
|
1196
1201
|
...i
|
|
1197
1202
|
};
|
|
1198
1203
|
}, {});
|
|
1199
|
-
return
|
|
1204
|
+
return I.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
1200
1205
|
};
|
|
1201
1206
|
};
|
|
1202
1207
|
return n.scopeName = t.scopeName, n;
|
|
@@ -1204,18 +1209,18 @@ function Pn(...e) {
|
|
|
1204
1209
|
//#endregion
|
|
1205
1210
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1206
1211
|
// @__NO_SIDE_EFFECTS__
|
|
1207
|
-
function
|
|
1208
|
-
let t = /* @__PURE__ */
|
|
1209
|
-
let { children: r, ...i } = e, a =
|
|
1212
|
+
function Nn(e) {
|
|
1213
|
+
let t = /* @__PURE__ */ Pn(e), n = I.forwardRef((e, n) => {
|
|
1214
|
+
let { children: r, ...i } = e, a = I.Children.toArray(r), o = a.find(In);
|
|
1210
1215
|
if (o) {
|
|
1211
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
1212
|
-
return /* @__PURE__ */ (0,
|
|
1216
|
+
let e = o.props.children, r = a.map((t) => t === o ? I.Children.count(e) > 1 ? I.Children.only(null) : I.isValidElement(e) ? e.props.children : null : t);
|
|
1217
|
+
return /* @__PURE__ */ (0, R.jsx)(t, {
|
|
1213
1218
|
...i,
|
|
1214
1219
|
ref: n,
|
|
1215
|
-
children:
|
|
1220
|
+
children: I.isValidElement(e) ? I.cloneElement(e, void 0, r) : null
|
|
1216
1221
|
});
|
|
1217
1222
|
}
|
|
1218
|
-
return /* @__PURE__ */ (0,
|
|
1223
|
+
return /* @__PURE__ */ (0, R.jsx)(t, {
|
|
1219
1224
|
...i,
|
|
1220
1225
|
ref: n,
|
|
1221
1226
|
children: r
|
|
@@ -1224,22 +1229,22 @@ function Fn(e) {
|
|
|
1224
1229
|
return n.displayName = `${e}.Slot`, n;
|
|
1225
1230
|
}
|
|
1226
1231
|
// @__NO_SIDE_EFFECTS__
|
|
1227
|
-
function
|
|
1228
|
-
let t =
|
|
1232
|
+
function Pn(e) {
|
|
1233
|
+
let t = I.forwardRef((e, t) => {
|
|
1229
1234
|
let { children: n, ...r } = e;
|
|
1230
|
-
if (
|
|
1231
|
-
let e =
|
|
1232
|
-
return n.type !==
|
|
1235
|
+
if (I.isValidElement(n)) {
|
|
1236
|
+
let e = Rn(n), i = Ln(r, n.props);
|
|
1237
|
+
return n.type !== I.Fragment && (i.ref = t ? An(t, e) : e), I.cloneElement(n, i);
|
|
1233
1238
|
}
|
|
1234
|
-
return
|
|
1239
|
+
return I.Children.count(n) > 1 ? I.Children.only(null) : null;
|
|
1235
1240
|
});
|
|
1236
1241
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1237
1242
|
}
|
|
1238
|
-
var
|
|
1239
|
-
function
|
|
1240
|
-
return
|
|
1243
|
+
var Fn = Symbol("radix.slottable");
|
|
1244
|
+
function In(e) {
|
|
1245
|
+
return I.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Fn;
|
|
1241
1246
|
}
|
|
1242
|
-
function
|
|
1247
|
+
function Ln(e, t) {
|
|
1243
1248
|
let n = { ...t };
|
|
1244
1249
|
for (let r in t) {
|
|
1245
1250
|
let i = e[r], a = t[r];
|
|
@@ -1256,13 +1261,13 @@ function zn(e, t) {
|
|
|
1256
1261
|
...n
|
|
1257
1262
|
};
|
|
1258
1263
|
}
|
|
1259
|
-
function
|
|
1264
|
+
function Rn(e) {
|
|
1260
1265
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1261
1266
|
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);
|
|
1262
1267
|
}
|
|
1263
1268
|
//#endregion
|
|
1264
1269
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
1265
|
-
var
|
|
1270
|
+
var U = [
|
|
1266
1271
|
"a",
|
|
1267
1272
|
"button",
|
|
1268
1273
|
"div",
|
|
@@ -1281,9 +1286,9 @@ var V = [
|
|
|
1281
1286
|
"svg",
|
|
1282
1287
|
"ul"
|
|
1283
1288
|
].reduce((e, t) => {
|
|
1284
|
-
let n = /* @__PURE__ */
|
|
1289
|
+
let n = /* @__PURE__ */ Nn(`Primitive.${t}`), r = I.forwardRef((e, r) => {
|
|
1285
1290
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1286
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0,
|
|
1291
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, R.jsx)(o, {
|
|
1287
1292
|
...a,
|
|
1288
1293
|
ref: r
|
|
1289
1294
|
});
|
|
@@ -1293,22 +1298,22 @@ var V = [
|
|
|
1293
1298
|
[t]: r
|
|
1294
1299
|
};
|
|
1295
1300
|
}, {});
|
|
1296
|
-
function
|
|
1297
|
-
e &&
|
|
1301
|
+
function zn(e, t) {
|
|
1302
|
+
e && Tt.flushSync(() => e.dispatchEvent(t));
|
|
1298
1303
|
}
|
|
1299
1304
|
//#endregion
|
|
1300
1305
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1301
|
-
function
|
|
1302
|
-
let t =
|
|
1303
|
-
return
|
|
1306
|
+
function Bn(e) {
|
|
1307
|
+
let t = I.useRef(e);
|
|
1308
|
+
return I.useEffect(() => {
|
|
1304
1309
|
t.current = e;
|
|
1305
|
-
}),
|
|
1310
|
+
}), I.useMemo(() => (...e) => t.current?.(...e), []);
|
|
1306
1311
|
}
|
|
1307
1312
|
//#endregion
|
|
1308
1313
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1309
|
-
function
|
|
1310
|
-
let n =
|
|
1311
|
-
|
|
1314
|
+
function Vn(e, t = globalThis?.document) {
|
|
1315
|
+
let n = Bn(e);
|
|
1316
|
+
I.useEffect(() => {
|
|
1312
1317
|
let e = (e) => {
|
|
1313
1318
|
e.key === "Escape" && n(e);
|
|
1314
1319
|
};
|
|
@@ -1317,67 +1322,67 @@ function Un(e, t = globalThis?.document) {
|
|
|
1317
1322
|
}
|
|
1318
1323
|
//#endregion
|
|
1319
1324
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1320
|
-
var
|
|
1325
|
+
var Hn = "DismissableLayer", Un = "dismissableLayer.update", Wn = "dismissableLayer.pointerDownOutside", Gn = "dismissableLayer.focusOutside", Kn, qn = I.createContext({
|
|
1321
1326
|
layers: /* @__PURE__ */ new Set(),
|
|
1322
1327
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1323
1328
|
branches: /* @__PURE__ */ new Set()
|
|
1324
|
-
}),
|
|
1325
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
1329
|
+
}), Jn = I.forwardRef((e, t) => {
|
|
1330
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = I.useContext(qn), [u, d] = I.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = I.useState({}), m = H(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 = Zn((e) => {
|
|
1326
1331
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1327
1332
|
b && !n && (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1328
|
-
}, f), S =
|
|
1333
|
+
}, f), S = Qn((e) => {
|
|
1329
1334
|
let t = e.target;
|
|
1330
1335
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1331
1336
|
}, f);
|
|
1332
|
-
return
|
|
1337
|
+
return Vn((e) => {
|
|
1333
1338
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1334
|
-
}, f),
|
|
1335
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1336
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1339
|
+
}, f), I.useEffect(() => {
|
|
1340
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Kn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), $n(), () => {
|
|
1341
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Kn);
|
|
1337
1342
|
};
|
|
1338
1343
|
}, [
|
|
1339
1344
|
u,
|
|
1340
1345
|
f,
|
|
1341
1346
|
n,
|
|
1342
1347
|
l
|
|
1343
|
-
]),
|
|
1344
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1345
|
-
}, [u, l]),
|
|
1348
|
+
]), I.useEffect(() => () => {
|
|
1349
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), $n());
|
|
1350
|
+
}, [u, l]), I.useEffect(() => {
|
|
1346
1351
|
let e = () => p({});
|
|
1347
|
-
return document.addEventListener(
|
|
1348
|
-
}, []), /* @__PURE__ */ (0,
|
|
1352
|
+
return document.addEventListener(Un, e), () => document.removeEventListener(Un, e);
|
|
1353
|
+
}, []), /* @__PURE__ */ (0, R.jsx)(U.div, {
|
|
1349
1354
|
...c,
|
|
1350
1355
|
ref: m,
|
|
1351
1356
|
style: {
|
|
1352
1357
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
1353
1358
|
...e.style
|
|
1354
1359
|
},
|
|
1355
|
-
onFocusCapture:
|
|
1356
|
-
onBlurCapture:
|
|
1357
|
-
onPointerDownCapture:
|
|
1360
|
+
onFocusCapture: V(e.onFocusCapture, S.onFocusCapture),
|
|
1361
|
+
onBlurCapture: V(e.onBlurCapture, S.onBlurCapture),
|
|
1362
|
+
onPointerDownCapture: V(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1358
1363
|
});
|
|
1359
1364
|
});
|
|
1360
|
-
|
|
1361
|
-
var
|
|
1362
|
-
let n =
|
|
1363
|
-
return
|
|
1365
|
+
Jn.displayName = Hn;
|
|
1366
|
+
var Yn = "DismissableLayerBranch", Xn = I.forwardRef((e, t) => {
|
|
1367
|
+
let n = I.useContext(qn), r = I.useRef(null), i = H(t, r);
|
|
1368
|
+
return I.useEffect(() => {
|
|
1364
1369
|
let e = r.current;
|
|
1365
1370
|
if (e) return n.branches.add(e), () => {
|
|
1366
1371
|
n.branches.delete(e);
|
|
1367
1372
|
};
|
|
1368
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
1373
|
+
}, [n.branches]), /* @__PURE__ */ (0, R.jsx)(U.div, {
|
|
1369
1374
|
...e,
|
|
1370
1375
|
ref: i
|
|
1371
1376
|
});
|
|
1372
1377
|
});
|
|
1373
|
-
|
|
1374
|
-
function
|
|
1375
|
-
let n =
|
|
1376
|
-
return
|
|
1378
|
+
Xn.displayName = Yn;
|
|
1379
|
+
function Zn(e, t = globalThis?.document) {
|
|
1380
|
+
let n = Bn(e), r = I.useRef(!1), i = I.useRef(() => {});
|
|
1381
|
+
return I.useEffect(() => {
|
|
1377
1382
|
let e = (e) => {
|
|
1378
1383
|
if (e.target && !r.current) {
|
|
1379
1384
|
let r = function() {
|
|
1380
|
-
|
|
1385
|
+
er(Wn, n, a, { discrete: !0 });
|
|
1381
1386
|
}, a = { originalEvent: e };
|
|
1382
1387
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1383
1388
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1390,11 +1395,11 @@ function $n(e, t = globalThis?.document) {
|
|
|
1390
1395
|
};
|
|
1391
1396
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1392
1397
|
}
|
|
1393
|
-
function
|
|
1394
|
-
let n =
|
|
1395
|
-
return
|
|
1398
|
+
function Qn(e, t = globalThis?.document) {
|
|
1399
|
+
let n = Bn(e), r = I.useRef(!1);
|
|
1400
|
+
return I.useEffect(() => {
|
|
1396
1401
|
let e = (e) => {
|
|
1397
|
-
e.target && !r.current &&
|
|
1402
|
+
e.target && !r.current && er(Gn, n, { originalEvent: e }, { discrete: !1 });
|
|
1398
1403
|
};
|
|
1399
1404
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1400
1405
|
}, [t, n]), {
|
|
@@ -1402,40 +1407,40 @@ function er(e, t = globalThis?.document) {
|
|
|
1402
1407
|
onBlurCapture: () => r.current = !1
|
|
1403
1408
|
};
|
|
1404
1409
|
}
|
|
1405
|
-
function
|
|
1406
|
-
let e = new CustomEvent(
|
|
1410
|
+
function $n() {
|
|
1411
|
+
let e = new CustomEvent(Un);
|
|
1407
1412
|
document.dispatchEvent(e);
|
|
1408
1413
|
}
|
|
1409
|
-
function
|
|
1414
|
+
function er(e, t, n, { discrete: r }) {
|
|
1410
1415
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1411
1416
|
bubbles: !1,
|
|
1412
1417
|
cancelable: !0,
|
|
1413
1418
|
detail: n
|
|
1414
1419
|
});
|
|
1415
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1420
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? zn(i, a) : i.dispatchEvent(a);
|
|
1416
1421
|
}
|
|
1417
1422
|
//#endregion
|
|
1418
1423
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1419
|
-
var
|
|
1420
|
-
function
|
|
1421
|
-
|
|
1424
|
+
var tr = 0;
|
|
1425
|
+
function nr() {
|
|
1426
|
+
I.useEffect(() => {
|
|
1422
1427
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1423
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1424
|
-
|
|
1428
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? rr()), document.body.insertAdjacentElement("beforeend", e[1] ?? rr()), tr++, () => {
|
|
1429
|
+
tr === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), tr--;
|
|
1425
1430
|
};
|
|
1426
1431
|
}, []);
|
|
1427
1432
|
}
|
|
1428
|
-
function
|
|
1433
|
+
function rr() {
|
|
1429
1434
|
let e = document.createElement("span");
|
|
1430
1435
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
1431
1436
|
}
|
|
1432
1437
|
//#endregion
|
|
1433
1438
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1434
|
-
var
|
|
1439
|
+
var ir = "focusScope.autoFocusOnMount", ar = "focusScope.autoFocusOnUnmount", or = {
|
|
1435
1440
|
bubbles: !1,
|
|
1436
1441
|
cancelable: !0
|
|
1437
|
-
},
|
|
1438
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
1442
|
+
}, sr = "FocusScope", cr = I.forwardRef((e, t) => {
|
|
1443
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = I.useState(null), l = Bn(i), u = Bn(a), d = I.useRef(null), f = H(t, (e) => c(e)), p = I.useRef({
|
|
1439
1444
|
paused: !1,
|
|
1440
1445
|
pause() {
|
|
1441
1446
|
this.paused = !0;
|
|
@@ -1444,18 +1449,18 @@ var or = "focusScope.autoFocusOnMount", sr = "focusScope.autoFocusOnUnmount", cr
|
|
|
1444
1449
|
this.paused = !1;
|
|
1445
1450
|
}
|
|
1446
1451
|
}).current;
|
|
1447
|
-
|
|
1452
|
+
I.useEffect(() => {
|
|
1448
1453
|
if (r) {
|
|
1449
1454
|
let e = function(e) {
|
|
1450
1455
|
if (p.paused || !s) return;
|
|
1451
1456
|
let t = e.target;
|
|
1452
|
-
s.contains(t) ? d.current = t :
|
|
1457
|
+
s.contains(t) ? d.current = t : hr(d.current, { select: !0 });
|
|
1453
1458
|
}, t = function(e) {
|
|
1454
1459
|
if (p.paused || !s) return;
|
|
1455
1460
|
let t = e.relatedTarget;
|
|
1456
|
-
t !== null && (s.contains(t) ||
|
|
1461
|
+
t !== null && (s.contains(t) || hr(d.current, { select: !0 }));
|
|
1457
1462
|
}, n = function(e) {
|
|
1458
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1463
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && hr(s);
|
|
1459
1464
|
};
|
|
1460
1465
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1461
1466
|
let r = new MutationObserver(n);
|
|
@@ -1470,18 +1475,18 @@ var or = "focusScope.autoFocusOnMount", sr = "focusScope.autoFocusOnUnmount", cr
|
|
|
1470
1475
|
r,
|
|
1471
1476
|
s,
|
|
1472
1477
|
p.paused
|
|
1473
|
-
]),
|
|
1478
|
+
]), I.useEffect(() => {
|
|
1474
1479
|
if (s) {
|
|
1475
|
-
|
|
1480
|
+
gr.add(p);
|
|
1476
1481
|
let e = document.activeElement;
|
|
1477
1482
|
if (!s.contains(e)) {
|
|
1478
|
-
let t = new CustomEvent(
|
|
1479
|
-
s.addEventListener(
|
|
1483
|
+
let t = new CustomEvent(ir, or);
|
|
1484
|
+
s.addEventListener(ir, l), s.dispatchEvent(t), t.defaultPrevented || (lr(yr(dr(s)), { select: !0 }), document.activeElement === e && hr(s));
|
|
1480
1485
|
}
|
|
1481
1486
|
return () => {
|
|
1482
|
-
s.removeEventListener(
|
|
1483
|
-
let t = new CustomEvent(
|
|
1484
|
-
s.addEventListener(
|
|
1487
|
+
s.removeEventListener(ir, l), setTimeout(() => {
|
|
1488
|
+
let t = new CustomEvent(ar, or);
|
|
1489
|
+
s.addEventListener(ar, u), s.dispatchEvent(t), t.defaultPrevented || hr(e ?? document.body, { select: !0 }), s.removeEventListener(ar, u), gr.remove(p);
|
|
1485
1490
|
}, 0);
|
|
1486
1491
|
};
|
|
1487
1492
|
}
|
|
@@ -1491,35 +1496,35 @@ var or = "focusScope.autoFocusOnMount", sr = "focusScope.autoFocusOnUnmount", cr
|
|
|
1491
1496
|
u,
|
|
1492
1497
|
p
|
|
1493
1498
|
]);
|
|
1494
|
-
let m =
|
|
1499
|
+
let m = I.useCallback((e) => {
|
|
1495
1500
|
if (!n && !r || p.paused) return;
|
|
1496
1501
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1497
1502
|
if (t && i) {
|
|
1498
|
-
let t = e.currentTarget, [r, a] =
|
|
1499
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1503
|
+
let t = e.currentTarget, [r, a] = ur(t);
|
|
1504
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && hr(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && hr(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1500
1505
|
}
|
|
1501
1506
|
}, [
|
|
1502
1507
|
n,
|
|
1503
1508
|
r,
|
|
1504
1509
|
p.paused
|
|
1505
1510
|
]);
|
|
1506
|
-
return /* @__PURE__ */ (0,
|
|
1511
|
+
return /* @__PURE__ */ (0, R.jsx)(U.div, {
|
|
1507
1512
|
tabIndex: -1,
|
|
1508
1513
|
...o,
|
|
1509
1514
|
ref: f,
|
|
1510
1515
|
onKeyDown: m
|
|
1511
1516
|
});
|
|
1512
1517
|
});
|
|
1513
|
-
|
|
1514
|
-
function
|
|
1518
|
+
cr.displayName = sr;
|
|
1519
|
+
function lr(e, { select: t = !1 } = {}) {
|
|
1515
1520
|
let n = document.activeElement;
|
|
1516
|
-
for (let r of e) if (
|
|
1521
|
+
for (let r of e) if (hr(r, { select: t }), document.activeElement !== n) return;
|
|
1517
1522
|
}
|
|
1518
|
-
function
|
|
1519
|
-
let t =
|
|
1520
|
-
return [
|
|
1523
|
+
function ur(e) {
|
|
1524
|
+
let t = dr(e);
|
|
1525
|
+
return [fr(t, e), fr(t.reverse(), e)];
|
|
1521
1526
|
}
|
|
1522
|
-
function
|
|
1527
|
+
function dr(e) {
|
|
1523
1528
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1524
1529
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1525
1530
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1527,10 +1532,10 @@ function pr(e) {
|
|
|
1527
1532
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1528
1533
|
return t;
|
|
1529
1534
|
}
|
|
1530
|
-
function
|
|
1531
|
-
for (let n of e) if (!
|
|
1535
|
+
function fr(e, t) {
|
|
1536
|
+
for (let n of e) if (!pr(n, { upTo: t })) return n;
|
|
1532
1537
|
}
|
|
1533
|
-
function
|
|
1538
|
+
function pr(e, { upTo: t }) {
|
|
1534
1539
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1535
1540
|
for (; e;) {
|
|
1536
1541
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1539,120 +1544,120 @@ function hr(e, { upTo: t }) {
|
|
|
1539
1544
|
}
|
|
1540
1545
|
return !1;
|
|
1541
1546
|
}
|
|
1542
|
-
function
|
|
1547
|
+
function mr(e) {
|
|
1543
1548
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1544
1549
|
}
|
|
1545
|
-
function
|
|
1550
|
+
function hr(e, { select: t = !1 } = {}) {
|
|
1546
1551
|
if (e && e.focus) {
|
|
1547
1552
|
let n = document.activeElement;
|
|
1548
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1553
|
+
e.focus({ preventScroll: !0 }), e !== n && mr(e) && t && e.select();
|
|
1549
1554
|
}
|
|
1550
1555
|
}
|
|
1551
|
-
var
|
|
1552
|
-
function
|
|
1556
|
+
var gr = _r();
|
|
1557
|
+
function _r() {
|
|
1553
1558
|
let e = [];
|
|
1554
1559
|
return {
|
|
1555
1560
|
add(t) {
|
|
1556
1561
|
let n = e[0];
|
|
1557
|
-
t !== n && n?.pause(), e =
|
|
1562
|
+
t !== n && n?.pause(), e = vr(e, t), e.unshift(t);
|
|
1558
1563
|
},
|
|
1559
1564
|
remove(t) {
|
|
1560
|
-
e =
|
|
1565
|
+
e = vr(e, t), e[0]?.resume();
|
|
1561
1566
|
}
|
|
1562
1567
|
};
|
|
1563
1568
|
}
|
|
1564
|
-
function
|
|
1569
|
+
function vr(e, t) {
|
|
1565
1570
|
let n = [...e], r = n.indexOf(t);
|
|
1566
1571
|
return r !== -1 && n.splice(r, 1), n;
|
|
1567
1572
|
}
|
|
1568
|
-
function
|
|
1573
|
+
function yr(e) {
|
|
1569
1574
|
return e.filter((e) => e.tagName !== "A");
|
|
1570
1575
|
}
|
|
1571
1576
|
//#endregion
|
|
1572
1577
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1573
|
-
var
|
|
1574
|
-
function
|
|
1575
|
-
let [t, n] =
|
|
1576
|
-
return
|
|
1577
|
-
e || n((e) => e ?? String(
|
|
1578
|
+
var br = globalThis?.document ? I.useLayoutEffect : () => {}, xr = I.useId || (() => void 0), Sr = 0;
|
|
1579
|
+
function Cr(e) {
|
|
1580
|
+
let [t, n] = I.useState(xr());
|
|
1581
|
+
return br(() => {
|
|
1582
|
+
e || n((e) => e ?? String(Sr++));
|
|
1578
1583
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1579
1584
|
}
|
|
1580
1585
|
//#endregion
|
|
1581
1586
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1582
|
-
var
|
|
1587
|
+
var wr = [
|
|
1583
1588
|
"top",
|
|
1584
1589
|
"right",
|
|
1585
1590
|
"bottom",
|
|
1586
1591
|
"left"
|
|
1587
|
-
],
|
|
1592
|
+
], Tr = Math.min, W = Math.max, Er = Math.round, Dr = Math.floor, G = (e) => ({
|
|
1588
1593
|
x: e,
|
|
1589
1594
|
y: e
|
|
1590
|
-
}),
|
|
1595
|
+
}), Or = {
|
|
1591
1596
|
left: "right",
|
|
1592
1597
|
right: "left",
|
|
1593
1598
|
bottom: "top",
|
|
1594
1599
|
top: "bottom"
|
|
1595
1600
|
};
|
|
1596
|
-
function
|
|
1597
|
-
return
|
|
1601
|
+
function kr(e, t, n) {
|
|
1602
|
+
return W(e, Tr(t, n));
|
|
1598
1603
|
}
|
|
1599
|
-
function
|
|
1604
|
+
function K(e, t) {
|
|
1600
1605
|
return typeof e == "function" ? e(t) : e;
|
|
1601
1606
|
}
|
|
1602
|
-
function
|
|
1607
|
+
function q(e) {
|
|
1603
1608
|
return e.split("-")[0];
|
|
1604
1609
|
}
|
|
1605
|
-
function
|
|
1610
|
+
function Ar(e) {
|
|
1606
1611
|
return e.split("-")[1];
|
|
1607
1612
|
}
|
|
1608
|
-
function
|
|
1613
|
+
function jr(e) {
|
|
1609
1614
|
return e === "x" ? "y" : "x";
|
|
1610
1615
|
}
|
|
1611
|
-
function
|
|
1616
|
+
function Mr(e) {
|
|
1612
1617
|
return e === "y" ? "height" : "width";
|
|
1613
1618
|
}
|
|
1614
|
-
function
|
|
1619
|
+
function J(e) {
|
|
1615
1620
|
let t = e[0];
|
|
1616
1621
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1617
1622
|
}
|
|
1618
|
-
function
|
|
1619
|
-
return
|
|
1623
|
+
function Nr(e) {
|
|
1624
|
+
return jr(J(e));
|
|
1620
1625
|
}
|
|
1621
|
-
function
|
|
1626
|
+
function Pr(e, t, n) {
|
|
1622
1627
|
n === void 0 && (n = !1);
|
|
1623
|
-
let r =
|
|
1624
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1628
|
+
let r = Ar(e), i = Nr(e), a = Mr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1629
|
+
return t.reference[a] > t.floating[a] && (o = Ur(o)), [o, Ur(o)];
|
|
1625
1630
|
}
|
|
1626
|
-
function
|
|
1627
|
-
let t =
|
|
1631
|
+
function Fr(e) {
|
|
1632
|
+
let t = Ur(e);
|
|
1628
1633
|
return [
|
|
1629
|
-
|
|
1634
|
+
Ir(e),
|
|
1630
1635
|
t,
|
|
1631
|
-
|
|
1636
|
+
Ir(t)
|
|
1632
1637
|
];
|
|
1633
1638
|
}
|
|
1634
|
-
function
|
|
1639
|
+
function Ir(e) {
|
|
1635
1640
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1636
1641
|
}
|
|
1637
|
-
var
|
|
1638
|
-
function
|
|
1642
|
+
var Lr = ["left", "right"], Rr = ["right", "left"], zr = ["top", "bottom"], Br = ["bottom", "top"];
|
|
1643
|
+
function Vr(e, t, n) {
|
|
1639
1644
|
switch (e) {
|
|
1640
1645
|
case "top":
|
|
1641
|
-
case "bottom": return n ? t ?
|
|
1646
|
+
case "bottom": return n ? t ? Rr : Lr : t ? Lr : Rr;
|
|
1642
1647
|
case "left":
|
|
1643
|
-
case "right": return t ?
|
|
1648
|
+
case "right": return t ? zr : Br;
|
|
1644
1649
|
default: return [];
|
|
1645
1650
|
}
|
|
1646
1651
|
}
|
|
1647
|
-
function
|
|
1648
|
-
let i =
|
|
1649
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1652
|
+
function Hr(e, t, n, r) {
|
|
1653
|
+
let i = Ar(e), a = Vr(q(e), n === "start", r);
|
|
1654
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Ir)))), a;
|
|
1650
1655
|
}
|
|
1651
|
-
function
|
|
1652
|
-
let t =
|
|
1653
|
-
return
|
|
1656
|
+
function Ur(e) {
|
|
1657
|
+
let t = q(e);
|
|
1658
|
+
return Or[t] + e.slice(t.length);
|
|
1654
1659
|
}
|
|
1655
|
-
function
|
|
1660
|
+
function Wr(e) {
|
|
1656
1661
|
return {
|
|
1657
1662
|
top: 0,
|
|
1658
1663
|
right: 0,
|
|
@@ -1661,15 +1666,15 @@ function Kr(e) {
|
|
|
1661
1666
|
...e
|
|
1662
1667
|
};
|
|
1663
1668
|
}
|
|
1664
|
-
function
|
|
1669
|
+
function Gr(e) {
|
|
1665
1670
|
return typeof e == "number" ? {
|
|
1666
1671
|
top: e,
|
|
1667
1672
|
right: e,
|
|
1668
1673
|
bottom: e,
|
|
1669
1674
|
left: e
|
|
1670
|
-
} :
|
|
1675
|
+
} : Wr(e);
|
|
1671
1676
|
}
|
|
1672
|
-
function
|
|
1677
|
+
function Kr(e) {
|
|
1673
1678
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1674
1679
|
return {
|
|
1675
1680
|
width: r,
|
|
@@ -1684,8 +1689,8 @@ function Jr(e) {
|
|
|
1684
1689
|
}
|
|
1685
1690
|
//#endregion
|
|
1686
1691
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1687
|
-
function
|
|
1688
|
-
let { reference: r, floating: i } = e, a =
|
|
1692
|
+
function qr(e, t, n) {
|
|
1693
|
+
let { reference: r, floating: i } = e, a = J(t), o = Nr(t), s = Mr(o), c = q(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
1689
1694
|
switch (c) {
|
|
1690
1695
|
case "top":
|
|
1691
1696
|
p = {
|
|
@@ -1716,7 +1721,7 @@ function Yr(e, t, n) {
|
|
|
1716
1721
|
y: r.y
|
|
1717
1722
|
};
|
|
1718
1723
|
}
|
|
1719
|
-
switch (
|
|
1724
|
+
switch (Ar(t)) {
|
|
1720
1725
|
case "start":
|
|
1721
1726
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1722
1727
|
break;
|
|
@@ -1724,9 +1729,9 @@ function Yr(e, t, n) {
|
|
|
1724
1729
|
}
|
|
1725
1730
|
return p;
|
|
1726
1731
|
}
|
|
1727
|
-
async function
|
|
1732
|
+
async function Jr(e, t) {
|
|
1728
1733
|
t === void 0 && (t = {});
|
|
1729
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } =
|
|
1734
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = K(t, e), p = Gr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Kr(await i.getClippingRect({
|
|
1730
1735
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1731
1736
|
boundary: c,
|
|
1732
1737
|
rootBoundary: l,
|
|
@@ -1739,7 +1744,7 @@ async function Xr(e, t) {
|
|
|
1739
1744
|
} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
|
|
1740
1745
|
x: 1,
|
|
1741
1746
|
y: 1
|
|
1742
|
-
}, y =
|
|
1747
|
+
}, y = Kr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1743
1748
|
elements: o,
|
|
1744
1749
|
rect: g,
|
|
1745
1750
|
offsetParent: _,
|
|
@@ -1752,15 +1757,15 @@ async function Xr(e, t) {
|
|
|
1752
1757
|
right: (y.right - h.right + p.right) / v.x
|
|
1753
1758
|
};
|
|
1754
1759
|
}
|
|
1755
|
-
var
|
|
1760
|
+
var Yr = 50, Xr = async (e, t, n) => {
|
|
1756
1761
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1757
1762
|
...o,
|
|
1758
|
-
detectOverflow:
|
|
1763
|
+
detectOverflow: Jr
|
|
1759
1764
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1760
1765
|
reference: e,
|
|
1761
1766
|
floating: t,
|
|
1762
1767
|
strategy: i
|
|
1763
|
-
}), { x: u, y: d } =
|
|
1768
|
+
}), { x: u, y: d } = qr(l, r, c), f = r, p = 0, m = {};
|
|
1764
1769
|
for (let n = 0; n < a.length; n++) {
|
|
1765
1770
|
let h = a[n];
|
|
1766
1771
|
if (!h) continue;
|
|
@@ -1781,11 +1786,11 @@ var Zr = 50, Qr = async (e, t, n) => {
|
|
|
1781
1786
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1782
1787
|
...m[g],
|
|
1783
1788
|
...b
|
|
1784
|
-
}, x && p <
|
|
1789
|
+
}, x && p < Yr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1785
1790
|
reference: e,
|
|
1786
1791
|
floating: t,
|
|
1787
1792
|
strategy: i
|
|
1788
|
-
}) : x.rects), {x: u, y: d} =
|
|
1793
|
+
}) : x.rects), {x: u, y: d} = qr(l, f, c)), n = -1);
|
|
1789
1794
|
}
|
|
1790
1795
|
return {
|
|
1791
1796
|
x: u,
|
|
@@ -1794,41 +1799,41 @@ var Zr = 50, Qr = async (e, t, n) => {
|
|
|
1794
1799
|
strategy: i,
|
|
1795
1800
|
middlewareData: m
|
|
1796
1801
|
};
|
|
1797
|
-
},
|
|
1802
|
+
}, Zr = (e) => ({
|
|
1798
1803
|
name: "arrow",
|
|
1799
1804
|
options: e,
|
|
1800
1805
|
async fn(t) {
|
|
1801
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } =
|
|
1806
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = K(e, t) || {};
|
|
1802
1807
|
if (l == null) return {};
|
|
1803
|
-
let d =
|
|
1808
|
+
let d = Gr(u), f = {
|
|
1804
1809
|
x: n,
|
|
1805
1810
|
y: r
|
|
1806
|
-
}, p =
|
|
1811
|
+
}, p = Nr(i), m = Mr(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
|
|
1807
1812
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1808
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1,
|
|
1813
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = Tr(d[_], T), D = Tr(d[v], T), ee = E, O = C - h[m] - D, k = C / 2 - h[m] / 2 + w, te = kr(ee, k, O), A = !c.arrow && Ar(i) != null && k !== te && a.reference[m] / 2 - (k < ee ? E : D) - h[m] / 2 < 0, j = A ? k < ee ? k - ee : k - O : 0;
|
|
1809
1814
|
return {
|
|
1810
|
-
[p]: f[p] +
|
|
1815
|
+
[p]: f[p] + j,
|
|
1811
1816
|
data: {
|
|
1812
|
-
[p]:
|
|
1813
|
-
centerOffset:
|
|
1814
|
-
...
|
|
1817
|
+
[p]: te,
|
|
1818
|
+
centerOffset: k - te - j,
|
|
1819
|
+
...A && { alignmentOffset: j }
|
|
1815
1820
|
},
|
|
1816
|
-
reset:
|
|
1821
|
+
reset: A
|
|
1817
1822
|
};
|
|
1818
1823
|
}
|
|
1819
|
-
}),
|
|
1824
|
+
}), Qr = function(e) {
|
|
1820
1825
|
return e === void 0 && (e = {}), {
|
|
1821
1826
|
name: "flip",
|
|
1822
1827
|
options: e,
|
|
1823
1828
|
async fn(t) {
|
|
1824
1829
|
var n;
|
|
1825
|
-
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } =
|
|
1830
|
+
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = K(e, t);
|
|
1826
1831
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1827
|
-
let g =
|
|
1828
|
-
!d && x && b.push(...
|
|
1832
|
+
let g = q(r), _ = J(o), v = q(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Ur(o)] : Fr(o)), x = p !== "none";
|
|
1833
|
+
!d && x && b.push(...Hr(o, m, p, y));
|
|
1829
1834
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1830
1835
|
if (l && w.push(C[g]), u) {
|
|
1831
|
-
let e =
|
|
1836
|
+
let e = Pr(r, a, y);
|
|
1832
1837
|
w.push(C[e[0]], C[e[1]]);
|
|
1833
1838
|
}
|
|
1834
1839
|
if (T = [...T, {
|
|
@@ -1836,7 +1841,7 @@ var Zr = 50, Qr = async (e, t, n) => {
|
|
|
1836
1841
|
overflows: w
|
|
1837
1842
|
}], !w.every((e) => e <= 0)) {
|
|
1838
1843
|
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
1839
|
-
if (t && (u !== "alignment" || _ ===
|
|
1844
|
+
if (t && (u !== "alignment" || _ === J(t) || T.every((e) => J(e.placement) !== _ || e.overflows[0] > 0))) return {
|
|
1840
1845
|
data: {
|
|
1841
1846
|
index: e,
|
|
1842
1847
|
overflows: T
|
|
@@ -1848,7 +1853,7 @@ var Zr = 50, Qr = async (e, t, n) => {
|
|
|
1848
1853
|
case "bestFit": {
|
|
1849
1854
|
let e = T.filter((e) => {
|
|
1850
1855
|
if (x) {
|
|
1851
|
-
let t =
|
|
1856
|
+
let t = J(e.placement);
|
|
1852
1857
|
return t === _ || t === "y";
|
|
1853
1858
|
}
|
|
1854
1859
|
return !0;
|
|
@@ -1864,7 +1869,7 @@ var Zr = 50, Qr = async (e, t, n) => {
|
|
|
1864
1869
|
}
|
|
1865
1870
|
};
|
|
1866
1871
|
};
|
|
1867
|
-
function
|
|
1872
|
+
function $r(e, t) {
|
|
1868
1873
|
return {
|
|
1869
1874
|
top: e.top - t.height,
|
|
1870
1875
|
right: e.right - t.width,
|
|
@@ -1872,43 +1877,43 @@ function ti(e, t) {
|
|
|
1872
1877
|
left: e.left - t.width
|
|
1873
1878
|
};
|
|
1874
1879
|
}
|
|
1875
|
-
function
|
|
1876
|
-
return
|
|
1880
|
+
function ei(e) {
|
|
1881
|
+
return wr.some((t) => e[t] >= 0);
|
|
1877
1882
|
}
|
|
1878
|
-
var
|
|
1883
|
+
var ti = function(e) {
|
|
1879
1884
|
return e === void 0 && (e = {}), {
|
|
1880
1885
|
name: "hide",
|
|
1881
1886
|
options: e,
|
|
1882
1887
|
async fn(t) {
|
|
1883
|
-
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } =
|
|
1888
|
+
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = K(e, t);
|
|
1884
1889
|
switch (i) {
|
|
1885
1890
|
case "referenceHidden": {
|
|
1886
|
-
let e =
|
|
1891
|
+
let e = $r(await r.detectOverflow(t, {
|
|
1887
1892
|
...a,
|
|
1888
1893
|
elementContext: "reference"
|
|
1889
1894
|
}), n.reference);
|
|
1890
1895
|
return { data: {
|
|
1891
1896
|
referenceHiddenOffsets: e,
|
|
1892
|
-
referenceHidden:
|
|
1897
|
+
referenceHidden: ei(e)
|
|
1893
1898
|
} };
|
|
1894
1899
|
}
|
|
1895
1900
|
case "escaped": {
|
|
1896
|
-
let e =
|
|
1901
|
+
let e = $r(await r.detectOverflow(t, {
|
|
1897
1902
|
...a,
|
|
1898
1903
|
altBoundary: !0
|
|
1899
1904
|
}), n.floating);
|
|
1900
1905
|
return { data: {
|
|
1901
1906
|
escapedOffsets: e,
|
|
1902
|
-
escaped:
|
|
1907
|
+
escaped: ei(e)
|
|
1903
1908
|
} };
|
|
1904
1909
|
}
|
|
1905
1910
|
default: return {};
|
|
1906
1911
|
}
|
|
1907
1912
|
}
|
|
1908
1913
|
};
|
|
1909
|
-
},
|
|
1910
|
-
async function
|
|
1911
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o =
|
|
1914
|
+
}, ni = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1915
|
+
async function ri(e, t) {
|
|
1916
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = q(n), s = Ar(n), c = J(n) === "y", l = ni.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = K(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1912
1917
|
mainAxis: d,
|
|
1913
1918
|
crossAxis: 0,
|
|
1914
1919
|
alignmentAxis: null
|
|
@@ -1925,13 +1930,13 @@ async function ai(e, t) {
|
|
|
1925
1930
|
y: p * u
|
|
1926
1931
|
};
|
|
1927
1932
|
}
|
|
1928
|
-
var
|
|
1933
|
+
var ii = function(e) {
|
|
1929
1934
|
return e === void 0 && (e = 0), {
|
|
1930
1935
|
name: "offset",
|
|
1931
1936
|
options: e,
|
|
1932
1937
|
async fn(t) {
|
|
1933
1938
|
var n;
|
|
1934
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1939
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await ri(t, e);
|
|
1935
1940
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1936
1941
|
x: r + s.x,
|
|
1937
1942
|
y: i + s.y,
|
|
@@ -1942,7 +1947,7 @@ var oi = function(e) {
|
|
|
1942
1947
|
};
|
|
1943
1948
|
}
|
|
1944
1949
|
};
|
|
1945
|
-
},
|
|
1950
|
+
}, ai = function(e) {
|
|
1946
1951
|
return e === void 0 && (e = {}), {
|
|
1947
1952
|
name: "shift",
|
|
1948
1953
|
options: e,
|
|
@@ -1953,17 +1958,17 @@ var oi = function(e) {
|
|
|
1953
1958
|
x: t,
|
|
1954
1959
|
y: n
|
|
1955
1960
|
};
|
|
1956
|
-
} }, ...l } =
|
|
1961
|
+
} }, ...l } = K(e, t), u = {
|
|
1957
1962
|
x: n,
|
|
1958
1963
|
y: r
|
|
1959
|
-
}, d = await a.detectOverflow(t, l), f =
|
|
1964
|
+
}, d = await a.detectOverflow(t, l), f = J(q(i)), p = jr(f), m = u[p], h = u[f];
|
|
1960
1965
|
if (o) {
|
|
1961
1966
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1962
|
-
m =
|
|
1967
|
+
m = kr(n, m, r);
|
|
1963
1968
|
}
|
|
1964
1969
|
if (s) {
|
|
1965
1970
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1966
|
-
h =
|
|
1971
|
+
h = kr(n, h, r);
|
|
1967
1972
|
}
|
|
1968
1973
|
let g = c.fn({
|
|
1969
1974
|
...t,
|
|
@@ -1983,14 +1988,14 @@ var oi = function(e) {
|
|
|
1983
1988
|
};
|
|
1984
1989
|
}
|
|
1985
1990
|
};
|
|
1986
|
-
},
|
|
1991
|
+
}, oi = function(e) {
|
|
1987
1992
|
return e === void 0 && (e = {}), {
|
|
1988
1993
|
options: e,
|
|
1989
1994
|
fn(t) {
|
|
1990
|
-
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } =
|
|
1995
|
+
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = K(e, t), u = {
|
|
1991
1996
|
x: n,
|
|
1992
1997
|
y: r
|
|
1993
|
-
}, d =
|
|
1998
|
+
}, d = J(i), f = jr(d), p = u[f], m = u[d], h = K(s, t), g = typeof h == "number" ? {
|
|
1994
1999
|
mainAxis: h,
|
|
1995
2000
|
crossAxis: 0
|
|
1996
2001
|
} : {
|
|
@@ -2003,7 +2008,7 @@ var oi = function(e) {
|
|
|
2003
2008
|
p < t ? p = t : p > n && (p = n);
|
|
2004
2009
|
}
|
|
2005
2010
|
if (l) {
|
|
2006
|
-
let e = f === "y" ? "width" : "height", t =
|
|
2011
|
+
let e = f === "y" ? "width" : "height", t = ni.has(q(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
|
|
2007
2012
|
m < n ? m = n : m > r && (m = r);
|
|
2008
2013
|
}
|
|
2009
2014
|
return {
|
|
@@ -2012,18 +2017,18 @@ var oi = function(e) {
|
|
|
2012
2017
|
};
|
|
2013
2018
|
}
|
|
2014
2019
|
};
|
|
2015
|
-
},
|
|
2020
|
+
}, si = function(e) {
|
|
2016
2021
|
return e === void 0 && (e = {}), {
|
|
2017
2022
|
name: "size",
|
|
2018
2023
|
options: e,
|
|
2019
2024
|
async fn(t) {
|
|
2020
2025
|
var n, r;
|
|
2021
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } =
|
|
2026
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = K(e, t), u = await o.detectOverflow(t, l), d = q(i), f = Ar(i), p = J(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2022
2027
|
d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
|
|
2023
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2028
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = Tr(h - u[g], v), x = Tr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2024
2029
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2025
|
-
let e =
|
|
2026
|
-
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t :
|
|
2030
|
+
let e = W(u.left, 0), t = W(u.right, 0), n = W(u.top, 0), r = W(u.bottom, 0);
|
|
2031
|
+
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : W(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : W(u.top, u.bottom));
|
|
2027
2032
|
}
|
|
2028
2033
|
await c({
|
|
2029
2034
|
...t,
|
|
@@ -2037,39 +2042,39 @@ var oi = function(e) {
|
|
|
2037
2042
|
};
|
|
2038
2043
|
//#endregion
|
|
2039
2044
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2040
|
-
function
|
|
2045
|
+
function ci() {
|
|
2041
2046
|
return typeof window < "u";
|
|
2042
2047
|
}
|
|
2043
|
-
function
|
|
2044
|
-
return
|
|
2048
|
+
function li(e) {
|
|
2049
|
+
return ui(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2045
2050
|
}
|
|
2046
|
-
function
|
|
2051
|
+
function Y(e) {
|
|
2047
2052
|
var t;
|
|
2048
2053
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2049
2054
|
}
|
|
2050
|
-
function
|
|
2051
|
-
return ((
|
|
2055
|
+
function X(e) {
|
|
2056
|
+
return ((ui(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2052
2057
|
}
|
|
2053
|
-
function
|
|
2054
|
-
return
|
|
2058
|
+
function ui(e) {
|
|
2059
|
+
return ci() ? e instanceof Node || e instanceof Y(e).Node : !1;
|
|
2055
2060
|
}
|
|
2056
|
-
function
|
|
2057
|
-
return
|
|
2061
|
+
function Z(e) {
|
|
2062
|
+
return ci() ? e instanceof Element || e instanceof Y(e).Element : !1;
|
|
2058
2063
|
}
|
|
2059
|
-
function
|
|
2060
|
-
return
|
|
2064
|
+
function di(e) {
|
|
2065
|
+
return ci() ? e instanceof HTMLElement || e instanceof Y(e).HTMLElement : !1;
|
|
2066
|
+
}
|
|
2067
|
+
function fi(e) {
|
|
2068
|
+
return !ci() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Y(e).ShadowRoot;
|
|
2061
2069
|
}
|
|
2062
2070
|
function pi(e) {
|
|
2063
|
-
|
|
2071
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2072
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2064
2073
|
}
|
|
2065
2074
|
function mi(e) {
|
|
2066
|
-
|
|
2067
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2075
|
+
return /^(table|td|th)$/.test(li(e));
|
|
2068
2076
|
}
|
|
2069
2077
|
function hi(e) {
|
|
2070
|
-
return /^(table|td|th)$/.test(di(e));
|
|
2071
|
-
}
|
|
2072
|
-
function gi(e) {
|
|
2073
2078
|
try {
|
|
2074
2079
|
if (e.matches(":popover-open")) return !0;
|
|
2075
2080
|
} catch {}
|
|
@@ -2079,31 +2084,31 @@ function gi(e) {
|
|
|
2079
2084
|
return !1;
|
|
2080
2085
|
}
|
|
2081
2086
|
}
|
|
2082
|
-
var
|
|
2087
|
+
var gi = /transform|translate|scale|rotate|perspective|filter/, _i = /paint|layout|strict|content/, vi = (e) => !!e && e !== "none", yi;
|
|
2088
|
+
function bi(e) {
|
|
2089
|
+
let t = Z(e) ? Q(e) : e;
|
|
2090
|
+
return vi(t.transform) || vi(t.translate) || vi(t.scale) || vi(t.rotate) || vi(t.perspective) || !Si() && (vi(t.backdropFilter) || vi(t.filter)) || gi.test(t.willChange || "") || _i.test(t.contain || "");
|
|
2091
|
+
}
|
|
2083
2092
|
function xi(e) {
|
|
2084
|
-
let t =
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
for (; X(t) && !wi(t);) {
|
|
2090
|
-
if (xi(t)) return t;
|
|
2091
|
-
if (gi(t)) return null;
|
|
2092
|
-
t = Q(t);
|
|
2093
|
+
let t = Ti(e);
|
|
2094
|
+
for (; di(t) && !Ci(t);) {
|
|
2095
|
+
if (bi(t)) return t;
|
|
2096
|
+
if (hi(t)) return null;
|
|
2097
|
+
t = Ti(t);
|
|
2093
2098
|
}
|
|
2094
2099
|
return null;
|
|
2095
2100
|
}
|
|
2096
|
-
function
|
|
2097
|
-
return
|
|
2101
|
+
function Si() {
|
|
2102
|
+
return yi ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), yi;
|
|
2098
2103
|
}
|
|
2099
|
-
function
|
|
2100
|
-
return /^(html|body|#document)$/.test(
|
|
2104
|
+
function Ci(e) {
|
|
2105
|
+
return /^(html|body|#document)$/.test(li(e));
|
|
2101
2106
|
}
|
|
2102
|
-
function
|
|
2103
|
-
return
|
|
2107
|
+
function Q(e) {
|
|
2108
|
+
return Y(e).getComputedStyle(e);
|
|
2104
2109
|
}
|
|
2105
|
-
function
|
|
2106
|
-
return
|
|
2110
|
+
function wi(e) {
|
|
2111
|
+
return Z(e) ? {
|
|
2107
2112
|
scrollLeft: e.scrollLeft,
|
|
2108
2113
|
scrollTop: e.scrollTop
|
|
2109
2114
|
} : {
|
|
@@ -2111,21 +2116,21 @@ function Ti(e) {
|
|
|
2111
2116
|
scrollTop: e.scrollY
|
|
2112
2117
|
};
|
|
2113
2118
|
}
|
|
2114
|
-
function
|
|
2115
|
-
if (
|
|
2116
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
2117
|
-
return
|
|
2119
|
+
function Ti(e) {
|
|
2120
|
+
if (li(e) === "html") return e;
|
|
2121
|
+
let t = e.assignedSlot || e.parentNode || fi(e) && e.host || X(e);
|
|
2122
|
+
return fi(t) ? t.host : t;
|
|
2118
2123
|
}
|
|
2119
2124
|
function Ei(e) {
|
|
2120
|
-
let t =
|
|
2121
|
-
return
|
|
2125
|
+
let t = Ti(e);
|
|
2126
|
+
return Ci(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : di(t) && pi(t) ? t : Ei(t);
|
|
2122
2127
|
}
|
|
2123
2128
|
function Di(e, t, n) {
|
|
2124
2129
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2125
|
-
let r = Ei(e), i = r === e.ownerDocument?.body, a =
|
|
2130
|
+
let r = Ei(e), i = r === e.ownerDocument?.body, a = Y(r);
|
|
2126
2131
|
if (i) {
|
|
2127
2132
|
let e = Oi(a);
|
|
2128
|
-
return t.concat(a, a.visualViewport || [],
|
|
2133
|
+
return t.concat(a, a.visualViewport || [], pi(r) ? r : [], e && n ? Di(e) : []);
|
|
2129
2134
|
}
|
|
2130
2135
|
return t.concat(r, Di(r, [], n));
|
|
2131
2136
|
}
|
|
@@ -2135,7 +2140,7 @@ function Oi(e) {
|
|
|
2135
2140
|
//#endregion
|
|
2136
2141
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2137
2142
|
function ki(e) {
|
|
2138
|
-
let t =
|
|
2143
|
+
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = di(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Er(n) !== a || Er(r) !== o;
|
|
2139
2144
|
return s && (n = a, r = o), {
|
|
2140
2145
|
width: n,
|
|
2141
2146
|
height: r,
|
|
@@ -2143,41 +2148,41 @@ function ki(e) {
|
|
|
2143
2148
|
};
|
|
2144
2149
|
}
|
|
2145
2150
|
function Ai(e) {
|
|
2146
|
-
return
|
|
2151
|
+
return Z(e) ? e : e.contextElement;
|
|
2147
2152
|
}
|
|
2148
2153
|
function ji(e) {
|
|
2149
2154
|
let t = Ai(e);
|
|
2150
|
-
if (!
|
|
2151
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = ki(t), o = (a ?
|
|
2155
|
+
if (!di(t)) return G(1);
|
|
2156
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = ki(t), o = (a ? Er(n.width) : n.width) / r, s = (a ? Er(n.height) : n.height) / i;
|
|
2152
2157
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2153
2158
|
x: o,
|
|
2154
2159
|
y: s
|
|
2155
2160
|
};
|
|
2156
2161
|
}
|
|
2157
|
-
var Mi = /*#__PURE__*/
|
|
2162
|
+
var Mi = /*#__PURE__*/ G(0);
|
|
2158
2163
|
function Ni(e) {
|
|
2159
|
-
let t =
|
|
2160
|
-
return !
|
|
2164
|
+
let t = Y(e);
|
|
2165
|
+
return !Si() || !t.visualViewport ? Mi : {
|
|
2161
2166
|
x: t.visualViewport.offsetLeft,
|
|
2162
2167
|
y: t.visualViewport.offsetTop
|
|
2163
2168
|
};
|
|
2164
2169
|
}
|
|
2165
2170
|
function Pi(e, t, n) {
|
|
2166
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
2171
|
+
return t === void 0 && (t = !1), !n || t && n !== Y(e) ? !1 : t;
|
|
2167
2172
|
}
|
|
2168
2173
|
function Fi(e, t, n, r) {
|
|
2169
2174
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2170
|
-
let i = e.getBoundingClientRect(), a = Ai(e), o =
|
|
2171
|
-
t && (r ?
|
|
2172
|
-
let s = Pi(a, n, r) ? Ni(a) :
|
|
2175
|
+
let i = e.getBoundingClientRect(), a = Ai(e), o = G(1);
|
|
2176
|
+
t && (r ? Z(r) && (o = ji(r)) : o = ji(e));
|
|
2177
|
+
let s = Pi(a, n, r) ? Ni(a) : G(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;
|
|
2173
2178
|
if (a) {
|
|
2174
|
-
let e =
|
|
2179
|
+
let e = Y(a), t = r && Z(r) ? Y(r) : r, n = e, i = Oi(n);
|
|
2175
2180
|
for (; i && r && t !== n;) {
|
|
2176
|
-
let e = ji(i), t = i.getBoundingClientRect(), r =
|
|
2177
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n =
|
|
2181
|
+
let e = ji(i), t = i.getBoundingClientRect(), r = Q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
2182
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = Y(i), i = Oi(n);
|
|
2178
2183
|
}
|
|
2179
2184
|
}
|
|
2180
|
-
return
|
|
2185
|
+
return Kr({
|
|
2181
2186
|
width: u,
|
|
2182
2187
|
height: d,
|
|
2183
2188
|
x: c,
|
|
@@ -2185,8 +2190,8 @@ function Fi(e, t, n, r) {
|
|
|
2185
2190
|
});
|
|
2186
2191
|
}
|
|
2187
2192
|
function Ii(e, t) {
|
|
2188
|
-
let n =
|
|
2189
|
-
return t ? t.left + n : Fi(
|
|
2193
|
+
let n = wi(e).scrollLeft;
|
|
2194
|
+
return t ? t.left + n : Fi(X(e)).left + n;
|
|
2190
2195
|
}
|
|
2191
2196
|
function Li(e, t) {
|
|
2192
2197
|
let n = e.getBoundingClientRect();
|
|
@@ -2196,17 +2201,17 @@ function Li(e, t) {
|
|
|
2196
2201
|
};
|
|
2197
2202
|
}
|
|
2198
2203
|
function Ri(e) {
|
|
2199
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o =
|
|
2204
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = X(r), s = t ? hi(t.floating) : !1;
|
|
2200
2205
|
if (r === o || s && a) return n;
|
|
2201
2206
|
let c = {
|
|
2202
2207
|
scrollLeft: 0,
|
|
2203
2208
|
scrollTop: 0
|
|
2204
|
-
}, l =
|
|
2205
|
-
if ((d || !d && !a) && ((
|
|
2209
|
+
}, l = G(1), u = G(0), d = di(r);
|
|
2210
|
+
if ((d || !d && !a) && ((li(r) !== "body" || pi(o)) && (c = wi(r)), d)) {
|
|
2206
2211
|
let e = Fi(r);
|
|
2207
2212
|
l = ji(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2208
2213
|
}
|
|
2209
|
-
let f = o && !d && !a ? Li(o, c) :
|
|
2214
|
+
let f = o && !d && !a ? Li(o, c) : G(0);
|
|
2210
2215
|
return {
|
|
2211
2216
|
width: n.width * l.x,
|
|
2212
2217
|
height: n.height * l.y,
|
|
@@ -2218,8 +2223,8 @@ function zi(e) {
|
|
|
2218
2223
|
return Array.from(e.getClientRects());
|
|
2219
2224
|
}
|
|
2220
2225
|
function Bi(e) {
|
|
2221
|
-
let t =
|
|
2222
|
-
return
|
|
2226
|
+
let t = X(e), n = wi(e), r = e.ownerDocument.body, i = W(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = W(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Ii(e), s = -n.scrollTop;
|
|
2227
|
+
return Q(r).direction === "rtl" && (o += W(t.clientWidth, r.clientWidth) - i), {
|
|
2223
2228
|
width: i,
|
|
2224
2229
|
height: a,
|
|
2225
2230
|
x: o,
|
|
@@ -2228,10 +2233,10 @@ function Bi(e) {
|
|
|
2228
2233
|
}
|
|
2229
2234
|
var Vi = 25;
|
|
2230
2235
|
function Hi(e, t) {
|
|
2231
|
-
let n =
|
|
2236
|
+
let n = Y(e), r = X(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2232
2237
|
if (i) {
|
|
2233
2238
|
a = i.width, o = i.height;
|
|
2234
|
-
let e =
|
|
2239
|
+
let e = Si();
|
|
2235
2240
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2236
2241
|
}
|
|
2237
2242
|
let l = Ii(r);
|
|
@@ -2247,7 +2252,7 @@ function Hi(e, t) {
|
|
|
2247
2252
|
};
|
|
2248
2253
|
}
|
|
2249
2254
|
function Ui(e, t) {
|
|
2250
|
-
let n = Fi(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a =
|
|
2255
|
+
let n = Fi(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = di(e) ? ji(e) : G(1);
|
|
2251
2256
|
return {
|
|
2252
2257
|
width: e.clientWidth * a.x,
|
|
2253
2258
|
height: e.clientHeight * a.y,
|
|
@@ -2258,8 +2263,8 @@ function Ui(e, t) {
|
|
|
2258
2263
|
function Wi(e, t, n) {
|
|
2259
2264
|
let r;
|
|
2260
2265
|
if (t === "viewport") r = Hi(e, n);
|
|
2261
|
-
else if (t === "document") r = Bi(
|
|
2262
|
-
else if (
|
|
2266
|
+
else if (t === "document") r = Bi(X(e));
|
|
2267
|
+
else if (Z(t)) r = Ui(t, n);
|
|
2263
2268
|
else {
|
|
2264
2269
|
let n = Ni(e);
|
|
2265
2270
|
r = {
|
|
@@ -2269,27 +2274,27 @@ function Wi(e, t, n) {
|
|
|
2269
2274
|
height: t.height
|
|
2270
2275
|
};
|
|
2271
2276
|
}
|
|
2272
|
-
return
|
|
2277
|
+
return Kr(r);
|
|
2273
2278
|
}
|
|
2274
2279
|
function Gi(e, t) {
|
|
2275
|
-
let n =
|
|
2276
|
-
return n === t || !
|
|
2280
|
+
let n = Ti(e);
|
|
2281
|
+
return n === t || !Z(n) || Ci(n) ? !1 : Q(n).position === "fixed" || Gi(n, t);
|
|
2277
2282
|
}
|
|
2278
2283
|
function Ki(e, t) {
|
|
2279
2284
|
let n = t.get(e);
|
|
2280
2285
|
if (n) return n;
|
|
2281
|
-
let r = Di(e, [], !1).filter((e) =>
|
|
2282
|
-
for (;
|
|
2283
|
-
let t =
|
|
2284
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2286
|
+
let r = Di(e, [], !1).filter((e) => Z(e) && li(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? Ti(e) : e;
|
|
2287
|
+
for (; Z(o) && !Ci(o);) {
|
|
2288
|
+
let t = Q(o), n = bi(o);
|
|
2289
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || pi(o) && !n && Gi(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Ti(o);
|
|
2285
2290
|
}
|
|
2286
2291
|
return t.set(e, r), r;
|
|
2287
2292
|
}
|
|
2288
2293
|
function qi(e) {
|
|
2289
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2294
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? hi(t) ? [] : Ki(t, this._c) : [].concat(n), r], o = Wi(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2290
2295
|
for (let e = 1; e < a.length; e++) {
|
|
2291
2296
|
let n = Wi(t, a[e], i);
|
|
2292
|
-
s =
|
|
2297
|
+
s = W(n.top, s), c = Tr(n.right, c), l = Tr(n.bottom, l), u = W(n.left, u);
|
|
2293
2298
|
}
|
|
2294
2299
|
return {
|
|
2295
2300
|
width: c - u,
|
|
@@ -2306,21 +2311,21 @@ function Ji(e) {
|
|
|
2306
2311
|
};
|
|
2307
2312
|
}
|
|
2308
2313
|
function Yi(e, t, n) {
|
|
2309
|
-
let r =
|
|
2314
|
+
let r = di(t), i = X(t), a = n === "fixed", o = Fi(e, !0, a, t), s = {
|
|
2310
2315
|
scrollLeft: 0,
|
|
2311
2316
|
scrollTop: 0
|
|
2312
|
-
}, c =
|
|
2317
|
+
}, c = G(0);
|
|
2313
2318
|
function l() {
|
|
2314
2319
|
c.x = Ii(i);
|
|
2315
2320
|
}
|
|
2316
2321
|
if (r || !r && !a) {
|
|
2317
|
-
if ((
|
|
2322
|
+
if ((li(t) !== "body" || pi(i)) && (s = wi(t)), r) {
|
|
2318
2323
|
let e = Fi(t, !0, a, t);
|
|
2319
2324
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2320
2325
|
} else i && l();
|
|
2321
2326
|
}
|
|
2322
2327
|
a && !r && i && l();
|
|
2323
|
-
let u = i && !r && !a ? Li(i, s) :
|
|
2328
|
+
let u = i && !r && !a ? Li(i, s) : G(0);
|
|
2324
2329
|
return {
|
|
2325
2330
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2326
2331
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2329,28 +2334,28 @@ function Yi(e, t, n) {
|
|
|
2329
2334
|
};
|
|
2330
2335
|
}
|
|
2331
2336
|
function Xi(e) {
|
|
2332
|
-
return
|
|
2337
|
+
return Q(e).position === "static";
|
|
2333
2338
|
}
|
|
2334
2339
|
function Zi(e, t) {
|
|
2335
|
-
if (!
|
|
2340
|
+
if (!di(e) || Q(e).position === "fixed") return null;
|
|
2336
2341
|
if (t) return t(e);
|
|
2337
2342
|
let n = e.offsetParent;
|
|
2338
|
-
return
|
|
2343
|
+
return X(e) === n && (n = n.ownerDocument.body), n;
|
|
2339
2344
|
}
|
|
2340
2345
|
function Qi(e, t) {
|
|
2341
|
-
let n =
|
|
2342
|
-
if (
|
|
2343
|
-
if (!
|
|
2344
|
-
let t =
|
|
2345
|
-
for (; t && !
|
|
2346
|
-
if (
|
|
2347
|
-
t =
|
|
2346
|
+
let n = Y(e);
|
|
2347
|
+
if (hi(e)) return n;
|
|
2348
|
+
if (!di(e)) {
|
|
2349
|
+
let t = Ti(e);
|
|
2350
|
+
for (; t && !Ci(t);) {
|
|
2351
|
+
if (Z(t) && !Xi(t)) return t;
|
|
2352
|
+
t = Ti(t);
|
|
2348
2353
|
}
|
|
2349
2354
|
return n;
|
|
2350
2355
|
}
|
|
2351
2356
|
let r = Zi(e, t);
|
|
2352
|
-
for (; r &&
|
|
2353
|
-
return r &&
|
|
2357
|
+
for (; r && mi(r) && Xi(r);) r = Zi(r, t);
|
|
2358
|
+
return r && Ci(r) && Xi(r) && !bi(r) ? n : r || xi(e) || n;
|
|
2354
2359
|
}
|
|
2355
2360
|
var $i = async function(e) {
|
|
2356
2361
|
let t = this.getOffsetParent || Qi, n = this.getDimensions, r = await n(e.floating);
|
|
@@ -2365,25 +2370,25 @@ var $i = async function(e) {
|
|
|
2365
2370
|
};
|
|
2366
2371
|
};
|
|
2367
2372
|
function ea(e) {
|
|
2368
|
-
return
|
|
2373
|
+
return Q(e).direction === "rtl";
|
|
2369
2374
|
}
|
|
2370
2375
|
var ta = {
|
|
2371
2376
|
convertOffsetParentRelativeRectToViewportRelativeRect: Ri,
|
|
2372
|
-
getDocumentElement:
|
|
2377
|
+
getDocumentElement: X,
|
|
2373
2378
|
getClippingRect: qi,
|
|
2374
2379
|
getOffsetParent: Qi,
|
|
2375
2380
|
getElementRects: $i,
|
|
2376
2381
|
getClientRects: zi,
|
|
2377
2382
|
getDimensions: Ji,
|
|
2378
2383
|
getScale: ji,
|
|
2379
|
-
isElement:
|
|
2384
|
+
isElement: Z,
|
|
2380
2385
|
isRTL: ea
|
|
2381
2386
|
};
|
|
2382
2387
|
function na(e, t) {
|
|
2383
2388
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2384
2389
|
}
|
|
2385
2390
|
function ra(e, t) {
|
|
2386
|
-
let n = null, r, i =
|
|
2391
|
+
let n = null, r, i = X(e);
|
|
2387
2392
|
function a() {
|
|
2388
2393
|
var e;
|
|
2389
2394
|
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
@@ -2392,9 +2397,9 @@ function ra(e, t) {
|
|
|
2392
2397
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2393
2398
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2394
2399
|
if (s || t(), !f || !p) return;
|
|
2395
|
-
let m =
|
|
2400
|
+
let m = Dr(d), h = Dr(i.clientWidth - (u + f)), g = Dr(i.clientHeight - (d + p)), _ = Dr(u), v = {
|
|
2396
2401
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2397
|
-
threshold:
|
|
2402
|
+
threshold: W(0, Tr(1, c)) || 1
|
|
2398
2403
|
}, y = !0;
|
|
2399
2404
|
function b(t) {
|
|
2400
2405
|
let n = t[0].intersectionRatio;
|
|
@@ -2445,7 +2450,7 @@ function ia(e, t, n, r) {
|
|
|
2445
2450
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2446
2451
|
};
|
|
2447
2452
|
}
|
|
2448
|
-
var aa =
|
|
2453
|
+
var aa = ii, oa = ai, sa = Qr, ca = si, la = ti, ua = Zr, da = oi, fa = (e, t, n) => {
|
|
2449
2454
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2450
2455
|
platform: ta,
|
|
2451
2456
|
...n
|
|
@@ -2453,11 +2458,11 @@ var aa = oi, oa = si, sa = ei, ca = li, la = ri, ua = $r, da = ci, fa = (e, t, n
|
|
|
2453
2458
|
...i.platform,
|
|
2454
2459
|
_c: r
|
|
2455
2460
|
};
|
|
2456
|
-
return
|
|
2461
|
+
return Xr(e, t, {
|
|
2457
2462
|
...i,
|
|
2458
2463
|
platform: a
|
|
2459
2464
|
});
|
|
2460
|
-
}, pa = typeof document < "u" ?
|
|
2465
|
+
}, pa = typeof document < "u" ? I.useLayoutEffect : function() {};
|
|
2461
2466
|
function ma(e, t) {
|
|
2462
2467
|
if (e === t) return !0;
|
|
2463
2468
|
if (typeof e != typeof t) return !1;
|
|
@@ -2487,39 +2492,39 @@ function ga(e, t) {
|
|
|
2487
2492
|
return Math.round(t * n) / n;
|
|
2488
2493
|
}
|
|
2489
2494
|
function _a(e) {
|
|
2490
|
-
let t =
|
|
2495
|
+
let t = I.useRef(e);
|
|
2491
2496
|
return pa(() => {
|
|
2492
2497
|
t.current = e;
|
|
2493
2498
|
}), t;
|
|
2494
2499
|
}
|
|
2495
2500
|
function va(e) {
|
|
2496
2501
|
e === void 0 && (e = {});
|
|
2497
|
-
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] =
|
|
2502
|
+
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] = I.useState({
|
|
2498
2503
|
x: 0,
|
|
2499
2504
|
y: 0,
|
|
2500
2505
|
strategy: n,
|
|
2501
2506
|
placement: t,
|
|
2502
2507
|
middlewareData: {},
|
|
2503
2508
|
isPositioned: !1
|
|
2504
|
-
}), [f, p] =
|
|
2509
|
+
}), [f, p] = I.useState(r);
|
|
2505
2510
|
ma(f, r) || p(r);
|
|
2506
|
-
let [m, h] =
|
|
2511
|
+
let [m, h] = I.useState(null), [g, _] = I.useState(null), v = I.useCallback((e) => {
|
|
2507
2512
|
e !== S.current && (S.current = e, h(e));
|
|
2508
|
-
}, []), y =
|
|
2513
|
+
}, []), y = I.useCallback((e) => {
|
|
2509
2514
|
e !== C.current && (C.current = e, _(e));
|
|
2510
|
-
}, []), b = a || m, x = o || g, S =
|
|
2515
|
+
}, []), b = a || m, x = o || g, S = I.useRef(null), C = I.useRef(null), w = I.useRef(u), T = c != null, E = _a(c), D = _a(i), ee = _a(l), O = I.useCallback(() => {
|
|
2511
2516
|
if (!S.current || !C.current) return;
|
|
2512
2517
|
let e = {
|
|
2513
2518
|
placement: t,
|
|
2514
2519
|
strategy: n,
|
|
2515
2520
|
middleware: f
|
|
2516
2521
|
};
|
|
2517
|
-
|
|
2522
|
+
D.current && (e.platform = D.current), fa(S.current, C.current, e).then((e) => {
|
|
2518
2523
|
let t = {
|
|
2519
2524
|
...e,
|
|
2520
|
-
isPositioned:
|
|
2525
|
+
isPositioned: ee.current !== !1
|
|
2521
2526
|
};
|
|
2522
|
-
|
|
2527
|
+
k.current && !ma(w.current, t) && (w.current = t, Tt.flushSync(() => {
|
|
2523
2528
|
d(t);
|
|
2524
2529
|
}));
|
|
2525
2530
|
});
|
|
@@ -2527,8 +2532,8 @@ function va(e) {
|
|
|
2527
2532
|
f,
|
|
2528
2533
|
t,
|
|
2529
2534
|
n,
|
|
2530
|
-
|
|
2531
|
-
|
|
2535
|
+
D,
|
|
2536
|
+
ee
|
|
2532
2537
|
]);
|
|
2533
2538
|
pa(() => {
|
|
2534
2539
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
@@ -2536,41 +2541,41 @@ function va(e) {
|
|
|
2536
2541
|
isPositioned: !1
|
|
2537
2542
|
})));
|
|
2538
2543
|
}, [l]);
|
|
2539
|
-
let
|
|
2540
|
-
pa(() => (
|
|
2541
|
-
|
|
2544
|
+
let k = I.useRef(!1);
|
|
2545
|
+
pa(() => (k.current = !0, () => {
|
|
2546
|
+
k.current = !1;
|
|
2542
2547
|
}), []), pa(() => {
|
|
2543
2548
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2544
|
-
if (
|
|
2545
|
-
|
|
2549
|
+
if (E.current) return E.current(b, x, O);
|
|
2550
|
+
O();
|
|
2546
2551
|
}
|
|
2547
2552
|
}, [
|
|
2548
2553
|
b,
|
|
2549
2554
|
x,
|
|
2550
|
-
|
|
2551
|
-
|
|
2555
|
+
O,
|
|
2556
|
+
E,
|
|
2552
2557
|
T
|
|
2553
2558
|
]);
|
|
2554
|
-
let
|
|
2559
|
+
let te = I.useMemo(() => ({
|
|
2555
2560
|
reference: S,
|
|
2556
2561
|
floating: C,
|
|
2557
2562
|
setReference: v,
|
|
2558
2563
|
setFloating: y
|
|
2559
|
-
}), [v, y]),
|
|
2564
|
+
}), [v, y]), A = I.useMemo(() => ({
|
|
2560
2565
|
reference: b,
|
|
2561
2566
|
floating: x
|
|
2562
|
-
}), [b, x]),
|
|
2567
|
+
}), [b, x]), j = I.useMemo(() => {
|
|
2563
2568
|
let e = {
|
|
2564
2569
|
position: n,
|
|
2565
2570
|
left: 0,
|
|
2566
2571
|
top: 0
|
|
2567
2572
|
};
|
|
2568
|
-
if (!
|
|
2569
|
-
let t = ga(
|
|
2573
|
+
if (!A.floating) return e;
|
|
2574
|
+
let t = ga(A.floating, u.x), r = ga(A.floating, u.y);
|
|
2570
2575
|
return s ? {
|
|
2571
2576
|
...e,
|
|
2572
2577
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2573
|
-
...ha(
|
|
2578
|
+
...ha(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2574
2579
|
} : {
|
|
2575
2580
|
position: n,
|
|
2576
2581
|
left: t,
|
|
@@ -2579,22 +2584,22 @@ function va(e) {
|
|
|
2579
2584
|
}, [
|
|
2580
2585
|
n,
|
|
2581
2586
|
s,
|
|
2582
|
-
|
|
2587
|
+
A.floating,
|
|
2583
2588
|
u.x,
|
|
2584
2589
|
u.y
|
|
2585
2590
|
]);
|
|
2586
|
-
return
|
|
2591
|
+
return I.useMemo(() => ({
|
|
2587
2592
|
...u,
|
|
2588
|
-
update:
|
|
2589
|
-
refs:
|
|
2590
|
-
elements:
|
|
2591
|
-
floatingStyles:
|
|
2593
|
+
update: O,
|
|
2594
|
+
refs: te,
|
|
2595
|
+
elements: A,
|
|
2596
|
+
floatingStyles: j
|
|
2592
2597
|
}), [
|
|
2593
2598
|
u,
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2599
|
+
O,
|
|
2600
|
+
te,
|
|
2601
|
+
A,
|
|
2602
|
+
j
|
|
2598
2603
|
]);
|
|
2599
2604
|
}
|
|
2600
2605
|
var ya = (e) => {
|
|
@@ -2660,16 +2665,16 @@ var ya = (e) => {
|
|
|
2660
2665
|
fn: n.fn,
|
|
2661
2666
|
options: [e, t]
|
|
2662
2667
|
};
|
|
2663
|
-
}, Da = "Arrow", Oa =
|
|
2668
|
+
}, Da = "Arrow", Oa = I.forwardRef((e, t) => {
|
|
2664
2669
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2665
|
-
return /* @__PURE__ */ (0,
|
|
2670
|
+
return /* @__PURE__ */ (0, R.jsx)(U.svg, {
|
|
2666
2671
|
...a,
|
|
2667
2672
|
ref: t,
|
|
2668
2673
|
width: r,
|
|
2669
2674
|
height: i,
|
|
2670
2675
|
viewBox: "0 0 30 10",
|
|
2671
2676
|
preserveAspectRatio: "none",
|
|
2672
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
2677
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, R.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2673
2678
|
});
|
|
2674
2679
|
});
|
|
2675
2680
|
Oa.displayName = Da;
|
|
@@ -2677,8 +2682,8 @@ var ka = Oa;
|
|
|
2677
2682
|
//#endregion
|
|
2678
2683
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2679
2684
|
function Aa(e) {
|
|
2680
|
-
let [t, n] =
|
|
2681
|
-
return
|
|
2685
|
+
let [t, n] = I.useState(void 0);
|
|
2686
|
+
return br(() => {
|
|
2682
2687
|
if (e) {
|
|
2683
2688
|
n({
|
|
2684
2689
|
width: e.offsetWidth,
|
|
@@ -2703,9 +2708,9 @@ function Aa(e) {
|
|
|
2703
2708
|
}
|
|
2704
2709
|
//#endregion
|
|
2705
2710
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2706
|
-
var ja = "Popper", [Ma, Na] =
|
|
2707
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
2708
|
-
return /* @__PURE__ */ (0,
|
|
2711
|
+
var ja = "Popper", [Ma, Na] = jn(ja), [Pa, Fa] = Ma(ja), Ia = (e) => {
|
|
2712
|
+
let { __scopePopper: t, children: n } = e, [r, i] = I.useState(null);
|
|
2713
|
+
return /* @__PURE__ */ (0, R.jsx)(Pa, {
|
|
2709
2714
|
scope: t,
|
|
2710
2715
|
anchor: r,
|
|
2711
2716
|
onAnchorChange: i,
|
|
@@ -2713,29 +2718,29 @@ var ja = "Popper", [Ma, Na] = Nn(ja), [Pa, Fa] = Ma(ja), Ia = (e) => {
|
|
|
2713
2718
|
});
|
|
2714
2719
|
};
|
|
2715
2720
|
Ia.displayName = ja;
|
|
2716
|
-
var La = "PopperAnchor", Ra =
|
|
2717
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Fa(La, n), o =
|
|
2718
|
-
return
|
|
2721
|
+
var La = "PopperAnchor", Ra = I.forwardRef((e, t) => {
|
|
2722
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Fa(La, n), o = I.useRef(null), s = H(t, o), c = I.useRef(null);
|
|
2723
|
+
return I.useEffect(() => {
|
|
2719
2724
|
let e = c.current;
|
|
2720
2725
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2721
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2726
|
+
}), r ? null : /* @__PURE__ */ (0, R.jsx)(U.div, {
|
|
2722
2727
|
...i,
|
|
2723
2728
|
ref: s
|
|
2724
2729
|
});
|
|
2725
2730
|
});
|
|
2726
2731
|
Ra.displayName = La;
|
|
2727
|
-
var za = "PopperContent", [Ba, Va] = Ma(za), Ha =
|
|
2728
|
-
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 = Fa(za, n), [_, v] =
|
|
2732
|
+
var za = "PopperContent", [Ba, Va] = Ma(za), Ha = I.forwardRef((e, t) => {
|
|
2733
|
+
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 = Fa(za, n), [_, v] = I.useState(null), y = H(t, (e) => v(e)), [b, x] = I.useState(null), S = Aa(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), E = typeof u == "number" ? u : {
|
|
2729
2734
|
top: 0,
|
|
2730
2735
|
right: 0,
|
|
2731
2736
|
bottom: 0,
|
|
2732
2737
|
left: 0,
|
|
2733
2738
|
...u
|
|
2734
|
-
},
|
|
2735
|
-
padding:
|
|
2736
|
-
boundary:
|
|
2737
|
-
altBoundary:
|
|
2738
|
-
}, { refs:
|
|
2739
|
+
}, D = Array.isArray(l) ? l : [l], ee = D.length > 0, O = {
|
|
2740
|
+
padding: E,
|
|
2741
|
+
boundary: D.filter(Ka),
|
|
2742
|
+
altBoundary: ee
|
|
2743
|
+
}, { refs: k, floatingStyles: te, placement: A, isPositioned: j, middlewareData: ne } = va({
|
|
2739
2744
|
strategy: "fixed",
|
|
2740
2745
|
placement: T,
|
|
2741
2746
|
whileElementsMounted: (...e) => ia(...e, { animationFrame: p === "always" }),
|
|
@@ -2749,11 +2754,11 @@ var za = "PopperContent", [Ba, Va] = Ma(za), Ha = P.forwardRef((e, t) => {
|
|
|
2749
2754
|
mainAxis: !0,
|
|
2750
2755
|
crossAxis: !1,
|
|
2751
2756
|
limiter: d === "partial" ? Sa() : void 0,
|
|
2752
|
-
...
|
|
2757
|
+
...O
|
|
2753
2758
|
}),
|
|
2754
|
-
c && Ca({ ...
|
|
2759
|
+
c && Ca({ ...O }),
|
|
2755
2760
|
wa({
|
|
2756
|
-
...
|
|
2761
|
+
...O,
|
|
2757
2762
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2758
2763
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2759
2764
|
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`);
|
|
@@ -2769,46 +2774,46 @@ var za = "PopperContent", [Ba, Va] = Ma(za), Ha = P.forwardRef((e, t) => {
|
|
|
2769
2774
|
}),
|
|
2770
2775
|
f && Ta({
|
|
2771
2776
|
strategy: "referenceHidden",
|
|
2772
|
-
...
|
|
2777
|
+
...O
|
|
2773
2778
|
})
|
|
2774
2779
|
]
|
|
2775
|
-
}), [
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
}, [
|
|
2779
|
-
let
|
|
2780
|
-
return
|
|
2781
|
-
_ &&
|
|
2782
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
2783
|
-
ref:
|
|
2780
|
+
}), [re, ie] = Ja(A), ae = Bn(m);
|
|
2781
|
+
br(() => {
|
|
2782
|
+
j && ae?.();
|
|
2783
|
+
}, [j, ae]);
|
|
2784
|
+
let oe = ne.arrow?.x, se = ne.arrow?.y, ce = ne.arrow?.centerOffset !== 0, [le, ue] = I.useState();
|
|
2785
|
+
return br(() => {
|
|
2786
|
+
_ && ue(window.getComputedStyle(_).zIndex);
|
|
2787
|
+
}, [_]), /* @__PURE__ */ (0, R.jsx)("div", {
|
|
2788
|
+
ref: k.setFloating,
|
|
2784
2789
|
"data-radix-popper-content-wrapper": "",
|
|
2785
2790
|
style: {
|
|
2786
|
-
...
|
|
2787
|
-
transform:
|
|
2791
|
+
...te,
|
|
2792
|
+
transform: j ? te.transform : "translate(0, -200%)",
|
|
2788
2793
|
minWidth: "max-content",
|
|
2789
|
-
zIndex:
|
|
2790
|
-
"--radix-popper-transform-origin": [
|
|
2791
|
-
...
|
|
2794
|
+
zIndex: le,
|
|
2795
|
+
"--radix-popper-transform-origin": [ne.transformOrigin?.x, ne.transformOrigin?.y].join(" "),
|
|
2796
|
+
...ne.hide?.referenceHidden && {
|
|
2792
2797
|
visibility: "hidden",
|
|
2793
2798
|
pointerEvents: "none"
|
|
2794
2799
|
}
|
|
2795
2800
|
},
|
|
2796
2801
|
dir: e.dir,
|
|
2797
|
-
children: /* @__PURE__ */ (0,
|
|
2802
|
+
children: /* @__PURE__ */ (0, R.jsx)(Ba, {
|
|
2798
2803
|
scope: n,
|
|
2799
|
-
placedSide:
|
|
2804
|
+
placedSide: re,
|
|
2800
2805
|
onArrowChange: x,
|
|
2801
|
-
arrowX:
|
|
2802
|
-
arrowY:
|
|
2803
|
-
shouldHideArrow:
|
|
2804
|
-
children: /* @__PURE__ */ (0,
|
|
2805
|
-
"data-side":
|
|
2806
|
-
"data-align":
|
|
2806
|
+
arrowX: oe,
|
|
2807
|
+
arrowY: se,
|
|
2808
|
+
shouldHideArrow: ce,
|
|
2809
|
+
children: /* @__PURE__ */ (0, R.jsx)(U.div, {
|
|
2810
|
+
"data-side": re,
|
|
2811
|
+
"data-align": ie,
|
|
2807
2812
|
...h,
|
|
2808
2813
|
ref: y,
|
|
2809
2814
|
style: {
|
|
2810
2815
|
...h.style,
|
|
2811
|
-
animation:
|
|
2816
|
+
animation: j ? void 0 : "none"
|
|
2812
2817
|
}
|
|
2813
2818
|
})
|
|
2814
2819
|
})
|
|
@@ -2820,9 +2825,9 @@ var Ua = "PopperArrow", Wa = {
|
|
|
2820
2825
|
right: "left",
|
|
2821
2826
|
bottom: "top",
|
|
2822
2827
|
left: "right"
|
|
2823
|
-
}, Ga =
|
|
2828
|
+
}, Ga = I.forwardRef(function(e, t) {
|
|
2824
2829
|
let { __scopePopper: n, ...r } = e, i = Va(Ua, n), a = Wa[i.placedSide];
|
|
2825
|
-
return /* @__PURE__ */ (0,
|
|
2830
|
+
return /* @__PURE__ */ (0, R.jsx)("span", {
|
|
2826
2831
|
ref: i.onArrowChange,
|
|
2827
2832
|
style: {
|
|
2828
2833
|
position: "absolute",
|
|
@@ -2843,7 +2848,7 @@ var Ua = "PopperArrow", Wa = {
|
|
|
2843
2848
|
}[i.placedSide],
|
|
2844
2849
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2845
2850
|
},
|
|
2846
|
-
children: /* @__PURE__ */ (0,
|
|
2851
|
+
children: /* @__PURE__ */ (0, R.jsx)(ka, {
|
|
2847
2852
|
...r,
|
|
2848
2853
|
ref: t,
|
|
2849
2854
|
style: {
|
|
@@ -2876,11 +2881,11 @@ function Ja(e) {
|
|
|
2876
2881
|
let [t, n = "center"] = e.split("-");
|
|
2877
2882
|
return [t, n];
|
|
2878
2883
|
}
|
|
2879
|
-
var Ya = Ia, Xa = Ra, Za = Ha, Qa = Ga, $a = "Portal", eo =
|
|
2880
|
-
let { container: n, ...r } = e, [i, a] =
|
|
2881
|
-
|
|
2884
|
+
var Ya = Ia, Xa = Ra, Za = Ha, Qa = Ga, $a = "Portal", eo = I.forwardRef((e, t) => {
|
|
2885
|
+
let { container: n, ...r } = e, [i, a] = I.useState(!1);
|
|
2886
|
+
br(() => a(!0), []);
|
|
2882
2887
|
let o = n || i && globalThis?.document?.body;
|
|
2883
|
-
return o ?
|
|
2888
|
+
return o ? Tt.createPortal(/* @__PURE__ */ (0, R.jsx)(U.div, {
|
|
2884
2889
|
...r,
|
|
2885
2890
|
ref: t
|
|
2886
2891
|
}), o) : null;
|
|
@@ -2889,15 +2894,15 @@ eo.displayName = $a;
|
|
|
2889
2894
|
//#endregion
|
|
2890
2895
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2891
2896
|
function to(e, t) {
|
|
2892
|
-
return
|
|
2897
|
+
return I.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2893
2898
|
}
|
|
2894
2899
|
var no = (e) => {
|
|
2895
|
-
let { present: t, children: n } = e, r = ro(t), i = typeof n == "function" ? n({ present: r.isPresent }) :
|
|
2896
|
-
return typeof n == "function" || r.isPresent ?
|
|
2900
|
+
let { present: t, children: n } = e, r = ro(t), i = typeof n == "function" ? n({ present: r.isPresent }) : I.Children.only(n), a = H(r.ref, ao(i));
|
|
2901
|
+
return typeof n == "function" || r.isPresent ? I.cloneElement(i, { ref: a }) : null;
|
|
2897
2902
|
};
|
|
2898
2903
|
no.displayName = "Presence";
|
|
2899
2904
|
function ro(e) {
|
|
2900
|
-
let [t, n] =
|
|
2905
|
+
let [t, n] = I.useState(), r = I.useRef(null), i = I.useRef(e), a = I.useRef("none"), [o, s] = to(e ? "mounted" : "unmounted", {
|
|
2901
2906
|
mounted: {
|
|
2902
2907
|
UNMOUNT: "unmounted",
|
|
2903
2908
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2908,16 +2913,16 @@ function ro(e) {
|
|
|
2908
2913
|
},
|
|
2909
2914
|
unmounted: { MOUNT: "mounted" }
|
|
2910
2915
|
});
|
|
2911
|
-
return
|
|
2916
|
+
return I.useEffect(() => {
|
|
2912
2917
|
let e = io(r.current);
|
|
2913
2918
|
a.current = o === "mounted" ? e : "none";
|
|
2914
|
-
}, [o]),
|
|
2919
|
+
}, [o]), br(() => {
|
|
2915
2920
|
let t = r.current, n = i.current;
|
|
2916
2921
|
if (n !== e) {
|
|
2917
2922
|
let r = a.current, o = io(t);
|
|
2918
2923
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2919
2924
|
}
|
|
2920
|
-
}, [e, s]),
|
|
2925
|
+
}, [e, s]), br(() => {
|
|
2921
2926
|
if (t) {
|
|
2922
2927
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2923
2928
|
let o = io(r.current).includes(CSS.escape(a.animationName));
|
|
@@ -2937,7 +2942,7 @@ function ro(e) {
|
|
|
2937
2942
|
s("ANIMATION_END");
|
|
2938
2943
|
}, [t, s]), {
|
|
2939
2944
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
2940
|
-
ref:
|
|
2945
|
+
ref: I.useCallback((e) => {
|
|
2941
2946
|
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
2942
2947
|
}, [])
|
|
2943
2948
|
};
|
|
@@ -2951,20 +2956,20 @@ function ao(e) {
|
|
|
2951
2956
|
}
|
|
2952
2957
|
//#endregion
|
|
2953
2958
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2954
|
-
var oo =
|
|
2959
|
+
var oo = I.useInsertionEffect || br;
|
|
2955
2960
|
function so({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2956
2961
|
let [i, a, o] = co({
|
|
2957
2962
|
defaultProp: t,
|
|
2958
2963
|
onChange: n
|
|
2959
2964
|
}), s = e !== void 0, c = s ? e : i;
|
|
2960
2965
|
{
|
|
2961
|
-
let t =
|
|
2962
|
-
|
|
2966
|
+
let t = I.useRef(e !== void 0);
|
|
2967
|
+
I.useEffect(() => {
|
|
2963
2968
|
let e = t.current;
|
|
2964
2969
|
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;
|
|
2965
2970
|
}, [s, r]);
|
|
2966
2971
|
}
|
|
2967
|
-
return [c,
|
|
2972
|
+
return [c, I.useCallback((t) => {
|
|
2968
2973
|
if (s) {
|
|
2969
2974
|
let n = lo(t) ? t(e) : t;
|
|
2970
2975
|
n !== e && o.current?.(n);
|
|
@@ -2977,10 +2982,10 @@ function so({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2977
2982
|
])];
|
|
2978
2983
|
}
|
|
2979
2984
|
function co({ defaultProp: e, onChange: t }) {
|
|
2980
|
-
let [n, r] =
|
|
2985
|
+
let [n, r] = I.useState(e), i = I.useRef(n), a = I.useRef(t);
|
|
2981
2986
|
return oo(() => {
|
|
2982
2987
|
a.current = t;
|
|
2983
|
-
}, [t]),
|
|
2988
|
+
}, [t]), I.useEffect(() => {
|
|
2984
2989
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
2985
2990
|
}, [n, i]), [
|
|
2986
2991
|
n,
|
|
@@ -3180,7 +3185,7 @@ function Ao(e, t) {
|
|
|
3180
3185
|
//#endregion
|
|
3181
3186
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3182
3187
|
function jo(e, t) {
|
|
3183
|
-
var n = (0,
|
|
3188
|
+
var n = (0, I.useState)(function() {
|
|
3184
3189
|
return {
|
|
3185
3190
|
value: e,
|
|
3186
3191
|
callback: t,
|
|
@@ -3199,7 +3204,7 @@ function jo(e, t) {
|
|
|
3199
3204
|
}
|
|
3200
3205
|
//#endregion
|
|
3201
3206
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3202
|
-
var Mo = typeof window < "u" ?
|
|
3207
|
+
var Mo = typeof window < "u" ? I.useLayoutEffect : I.useEffect, No = /* @__PURE__ */ new WeakMap();
|
|
3203
3208
|
function Po(e, t) {
|
|
3204
3209
|
var n = jo(t || null, function(t) {
|
|
3205
3210
|
return e.forEach(function(e) {
|
|
@@ -3293,7 +3298,7 @@ var Ro = function(e) {
|
|
|
3293
3298
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3294
3299
|
var r = t.read();
|
|
3295
3300
|
if (!r) throw Error("Sidecar medium not found");
|
|
3296
|
-
return
|
|
3301
|
+
return I.createElement(r, $({}, n));
|
|
3297
3302
|
};
|
|
3298
3303
|
Ro.isSideCarExport = !0;
|
|
3299
3304
|
function zo(e, t) {
|
|
@@ -3301,8 +3306,8 @@ function zo(e, t) {
|
|
|
3301
3306
|
}
|
|
3302
3307
|
//#endregion
|
|
3303
3308
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3304
|
-
var Bo = Lo(), Vo = function() {}, Ho =
|
|
3305
|
-
var n =
|
|
3309
|
+
var Bo = Lo(), Vo = function() {}, Ho = I.forwardRef(function(e, t) {
|
|
3310
|
+
var n = I.useRef(null), r = I.useState({
|
|
3306
3311
|
onScrollCapture: Vo,
|
|
3307
3312
|
onWheelCapture: Vo,
|
|
3308
3313
|
onTouchMoveCapture: Vo
|
|
@@ -3321,7 +3326,7 @@ var Bo = Lo(), Vo = function() {}, Ho = P.forwardRef(function(e, t) {
|
|
|
3321
3326
|
"as",
|
|
3322
3327
|
"gapMode"
|
|
3323
3328
|
]), x = f, S = Po([n, t]), C = $($({}, b), i);
|
|
3324
|
-
return
|
|
3329
|
+
return I.createElement(I.Fragment, null, u && I.createElement(x, {
|
|
3325
3330
|
sideCar: Bo,
|
|
3326
3331
|
removeScrollBar: l,
|
|
3327
3332
|
shards: d,
|
|
@@ -3332,7 +3337,7 @@ var Bo = Lo(), Vo = function() {}, Ho = P.forwardRef(function(e, t) {
|
|
|
3332
3337
|
allowPinchZoom: !!g,
|
|
3333
3338
|
lockRef: n,
|
|
3334
3339
|
gapMode: y
|
|
3335
|
-
}), o ?
|
|
3340
|
+
}), o ? I.cloneElement(I.Children.only(s), $($({}, C), { ref: S })) : I.createElement(v, $({}, C, {
|
|
3336
3341
|
className: c,
|
|
3337
3342
|
ref: S
|
|
3338
3343
|
}), s));
|
|
@@ -3378,7 +3383,7 @@ var qo = function() {
|
|
|
3378
3383
|
}, Jo = function() {
|
|
3379
3384
|
var e = qo();
|
|
3380
3385
|
return function(t, n) {
|
|
3381
|
-
|
|
3386
|
+
I.useEffect(function() {
|
|
3382
3387
|
return e.add(t), function() {
|
|
3383
3388
|
e.remove();
|
|
3384
3389
|
};
|
|
@@ -3461,7 +3466,7 @@ var qo = function() {
|
|
|
3461
3466
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3462
3467
|
return isFinite(e) ? e : 0;
|
|
3463
3468
|
}, is = function() {
|
|
3464
|
-
|
|
3469
|
+
I.useEffect(function() {
|
|
3465
3470
|
return document.body.setAttribute(ts, (rs() + 1).toString()), function() {
|
|
3466
3471
|
var e = rs() - 1;
|
|
3467
3472
|
e <= 0 ? document.body.removeAttribute(ts) : document.body.setAttribute(ts, e.toString());
|
|
@@ -3470,10 +3475,10 @@ var qo = function() {
|
|
|
3470
3475
|
}, as = function(e) {
|
|
3471
3476
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3472
3477
|
is();
|
|
3473
|
-
var a =
|
|
3478
|
+
var a = I.useMemo(function() {
|
|
3474
3479
|
return $o(i);
|
|
3475
3480
|
}, [i]);
|
|
3476
|
-
return
|
|
3481
|
+
return I.createElement(es, { styles: ns(a, !t, i, n ? "" : "!important") });
|
|
3477
3482
|
}, os = !1;
|
|
3478
3483
|
if (typeof window < "u") try {
|
|
3479
3484
|
var ss = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -3546,10 +3551,10 @@ var cs = os ? { passive: !1 } : !1, ls = function(e) {
|
|
|
3546
3551
|
`;
|
|
3547
3552
|
}, Ts = 0, Es = [];
|
|
3548
3553
|
function Ds(e) {
|
|
3549
|
-
var t =
|
|
3550
|
-
|
|
3554
|
+
var t = I.useRef([]), n = I.useRef([0, 0]), r = I.useRef(), i = I.useState(Ts++)[0], a = I.useState(Yo)[0], o = I.useRef(e);
|
|
3555
|
+
I.useEffect(function() {
|
|
3551
3556
|
o.current = e;
|
|
3552
|
-
}, [e]),
|
|
3557
|
+
}, [e]), I.useEffect(function() {
|
|
3553
3558
|
if (e.inert) {
|
|
3554
3559
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3555
3560
|
var t = To([e.lockRef.current], (e.shards || []).map(Ss), !0).filter(Boolean);
|
|
@@ -3566,7 +3571,7 @@ function Ds(e) {
|
|
|
3566
3571
|
e.lockRef.current,
|
|
3567
3572
|
e.shards
|
|
3568
3573
|
]);
|
|
3569
|
-
var s =
|
|
3574
|
+
var s = I.useCallback(function(e, t) {
|
|
3570
3575
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3571
3576
|
var i = bs(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";
|
|
3572
3577
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
@@ -3578,7 +3583,7 @@ function Ds(e) {
|
|
|
3578
3583
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3579
3584
|
var h = r.current || l;
|
|
3580
3585
|
return ys(h, t, e, h === "h" ? s : c, !0);
|
|
3581
|
-
}, []), c =
|
|
3586
|
+
}, []), c = I.useCallback(function(e) {
|
|
3582
3587
|
var n = e;
|
|
3583
3588
|
if (Es.length && Es[Es.length - 1] === a) {
|
|
3584
3589
|
var r = "deltaY" in n ? xs(n) : bs(n), i = t.current.filter(function(e) {
|
|
@@ -3592,7 +3597,7 @@ function Ds(e) {
|
|
|
3592
3597
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
3593
3598
|
}
|
|
3594
3599
|
}
|
|
3595
|
-
}, []), l =
|
|
3600
|
+
}, []), l = I.useCallback(function(e, n, r, i) {
|
|
3596
3601
|
var a = {
|
|
3597
3602
|
name: e,
|
|
3598
3603
|
delta: n,
|
|
@@ -3605,14 +3610,14 @@ function Ds(e) {
|
|
|
3605
3610
|
return e !== a;
|
|
3606
3611
|
});
|
|
3607
3612
|
}, 1);
|
|
3608
|
-
}, []), u =
|
|
3613
|
+
}, []), u = I.useCallback(function(e) {
|
|
3609
3614
|
n.current = bs(e), r.current = void 0;
|
|
3610
|
-
}, []), d =
|
|
3615
|
+
}, []), d = I.useCallback(function(t) {
|
|
3611
3616
|
l(t.type, xs(t), t.target, s(t, e.lockRef.current));
|
|
3612
|
-
}, []), f =
|
|
3617
|
+
}, []), f = I.useCallback(function(t) {
|
|
3613
3618
|
l(t.type, bs(t), t.target, s(t, e.lockRef.current));
|
|
3614
3619
|
}, []);
|
|
3615
|
-
|
|
3620
|
+
I.useEffect(function() {
|
|
3616
3621
|
return Es.push(a), e.setCallbacks({
|
|
3617
3622
|
onScrollCapture: d,
|
|
3618
3623
|
onWheelCapture: d,
|
|
@@ -3624,7 +3629,7 @@ function Ds(e) {
|
|
|
3624
3629
|
};
|
|
3625
3630
|
}, []);
|
|
3626
3631
|
var p = e.removeScrollBar, m = e.inert;
|
|
3627
|
-
return
|
|
3632
|
+
return I.createElement(I.Fragment, null, m ? I.createElement(a, { styles: ws(i) }) : null, p ? I.createElement(as, {
|
|
3628
3633
|
noRelative: e.noRelative,
|
|
3629
3634
|
gapMode: e.gapMode
|
|
3630
3635
|
}) : null);
|
|
@@ -3635,8 +3640,8 @@ function Os(e) {
|
|
|
3635
3640
|
}
|
|
3636
3641
|
//#endregion
|
|
3637
3642
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3638
|
-
var ks = zo(Bo, Ds), As =
|
|
3639
|
-
return
|
|
3643
|
+
var ks = zo(Bo, Ds), As = I.forwardRef(function(e, t) {
|
|
3644
|
+
return I.createElement(Ho, $({}, e, {
|
|
3640
3645
|
ref: t,
|
|
3641
3646
|
sideCar: ks
|
|
3642
3647
|
}));
|
|
@@ -3644,42 +3649,42 @@ var ks = zo(Bo, Ds), As = P.forwardRef(function(e, t) {
|
|
|
3644
3649
|
As.classNames = Ho.classNames;
|
|
3645
3650
|
//#endregion
|
|
3646
3651
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3647
|
-
var js = "Popover", [Ms, Ns] =
|
|
3648
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Ps(t), c =
|
|
3652
|
+
var js = "Popover", [Ms, Ns] = jn(js, [Na]), Ps = Na(), [Fs, Is] = Ms(js), Ls = (e) => {
|
|
3653
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = Ps(t), c = I.useRef(null), [l, u] = I.useState(!1), [d, f] = so({
|
|
3649
3654
|
prop: r,
|
|
3650
3655
|
defaultProp: i ?? !1,
|
|
3651
3656
|
onChange: a,
|
|
3652
3657
|
caller: js
|
|
3653
3658
|
});
|
|
3654
|
-
return /* @__PURE__ */ (0,
|
|
3659
|
+
return /* @__PURE__ */ (0, R.jsx)(Ya, {
|
|
3655
3660
|
...s,
|
|
3656
|
-
children: /* @__PURE__ */ (0,
|
|
3661
|
+
children: /* @__PURE__ */ (0, R.jsx)(Fs, {
|
|
3657
3662
|
scope: t,
|
|
3658
|
-
contentId:
|
|
3663
|
+
contentId: Cr(),
|
|
3659
3664
|
triggerRef: c,
|
|
3660
3665
|
open: d,
|
|
3661
3666
|
onOpenChange: f,
|
|
3662
|
-
onOpenToggle:
|
|
3667
|
+
onOpenToggle: I.useCallback(() => f((e) => !e), [f]),
|
|
3663
3668
|
hasCustomAnchor: l,
|
|
3664
|
-
onCustomAnchorAdd:
|
|
3665
|
-
onCustomAnchorRemove:
|
|
3669
|
+
onCustomAnchorAdd: I.useCallback(() => u(!0), []),
|
|
3670
|
+
onCustomAnchorRemove: I.useCallback(() => u(!1), []),
|
|
3666
3671
|
modal: o,
|
|
3667
3672
|
children: n
|
|
3668
3673
|
})
|
|
3669
3674
|
});
|
|
3670
3675
|
};
|
|
3671
3676
|
Ls.displayName = js;
|
|
3672
|
-
var Rs = "PopoverAnchor", zs =
|
|
3677
|
+
var Rs = "PopoverAnchor", zs = I.forwardRef((e, t) => {
|
|
3673
3678
|
let { __scopePopover: n, ...r } = e, i = Is(Rs, n), a = Ps(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3674
|
-
return
|
|
3679
|
+
return I.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, R.jsx)(Xa, {
|
|
3675
3680
|
...a,
|
|
3676
3681
|
...r,
|
|
3677
3682
|
ref: t
|
|
3678
3683
|
});
|
|
3679
3684
|
});
|
|
3680
3685
|
zs.displayName = Rs;
|
|
3681
|
-
var Bs = "PopoverTrigger", Vs =
|
|
3682
|
-
let { __scopePopover: n, ...r } = e, i = Is(Bs, n), a = Ps(n), o =
|
|
3686
|
+
var Bs = "PopoverTrigger", Vs = I.forwardRef((e, t) => {
|
|
3687
|
+
let { __scopePopover: n, ...r } = e, i = Is(Bs, n), a = Ps(n), o = H(t, i.triggerRef), s = /* @__PURE__ */ (0, R.jsx)(U.button, {
|
|
3683
3688
|
type: "button",
|
|
3684
3689
|
"aria-haspopup": "dialog",
|
|
3685
3690
|
"aria-expanded": i.open,
|
|
@@ -3687,55 +3692,55 @@ var Bs = "PopoverTrigger", Vs = P.forwardRef((e, t) => {
|
|
|
3687
3692
|
"data-state": ec(i.open),
|
|
3688
3693
|
...r,
|
|
3689
3694
|
ref: o,
|
|
3690
|
-
onClick:
|
|
3695
|
+
onClick: V(e.onClick, i.onOpenToggle)
|
|
3691
3696
|
});
|
|
3692
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
3697
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, R.jsx)(Xa, {
|
|
3693
3698
|
asChild: !0,
|
|
3694
3699
|
...a,
|
|
3695
3700
|
children: s
|
|
3696
3701
|
});
|
|
3697
3702
|
});
|
|
3698
3703
|
Vs.displayName = Bs;
|
|
3699
|
-
var [Hs, Us] = Ms("PopoverPortal", { forceMount: void 0 }), Ws = "PopoverContent", Gs =
|
|
3704
|
+
var [Hs, Us] = Ms("PopoverPortal", { forceMount: void 0 }), Ws = "PopoverContent", Gs = I.forwardRef((e, t) => {
|
|
3700
3705
|
let n = Us(Ws, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = Is(Ws, e.__scopePopover);
|
|
3701
|
-
return /* @__PURE__ */ (0,
|
|
3706
|
+
return /* @__PURE__ */ (0, R.jsx)(no, {
|
|
3702
3707
|
present: r || a.open,
|
|
3703
|
-
children: a.modal ? /* @__PURE__ */ (0,
|
|
3708
|
+
children: a.modal ? /* @__PURE__ */ (0, R.jsx)(qs, {
|
|
3704
3709
|
...i,
|
|
3705
3710
|
ref: t
|
|
3706
|
-
}) : /* @__PURE__ */ (0,
|
|
3711
|
+
}) : /* @__PURE__ */ (0, R.jsx)(Js, {
|
|
3707
3712
|
...i,
|
|
3708
3713
|
ref: t
|
|
3709
3714
|
})
|
|
3710
3715
|
});
|
|
3711
3716
|
});
|
|
3712
3717
|
Gs.displayName = Ws;
|
|
3713
|
-
var Ks = /* @__PURE__ */
|
|
3714
|
-
let n = Is(Ws, e.__scopePopover), r =
|
|
3715
|
-
return
|
|
3718
|
+
var Ks = /* @__PURE__ */ Nn("PopoverContent.RemoveScroll"), qs = I.forwardRef((e, t) => {
|
|
3719
|
+
let n = Is(Ws, e.__scopePopover), r = I.useRef(null), i = H(t, r), a = I.useRef(!1);
|
|
3720
|
+
return I.useEffect(() => {
|
|
3716
3721
|
let e = r.current;
|
|
3717
3722
|
if (e) return yo(e);
|
|
3718
|
-
}, []), /* @__PURE__ */ (0,
|
|
3723
|
+
}, []), /* @__PURE__ */ (0, R.jsx)(As, {
|
|
3719
3724
|
as: Ks,
|
|
3720
3725
|
allowPinchZoom: !0,
|
|
3721
|
-
children: /* @__PURE__ */ (0,
|
|
3726
|
+
children: /* @__PURE__ */ (0, R.jsx)(Ys, {
|
|
3722
3727
|
...e,
|
|
3723
3728
|
ref: i,
|
|
3724
3729
|
trapFocus: n.open,
|
|
3725
3730
|
disableOutsidePointerEvents: !0,
|
|
3726
|
-
onCloseAutoFocus:
|
|
3731
|
+
onCloseAutoFocus: V(e.onCloseAutoFocus, (e) => {
|
|
3727
3732
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
3728
3733
|
}),
|
|
3729
|
-
onPointerDownOutside:
|
|
3734
|
+
onPointerDownOutside: V(e.onPointerDownOutside, (e) => {
|
|
3730
3735
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
|
|
3731
3736
|
a.current = r;
|
|
3732
3737
|
}, { checkForDefaultPrevented: !1 }),
|
|
3733
|
-
onFocusOutside:
|
|
3738
|
+
onFocusOutside: V(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3734
3739
|
})
|
|
3735
3740
|
});
|
|
3736
|
-
}), Js =
|
|
3737
|
-
let n = Is(Ws, e.__scopePopover), r =
|
|
3738
|
-
return /* @__PURE__ */ (0,
|
|
3741
|
+
}), Js = I.forwardRef((e, t) => {
|
|
3742
|
+
let n = Is(Ws, e.__scopePopover), r = I.useRef(!1), i = I.useRef(!1);
|
|
3743
|
+
return /* @__PURE__ */ (0, R.jsx)(Ys, {
|
|
3739
3744
|
...e,
|
|
3740
3745
|
ref: t,
|
|
3741
3746
|
trapFocus: !1,
|
|
@@ -3749,15 +3754,15 @@ var Ks = /* @__PURE__ */ Fn("PopoverContent.RemoveScroll"), qs = P.forwardRef((e
|
|
|
3749
3754
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3750
3755
|
}
|
|
3751
3756
|
});
|
|
3752
|
-
}), Ys =
|
|
3757
|
+
}), Ys = I.forwardRef((e, t) => {
|
|
3753
3758
|
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = Is(Ws, n), p = Ps(n);
|
|
3754
|
-
return
|
|
3759
|
+
return nr(), /* @__PURE__ */ (0, R.jsx)(cr, {
|
|
3755
3760
|
asChild: !0,
|
|
3756
3761
|
loop: !0,
|
|
3757
3762
|
trapped: r,
|
|
3758
3763
|
onMountAutoFocus: i,
|
|
3759
3764
|
onUnmountAutoFocus: a,
|
|
3760
|
-
children: /* @__PURE__ */ (0,
|
|
3765
|
+
children: /* @__PURE__ */ (0, R.jsx)(Jn, {
|
|
3761
3766
|
asChild: !0,
|
|
3762
3767
|
disableOutsidePointerEvents: o,
|
|
3763
3768
|
onInteractOutside: u,
|
|
@@ -3765,7 +3770,7 @@ var Ks = /* @__PURE__ */ Fn("PopoverContent.RemoveScroll"), qs = P.forwardRef((e
|
|
|
3765
3770
|
onPointerDownOutside: c,
|
|
3766
3771
|
onFocusOutside: l,
|
|
3767
3772
|
onDismiss: () => f.onOpenChange(!1),
|
|
3768
|
-
children: /* @__PURE__ */ (0,
|
|
3773
|
+
children: /* @__PURE__ */ (0, R.jsx)(Za, {
|
|
3769
3774
|
"data-state": ec(f.open),
|
|
3770
3775
|
role: "dialog",
|
|
3771
3776
|
id: f.contentId,
|
|
@@ -3783,19 +3788,19 @@ var Ks = /* @__PURE__ */ Fn("PopoverContent.RemoveScroll"), qs = P.forwardRef((e
|
|
|
3783
3788
|
})
|
|
3784
3789
|
})
|
|
3785
3790
|
});
|
|
3786
|
-
}), Xs = "PopoverClose", Zs =
|
|
3791
|
+
}), Xs = "PopoverClose", Zs = I.forwardRef((e, t) => {
|
|
3787
3792
|
let { __scopePopover: n, ...r } = e, i = Is(Xs, n);
|
|
3788
|
-
return /* @__PURE__ */ (0,
|
|
3793
|
+
return /* @__PURE__ */ (0, R.jsx)(U.button, {
|
|
3789
3794
|
type: "button",
|
|
3790
3795
|
...r,
|
|
3791
3796
|
ref: t,
|
|
3792
|
-
onClick:
|
|
3797
|
+
onClick: V(e.onClick, () => i.onOpenChange(!1))
|
|
3793
3798
|
});
|
|
3794
3799
|
});
|
|
3795
3800
|
Zs.displayName = Xs;
|
|
3796
|
-
var Qs = "PopoverArrow", $s =
|
|
3801
|
+
var Qs = "PopoverArrow", $s = I.forwardRef((e, t) => {
|
|
3797
3802
|
let { __scopePopover: n, ...r } = e, i = Ps(n);
|
|
3798
|
-
return /* @__PURE__ */ (0,
|
|
3803
|
+
return /* @__PURE__ */ (0, R.jsx)(Qa, {
|
|
3799
3804
|
...i,
|
|
3800
3805
|
...r,
|
|
3801
3806
|
ref: t
|
|
@@ -3805,169 +3810,169 @@ $s.displayName = Qs;
|
|
|
3805
3810
|
function ec(e) {
|
|
3806
3811
|
return e ? "open" : "closed";
|
|
3807
3812
|
}
|
|
3808
|
-
var tc = Ls, nc = Vs, rc = Gs, ic = $s, ac = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0,
|
|
3813
|
+
var tc = Ls, nc = Vs, rc = Gs, ic = $s, ac = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, R.jsxs)(tc, {
|
|
3809
3814
|
defaultOpen: n,
|
|
3810
|
-
children: [/* @__PURE__ */ (0,
|
|
3815
|
+
children: [/* @__PURE__ */ (0, R.jsx)("div", {
|
|
3811
3816
|
className: "flex justify-center",
|
|
3812
|
-
children: /* @__PURE__ */ (0,
|
|
3817
|
+
children: /* @__PURE__ */ (0, R.jsx)(nc, {
|
|
3813
3818
|
asChild: !0,
|
|
3814
3819
|
children: t
|
|
3815
3820
|
})
|
|
3816
|
-
}), /* @__PURE__ */ (0,
|
|
3821
|
+
}), /* @__PURE__ */ (0, R.jsxs)(rc, {
|
|
3817
3822
|
className: "sid-popover__container",
|
|
3818
3823
|
sideOffset: 10,
|
|
3819
3824
|
side: "bottom",
|
|
3820
|
-
children: [e, /* @__PURE__ */ (0,
|
|
3825
|
+
children: [e, /* @__PURE__ */ (0, R.jsx)(ic, { className: "sid-popover__caret" })]
|
|
3821
3826
|
})]
|
|
3822
|
-
}), oc = ({ verificationService: e, initialVisibility: t = !1 }) => /* @__PURE__ */ (0,
|
|
3827
|
+
}), oc = ({ verificationService: e, initialVisibility: t = !1 }) => /* @__PURE__ */ (0, R.jsx)(ac, {
|
|
3823
3828
|
initialVisibility: t,
|
|
3824
|
-
trigger: /* @__PURE__ */ (0,
|
|
3829
|
+
trigger: /* @__PURE__ */ (0, R.jsx)("button", {
|
|
3825
3830
|
type: "button",
|
|
3826
3831
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3827
|
-
children: /* @__PURE__ */ (0,
|
|
3832
|
+
children: /* @__PURE__ */ (0, R.jsx)(P, { id: "howDoesVerifyingWork" })
|
|
3828
3833
|
}),
|
|
3829
|
-
message: /* @__PURE__ */ (0,
|
|
3830
|
-
/* @__PURE__ */ (0,
|
|
3834
|
+
message: /* @__PURE__ */ (0, R.jsxs)("div", { children: [
|
|
3835
|
+
/* @__PURE__ */ (0, R.jsx)(P, { id: "step.personalInfo.howDoesVerifyingWorkDetails" }),
|
|
3831
3836
|
"\xA0",
|
|
3832
|
-
/* @__PURE__ */ (0,
|
|
3837
|
+
/* @__PURE__ */ (0, R.jsx)(Bt, { verificationService: e })
|
|
3833
3838
|
] })
|
|
3834
3839
|
}), sc = (e) => {
|
|
3835
|
-
let t =
|
|
3836
|
-
return typeof r == "number" && r > 0 ? /* @__PURE__ */ (0,
|
|
3840
|
+
let t = ce(), n = ve(), r = E(() => n.remainingRewardCodes, null);
|
|
3841
|
+
return typeof r == "number" && r > 0 ? /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
3837
3842
|
className: "sid-rewards-remaining",
|
|
3838
3843
|
role: "note",
|
|
3839
3844
|
children: [
|
|
3840
|
-
/* @__PURE__ */ (0,
|
|
3841
|
-
/* @__PURE__ */ (0,
|
|
3845
|
+
/* @__PURE__ */ (0, R.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3846
|
+
/* @__PURE__ */ (0, R.jsx)(F, {
|
|
3842
3847
|
id: "lowRewardPool",
|
|
3843
3848
|
defaultMessage: t?.lowRewardPool,
|
|
3844
3849
|
values: { offersRemaining: r }
|
|
3845
3850
|
}),
|
|
3846
|
-
/* @__PURE__ */ (0,
|
|
3851
|
+
/* @__PURE__ */ (0, R.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3847
3852
|
]
|
|
3848
3853
|
}) : null;
|
|
3849
3854
|
}, cc = (e) => e !== void 0, lc = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3850
|
-
let { verificationResponse: n } = e, r = cc(n) ?
|
|
3851
|
-
return /* @__PURE__ */ (0,
|
|
3855
|
+
let { verificationResponse: n } = e, r = cc(n) ? Ye(n) : !1;
|
|
3856
|
+
return /* @__PURE__ */ (0, R.jsx)("div", {
|
|
3852
3857
|
className: "sid-personal-info-header",
|
|
3853
|
-
children: /* @__PURE__ */ (0,
|
|
3858
|
+
children: /* @__PURE__ */ (0, R.jsxs)(On, {
|
|
3854
3859
|
verificationService: e,
|
|
3855
|
-
title: /* @__PURE__ */ (0,
|
|
3860
|
+
title: /* @__PURE__ */ (0, R.jsx)(P, { id: r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title" }),
|
|
3856
3861
|
classNameIdentifier: t,
|
|
3857
3862
|
children: [
|
|
3858
|
-
/* @__PURE__ */ (0,
|
|
3863
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
3859
3864
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3860
|
-
children: /* @__PURE__ */ (0,
|
|
3865
|
+
children: /* @__PURE__ */ (0, R.jsx)(F, { id: r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle" })
|
|
3861
3866
|
}),
|
|
3862
|
-
/* @__PURE__ */ (0,
|
|
3867
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
3863
3868
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3864
|
-
children: !r && /* @__PURE__ */ (0,
|
|
3869
|
+
children: !r && /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(oc, { verificationService: e }), /* @__PURE__ */ (0, R.jsx)(sc, { verificationService: e })] })
|
|
3865
3870
|
}),
|
|
3866
|
-
/* @__PURE__ */ (0,
|
|
3871
|
+
/* @__PURE__ */ (0, R.jsx)("div", {
|
|
3867
3872
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3868
|
-
children: /* @__PURE__ */ (0,
|
|
3873
|
+
children: /* @__PURE__ */ (0, R.jsx)(F, { id: "requiredFields" })
|
|
3869
3874
|
})
|
|
3870
3875
|
]
|
|
3871
3876
|
})
|
|
3872
3877
|
});
|
|
3873
|
-
}, uc = () => ({ isEmbedded: !!
|
|
3878
|
+
}, uc = () => ({ isEmbedded: !!g("verificationIframeUid") }), dc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3874
3879
|
let { isEmbedded: i } = uc();
|
|
3875
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
3880
|
+
return !r || i ? /* @__PURE__ */ (0, R.jsx)(R.Fragment, { children: t }) : /* @__PURE__ */ (0, R.jsx)("div", {
|
|
3876
3881
|
className: `sid-layout sid-layout--${e}`,
|
|
3877
|
-
children: /* @__PURE__ */ (0,
|
|
3882
|
+
children: /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
3878
3883
|
className: "sid-layout__container",
|
|
3879
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
3884
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, R.jsx)("div", {
|
|
3880
3885
|
className: "sid-layout__content",
|
|
3881
|
-
children: /* @__PURE__ */ (0,
|
|
3886
|
+
children: /* @__PURE__ */ (0, R.jsx)(lc, {
|
|
3882
3887
|
verificationService: n,
|
|
3883
3888
|
classNameIdentifier: "landing"
|
|
3884
3889
|
})
|
|
3885
|
-
}), /* @__PURE__ */ (0,
|
|
3890
|
+
}), /* @__PURE__ */ (0, R.jsx)("div", {
|
|
3886
3891
|
className: "sid-layout__form-container",
|
|
3887
|
-
children: /* @__PURE__ */ (0,
|
|
3892
|
+
children: /* @__PURE__ */ (0, R.jsx)("div", {
|
|
3888
3893
|
className: "sid-layout__form",
|
|
3889
3894
|
children: t
|
|
3890
3895
|
})
|
|
3891
3896
|
})]
|
|
3892
3897
|
})
|
|
3893
3898
|
});
|
|
3894
|
-
}, fc = ({ children: e }) => /* @__PURE__ */ (0,
|
|
3899
|
+
}, fc = ({ children: e }) => /* @__PURE__ */ (0, R.jsx)("div", {
|
|
3895
3900
|
className: "sid sid-form-wrapper",
|
|
3896
3901
|
children: e
|
|
3897
3902
|
}), pc = ({ locale: e, programTheme: t, verificationService: n, programId: r }) => {
|
|
3898
|
-
let
|
|
3903
|
+
let i = ut(), { renderAs: a, _launchDarklyUserTargeting: c } = D(), l = ge() ?? t, m = ve(), h = le(), { isLoading: g, loadingStep: _ } = se(), v = de(A, he), y = (0, I.useMemo)(() => v ? {
|
|
3899
3904
|
...n.verificationResponse,
|
|
3900
|
-
...
|
|
3901
|
-
} : n.verificationResponse, [
|
|
3905
|
+
...v
|
|
3906
|
+
} : n.verificationResponse, [v, n.verificationResponse]), b = (0, I.useMemo)(() => ({
|
|
3902
3907
|
...n,
|
|
3903
|
-
programTheme:
|
|
3904
|
-
verificationResponse:
|
|
3905
|
-
formValidationOptions:
|
|
3908
|
+
programTheme: l,
|
|
3909
|
+
verificationResponse: y,
|
|
3910
|
+
formValidationOptions: Mt(m, y, n.viewModel)
|
|
3906
3911
|
}), [
|
|
3907
3912
|
n,
|
|
3908
|
-
c,
|
|
3909
3913
|
l,
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3914
|
+
m,
|
|
3915
|
+
y
|
|
3916
|
+
]), x = l?.themeChoices?.landingPage?.layout || "center", S = ft();
|
|
3917
|
+
I.useEffect(() => {
|
|
3913
3918
|
try {
|
|
3914
|
-
if (
|
|
3915
|
-
let e = (0,
|
|
3916
|
-
|
|
3917
|
-
let t =
|
|
3919
|
+
if (S && b && b.viewModel) {
|
|
3920
|
+
let e = (0, Dt.default)(S);
|
|
3921
|
+
o(w.flags, e);
|
|
3922
|
+
let t = b.viewModel.metadata || {}, n = u(t, (t) => {
|
|
3918
3923
|
t.flags = e;
|
|
3919
|
-
}), r =
|
|
3924
|
+
}), r = u(b.viewModel, (e) => {
|
|
3920
3925
|
e.metadata = n;
|
|
3921
3926
|
});
|
|
3922
|
-
|
|
3927
|
+
b.updateViewModel(r);
|
|
3923
3928
|
}
|
|
3924
3929
|
} catch (e) {
|
|
3925
|
-
|
|
3930
|
+
M.error(e);
|
|
3926
3931
|
}
|
|
3927
|
-
}, []),
|
|
3928
|
-
if (
|
|
3932
|
+
}, []), I.useEffect(() => {
|
|
3933
|
+
if (h && c && i) {
|
|
3929
3934
|
let e = {
|
|
3930
3935
|
kind: "multi",
|
|
3931
3936
|
user: {
|
|
3932
|
-
key:
|
|
3933
|
-
locale:
|
|
3934
|
-
segment:
|
|
3935
|
-
installType:
|
|
3937
|
+
key: h,
|
|
3938
|
+
locale: b.verificationResponse.locale,
|
|
3939
|
+
segment: b.verificationResponse.segment,
|
|
3940
|
+
installType: Ne()
|
|
3936
3941
|
},
|
|
3937
3942
|
program: { key: r }
|
|
3938
3943
|
};
|
|
3939
|
-
|
|
3944
|
+
i.identify(e);
|
|
3940
3945
|
}
|
|
3941
|
-
}, [
|
|
3946
|
+
}, [h, i]), I.useEffect(() => {
|
|
3942
3947
|
try {
|
|
3943
|
-
|
|
3948
|
+
D()._launchDarklyFlagCb(S);
|
|
3944
3949
|
} catch {}
|
|
3945
|
-
}, [
|
|
3946
|
-
let C =
|
|
3950
|
+
}, [S]);
|
|
3951
|
+
let C = ce(), T = de(A, re), E = {
|
|
3947
3952
|
...C,
|
|
3948
|
-
...(0,
|
|
3949
|
-
...(0,
|
|
3953
|
+
...(0, Et.default)(p(e)),
|
|
3954
|
+
...(0, Et.default)(T?.[e] ?? {})
|
|
3950
3955
|
};
|
|
3951
|
-
return /* @__PURE__ */ (0,
|
|
3956
|
+
return /* @__PURE__ */ (0, R.jsx)(vt, {
|
|
3952
3957
|
locale: "en",
|
|
3953
|
-
messages:
|
|
3954
|
-
textComponent:
|
|
3955
|
-
children: /* @__PURE__ */ (0,
|
|
3956
|
-
themeChoices:
|
|
3957
|
-
customCssFromOptions:
|
|
3958
|
-
children: /* @__PURE__ */ (0,
|
|
3959
|
-
className: `${
|
|
3960
|
-
children: /* @__PURE__ */ (0,
|
|
3961
|
-
layout:
|
|
3962
|
-
verificationService:
|
|
3963
|
-
renderAsLandingPage:
|
|
3964
|
-
children: /* @__PURE__ */ (0,
|
|
3965
|
-
i18n:
|
|
3966
|
-
children: /* @__PURE__ */ (0,
|
|
3967
|
-
fallback: /* @__PURE__ */ (0,
|
|
3968
|
-
children:
|
|
3969
|
-
stepToLoad:
|
|
3970
|
-
verificationService:
|
|
3958
|
+
messages: E,
|
|
3959
|
+
textComponent: En,
|
|
3960
|
+
children: /* @__PURE__ */ (0, R.jsx)(jt, {
|
|
3961
|
+
themeChoices: l?.themeChoices,
|
|
3962
|
+
customCssFromOptions: D().customCss,
|
|
3963
|
+
children: /* @__PURE__ */ (0, R.jsx)("div", {
|
|
3964
|
+
className: `${Ot.default.isRtlLang(f(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
3965
|
+
children: /* @__PURE__ */ (0, R.jsx)(fc, { children: /* @__PURE__ */ (0, R.jsx)(dc, {
|
|
3966
|
+
layout: x,
|
|
3967
|
+
verificationService: b,
|
|
3968
|
+
renderAsLandingPage: a === "landingPage",
|
|
3969
|
+
children: /* @__PURE__ */ (0, R.jsx)(St, {
|
|
3970
|
+
i18n: d,
|
|
3971
|
+
children: /* @__PURE__ */ (0, R.jsx)(I.Suspense, {
|
|
3972
|
+
fallback: /* @__PURE__ */ (0, R.jsx)(zt, { step: _ }),
|
|
3973
|
+
children: g ? /* @__PURE__ */ (0, R.jsx)(zt, { step: _ }) : Re("mockStep") === Se.loading ? /* @__PURE__ */ (0, R.jsx)(zt, { step: Re(s) }) : /* @__PURE__ */ (0, R.jsxs)("div", { children: [!D().hideTestModeFlag && /* @__PURE__ */ (0, R.jsx)(Dn, { verificationService: b }), /* @__PURE__ */ (0, R.jsx)(Tn, {
|
|
3974
|
+
stepToLoad: b.overrideStep || b.verificationResponse?.currentStep,
|
|
3975
|
+
verificationService: b
|
|
3971
3976
|
})] })
|
|
3972
3977
|
})
|
|
3973
3978
|
})
|
|
@@ -3980,13 +3985,13 @@ var tc = Ls, nc = Vs, rc = Gs, ic = $s, ac = ({ message: e, trigger: t, initialV
|
|
|
3980
3985
|
document.addEventListener("keydown", (t) => {
|
|
3981
3986
|
if (t.key !== "Tab") return;
|
|
3982
3987
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3983
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3988
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (ze({
|
|
3984
3989
|
type: "focus",
|
|
3985
3990
|
focusOn: "firstElement"
|
|
3986
3991
|
}), t.preventDefault());
|
|
3987
3992
|
}), window.addEventListener("message", (t) => {
|
|
3988
3993
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
3989
|
-
}),
|
|
3994
|
+
}), ze({
|
|
3990
3995
|
type: "focus",
|
|
3991
3996
|
focusOn: "firstElement"
|
|
3992
3997
|
});
|
|
@@ -3994,97 +3999,97 @@ var tc = Ls, nc = Vs, rc = Gs, ic = $s, ac = ({ message: e, trigger: t, initialV
|
|
|
3994
3999
|
window.addEventListener("message", (e) => {
|
|
3995
4000
|
e.data.isInLightBox === "true" && mc();
|
|
3996
4001
|
});
|
|
3997
|
-
}, gc = class extends
|
|
4002
|
+
}, gc = class extends I.Component {
|
|
3998
4003
|
verificationService;
|
|
3999
4004
|
constructor(e) {
|
|
4000
|
-
super(e),
|
|
4005
|
+
super(e), M.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? M.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : M.info("No trackingId to associate with the verification request");
|
|
4001
4006
|
}
|
|
4002
4007
|
componentDidMount() {
|
|
4003
|
-
|
|
4008
|
+
ee(), hc(), De((e) => {
|
|
4004
4009
|
switch (e.data.action) {
|
|
4005
4010
|
case "setViewModel":
|
|
4006
|
-
|
|
4011
|
+
it(e.data.viewModel, {
|
|
4007
4012
|
partial: !0,
|
|
4008
4013
|
metadataCheck: !0,
|
|
4009
4014
|
externalUserIdCheck: !0
|
|
4010
4015
|
});
|
|
4011
4016
|
break;
|
|
4012
|
-
case "setOptions":
|
|
4017
|
+
case "setOptions": T(e.data.options);
|
|
4013
4018
|
}
|
|
4014
|
-
}),
|
|
4015
|
-
let e =
|
|
4019
|
+
}), M.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4020
|
+
let e = E(() => this.props.verificationService.verificationResponse.segment);
|
|
4016
4021
|
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4017
4022
|
}
|
|
4018
4023
|
render() {
|
|
4019
|
-
let { viewModel: e } = this.props.verificationService, t =
|
|
4020
|
-
return
|
|
4024
|
+
let { viewModel: e } = this.props.verificationService, t = b(e), { programTheme: n } = this.props.verificationService, { verificationResponse: r } = this.props.verificationService;
|
|
4025
|
+
return M.info("NewVerificationComponent: verificationResponse, viewModel", r, e), M.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r?.currentStep}`), /* @__PURE__ */ (0, R.jsx)(pc, {
|
|
4021
4026
|
locale: t,
|
|
4022
4027
|
programTheme: n,
|
|
4023
4028
|
verificationService: this.props.verificationService,
|
|
4024
4029
|
programId: this.props.programId
|
|
4025
4030
|
});
|
|
4026
4031
|
}
|
|
4027
|
-
}, _c =
|
|
4032
|
+
}, _c = ne((e, t) => ({ ...e }), (e, t) => ({
|
|
4028
4033
|
dispatch: e,
|
|
4029
|
-
fetchNewVerificationRequest:
|
|
4030
|
-
fetchExistingVerificationRequest:
|
|
4031
|
-
updateViewModel:
|
|
4032
|
-
updateLocale:
|
|
4033
|
-
updateProgramTheme:
|
|
4034
|
-
updateFieldValidationErrors:
|
|
4035
|
-
resetState:
|
|
4034
|
+
fetchNewVerificationRequest: Ge(e),
|
|
4035
|
+
fetchExistingVerificationRequest: at(e),
|
|
4036
|
+
updateViewModel: et(e),
|
|
4037
|
+
updateLocale: qe(e, t.programId),
|
|
4038
|
+
updateProgramTheme: rt(e),
|
|
4039
|
+
updateFieldValidationErrors: Ke(e),
|
|
4040
|
+
resetState: $e(e)
|
|
4036
4041
|
}), (e, t, n) => {
|
|
4037
4042
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4038
4043
|
return {
|
|
4039
4044
|
verificationService: {
|
|
4040
4045
|
...e,
|
|
4041
4046
|
...i,
|
|
4042
|
-
submitStep:
|
|
4047
|
+
submitStep: st(r, a)
|
|
4043
4048
|
},
|
|
4044
4049
|
...n
|
|
4045
4050
|
};
|
|
4046
4051
|
})(gc), vc = (e) => ({
|
|
4047
4052
|
kind: "program",
|
|
4048
4053
|
key: e
|
|
4049
|
-
}), yc = ({ programId: e, children: t }) => /* @__PURE__ */ (0,
|
|
4054
|
+
}), yc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, R.jsx)(dt, {
|
|
4050
4055
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4051
4056
|
context: vc(e),
|
|
4052
|
-
flags:
|
|
4057
|
+
flags: pt,
|
|
4053
4058
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4054
4059
|
options: { streaming: !1 },
|
|
4055
4060
|
children: t
|
|
4056
4061
|
}), bc = ({ programId: e }) => {
|
|
4057
|
-
let t =
|
|
4058
|
-
return (0,
|
|
4062
|
+
let t = mt("hc-my-sheer-id-theme-builder") === !0;
|
|
4063
|
+
return (0, I.useEffect)(() => {
|
|
4059
4064
|
if (!t || !e) return;
|
|
4060
4065
|
let n = !0;
|
|
4061
|
-
return
|
|
4062
|
-
n &&
|
|
4066
|
+
return je.fetchProgramBranding(e).then((e) => {
|
|
4067
|
+
n && fe(e);
|
|
4063
4068
|
}).catch(() => void 0), () => {
|
|
4064
|
-
n = !1,
|
|
4069
|
+
n = !1, _e();
|
|
4065
4070
|
};
|
|
4066
4071
|
}, [t, e]), null;
|
|
4067
|
-
}, xc =
|
|
4068
|
-
|
|
4069
|
-
var Sc =
|
|
4072
|
+
}, xc = Xe();
|
|
4073
|
+
o(w.jslibVersionActual, E(() => Fe(), "?")), o(w.clientVersion, E(() => Fe(), "?"));
|
|
4074
|
+
var Sc = I.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4070
4075
|
try {
|
|
4071
|
-
|
|
4076
|
+
Ve();
|
|
4072
4077
|
} catch (e) {
|
|
4073
|
-
|
|
4078
|
+
M.warn("Failed to add predefined hooks", e);
|
|
4074
4079
|
}
|
|
4075
|
-
return (0,
|
|
4076
|
-
|
|
4080
|
+
return (0, I.useEffect)(() => {
|
|
4081
|
+
a();
|
|
4077
4082
|
}), xc.dispatch({
|
|
4078
4083
|
programId: e,
|
|
4079
4084
|
type: "PROGRAM_ID"
|
|
4080
4085
|
}), n && (n.current = {
|
|
4081
|
-
refresh:
|
|
4082
|
-
reset:
|
|
4083
|
-
}), /* @__PURE__ */ (0,
|
|
4086
|
+
refresh: I.useCallback(() => xc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4087
|
+
reset: I.useCallback(() => xc.dispatch({ type: "RESET_STATE" }), [])
|
|
4088
|
+
}), /* @__PURE__ */ (0, R.jsx)(me, {
|
|
4084
4089
|
store: xc,
|
|
4085
|
-
children: /* @__PURE__ */ (0,
|
|
4090
|
+
children: /* @__PURE__ */ (0, R.jsxs)(yc, {
|
|
4086
4091
|
programId: e,
|
|
4087
|
-
children: [/* @__PURE__ */ (0,
|
|
4092
|
+
children: [/* @__PURE__ */ (0, R.jsx)(bc, { programId: e }), /* @__PURE__ */ (0, R.jsx)(_c, {
|
|
4088
4093
|
programId: e,
|
|
4089
4094
|
trackingId: t
|
|
4090
4095
|
})]
|
|
@@ -4096,9 +4101,9 @@ var Sc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4096
4101
|
trackingId;
|
|
4097
4102
|
viewModel;
|
|
4098
4103
|
ref;
|
|
4099
|
-
constructor(
|
|
4104
|
+
constructor(n, r, i) {
|
|
4100
4105
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4101
|
-
|
|
4106
|
+
M.info(`Constructing VerificationFormEs5 ${r}`), t(n), this.element = n, this.programId = r, this.trackingId = i, this.ref = I.createRef(), this.render();
|
|
4102
4107
|
}
|
|
4103
4108
|
refresh() {
|
|
4104
4109
|
this.ref.current.refresh();
|
|
@@ -4107,17 +4112,17 @@ var Sc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4107
4112
|
this.ref.current.reset();
|
|
4108
4113
|
}
|
|
4109
4114
|
render() {
|
|
4110
|
-
|
|
4115
|
+
Tt.render(/* @__PURE__ */ (0, R.jsx)(Sc, {
|
|
4111
4116
|
programId: this.programId,
|
|
4112
4117
|
trackingId: this.trackingId,
|
|
4113
4118
|
ref: this.ref
|
|
4114
4119
|
}), this.element);
|
|
4115
4120
|
}
|
|
4116
4121
|
unmount() {
|
|
4117
|
-
|
|
4122
|
+
Tt.unmountComponentAtNode(this.element);
|
|
4118
4123
|
}
|
|
4119
4124
|
}, wc = async (e, t) => {
|
|
4120
|
-
if (!
|
|
4125
|
+
if (!E(() => e.threatMetrixEnabled, !1)) return;
|
|
4121
4126
|
let n = e.threatMetrixOrgId || "cnl2my47";
|
|
4122
4127
|
try {
|
|
4123
4128
|
let { ThreatMetrix: e } = await import(
|
|
@@ -4126,7 +4131,7 @@ var Sc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4126
4131
|
);
|
|
4127
4132
|
e !== void 0 && e.hasOwnProperty("profile") && typeof e.profile == "function" && e.profile("content.sheerid.com", n, t);
|
|
4128
4133
|
} catch (e) {
|
|
4129
|
-
|
|
4134
|
+
M.error(e, "Failed to collect ThreatMetrix device data");
|
|
4130
4135
|
}
|
|
4131
4136
|
}, Tc = /* @__PURE__ */ new Map(), Ec = (e, t) => {
|
|
4132
4137
|
let n = Tc.get(t);
|
|
@@ -4134,8 +4139,8 @@ var Sc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4134
4139
|
let r = (async () => {
|
|
4135
4140
|
let [, n, r] = await Promise.all([
|
|
4136
4141
|
wc(e, t),
|
|
4137
|
-
|
|
4138
|
-
|
|
4142
|
+
lt(e, t),
|
|
4143
|
+
We(e, t)
|
|
4139
4144
|
]);
|
|
4140
4145
|
return {
|
|
4141
4146
|
...r ? { fpSessionId: r } : {},
|
|
@@ -4143,33 +4148,33 @@ var Sc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4143
4148
|
};
|
|
4144
4149
|
})();
|
|
4145
4150
|
return Tc.set(t, r), r;
|
|
4146
|
-
}, Dc = async (e, t) => Ec(await
|
|
4147
|
-
e.locale && e.messages &&
|
|
4151
|
+
}, Dc = async (e, t) => Ec(await je.fetchProgramConfiguration(t), e), Oc = (e, t) => {
|
|
4152
|
+
e.locale && e.messages && S(e), ae(e, t);
|
|
4148
4153
|
}, kc = {
|
|
4149
|
-
getMessages:
|
|
4150
|
-
setViewModel:
|
|
4151
|
-
resetViewModel:
|
|
4152
|
-
setOptions:
|
|
4153
|
-
resetOptions:
|
|
4154
|
-
refreshStore:
|
|
4155
|
-
setMetadata:
|
|
4156
|
-
getMetadata:
|
|
4157
|
-
resetMetadata:
|
|
4158
|
-
conversion:
|
|
4159
|
-
overrideComponent:
|
|
4160
|
-
resetOverriddenComponents:
|
|
4161
|
-
postVerificationSizeUpdates:
|
|
4162
|
-
addHook:
|
|
4163
|
-
hooks:
|
|
4154
|
+
getMessages: _,
|
|
4155
|
+
setViewModel: it,
|
|
4156
|
+
resetViewModel: tt,
|
|
4157
|
+
setOptions: T,
|
|
4158
|
+
resetOptions: l,
|
|
4159
|
+
refreshStore: Ue,
|
|
4160
|
+
setMetadata: ct,
|
|
4161
|
+
getMetadata: Je,
|
|
4162
|
+
resetMetadata: He,
|
|
4163
|
+
conversion: Ae,
|
|
4164
|
+
overrideComponent: Pt,
|
|
4165
|
+
resetOverriddenComponents: It,
|
|
4166
|
+
postVerificationSizeUpdates: Ze,
|
|
4167
|
+
addHook: Be,
|
|
4168
|
+
hooks: Qe,
|
|
4164
4169
|
VerificationForm: Cc,
|
|
4165
4170
|
collectDeviceProfile: Dc,
|
|
4166
|
-
resetStore:
|
|
4167
|
-
setProgramTheme: (e,
|
|
4168
|
-
let
|
|
4169
|
-
let { programTheme: i, programConfiguration: a, programI18n: o } =
|
|
4170
|
-
|
|
4171
|
+
resetStore: nt,
|
|
4172
|
+
setProgramTheme: (e, t = { partial: !0 }) => {
|
|
4173
|
+
let n = Xe(), i = n.getState(), a = () => {
|
|
4174
|
+
let { programTheme: i, programConfiguration: a, programI18n: o } = ke(r(e));
|
|
4175
|
+
M.info("Setting programTheme", i), o && Oc(o, t.partial), a && oe(a, t.partial), rt(n.dispatch)(i, t.partial), j(i, t.partial);
|
|
4171
4176
|
};
|
|
4172
|
-
i.isLoading ?
|
|
4177
|
+
i.isLoading ? Be({
|
|
4173
4178
|
name: "ON_VERIFICATION_READY",
|
|
4174
4179
|
callback: () => {
|
|
4175
4180
|
a();
|
|
@@ -4178,4 +4183,4 @@ var Sc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4178
4183
|
}
|
|
4179
4184
|
};
|
|
4180
4185
|
//#endregion
|
|
4181
|
-
export {
|
|
4186
|
+
export { Xt as A, zn as C, H as D, An as E, kt as F, Bt as M, zt as N, V as O, Lt as P, U as S, jn as T, Cr as _, xo as a, Jn as b, yo as c, eo as d, kc as default, Xa as f, Na as g, Ya as h, As as i, Ut as j, tn as k, so as l, Za as m, lc as n, So as o, Qa as p, sc as r, wo as s, Ec as t, no as u, cr as v, Nn as w, Bn as x, nr as y };
|