@sheerid/jslib 2.272.0 → 2.274.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 +949 -939
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/AddressComponent-BGFbAsvK.js +4 -4
- package/chunk/{AddressComponent-BLDI7tct.js → AddressComponent-DeQlodxe.js} +7 -7
- package/chunk/{AddressComponent-BLDI7tct.js.map → AddressComponent-DeQlodxe.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BRATyipQ.js → AnnouncingHeader-Ces-_Aei.js} +6 -6
- package/chunk/{AnnouncingHeader-BRATyipQ.js.map → AnnouncingHeader-Ces-_Aei.js.map} +1 -1
- package/chunk/AnnouncingHeader-D01_AW-Z.js +4 -4
- package/chunk/{ApiUrls--XFHYK_y.js → ApiUrls-CCrEMNcV.js} +12 -10
- package/chunk/ApiUrls-CCrEMNcV.js.map +1 -0
- package/chunk/{ApiUrls-C95G_IDd.js → ApiUrls-CtTZRLIz.js} +15 -11
- package/chunk/ApiUrls-CtTZRLIz.js.map +1 -0
- package/chunk/{BirthDateComponent-fvOK4oaB.js → BirthDateComponent-DidDEb4J.js} +5 -5
- package/chunk/{BirthDateComponent-D_pIZKnS.js.map → BirthDateComponent-DidDEb4J.js.map} +1 -1
- package/chunk/{BirthDateComponent-D_pIZKnS.js → BirthDateComponent-DlrYopO3.js} +8 -8
- package/chunk/{BirthDateComponent-fvOK4oaB.js.map → BirthDateComponent-DlrYopO3.js.map} +1 -1
- package/chunk/{CaptchaComponent-WxyecFik.js → CaptchaComponent-CoUrV-PT.js} +89 -89
- package/chunk/{CaptchaComponent-D-Nz76Qg.js.map → CaptchaComponent-CoUrV-PT.js.map} +1 -1
- package/chunk/{CaptchaComponent-D-Nz76Qg.js → CaptchaComponent-D57Ffe6H.js} +6 -6
- package/chunk/{CaptchaComponent-WxyecFik.js.map → CaptchaComponent-D57Ffe6H.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DJQZb54_.js → ChangeLocaleComponent-ClmSxxuE.js} +5 -5
- package/chunk/{ChangeLocaleComponent-BlBc_jHa.js.map → ChangeLocaleComponent-ClmSxxuE.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BlBc_jHa.js → ChangeLocaleComponent-fFVOdtsS.js} +8 -8
- package/chunk/{ChangeLocaleComponent-DJQZb54_.js.map → ChangeLocaleComponent-fFVOdtsS.js.map} +1 -1
- package/chunk/City-BJB8URp9.js +4 -4
- package/chunk/{City-EIxs9ACD.js → City-C1CWD14n.js} +7 -7
- package/chunk/{City-EIxs9ACD.js.map → City-C1CWD14n.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CBt---A3.js → CollegeNameComponent-BMBLbuQc.js} +5 -5
- package/chunk/{CollegeNameComponent-C9EAsbzB.js.map → CollegeNameComponent-BMBLbuQc.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C9EAsbzB.js → CollegeNameComponent-BnJDGc88.js} +9 -9
- package/chunk/{CollegeNameComponent-CBt---A3.js.map → CollegeNameComponent-BnJDGc88.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-L-1toxiA.js → CopyToClipboardComponent-C4DDGwe8.js} +6 -6
- package/chunk/{CopyToClipboardComponent-L-1toxiA.js.map → CopyToClipboardComponent-C4DDGwe8.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-CWCaNcMS.js +4 -4
- package/chunk/{CountryComponentWrapper-LGUaAegT.js → CountryComponentWrapper-C1CD8ZAg.js} +5 -5
- package/chunk/{CountryComponentWrapper-Dc-JmygI.js.map → CountryComponentWrapper-C1CD8ZAg.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-Dc-JmygI.js → CountryComponentWrapper-DeOnkeWj.js} +10 -10
- package/chunk/{CountryComponentWrapper-LGUaAegT.js.map → CountryComponentWrapper-DeOnkeWj.js.map} +1 -1
- package/chunk/{DischargeDateComponent-XQlaYCm3.js → DischargeDateComponent-Rjgoohzn.js} +11 -11
- package/chunk/{DischargeDateComponent-XQlaYCm3.js.map → DischargeDateComponent-Rjgoohzn.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CofeIk6F.js → DischargeDateComponent-VzOdjzS5.js} +7 -7
- package/chunk/{DischargeDateComponent-CofeIk6F.js.map → DischargeDateComponent-VzOdjzS5.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-rkswBl9W.js → DriverLicenseNumberComponent-CFbngokf.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-rkswBl9W.js.map → DriverLicenseNumberComponent-CFbngokf.js.map} +1 -1
- package/chunk/DriverLicenseNumberComponent-Cfjxx2ik.js +4 -4
- package/chunk/EmailLoopPending-BHVS5imA.js +137 -0
- package/chunk/EmailLoopPending-BHVS5imA.js.map +1 -0
- package/chunk/EmailLoopPending-C7lV28N9.js +141 -0
- package/chunk/EmailLoopPending-C7lV28N9.js.map +1 -0
- package/chunk/{ExtraMessage-BWiMOnGY.js → ExtraMessage-C2HFAvWw.js} +7 -7
- package/chunk/{ExtraMessage-2Q_abIAw.js.map → ExtraMessage-C2HFAvWw.js.map} +1 -1
- package/chunk/{ExtraMessage-2Q_abIAw.js → ExtraMessage-DU8TXgyJ.js} +5 -5
- package/chunk/{ExtraMessage-BWiMOnGY.js.map → ExtraMessage-DU8TXgyJ.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BM458oYQ.js → FirstResponderOrganizationComponent-Cojs7nNP.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-B8O9Js_y.js.map → FirstResponderOrganizationComponent-Cojs7nNP.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-B8O9Js_y.js → FirstResponderOrganizationComponent-DaIpM9B_.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-BM458oYQ.js.map → FirstResponderOrganizationComponent-DaIpM9B_.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C8JRUmT0.js → FormFieldInputSelect-BF_uqQju.js} +7 -7
- package/chunk/{FormFieldInputSelect-BZAr3lul.js.map → FormFieldInputSelect-BF_uqQju.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BZAr3lul.js → FormFieldInputSelect-Cio6GCQa.js} +5 -5
- package/chunk/{FormFieldInputSelect-C8JRUmT0.js.map → FormFieldInputSelect-Cio6GCQa.js.map} +1 -1
- package/chunk/{FormFieldLayout-CZyAbU7A.js → FormFieldLayout-BPBIL09f.js} +6 -6
- package/chunk/{FormFieldLayout-CZyAbU7A.js.map → FormFieldLayout-BPBIL09f.js.map} +1 -1
- package/chunk/FormFieldLayout-CuxYu2-h.js +4 -4
- package/chunk/{FormFieldText-hh7QLPOB.js → FormFieldText-BTWjkwwz.js} +7 -7
- package/chunk/{FormFieldText-hh7QLPOB.js.map → FormFieldText-BTWjkwwz.js.map} +1 -1
- package/chunk/FormFieldText-Qen7EAhG.js +4 -4
- package/chunk/{FormFieldTypeahead-D_9PZ8-X.js → FormFieldTypeahead-CEVrBhmP.js} +7 -7
- package/chunk/{FormFieldTypeahead-D_9PZ8-X.js.map → FormFieldTypeahead-CEVrBhmP.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BX2aRyXH.js → FormFieldTypeahead-CTs2-gEo.js} +15 -15
- package/chunk/{FormFieldTypeahead-BX2aRyXH.js.map → FormFieldTypeahead-CTs2-gEo.js.map} +1 -1
- package/chunk/{FormFooterComponent-C_die6IY.js → FormFooterComponent-BYkrVAWO.js} +7 -7
- package/chunk/{FormFooterComponent-C_die6IY.js.map → FormFooterComponent-BYkrVAWO.js.map} +1 -1
- package/chunk/{FormFooterComponent-2At3EC6s.js → FormFooterComponent-DSZX7clY.js} +14 -14
- package/chunk/{FormFooterComponent-2At3EC6s.js.map → FormFooterComponent-DSZX7clY.js.map} +1 -1
- package/chunk/{FormSelectChoice-Bw2i04PW.js → FormSelectChoice-eq9jx2Ul.js} +8 -8
- package/chunk/{FormSelectChoice-Bw2i04PW.js.map → FormSelectChoice-eq9jx2Ul.js.map} +1 -1
- package/chunk/{FormSelectChoice-DaO1Ka0G.js → FormSelectChoice-ktUJwtNJ.js} +5 -5
- package/chunk/{FormSelectChoice-DaO1Ka0G.js.map → FormSelectChoice-ktUJwtNJ.js.map} +1 -1
- package/chunk/InputText-Bw9hR6-E.js +4 -4
- package/chunk/{InputText-DLjv31-v.js → InputText-C8Mt-ybW.js} +7 -7
- package/chunk/{InputText-DLjv31-v.js.map → InputText-C8Mt-ybW.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-D0HVaJJm.js → LicensedProfessionalOrganizationComponent-B_kcJSx5.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-D0HVaJJm.js.map → LicensedProfessionalOrganizationComponent-B_kcJSx5.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-hpsP5RWp.js → LicensedProfessionalOrganizationComponent-Bn6p2Wrg.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-hpsP5RWp.js.map → LicensedProfessionalOrganizationComponent-Bn6p2Wrg.js.map} +1 -1
- package/chunk/LogoComponent-BbW4WS1K.js +4 -4
- package/chunk/{LogoComponent-DwoLE9u6.js → LogoComponent-CRfZyj0K.js} +6 -6
- package/chunk/{LogoComponent-DwoLE9u6.js.map → LogoComponent-CRfZyj0K.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-qz116YzW.js → LowIncomeOrganizationComponent-DYt5-V2e.js} +12 -12
- package/chunk/{LowIncomeOrganizationComponent-Cdw9ZCY2.js.map → LowIncomeOrganizationComponent-DYt5-V2e.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-Cdw9ZCY2.js → LowIncomeOrganizationComponent-Ddn9t9I5.js} +7 -7
- package/chunk/{LowIncomeOrganizationComponent-qz116YzW.js.map → LowIncomeOrganizationComponent-Ddn9t9I5.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DsVqGq52.js → MedicalProfessionalOrganizationComponent-CiFB27-_.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-CpYu81O7.js.map → MedicalProfessionalOrganizationComponent-CiFB27-_.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CpYu81O7.js → MedicalProfessionalOrganizationComponent-Cjcj-Orv.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-DsVqGq52.js.map → MedicalProfessionalOrganizationComponent-Cjcj-Orv.js.map} +1 -1
- package/chunk/MemberIdComponent-CuflPh6q.js +4 -4
- package/chunk/{MemberIdComponent-B5k8k7Ri.js → MemberIdComponent-DbvTJcos.js} +7 -7
- package/chunk/{MemberIdComponent-B5k8k7Ri.js.map → MemberIdComponent-DbvTJcos.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-0OzqEfPm.js → MembershipOrganizationComponent-B4S0h6q3.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-DQAJm-UR.js.map → MembershipOrganizationComponent-B4S0h6q3.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DQAJm-UR.js → MembershipOrganizationComponent-BoH-wjYj.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-0OzqEfPm.js.map → MembershipOrganizationComponent-BoH-wjYj.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-GRWIeaA0.js → PersonalInfoStepSubmitButton-C7QmpcVd.js} +11 -11
- package/chunk/{PersonalInfoStepSubmitButton-GRWIeaA0.js.map → PersonalInfoStepSubmitButton-C7QmpcVd.js.map} +1 -1
- package/chunk/PersonalInfoStepSubmitButton-D55ut5Yp.js +4 -4
- package/chunk/{PersonalInfoStepWrapper-B8Bql-P4.js → PersonalInfoStepWrapper-B084bLf0.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-B8Bql-P4.js.map → PersonalInfoStepWrapper-B084bLf0.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DITCr11F.js → PersonalInfoStepWrapper-eaFX3Ju2.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-DITCr11F.js.map → PersonalInfoStepWrapper-eaFX3Ju2.js.map} +1 -1
- package/chunk/PostalCodeComponent-Bs9KyOzc.js +4 -4
- package/chunk/{PostalCodeComponent-D9AMJfw1.js → PostalCodeComponent-Cd3MQUvZ.js} +7 -7
- package/chunk/{PostalCodeComponent-D9AMJfw1.js.map → PostalCodeComponent-Cd3MQUvZ.js.map} +1 -1
- package/chunk/SSN-Bj9BhqVP.js +4 -4
- package/chunk/{SSN-U1aHmtP9.js → SSN-xvlX6KT5.js} +8 -8
- package/chunk/{SSN-U1aHmtP9.js.map → SSN-xvlX6KT5.js.map} +1 -1
- package/chunk/{StateSelectComponent-DHTKj5Wr.js → StateSelectComponent-DB2ZVCla.js} +5 -5
- package/chunk/{StateSelectComponent-BHVGDHvm.js.map → StateSelectComponent-DB2ZVCla.js.map} +1 -1
- package/chunk/{StateSelectComponent-BHVGDHvm.js → StateSelectComponent-bfYGRqFK.js} +6 -6
- package/chunk/{StateSelectComponent-DHTKj5Wr.js.map → StateSelectComponent-bfYGRqFK.js.map} +1 -1
- package/chunk/{StatusComponent-BB2vWFCb.js → StatusComponent-B82t_yYt.js} +5 -5
- package/chunk/{StatusComponent-BB2vWFCb.js.map → StatusComponent-B82t_yYt.js.map} +1 -1
- package/chunk/{StatusComponent-BIHaYuzH.js → StatusComponent-DK_vIH9q.js} +8 -8
- package/chunk/{StatusComponent-BIHaYuzH.js.map → StatusComponent-DK_vIH9q.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-QDu81Gxq.js → StepActiveMilitaryPersonalInfoComponent-Cd3A-_0F.js} +13 -13
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BTUcPHLY.js.map → StepActiveMilitaryPersonalInfoComponent-Cd3A-_0F.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BTUcPHLY.js → StepActiveMilitaryPersonalInfoComponent-EQ6bJz4Q.js} +19 -19
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-QDu81Gxq.js.map → StepActiveMilitaryPersonalInfoComponent-EQ6bJz4Q.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DNgmilV6.js → StepAgePersonalInfo-CBZWwvsC.js} +19 -19
- package/chunk/{StepAgePersonalInfo-DNgmilV6.js.map → StepAgePersonalInfo-CBZWwvsC.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CqlMEv4L.js → StepAgePersonalInfo-DGEVSOm6.js} +12 -12
- package/chunk/{StepAgePersonalInfo-CqlMEv4L.js.map → StepAgePersonalInfo-DGEVSOm6.js.map} +1 -1
- package/chunk/StepCard-CPjUPPj0.js +4 -4
- package/chunk/{StepCard-C_A_mMZ0.js → StepCard-CbZaVC-t.js} +5 -5
- package/chunk/{StepCard-C_A_mMZ0.js.map → StepCard-CbZaVC-t.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BCDtRblo.js → StepCollectIdentifier-CgDnf5rW.js} +9 -9
- package/chunk/{StepCollectIdentifier-CeoBjs-4.js.map → StepCollectIdentifier-CgDnf5rW.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CeoBjs-4.js → StepCollectIdentifier-DdbkjInv.js} +5 -5
- package/chunk/{StepCollectIdentifier-BCDtRblo.js.map → StepCollectIdentifier-DdbkjInv.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-Ciey9jqp.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-Cmh7V4nS.js → StepCollectMilitaryStatusComponent-kyUWKjnU.js} +5 -5
- package/chunk/{StepCollectPersonalInfo-Bze5MY2K.js → StepCollectPersonalInfo-CrmZROYx.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-Bze5MY2K.js.map → StepCollectPersonalInfo-CrmZROYx.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-B72pYr2M.js → StepCollectPersonalInfo-DCuE4DCp.js} +20 -20
- package/chunk/{StepCollectPersonalInfo-B72pYr2M.js.map → StepCollectPersonalInfo-DCuE4DCp.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-B_kMG5T4.js → StepCompleteAuthentication-AKjdo3J9.js} +63 -60
- package/chunk/{StepCompleteAuthentication-B_kMG5T4.js.map → StepCompleteAuthentication-AKjdo3J9.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-WNoY9V_A.js → StepCompleteAuthentication-DytIfFlB.js} +68 -65
- package/chunk/{StepCompleteAuthentication-WNoY9V_A.js.map → StepCompleteAuthentication-DytIfFlB.js.map} +1 -1
- package/chunk/StepConsolation-CUnbBuhu.js +102 -0
- package/chunk/StepConsolation-CUnbBuhu.js.map +1 -0
- package/chunk/StepConsolation-CoWUFyb8.js +106 -0
- package/chunk/StepConsolation-CoWUFyb8.js.map +1 -0
- package/chunk/{StepDocUpload-YUcB9r4W.js → StepDocUpload-CxMWqwg6.js} +14 -14
- package/chunk/{StepDocUpload-mqNa0ERD.js.map → StepDocUpload-CxMWqwg6.js.map} +1 -1
- package/chunk/{StepDocUpload-mqNa0ERD.js → StepDocUpload-RjZfQA5x.js} +6 -6
- package/chunk/{StepDocUpload-YUcB9r4W.js.map → StepDocUpload-RjZfQA5x.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Cmkn8ssJ.js → StepDriverLicensePersonalInfoComponent-Bi_QAHBT.js} +10 -10
- package/chunk/{StepDriverLicensePersonalInfoComponent-Cmkn8ssJ.js.map → StepDriverLicensePersonalInfoComponent-Bi_QAHBT.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CER5z8aa.js → StepDriverLicensePersonalInfoComponent-CJolYOjr.js} +16 -16
- package/chunk/{StepDriverLicensePersonalInfoComponent-CER5z8aa.js.map → StepDriverLicensePersonalInfoComponent-CJolYOjr.js.map} +1 -1
- package/chunk/{StepEmailLoop-CPTtkURy.js → StepEmailLoop-DgiXMCz5.js} +13 -13
- package/chunk/{StepEmailLoop-CPTtkURy.js.map → StepEmailLoop-DgiXMCz5.js.map} +1 -1
- package/chunk/{StepEmailLoop-B8jULmEc.js → StepEmailLoop-Doiy14Hn.js} +6 -6
- package/chunk/{StepEmailLoop-B8jULmEc.js.map → StepEmailLoop-Doiy14Hn.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BX4-rPJK.js → StepEmploymentPersonalInfo-B7E-tWiE.js} +19 -19
- package/chunk/{StepEmploymentPersonalInfo-BX4-rPJK.js.map → StepEmploymentPersonalInfo-B7E-tWiE.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-ZhNapb6M.js → StepEmploymentPersonalInfo-Ck7Qrd42.js} +11 -11
- package/chunk/{StepEmploymentPersonalInfo-ZhNapb6M.js.map → StepEmploymentPersonalInfo-Ck7Qrd42.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-B915idqX.js → StepFirstResponderPersonalInfo-Bu--Ctxo.js} +19 -19
- package/chunk/{StepFirstResponderPersonalInfo-B915idqX.js.map → StepFirstResponderPersonalInfo-Bu--Ctxo.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-uC_14VCl.js → StepFirstResponderPersonalInfo-oR__DCIi.js} +13 -13
- package/chunk/{StepFirstResponderPersonalInfo-uC_14VCl.js.map → StepFirstResponderPersonalInfo-oR__DCIi.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-ADRRmyOZ.js → StepGeneralIdentityPersonalInfoComponent-BWsszzUk.js} +11 -11
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-ADRRmyOZ.js.map → StepGeneralIdentityPersonalInfoComponent-BWsszzUk.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C52vpHHa.js → StepGeneralIdentityPersonalInfoComponent-C1LcXbVS.js} +19 -19
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C52vpHHa.js.map → StepGeneralIdentityPersonalInfoComponent-C1LcXbVS.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BM1k5KK1.js → StepHybridIdentityPersonalInfoComponent-DtVW5Ijk.js} +11 -11
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BM1k5KK1.js.map → StepHybridIdentityPersonalInfoComponent-DtVW5Ijk.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DODm4DTn.js → StepHybridIdentityPersonalInfoComponent-fcsS3HaW.js} +20 -20
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DODm4DTn.js.map → StepHybridIdentityPersonalInfoComponent-fcsS3HaW.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CEjxRr5H.js → StepIDCheckLoop-CkrXFNDD.js} +5 -5
- package/chunk/{StepIDCheckLoop-CEjxRr5H.js.map → StepIDCheckLoop-CkrXFNDD.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DIYrsFwr.js → StepIDCheckLoop-QwQxcr6G.js} +8 -8
- package/chunk/{StepIDCheckLoop-DIYrsFwr.js.map → StepIDCheckLoop-QwQxcr6G.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-D_eLypXC.js → StepIDCheckLoopOnfido-BxWt_tTD.js} +12 -12
- package/chunk/{StepIDCheckLoopOnfido-wtq0fJ-c.js.map → StepIDCheckLoopOnfido-BxWt_tTD.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-wtq0fJ-c.js → StepIDCheckLoopOnfido-DiPll7qE.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-D_eLypXC.js.map → StepIDCheckLoopOnfido-DiPll7qE.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B0r0Uv54.js → StepIDCheckLoopRegula-Bdm-MlNE.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-B0r0Uv54.js.map → StepIDCheckLoopRegula-Bdm-MlNE.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Do3ozU_J.js → StepIDCheckLoopRegula-C4VNjr3j.js} +10 -10
- package/chunk/{StepIDCheckLoopRegula-Do3ozU_J.js.map → StepIDCheckLoopRegula-C4VNjr3j.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-QEnfHmjk.js → StepInactiveMilitaryPersonalInfoComponent-CFuD6VTH.js} +15 -15
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-QEnfHmjk.js.map → StepInactiveMilitaryPersonalInfoComponent-CFuD6VTH.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-efGhy63T.js → StepInactiveMilitaryPersonalInfoComponent-E7wXl5fr.js} +24 -24
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-efGhy63T.js.map → StepInactiveMilitaryPersonalInfoComponent-E7wXl5fr.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cs86v_OB.js → StepLicensedProfessionalPersonalInfo-7qvdOCxP.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-CX9NspCc.js.map → StepLicensedProfessionalPersonalInfo-7qvdOCxP.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CX9NspCc.js → StepLicensedProfessionalPersonalInfo-BPO41u3Q.js} +13 -13
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cs86v_OB.js.map → StepLicensedProfessionalPersonalInfo-BPO41u3Q.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-D7eko7ht.js → StepLowIncomePersonalInfo-DM27_Fv9.js} +22 -22
- package/chunk/{StepLowIncomePersonalInfo-D7eko7ht.js.map → StepLowIncomePersonalInfo-DM27_Fv9.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DFVNYXtR.js → StepLowIncomePersonalInfo-sLsTIBCk.js} +13 -13
- package/chunk/{StepLowIncomePersonalInfo-DFVNYXtR.js.map → StepLowIncomePersonalInfo-sLsTIBCk.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-C_AnvyQj.js → StepMedicalProfessionalPersonalInfo-BKS432PR.js} +14 -14
- package/chunk/{StepMedicalProfessionalPersonalInfo-BAcFB6Mb.js.map → StepMedicalProfessionalPersonalInfo-BKS432PR.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BAcFB6Mb.js → StepMedicalProfessionalPersonalInfo-CXFjH431.js} +20 -20
- package/chunk/{StepMedicalProfessionalPersonalInfo-C_AnvyQj.js.map → StepMedicalProfessionalPersonalInfo-CXFjH431.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BW67LVWx.js → StepMemberPersonalInfo-BfERXavf.js} +12 -12
- package/chunk/{StepMemberPersonalInfo-BW67LVWx.js.map → StepMemberPersonalInfo-BfERXavf.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CDtaOn7T.js → StepMemberPersonalInfo-CqtZioX5.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-CDtaOn7T.js.map → StepMemberPersonalInfo-CqtZioX5.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CnGdDV-d.js → StepMoverPersonalInfo-B4uXChsu.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-CGhgUm1j.js.map → StepMoverPersonalInfo-B4uXChsu.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CGhgUm1j.js → StepMoverPersonalInfo-CQprA7My.js} +9 -9
- package/chunk/{StepMoverPersonalInfo-CnGdDV-d.js.map → StepMoverPersonalInfo-CQprA7My.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Cde3FPYX.js → StepOverrideComponent-BfutBYKU.js} +11 -11
- package/chunk/{StepOverrideComponent-Cde3FPYX.js.map → StepOverrideComponent-BfutBYKU.js.map} +1 -1
- package/chunk/{StepOverrideComponent-wiMuwIu-.js → StepOverrideComponent-BqQF_3dO.js} +5 -5
- package/chunk/{StepOverrideComponent-wiMuwIu-.js.map → StepOverrideComponent-BqQF_3dO.js.map} +1 -1
- package/chunk/StepSMSLoop-BZS30ArE.js +180 -0
- package/chunk/StepSMSLoop-BZS30ArE.js.map +1 -0
- package/chunk/StepSMSLoop-CsN3smWP.js +184 -0
- package/chunk/StepSMSLoop-CsN3smWP.js.map +1 -0
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-BOaXygFU.js → StepSocialSecurityNumber-CNYkj1us.js} +13 -13
- package/chunk/{StepSocialSecurityNumber-BOaXygFU.js.map → StepSocialSecurityNumber-CNYkj1us.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CBrM2Tm-.js → StepSocialSecurityNumber-h5XRRxQ1.js} +6 -6
- package/chunk/{StepSocialSecurityNumber-CBrM2Tm-.js.map → StepSocialSecurityNumber-h5XRRxQ1.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CVQpNQXs.js → StepStudentPersonalInfo-BK4Vzxug.js} +19 -19
- package/chunk/{StepStudentPersonalInfo-BQuHXyBx.js.map → StepStudentPersonalInfo-BK4Vzxug.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BQuHXyBx.js → StepStudentPersonalInfo-DMDBFsoT.js} +13 -13
- package/chunk/{StepStudentPersonalInfo-CVQpNQXs.js.map → StepStudentPersonalInfo-DMDBFsoT.js.map} +1 -1
- package/chunk/{StepSuccess-Fh5qHhhJ.js → StepSuccess-BTgPBEUH.js} +78 -74
- package/chunk/StepSuccess-BTgPBEUH.js.map +1 -0
- package/chunk/{StepSuccess-B4m12cuz.js → StepSuccess-CpGC44L8.js} +104 -100
- package/chunk/StepSuccess-CpGC44L8.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-BWIWPznT.js → StepTeacherPersonalInfo-3iYsyMc8.js} +13 -13
- package/chunk/{StepTeacherPersonalInfo-BWIWPznT.js.map → StepTeacherPersonalInfo-3iYsyMc8.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-Iimih9IF.js → StepTeacherPersonalInfo-CCm_8ZHt.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-Iimih9IF.js.map → StepTeacherPersonalInfo-CCm_8ZHt.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-BQd6FhY1.js → TeacherSchoolComponent-5OscH6cJ.js} +5 -5
- package/chunk/{TeacherSchoolComponent-Dd19Qkfb.js.map → TeacherSchoolComponent-5OscH6cJ.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-Dd19Qkfb.js → TeacherSchoolComponent-wTJoE5I1.js} +9 -9
- package/chunk/{TeacherSchoolComponent-BQd6FhY1.js.map → TeacherSchoolComponent-wTJoE5I1.js.map} +1 -1
- package/chunk/TestingRouteOverrides-BeBP6XXB.js +4 -4
- package/chunk/{TestingRouteOverrides-DmJbygl9.js → TestingRouteOverrides-Bt8QuyMY.js} +13 -13
- package/chunk/{TestingRouteOverrides-DmJbygl9.js.map → TestingRouteOverrides-Bt8QuyMY.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-D9TY-1LV.js → VerificationApiClient-CV-pPSzS.js} +36 -36
- package/chunk/{VerificationApiClient-D9TY-1LV.js.map → VerificationApiClient-CV-pPSzS.js.map} +1 -1
- package/chunk/{VerificationApiClient-BU-AI9RP.js → VerificationApiClient-DDY8kVrd.js} +5 -5
- package/chunk/{VerificationApiClient-BU-AI9RP.js.map → VerificationApiClient-DDY8kVrd.js.map} +1 -1
- package/chunk/{VerificationApiUtils-DcBv0vx1.js → VerificationApiUtils-DVXEkkFJ.js} +8 -8
- package/chunk/{VerificationApiUtils-BSy9Ko-O.js.map → VerificationApiUtils-DVXEkkFJ.js.map} +1 -1
- package/chunk/{VerificationApiUtils-BSy9Ko-O.js → VerificationApiUtils-V2wmWL9a.js} +6 -6
- package/chunk/{VerificationApiUtils-DcBv0vx1.js.map → VerificationApiUtils-V2wmWL9a.js.map} +1 -1
- package/chunk/ar-Dh-2G5c3.js +4 -4
- package/chunk/bg-BbAhdJRh.js +4 -4
- package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
- package/chunk/countryUtils-Bg9KdIbF.js +4 -4
- package/chunk/{countryUtils-DuFXy-Lc.js → countryUtils-QLzXPJsg.js} +5 -5
- package/chunk/{countryUtils-DuFXy-Lc.js.map → countryUtils-QLzXPJsg.js.map} +1 -1
- package/chunk/cs-CYGsmvju.js +4 -4
- package/chunk/da-COZWvvUD.js +4 -4
- package/chunk/de-BHclNQGr.js +4 -4
- package/chunk/{downshift.esm--oxGxbi5.js → downshift.esm-BMKqQbKD.js} +7 -7
- package/chunk/{downshift.esm--oxGxbi5.js.map → downshift.esm-BMKqQbKD.js.map} +1 -1
- package/chunk/{downshift.esm-KWl0sOpP.js → downshift.esm-Be27xbKJ.js} +5 -5
- package/chunk/{downshift.esm-KWl0sOpP.js.map → downshift.esm-Be27xbKJ.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/empties-COfIPxJ5.js +4 -4
- package/chunk/{empties-1_PAn0id.js → empties-DctbDY5s.js} +5 -5
- package/chunk/{empties-1_PAn0id.js.map → empties-DctbDY5s.js.map} +1 -1
- package/chunk/en-GB-CkENrh2I.js +4 -4
- package/chunk/es-BRKAFTKN.js +4 -4
- package/chunk/es-ES-BWfAbWbQ.js +4 -4
- package/chunk/et-CxMgVbW2.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BEC3aNBF.js +4 -4
- package/chunk/fi-BaP3FR15.js +4 -4
- package/chunk/fr-CA-CS4SuM-m.js +4 -4
- package/chunk/fr-DSU2B7p2.js +4 -4
- package/chunk/ga-DZEr9X_A.js +4 -4
- package/chunk/hi-IN-DvBVpWNQ.js +4 -4
- package/chunk/{hooks-XC-iN9KQ.js → hooks-DLtMDttz.js} +7 -7
- package/chunk/{hooks-XC-iN9KQ.js.map → hooks-DLtMDttz.js.map} +1 -1
- package/chunk/hooks-PN48cX8E.js +4 -4
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/{intl-DJeZs3uh.js → intl-TN1Dianl.js} +583 -583
- package/chunk/{intl-DJeZs3uh.js.map → intl-TN1Dianl.js.map} +1 -1
- package/chunk/is-tpzRyIZi.js +4 -4
- package/chunk/it-C3-BupR4.js +4 -4
- package/chunk/iw-CBna3XPT.js +4 -4
- package/chunk/ja-DvXOkZRn.js +4 -4
- package/chunk/{jsx-runtime-Dd4OJ9ft.js → jsx-runtime-QRCZ6ZTK.js} +5 -5
- package/chunk/{jsx-runtime-Dd4OJ9ft.js.map → jsx-runtime-QRCZ6ZTK.js.map} +1 -1
- package/chunk/jsx-runtime-lVLuHIkM.js +4 -4
- package/chunk/kk-DGXgY6Uw.js +4 -4
- package/chunk/ko-BlUGwGxN.js +4 -4
- package/chunk/lo-DT6wxwS1.js +4 -4
- package/chunk/lt-CT5-H4ci.js +4 -4
- package/chunk/lv-CBMD1XRp.js +4 -4
- package/chunk/{militaryStepHelpers-DHTF3XjP.js → militaryStepHelpers-CF0fNRKQ.js} +5 -5
- package/chunk/{militaryStepHelpers-DHTF3XjP.js.map → militaryStepHelpers-CF0fNRKQ.js.map} +1 -1
- package/chunk/militaryStepHelpers-W31scSUE.js +4 -4
- package/chunk/{mocks-D4xoUQMt.js → mocks-BN2OnOjp.js} +6 -6
- package/chunk/{mocks-D4xoUQMt.js.map → mocks-BN2OnOjp.js.map} +1 -1
- package/chunk/mocks-l2e0aaeT.js +4 -4
- package/chunk/ms-DuxNeOgk.js +4 -4
- package/chunk/nl-BE-D028qM7-.js +4 -4
- package/chunk/nl-DEuaat_s.js +4 -4
- package/chunk/no-CjeRjD1D.js +4 -4
- package/chunk/options-BK6Zk2Oe.js +4 -4
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/programThemeGetters-4Wf-YSPx.js +4 -4
- package/chunk/{programThemeGetters-UDiPGnE3.js → programThemeGetters-DECHMs91.js} +5 -5
- package/chunk/{programThemeGetters-UDiPGnE3.js.map → programThemeGetters-DECHMs91.js.map} +1 -1
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/{refs-i0Eo9ybu.js → refs-6KTRrw-F.js} +5 -5
- package/chunk/{refs-i0Eo9ybu.js.map → refs-6KTRrw-F.js.map} +1 -1
- package/chunk/refs-B8CaE8yL.js +4 -4
- package/chunk/ro-C74ZR3HS.js +4 -4
- package/chunk/ru-BA9P3RVu.js +4 -4
- package/chunk/sk-DmyizV49.js +4 -4
- package/chunk/sl-Cxm3YoWE.js +4 -4
- package/chunk/sr-gOtgEOlP.js +4 -4
- package/chunk/stepComponentHelpers-Darhp1Nn.js +4 -4
- package/chunk/{stepComponentHelpers-D-rc0nWU.js → stepComponentHelpers-DeWac6nj.js} +9 -9
- package/chunk/{stepComponentHelpers-D-rc0nWU.js.map → stepComponentHelpers-DeWac6nj.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DnCUWo1-.js +4 -4
- package/chunk/sw-BY7XXvUU.js +4 -4
- package/chunk/ta-CVL0b6Hh.js +4 -4
- package/chunk/th-CyU0RW3x.js +4 -4
- package/chunk/tl-BfgQ0irB.js +4 -4
- package/chunk/tr-BPg_L4bY.js +4 -4
- package/chunk/uk-CNaioa7V.js +4 -4
- package/chunk/ur-Ht1Mcpm0.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-sPDbkjgh.js → useCollectFieldsEndpoint-C63IlRvv.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-sPDbkjgh.js.map → useCollectFieldsEndpoint-C63IlRvv.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-D4yLfK0P.js → useCollectFieldsEndpoint-bttd-mOP.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-D4yLfK0P.js.map → useCollectFieldsEndpoint-bttd-mOP.js.map} +1 -1
- package/chunk/{useMetrics-BXtJHRFy.js → useMetrics-CiB8jnkE.js} +7 -7
- package/chunk/{useMetrics-BXtJHRFy.js.map → useMetrics-CiB8jnkE.js.map} +1 -1
- package/chunk/useMetrics-iqbs0R1u.js +4 -4
- package/chunk/vi-sI1BYLXG.js +4 -4
- package/chunk/zh-DNG4VB8r.js +4 -4
- package/chunk/zh-HK-5Y3ROXEm.js +4 -4
- package/chunk/zu-DNMG8Idu.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +6 -5
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +5 -5
- package/sheerid.js +59 -50
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls--XFHYK_y.js.map +0 -1
- package/chunk/ApiUrls-C95G_IDd.js.map +0 -1
- package/chunk/EmailLoopPending-DE3tDyAY.js +0 -138
- package/chunk/EmailLoopPending-DE3tDyAY.js.map +0 -1
- package/chunk/EmailLoopPending-e5hz6IDY.js +0 -134
- package/chunk/EmailLoopPending-e5hz6IDY.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-DDpq80DQ.js +0 -9
- package/chunk/StepConsolation-DP_22v0E.js +0 -104
- package/chunk/StepConsolation-DP_22v0E.js.map +0 -1
- package/chunk/StepConsolation-ol5BCfGd.js +0 -100
- package/chunk/StepConsolation-ol5BCfGd.js.map +0 -1
- package/chunk/StepSMSLoop-0m1VJY-W.js +0 -181
- package/chunk/StepSMSLoop-0m1VJY-W.js.map +0 -1
- package/chunk/StepSMSLoop-CPLQBDGY.js +0 -177
- package/chunk/StepSMSLoop-CPLQBDGY.js.map +0 -1
- package/chunk/StepSuccess-B4m12cuz.js.map +0 -1
- package/chunk/StepSuccess-Fh5qHhhJ.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
|
@@ -4,46 +4,46 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.274.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1787094668046
|
|
9
|
+
* BUILD_DATE: Tue Aug 18 2026 23:11:08 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: f159388091b6a2928e80ee1b0cbd31d037de5a6c
|
|
11
11
|
*/
|
|
12
|
-
import { D as e, E as t, Ft as n,
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { c as
|
|
16
|
-
import {
|
|
17
|
-
import { a as
|
|
18
|
-
import { i as
|
|
19
|
-
import { a as
|
|
20
|
-
import { i as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
12
|
+
import { D as e, E as t, Ft as n, Ht as r, Jt as i, Kt as a, Lt as o, O as s, Rt as c, T as l, Ut as u, Wt as d, b as f, c as p, f as m, g as h, h as g, i as _, l as v, m as y, n as b, o as x, ot as S, p as C, pt as w, r as T, s as E, t as D, v as ee, w as O, x as k, y as A } from "./chunk/intl-TN1Dianl.js";
|
|
13
|
+
import { d as j, f as M, l as te, p as ne } from "./chunk/ApiUrls-CtTZRLIz.js";
|
|
14
|
+
import { c as re, i as ie, n as N, t as ae } from "./chunk/jsx-runtime-QRCZ6ZTK.js";
|
|
15
|
+
import { A as oe, C as se, D as ce, E as le, I as ue, L as de, M as fe, N as pe, O as me, P as he, R as ge, S as _e, T as ve, _ as ye, a as be, b as xe, c as Se, d as Ce, f as we, j as Te, k as Ee, l as De, n as Oe, o as ke, p as Ae, r as P, s as je, t as Me, u as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./chunk/FormFooterComponent-DSZX7clY.js";
|
|
16
|
+
import { c as ze, d as Be, l as Ve, o as He } from "./chunk/VerificationApiClient-CV-pPSzS.js";
|
|
17
|
+
import { a as Ue, i as We, n as Ge, r as Ke, s as qe, t as Je } from "./chunk/TestingRouteOverrides-Bt8QuyMY.js";
|
|
18
|
+
import { i as Ye } from "./chunk/programThemeGetters-DECHMs91.js";
|
|
19
|
+
import { a as Xe, i as Ze, n as Qe, r as $e, t as et } from "./chunk/hooks-DLtMDttz.js";
|
|
20
|
+
import { i as tt, s as nt, t as rt } from "./chunk/refs-6KTRrw-F.js";
|
|
21
|
+
import { t as it } from "./chunk/LogoComponent-CRfZyj0K.js";
|
|
22
|
+
import { t as at } from "./chunk/strings-DWLVdUcm.js";
|
|
23
|
+
import { t as ot } from "./chunk/AnnouncingHeader-Ces-_Aei.js";
|
|
24
24
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
25
|
-
var F = /* @__PURE__ */
|
|
26
|
-
function
|
|
25
|
+
var F = /* @__PURE__ */ i(re());
|
|
26
|
+
function st({ i18n: e, defaultNS: t, children: n }) {
|
|
27
27
|
let r = (0, F.useMemo)(() => ({
|
|
28
28
|
i18n: e,
|
|
29
29
|
defaultNS: t
|
|
30
30
|
}), [e, t]);
|
|
31
|
-
return (0, F.createElement)(
|
|
31
|
+
return (0, F.createElement)(Re.Provider, { value: r }, n);
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
35
|
-
var
|
|
36
|
-
let n =
|
|
37
|
-
let r =
|
|
38
|
-
d.info("Setting programTheme", r),
|
|
35
|
+
var ct = (e, t = { partial: !0 }) => {
|
|
36
|
+
let n = Pe(), r = n.getState(), i = () => {
|
|
37
|
+
let r = s(e);
|
|
38
|
+
d.info("Setting programTheme", r), le(n.dispatch)(r, t.partial), oe(r, t.partial);
|
|
39
39
|
};
|
|
40
|
-
r.isLoading ?
|
|
40
|
+
r.isLoading ? ue({
|
|
41
41
|
name: "ON_VERIFICATION_READY",
|
|
42
42
|
callback: () => {
|
|
43
43
|
i();
|
|
44
44
|
}
|
|
45
45
|
}) : i();
|
|
46
|
-
},
|
|
46
|
+
}, lt = /* @__PURE__ */ i(u(), 1), ut = /* @__PURE__ */ i(ye(), 1), I = ae(), dt = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
47
47
|
className: "sid-spinner",
|
|
48
48
|
"data-testid": "sid-spinner",
|
|
49
49
|
children: [
|
|
@@ -52,9 +52,9 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
52
52
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
53
53
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
54
54
|
]
|
|
55
|
-
}),
|
|
55
|
+
}), ft = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
56
56
|
className: "sid-loading-screen__message",
|
|
57
|
-
children: [
|
|
57
|
+
children: [c(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
58
58
|
className: "sid-loading-screen__message-header",
|
|
59
59
|
role: "alert",
|
|
60
60
|
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
@@ -68,10 +68,10 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
68
68
|
defaultMessage: "This should only take a minute"
|
|
69
69
|
})
|
|
70
70
|
})]
|
|
71
|
-
}),
|
|
71
|
+
}), pt = ({ step: e = Je() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
72
72
|
className: "sid-loading-screen",
|
|
73
|
-
children: [/* @__PURE__ */ (0, I.jsx)(
|
|
74
|
-
}),
|
|
73
|
+
children: [/* @__PURE__ */ (0, I.jsx)(dt, {}), e && /* @__PURE__ */ (0, I.jsx)(ft, { step: e })]
|
|
74
|
+
}), mt = /* @__PURE__ */ a(((e, t) => {
|
|
75
75
|
var n, r = n = {
|
|
76
76
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
77
77
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -138,13 +138,13 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
138
138
|
enumerable: !0,
|
|
139
139
|
configurable: !1
|
|
140
140
|
}), t.exports = r;
|
|
141
|
-
})),
|
|
142
|
-
var n =
|
|
141
|
+
})), ht = /* @__PURE__ */ a(((e, t) => {
|
|
142
|
+
var n = mt();
|
|
143
143
|
t.exports = {
|
|
144
144
|
isRtlLang: n.isRtlLang,
|
|
145
145
|
getLangDir: n.getLangDir
|
|
146
146
|
};
|
|
147
|
-
})),
|
|
147
|
+
})), gt = /* @__PURE__ */ i(Be(), 1), _t = /* @__PURE__ */ i(ht(), 1), L = {
|
|
148
148
|
landingBackgroundColor: "#fff",
|
|
149
149
|
landingPrimaryFontColor: "#000",
|
|
150
150
|
landingBackgroundImage: "none",
|
|
@@ -158,7 +158,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
158
158
|
formFont: "var(--sheerid-font-family-sans)",
|
|
159
159
|
cssVariables: null,
|
|
160
160
|
customStyles: null
|
|
161
|
-
},
|
|
161
|
+
}, vt = F.createContext(L), R = {
|
|
162
162
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
163
163
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
164
164
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -172,7 +172,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
172
172
|
formFont: "--sheerid-font-family-body",
|
|
173
173
|
cssVariables: null,
|
|
174
174
|
customStyles: null
|
|
175
|
-
},
|
|
175
|
+
}, yt = {
|
|
176
176
|
"--sheerid-color-fg-05": {
|
|
177
177
|
from: "--sheerid-color-bg",
|
|
178
178
|
to: "--sheerid-color-fg",
|
|
@@ -283,7 +283,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
283
283
|
to: "--sheerid-color-fg",
|
|
284
284
|
percentage: 3
|
|
285
285
|
}
|
|
286
|
-
},
|
|
286
|
+
}, bt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
287
287
|
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 = {
|
|
288
288
|
[R.landingBackgroundColor]: s,
|
|
289
289
|
[R.landingPrimaryFontColor]: c,
|
|
@@ -296,12 +296,12 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
296
296
|
[R.formH1FontColor]: h,
|
|
297
297
|
[R.formHelperFontColor]: g,
|
|
298
298
|
[R.formFont]: _ === L.formFont ? L.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
299
|
-
...Object.entries(
|
|
299
|
+
...Object.entries(yt).reduce((e, [t, n]) => {
|
|
300
300
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
301
301
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
302
302
|
}, {})
|
|
303
|
-
}, y = F.useRef(null), b =
|
|
304
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
303
|
+
}, y = F.useRef(null), b = M() === j.cdnInlineIframe, x = M() === j.cdnModalIframe;
|
|
304
|
+
return /* @__PURE__ */ (0, I.jsx)(vt.Provider, {
|
|
305
305
|
value: {
|
|
306
306
|
landingBackgroundColor: s,
|
|
307
307
|
landingPrimaryFontColor: c,
|
|
@@ -325,7 +325,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
325
325
|
children: [a && /* @__PURE__ */ (0, I.jsx)("style", { children: a }), n]
|
|
326
326
|
})
|
|
327
327
|
});
|
|
328
|
-
},
|
|
328
|
+
}, xt = (e, t, n) => ({
|
|
329
329
|
minAge: t?.minAge || e?.config?.minAge,
|
|
330
330
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
331
331
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -333,29 +333,29 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
333
333
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
334
334
|
currentStep: t?.currentStep,
|
|
335
335
|
viewModel: n
|
|
336
|
-
}),
|
|
336
|
+
}), St = {}, Ct = (e) => St[e] ? (d.log(`getOverridenComponent returning ${e}`), St[e]) : null, wt = ({ verificationService: e, linkText: t }) => {
|
|
337
337
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
338
|
-
return n ? /* @__PURE__ */ (0, I.jsx)(
|
|
338
|
+
return n ? /* @__PURE__ */ (0, I.jsx)(be, {
|
|
339
339
|
className: "sid-faq sid-link",
|
|
340
|
-
href:
|
|
340
|
+
href: Ye(i, n, r, D(e.viewModel), e.verificationResponse),
|
|
341
341
|
children: t || /* @__PURE__ */ (0, I.jsx)(N, {
|
|
342
342
|
id: "getHelp",
|
|
343
343
|
defaultMessage: "Get help"
|
|
344
344
|
})
|
|
345
345
|
}) : null;
|
|
346
|
-
},
|
|
346
|
+
}, Tt = /* @__PURE__ */ (0, I.jsx)(N, {
|
|
347
347
|
id: "poweredBy",
|
|
348
348
|
defaultMessage: "Verification services powered by SheerID."
|
|
349
|
-
}),
|
|
349
|
+
}), Et = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
350
350
|
switch (n) {
|
|
351
351
|
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
352
352
|
className: "sid-footer__powered-by-container-experiment",
|
|
353
353
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
354
354
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
355
|
-
children:
|
|
355
|
+
children: Tt
|
|
356
356
|
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
357
357
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
358
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
358
|
+
children: /* @__PURE__ */ (0, I.jsx)(wt, { verificationService: e })
|
|
359
359
|
})]
|
|
360
360
|
});
|
|
361
361
|
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
@@ -368,28 +368,28 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
368
368
|
alt: "",
|
|
369
369
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
370
370
|
})
|
|
371
|
-
}),
|
|
371
|
+
}), Tt]
|
|
372
372
|
})
|
|
373
373
|
});
|
|
374
374
|
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
375
375
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
376
376
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
377
377
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
378
|
-
children:
|
|
378
|
+
children: Tt
|
|
379
379
|
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
380
380
|
className: t ? "sid-l-space-top-sm" : "",
|
|
381
|
-
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(
|
|
381
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(wt, { verificationService: e })]
|
|
382
382
|
})]
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
|
-
},
|
|
385
|
+
}, Dt = (e, t) => {
|
|
386
386
|
let n = F.useRef(null);
|
|
387
387
|
function r() {
|
|
388
388
|
clearInterval(n.current);
|
|
389
389
|
}
|
|
390
390
|
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
391
|
-
},
|
|
392
|
-
let a =
|
|
391
|
+
}, Ot = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = jt.PRIMARY }) => {
|
|
392
|
+
let a = at(e);
|
|
393
393
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
394
394
|
className: "sid-header sid-l-horz-center",
|
|
395
395
|
children: [
|
|
@@ -397,7 +397,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
397
397
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
398
398
|
children: n
|
|
399
399
|
}),
|
|
400
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
400
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
401
401
|
align: "center",
|
|
402
402
|
children: t.title
|
|
403
403
|
}),
|
|
@@ -413,7 +413,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
413
413
|
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
414
414
|
onClick: r,
|
|
415
415
|
type: "submit",
|
|
416
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
416
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === jt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
417
417
|
"aria-label": "submit",
|
|
418
418
|
children: t.cancel
|
|
419
419
|
})
|
|
@@ -422,20 +422,20 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
422
422
|
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
423
423
|
]
|
|
424
424
|
});
|
|
425
|
-
},
|
|
425
|
+
}, kt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = jt.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)(Ot, {
|
|
426
426
|
messages: t,
|
|
427
427
|
stepName: e,
|
|
428
428
|
logo: n,
|
|
429
429
|
cancelSingleSignOn: r,
|
|
430
430
|
cancelButtonType: i
|
|
431
|
-
}),
|
|
432
|
-
let i =
|
|
431
|
+
}), At = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
432
|
+
let i = et("hc-my-sheer-id-theme-builder");
|
|
433
433
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
434
434
|
className: "sid-header sid-l-horz-center",
|
|
435
435
|
children: [
|
|
436
436
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
437
437
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
438
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
438
|
+
children: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
439
439
|
verificationService: t,
|
|
440
440
|
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
441
441
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
@@ -444,7 +444,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
444
444
|
})
|
|
445
445
|
})
|
|
446
446
|
}),
|
|
447
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
447
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
448
448
|
align: "center",
|
|
449
449
|
children: e.title
|
|
450
450
|
}),
|
|
@@ -465,10 +465,10 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
465
465
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
466
466
|
]
|
|
467
467
|
});
|
|
468
|
-
},
|
|
468
|
+
}, jt = /* @__PURE__ */ function(e) {
|
|
469
469
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
470
|
-
}({}),
|
|
471
|
-
let { programId: i } = e, a = e.viewModel,
|
|
470
|
+
}({}), Mt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
471
|
+
let { programId: i } = e, a = e.viewModel, s = e.previousViewModel || void 0, c = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: u, locale: f } = e.verificationResponse, p = Ue(), m = at(t), g = et("hc-my-sheer-id-theme-builder"), _, v = /* @__PURE__ */ (0, I.jsx)(it, {
|
|
472
472
|
verificationService: e,
|
|
473
473
|
fallbackLogo: !g && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
474
474
|
className: `sid-${m}-logo-default sid-l-lead-image`,
|
|
@@ -476,7 +476,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
476
476
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
477
477
|
})
|
|
478
478
|
}), y = () => setTimeout(() => {
|
|
479
|
-
e.fetchExistingVerificationRequest(i, u, l,
|
|
479
|
+
e.fetchExistingVerificationRequest(i, u, l, s);
|
|
480
480
|
}, 1e3), b = (t, n) => {
|
|
481
481
|
let r = C(a, (e) => {
|
|
482
482
|
e[t] = n;
|
|
@@ -487,7 +487,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
487
487
|
programId: i,
|
|
488
488
|
locale: f,
|
|
489
489
|
verificationId: u
|
|
490
|
-
}),
|
|
490
|
+
}), rt();
|
|
491
491
|
let n = C(a, () => {});
|
|
492
492
|
d.info("SingleSignOnComponent submitting cancel request"), clearTimeout(_), e.submitStep(t, n, e.verificationResponse);
|
|
493
493
|
}, S = (e, t) => {
|
|
@@ -497,30 +497,30 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
497
497
|
verificationId: u
|
|
498
498
|
}), b(e, t), w();
|
|
499
499
|
}, w = () => {
|
|
500
|
-
let e = t ===
|
|
501
|
-
|
|
500
|
+
let e = t === o.sso ? He(c.loginUrl) : c.loginUrl;
|
|
501
|
+
nt(window.open(e, "_blank")), tt().focus();
|
|
502
502
|
};
|
|
503
|
-
return a.isSingleSignOnActive && !p && (_ = y()), !a.countryChoice &&
|
|
503
|
+
return a.isSingleSignOnActive && !p && (_ = y()), !a.countryChoice && s && s.countryChoice && b("countryChoice", s.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
504
504
|
id: `sid-step-${m}`,
|
|
505
505
|
className: `sid-${m}-container sid-l-container`,
|
|
506
506
|
"data-testid": `sid-step-${m}`,
|
|
507
507
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
508
508
|
role: "main",
|
|
509
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(
|
|
509
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(kt, {
|
|
510
510
|
stepName: t,
|
|
511
511
|
messages: n,
|
|
512
512
|
logo: v,
|
|
513
513
|
cancelSingleSignOn: x,
|
|
514
514
|
cancelButtonType: r
|
|
515
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
515
|
+
}) : /* @__PURE__ */ (0, I.jsx)(At, {
|
|
516
516
|
verificationService: e,
|
|
517
517
|
messages: n,
|
|
518
518
|
updateViewModelAndOpenLoginTab: S,
|
|
519
519
|
dashedStepName: m
|
|
520
520
|
})
|
|
521
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
521
|
+
}), /* @__PURE__ */ (0, I.jsx)(Me, { verificationService: e })]
|
|
522
522
|
});
|
|
523
|
-
},
|
|
523
|
+
}, Nt = {
|
|
524
524
|
title: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
525
525
|
id: "step.sso.title",
|
|
526
526
|
defaultMessage: "Verify using your school credentials",
|
|
@@ -542,11 +542,11 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
542
542
|
id: "step.sso.subtitle2",
|
|
543
543
|
defaultMessage: "Can't sign in to your school?"
|
|
544
544
|
})
|
|
545
|
-
},
|
|
545
|
+
}, Pt = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(Mt, {
|
|
546
546
|
verificationService: e,
|
|
547
|
-
stepName:
|
|
548
|
-
messages:
|
|
549
|
-
}),
|
|
547
|
+
stepName: o.sso,
|
|
548
|
+
messages: Nt
|
|
549
|
+
}), Ft = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
550
550
|
className: "sid-header sid-l-horz-center",
|
|
551
551
|
"data-testid": "sid-review-pending",
|
|
552
552
|
children: [
|
|
@@ -554,7 +554,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
554
554
|
className: "sid-l-horz-center",
|
|
555
555
|
children: e
|
|
556
556
|
}),
|
|
557
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
557
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
558
558
|
align: "center",
|
|
559
559
|
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
560
560
|
id: "step.pending.titleReview",
|
|
@@ -586,7 +586,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
586
586
|
}),
|
|
587
587
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
588
588
|
]
|
|
589
|
-
}),
|
|
589
|
+
}), It = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
590
590
|
className: "sid-header sid-l-horz-center",
|
|
591
591
|
"data-testid": "sid-review-pending",
|
|
592
592
|
children: [
|
|
@@ -594,7 +594,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
594
594
|
className: "sid-l-horz-center",
|
|
595
595
|
children: e
|
|
596
596
|
}),
|
|
597
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
597
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
598
598
|
align: "center",
|
|
599
599
|
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
600
600
|
id: "step.pending.idCheckLoop.title",
|
|
@@ -618,7 +618,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
618
618
|
}),
|
|
619
619
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
620
620
|
]
|
|
621
|
-
}),
|
|
621
|
+
}), Lt = { [n.SIGNZY]: {
|
|
622
622
|
title: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
623
623
|
id: "step.thirdPartyLoop.signzy.title",
|
|
624
624
|
tagName: "h1",
|
|
@@ -636,18 +636,15 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
636
636
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
637
637
|
defaultMessage: "Upload Proof of Identity"
|
|
638
638
|
})
|
|
639
|
-
} },
|
|
640
|
-
|
|
641
|
-
className: "sid-step-third-party-loop-container sid-l-container",
|
|
642
|
-
"data-testid": "sid-step-third-party-loop-error",
|
|
643
|
-
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
639
|
+
} }, Rt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
640
|
+
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
644
641
|
className: "sid-header sid-l-horz-center",
|
|
645
642
|
children: [
|
|
646
643
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
647
644
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
648
645
|
children: e
|
|
649
646
|
}),
|
|
650
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
647
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
651
648
|
align: "center",
|
|
652
649
|
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
653
650
|
id: "error",
|
|
@@ -665,44 +662,56 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
665
662
|
})
|
|
666
663
|
})
|
|
667
664
|
]
|
|
668
|
-
})
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
665
|
+
});
|
|
666
|
+
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
667
|
+
id: "sid-step-third-party-loop",
|
|
668
|
+
className: "sid-step-third-party-loop-container sid-l-container",
|
|
669
|
+
"data-testid": "sid-step-third-party-loop-error",
|
|
670
|
+
children: t ? /* @__PURE__ */ (0, I.jsx)("div", {
|
|
671
|
+
role: "main",
|
|
672
|
+
children: n
|
|
673
|
+
}) : n
|
|
674
|
+
});
|
|
675
|
+
}, zt = ({ verificationService: e }) => {
|
|
676
|
+
let t = Lt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = et("hc-my-sheer-id-theme-builder");
|
|
677
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Mt, {
|
|
672
678
|
verificationService: e,
|
|
673
|
-
stepName:
|
|
679
|
+
stepName: o.thirdPartyLoop,
|
|
674
680
|
messages: t,
|
|
675
|
-
cancelButtonType:
|
|
676
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
681
|
+
cancelButtonType: jt.SECONDARY
|
|
682
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
683
|
+
isStepRoot: !0,
|
|
684
|
+
logo: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
685
|
+
verificationService: e,
|
|
686
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
687
|
+
className: "sid-error-logo sid-l-lead-image",
|
|
688
|
+
alt: "",
|
|
689
|
+
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
690
|
+
})
|
|
682
691
|
})
|
|
683
|
-
})
|
|
684
|
-
},
|
|
685
|
-
let i =
|
|
686
|
-
return i ? /* @__PURE__ */ (0, I.jsx)(
|
|
687
|
-
stepName:
|
|
692
|
+
});
|
|
693
|
+
}, Bt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
694
|
+
let i = Lt[r ? We("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
695
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(kt, {
|
|
696
|
+
stepName: o.thirdPartyLoop,
|
|
688
697
|
messages: i,
|
|
689
698
|
logo: e,
|
|
690
699
|
cancelSingleSignOn: n,
|
|
691
|
-
cancelButtonType:
|
|
692
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
693
|
-
},
|
|
694
|
-
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse,
|
|
700
|
+
cancelButtonType: jt.SECONDARY
|
|
701
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Rt, { logo: e });
|
|
702
|
+
}, Vt = 5e3, Ht = 2e4, Ut = 2e4, Wt = 2e3, Gt = ({ verificationService: e }) => {
|
|
703
|
+
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, s = Ue(), c = Ke() && Ke() === o.sso, l = Ke() && Ke() === o.thirdPartyLoop, u = Ke() && Ke() === o.idCheckLoop, f = et("hc-my-sheer-id-theme-builder"), p = () => i?.currentStep === o.sso, m = () => i?.currentStep === o.thirdPartyLoop, h = () => i?.currentStep === o.idCheckLoop, g = p() || m() || c || l, _ = h() || u, v = !g && !_, [y, b] = F.useState(() => g ? Wt : _ ? Ut : Vt);
|
|
695
704
|
F.useEffect(() => {
|
|
696
705
|
if (!v) return;
|
|
697
|
-
let e = setTimeout(() => b(
|
|
706
|
+
let e = setTimeout(() => b(Ut), Ht);
|
|
698
707
|
return () => clearTimeout(e);
|
|
699
708
|
}, [v]);
|
|
700
|
-
let x = !
|
|
709
|
+
let x = !s && Dt(() => {
|
|
701
710
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
702
711
|
}, y), S = (t) => {
|
|
703
712
|
let r = C(n, () => {});
|
|
704
|
-
d.info("StepSingleSignOnComponent submitting cancel request, step:", t), x(),
|
|
705
|
-
}, w = /* @__PURE__ */ (0, I.jsx)(
|
|
713
|
+
d.info("StepSingleSignOnComponent submitting cancel request, step:", t), x(), rt(), e.submitStep(t, r, i);
|
|
714
|
+
}, w = /* @__PURE__ */ (0, I.jsx)(it, {
|
|
706
715
|
verificationService: e,
|
|
707
716
|
fallbackLogo: !f && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
708
717
|
className: "sid-l-lead-image",
|
|
@@ -717,40 +726,40 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
717
726
|
role: "main",
|
|
718
727
|
children: (() => {
|
|
719
728
|
let e = p() || c, t = m() || l, n = h() || u;
|
|
720
|
-
return e ? /* @__PURE__ */ (0, I.jsx)(
|
|
721
|
-
stepName:
|
|
722
|
-
messages:
|
|
729
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(kt, {
|
|
730
|
+
stepName: o.sso,
|
|
731
|
+
messages: Nt,
|
|
723
732
|
logo: w,
|
|
724
|
-
cancelSingleSignOn: () => S(
|
|
725
|
-
}) : t ? /* @__PURE__ */ (0, I.jsx)(
|
|
733
|
+
cancelSingleSignOn: () => S(o.sso)
|
|
734
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(Bt, {
|
|
726
735
|
logo: w,
|
|
727
|
-
cancelThirdPartyLoop: () => S(
|
|
736
|
+
cancelThirdPartyLoop: () => S(o.thirdPartyLoop),
|
|
728
737
|
verificationLastResponse: i,
|
|
729
738
|
isMockingPreviousStepThirdPartyLoop: l
|
|
730
|
-
}) : n ? /* @__PURE__ */ (0, I.jsx)(
|
|
739
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(It, { logo: w }) : /* @__PURE__ */ (0, I.jsx)(Ft, { logo: w });
|
|
731
740
|
})()
|
|
732
|
-
}), _ ? /* @__PURE__ */ (0, I.jsx)(
|
|
741
|
+
}), _ ? /* @__PURE__ */ (0, I.jsx)(Et, {
|
|
733
742
|
verificationService: e,
|
|
734
743
|
isCentered: !0
|
|
735
|
-
}) : /* @__PURE__ */ (0, I.jsxs)(
|
|
744
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(Me, {
|
|
736
745
|
verificationService: e,
|
|
737
746
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
738
747
|
})]
|
|
739
748
|
});
|
|
740
|
-
},
|
|
741
|
-
let e =
|
|
749
|
+
}, Kt = () => {
|
|
750
|
+
let e = ke(), t = je(), n = Ne(), i = r(() => n.segment), a = F.useCallback(() => {
|
|
742
751
|
if (window.self !== window.top) {
|
|
743
752
|
let e = new URL(window.location.href);
|
|
744
753
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
745
754
|
return;
|
|
746
755
|
}
|
|
747
756
|
(async () => {
|
|
748
|
-
|
|
757
|
+
_e(e)(), await Ie(e)(t, i, void 0, void 0, !0);
|
|
749
758
|
})();
|
|
750
759
|
}, [
|
|
751
760
|
e,
|
|
752
761
|
t,
|
|
753
|
-
|
|
762
|
+
i
|
|
754
763
|
]);
|
|
755
764
|
return /* @__PURE__ */ (0, I.jsx)("button", {
|
|
756
765
|
type: "button",
|
|
@@ -759,13 +768,13 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
759
768
|
onKeyPress: a,
|
|
760
769
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "tryAgain" })
|
|
761
770
|
});
|
|
762
|
-
},
|
|
771
|
+
}, qt = {
|
|
763
772
|
NONE: "none",
|
|
764
773
|
RESET: "reset",
|
|
765
774
|
POSTMESSAGE: "postMessage",
|
|
766
775
|
REDIRECT: "redirect"
|
|
767
|
-
},
|
|
768
|
-
let e =
|
|
776
|
+
}, Jt = () => {
|
|
777
|
+
let e = Ne(), t = () => Ve({
|
|
769
778
|
action: "tryAgain",
|
|
770
779
|
verificationResponse: e
|
|
771
780
|
});
|
|
@@ -776,65 +785,65 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
776
785
|
onKeyPress: t,
|
|
777
786
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "tryAgain" })
|
|
778
787
|
});
|
|
779
|
-
},
|
|
788
|
+
}, Yt = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(be, {
|
|
780
789
|
target: t,
|
|
781
790
|
href: e.toString(),
|
|
782
791
|
className: "sid-btn sid-btn--dark",
|
|
783
792
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "seeOtherOffers" })
|
|
784
|
-
}),
|
|
785
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
786
|
-
},
|
|
793
|
+
}), Xt = (e) => {
|
|
794
|
+
if (!(typeof e == "object" && "type" in e && Object.values(qt).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
795
|
+
}, Zt = () => {
|
|
787
796
|
let e = x("tryAgainAction");
|
|
788
797
|
try {
|
|
789
|
-
switch (
|
|
790
|
-
case
|
|
791
|
-
case
|
|
792
|
-
case
|
|
798
|
+
switch (Xt(e), e.type) {
|
|
799
|
+
case qt.NONE: return null;
|
|
800
|
+
case qt.POSTMESSAGE: return window.self === window.top ? (d.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)(Jt, {});
|
|
801
|
+
case qt.REDIRECT: return /* @__PURE__ */ (0, I.jsx)(Yt, {
|
|
793
802
|
redirectUrl: e.url,
|
|
794
803
|
target: e.target
|
|
795
804
|
});
|
|
796
|
-
case
|
|
805
|
+
case qt.RESET: return /* @__PURE__ */ (0, I.jsx)(Kt, {});
|
|
797
806
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
798
807
|
}
|
|
799
808
|
} catch (e) {
|
|
800
|
-
return d.error(e.message), /* @__PURE__ */ (0, I.jsx)(
|
|
809
|
+
return d.error(e.message), /* @__PURE__ */ (0, I.jsx)(Kt, {});
|
|
801
810
|
}
|
|
802
|
-
},
|
|
811
|
+
}, Qt = [
|
|
803
812
|
"docReviewLimitExceeded",
|
|
804
813
|
"verificationLimitExceeded",
|
|
805
814
|
"fraudRulesReject"
|
|
806
|
-
],
|
|
815
|
+
], $t = ({ verificationService: e, errorIds: t }) => {
|
|
807
816
|
let n = t[0];
|
|
808
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
817
|
+
return /* @__PURE__ */ (0, I.jsx)(ot, {
|
|
809
818
|
align: "center",
|
|
810
819
|
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(P, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
811
820
|
});
|
|
812
|
-
},
|
|
821
|
+
}, en = ({ errorIds: e, errorDetailId: t }) => {
|
|
813
822
|
let n = /* @__PURE__ */ new Map();
|
|
814
823
|
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, I.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(P, { id: t }, t)) }) : null;
|
|
815
|
-
},
|
|
824
|
+
}, tn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
816
825
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
817
|
-
let t =
|
|
818
|
-
return t ? /* @__PURE__ */ (0, I.jsx)(
|
|
826
|
+
let t = r(() => e.programTheme.config.brandInfo.faqUrl);
|
|
827
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(be, {
|
|
819
828
|
href: t,
|
|
820
|
-
onClick: () => f(
|
|
829
|
+
onClick: () => f(o.error, t),
|
|
821
830
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
822
831
|
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
823
832
|
}) : null;
|
|
824
833
|
}
|
|
825
834
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
826
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return x("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(
|
|
827
|
-
let
|
|
828
|
-
return e.messages?.[`step.error.errorId.${
|
|
835
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return x("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(Zt, {});
|
|
836
|
+
let i = t[0];
|
|
837
|
+
return e.messages?.[`step.error.errorId.${i}.buttonText`] && n ? /* @__PURE__ */ (0, I.jsx)(be, {
|
|
829
838
|
href: n,
|
|
830
|
-
onClick: () => f(
|
|
839
|
+
onClick: () => f(o.error, n),
|
|
831
840
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
832
|
-
children: /* @__PURE__ */ (0, I.jsx)(P, { id: `step.error.errorId.${
|
|
833
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
834
|
-
},
|
|
835
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
841
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: `step.error.errorId.${i}.buttonText` })
|
|
842
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Zt, {});
|
|
843
|
+
}, nn = ({ verificationService: e, errorId: t }) => {
|
|
844
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = et("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
836
845
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
837
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
846
|
+
let s = Array.from(o), c = s.some((e) => Qt.includes(e));
|
|
838
847
|
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
839
848
|
id: "sid-step-error",
|
|
840
849
|
className: "sid-error-container sid-l-container",
|
|
@@ -844,7 +853,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
844
853
|
children: [
|
|
845
854
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
846
855
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
847
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
856
|
+
children: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
848
857
|
verificationService: e,
|
|
849
858
|
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
850
859
|
className: "sid-error-logo sid-l-lead-image",
|
|
@@ -853,7 +862,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
853
862
|
})
|
|
854
863
|
})
|
|
855
864
|
}),
|
|
856
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
865
|
+
/* @__PURE__ */ (0, I.jsx)($t, {
|
|
857
866
|
verificationService: e,
|
|
858
867
|
errorIds: s
|
|
859
868
|
}),
|
|
@@ -862,7 +871,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
862
871
|
children: [
|
|
863
872
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
864
873
|
className: "sid-error-msg sid-l-horz-center",
|
|
865
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
874
|
+
children: /* @__PURE__ */ (0, I.jsx)(en, {
|
|
866
875
|
errorIds: s,
|
|
867
876
|
errorDetailId: i
|
|
868
877
|
})
|
|
@@ -873,7 +882,7 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
873
882
|
}),
|
|
874
883
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
875
884
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
876
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
885
|
+
children: /* @__PURE__ */ (0, I.jsx)(tn, {
|
|
877
886
|
verificationService: e,
|
|
878
887
|
errorIds: s,
|
|
879
888
|
redirectUrl: r
|
|
@@ -884,48 +893,48 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
884
893
|
]
|
|
885
894
|
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
886
895
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
887
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
896
|
+
children: /* @__PURE__ */ (0, I.jsx)(Et, {
|
|
888
897
|
verificationService: e,
|
|
889
898
|
isCentered: !0,
|
|
890
899
|
hideFaqLink: c
|
|
891
900
|
})
|
|
892
901
|
})]
|
|
893
902
|
});
|
|
894
|
-
},
|
|
895
|
-
StepPendingComponent:
|
|
896
|
-
StepErrorComponent:
|
|
897
|
-
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
898
|
-
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-
|
|
899
|
-
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
900
|
-
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
901
|
-
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepActiveMilitaryPersonalInfoComponent-
|
|
902
|
-
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryStatusComponent-
|
|
903
|
-
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepInactiveMilitaryPersonalInfoComponent-
|
|
904
|
-
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
905
|
-
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
906
|
-
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
907
|
-
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
908
|
-
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
909
|
-
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
910
|
-
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
911
|
-
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
912
|
-
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
913
|
-
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
914
|
-
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-
|
|
915
|
-
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-
|
|
916
|
-
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-
|
|
917
|
-
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-
|
|
918
|
-
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
919
|
-
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-
|
|
920
|
-
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
903
|
+
}, rn = {
|
|
904
|
+
StepPendingComponent: Gt,
|
|
905
|
+
StepErrorComponent: nn,
|
|
906
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-BK4Vzxug.js")),
|
|
907
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-BfutBYKU.js")),
|
|
908
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-CBZWwvsC.js")),
|
|
909
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-CBZWwvsC.js")),
|
|
910
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepActiveMilitaryPersonalInfoComponent-EQ6bJz4Q.js")),
|
|
911
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryStatusComponent-kyUWKjnU.js")),
|
|
912
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepInactiveMilitaryPersonalInfoComponent-E7wXl5fr.js")),
|
|
913
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-CJolYOjr.js")),
|
|
914
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-B7E-tWiE.js")),
|
|
915
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-Bu--Ctxo.js")),
|
|
916
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-C1LcXbVS.js")),
|
|
917
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-fcsS3HaW.js")),
|
|
918
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-QwQxcr6G.js")),
|
|
919
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-7qvdOCxP.js")),
|
|
920
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-DM27_Fv9.js")),
|
|
921
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-CXFjH431.js")),
|
|
922
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-CqtZioX5.js")),
|
|
923
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-CoWUFyb8.js")),
|
|
924
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-CxMWqwg6.js")),
|
|
925
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-DgiXMCz5.js")),
|
|
926
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-C7lV28N9.js").then((e) => e.n)),
|
|
927
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-B4uXChsu.js")),
|
|
928
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-CsN3smWP.js")),
|
|
929
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-CNYkj1us.js")),
|
|
921
930
|
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-BGHCbduX.js")),
|
|
922
|
-
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-
|
|
923
|
-
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
924
|
-
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-
|
|
925
|
-
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
926
|
-
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
931
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess-CpGC44L8.js")),
|
|
932
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-CCm_8ZHt.js")),
|
|
933
|
+
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-DytIfFlB.js")),
|
|
934
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-CgDnf5rW.js")),
|
|
935
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-CrmZROYx.js")),
|
|
927
936
|
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-CbFTIlwP.js"))
|
|
928
|
-
}, z = (e) => (d.info("getComponent", e),
|
|
937
|
+
}, z = (e) => (d.info("getComponent", e), Ct(e) || rn[e]), an = () => /* @__PURE__ */ (0, I.jsx)(pt, {}), on = ({ stepToLoad: e, verificationService: t }) => {
|
|
929
938
|
d.info(`LoadStepComponent: rendering step: ${e}`);
|
|
930
939
|
let n;
|
|
931
940
|
switch ((0, F.useEffect)(() => {
|
|
@@ -1050,37 +1059,37 @@ var st = (e, t = { partial: !0 }) => {
|
|
|
1050
1059
|
case "cancelEmailLoop":
|
|
1051
1060
|
case "cancelSocialSecurityNumber":
|
|
1052
1061
|
case "docReviewLimitExceeded":
|
|
1053
|
-
case "emailLoopCollectOrganizationEmail": return d.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(
|
|
1062
|
+
case "emailLoopCollectOrganizationEmail": return d.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(nn, {
|
|
1054
1063
|
verificationService: t,
|
|
1055
1064
|
errorId: "invalidStep"
|
|
1056
1065
|
});
|
|
1057
|
-
default: return d.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(
|
|
1066
|
+
default: return d.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(nn, {
|
|
1058
1067
|
verificationService: t,
|
|
1059
1068
|
errorId: "invalidStep"
|
|
1060
1069
|
});
|
|
1061
1070
|
}
|
|
1062
1071
|
return /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
1063
|
-
fallback:
|
|
1072
|
+
fallback: an(),
|
|
1064
1073
|
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1065
1074
|
});
|
|
1066
|
-
},
|
|
1075
|
+
}, sn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1067
1076
|
dangerouslySetInnerHTML: e,
|
|
1068
1077
|
...t
|
|
1069
|
-
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }),
|
|
1078
|
+
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }), cn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1070
1079
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1071
1080
|
role: "note",
|
|
1072
|
-
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(
|
|
1081
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(be, {
|
|
1073
1082
|
className: "sid-test-mode-flag__link",
|
|
1074
1083
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1075
1084
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1076
1085
|
children: "(learn more)"
|
|
1077
1086
|
})]
|
|
1078
|
-
}) : null,
|
|
1087
|
+
}) : null, ln = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1079
1088
|
className: "sid-header",
|
|
1080
1089
|
children: [
|
|
1081
1090
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1082
1091
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1083
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
1092
|
+
children: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
1084
1093
|
verificationService: e,
|
|
1085
1094
|
fallbackLogo: r
|
|
1086
1095
|
})
|
|
@@ -1100,30 +1109,30 @@ function B(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1100
1109
|
}
|
|
1101
1110
|
//#endregion
|
|
1102
1111
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1103
|
-
function
|
|
1112
|
+
function un(e, t) {
|
|
1104
1113
|
if (typeof e == "function") return e(t);
|
|
1105
1114
|
e != null && (e.current = t);
|
|
1106
1115
|
}
|
|
1107
|
-
function
|
|
1116
|
+
function dn(...e) {
|
|
1108
1117
|
return (t) => {
|
|
1109
1118
|
let n = !1, r = e.map((e) => {
|
|
1110
|
-
let r =
|
|
1119
|
+
let r = un(e, t);
|
|
1111
1120
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1112
1121
|
});
|
|
1113
1122
|
if (n) return () => {
|
|
1114
1123
|
for (let t = 0; t < r.length; t++) {
|
|
1115
1124
|
let n = r[t];
|
|
1116
|
-
typeof n == "function" ? n() :
|
|
1125
|
+
typeof n == "function" ? n() : un(e[t], null);
|
|
1117
1126
|
}
|
|
1118
1127
|
};
|
|
1119
1128
|
};
|
|
1120
1129
|
}
|
|
1121
1130
|
function V(...e) {
|
|
1122
|
-
return F.useCallback(
|
|
1131
|
+
return F.useCallback(dn(...e), e);
|
|
1123
1132
|
}
|
|
1124
1133
|
//#endregion
|
|
1125
1134
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1126
|
-
function
|
|
1135
|
+
function fn(e, t = []) {
|
|
1127
1136
|
let n = [];
|
|
1128
1137
|
function r(t, r) {
|
|
1129
1138
|
let i = F.createContext(r), a = n.length;
|
|
@@ -1154,9 +1163,9 @@ function dn(e, t = []) {
|
|
|
1154
1163
|
} }), [n, r]);
|
|
1155
1164
|
};
|
|
1156
1165
|
};
|
|
1157
|
-
return i.scopeName = e, [r,
|
|
1166
|
+
return i.scopeName = e, [r, pn(i, ...t)];
|
|
1158
1167
|
}
|
|
1159
|
-
function
|
|
1168
|
+
function pn(...e) {
|
|
1160
1169
|
let t = e[0];
|
|
1161
1170
|
if (e.length === 1) return t;
|
|
1162
1171
|
let n = () => {
|
|
@@ -1180,9 +1189,9 @@ function fn(...e) {
|
|
|
1180
1189
|
//#endregion
|
|
1181
1190
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1182
1191
|
// @__NO_SIDE_EFFECTS__
|
|
1183
|
-
function
|
|
1184
|
-
let t = /* @__PURE__ */
|
|
1185
|
-
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(
|
|
1192
|
+
function mn(e) {
|
|
1193
|
+
let t = /* @__PURE__ */ hn(e), n = F.forwardRef((e, n) => {
|
|
1194
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(_n);
|
|
1186
1195
|
if (o) {
|
|
1187
1196
|
let e = o.props.children, r = a.map((t) => t === o ? F.Children.count(e) > 1 ? F.Children.only(null) : F.isValidElement(e) ? e.props.children : null : t);
|
|
1188
1197
|
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
@@ -1200,22 +1209,22 @@ function pn(e) {
|
|
|
1200
1209
|
return n.displayName = `${e}.Slot`, n;
|
|
1201
1210
|
}
|
|
1202
1211
|
// @__NO_SIDE_EFFECTS__
|
|
1203
|
-
function
|
|
1212
|
+
function hn(e) {
|
|
1204
1213
|
let t = F.forwardRef((e, t) => {
|
|
1205
1214
|
let { children: n, ...r } = e;
|
|
1206
1215
|
if (F.isValidElement(n)) {
|
|
1207
|
-
let e =
|
|
1208
|
-
return n.type !== F.Fragment && (i.ref = t ?
|
|
1216
|
+
let e = yn(n), i = vn(r, n.props);
|
|
1217
|
+
return n.type !== F.Fragment && (i.ref = t ? dn(t, e) : e), F.cloneElement(n, i);
|
|
1209
1218
|
}
|
|
1210
1219
|
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1211
1220
|
});
|
|
1212
1221
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1213
1222
|
}
|
|
1214
|
-
var
|
|
1215
|
-
function
|
|
1216
|
-
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1223
|
+
var gn = Symbol("radix.slottable");
|
|
1224
|
+
function _n(e) {
|
|
1225
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === gn;
|
|
1217
1226
|
}
|
|
1218
|
-
function
|
|
1227
|
+
function vn(e, t) {
|
|
1219
1228
|
let n = { ...t };
|
|
1220
1229
|
for (let r in t) {
|
|
1221
1230
|
let i = e[r], a = t[r];
|
|
@@ -1232,7 +1241,7 @@ function _n(e, t) {
|
|
|
1232
1241
|
...n
|
|
1233
1242
|
};
|
|
1234
1243
|
}
|
|
1235
|
-
function
|
|
1244
|
+
function yn(e) {
|
|
1236
1245
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1237
1246
|
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);
|
|
1238
1247
|
}
|
|
@@ -1257,7 +1266,7 @@ var H = [
|
|
|
1257
1266
|
"svg",
|
|
1258
1267
|
"ul"
|
|
1259
1268
|
].reduce((e, t) => {
|
|
1260
|
-
let n = /* @__PURE__ */
|
|
1269
|
+
let n = /* @__PURE__ */ mn(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1261
1270
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1262
1271
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1263
1272
|
...a,
|
|
@@ -1269,12 +1278,12 @@ var H = [
|
|
|
1269
1278
|
[t]: r
|
|
1270
1279
|
};
|
|
1271
1280
|
}, {});
|
|
1272
|
-
function
|
|
1273
|
-
e &&
|
|
1281
|
+
function bn(e, t) {
|
|
1282
|
+
e && ut.flushSync(() => e.dispatchEvent(t));
|
|
1274
1283
|
}
|
|
1275
1284
|
//#endregion
|
|
1276
1285
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1277
|
-
function
|
|
1286
|
+
function xn(e) {
|
|
1278
1287
|
let t = F.useRef(e);
|
|
1279
1288
|
return F.useEffect(() => {
|
|
1280
1289
|
t.current = e;
|
|
@@ -1282,8 +1291,8 @@ function bn(e) {
|
|
|
1282
1291
|
}
|
|
1283
1292
|
//#endregion
|
|
1284
1293
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1285
|
-
function
|
|
1286
|
-
let n =
|
|
1294
|
+
function Sn(e, t = globalThis?.document) {
|
|
1295
|
+
let n = xn(e);
|
|
1287
1296
|
F.useEffect(() => {
|
|
1288
1297
|
let e = (e) => {
|
|
1289
1298
|
e.key === "Escape" && n(e);
|
|
@@ -1293,23 +1302,23 @@ function xn(e, t = globalThis?.document) {
|
|
|
1293
1302
|
}
|
|
1294
1303
|
//#endregion
|
|
1295
1304
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1296
|
-
var
|
|
1305
|
+
var Cn = "DismissableLayer", wn = "dismissableLayer.update", Tn = "dismissableLayer.pointerDownOutside", En = "dismissableLayer.focusOutside", Dn, On = F.createContext({
|
|
1297
1306
|
layers: /* @__PURE__ */ new Set(),
|
|
1298
1307
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1299
1308
|
branches: /* @__PURE__ */ new Set()
|
|
1300
|
-
}),
|
|
1301
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(
|
|
1309
|
+
}), kn = F.forwardRef((e, t) => {
|
|
1310
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(On), [u, d] = F.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = F.useState({}), m = V(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 = Mn((e) => {
|
|
1302
1311
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1303
1312
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1304
|
-
}, f), S =
|
|
1313
|
+
}, f), S = Nn((e) => {
|
|
1305
1314
|
let t = e.target;
|
|
1306
1315
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1307
1316
|
}, f);
|
|
1308
|
-
return
|
|
1317
|
+
return Sn((e) => {
|
|
1309
1318
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1310
1319
|
}, f), F.useEffect(() => {
|
|
1311
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1312
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1320
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Dn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Pn(), () => {
|
|
1321
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Dn);
|
|
1313
1322
|
};
|
|
1314
1323
|
}, [
|
|
1315
1324
|
u,
|
|
@@ -1317,10 +1326,10 @@ var Sn = "DismissableLayer", Cn = "dismissableLayer.update", wn = "dismissableLa
|
|
|
1317
1326
|
n,
|
|
1318
1327
|
l
|
|
1319
1328
|
]), F.useEffect(() => () => {
|
|
1320
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1329
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Pn());
|
|
1321
1330
|
}, [u, l]), F.useEffect(() => {
|
|
1322
1331
|
let e = () => p({});
|
|
1323
|
-
return document.addEventListener(
|
|
1332
|
+
return document.addEventListener(wn, e), () => document.removeEventListener(wn, e);
|
|
1324
1333
|
}, []), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1325
1334
|
...c,
|
|
1326
1335
|
ref: m,
|
|
@@ -1333,9 +1342,9 @@ var Sn = "DismissableLayer", Cn = "dismissableLayer.update", wn = "dismissableLa
|
|
|
1333
1342
|
onPointerDownCapture: B(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1334
1343
|
});
|
|
1335
1344
|
});
|
|
1336
|
-
|
|
1337
|
-
var
|
|
1338
|
-
let n = F.useContext(
|
|
1345
|
+
kn.displayName = Cn;
|
|
1346
|
+
var An = "DismissableLayerBranch", jn = F.forwardRef((e, t) => {
|
|
1347
|
+
let n = F.useContext(On), r = F.useRef(null), i = V(t, r);
|
|
1339
1348
|
return F.useEffect(() => {
|
|
1340
1349
|
let e = r.current;
|
|
1341
1350
|
if (e) return n.branches.add(e), () => {
|
|
@@ -1346,14 +1355,14 @@ var kn = "DismissableLayerBranch", An = F.forwardRef((e, t) => {
|
|
|
1346
1355
|
ref: i
|
|
1347
1356
|
});
|
|
1348
1357
|
});
|
|
1349
|
-
|
|
1350
|
-
function
|
|
1351
|
-
let n =
|
|
1358
|
+
jn.displayName = An;
|
|
1359
|
+
function Mn(e, t = globalThis?.document) {
|
|
1360
|
+
let n = xn(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1352
1361
|
return F.useEffect(() => {
|
|
1353
1362
|
let e = (e) => {
|
|
1354
1363
|
if (e.target && !r.current) {
|
|
1355
1364
|
let r = function() {
|
|
1356
|
-
|
|
1365
|
+
Fn(Tn, n, a, { discrete: !0 });
|
|
1357
1366
|
}, a = { originalEvent: e };
|
|
1358
1367
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1359
1368
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1366,11 +1375,11 @@ function jn(e, t = globalThis?.document) {
|
|
|
1366
1375
|
};
|
|
1367
1376
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1368
1377
|
}
|
|
1369
|
-
function
|
|
1370
|
-
let n =
|
|
1378
|
+
function Nn(e, t = globalThis?.document) {
|
|
1379
|
+
let n = xn(e), r = F.useRef(!1);
|
|
1371
1380
|
return F.useEffect(() => {
|
|
1372
1381
|
let e = (e) => {
|
|
1373
|
-
e.target && !r.current &&
|
|
1382
|
+
e.target && !r.current && Fn(En, n, { originalEvent: e }, { discrete: !1 });
|
|
1374
1383
|
};
|
|
1375
1384
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1376
1385
|
}, [t, n]), {
|
|
@@ -1378,40 +1387,40 @@ function Mn(e, t = globalThis?.document) {
|
|
|
1378
1387
|
onBlurCapture: () => r.current = !1
|
|
1379
1388
|
};
|
|
1380
1389
|
}
|
|
1381
|
-
function
|
|
1382
|
-
let e = new CustomEvent(
|
|
1390
|
+
function Pn() {
|
|
1391
|
+
let e = new CustomEvent(wn);
|
|
1383
1392
|
document.dispatchEvent(e);
|
|
1384
1393
|
}
|
|
1385
|
-
function
|
|
1394
|
+
function Fn(e, t, n, { discrete: r }) {
|
|
1386
1395
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1387
1396
|
bubbles: !1,
|
|
1388
1397
|
cancelable: !0,
|
|
1389
1398
|
detail: n
|
|
1390
1399
|
});
|
|
1391
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1400
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? bn(i, a) : i.dispatchEvent(a);
|
|
1392
1401
|
}
|
|
1393
1402
|
//#endregion
|
|
1394
1403
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1395
|
-
var
|
|
1396
|
-
function
|
|
1404
|
+
var In = 0;
|
|
1405
|
+
function Ln() {
|
|
1397
1406
|
F.useEffect(() => {
|
|
1398
1407
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1399
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1400
|
-
|
|
1408
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Rn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Rn()), In++, () => {
|
|
1409
|
+
In === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), In--;
|
|
1401
1410
|
};
|
|
1402
1411
|
}, []);
|
|
1403
1412
|
}
|
|
1404
|
-
function
|
|
1413
|
+
function Rn() {
|
|
1405
1414
|
let e = document.createElement("span");
|
|
1406
1415
|
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;
|
|
1407
1416
|
}
|
|
1408
1417
|
//#endregion
|
|
1409
1418
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1410
|
-
var
|
|
1419
|
+
var zn = "focusScope.autoFocusOnMount", Bn = "focusScope.autoFocusOnUnmount", Vn = {
|
|
1411
1420
|
bubbles: !1,
|
|
1412
1421
|
cancelable: !0
|
|
1413
|
-
},
|
|
1414
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l =
|
|
1422
|
+
}, Hn = "FocusScope", Un = F.forwardRef((e, t) => {
|
|
1423
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = xn(i), u = xn(a), d = F.useRef(null), f = V(t, (e) => c(e)), p = F.useRef({
|
|
1415
1424
|
paused: !1,
|
|
1416
1425
|
pause() {
|
|
1417
1426
|
this.paused = !0;
|
|
@@ -1425,13 +1434,13 @@ var Rn = "focusScope.autoFocusOnMount", zn = "focusScope.autoFocusOnUnmount", Bn
|
|
|
1425
1434
|
let e = function(e) {
|
|
1426
1435
|
if (p.paused || !s) return;
|
|
1427
1436
|
let t = e.target;
|
|
1428
|
-
s.contains(t) ? d.current = t :
|
|
1437
|
+
s.contains(t) ? d.current = t : Xn(d.current, { select: !0 });
|
|
1429
1438
|
}, t = function(e) {
|
|
1430
1439
|
if (p.paused || !s) return;
|
|
1431
1440
|
let t = e.relatedTarget;
|
|
1432
|
-
t !== null && (s.contains(t) ||
|
|
1441
|
+
t !== null && (s.contains(t) || Xn(d.current, { select: !0 }));
|
|
1433
1442
|
}, n = function(e) {
|
|
1434
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1443
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && Xn(s);
|
|
1435
1444
|
};
|
|
1436
1445
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1437
1446
|
let r = new MutationObserver(n);
|
|
@@ -1448,16 +1457,16 @@ var Rn = "focusScope.autoFocusOnMount", zn = "focusScope.autoFocusOnUnmount", Bn
|
|
|
1448
1457
|
p.paused
|
|
1449
1458
|
]), F.useEffect(() => {
|
|
1450
1459
|
if (s) {
|
|
1451
|
-
|
|
1460
|
+
Zn.add(p);
|
|
1452
1461
|
let e = document.activeElement;
|
|
1453
1462
|
if (!s.contains(e)) {
|
|
1454
|
-
let t = new CustomEvent(
|
|
1455
|
-
s.addEventListener(
|
|
1463
|
+
let t = new CustomEvent(zn, Vn);
|
|
1464
|
+
s.addEventListener(zn, l), s.dispatchEvent(t), t.defaultPrevented || (Wn(er(Kn(s)), { select: !0 }), document.activeElement === e && Xn(s));
|
|
1456
1465
|
}
|
|
1457
1466
|
return () => {
|
|
1458
|
-
s.removeEventListener(
|
|
1459
|
-
let t = new CustomEvent(
|
|
1460
|
-
s.addEventListener(
|
|
1467
|
+
s.removeEventListener(zn, l), setTimeout(() => {
|
|
1468
|
+
let t = new CustomEvent(Bn, Vn);
|
|
1469
|
+
s.addEventListener(Bn, u), s.dispatchEvent(t), t.defaultPrevented || Xn(e ?? document.body, { select: !0 }), s.removeEventListener(Bn, u), Zn.remove(p);
|
|
1461
1470
|
}, 0);
|
|
1462
1471
|
};
|
|
1463
1472
|
}
|
|
@@ -1471,8 +1480,8 @@ var Rn = "focusScope.autoFocusOnMount", zn = "focusScope.autoFocusOnUnmount", Bn
|
|
|
1471
1480
|
if (!n && !r || p.paused) return;
|
|
1472
1481
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1473
1482
|
if (t && i) {
|
|
1474
|
-
let t = e.currentTarget, [r, a] =
|
|
1475
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1483
|
+
let t = e.currentTarget, [r, a] = Gn(t);
|
|
1484
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && Xn(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && Xn(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1476
1485
|
}
|
|
1477
1486
|
}, [
|
|
1478
1487
|
n,
|
|
@@ -1486,16 +1495,16 @@ var Rn = "focusScope.autoFocusOnMount", zn = "focusScope.autoFocusOnUnmount", Bn
|
|
|
1486
1495
|
onKeyDown: m
|
|
1487
1496
|
});
|
|
1488
1497
|
});
|
|
1489
|
-
|
|
1490
|
-
function
|
|
1498
|
+
Un.displayName = Hn;
|
|
1499
|
+
function Wn(e, { select: t = !1 } = {}) {
|
|
1491
1500
|
let n = document.activeElement;
|
|
1492
|
-
for (let r of e) if (
|
|
1493
|
-
}
|
|
1494
|
-
function Wn(e) {
|
|
1495
|
-
let t = Gn(e);
|
|
1496
|
-
return [Kn(t, e), Kn(t.reverse(), e)];
|
|
1501
|
+
for (let r of e) if (Xn(r, { select: t }), document.activeElement !== n) return;
|
|
1497
1502
|
}
|
|
1498
1503
|
function Gn(e) {
|
|
1504
|
+
let t = Kn(e);
|
|
1505
|
+
return [qn(t, e), qn(t.reverse(), e)];
|
|
1506
|
+
}
|
|
1507
|
+
function Kn(e) {
|
|
1499
1508
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1500
1509
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1501
1510
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1503,10 +1512,10 @@ function Gn(e) {
|
|
|
1503
1512
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1504
1513
|
return t;
|
|
1505
1514
|
}
|
|
1506
|
-
function
|
|
1507
|
-
for (let n of e) if (!
|
|
1515
|
+
function qn(e, t) {
|
|
1516
|
+
for (let n of e) if (!Jn(n, { upTo: t })) return n;
|
|
1508
1517
|
}
|
|
1509
|
-
function
|
|
1518
|
+
function Jn(e, { upTo: t }) {
|
|
1510
1519
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1511
1520
|
for (; e;) {
|
|
1512
1521
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1515,62 +1524,62 @@ function qn(e, { upTo: t }) {
|
|
|
1515
1524
|
}
|
|
1516
1525
|
return !1;
|
|
1517
1526
|
}
|
|
1518
|
-
function
|
|
1527
|
+
function Yn(e) {
|
|
1519
1528
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1520
1529
|
}
|
|
1521
|
-
function
|
|
1530
|
+
function Xn(e, { select: t = !1 } = {}) {
|
|
1522
1531
|
if (e && e.focus) {
|
|
1523
1532
|
let n = document.activeElement;
|
|
1524
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1533
|
+
e.focus({ preventScroll: !0 }), e !== n && Yn(e) && t && e.select();
|
|
1525
1534
|
}
|
|
1526
1535
|
}
|
|
1527
|
-
var
|
|
1528
|
-
function
|
|
1536
|
+
var Zn = Qn();
|
|
1537
|
+
function Qn() {
|
|
1529
1538
|
let e = [];
|
|
1530
1539
|
return {
|
|
1531
1540
|
add(t) {
|
|
1532
1541
|
let n = e[0];
|
|
1533
|
-
t !== n && n?.pause(), e =
|
|
1542
|
+
t !== n && n?.pause(), e = $n(e, t), e.unshift(t);
|
|
1534
1543
|
},
|
|
1535
1544
|
remove(t) {
|
|
1536
|
-
e =
|
|
1545
|
+
e = $n(e, t), e[0]?.resume();
|
|
1537
1546
|
}
|
|
1538
1547
|
};
|
|
1539
1548
|
}
|
|
1540
|
-
function
|
|
1549
|
+
function $n(e, t) {
|
|
1541
1550
|
let n = [...e], r = n.indexOf(t);
|
|
1542
1551
|
return r !== -1 && n.splice(r, 1), n;
|
|
1543
1552
|
}
|
|
1544
|
-
function
|
|
1553
|
+
function er(e) {
|
|
1545
1554
|
return e.filter((e) => e.tagName !== "A");
|
|
1546
1555
|
}
|
|
1547
1556
|
//#endregion
|
|
1548
1557
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1549
|
-
var
|
|
1550
|
-
function
|
|
1551
|
-
let [t, n] = F.useState(
|
|
1552
|
-
return
|
|
1553
|
-
e || n((e) => e ?? String(
|
|
1558
|
+
var tr = globalThis?.document ? F.useLayoutEffect : () => {}, nr = F.useId || (() => void 0), rr = 0;
|
|
1559
|
+
function ir(e) {
|
|
1560
|
+
let [t, n] = F.useState(nr());
|
|
1561
|
+
return tr(() => {
|
|
1562
|
+
e || n((e) => e ?? String(rr++));
|
|
1554
1563
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1555
1564
|
}
|
|
1556
1565
|
//#endregion
|
|
1557
1566
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1558
|
-
var
|
|
1567
|
+
var ar = [
|
|
1559
1568
|
"top",
|
|
1560
1569
|
"right",
|
|
1561
1570
|
"bottom",
|
|
1562
1571
|
"left"
|
|
1563
|
-
],
|
|
1572
|
+
], or = Math.min, U = Math.max, sr = Math.round, cr = Math.floor, W = (e) => ({
|
|
1564
1573
|
x: e,
|
|
1565
1574
|
y: e
|
|
1566
|
-
}),
|
|
1575
|
+
}), lr = {
|
|
1567
1576
|
left: "right",
|
|
1568
1577
|
right: "left",
|
|
1569
1578
|
bottom: "top",
|
|
1570
1579
|
top: "bottom"
|
|
1571
1580
|
};
|
|
1572
|
-
function
|
|
1573
|
-
return U(e,
|
|
1581
|
+
function ur(e, t, n) {
|
|
1582
|
+
return U(e, or(t, n));
|
|
1574
1583
|
}
|
|
1575
1584
|
function G(e, t) {
|
|
1576
1585
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1578,57 +1587,57 @@ function G(e, t) {
|
|
|
1578
1587
|
function K(e) {
|
|
1579
1588
|
return e.split("-")[0];
|
|
1580
1589
|
}
|
|
1581
|
-
function
|
|
1590
|
+
function dr(e) {
|
|
1582
1591
|
return e.split("-")[1];
|
|
1583
1592
|
}
|
|
1584
|
-
function
|
|
1593
|
+
function fr(e) {
|
|
1585
1594
|
return e === "x" ? "y" : "x";
|
|
1586
1595
|
}
|
|
1587
|
-
function
|
|
1596
|
+
function pr(e) {
|
|
1588
1597
|
return e === "y" ? "height" : "width";
|
|
1589
1598
|
}
|
|
1590
1599
|
function q(e) {
|
|
1591
1600
|
let t = e[0];
|
|
1592
1601
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1593
1602
|
}
|
|
1594
|
-
function
|
|
1595
|
-
return
|
|
1603
|
+
function mr(e) {
|
|
1604
|
+
return fr(q(e));
|
|
1596
1605
|
}
|
|
1597
|
-
function
|
|
1606
|
+
function hr(e, t, n) {
|
|
1598
1607
|
n === void 0 && (n = !1);
|
|
1599
|
-
let r =
|
|
1600
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1608
|
+
let r = dr(e), i = mr(e), a = pr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1609
|
+
return t.reference[a] > t.floating[a] && (o = wr(o)), [o, wr(o)];
|
|
1601
1610
|
}
|
|
1602
|
-
function
|
|
1603
|
-
let t =
|
|
1611
|
+
function gr(e) {
|
|
1612
|
+
let t = wr(e);
|
|
1604
1613
|
return [
|
|
1605
|
-
|
|
1614
|
+
_r(e),
|
|
1606
1615
|
t,
|
|
1607
|
-
|
|
1616
|
+
_r(t)
|
|
1608
1617
|
];
|
|
1609
1618
|
}
|
|
1610
|
-
function
|
|
1619
|
+
function _r(e) {
|
|
1611
1620
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1612
1621
|
}
|
|
1613
|
-
var
|
|
1614
|
-
function
|
|
1622
|
+
var vr = ["left", "right"], yr = ["right", "left"], br = ["top", "bottom"], xr = ["bottom", "top"];
|
|
1623
|
+
function Sr(e, t, n) {
|
|
1615
1624
|
switch (e) {
|
|
1616
1625
|
case "top":
|
|
1617
|
-
case "bottom": return n ? t ?
|
|
1626
|
+
case "bottom": return n ? t ? yr : vr : t ? vr : yr;
|
|
1618
1627
|
case "left":
|
|
1619
|
-
case "right": return t ?
|
|
1628
|
+
case "right": return t ? br : xr;
|
|
1620
1629
|
default: return [];
|
|
1621
1630
|
}
|
|
1622
1631
|
}
|
|
1623
|
-
function
|
|
1624
|
-
let i =
|
|
1625
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1632
|
+
function Cr(e, t, n, r) {
|
|
1633
|
+
let i = dr(e), a = Sr(K(e), n === "start", r);
|
|
1634
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(_r)))), a;
|
|
1626
1635
|
}
|
|
1627
|
-
function
|
|
1636
|
+
function wr(e) {
|
|
1628
1637
|
let t = K(e);
|
|
1629
|
-
return
|
|
1638
|
+
return lr[t] + e.slice(t.length);
|
|
1630
1639
|
}
|
|
1631
|
-
function
|
|
1640
|
+
function Tr(e) {
|
|
1632
1641
|
return {
|
|
1633
1642
|
top: 0,
|
|
1634
1643
|
right: 0,
|
|
@@ -1637,15 +1646,15 @@ function wr(e) {
|
|
|
1637
1646
|
...e
|
|
1638
1647
|
};
|
|
1639
1648
|
}
|
|
1640
|
-
function
|
|
1649
|
+
function Er(e) {
|
|
1641
1650
|
return typeof e == "number" ? {
|
|
1642
1651
|
top: e,
|
|
1643
1652
|
right: e,
|
|
1644
1653
|
bottom: e,
|
|
1645
1654
|
left: e
|
|
1646
|
-
} :
|
|
1655
|
+
} : Tr(e);
|
|
1647
1656
|
}
|
|
1648
|
-
function
|
|
1657
|
+
function Dr(e) {
|
|
1649
1658
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1650
1659
|
return {
|
|
1651
1660
|
width: r,
|
|
@@ -1660,8 +1669,8 @@ function Er(e) {
|
|
|
1660
1669
|
}
|
|
1661
1670
|
//#endregion
|
|
1662
1671
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1663
|
-
function
|
|
1664
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1672
|
+
function Or(e, t, n) {
|
|
1673
|
+
let { reference: r, floating: i } = e, a = q(t), o = mr(t), s = pr(o), c = K(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
1665
1674
|
switch (c) {
|
|
1666
1675
|
case "top":
|
|
1667
1676
|
p = {
|
|
@@ -1692,7 +1701,7 @@ function Dr(e, t, n) {
|
|
|
1692
1701
|
y: r.y
|
|
1693
1702
|
};
|
|
1694
1703
|
}
|
|
1695
|
-
switch (
|
|
1704
|
+
switch (dr(t)) {
|
|
1696
1705
|
case "start":
|
|
1697
1706
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1698
1707
|
break;
|
|
@@ -1702,9 +1711,9 @@ function Dr(e, t, n) {
|
|
|
1702
1711
|
}
|
|
1703
1712
|
return p;
|
|
1704
1713
|
}
|
|
1705
|
-
async function
|
|
1714
|
+
async function kr(e, t) {
|
|
1706
1715
|
t === void 0 && (t = {});
|
|
1707
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p =
|
|
1716
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p = Er(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Dr(await i.getClippingRect({
|
|
1708
1717
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1709
1718
|
boundary: c,
|
|
1710
1719
|
rootBoundary: l,
|
|
@@ -1717,7 +1726,7 @@ async function Or(e, t) {
|
|
|
1717
1726
|
} : 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(_)) || {
|
|
1718
1727
|
x: 1,
|
|
1719
1728
|
y: 1
|
|
1720
|
-
}, y =
|
|
1729
|
+
}, y = Dr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1721
1730
|
elements: o,
|
|
1722
1731
|
rect: g,
|
|
1723
1732
|
offsetParent: _,
|
|
@@ -1730,15 +1739,15 @@ async function Or(e, t) {
|
|
|
1730
1739
|
right: (y.right - h.right + p.right) / v.x
|
|
1731
1740
|
};
|
|
1732
1741
|
}
|
|
1733
|
-
var
|
|
1742
|
+
var Ar = 50, jr = async (e, t, n) => {
|
|
1734
1743
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1735
1744
|
...o,
|
|
1736
|
-
detectOverflow:
|
|
1745
|
+
detectOverflow: kr
|
|
1737
1746
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1738
1747
|
reference: e,
|
|
1739
1748
|
floating: t,
|
|
1740
1749
|
strategy: i
|
|
1741
|
-
}), { x: u, y: d } =
|
|
1750
|
+
}), { x: u, y: d } = Or(l, r, c), f = r, p = 0, m = {};
|
|
1742
1751
|
for (let n = 0; n < a.length; n++) {
|
|
1743
1752
|
let h = a[n];
|
|
1744
1753
|
if (!h) continue;
|
|
@@ -1759,11 +1768,11 @@ var kr = 50, Ar = async (e, t, n) => {
|
|
|
1759
1768
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1760
1769
|
...m[g],
|
|
1761
1770
|
...b
|
|
1762
|
-
}, x && p <
|
|
1771
|
+
}, x && p < Ar && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1763
1772
|
reference: e,
|
|
1764
1773
|
floating: t,
|
|
1765
1774
|
strategy: i
|
|
1766
|
-
}) : x.rects), {x: u, y: d} =
|
|
1775
|
+
}) : x.rects), {x: u, y: d} = Or(l, f, c)), n = -1);
|
|
1767
1776
|
}
|
|
1768
1777
|
return {
|
|
1769
1778
|
x: u,
|
|
@@ -1772,18 +1781,18 @@ var kr = 50, Ar = async (e, t, n) => {
|
|
|
1772
1781
|
strategy: i,
|
|
1773
1782
|
middlewareData: m
|
|
1774
1783
|
};
|
|
1775
|
-
},
|
|
1784
|
+
}, Mr = (e) => ({
|
|
1776
1785
|
name: "arrow",
|
|
1777
1786
|
options: e,
|
|
1778
1787
|
async fn(t) {
|
|
1779
1788
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1780
1789
|
if (l == null) return {};
|
|
1781
|
-
let d =
|
|
1790
|
+
let d = Er(u), f = {
|
|
1782
1791
|
x: n,
|
|
1783
1792
|
y: r
|
|
1784
|
-
}, p =
|
|
1793
|
+
}, p = mr(i), m = pr(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;
|
|
1785
1794
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1786
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E =
|
|
1795
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = or(d[_], T), D = or(d[v], T), ee = E, O = C - h[m] - D, k = C / 2 - h[m] / 2 + w, A = ur(ee, k, O), j = !c.arrow && dr(i) != null && k !== A && a.reference[m] / 2 - (k < ee ? E : D) - h[m] / 2 < 0, M = j ? k < ee ? k - ee : k - O : 0;
|
|
1787
1796
|
return {
|
|
1788
1797
|
[p]: f[p] + M,
|
|
1789
1798
|
data: {
|
|
@@ -1794,7 +1803,7 @@ var kr = 50, Ar = async (e, t, n) => {
|
|
|
1794
1803
|
reset: j
|
|
1795
1804
|
};
|
|
1796
1805
|
}
|
|
1797
|
-
}),
|
|
1806
|
+
}), Nr = function(e) {
|
|
1798
1807
|
return e === void 0 && (e = {}), {
|
|
1799
1808
|
name: "flip",
|
|
1800
1809
|
options: e,
|
|
@@ -1802,11 +1811,11 @@ var kr = 50, Ar = async (e, t, n) => {
|
|
|
1802
1811
|
var n;
|
|
1803
1812
|
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = G(e, t);
|
|
1804
1813
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1805
|
-
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [
|
|
1806
|
-
!d && x && b.push(...
|
|
1814
|
+
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [wr(o)] : gr(o)), x = p !== "none";
|
|
1815
|
+
!d && x && b.push(...Cr(o, m, p, y));
|
|
1807
1816
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1808
1817
|
if (l && w.push(C[g]), u) {
|
|
1809
|
-
let e =
|
|
1818
|
+
let e = hr(r, a, y);
|
|
1810
1819
|
w.push(C[e[0]], C[e[1]]);
|
|
1811
1820
|
}
|
|
1812
1821
|
if (T = [...T, {
|
|
@@ -1844,7 +1853,7 @@ var kr = 50, Ar = async (e, t, n) => {
|
|
|
1844
1853
|
}
|
|
1845
1854
|
};
|
|
1846
1855
|
};
|
|
1847
|
-
function
|
|
1856
|
+
function Pr(e, t) {
|
|
1848
1857
|
return {
|
|
1849
1858
|
top: e.top - t.height,
|
|
1850
1859
|
right: e.right - t.width,
|
|
@@ -1852,10 +1861,10 @@ function Nr(e, t) {
|
|
|
1852
1861
|
left: e.left - t.width
|
|
1853
1862
|
};
|
|
1854
1863
|
}
|
|
1855
|
-
function
|
|
1856
|
-
return
|
|
1864
|
+
function Fr(e) {
|
|
1865
|
+
return ar.some((t) => e[t] >= 0);
|
|
1857
1866
|
}
|
|
1858
|
-
var
|
|
1867
|
+
var Ir = function(e) {
|
|
1859
1868
|
return e === void 0 && (e = {}), {
|
|
1860
1869
|
name: "hide",
|
|
1861
1870
|
options: e,
|
|
@@ -1863,32 +1872,32 @@ var Fr = function(e) {
|
|
|
1863
1872
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1864
1873
|
switch (i) {
|
|
1865
1874
|
case "referenceHidden": {
|
|
1866
|
-
let e =
|
|
1875
|
+
let e = Pr(await r.detectOverflow(t, {
|
|
1867
1876
|
...a,
|
|
1868
1877
|
elementContext: "reference"
|
|
1869
1878
|
}), n.reference);
|
|
1870
1879
|
return { data: {
|
|
1871
1880
|
referenceHiddenOffsets: e,
|
|
1872
|
-
referenceHidden:
|
|
1881
|
+
referenceHidden: Fr(e)
|
|
1873
1882
|
} };
|
|
1874
1883
|
}
|
|
1875
1884
|
case "escaped": {
|
|
1876
|
-
let e =
|
|
1885
|
+
let e = Pr(await r.detectOverflow(t, {
|
|
1877
1886
|
...a,
|
|
1878
1887
|
altBoundary: !0
|
|
1879
1888
|
}), n.floating);
|
|
1880
1889
|
return { data: {
|
|
1881
1890
|
escapedOffsets: e,
|
|
1882
|
-
escaped:
|
|
1891
|
+
escaped: Fr(e)
|
|
1883
1892
|
} };
|
|
1884
1893
|
}
|
|
1885
1894
|
default: return {};
|
|
1886
1895
|
}
|
|
1887
1896
|
}
|
|
1888
1897
|
};
|
|
1889
|
-
},
|
|
1890
|
-
async function
|
|
1891
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1898
|
+
}, Lr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1899
|
+
async function Rr(e, t) {
|
|
1900
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = dr(n), c = q(n) === "y", l = Lr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1892
1901
|
mainAxis: d,
|
|
1893
1902
|
crossAxis: 0,
|
|
1894
1903
|
alignmentAxis: null
|
|
@@ -1905,13 +1914,13 @@ async function Lr(e, t) {
|
|
|
1905
1914
|
y: p * u
|
|
1906
1915
|
};
|
|
1907
1916
|
}
|
|
1908
|
-
var
|
|
1917
|
+
var zr = function(e) {
|
|
1909
1918
|
return e === void 0 && (e = 0), {
|
|
1910
1919
|
name: "offset",
|
|
1911
1920
|
options: e,
|
|
1912
1921
|
async fn(t) {
|
|
1913
1922
|
var n;
|
|
1914
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1923
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Rr(t, e);
|
|
1915
1924
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1916
1925
|
x: r + s.x,
|
|
1917
1926
|
y: i + s.y,
|
|
@@ -1922,7 +1931,7 @@ var Rr = function(e) {
|
|
|
1922
1931
|
};
|
|
1923
1932
|
}
|
|
1924
1933
|
};
|
|
1925
|
-
},
|
|
1934
|
+
}, Br = function(e) {
|
|
1926
1935
|
return e === void 0 && (e = {}), {
|
|
1927
1936
|
name: "shift",
|
|
1928
1937
|
options: e,
|
|
@@ -1936,14 +1945,14 @@ var Rr = function(e) {
|
|
|
1936
1945
|
} }, ...l } = G(e, t), u = {
|
|
1937
1946
|
x: n,
|
|
1938
1947
|
y: r
|
|
1939
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1948
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = fr(f), m = u[p], h = u[f];
|
|
1940
1949
|
if (o) {
|
|
1941
1950
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1942
|
-
m =
|
|
1951
|
+
m = ur(n, m, r);
|
|
1943
1952
|
}
|
|
1944
1953
|
if (s) {
|
|
1945
1954
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1946
|
-
h =
|
|
1955
|
+
h = ur(n, h, r);
|
|
1947
1956
|
}
|
|
1948
1957
|
let g = c.fn({
|
|
1949
1958
|
...t,
|
|
@@ -1963,14 +1972,14 @@ var Rr = function(e) {
|
|
|
1963
1972
|
};
|
|
1964
1973
|
}
|
|
1965
1974
|
};
|
|
1966
|
-
},
|
|
1975
|
+
}, Vr = function(e) {
|
|
1967
1976
|
return e === void 0 && (e = {}), {
|
|
1968
1977
|
options: e,
|
|
1969
1978
|
fn(t) {
|
|
1970
1979
|
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = G(e, t), u = {
|
|
1971
1980
|
x: n,
|
|
1972
1981
|
y: r
|
|
1973
|
-
}, d = q(i), f =
|
|
1982
|
+
}, d = q(i), f = fr(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1974
1983
|
mainAxis: h,
|
|
1975
1984
|
crossAxis: 0
|
|
1976
1985
|
} : {
|
|
@@ -1983,7 +1992,7 @@ var Rr = function(e) {
|
|
|
1983
1992
|
p < t ? p = t : p > n && (p = n);
|
|
1984
1993
|
}
|
|
1985
1994
|
if (l) {
|
|
1986
|
-
let e = f === "y" ? "width" : "height", t =
|
|
1995
|
+
let e = f === "y" ? "width" : "height", t = Lr.has(K(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
|
|
1987
1996
|
m < n ? m = n : m > r && (m = r);
|
|
1988
1997
|
}
|
|
1989
1998
|
return {
|
|
@@ -1992,15 +2001,15 @@ var Rr = function(e) {
|
|
|
1992
2001
|
};
|
|
1993
2002
|
}
|
|
1994
2003
|
};
|
|
1995
|
-
},
|
|
2004
|
+
}, Hr = function(e) {
|
|
1996
2005
|
return e === void 0 && (e = {}), {
|
|
1997
2006
|
name: "size",
|
|
1998
2007
|
options: e,
|
|
1999
2008
|
async fn(t) {
|
|
2000
2009
|
var n, r;
|
|
2001
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f =
|
|
2010
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f = dr(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2002
2011
|
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");
|
|
2003
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2012
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = or(h - u[g], v), x = or(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2004
2013
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2005
2014
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2006
2015
|
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : U(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : U(u.top, u.bottom));
|
|
@@ -2017,39 +2026,39 @@ var Rr = function(e) {
|
|
|
2017
2026
|
};
|
|
2018
2027
|
//#endregion
|
|
2019
2028
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2020
|
-
function
|
|
2029
|
+
function Ur() {
|
|
2021
2030
|
return typeof window < "u";
|
|
2022
2031
|
}
|
|
2023
|
-
function
|
|
2024
|
-
return
|
|
2032
|
+
function Wr(e) {
|
|
2033
|
+
return Gr(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2025
2034
|
}
|
|
2026
2035
|
function J(e) {
|
|
2027
2036
|
var t;
|
|
2028
2037
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2029
2038
|
}
|
|
2030
2039
|
function Y(e) {
|
|
2031
|
-
return ((
|
|
2040
|
+
return ((Gr(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2032
2041
|
}
|
|
2033
|
-
function
|
|
2034
|
-
return
|
|
2042
|
+
function Gr(e) {
|
|
2043
|
+
return Ur() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2035
2044
|
}
|
|
2036
2045
|
function X(e) {
|
|
2037
|
-
return
|
|
2046
|
+
return Ur() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2038
2047
|
}
|
|
2039
2048
|
function Z(e) {
|
|
2040
|
-
return
|
|
2041
|
-
}
|
|
2042
|
-
function Gr(e) {
|
|
2043
|
-
return !Hr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2049
|
+
return Ur() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2044
2050
|
}
|
|
2045
2051
|
function Kr(e) {
|
|
2046
|
-
|
|
2047
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2052
|
+
return !Ur() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2048
2053
|
}
|
|
2049
2054
|
function qr(e) {
|
|
2050
|
-
|
|
2055
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2056
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2051
2057
|
}
|
|
2052
2058
|
function Jr(e) {
|
|
2059
|
+
return /^(table|td|th)$/.test(Wr(e));
|
|
2060
|
+
}
|
|
2061
|
+
function Yr(e) {
|
|
2053
2062
|
try {
|
|
2054
2063
|
if (e.matches(":popover-open")) return !0;
|
|
2055
2064
|
} catch {}
|
|
@@ -2059,30 +2068,30 @@ function Jr(e) {
|
|
|
2059
2068
|
return !1;
|
|
2060
2069
|
}
|
|
2061
2070
|
}
|
|
2062
|
-
var
|
|
2063
|
-
function $r(e) {
|
|
2064
|
-
let t = X(e) ? Q(e) : e;
|
|
2065
|
-
return Zr(t.transform) || Zr(t.translate) || Zr(t.scale) || Zr(t.rotate) || Zr(t.perspective) || !ti() && (Zr(t.backdropFilter) || Zr(t.filter)) || Yr.test(t.willChange || "") || Xr.test(t.contain || "");
|
|
2066
|
-
}
|
|
2071
|
+
var Xr = /transform|translate|scale|rotate|perspective|filter/, Zr = /paint|layout|strict|content/, Qr = (e) => !!e && e !== "none", $r;
|
|
2067
2072
|
function ei(e) {
|
|
2068
|
-
let t =
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
+
let t = X(e) ? Q(e) : e;
|
|
2074
|
+
return Qr(t.transform) || Qr(t.translate) || Qr(t.scale) || Qr(t.rotate) || Qr(t.perspective) || !ni() && (Qr(t.backdropFilter) || Qr(t.filter)) || Xr.test(t.willChange || "") || Zr.test(t.contain || "");
|
|
2075
|
+
}
|
|
2076
|
+
function ti(e) {
|
|
2077
|
+
let t = ai(e);
|
|
2078
|
+
for (; Z(t) && !ri(t);) {
|
|
2079
|
+
if (ei(t)) return t;
|
|
2080
|
+
if (Yr(t)) return null;
|
|
2081
|
+
t = ai(t);
|
|
2073
2082
|
}
|
|
2074
2083
|
return null;
|
|
2075
2084
|
}
|
|
2076
|
-
function
|
|
2077
|
-
return
|
|
2085
|
+
function ni() {
|
|
2086
|
+
return $r ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), $r;
|
|
2078
2087
|
}
|
|
2079
|
-
function
|
|
2080
|
-
return /^(html|body|#document)$/.test(
|
|
2088
|
+
function ri(e) {
|
|
2089
|
+
return /^(html|body|#document)$/.test(Wr(e));
|
|
2081
2090
|
}
|
|
2082
2091
|
function Q(e) {
|
|
2083
2092
|
return J(e).getComputedStyle(e);
|
|
2084
2093
|
}
|
|
2085
|
-
function
|
|
2094
|
+
function ii(e) {
|
|
2086
2095
|
return X(e) ? {
|
|
2087
2096
|
scrollLeft: e.scrollLeft,
|
|
2088
2097
|
scrollTop: e.scrollTop
|
|
@@ -2091,101 +2100,101 @@ function ri(e) {
|
|
|
2091
2100
|
scrollTop: e.scrollY
|
|
2092
2101
|
};
|
|
2093
2102
|
}
|
|
2094
|
-
function ii(e) {
|
|
2095
|
-
if (Ur(e) === "html") return e;
|
|
2096
|
-
let t = e.assignedSlot || e.parentNode || Gr(e) && e.host || Y(e);
|
|
2097
|
-
return Gr(t) ? t.host : t;
|
|
2098
|
-
}
|
|
2099
2103
|
function ai(e) {
|
|
2100
|
-
|
|
2101
|
-
|
|
2104
|
+
if (Wr(e) === "html") return e;
|
|
2105
|
+
let t = e.assignedSlot || e.parentNode || Kr(e) && e.host || Y(e);
|
|
2106
|
+
return Kr(t) ? t.host : t;
|
|
2102
2107
|
}
|
|
2103
|
-
function oi(e
|
|
2108
|
+
function oi(e) {
|
|
2109
|
+
let t = ai(e);
|
|
2110
|
+
return ri(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && qr(t) ? t : oi(t);
|
|
2111
|
+
}
|
|
2112
|
+
function si(e, t, n) {
|
|
2104
2113
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2105
|
-
let r =
|
|
2114
|
+
let r = oi(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2106
2115
|
if (i) {
|
|
2107
|
-
let e =
|
|
2108
|
-
return t.concat(a, a.visualViewport || [],
|
|
2109
|
-
} else return t.concat(r,
|
|
2116
|
+
let e = ci(a);
|
|
2117
|
+
return t.concat(a, a.visualViewport || [], qr(r) ? r : [], e && n ? si(e) : []);
|
|
2118
|
+
} else return t.concat(r, si(r, [], n));
|
|
2110
2119
|
}
|
|
2111
|
-
function
|
|
2120
|
+
function ci(e) {
|
|
2112
2121
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2113
2122
|
}
|
|
2114
2123
|
//#endregion
|
|
2115
2124
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2116
|
-
function
|
|
2117
|
-
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s =
|
|
2125
|
+
function li(e) {
|
|
2126
|
+
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = sr(n) !== a || sr(r) !== o;
|
|
2118
2127
|
return s && (n = a, r = o), {
|
|
2119
2128
|
width: n,
|
|
2120
2129
|
height: r,
|
|
2121
2130
|
$: s
|
|
2122
2131
|
};
|
|
2123
2132
|
}
|
|
2124
|
-
function
|
|
2133
|
+
function ui(e) {
|
|
2125
2134
|
return X(e) ? e : e.contextElement;
|
|
2126
2135
|
}
|
|
2127
|
-
function
|
|
2128
|
-
let t =
|
|
2136
|
+
function di(e) {
|
|
2137
|
+
let t = ui(e);
|
|
2129
2138
|
if (!Z(t)) return W(1);
|
|
2130
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2139
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = li(t), o = (a ? sr(n.width) : n.width) / r, s = (a ? sr(n.height) : n.height) / i;
|
|
2131
2140
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2132
2141
|
x: o,
|
|
2133
2142
|
y: s
|
|
2134
2143
|
};
|
|
2135
2144
|
}
|
|
2136
|
-
var
|
|
2137
|
-
function
|
|
2145
|
+
var fi = /*#__PURE__*/ W(0);
|
|
2146
|
+
function pi(e) {
|
|
2138
2147
|
let t = J(e);
|
|
2139
|
-
return !
|
|
2148
|
+
return !ni() || !t.visualViewport ? fi : {
|
|
2140
2149
|
x: t.visualViewport.offsetLeft,
|
|
2141
2150
|
y: t.visualViewport.offsetTop
|
|
2142
2151
|
};
|
|
2143
2152
|
}
|
|
2144
|
-
function
|
|
2153
|
+
function mi(e, t, n) {
|
|
2145
2154
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2146
2155
|
}
|
|
2147
|
-
function
|
|
2156
|
+
function hi(e, t, n, r) {
|
|
2148
2157
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2149
|
-
let i = e.getBoundingClientRect(), a =
|
|
2150
|
-
t && (r ? X(r) && (o =
|
|
2151
|
-
let s =
|
|
2158
|
+
let i = e.getBoundingClientRect(), a = ui(e), o = W(1);
|
|
2159
|
+
t && (r ? X(r) && (o = di(r)) : o = di(e));
|
|
2160
|
+
let s = mi(a, n, r) ? pi(a) : W(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
2152
2161
|
if (a) {
|
|
2153
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2162
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = ci(n);
|
|
2154
2163
|
for (; i && r && t !== n;) {
|
|
2155
|
-
let e =
|
|
2156
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2164
|
+
let e = di(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;
|
|
2165
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = ci(n);
|
|
2157
2166
|
}
|
|
2158
2167
|
}
|
|
2159
|
-
return
|
|
2168
|
+
return Dr({
|
|
2160
2169
|
width: u,
|
|
2161
2170
|
height: d,
|
|
2162
2171
|
x: c,
|
|
2163
2172
|
y: l
|
|
2164
2173
|
});
|
|
2165
2174
|
}
|
|
2166
|
-
function hi(e, t) {
|
|
2167
|
-
let n = ri(e).scrollLeft;
|
|
2168
|
-
return t ? t.left + n : mi(Y(e)).left + n;
|
|
2169
|
-
}
|
|
2170
2175
|
function gi(e, t) {
|
|
2176
|
+
let n = ii(e).scrollLeft;
|
|
2177
|
+
return t ? t.left + n : hi(Y(e)).left + n;
|
|
2178
|
+
}
|
|
2179
|
+
function _i(e, t) {
|
|
2171
2180
|
let n = e.getBoundingClientRect();
|
|
2172
2181
|
return {
|
|
2173
|
-
x: n.left + t.scrollLeft -
|
|
2182
|
+
x: n.left + t.scrollLeft - gi(e, n),
|
|
2174
2183
|
y: n.top + t.scrollTop
|
|
2175
2184
|
};
|
|
2176
2185
|
}
|
|
2177
|
-
function
|
|
2178
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2186
|
+
function vi(e) {
|
|
2187
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? Yr(t.floating) : !1;
|
|
2179
2188
|
if (r === o || s && a) return n;
|
|
2180
2189
|
let c = {
|
|
2181
2190
|
scrollLeft: 0,
|
|
2182
2191
|
scrollTop: 0
|
|
2183
2192
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2184
|
-
if ((d || !d && !a) && ((
|
|
2185
|
-
let e =
|
|
2186
|
-
l =
|
|
2193
|
+
if ((d || !d && !a) && ((Wr(r) !== "body" || qr(o)) && (c = ii(r)), d)) {
|
|
2194
|
+
let e = hi(r);
|
|
2195
|
+
l = di(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2187
2196
|
}
|
|
2188
|
-
let f = o && !d && !a ?
|
|
2197
|
+
let f = o && !d && !a ? _i(o, c) : W(0);
|
|
2189
2198
|
return {
|
|
2190
2199
|
width: n.width * l.x,
|
|
2191
2200
|
height: n.height * l.y,
|
|
@@ -2193,11 +2202,11 @@ function _i(e) {
|
|
|
2193
2202
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2194
2203
|
};
|
|
2195
2204
|
}
|
|
2196
|
-
function
|
|
2205
|
+
function yi(e) {
|
|
2197
2206
|
return Array.from(e.getClientRects());
|
|
2198
2207
|
}
|
|
2199
|
-
function
|
|
2200
|
-
let t = Y(e), n =
|
|
2208
|
+
function bi(e) {
|
|
2209
|
+
let t = Y(e), n = ii(e), r = e.ownerDocument.body, i = U(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = U(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + gi(e), s = -n.scrollTop;
|
|
2201
2210
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2202
2211
|
width: i,
|
|
2203
2212
|
height: a,
|
|
@@ -2205,19 +2214,19 @@ function yi(e) {
|
|
|
2205
2214
|
y: s
|
|
2206
2215
|
};
|
|
2207
2216
|
}
|
|
2208
|
-
var
|
|
2209
|
-
function
|
|
2217
|
+
var xi = 25;
|
|
2218
|
+
function Si(e, t) {
|
|
2210
2219
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2211
2220
|
if (i) {
|
|
2212
2221
|
a = i.width, o = i.height;
|
|
2213
|
-
let e =
|
|
2222
|
+
let e = ni();
|
|
2214
2223
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2215
2224
|
}
|
|
2216
|
-
let l =
|
|
2225
|
+
let l = gi(r);
|
|
2217
2226
|
if (l <= 0) {
|
|
2218
2227
|
let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
|
|
2219
|
-
o <=
|
|
2220
|
-
} else l <=
|
|
2228
|
+
o <= xi && (a -= o);
|
|
2229
|
+
} else l <= xi && (a += l);
|
|
2221
2230
|
return {
|
|
2222
2231
|
width: a,
|
|
2223
2232
|
height: o,
|
|
@@ -2225,8 +2234,8 @@ function xi(e, t) {
|
|
|
2225
2234
|
y: c
|
|
2226
2235
|
};
|
|
2227
2236
|
}
|
|
2228
|
-
function
|
|
2229
|
-
let n =
|
|
2237
|
+
function Ci(e, t) {
|
|
2238
|
+
let n = hi(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? di(e) : W(1);
|
|
2230
2239
|
return {
|
|
2231
2240
|
width: e.clientWidth * a.x,
|
|
2232
2241
|
height: e.clientHeight * a.y,
|
|
@@ -2234,13 +2243,13 @@ function Si(e, t) {
|
|
|
2234
2243
|
y: r * a.y
|
|
2235
2244
|
};
|
|
2236
2245
|
}
|
|
2237
|
-
function
|
|
2246
|
+
function wi(e, t, n) {
|
|
2238
2247
|
let r;
|
|
2239
|
-
if (t === "viewport") r =
|
|
2240
|
-
else if (t === "document") r =
|
|
2241
|
-
else if (X(t)) r =
|
|
2248
|
+
if (t === "viewport") r = Si(e, n);
|
|
2249
|
+
else if (t === "document") r = bi(Y(e));
|
|
2250
|
+
else if (X(t)) r = Ci(t, n);
|
|
2242
2251
|
else {
|
|
2243
|
-
let n =
|
|
2252
|
+
let n = pi(e);
|
|
2244
2253
|
r = {
|
|
2245
2254
|
x: t.x - n.x,
|
|
2246
2255
|
y: t.y - n.y,
|
|
@@ -2248,27 +2257,27 @@ function Ci(e, t, n) {
|
|
|
2248
2257
|
height: t.height
|
|
2249
2258
|
};
|
|
2250
2259
|
}
|
|
2251
|
-
return
|
|
2252
|
-
}
|
|
2253
|
-
function wi(e, t) {
|
|
2254
|
-
let n = ii(e);
|
|
2255
|
-
return n === t || !X(n) || ni(n) ? !1 : Q(n).position === "fixed" || wi(n, t);
|
|
2260
|
+
return Dr(r);
|
|
2256
2261
|
}
|
|
2257
2262
|
function Ti(e, t) {
|
|
2263
|
+
let n = ai(e);
|
|
2264
|
+
return n === t || !X(n) || ri(n) ? !1 : Q(n).position === "fixed" || Ti(n, t);
|
|
2265
|
+
}
|
|
2266
|
+
function Ei(e, t) {
|
|
2258
2267
|
let n = t.get(e);
|
|
2259
2268
|
if (n) return n;
|
|
2260
|
-
let r =
|
|
2261
|
-
for (; X(o) && !
|
|
2262
|
-
let t = Q(o), n =
|
|
2263
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2269
|
+
let r = si(e, [], !1).filter((e) => X(e) && Wr(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? ai(e) : e;
|
|
2270
|
+
for (; X(o) && !ri(o);) {
|
|
2271
|
+
let t = Q(o), n = ei(o);
|
|
2272
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || qr(o) && !n && Ti(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = ai(o);
|
|
2264
2273
|
}
|
|
2265
2274
|
return t.set(e, r), r;
|
|
2266
2275
|
}
|
|
2267
|
-
function
|
|
2268
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2276
|
+
function Di(e) {
|
|
2277
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Yr(t) ? [] : Ei(t, this._c) : [].concat(n), r], o = wi(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2269
2278
|
for (let e = 1; e < a.length; e++) {
|
|
2270
|
-
let n =
|
|
2271
|
-
s = U(n.top, s), c =
|
|
2279
|
+
let n = wi(t, a[e], i);
|
|
2280
|
+
s = U(n.top, s), c = or(n.right, c), l = or(n.bottom, l), u = U(n.left, u);
|
|
2272
2281
|
}
|
|
2273
2282
|
return {
|
|
2274
2283
|
width: c - u,
|
|
@@ -2277,27 +2286,27 @@ function Ei(e) {
|
|
|
2277
2286
|
y: s
|
|
2278
2287
|
};
|
|
2279
2288
|
}
|
|
2280
|
-
function
|
|
2281
|
-
let { width: t, height: n } =
|
|
2289
|
+
function Oi(e) {
|
|
2290
|
+
let { width: t, height: n } = li(e);
|
|
2282
2291
|
return {
|
|
2283
2292
|
width: t,
|
|
2284
2293
|
height: n
|
|
2285
2294
|
};
|
|
2286
2295
|
}
|
|
2287
|
-
function
|
|
2288
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2296
|
+
function ki(e, t, n) {
|
|
2297
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = hi(e, !0, a, t), s = {
|
|
2289
2298
|
scrollLeft: 0,
|
|
2290
2299
|
scrollTop: 0
|
|
2291
2300
|
}, c = W(0);
|
|
2292
2301
|
function l() {
|
|
2293
|
-
c.x =
|
|
2302
|
+
c.x = gi(i);
|
|
2294
2303
|
}
|
|
2295
|
-
if (r || !r && !a) if ((
|
|
2296
|
-
let e =
|
|
2304
|
+
if (r || !r && !a) if ((Wr(t) !== "body" || qr(i)) && (s = ii(t)), r) {
|
|
2305
|
+
let e = hi(t, !0, a, t);
|
|
2297
2306
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2298
2307
|
} else i && l();
|
|
2299
2308
|
a && !r && i && l();
|
|
2300
|
-
let u = i && !r && !a ?
|
|
2309
|
+
let u = i && !r && !a ? _i(i, s) : W(0);
|
|
2301
2310
|
return {
|
|
2302
2311
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2303
2312
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2305,34 +2314,34 @@ function Oi(e, t, n) {
|
|
|
2305
2314
|
height: o.height
|
|
2306
2315
|
};
|
|
2307
2316
|
}
|
|
2308
|
-
function
|
|
2317
|
+
function Ai(e) {
|
|
2309
2318
|
return Q(e).position === "static";
|
|
2310
2319
|
}
|
|
2311
|
-
function
|
|
2320
|
+
function ji(e, t) {
|
|
2312
2321
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2313
2322
|
if (t) return t(e);
|
|
2314
2323
|
let n = e.offsetParent;
|
|
2315
2324
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2316
2325
|
}
|
|
2317
|
-
function
|
|
2326
|
+
function Mi(e, t) {
|
|
2318
2327
|
let n = J(e);
|
|
2319
|
-
if (
|
|
2328
|
+
if (Yr(e)) return n;
|
|
2320
2329
|
if (!Z(e)) {
|
|
2321
|
-
let t =
|
|
2322
|
-
for (; t && !
|
|
2323
|
-
if (X(t) && !
|
|
2324
|
-
t =
|
|
2330
|
+
let t = ai(e);
|
|
2331
|
+
for (; t && !ri(t);) {
|
|
2332
|
+
if (X(t) && !Ai(t)) return t;
|
|
2333
|
+
t = ai(t);
|
|
2325
2334
|
}
|
|
2326
2335
|
return n;
|
|
2327
2336
|
}
|
|
2328
|
-
let r =
|
|
2329
|
-
for (; r &&
|
|
2330
|
-
return r &&
|
|
2337
|
+
let r = ji(e, t);
|
|
2338
|
+
for (; r && Jr(r) && Ai(r);) r = ji(r, t);
|
|
2339
|
+
return r && ri(r) && Ai(r) && !ei(r) ? n : r || ti(e) || n;
|
|
2331
2340
|
}
|
|
2332
|
-
var
|
|
2333
|
-
let t = this.getOffsetParent ||
|
|
2341
|
+
var Ni = async function(e) {
|
|
2342
|
+
let t = this.getOffsetParent || Mi, n = this.getDimensions, r = await n(e.floating);
|
|
2334
2343
|
return {
|
|
2335
|
-
reference:
|
|
2344
|
+
reference: ki(e.reference, await t(e.floating), e.strategy),
|
|
2336
2345
|
floating: {
|
|
2337
2346
|
x: 0,
|
|
2338
2347
|
y: 0,
|
|
@@ -2341,25 +2350,25 @@ var Mi = async function(e) {
|
|
|
2341
2350
|
}
|
|
2342
2351
|
};
|
|
2343
2352
|
};
|
|
2344
|
-
function
|
|
2353
|
+
function Pi(e) {
|
|
2345
2354
|
return Q(e).direction === "rtl";
|
|
2346
2355
|
}
|
|
2347
|
-
var
|
|
2348
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2356
|
+
var Fi = {
|
|
2357
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: vi,
|
|
2349
2358
|
getDocumentElement: Y,
|
|
2350
|
-
getClippingRect:
|
|
2351
|
-
getOffsetParent:
|
|
2352
|
-
getElementRects:
|
|
2353
|
-
getClientRects:
|
|
2354
|
-
getDimensions:
|
|
2355
|
-
getScale:
|
|
2359
|
+
getClippingRect: Di,
|
|
2360
|
+
getOffsetParent: Mi,
|
|
2361
|
+
getElementRects: Ni,
|
|
2362
|
+
getClientRects: yi,
|
|
2363
|
+
getDimensions: Oi,
|
|
2364
|
+
getScale: di,
|
|
2356
2365
|
isElement: X,
|
|
2357
|
-
isRTL:
|
|
2366
|
+
isRTL: Pi
|
|
2358
2367
|
};
|
|
2359
|
-
function
|
|
2368
|
+
function Ii(e, t) {
|
|
2360
2369
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2361
2370
|
}
|
|
2362
|
-
function
|
|
2371
|
+
function Li(e, t) {
|
|
2363
2372
|
let n = null, r, i = Y(e);
|
|
2364
2373
|
function a() {
|
|
2365
2374
|
var e;
|
|
@@ -2369,9 +2378,9 @@ function Ii(e, t) {
|
|
|
2369
2378
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2370
2379
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2371
2380
|
if (s || t(), !f || !p) return;
|
|
2372
|
-
let m =
|
|
2381
|
+
let m = cr(d), h = cr(i.clientWidth - (u + f)), g = cr(i.clientHeight - (d + p)), _ = cr(u), v = {
|
|
2373
2382
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2374
|
-
threshold: U(0,
|
|
2383
|
+
threshold: U(0, or(1, c)) || 1
|
|
2375
2384
|
}, y = !0;
|
|
2376
2385
|
function b(t) {
|
|
2377
2386
|
let n = t[0].intersectionRatio;
|
|
@@ -2381,7 +2390,7 @@ function Ii(e, t) {
|
|
|
2381
2390
|
o(!1, 1e-7);
|
|
2382
2391
|
}, 1e3);
|
|
2383
2392
|
}
|
|
2384
|
-
n === 1 && !
|
|
2393
|
+
n === 1 && !Ii(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2385
2394
|
}
|
|
2386
2395
|
try {
|
|
2387
2396
|
n = new IntersectionObserver(b, {
|
|
@@ -2395,13 +2404,13 @@ function Ii(e, t) {
|
|
|
2395
2404
|
}
|
|
2396
2405
|
return o(!0), a;
|
|
2397
2406
|
}
|
|
2398
|
-
function
|
|
2407
|
+
function Ri(e, t, n, r) {
|
|
2399
2408
|
r === void 0 && (r = {});
|
|
2400
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2409
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = ui(e), u = i || a ? [...l ? si(l) : [], ...t ? si(t) : []] : [];
|
|
2401
2410
|
u.forEach((e) => {
|
|
2402
2411
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2403
2412
|
});
|
|
2404
|
-
let d = l && s ?
|
|
2413
|
+
let d = l && s ? Li(l, n) : null, f = -1, p = null;
|
|
2405
2414
|
o && (p = new ResizeObserver((e) => {
|
|
2406
2415
|
let [r] = e;
|
|
2407
2416
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2409,11 +2418,11 @@ function Li(e, t, n, r) {
|
|
|
2409
2418
|
(e = p) == null || e.observe(t);
|
|
2410
2419
|
})), n();
|
|
2411
2420
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2412
|
-
let m, h = c ?
|
|
2421
|
+
let m, h = c ? hi(e) : null;
|
|
2413
2422
|
c && g();
|
|
2414
2423
|
function g() {
|
|
2415
|
-
let t =
|
|
2416
|
-
h && !
|
|
2424
|
+
let t = hi(e);
|
|
2425
|
+
h && !Ii(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2417
2426
|
}
|
|
2418
2427
|
return n(), () => {
|
|
2419
2428
|
var e;
|
|
@@ -2422,20 +2431,20 @@ function Li(e, t, n, r) {
|
|
|
2422
2431
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2423
2432
|
};
|
|
2424
2433
|
}
|
|
2425
|
-
var
|
|
2434
|
+
var zi = zr, Bi = Br, Vi = Nr, Hi = Hr, Ui = Ir, Wi = Mr, Gi = Vr, Ki = (e, t, n) => {
|
|
2426
2435
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2427
|
-
platform:
|
|
2436
|
+
platform: Fi,
|
|
2428
2437
|
...n
|
|
2429
2438
|
}, a = {
|
|
2430
2439
|
...i.platform,
|
|
2431
2440
|
_c: r
|
|
2432
2441
|
};
|
|
2433
|
-
return
|
|
2442
|
+
return jr(e, t, {
|
|
2434
2443
|
...i,
|
|
2435
2444
|
platform: a
|
|
2436
2445
|
});
|
|
2437
|
-
},
|
|
2438
|
-
function
|
|
2446
|
+
}, qi = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2447
|
+
function Ji(e, t) {
|
|
2439
2448
|
if (e === t) return !0;
|
|
2440
2449
|
if (typeof e != typeof t) return !1;
|
|
2441
2450
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2443,33 +2452,33 @@ function qi(e, t) {
|
|
|
2443
2452
|
if (e && t && typeof e == "object") {
|
|
2444
2453
|
if (Array.isArray(e)) {
|
|
2445
2454
|
if (n = e.length, n !== t.length) return !1;
|
|
2446
|
-
for (r = n; r-- !== 0;) if (!
|
|
2455
|
+
for (r = n; r-- !== 0;) if (!Ji(e[r], t[r])) return !1;
|
|
2447
2456
|
return !0;
|
|
2448
2457
|
}
|
|
2449
2458
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2450
2459
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2451
2460
|
for (r = n; r-- !== 0;) {
|
|
2452
2461
|
let n = i[r];
|
|
2453
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2462
|
+
if (!(n === "_owner" && e.$$typeof) && !Ji(e[n], t[n])) return !1;
|
|
2454
2463
|
}
|
|
2455
2464
|
return !0;
|
|
2456
2465
|
}
|
|
2457
2466
|
return e !== e && t !== t;
|
|
2458
2467
|
}
|
|
2459
|
-
function
|
|
2468
|
+
function Yi(e) {
|
|
2460
2469
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2461
2470
|
}
|
|
2462
|
-
function
|
|
2463
|
-
let n =
|
|
2471
|
+
function Xi(e, t) {
|
|
2472
|
+
let n = Yi(e);
|
|
2464
2473
|
return Math.round(t * n) / n;
|
|
2465
2474
|
}
|
|
2466
|
-
function
|
|
2475
|
+
function Zi(e) {
|
|
2467
2476
|
let t = F.useRef(e);
|
|
2468
|
-
return
|
|
2477
|
+
return qi(() => {
|
|
2469
2478
|
t.current = e;
|
|
2470
2479
|
}), t;
|
|
2471
2480
|
}
|
|
2472
|
-
function
|
|
2481
|
+
function Qi(e) {
|
|
2473
2482
|
e === void 0 && (e = {});
|
|
2474
2483
|
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] = F.useState({
|
|
2475
2484
|
x: 0,
|
|
@@ -2479,24 +2488,24 @@ function Zi(e) {
|
|
|
2479
2488
|
middlewareData: {},
|
|
2480
2489
|
isPositioned: !1
|
|
2481
2490
|
}), [f, p] = F.useState(r);
|
|
2482
|
-
|
|
2491
|
+
Ji(f, r) || p(r);
|
|
2483
2492
|
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2484
2493
|
e !== S.current && (S.current = e, h(e));
|
|
2485
2494
|
}, []), y = F.useCallback((e) => {
|
|
2486
2495
|
e !== C.current && (C.current = e, _(e));
|
|
2487
|
-
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, E =
|
|
2496
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, E = Zi(c), D = Zi(i), ee = Zi(l), O = F.useCallback(() => {
|
|
2488
2497
|
if (!S.current || !C.current) return;
|
|
2489
2498
|
let e = {
|
|
2490
2499
|
placement: t,
|
|
2491
2500
|
strategy: n,
|
|
2492
2501
|
middleware: f
|
|
2493
2502
|
};
|
|
2494
|
-
D.current && (e.platform = D.current),
|
|
2503
|
+
D.current && (e.platform = D.current), Ki(S.current, C.current, e).then((e) => {
|
|
2495
2504
|
let t = {
|
|
2496
2505
|
...e,
|
|
2497
2506
|
isPositioned: ee.current !== !1
|
|
2498
2507
|
};
|
|
2499
|
-
k.current && !
|
|
2508
|
+
k.current && !Ji(w.current, t) && (w.current = t, ut.flushSync(() => {
|
|
2500
2509
|
d(t);
|
|
2501
2510
|
}));
|
|
2502
2511
|
});
|
|
@@ -2507,16 +2516,16 @@ function Zi(e) {
|
|
|
2507
2516
|
D,
|
|
2508
2517
|
ee
|
|
2509
2518
|
]);
|
|
2510
|
-
|
|
2519
|
+
qi(() => {
|
|
2511
2520
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2512
2521
|
...e,
|
|
2513
2522
|
isPositioned: !1
|
|
2514
2523
|
})));
|
|
2515
2524
|
}, [l]);
|
|
2516
2525
|
let k = F.useRef(!1);
|
|
2517
|
-
|
|
2526
|
+
qi(() => (k.current = !0, () => {
|
|
2518
2527
|
k.current = !1;
|
|
2519
|
-
}), []),
|
|
2528
|
+
}), []), qi(() => {
|
|
2520
2529
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2521
2530
|
if (E.current) return E.current(b, x, O);
|
|
2522
2531
|
O();
|
|
@@ -2543,11 +2552,11 @@ function Zi(e) {
|
|
|
2543
2552
|
top: 0
|
|
2544
2553
|
};
|
|
2545
2554
|
if (!j.floating) return e;
|
|
2546
|
-
let t =
|
|
2555
|
+
let t = Xi(j.floating, u.x), r = Xi(j.floating, u.y);
|
|
2547
2556
|
return s ? {
|
|
2548
2557
|
...e,
|
|
2549
2558
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2550
|
-
...
|
|
2559
|
+
...Yi(j.floating) >= 1.5 && { willChange: "transform" }
|
|
2551
2560
|
} : {
|
|
2552
2561
|
position: n,
|
|
2553
2562
|
left: t,
|
|
@@ -2574,7 +2583,7 @@ function Zi(e) {
|
|
|
2574
2583
|
M
|
|
2575
2584
|
]);
|
|
2576
2585
|
}
|
|
2577
|
-
var
|
|
2586
|
+
var $i = (e) => {
|
|
2578
2587
|
function t(e) {
|
|
2579
2588
|
return {}.hasOwnProperty.call(e, "current");
|
|
2580
2589
|
}
|
|
@@ -2583,22 +2592,15 @@ var Qi = (e) => {
|
|
|
2583
2592
|
options: e,
|
|
2584
2593
|
fn(n) {
|
|
2585
2594
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2586
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2595
|
+
return r && t(r) ? r.current == null ? {} : Wi({
|
|
2587
2596
|
element: r.current,
|
|
2588
2597
|
padding: i
|
|
2589
|
-
}).fn(n) : r ?
|
|
2598
|
+
}).fn(n) : r ? Wi({
|
|
2590
2599
|
element: r,
|
|
2591
2600
|
padding: i
|
|
2592
2601
|
}).fn(n) : {};
|
|
2593
2602
|
}
|
|
2594
2603
|
};
|
|
2595
|
-
}, $i = (e, t) => {
|
|
2596
|
-
let n = Ri(e);
|
|
2597
|
-
return {
|
|
2598
|
-
name: n.name,
|
|
2599
|
-
fn: n.fn,
|
|
2600
|
-
options: [e, t]
|
|
2601
|
-
};
|
|
2602
2604
|
}, ea = (e, t) => {
|
|
2603
2605
|
let n = zi(e);
|
|
2604
2606
|
return {
|
|
@@ -2606,17 +2608,17 @@ var Qi = (e) => {
|
|
|
2606
2608
|
fn: n.fn,
|
|
2607
2609
|
options: [e, t]
|
|
2608
2610
|
};
|
|
2609
|
-
}, ta = (e, t) =>
|
|
2610
|
-
fn: Wi(e).fn,
|
|
2611
|
-
options: [e, t]
|
|
2612
|
-
}), na = (e, t) => {
|
|
2611
|
+
}, ta = (e, t) => {
|
|
2613
2612
|
let n = Bi(e);
|
|
2614
2613
|
return {
|
|
2615
2614
|
name: n.name,
|
|
2616
2615
|
fn: n.fn,
|
|
2617
2616
|
options: [e, t]
|
|
2618
2617
|
};
|
|
2619
|
-
},
|
|
2618
|
+
}, na = (e, t) => ({
|
|
2619
|
+
fn: Gi(e).fn,
|
|
2620
|
+
options: [e, t]
|
|
2621
|
+
}), ra = (e, t) => {
|
|
2620
2622
|
let n = Vi(e);
|
|
2621
2623
|
return {
|
|
2622
2624
|
name: n.name,
|
|
@@ -2631,13 +2633,20 @@ var Qi = (e) => {
|
|
|
2631
2633
|
options: [e, t]
|
|
2632
2634
|
};
|
|
2633
2635
|
}, aa = (e, t) => {
|
|
2634
|
-
let n =
|
|
2636
|
+
let n = Ui(e);
|
|
2637
|
+
return {
|
|
2638
|
+
name: n.name,
|
|
2639
|
+
fn: n.fn,
|
|
2640
|
+
options: [e, t]
|
|
2641
|
+
};
|
|
2642
|
+
}, oa = (e, t) => {
|
|
2643
|
+
let n = $i(e);
|
|
2635
2644
|
return {
|
|
2636
2645
|
name: n.name,
|
|
2637
2646
|
fn: n.fn,
|
|
2638
2647
|
options: [e, t]
|
|
2639
2648
|
};
|
|
2640
|
-
},
|
|
2649
|
+
}, sa = "Arrow", ca = F.forwardRef((e, t) => {
|
|
2641
2650
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2642
2651
|
return /* @__PURE__ */ (0, I.jsx)(H.svg, {
|
|
2643
2652
|
...a,
|
|
@@ -2649,13 +2658,13 @@ var Qi = (e) => {
|
|
|
2649
2658
|
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2650
2659
|
});
|
|
2651
2660
|
});
|
|
2652
|
-
|
|
2653
|
-
var
|
|
2661
|
+
ca.displayName = sa;
|
|
2662
|
+
var la = ca;
|
|
2654
2663
|
//#endregion
|
|
2655
2664
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2656
|
-
function
|
|
2665
|
+
function ua(e) {
|
|
2657
2666
|
let [t, n] = F.useState(void 0);
|
|
2658
|
-
return
|
|
2667
|
+
return tr(() => {
|
|
2659
2668
|
if (e) {
|
|
2660
2669
|
n({
|
|
2661
2670
|
width: e.offsetWidth,
|
|
@@ -2679,18 +2688,18 @@ function la(e) {
|
|
|
2679
2688
|
}
|
|
2680
2689
|
//#endregion
|
|
2681
2690
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2682
|
-
var
|
|
2691
|
+
var da = "Popper", [fa, pa] = fn(da), [ma, ha] = fa(da), ga = (e) => {
|
|
2683
2692
|
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2684
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
2693
|
+
return /* @__PURE__ */ (0, I.jsx)(ma, {
|
|
2685
2694
|
scope: t,
|
|
2686
2695
|
anchor: r,
|
|
2687
2696
|
onAnchorChange: i,
|
|
2688
2697
|
children: n
|
|
2689
2698
|
});
|
|
2690
2699
|
};
|
|
2691
|
-
|
|
2692
|
-
var
|
|
2693
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2700
|
+
ga.displayName = da;
|
|
2701
|
+
var _a = "PopperAnchor", va = F.forwardRef((e, t) => {
|
|
2702
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = ha(_a, n), o = F.useRef(null), s = V(t, o), c = F.useRef(null);
|
|
2694
2703
|
return F.useEffect(() => {
|
|
2695
2704
|
let e = c.current;
|
|
2696
2705
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
@@ -2699,9 +2708,9 @@ var ga = "PopperAnchor", _a = F.forwardRef((e, t) => {
|
|
|
2699
2708
|
ref: s
|
|
2700
2709
|
});
|
|
2701
2710
|
});
|
|
2702
|
-
|
|
2703
|
-
var
|
|
2704
|
-
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 =
|
|
2711
|
+
va.displayName = _a;
|
|
2712
|
+
var ya = "PopperContent", [ba, xa] = fa(ya), Sa = F.forwardRef((e, t) => {
|
|
2713
|
+
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 = ha(ya, n), [_, v] = F.useState(null), y = V(t, (e) => v(e)), [b, x] = F.useState(null), S = ua(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), E = typeof u == "number" ? u : {
|
|
2705
2714
|
top: 0,
|
|
2706
2715
|
right: 0,
|
|
2707
2716
|
bottom: 0,
|
|
@@ -2709,51 +2718,51 @@ var va = "PopperContent", [ya, ba] = da(va), xa = F.forwardRef((e, t) => {
|
|
|
2709
2718
|
...u
|
|
2710
2719
|
}, D = Array.isArray(l) ? l : [l], ee = D.length > 0, O = {
|
|
2711
2720
|
padding: E,
|
|
2712
|
-
boundary: D.filter(
|
|
2721
|
+
boundary: D.filter(Ea),
|
|
2713
2722
|
altBoundary: ee
|
|
2714
|
-
}, { refs: k, floatingStyles: A, placement: j, isPositioned: M, middlewareData:
|
|
2723
|
+
}, { refs: k, floatingStyles: A, placement: j, isPositioned: M, middlewareData: te } = Qi({
|
|
2715
2724
|
strategy: "fixed",
|
|
2716
2725
|
placement: T,
|
|
2717
|
-
whileElementsMounted: (...e) =>
|
|
2726
|
+
whileElementsMounted: (...e) => Ri(...e, { animationFrame: p === "always" }),
|
|
2718
2727
|
elements: { reference: g.anchor },
|
|
2719
2728
|
middleware: [
|
|
2720
|
-
|
|
2729
|
+
ea({
|
|
2721
2730
|
mainAxis: i + w,
|
|
2722
2731
|
alignmentAxis: o
|
|
2723
2732
|
}),
|
|
2724
|
-
c &&
|
|
2733
|
+
c && ta({
|
|
2725
2734
|
mainAxis: !0,
|
|
2726
2735
|
crossAxis: !1,
|
|
2727
|
-
limiter: d === "partial" ?
|
|
2736
|
+
limiter: d === "partial" ? na() : void 0,
|
|
2728
2737
|
...O
|
|
2729
2738
|
}),
|
|
2730
|
-
c &&
|
|
2731
|
-
|
|
2739
|
+
c && ra({ ...O }),
|
|
2740
|
+
ia({
|
|
2732
2741
|
...O,
|
|
2733
2742
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2734
2743
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2735
2744
|
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`);
|
|
2736
2745
|
}
|
|
2737
2746
|
}),
|
|
2738
|
-
b &&
|
|
2747
|
+
b && oa({
|
|
2739
2748
|
element: b,
|
|
2740
2749
|
padding: s
|
|
2741
2750
|
}),
|
|
2742
|
-
|
|
2751
|
+
Da({
|
|
2743
2752
|
arrowWidth: C,
|
|
2744
2753
|
arrowHeight: w
|
|
2745
2754
|
}),
|
|
2746
|
-
f &&
|
|
2755
|
+
f && aa({
|
|
2747
2756
|
strategy: "referenceHidden",
|
|
2748
2757
|
...O
|
|
2749
2758
|
})
|
|
2750
2759
|
]
|
|
2751
|
-
}), [
|
|
2752
|
-
|
|
2753
|
-
M &&
|
|
2754
|
-
}, [M,
|
|
2755
|
-
let
|
|
2756
|
-
return
|
|
2760
|
+
}), [ne, re] = Oa(j), ie = xn(m);
|
|
2761
|
+
tr(() => {
|
|
2762
|
+
M && ie?.();
|
|
2763
|
+
}, [M, ie]);
|
|
2764
|
+
let N = te.arrow?.x, ae = te.arrow?.y, oe = te.arrow?.centerOffset !== 0, [se, ce] = F.useState();
|
|
2765
|
+
return tr(() => {
|
|
2757
2766
|
_ && ce(window.getComputedStyle(_).zIndex);
|
|
2758
2767
|
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2759
2768
|
ref: k.setFloating,
|
|
@@ -2763,23 +2772,23 @@ var va = "PopperContent", [ya, ba] = da(va), xa = F.forwardRef((e, t) => {
|
|
|
2763
2772
|
transform: M ? A.transform : "translate(0, -200%)",
|
|
2764
2773
|
minWidth: "max-content",
|
|
2765
2774
|
zIndex: se,
|
|
2766
|
-
"--radix-popper-transform-origin": [
|
|
2767
|
-
...
|
|
2775
|
+
"--radix-popper-transform-origin": [te.transformOrigin?.x, te.transformOrigin?.y].join(" "),
|
|
2776
|
+
...te.hide?.referenceHidden && {
|
|
2768
2777
|
visibility: "hidden",
|
|
2769
2778
|
pointerEvents: "none"
|
|
2770
2779
|
}
|
|
2771
2780
|
},
|
|
2772
2781
|
dir: e.dir,
|
|
2773
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2782
|
+
children: /* @__PURE__ */ (0, I.jsx)(ba, {
|
|
2774
2783
|
scope: n,
|
|
2775
|
-
placedSide:
|
|
2784
|
+
placedSide: ne,
|
|
2776
2785
|
onArrowChange: x,
|
|
2777
|
-
arrowX:
|
|
2786
|
+
arrowX: N,
|
|
2778
2787
|
arrowY: ae,
|
|
2779
2788
|
shouldHideArrow: oe,
|
|
2780
2789
|
children: /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2781
|
-
"data-side":
|
|
2782
|
-
"data-align":
|
|
2790
|
+
"data-side": ne,
|
|
2791
|
+
"data-align": re,
|
|
2783
2792
|
...h,
|
|
2784
2793
|
ref: y,
|
|
2785
2794
|
style: {
|
|
@@ -2790,14 +2799,14 @@ var va = "PopperContent", [ya, ba] = da(va), xa = F.forwardRef((e, t) => {
|
|
|
2790
2799
|
})
|
|
2791
2800
|
});
|
|
2792
2801
|
});
|
|
2793
|
-
|
|
2794
|
-
var
|
|
2802
|
+
Sa.displayName = ya;
|
|
2803
|
+
var Ca = "PopperArrow", wa = {
|
|
2795
2804
|
top: "bottom",
|
|
2796
2805
|
right: "left",
|
|
2797
2806
|
bottom: "top",
|
|
2798
2807
|
left: "right"
|
|
2799
|
-
},
|
|
2800
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2808
|
+
}, Ta = F.forwardRef(function(e, t) {
|
|
2809
|
+
let { __scopePopper: n, ...r } = e, i = xa(Ca, n), a = wa[i.placedSide];
|
|
2801
2810
|
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2802
2811
|
ref: i.onArrowChange,
|
|
2803
2812
|
style: {
|
|
@@ -2819,7 +2828,7 @@ var Sa = "PopperArrow", Ca = {
|
|
|
2819
2828
|
}[i.placedSide],
|
|
2820
2829
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2821
2830
|
},
|
|
2822
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
2831
|
+
children: /* @__PURE__ */ (0, I.jsx)(la, {
|
|
2823
2832
|
...r,
|
|
2824
2833
|
ref: t,
|
|
2825
2834
|
style: {
|
|
@@ -2829,15 +2838,15 @@ var Sa = "PopperArrow", Ca = {
|
|
|
2829
2838
|
})
|
|
2830
2839
|
});
|
|
2831
2840
|
});
|
|
2832
|
-
|
|
2833
|
-
function
|
|
2841
|
+
Ta.displayName = Ca;
|
|
2842
|
+
function Ea(e) {
|
|
2834
2843
|
return e !== null;
|
|
2835
2844
|
}
|
|
2836
|
-
var
|
|
2845
|
+
var Da = (e) => ({
|
|
2837
2846
|
name: "transformOrigin",
|
|
2838
2847
|
options: e,
|
|
2839
2848
|
fn(t) {
|
|
2840
|
-
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] =
|
|
2849
|
+
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = Oa(n), u = {
|
|
2841
2850
|
start: "0%",
|
|
2842
2851
|
center: "50%",
|
|
2843
2852
|
end: "100%"
|
|
@@ -2848,32 +2857,32 @@ var Ea = (e) => ({
|
|
|
2848
2857
|
} };
|
|
2849
2858
|
}
|
|
2850
2859
|
});
|
|
2851
|
-
function
|
|
2860
|
+
function Oa(e) {
|
|
2852
2861
|
let [t, n = "center"] = e.split("-");
|
|
2853
2862
|
return [t, n];
|
|
2854
2863
|
}
|
|
2855
|
-
var
|
|
2864
|
+
var ka = ga, Aa = va, ja = Sa, Ma = Ta, Na = "Portal", Pa = F.forwardRef((e, t) => {
|
|
2856
2865
|
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2857
|
-
|
|
2866
|
+
tr(() => a(!0), []);
|
|
2858
2867
|
let o = n || i && globalThis?.document?.body;
|
|
2859
|
-
return o ?
|
|
2868
|
+
return o ? ut.createPortal(/* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2860
2869
|
...r,
|
|
2861
2870
|
ref: t
|
|
2862
2871
|
}), o) : null;
|
|
2863
2872
|
});
|
|
2864
|
-
|
|
2873
|
+
Pa.displayName = Na;
|
|
2865
2874
|
//#endregion
|
|
2866
2875
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2867
|
-
function
|
|
2876
|
+
function Fa(e, t) {
|
|
2868
2877
|
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2869
2878
|
}
|
|
2870
|
-
var
|
|
2871
|
-
let { present: t, children: n } = e, r =
|
|
2879
|
+
var Ia = (e) => {
|
|
2880
|
+
let { present: t, children: n } = e, r = La(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = V(r.ref, za(i));
|
|
2872
2881
|
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2873
2882
|
};
|
|
2874
|
-
|
|
2875
|
-
function
|
|
2876
|
-
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] =
|
|
2883
|
+
Ia.displayName = "Presence";
|
|
2884
|
+
function La(e) {
|
|
2885
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = Fa(e ? "mounted" : "unmounted", {
|
|
2877
2886
|
mounted: {
|
|
2878
2887
|
UNMOUNT: "unmounted",
|
|
2879
2888
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2885,18 +2894,18 @@ function Ia(e) {
|
|
|
2885
2894
|
unmounted: { MOUNT: "mounted" }
|
|
2886
2895
|
});
|
|
2887
2896
|
return F.useEffect(() => {
|
|
2888
|
-
let e =
|
|
2897
|
+
let e = Ra(r.current);
|
|
2889
2898
|
a.current = o === "mounted" ? e : "none";
|
|
2890
|
-
}, [o]),
|
|
2899
|
+
}, [o]), tr(() => {
|
|
2891
2900
|
let t = r.current, n = i.current;
|
|
2892
2901
|
if (n !== e) {
|
|
2893
|
-
let r = a.current, o =
|
|
2902
|
+
let r = a.current, o = Ra(t);
|
|
2894
2903
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2895
2904
|
}
|
|
2896
|
-
}, [e, s]),
|
|
2905
|
+
}, [e, s]), tr(() => {
|
|
2897
2906
|
if (t) {
|
|
2898
2907
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2899
|
-
let o =
|
|
2908
|
+
let o = Ra(r.current).includes(CSS.escape(a.animationName));
|
|
2900
2909
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2901
2910
|
let r = t.style.animationFillMode;
|
|
2902
2911
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2904,7 +2913,7 @@ function Ia(e) {
|
|
|
2904
2913
|
});
|
|
2905
2914
|
}
|
|
2906
2915
|
}, c = (e) => {
|
|
2907
|
-
e.target === t && (a.current =
|
|
2916
|
+
e.target === t && (a.current = Ra(r.current));
|
|
2908
2917
|
};
|
|
2909
2918
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2910
2919
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2917,18 +2926,18 @@ function Ia(e) {
|
|
|
2917
2926
|
}, [])
|
|
2918
2927
|
};
|
|
2919
2928
|
}
|
|
2920
|
-
function
|
|
2929
|
+
function Ra(e) {
|
|
2921
2930
|
return e?.animationName || "none";
|
|
2922
2931
|
}
|
|
2923
|
-
function
|
|
2932
|
+
function za(e) {
|
|
2924
2933
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2925
2934
|
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);
|
|
2926
2935
|
}
|
|
2927
2936
|
//#endregion
|
|
2928
2937
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2929
|
-
var
|
|
2930
|
-
function
|
|
2931
|
-
let [i, a, o] =
|
|
2938
|
+
var Ba = F.useInsertionEffect || tr;
|
|
2939
|
+
function Va({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2940
|
+
let [i, a, o] = Ha({
|
|
2932
2941
|
defaultProp: t,
|
|
2933
2942
|
onChange: n
|
|
2934
2943
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2941,7 +2950,7 @@ function Ba({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2941
2950
|
}
|
|
2942
2951
|
return [c, F.useCallback((t) => {
|
|
2943
2952
|
if (s) {
|
|
2944
|
-
let n =
|
|
2953
|
+
let n = Ua(t) ? t(e) : t;
|
|
2945
2954
|
n !== e && o.current?.(n);
|
|
2946
2955
|
} else a(t);
|
|
2947
2956
|
}, [
|
|
@@ -2951,9 +2960,9 @@ function Ba({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2951
2960
|
o
|
|
2952
2961
|
])];
|
|
2953
2962
|
}
|
|
2954
|
-
function
|
|
2963
|
+
function Ha({ defaultProp: e, onChange: t }) {
|
|
2955
2964
|
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2956
|
-
return
|
|
2965
|
+
return Ba(() => {
|
|
2957
2966
|
a.current = t;
|
|
2958
2967
|
}, [t]), F.useEffect(() => {
|
|
2959
2968
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2963,27 +2972,27 @@ function Va({ defaultProp: e, onChange: t }) {
|
|
|
2963
2972
|
a
|
|
2964
2973
|
];
|
|
2965
2974
|
}
|
|
2966
|
-
function
|
|
2975
|
+
function Ua(e) {
|
|
2967
2976
|
return typeof e == "function";
|
|
2968
2977
|
}
|
|
2969
2978
|
//#endregion
|
|
2970
2979
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2971
|
-
var
|
|
2980
|
+
var Wa = function(e) {
|
|
2972
2981
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2973
|
-
},
|
|
2974
|
-
return e && (e.host ||
|
|
2975
|
-
},
|
|
2982
|
+
}, Ga = /* @__PURE__ */ new WeakMap(), Ka = /* @__PURE__ */ new WeakMap(), qa = {}, Ja = 0, Ya = function(e) {
|
|
2983
|
+
return e && (e.host || Ya(e.parentNode));
|
|
2984
|
+
}, Xa = function(e, t) {
|
|
2976
2985
|
return t.map(function(t) {
|
|
2977
2986
|
if (e.contains(t)) return t;
|
|
2978
|
-
var n =
|
|
2987
|
+
var n = Ya(t);
|
|
2979
2988
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
2980
2989
|
}).filter(function(e) {
|
|
2981
2990
|
return !!e;
|
|
2982
2991
|
});
|
|
2983
|
-
},
|
|
2984
|
-
var i =
|
|
2985
|
-
|
|
2986
|
-
var a =
|
|
2992
|
+
}, Za = function(e, t, n, r) {
|
|
2993
|
+
var i = Xa(t, Array.isArray(e) ? e : [e]);
|
|
2994
|
+
qa[n] || (qa[n] = /* @__PURE__ */ new WeakMap());
|
|
2995
|
+
var a = qa[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
2987
2996
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
2988
2997
|
};
|
|
2989
2998
|
i.forEach(l);
|
|
@@ -2991,23 +3000,23 @@ var Ua = function(e) {
|
|
|
2991
3000
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
2992
3001
|
if (s.has(e)) u(e);
|
|
2993
3002
|
else try {
|
|
2994
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
2995
|
-
|
|
3003
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Ga.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3004
|
+
Ga.set(e, c), a.set(e, l), o.push(e), c === 1 && i && Ka.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
2996
3005
|
} catch (t) {
|
|
2997
3006
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
2998
3007
|
}
|
|
2999
3008
|
});
|
|
3000
3009
|
};
|
|
3001
|
-
return u(t), s.clear(),
|
|
3010
|
+
return u(t), s.clear(), Ja++, function() {
|
|
3002
3011
|
o.forEach(function(e) {
|
|
3003
|
-
var t =
|
|
3004
|
-
|
|
3005
|
-
}),
|
|
3012
|
+
var t = Ga.get(e) - 1, i = a.get(e) - 1;
|
|
3013
|
+
Ga.set(e, t), a.set(e, i), t || (Ka.has(e) || e.removeAttribute(r), Ka.delete(e)), i || e.removeAttribute(n);
|
|
3014
|
+
}), Ja--, Ja || (Ga = /* @__PURE__ */ new WeakMap(), Ga = /* @__PURE__ */ new WeakMap(), Ka = /* @__PURE__ */ new WeakMap(), qa = {});
|
|
3006
3015
|
};
|
|
3007
|
-
},
|
|
3016
|
+
}, Qa = function(e, t, n) {
|
|
3008
3017
|
n === void 0 && (n = "data-aria-hidden");
|
|
3009
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3010
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3018
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Wa(e);
|
|
3019
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), Za(r, i, n, "aria-hidden")) : function() {
|
|
3011
3020
|
return null;
|
|
3012
3021
|
};
|
|
3013
3022
|
}, $ = function() {
|
|
@@ -3016,13 +3025,13 @@ var Ua = function(e) {
|
|
|
3016
3025
|
return e;
|
|
3017
3026
|
}, $.apply(this, arguments);
|
|
3018
3027
|
};
|
|
3019
|
-
function
|
|
3028
|
+
function $a(e, t) {
|
|
3020
3029
|
var n = {};
|
|
3021
3030
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3022
3031
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
3023
3032
|
return n;
|
|
3024
3033
|
}
|
|
3025
|
-
function
|
|
3034
|
+
function eo(e, t, n, r) {
|
|
3026
3035
|
function i(e) {
|
|
3027
3036
|
return e instanceof n ? e : new n(function(t) {
|
|
3028
3037
|
t(e);
|
|
@@ -3049,7 +3058,7 @@ function $a(e, t, n, r) {
|
|
|
3049
3058
|
c((r = r.apply(e, t || [])).next());
|
|
3050
3059
|
});
|
|
3051
3060
|
}
|
|
3052
|
-
function
|
|
3061
|
+
function to(e, t) {
|
|
3053
3062
|
var n = {
|
|
3054
3063
|
label: 0,
|
|
3055
3064
|
sent: function() {
|
|
@@ -3119,7 +3128,7 @@ function eo(e, t) {
|
|
|
3119
3128
|
};
|
|
3120
3129
|
}
|
|
3121
3130
|
}
|
|
3122
|
-
function
|
|
3131
|
+
function no(e, t) {
|
|
3123
3132
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3124
3133
|
if (!n) return e;
|
|
3125
3134
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3136,25 +3145,25 @@ function to(e, t) {
|
|
|
3136
3145
|
}
|
|
3137
3146
|
return a;
|
|
3138
3147
|
}
|
|
3139
|
-
function
|
|
3140
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3148
|
+
function ro() {
|
|
3149
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(no(arguments[t]));
|
|
3141
3150
|
return e;
|
|
3142
3151
|
}
|
|
3143
|
-
function
|
|
3152
|
+
function io(e, t, n) {
|
|
3144
3153
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
3145
3154
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3146
3155
|
}
|
|
3147
3156
|
//#endregion
|
|
3148
3157
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3149
|
-
var
|
|
3158
|
+
var ao = "right-scroll-bar-position", oo = "width-before-scroll-bar", so = "with-scroll-bars-hidden", co = "--removed-body-scroll-bar-size";
|
|
3150
3159
|
//#endregion
|
|
3151
3160
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3152
|
-
function
|
|
3161
|
+
function lo(e, t) {
|
|
3153
3162
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3154
3163
|
}
|
|
3155
3164
|
//#endregion
|
|
3156
3165
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3157
|
-
function
|
|
3166
|
+
function uo(e, t) {
|
|
3158
3167
|
var n = (0, F.useState)(function() {
|
|
3159
3168
|
return {
|
|
3160
3169
|
value: e,
|
|
@@ -3174,33 +3183,33 @@ function lo(e, t) {
|
|
|
3174
3183
|
}
|
|
3175
3184
|
//#endregion
|
|
3176
3185
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3177
|
-
var
|
|
3178
|
-
function
|
|
3179
|
-
var n =
|
|
3186
|
+
var fo = typeof window < "u" ? F.useLayoutEffect : F.useEffect, po = /* @__PURE__ */ new WeakMap();
|
|
3187
|
+
function mo(e, t) {
|
|
3188
|
+
var n = uo(t || null, function(t) {
|
|
3180
3189
|
return e.forEach(function(e) {
|
|
3181
|
-
return
|
|
3190
|
+
return lo(e, t);
|
|
3182
3191
|
});
|
|
3183
3192
|
});
|
|
3184
|
-
return
|
|
3185
|
-
var t =
|
|
3193
|
+
return fo(function() {
|
|
3194
|
+
var t = po.get(n);
|
|
3186
3195
|
if (t) {
|
|
3187
3196
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3188
3197
|
r.forEach(function(e) {
|
|
3189
|
-
i.has(e) ||
|
|
3198
|
+
i.has(e) || lo(e, null);
|
|
3190
3199
|
}), i.forEach(function(e) {
|
|
3191
|
-
r.has(e) ||
|
|
3200
|
+
r.has(e) || lo(e, a);
|
|
3192
3201
|
});
|
|
3193
3202
|
}
|
|
3194
|
-
|
|
3203
|
+
po.set(n, e);
|
|
3195
3204
|
}, [e]), n;
|
|
3196
3205
|
}
|
|
3197
3206
|
//#endregion
|
|
3198
3207
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3199
|
-
function
|
|
3208
|
+
function ho(e) {
|
|
3200
3209
|
return e;
|
|
3201
3210
|
}
|
|
3202
|
-
function
|
|
3203
|
-
t === void 0 && (t =
|
|
3211
|
+
function go(e, t) {
|
|
3212
|
+
t === void 0 && (t = ho);
|
|
3204
3213
|
var n = [], r = !1;
|
|
3205
3214
|
return {
|
|
3206
3215
|
read: function() {
|
|
@@ -3253,9 +3262,9 @@ function ho(e, t) {
|
|
|
3253
3262
|
}
|
|
3254
3263
|
};
|
|
3255
3264
|
}
|
|
3256
|
-
function
|
|
3265
|
+
function _o(e) {
|
|
3257
3266
|
e === void 0 && (e = {});
|
|
3258
|
-
var t =
|
|
3267
|
+
var t = go(null);
|
|
3259
3268
|
return t.options = $({
|
|
3260
3269
|
async: !0,
|
|
3261
3270
|
ssr: !1
|
|
@@ -3263,25 +3272,25 @@ function go(e) {
|
|
|
3263
3272
|
}
|
|
3264
3273
|
//#endregion
|
|
3265
3274
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3266
|
-
var
|
|
3267
|
-
var t = e.sideCar, n =
|
|
3275
|
+
var vo = function(e) {
|
|
3276
|
+
var t = e.sideCar, n = $a(e, ["sideCar"]);
|
|
3268
3277
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3269
3278
|
var r = t.read();
|
|
3270
3279
|
if (!r) throw Error("Sidecar medium not found");
|
|
3271
3280
|
return F.createElement(r, $({}, n));
|
|
3272
3281
|
};
|
|
3273
|
-
|
|
3274
|
-
function
|
|
3275
|
-
return e.useMedium(t),
|
|
3282
|
+
vo.isSideCarExport = !0;
|
|
3283
|
+
function yo(e, t) {
|
|
3284
|
+
return e.useMedium(t), vo;
|
|
3276
3285
|
}
|
|
3277
3286
|
//#endregion
|
|
3278
3287
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3279
|
-
var
|
|
3288
|
+
var bo = _o(), xo = function() {}, So = F.forwardRef(function(e, t) {
|
|
3280
3289
|
var n = F.useRef(null), r = F.useState({
|
|
3281
|
-
onScrollCapture:
|
|
3282
|
-
onWheelCapture:
|
|
3283
|
-
onTouchMoveCapture:
|
|
3284
|
-
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b =
|
|
3290
|
+
onScrollCapture: xo,
|
|
3291
|
+
onWheelCapture: xo,
|
|
3292
|
+
onTouchMoveCapture: xo
|
|
3293
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = $a(e, [
|
|
3285
3294
|
"forwardProps",
|
|
3286
3295
|
"children",
|
|
3287
3296
|
"className",
|
|
@@ -3295,9 +3304,9 @@ var yo = go(), bo = function() {}, xo = F.forwardRef(function(e, t) {
|
|
|
3295
3304
|
"allowPinchZoom",
|
|
3296
3305
|
"as",
|
|
3297
3306
|
"gapMode"
|
|
3298
|
-
]), x = f, S =
|
|
3307
|
+
]), x = f, S = mo([n, t]), C = $($({}, b), i);
|
|
3299
3308
|
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3300
|
-
sideCar:
|
|
3309
|
+
sideCar: bo,
|
|
3301
3310
|
removeScrollBar: l,
|
|
3302
3311
|
shards: d,
|
|
3303
3312
|
noRelative: p,
|
|
@@ -3312,47 +3321,47 @@ var yo = go(), bo = function() {}, xo = F.forwardRef(function(e, t) {
|
|
|
3312
3321
|
ref: S
|
|
3313
3322
|
}), s));
|
|
3314
3323
|
});
|
|
3315
|
-
|
|
3324
|
+
So.defaultProps = {
|
|
3316
3325
|
enabled: !0,
|
|
3317
3326
|
removeScrollBar: !0,
|
|
3318
3327
|
inert: !1
|
|
3319
|
-
},
|
|
3320
|
-
fullWidth:
|
|
3321
|
-
zeroRight:
|
|
3328
|
+
}, So.classNames = {
|
|
3329
|
+
fullWidth: oo,
|
|
3330
|
+
zeroRight: ao
|
|
3322
3331
|
};
|
|
3323
3332
|
//#endregion
|
|
3324
3333
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3325
|
-
var
|
|
3326
|
-
if (
|
|
3334
|
+
var Co, wo = function() {
|
|
3335
|
+
if (Co) return Co;
|
|
3327
3336
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3328
3337
|
};
|
|
3329
3338
|
//#endregion
|
|
3330
3339
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3331
|
-
function
|
|
3340
|
+
function To() {
|
|
3332
3341
|
if (!document) return null;
|
|
3333
3342
|
var e = document.createElement("style");
|
|
3334
3343
|
e.type = "text/css";
|
|
3335
|
-
var t =
|
|
3344
|
+
var t = wo();
|
|
3336
3345
|
return t && e.setAttribute("nonce", t), e;
|
|
3337
3346
|
}
|
|
3338
|
-
function
|
|
3347
|
+
function Eo(e, t) {
|
|
3339
3348
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3340
3349
|
}
|
|
3341
|
-
function
|
|
3350
|
+
function Do(e) {
|
|
3342
3351
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3343
3352
|
}
|
|
3344
|
-
var
|
|
3353
|
+
var Oo = function() {
|
|
3345
3354
|
var e = 0, t = null;
|
|
3346
3355
|
return {
|
|
3347
3356
|
add: function(n) {
|
|
3348
|
-
e == 0 && (t =
|
|
3357
|
+
e == 0 && (t = To()) && (Eo(t, n), Do(t)), e++;
|
|
3349
3358
|
},
|
|
3350
3359
|
remove: function() {
|
|
3351
3360
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3352
3361
|
}
|
|
3353
3362
|
};
|
|
3354
|
-
},
|
|
3355
|
-
var e =
|
|
3363
|
+
}, ko = function() {
|
|
3364
|
+
var e = Oo();
|
|
3356
3365
|
return function(t, n) {
|
|
3357
3366
|
F.useEffect(function() {
|
|
3358
3367
|
return e.add(t), function() {
|
|
@@ -3360,43 +3369,43 @@ var Do = function() {
|
|
|
3360
3369
|
};
|
|
3361
3370
|
}, [t && n]);
|
|
3362
3371
|
};
|
|
3363
|
-
},
|
|
3364
|
-
var e =
|
|
3372
|
+
}, Ao = function() {
|
|
3373
|
+
var e = ko();
|
|
3365
3374
|
return function(t) {
|
|
3366
3375
|
var n = t.styles, r = t.dynamic;
|
|
3367
3376
|
return e(n, r), null;
|
|
3368
3377
|
};
|
|
3369
|
-
},
|
|
3378
|
+
}, jo = {
|
|
3370
3379
|
left: 0,
|
|
3371
3380
|
top: 0,
|
|
3372
3381
|
right: 0,
|
|
3373
3382
|
gap: 0
|
|
3374
|
-
}, jo = function(e) {
|
|
3375
|
-
return parseInt(e || "", 10) || 0;
|
|
3376
3383
|
}, Mo = function(e) {
|
|
3384
|
+
return parseInt(e || "", 10) || 0;
|
|
3385
|
+
}, No = function(e) {
|
|
3377
3386
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3378
3387
|
return [
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3388
|
+
Mo(n),
|
|
3389
|
+
Mo(r),
|
|
3390
|
+
Mo(i)
|
|
3382
3391
|
];
|
|
3383
|
-
},
|
|
3384
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3385
|
-
var t =
|
|
3392
|
+
}, Po = function(e) {
|
|
3393
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return jo;
|
|
3394
|
+
var t = No(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3386
3395
|
return {
|
|
3387
3396
|
left: t[0],
|
|
3388
3397
|
top: t[1],
|
|
3389
3398
|
right: t[2],
|
|
3390
3399
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3391
3400
|
};
|
|
3392
|
-
},
|
|
3401
|
+
}, Fo = Ao(), Io = "data-scroll-locked", Lo = function(e, t, n, r) {
|
|
3393
3402
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3394
3403
|
return n === void 0 && (n = "margin"), `
|
|
3395
|
-
.${
|
|
3404
|
+
.${so} {
|
|
3396
3405
|
overflow: hidden ${r};
|
|
3397
3406
|
padding-right: ${s}px ${r};
|
|
3398
3407
|
}
|
|
3399
|
-
body[${
|
|
3408
|
+
body[${Io}] {
|
|
3400
3409
|
overflow: hidden ${r};
|
|
3401
3410
|
overscroll-behavior: contain;
|
|
3402
3411
|
${[
|
|
@@ -3413,122 +3422,122 @@ var Do = function() {
|
|
|
3413
3422
|
].filter(Boolean).join("")}
|
|
3414
3423
|
}
|
|
3415
3424
|
|
|
3416
|
-
.${
|
|
3425
|
+
.${ao} {
|
|
3417
3426
|
right: ${s}px ${r};
|
|
3418
3427
|
}
|
|
3419
3428
|
|
|
3420
|
-
.${
|
|
3429
|
+
.${oo} {
|
|
3421
3430
|
margin-right: ${s}px ${r};
|
|
3422
3431
|
}
|
|
3423
3432
|
|
|
3424
|
-
.${
|
|
3433
|
+
.${ao} .${ao} {
|
|
3425
3434
|
right: 0 ${r};
|
|
3426
3435
|
}
|
|
3427
3436
|
|
|
3428
|
-
.${
|
|
3437
|
+
.${oo} .${oo} {
|
|
3429
3438
|
margin-right: 0 ${r};
|
|
3430
3439
|
}
|
|
3431
3440
|
|
|
3432
|
-
body[${
|
|
3433
|
-
${
|
|
3441
|
+
body[${Io}] {
|
|
3442
|
+
${co}: ${s}px;
|
|
3434
3443
|
}
|
|
3435
3444
|
`;
|
|
3436
|
-
},
|
|
3445
|
+
}, Ro = function() {
|
|
3437
3446
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3438
3447
|
return isFinite(e) ? e : 0;
|
|
3439
|
-
},
|
|
3448
|
+
}, zo = function() {
|
|
3440
3449
|
F.useEffect(function() {
|
|
3441
|
-
return document.body.setAttribute(
|
|
3442
|
-
var e =
|
|
3443
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3450
|
+
return document.body.setAttribute(Io, (Ro() + 1).toString()), function() {
|
|
3451
|
+
var e = Ro() - 1;
|
|
3452
|
+
e <= 0 ? document.body.removeAttribute(Io) : document.body.setAttribute(Io, e.toString());
|
|
3444
3453
|
};
|
|
3445
3454
|
}, []);
|
|
3446
|
-
},
|
|
3455
|
+
}, Bo = function(e) {
|
|
3447
3456
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3448
|
-
|
|
3457
|
+
zo();
|
|
3449
3458
|
var a = F.useMemo(function() {
|
|
3450
|
-
return
|
|
3459
|
+
return Po(i);
|
|
3451
3460
|
}, [i]);
|
|
3452
|
-
return F.createElement(
|
|
3453
|
-
},
|
|
3461
|
+
return F.createElement(Fo, { styles: Lo(a, !t, i, n ? "" : "!important") });
|
|
3462
|
+
}, Vo = !1;
|
|
3454
3463
|
if (typeof window < "u") try {
|
|
3455
|
-
var
|
|
3456
|
-
return
|
|
3464
|
+
var Ho = Object.defineProperty({}, "passive", { get: function() {
|
|
3465
|
+
return Vo = !0, !0;
|
|
3457
3466
|
} });
|
|
3458
|
-
window.addEventListener("test",
|
|
3467
|
+
window.addEventListener("test", Ho, Ho), window.removeEventListener("test", Ho, Ho);
|
|
3459
3468
|
} catch {
|
|
3460
|
-
|
|
3469
|
+
Vo = !1;
|
|
3461
3470
|
}
|
|
3462
|
-
var
|
|
3471
|
+
var Uo = Vo ? { passive: !1 } : !1, Wo = function(e) {
|
|
3463
3472
|
return e.tagName === "TEXTAREA";
|
|
3464
|
-
},
|
|
3473
|
+
}, Go = function(e, t) {
|
|
3465
3474
|
if (!(e instanceof Element)) return !1;
|
|
3466
3475
|
var n = window.getComputedStyle(e);
|
|
3467
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3468
|
-
}, Go = function(e) {
|
|
3469
|
-
return Wo(e, "overflowY");
|
|
3476
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !Wo(e) && n[t] === "visible");
|
|
3470
3477
|
}, Ko = function(e) {
|
|
3471
|
-
return
|
|
3472
|
-
}, qo = function(e
|
|
3478
|
+
return Go(e, "overflowY");
|
|
3479
|
+
}, qo = function(e) {
|
|
3480
|
+
return Go(e, "overflowX");
|
|
3481
|
+
}, Jo = function(e, t) {
|
|
3473
3482
|
var n = t.ownerDocument, r = t;
|
|
3474
3483
|
do {
|
|
3475
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3476
|
-
var i =
|
|
3484
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), Zo(e, r)) {
|
|
3485
|
+
var i = Qo(e, r);
|
|
3477
3486
|
if (i[1] > i[2]) return !0;
|
|
3478
3487
|
}
|
|
3479
3488
|
r = r.parentNode;
|
|
3480
3489
|
} while (r && r !== n.body);
|
|
3481
3490
|
return !1;
|
|
3482
|
-
},
|
|
3491
|
+
}, Yo = function(e) {
|
|
3483
3492
|
return [
|
|
3484
3493
|
e.scrollTop,
|
|
3485
3494
|
e.scrollHeight,
|
|
3486
3495
|
e.clientHeight
|
|
3487
3496
|
];
|
|
3488
|
-
},
|
|
3497
|
+
}, Xo = function(e) {
|
|
3489
3498
|
return [
|
|
3490
3499
|
e.scrollLeft,
|
|
3491
3500
|
e.scrollWidth,
|
|
3492
3501
|
e.clientWidth
|
|
3493
3502
|
];
|
|
3494
|
-
}, Xo = function(e, t) {
|
|
3495
|
-
return e === "v" ? Go(t) : Ko(t);
|
|
3496
3503
|
}, Zo = function(e, t) {
|
|
3497
|
-
return e === "v" ?
|
|
3504
|
+
return e === "v" ? Ko(t) : qo(t);
|
|
3498
3505
|
}, Qo = function(e, t) {
|
|
3506
|
+
return e === "v" ? Yo(t) : Xo(t);
|
|
3507
|
+
}, $o = function(e, t) {
|
|
3499
3508
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3500
|
-
},
|
|
3501
|
-
var a =
|
|
3509
|
+
}, es = function(e, t, n, r, i) {
|
|
3510
|
+
var a = $o(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3502
3511
|
do {
|
|
3503
3512
|
if (!s) break;
|
|
3504
|
-
var p =
|
|
3505
|
-
(m || h) &&
|
|
3513
|
+
var p = Qo(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3514
|
+
(m || h) && Zo(e, s) && (d += h, f += m);
|
|
3506
3515
|
var g = s.parentNode;
|
|
3507
3516
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3508
3517
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3509
3518
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3510
|
-
}, es = function(e) {
|
|
3511
|
-
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3512
3519
|
}, ts = function(e) {
|
|
3513
|
-
return [e.
|
|
3520
|
+
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3514
3521
|
}, ns = function(e) {
|
|
3522
|
+
return [e.deltaX, e.deltaY];
|
|
3523
|
+
}, rs = function(e) {
|
|
3515
3524
|
return e && "current" in e ? e.current : e;
|
|
3516
|
-
},
|
|
3525
|
+
}, is = function(e, t) {
|
|
3517
3526
|
return e[0] === t[0] && e[1] === t[1];
|
|
3518
|
-
},
|
|
3527
|
+
}, as = function(e) {
|
|
3519
3528
|
return `
|
|
3520
3529
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3521
3530
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3522
3531
|
`;
|
|
3523
|
-
},
|
|
3524
|
-
function
|
|
3525
|
-
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(
|
|
3532
|
+
}, os = 0, ss = [];
|
|
3533
|
+
function cs(e) {
|
|
3534
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(os++)[0], a = F.useState(Ao)[0], o = F.useRef(e);
|
|
3526
3535
|
F.useEffect(function() {
|
|
3527
3536
|
o.current = e;
|
|
3528
3537
|
}, [e]), F.useEffect(function() {
|
|
3529
3538
|
if (e.inert) {
|
|
3530
3539
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3531
|
-
var t =
|
|
3540
|
+
var t = io([e.lockRef.current], (e.shards || []).map(rs), !0).filter(Boolean);
|
|
3532
3541
|
return t.forEach(function(e) {
|
|
3533
3542
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3534
3543
|
}), function() {
|
|
@@ -3544,28 +3553,28 @@ function ss(e) {
|
|
|
3544
3553
|
]);
|
|
3545
3554
|
var s = F.useCallback(function(e, t) {
|
|
3546
3555
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3547
|
-
var i =
|
|
3556
|
+
var i = ts(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";
|
|
3548
3557
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3549
3558
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3550
3559
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3551
|
-
var m =
|
|
3560
|
+
var m = Jo(d, u);
|
|
3552
3561
|
if (!m) return !0;
|
|
3553
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3562
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = Jo(d, u)), !m) return !1;
|
|
3554
3563
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3555
3564
|
var h = r.current || l;
|
|
3556
|
-
return
|
|
3565
|
+
return es(h, t, e, h === "h" ? s : c, !0);
|
|
3557
3566
|
}, []), c = F.useCallback(function(e) {
|
|
3558
3567
|
var n = e;
|
|
3559
|
-
if (!(!
|
|
3560
|
-
var r = "deltaY" in n ?
|
|
3561
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3568
|
+
if (!(!ss.length || ss[ss.length - 1] !== a)) {
|
|
3569
|
+
var r = "deltaY" in n ? ns(n) : ts(n), i = t.current.filter(function(e) {
|
|
3570
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && is(e.delta, r);
|
|
3562
3571
|
})[0];
|
|
3563
3572
|
if (i && i.should) {
|
|
3564
3573
|
n.cancelable && n.preventDefault();
|
|
3565
3574
|
return;
|
|
3566
3575
|
}
|
|
3567
3576
|
if (!i) {
|
|
3568
|
-
var c = (o.current.shards || []).map(
|
|
3577
|
+
var c = (o.current.shards || []).map(rs).filter(Boolean).filter(function(e) {
|
|
3569
3578
|
return e.contains(n.target);
|
|
3570
3579
|
});
|
|
3571
3580
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3577,7 +3586,7 @@ function ss(e) {
|
|
|
3577
3586
|
delta: n,
|
|
3578
3587
|
target: r,
|
|
3579
3588
|
should: i,
|
|
3580
|
-
shadowParent:
|
|
3589
|
+
shadowParent: ls(r)
|
|
3581
3590
|
};
|
|
3582
3591
|
t.current.push(a), setTimeout(function() {
|
|
3583
3592
|
t.current = t.current.filter(function(e) {
|
|
@@ -3585,56 +3594,56 @@ function ss(e) {
|
|
|
3585
3594
|
});
|
|
3586
3595
|
}, 1);
|
|
3587
3596
|
}, []), u = F.useCallback(function(e) {
|
|
3588
|
-
n.current =
|
|
3597
|
+
n.current = ts(e), r.current = void 0;
|
|
3589
3598
|
}, []), d = F.useCallback(function(t) {
|
|
3590
|
-
l(t.type,
|
|
3599
|
+
l(t.type, ns(t), t.target, s(t, e.lockRef.current));
|
|
3591
3600
|
}, []), f = F.useCallback(function(t) {
|
|
3592
|
-
l(t.type,
|
|
3601
|
+
l(t.type, ts(t), t.target, s(t, e.lockRef.current));
|
|
3593
3602
|
}, []);
|
|
3594
3603
|
F.useEffect(function() {
|
|
3595
|
-
return
|
|
3604
|
+
return ss.push(a), e.setCallbacks({
|
|
3596
3605
|
onScrollCapture: d,
|
|
3597
3606
|
onWheelCapture: d,
|
|
3598
3607
|
onTouchMoveCapture: f
|
|
3599
|
-
}), document.addEventListener("wheel", c,
|
|
3600
|
-
|
|
3608
|
+
}), document.addEventListener("wheel", c, Uo), document.addEventListener("touchmove", c, Uo), document.addEventListener("touchstart", u, Uo), function() {
|
|
3609
|
+
ss = ss.filter(function(e) {
|
|
3601
3610
|
return e !== a;
|
|
3602
|
-
}), document.removeEventListener("wheel", c,
|
|
3611
|
+
}), document.removeEventListener("wheel", c, Uo), document.removeEventListener("touchmove", c, Uo), document.removeEventListener("touchstart", u, Uo);
|
|
3603
3612
|
};
|
|
3604
3613
|
}, []);
|
|
3605
3614
|
var p = e.removeScrollBar, m = e.inert;
|
|
3606
|
-
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles:
|
|
3615
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: as(i) }) : null, p ? F.createElement(Bo, {
|
|
3607
3616
|
noRelative: e.noRelative,
|
|
3608
3617
|
gapMode: e.gapMode
|
|
3609
3618
|
}) : null);
|
|
3610
3619
|
}
|
|
3611
|
-
function
|
|
3620
|
+
function ls(e) {
|
|
3612
3621
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3613
3622
|
return t;
|
|
3614
3623
|
}
|
|
3615
3624
|
//#endregion
|
|
3616
3625
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3617
|
-
var
|
|
3618
|
-
return F.createElement(
|
|
3626
|
+
var us = yo(bo, cs), ds = F.forwardRef(function(e, t) {
|
|
3627
|
+
return F.createElement(So, $({}, e, {
|
|
3619
3628
|
ref: t,
|
|
3620
|
-
sideCar:
|
|
3629
|
+
sideCar: us
|
|
3621
3630
|
}));
|
|
3622
3631
|
});
|
|
3623
|
-
|
|
3632
|
+
ds.classNames = So.classNames;
|
|
3624
3633
|
//#endregion
|
|
3625
3634
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3626
|
-
var
|
|
3627
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3635
|
+
var fs = "Popover", [ps, ms] = fn(fs, [pa]), hs = pa(), [gs, _s] = ps(fs), vs = (e) => {
|
|
3636
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = hs(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = Va({
|
|
3628
3637
|
prop: r,
|
|
3629
3638
|
defaultProp: i ?? !1,
|
|
3630
3639
|
onChange: a,
|
|
3631
|
-
caller:
|
|
3640
|
+
caller: fs
|
|
3632
3641
|
});
|
|
3633
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3642
|
+
return /* @__PURE__ */ (0, I.jsx)(ka, {
|
|
3634
3643
|
...s,
|
|
3635
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3644
|
+
children: /* @__PURE__ */ (0, I.jsx)(gs, {
|
|
3636
3645
|
scope: t,
|
|
3637
|
-
contentId:
|
|
3646
|
+
contentId: ir(),
|
|
3638
3647
|
triggerRef: c,
|
|
3639
3648
|
open: d,
|
|
3640
3649
|
onOpenChange: f,
|
|
@@ -3647,42 +3656,42 @@ var ds = "Popover", [fs, ps] = dn(ds, [fa]), ms = fa(), [hs, gs] = fs(ds), _s =
|
|
|
3647
3656
|
})
|
|
3648
3657
|
});
|
|
3649
3658
|
};
|
|
3650
|
-
|
|
3651
|
-
var
|
|
3652
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3653
|
-
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(
|
|
3659
|
+
vs.displayName = fs;
|
|
3660
|
+
var ys = "PopoverAnchor", bs = F.forwardRef((e, t) => {
|
|
3661
|
+
let { __scopePopover: n, ...r } = e, i = _s(ys, n), a = hs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3662
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(Aa, {
|
|
3654
3663
|
...a,
|
|
3655
3664
|
...r,
|
|
3656
3665
|
ref: t
|
|
3657
3666
|
});
|
|
3658
3667
|
});
|
|
3659
|
-
|
|
3660
|
-
var
|
|
3661
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3668
|
+
bs.displayName = ys;
|
|
3669
|
+
var xs = "PopoverTrigger", Ss = F.forwardRef((e, t) => {
|
|
3670
|
+
let { __scopePopover: n, ...r } = e, i = _s(xs, n), a = hs(n), o = V(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3662
3671
|
type: "button",
|
|
3663
3672
|
"aria-haspopup": "dialog",
|
|
3664
3673
|
"aria-expanded": i.open,
|
|
3665
3674
|
"aria-controls": i.contentId,
|
|
3666
|
-
"data-state":
|
|
3675
|
+
"data-state": Ls(i.open),
|
|
3667
3676
|
...r,
|
|
3668
3677
|
ref: o,
|
|
3669
3678
|
onClick: B(e.onClick, i.onOpenToggle)
|
|
3670
3679
|
});
|
|
3671
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(
|
|
3680
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(Aa, {
|
|
3672
3681
|
asChild: !0,
|
|
3673
3682
|
...a,
|
|
3674
3683
|
children: s
|
|
3675
3684
|
});
|
|
3676
3685
|
});
|
|
3677
|
-
|
|
3678
|
-
var
|
|
3679
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3680
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3686
|
+
Ss.displayName = xs;
|
|
3687
|
+
var Cs = "PopoverPortal", [ws, Ts] = ps(Cs, { forceMount: void 0 }), Es = (e) => {
|
|
3688
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = _s(Cs, t);
|
|
3689
|
+
return /* @__PURE__ */ (0, I.jsx)(ws, {
|
|
3681
3690
|
scope: t,
|
|
3682
3691
|
forceMount: n,
|
|
3683
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3692
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ia, {
|
|
3684
3693
|
present: n || a.open,
|
|
3685
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3694
|
+
children: /* @__PURE__ */ (0, I.jsx)(Pa, {
|
|
3686
3695
|
asChild: !0,
|
|
3687
3696
|
container: i,
|
|
3688
3697
|
children: r
|
|
@@ -3690,30 +3699,30 @@ var Ss = "PopoverPortal", [Cs, ws] = fs(Ss, { forceMount: void 0 }), Ts = (e) =>
|
|
|
3690
3699
|
})
|
|
3691
3700
|
});
|
|
3692
3701
|
};
|
|
3693
|
-
|
|
3694
|
-
var
|
|
3695
|
-
let n =
|
|
3696
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3702
|
+
Es.displayName = Cs;
|
|
3703
|
+
var Ds = "PopoverContent", Os = F.forwardRef((e, t) => {
|
|
3704
|
+
let n = Ts(Ds, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = _s(Ds, e.__scopePopover);
|
|
3705
|
+
return /* @__PURE__ */ (0, I.jsx)(Ia, {
|
|
3697
3706
|
present: r || a.open,
|
|
3698
|
-
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(
|
|
3707
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(As, {
|
|
3699
3708
|
...i,
|
|
3700
3709
|
ref: t
|
|
3701
|
-
}) : /* @__PURE__ */ (0, I.jsx)(
|
|
3710
|
+
}) : /* @__PURE__ */ (0, I.jsx)(js, {
|
|
3702
3711
|
...i,
|
|
3703
3712
|
ref: t
|
|
3704
3713
|
})
|
|
3705
3714
|
});
|
|
3706
3715
|
});
|
|
3707
|
-
|
|
3708
|
-
var
|
|
3709
|
-
let n =
|
|
3716
|
+
Os.displayName = Ds;
|
|
3717
|
+
var ks = /* @__PURE__ */ mn("PopoverContent.RemoveScroll"), As = F.forwardRef((e, t) => {
|
|
3718
|
+
let n = _s(Ds, e.__scopePopover), r = F.useRef(null), i = V(t, r), a = F.useRef(!1);
|
|
3710
3719
|
return F.useEffect(() => {
|
|
3711
3720
|
let e = r.current;
|
|
3712
|
-
if (e) return
|
|
3713
|
-
}, []), /* @__PURE__ */ (0, I.jsx)(
|
|
3714
|
-
as:
|
|
3721
|
+
if (e) return Qa(e);
|
|
3722
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(ds, {
|
|
3723
|
+
as: ks,
|
|
3715
3724
|
allowPinchZoom: !0,
|
|
3716
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3725
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ms, {
|
|
3717
3726
|
...e,
|
|
3718
3727
|
ref: i,
|
|
3719
3728
|
trapFocus: n.open,
|
|
@@ -3728,9 +3737,9 @@ var Os = /* @__PURE__ */ pn("PopoverContent.RemoveScroll"), ks = F.forwardRef((e
|
|
|
3728
3737
|
onFocusOutside: B(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3729
3738
|
})
|
|
3730
3739
|
});
|
|
3731
|
-
}),
|
|
3732
|
-
let n =
|
|
3733
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3740
|
+
}), js = F.forwardRef((e, t) => {
|
|
3741
|
+
let n = _s(Ds, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3742
|
+
return /* @__PURE__ */ (0, I.jsx)(Ms, {
|
|
3734
3743
|
...e,
|
|
3735
3744
|
ref: t,
|
|
3736
3745
|
trapFocus: !1,
|
|
@@ -3744,15 +3753,15 @@ var Os = /* @__PURE__ */ pn("PopoverContent.RemoveScroll"), ks = F.forwardRef((e
|
|
|
3744
3753
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3745
3754
|
}
|
|
3746
3755
|
});
|
|
3747
|
-
}),
|
|
3748
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3749
|
-
return
|
|
3756
|
+
}), Ms = F.forwardRef((e, t) => {
|
|
3757
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = _s(Ds, n), p = hs(n);
|
|
3758
|
+
return Ln(), /* @__PURE__ */ (0, I.jsx)(Un, {
|
|
3750
3759
|
asChild: !0,
|
|
3751
3760
|
loop: !0,
|
|
3752
3761
|
trapped: r,
|
|
3753
3762
|
onMountAutoFocus: i,
|
|
3754
3763
|
onUnmountAutoFocus: a,
|
|
3755
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3764
|
+
children: /* @__PURE__ */ (0, I.jsx)(kn, {
|
|
3756
3765
|
asChild: !0,
|
|
3757
3766
|
disableOutsidePointerEvents: o,
|
|
3758
3767
|
onInteractOutside: u,
|
|
@@ -3760,8 +3769,8 @@ var Os = /* @__PURE__ */ pn("PopoverContent.RemoveScroll"), ks = F.forwardRef((e
|
|
|
3760
3769
|
onPointerDownOutside: c,
|
|
3761
3770
|
onFocusOutside: l,
|
|
3762
3771
|
onDismiss: () => f.onOpenChange(!1),
|
|
3763
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3764
|
-
"data-state":
|
|
3772
|
+
children: /* @__PURE__ */ (0, I.jsx)(ja, {
|
|
3773
|
+
"data-state": Ls(f.open),
|
|
3765
3774
|
role: "dialog",
|
|
3766
3775
|
id: f.contentId,
|
|
3767
3776
|
...p,
|
|
@@ -3778,8 +3787,8 @@ var Os = /* @__PURE__ */ pn("PopoverContent.RemoveScroll"), ks = F.forwardRef((e
|
|
|
3778
3787
|
})
|
|
3779
3788
|
})
|
|
3780
3789
|
});
|
|
3781
|
-
}),
|
|
3782
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3790
|
+
}), Ns = "PopoverClose", Ps = F.forwardRef((e, t) => {
|
|
3791
|
+
let { __scopePopover: n, ...r } = e, i = _s(Ns, n);
|
|
3783
3792
|
return /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3784
3793
|
type: "button",
|
|
3785
3794
|
...r,
|
|
@@ -3787,36 +3796,36 @@ var Os = /* @__PURE__ */ pn("PopoverContent.RemoveScroll"), ks = F.forwardRef((e
|
|
|
3787
3796
|
onClick: B(e.onClick, () => i.onOpenChange(!1))
|
|
3788
3797
|
});
|
|
3789
3798
|
});
|
|
3790
|
-
|
|
3791
|
-
var
|
|
3792
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3793
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3799
|
+
Ps.displayName = Ns;
|
|
3800
|
+
var Fs = "PopoverArrow", Is = F.forwardRef((e, t) => {
|
|
3801
|
+
let { __scopePopover: n, ...r } = e, i = hs(n);
|
|
3802
|
+
return /* @__PURE__ */ (0, I.jsx)(Ma, {
|
|
3794
3803
|
...i,
|
|
3795
3804
|
...r,
|
|
3796
3805
|
ref: t
|
|
3797
3806
|
});
|
|
3798
3807
|
});
|
|
3799
|
-
|
|
3800
|
-
function
|
|
3808
|
+
Is.displayName = Fs;
|
|
3809
|
+
function Ls(e) {
|
|
3801
3810
|
return e ? "open" : "closed";
|
|
3802
3811
|
}
|
|
3803
|
-
var
|
|
3812
|
+
var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(Rs, {
|
|
3804
3813
|
defaultOpen: n,
|
|
3805
3814
|
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3806
3815
|
className: "flex justify-center",
|
|
3807
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3816
|
+
children: /* @__PURE__ */ (0, I.jsx)(zs, {
|
|
3808
3817
|
asChild: !0,
|
|
3809
3818
|
children: t
|
|
3810
3819
|
})
|
|
3811
|
-
}), /* @__PURE__ */ (0, I.jsxs)(
|
|
3820
|
+
}), /* @__PURE__ */ (0, I.jsxs)(Bs, {
|
|
3812
3821
|
className: "sid-popover__container",
|
|
3813
3822
|
sideOffset: 10,
|
|
3814
3823
|
side: "bottom",
|
|
3815
|
-
children: [e, /* @__PURE__ */ (0, I.jsx)(
|
|
3824
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)(Vs, { className: "sid-popover__caret" })]
|
|
3816
3825
|
})]
|
|
3817
|
-
}),
|
|
3818
|
-
let n =
|
|
3819
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3826
|
+
}), Us = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3827
|
+
let n = De();
|
|
3828
|
+
return /* @__PURE__ */ (0, I.jsx)(Hs, {
|
|
3820
3829
|
initialVisibility: t,
|
|
3821
3830
|
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3822
3831
|
type: "button",
|
|
@@ -3829,11 +3838,11 @@ var Ls = _s, Rs = xs, zs = Ds, Bs = Fs, Vs = ({ message: e, trigger: t, initialV
|
|
|
3829
3838
|
context: n
|
|
3830
3839
|
}),
|
|
3831
3840
|
"\xA0",
|
|
3832
|
-
/* @__PURE__ */ (0, I.jsx)(
|
|
3841
|
+
/* @__PURE__ */ (0, I.jsx)(wt, { verificationService: e })
|
|
3833
3842
|
] })
|
|
3834
3843
|
});
|
|
3835
|
-
},
|
|
3836
|
-
let t =
|
|
3844
|
+
}, Ws = ({ verificationService: e }) => {
|
|
3845
|
+
let t = r(() => e.programTheme.remainingRewardCodes, null);
|
|
3837
3846
|
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3838
3847
|
className: "sid-rewards-remaining",
|
|
3839
3848
|
role: "note",
|
|
@@ -3847,11 +3856,11 @@ var Ls = _s, Rs = xs, zs = Ds, Bs = Fs, Vs = ({ message: e, trigger: t, initialV
|
|
|
3847
3856
|
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3848
3857
|
]
|
|
3849
3858
|
}) : null;
|
|
3850
|
-
},
|
|
3851
|
-
let { verificationResponse: n } = e, r =
|
|
3859
|
+
}, Gs = (e) => e !== void 0, Ks = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3860
|
+
let { verificationResponse: n } = e, r = Gs(n) ? me(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3852
3861
|
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3853
3862
|
className: "sid-personal-info-header",
|
|
3854
|
-
children: /* @__PURE__ */ (0, I.jsxs)(
|
|
3863
|
+
children: /* @__PURE__ */ (0, I.jsxs)(ln, {
|
|
3855
3864
|
verificationService: e,
|
|
3856
3865
|
title: /* @__PURE__ */ (0, I.jsx)(P, {
|
|
3857
3866
|
id: i,
|
|
@@ -3865,7 +3874,7 @@ var Ls = _s, Rs = xs, zs = Ds, Bs = Fs, Vs = ({ message: e, trigger: t, initialV
|
|
|
3865
3874
|
}),
|
|
3866
3875
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3867
3876
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3868
|
-
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(
|
|
3877
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Us, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)(Ws, { verificationService: e })] })
|
|
3869
3878
|
}),
|
|
3870
3879
|
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3871
3880
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
@@ -3874,15 +3883,15 @@ var Ls = _s, Rs = xs, zs = Ds, Bs = Fs, Vs = ({ message: e, trigger: t, initialV
|
|
|
3874
3883
|
]
|
|
3875
3884
|
})
|
|
3876
3885
|
});
|
|
3877
|
-
},
|
|
3878
|
-
let { isEmbedded: i } =
|
|
3886
|
+
}, qs = () => ({ isEmbedded: !!S("verificationIframeUid") }), Js = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3887
|
+
let { isEmbedded: i } = qs();
|
|
3879
3888
|
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3880
3889
|
className: `sid-layout sid-layout--${e}`,
|
|
3881
3890
|
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3882
3891
|
className: "sid-layout__container",
|
|
3883
3892
|
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3884
3893
|
className: "sid-layout__content",
|
|
3885
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3894
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ks, {
|
|
3886
3895
|
verificationService: n,
|
|
3887
3896
|
classNameIdentifier: "landing"
|
|
3888
3897
|
})
|
|
@@ -3895,27 +3904,27 @@ var Ls = _s, Rs = xs, zs = Ds, Bs = Fs, Vs = ({ message: e, trigger: t, initialV
|
|
|
3895
3904
|
})]
|
|
3896
3905
|
})
|
|
3897
3906
|
});
|
|
3898
|
-
},
|
|
3907
|
+
}, Ys = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3899
3908
|
className: "sid sid-form-wrapper",
|
|
3900
3909
|
children: e
|
|
3901
|
-
}),
|
|
3902
|
-
let o =
|
|
3910
|
+
}), Xs = ({ locale: t, messages: n, programTheme: r, verificationService: i, programId: a }) => {
|
|
3911
|
+
let o = Xe(), s = E(), c = Se() ?? r, l = Ce(Te, pe), u = (0, F.useMemo)(() => l ? {
|
|
3903
3912
|
...i.verificationResponse,
|
|
3904
3913
|
...l
|
|
3905
3914
|
} : i.verificationResponse, [l, i.verificationResponse]), f = (0, F.useMemo)(() => ({
|
|
3906
3915
|
...i,
|
|
3907
3916
|
programTheme: c,
|
|
3908
3917
|
verificationResponse: u,
|
|
3909
|
-
formValidationOptions:
|
|
3918
|
+
formValidationOptions: xt(c, u, i.viewModel)
|
|
3910
3919
|
}), [
|
|
3911
3920
|
i,
|
|
3912
3921
|
c,
|
|
3913
3922
|
u
|
|
3914
|
-
]), p = c.themeChoices?.landingPage.layout || "center", { renderAs: m } = s, h =
|
|
3923
|
+
]), p = c.themeChoices?.landingPage.layout || "center", { renderAs: m } = s, h = Qe();
|
|
3915
3924
|
F.useEffect(() => {
|
|
3916
3925
|
try {
|
|
3917
3926
|
if (h && f && f.viewModel) {
|
|
3918
|
-
let e = (0,
|
|
3927
|
+
let e = (0, gt.default)(h);
|
|
3919
3928
|
O(y.flags, e);
|
|
3920
3929
|
let t = C(f.viewModel.metadata || {}, (t) => {
|
|
3921
3930
|
t.flags = e;
|
|
@@ -3935,7 +3944,7 @@ var Ls = _s, Rs = xs, zs = Ds, Bs = Fs, Vs = ({ message: e, trigger: t, initialV
|
|
|
3935
3944
|
key: f.verificationResponse.verificationId,
|
|
3936
3945
|
locale: f.verificationResponse.locale,
|
|
3937
3946
|
segment: f.verificationResponse.segment,
|
|
3938
|
-
installType:
|
|
3947
|
+
installType: M()
|
|
3939
3948
|
},
|
|
3940
3949
|
program: { key: a }
|
|
3941
3950
|
};
|
|
@@ -3946,29 +3955,29 @@ var Ls = _s, Rs = xs, zs = Ds, Bs = Fs, Vs = ({ message: e, trigger: t, initialV
|
|
|
3946
3955
|
E()._launchDarklyFlagCb(h);
|
|
3947
3956
|
} catch {}
|
|
3948
3957
|
}, [h]);
|
|
3949
|
-
let g =
|
|
3950
|
-
return /* @__PURE__ */ (0, I.jsx)(
|
|
3958
|
+
let g = Ce(Te, fe);
|
|
3959
|
+
return /* @__PURE__ */ (0, I.jsx)(ie, {
|
|
3951
3960
|
locale: "en",
|
|
3952
3961
|
messages: {
|
|
3953
3962
|
...n,
|
|
3954
|
-
...(0,
|
|
3955
|
-
...(0,
|
|
3963
|
+
...(0, lt.default)(T(t)),
|
|
3964
|
+
...(0, lt.default)(g?.[t] ?? {})
|
|
3956
3965
|
},
|
|
3957
|
-
textComponent:
|
|
3958
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3966
|
+
textComponent: sn,
|
|
3967
|
+
children: /* @__PURE__ */ (0, I.jsx)(bt, {
|
|
3959
3968
|
themeChoices: c.themeChoices,
|
|
3960
3969
|
customCssFromOptions: E().customCss,
|
|
3961
3970
|
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3962
|
-
className: `${
|
|
3963
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3971
|
+
className: `${_t.default.isRtlLang(_(t)) ? "sid-rtl" : "sid-ltr"} sid-locale-${t}`,
|
|
3972
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ys, { children: /* @__PURE__ */ (0, I.jsx)(Js, {
|
|
3964
3973
|
layout: p,
|
|
3965
3974
|
verificationService: f,
|
|
3966
3975
|
renderAsLandingPage: m === "landingPage",
|
|
3967
3976
|
children: /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
3968
|
-
fallback: /* @__PURE__ */ (0, I.jsx)(
|
|
3969
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
3977
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(pt, { step: f.loadingStep }),
|
|
3978
|
+
children: /* @__PURE__ */ (0, I.jsx)(st, {
|
|
3970
3979
|
i18n: e,
|
|
3971
|
-
children: f.isLoading ? /* @__PURE__ */ (0, I.jsx)(
|
|
3980
|
+
children: f.isLoading ? /* @__PURE__ */ (0, I.jsx)(pt, { step: f.loadingStep }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!E().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(cn, { verificationService: f }), /* @__PURE__ */ (0, I.jsx)(on, {
|
|
3972
3981
|
stepToLoad: f.overrideStep || f.verificationResponse.currentStep,
|
|
3973
3982
|
verificationService: f
|
|
3974
3983
|
})] })
|
|
@@ -3978,35 +3987,35 @@ var Ls = _s, Rs = xs, zs = Ds, Bs = Fs, Vs = ({ message: e, trigger: t, initialV
|
|
|
3978
3987
|
})
|
|
3979
3988
|
})
|
|
3980
3989
|
}, t);
|
|
3981
|
-
},
|
|
3990
|
+
}, Zs = () => {
|
|
3982
3991
|
let e = null;
|
|
3983
3992
|
document.addEventListener("keydown", (t) => {
|
|
3984
3993
|
if (t.key !== "Tab") return;
|
|
3985
3994
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3986
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3995
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (ge({
|
|
3987
3996
|
type: "focus",
|
|
3988
3997
|
focusOn: "firstElement"
|
|
3989
3998
|
}), t.preventDefault());
|
|
3990
3999
|
}), window.addEventListener("message", (t) => {
|
|
3991
4000
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
3992
|
-
}),
|
|
4001
|
+
}), ge({
|
|
3993
4002
|
type: "focus",
|
|
3994
4003
|
focusOn: "firstElement"
|
|
3995
4004
|
});
|
|
3996
|
-
},
|
|
4005
|
+
}, Qs = () => {
|
|
3997
4006
|
window.addEventListener("message", (e) => {
|
|
3998
|
-
e.data.isInLightBox === "true" &&
|
|
4007
|
+
e.data.isInLightBox === "true" && Zs();
|
|
3999
4008
|
});
|
|
4000
|
-
},
|
|
4009
|
+
}, $s = class extends F.Component {
|
|
4001
4010
|
verificationService;
|
|
4002
4011
|
constructor(e) {
|
|
4003
4012
|
super(e), d.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? d.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : d.info("No trackingId to associate with the verification request");
|
|
4004
4013
|
}
|
|
4005
4014
|
componentDidMount() {
|
|
4006
|
-
if (m(),
|
|
4015
|
+
if (m(), Qs(), ze((e) => {
|
|
4007
4016
|
switch (e.data.action) {
|
|
4008
4017
|
case "setViewModel":
|
|
4009
|
-
|
|
4018
|
+
Oe(e.data.viewModel, {
|
|
4010
4019
|
partial: !0,
|
|
4011
4020
|
metadataCheck: !0,
|
|
4012
4021
|
externalUserIdCheck: !0
|
|
@@ -4017,10 +4026,10 @@ var Ls = _s, Rs = xs, zs = Ds, Bs = Fs, Vs = ({ message: e, trigger: t, initialV
|
|
|
4017
4026
|
break;
|
|
4018
4027
|
default:
|
|
4019
4028
|
}
|
|
4020
|
-
}),
|
|
4029
|
+
}), qe()) d.info("Mocking loading screen. Not fetching new verification request.");
|
|
4021
4030
|
else {
|
|
4022
4031
|
d.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4023
|
-
let e =
|
|
4032
|
+
let e = r(() => this.props.verificationService.verificationResponse.segment);
|
|
4024
4033
|
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4025
4034
|
}
|
|
4026
4035
|
}
|
|
@@ -4029,16 +4038,16 @@ var Ls = _s, Rs = xs, zs = Ds, Bs = Fs, Vs = ({ message: e, trigger: t, initialV
|
|
|
4029
4038
|
this.props.messages && (n = this.props.messages);
|
|
4030
4039
|
let r = {
|
|
4031
4040
|
...n,
|
|
4032
|
-
...(0,
|
|
4041
|
+
...(0, lt.default)(T(t))
|
|
4033
4042
|
};
|
|
4034
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return d.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(
|
|
4043
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return d.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(ie, {
|
|
4035
4044
|
locale: "en",
|
|
4036
4045
|
messages: r,
|
|
4037
|
-
textComponent:
|
|
4038
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4046
|
+
textComponent: sn,
|
|
4047
|
+
children: /* @__PURE__ */ (0, I.jsx)(pt, {})
|
|
4039
4048
|
}, t);
|
|
4040
4049
|
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
4041
|
-
return d.info("NewVerificationComponent: verificationResponse, viewModel", a, e), d.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, I.jsx)(
|
|
4050
|
+
return d.info("NewVerificationComponent: verificationResponse, viewModel", a, e), d.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, I.jsx)(Xs, {
|
|
4042
4051
|
locale: t,
|
|
4043
4052
|
messages: n,
|
|
4044
4053
|
programTheme: i,
|
|
@@ -4046,63 +4055,63 @@ var Ls = _s, Rs = xs, zs = Ds, Bs = Fs, Vs = ({ message: e, trigger: t, initialV
|
|
|
4046
4055
|
programId: this.props.programId
|
|
4047
4056
|
});
|
|
4048
4057
|
}
|
|
4049
|
-
},
|
|
4058
|
+
}, ec = Ae((e, t) => ({ ...e }), (e, t) => ({
|
|
4050
4059
|
dispatch: e,
|
|
4051
|
-
fetchNewVerificationRequest:
|
|
4052
|
-
fetchExistingVerificationRequest:
|
|
4053
|
-
updateViewModel:
|
|
4054
|
-
updateLocale:
|
|
4055
|
-
updateProgramTheme:
|
|
4056
|
-
updateFieldValidationErrors:
|
|
4057
|
-
resetState:
|
|
4060
|
+
fetchNewVerificationRequest: Ie(e),
|
|
4061
|
+
fetchExistingVerificationRequest: xe(e),
|
|
4062
|
+
updateViewModel: ce(e),
|
|
4063
|
+
updateLocale: ve(e, t.programId),
|
|
4064
|
+
updateProgramTheme: le(e),
|
|
4065
|
+
updateFieldValidationErrors: Fe(e),
|
|
4066
|
+
resetState: _e(e)
|
|
4058
4067
|
}), (e, t, n) => {
|
|
4059
4068
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4060
4069
|
return {
|
|
4061
4070
|
verificationService: {
|
|
4062
4071
|
...e,
|
|
4063
4072
|
...i,
|
|
4064
|
-
submitStep:
|
|
4073
|
+
submitStep: se(r, a)
|
|
4065
4074
|
},
|
|
4066
4075
|
messages: e.messages,
|
|
4067
4076
|
...n
|
|
4068
4077
|
};
|
|
4069
|
-
})(
|
|
4078
|
+
})($s), tc = (e) => ({
|
|
4070
4079
|
kind: "program",
|
|
4071
4080
|
key: e
|
|
4072
|
-
}),
|
|
4081
|
+
}), nc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)(Ze, {
|
|
4073
4082
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4074
|
-
context:
|
|
4075
|
-
flags:
|
|
4083
|
+
context: tc(e),
|
|
4084
|
+
flags: $e,
|
|
4076
4085
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4077
4086
|
options: { streaming: !1 },
|
|
4078
4087
|
children: t
|
|
4079
|
-
}),
|
|
4080
|
-
O(y.jslibVersionActual,
|
|
4081
|
-
var
|
|
4088
|
+
}), rc = Pe();
|
|
4089
|
+
O(y.jslibVersionActual, r(() => te(), "?")), O(y.clientVersion, r(() => te(), "?"));
|
|
4090
|
+
var ic = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4082
4091
|
try {
|
|
4083
|
-
|
|
4092
|
+
de();
|
|
4084
4093
|
} catch (e) {
|
|
4085
4094
|
d.warn("Failed to add predefined hooks", e);
|
|
4086
4095
|
}
|
|
4087
4096
|
return (0, F.useEffect)(() => {
|
|
4088
4097
|
ee();
|
|
4089
|
-
}),
|
|
4098
|
+
}), rc.dispatch({
|
|
4090
4099
|
programId: e,
|
|
4091
4100
|
type: "PROGRAM_ID"
|
|
4092
4101
|
}), n && (n.current = {
|
|
4093
|
-
refresh: F.useCallback(() =>
|
|
4094
|
-
reset: F.useCallback(() =>
|
|
4095
|
-
}), /* @__PURE__ */ (0, I.jsx)(
|
|
4096
|
-
store:
|
|
4097
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4102
|
+
refresh: F.useCallback(() => rc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4103
|
+
reset: F.useCallback(() => rc.dispatch({ type: "RESET_STATE" }), [])
|
|
4104
|
+
}), /* @__PURE__ */ (0, I.jsx)(we, {
|
|
4105
|
+
store: rc,
|
|
4106
|
+
children: /* @__PURE__ */ (0, I.jsx)(nc, {
|
|
4098
4107
|
programId: e,
|
|
4099
|
-
children: /* @__PURE__ */ (0, I.jsx)(
|
|
4108
|
+
children: /* @__PURE__ */ (0, I.jsx)(ec, {
|
|
4100
4109
|
programId: e,
|
|
4101
4110
|
trackingId: t
|
|
4102
4111
|
})
|
|
4103
4112
|
})
|
|
4104
4113
|
});
|
|
4105
|
-
}),
|
|
4114
|
+
}), ac = class e {
|
|
4106
4115
|
element;
|
|
4107
4116
|
programId;
|
|
4108
4117
|
trackingId;
|
|
@@ -4119,20 +4128,20 @@ var rc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4119
4128
|
this.ref.current.reset();
|
|
4120
4129
|
}
|
|
4121
4130
|
render() {
|
|
4122
|
-
|
|
4131
|
+
ut.render(/* @__PURE__ */ (0, I.jsx)(ic, {
|
|
4123
4132
|
programId: this.programId,
|
|
4124
4133
|
trackingId: this.trackingId,
|
|
4125
4134
|
ref: this.ref
|
|
4126
4135
|
}), this.element);
|
|
4127
4136
|
}
|
|
4128
4137
|
unmount() {
|
|
4129
|
-
|
|
4138
|
+
ut.unmountComponentAtNode(this.element);
|
|
4130
4139
|
}
|
|
4131
4140
|
};
|
|
4132
4141
|
//#endregion
|
|
4133
4142
|
//#region src/lib/state/previewMessages.ts
|
|
4134
|
-
function
|
|
4135
|
-
|
|
4143
|
+
function oc(e, n) {
|
|
4144
|
+
Te.set((t) => ({
|
|
4136
4145
|
...t,
|
|
4137
4146
|
overrides: {
|
|
4138
4147
|
...t.overrides,
|
|
@@ -4146,12 +4155,12 @@ function ac(e, n) {
|
|
|
4146
4155
|
}
|
|
4147
4156
|
})), t({ [e]: n });
|
|
4148
4157
|
}
|
|
4149
|
-
function
|
|
4150
|
-
n.forEach((t) => e.removeResourceBundle(t,
|
|
4158
|
+
function sc(n) {
|
|
4159
|
+
n.forEach((t) => e.removeResourceBundle(t, l.OPTIONS)), t(E().messagesWithLocale);
|
|
4151
4160
|
}
|
|
4152
4161
|
//#endregion
|
|
4153
4162
|
//#region src/lib/state/previewResponse.ts
|
|
4154
|
-
var
|
|
4163
|
+
var cc = {
|
|
4155
4164
|
step: "mockStep",
|
|
4156
4165
|
previousStep: "mockPreviousStep",
|
|
4157
4166
|
segment: "mockSegment",
|
|
@@ -4165,14 +4174,14 @@ var sc = {
|
|
|
4165
4174
|
idCheckLoopServiceType: "mockIdCheckLoopServiceType",
|
|
4166
4175
|
docSelected: "mockDocSelected"
|
|
4167
4176
|
};
|
|
4168
|
-
async function
|
|
4177
|
+
async function lc(e) {
|
|
4169
4178
|
let t = {};
|
|
4170
4179
|
Object.keys(e).forEach((n) => {
|
|
4171
|
-
let r =
|
|
4180
|
+
let r = cc[n];
|
|
4172
4181
|
r && (t[r] = e[n]);
|
|
4173
4182
|
}), v(t);
|
|
4174
|
-
let n = e.step ??
|
|
4175
|
-
|
|
4183
|
+
let n = e.step ?? Te.get().overrides.mock?.step, r = n ? await Ge(n, Pe().getState().verificationResponse) : void 0;
|
|
4184
|
+
Te.set((t) => ({
|
|
4176
4185
|
...t,
|
|
4177
4186
|
overrides: {
|
|
4178
4187
|
...t.overrides,
|
|
@@ -4186,57 +4195,58 @@ async function cc(e) {
|
|
|
4186
4195
|
}
|
|
4187
4196
|
//#endregion
|
|
4188
4197
|
//#region src/lib/state/previewApi.ts
|
|
4189
|
-
function lc(e) {
|
|
4190
|
-
de({ programTheme: e });
|
|
4191
|
-
}
|
|
4192
4198
|
function uc(e) {
|
|
4193
|
-
|
|
4199
|
+
he({ programTheme: e });
|
|
4194
4200
|
}
|
|
4195
4201
|
function dc(e) {
|
|
4196
|
-
|
|
4202
|
+
he({ programTheme: e });
|
|
4197
4203
|
}
|
|
4198
4204
|
function fc(e) {
|
|
4199
|
-
|
|
4200
|
-
|
|
4205
|
+
he({ response: e });
|
|
4206
|
+
}
|
|
4207
|
+
function pc(e) {
|
|
4208
|
+
let t = Pe(), { programId: n, verificationResponse: r } = t.getState();
|
|
4209
|
+
return ve(t.dispatch, n)(e, r?.segment);
|
|
4201
4210
|
}
|
|
4202
|
-
function
|
|
4203
|
-
let e = Object.keys(
|
|
4204
|
-
|
|
4211
|
+
function mc() {
|
|
4212
|
+
let e = Object.keys(Te.get().overrides.messages ?? {});
|
|
4213
|
+
Ee(), sc(e);
|
|
4205
4214
|
}
|
|
4206
4215
|
//#endregion
|
|
4207
4216
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
function hc(e) {
|
|
4212
|
-
st(e);
|
|
4217
|
+
ne(j.programBuilderPreview);
|
|
4218
|
+
function hc(e, t) {
|
|
4219
|
+
return new ac(e, t);
|
|
4213
4220
|
}
|
|
4214
4221
|
function gc(e) {
|
|
4215
|
-
|
|
4222
|
+
ct(e);
|
|
4223
|
+
}
|
|
4224
|
+
function _c(e) {
|
|
4225
|
+
Le(), v(e);
|
|
4216
4226
|
}
|
|
4217
|
-
function
|
|
4227
|
+
function vc() {
|
|
4218
4228
|
p();
|
|
4219
4229
|
}
|
|
4220
|
-
function
|
|
4230
|
+
function yc(e) {
|
|
4221
4231
|
v({ _launchDarklyFlagCb: e });
|
|
4222
4232
|
}
|
|
4223
|
-
function
|
|
4233
|
+
function bc(e, t, n) {
|
|
4224
4234
|
return b(e, t, n);
|
|
4225
4235
|
}
|
|
4226
|
-
var
|
|
4227
|
-
loadInElement:
|
|
4228
|
-
getProgramMessages:
|
|
4229
|
-
getFeatureFlags:
|
|
4230
|
-
setProgramThemeChoices:
|
|
4231
|
-
setProgramOptions:
|
|
4232
|
-
resetProgramOptions:
|
|
4233
|
-
setPreviewBranding:
|
|
4234
|
-
setPreviewConfiguration:
|
|
4235
|
-
setPreviewMessages:
|
|
4236
|
-
setPreviewResponse:
|
|
4237
|
-
setPreviewMock:
|
|
4238
|
-
setPreviewLocale:
|
|
4239
|
-
clearPreview:
|
|
4236
|
+
var xc = {
|
|
4237
|
+
loadInElement: hc,
|
|
4238
|
+
getProgramMessages: bc,
|
|
4239
|
+
getFeatureFlags: yc,
|
|
4240
|
+
setProgramThemeChoices: gc,
|
|
4241
|
+
setProgramOptions: _c,
|
|
4242
|
+
resetProgramOptions: vc,
|
|
4243
|
+
setPreviewBranding: uc,
|
|
4244
|
+
setPreviewConfiguration: dc,
|
|
4245
|
+
setPreviewMessages: oc,
|
|
4246
|
+
setPreviewResponse: fc,
|
|
4247
|
+
setPreviewMock: lc,
|
|
4248
|
+
setPreviewLocale: pc,
|
|
4249
|
+
clearPreview: mc
|
|
4240
4250
|
};
|
|
4241
4251
|
//#endregion
|
|
4242
|
-
export {
|
|
4252
|
+
export { Dt as A, mn as C, B as D, V as E, vt as M, pt as N, zt as O, dt as P, bn as S, dn as T, Un as _, to as a, xn as b, Va as c, mc as clearPreview, Aa as d, xc as default, Ma as f, ir as g, yc as getFeatureFlags, bc as getProgramMessages, pa as h, eo as i, wt as j, Pt as k, Ia as l, hc as loadInElement, ka as m, Ws as n, ro as o, ja as p, ds as r, vc as resetProgramOptions, Qa as s, uc as setPreviewBranding, dc as setPreviewConfiguration, pc as setPreviewLocale, oc as setPreviewMessages, lc as setPreviewMock, fc as setPreviewResponse, _c as setProgramOptions, gc as setProgramThemeChoices, Ks as t, Pa as u, Ln as v, fn as w, H as x, kn as y };
|