@sheerid/jslib 2.308.0 → 2.309.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 +1105 -1118
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-0YHKJ9J4.js → AddressComponent-B3Qml47B.js} +5 -5
- package/chunk/{AddressComponent-0YHKJ9J4.js.map → AddressComponent-B3Qml47B.js.map} +1 -1
- package/chunk/{AddressComponent-DIG0W__a.js → AddressComponent-a0r-YVHe.js} +8 -8
- package/chunk/{AddressComponent-DIG0W__a.js.map → AddressComponent-a0r-YVHe.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DKOYC3b9.js → AnnouncingHeader-CB2PqiuT.js} +6 -6
- package/chunk/{AnnouncingHeader-DKOYC3b9.js.map → AnnouncingHeader-CB2PqiuT.js.map} +1 -1
- package/chunk/AnnouncingHeader-gJrk6VDV.js +4 -4
- package/chunk/{BirthDateComponent-CJwhC_Xn.js → BirthDateComponent-Ba0lmfef.js} +8 -8
- package/chunk/{BirthDateComponent-CJwhC_Xn.js.map → BirthDateComponent-Ba0lmfef.js.map} +1 -1
- package/chunk/{BirthDateComponent-DpiGGQ_Q.js → BirthDateComponent-Gh2Ww-HN.js} +5 -5
- package/chunk/{BirthDateComponent-DpiGGQ_Q.js.map → BirthDateComponent-Gh2Ww-HN.js.map} +1 -1
- package/chunk/{CaptchaComponent-CIxr0YQ1.js → CaptchaComponent-C-T4LXyy.js} +9 -9
- package/chunk/{CaptchaComponent-CIxr0YQ1.js.map → CaptchaComponent-C-T4LXyy.js.map} +1 -1
- package/chunk/{CaptchaComponent-DtanRbX-.js → CaptchaComponent-CqdB13MA.js} +24 -24
- package/chunk/{CaptchaComponent-DtanRbX-.js.map → CaptchaComponent-CqdB13MA.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-D1JuIC6Z.js → ChangeLocaleComponent-B-N4AzfB.js} +10 -10
- package/chunk/{ChangeLocaleComponent-Bwptiyp-.js.map → ChangeLocaleComponent-B-N4AzfB.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Bwptiyp-.js → ChangeLocaleComponent-BM6BkKWg.js} +13 -13
- package/chunk/{ChangeLocaleComponent-D1JuIC6Z.js.map → ChangeLocaleComponent-BM6BkKWg.js.map} +1 -1
- package/chunk/{City-D63Xv635.js → City-B7BEIzGI.js} +5 -5
- package/chunk/{City-CdtNA5Vw.js.map → City-B7BEIzGI.js.map} +1 -1
- package/chunk/{City-CdtNA5Vw.js → City-CDME59i2.js} +8 -8
- package/chunk/{City-D63Xv635.js.map → City-CDME59i2.js.map} +1 -1
- package/chunk/{CollegeNameComponent-NzTCk0Io.js → CollegeNameComponent-B64nCepe.js} +7 -7
- package/chunk/{CollegeNameComponent-D-KOseX_.js.map → CollegeNameComponent-B64nCepe.js.map} +1 -1
- package/chunk/{CollegeNameComponent-D-KOseX_.js → CollegeNameComponent-Cj39HCwB.js} +10 -10
- package/chunk/{CollegeNameComponent-NzTCk0Io.js.map → CollegeNameComponent-Cj39HCwB.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BorxChs8.js → CopyToClipboardComponent-BABPBACX.js} +6 -6
- package/chunk/{CopyToClipboardComponent-BorxChs8.js.map → CopyToClipboardComponent-BABPBACX.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-ystjPwTW.js +4 -4
- package/chunk/{CountryComponentWrapper-CymqHdjW.js → CountryComponentWrapper-A1Vji18h.js} +12 -12
- package/chunk/{CountryComponentWrapper-CymqHdjW.js.map → CountryComponentWrapper-A1Vji18h.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DAcu9MAP.js → CountryComponentWrapper-DuQVlELD.js} +16 -16
- package/chunk/{CountryComponentWrapper-DAcu9MAP.js.map → CountryComponentWrapper-DuQVlELD.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DvV87FK7.js → DischargeDateComponent-BUwpInEA.js} +11 -11
- package/chunk/{DischargeDateComponent-DvV87FK7.js.map → DischargeDateComponent-BUwpInEA.js.map} +1 -1
- package/chunk/{DischargeDateComponent-gHcdda1I.js → DischargeDateComponent-Dgwcq7Dw.js} +8 -8
- package/chunk/{DischargeDateComponent-gHcdda1I.js.map → DischargeDateComponent-Dgwcq7Dw.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-C8AwTtUM.js → DriverLicenseNumberComponent-B0D8GLcQ.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-C8AwTtUM.js.map → DriverLicenseNumberComponent-B0D8GLcQ.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-CTNAU4X4.js → DriverLicenseNumberComponent-IkhrhLmg.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-CTNAU4X4.js.map → DriverLicenseNumberComponent-IkhrhLmg.js.map} +1 -1
- package/chunk/{EmailLoopPending-DvGyQ6LS.js → EmailLoopPending-B9x32FhR.js} +13 -13
- package/chunk/{EmailLoopPending-CsZFcdcY.js.map → EmailLoopPending-B9x32FhR.js.map} +1 -1
- package/chunk/{EmailLoopPending-CsZFcdcY.js → EmailLoopPending-ClrVrMNH.js} +6 -6
- package/chunk/{EmailLoopPending-DvGyQ6LS.js.map → EmailLoopPending-ClrVrMNH.js.map} +1 -1
- package/chunk/{ExtraMessage-TBf4guH7.js → ExtraMessage-BK3KoHza.js} +7 -7
- package/chunk/{ExtraMessage-CgIIaamt.js.map → ExtraMessage-BK3KoHza.js.map} +1 -1
- package/chunk/{ExtraMessage-CgIIaamt.js → ExtraMessage-C0ccH6sk.js} +5 -5
- package/chunk/{ExtraMessage-TBf4guH7.js.map → ExtraMessage-C0ccH6sk.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BZmtl8eB.js → FirstResponderOrganizationComponent-DsYO3abb.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-BZmtl8eB.js.map → FirstResponderOrganizationComponent-DsYO3abb.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-keQCCYJl.js → FirstResponderOrganizationComponent-_EKhZEFo.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-keQCCYJl.js.map → FirstResponderOrganizationComponent-_EKhZEFo.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-cMUBA5Wz.js → FormFieldInputSelect-BSik3OPS.js} +7 -7
- package/chunk/{FormFieldInputSelect-DFhATWCA.js.map → FormFieldInputSelect-BSik3OPS.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DFhATWCA.js → FormFieldInputSelect-CCdSha1C.js} +5 -5
- package/chunk/{FormFieldInputSelect-cMUBA5Wz.js.map → FormFieldInputSelect-CCdSha1C.js.map} +1 -1
- package/chunk/{FormFieldLayout-B5_PsKrR.js → FormFieldLayout-BIsU84b_.js} +6 -6
- package/chunk/{FormFieldLayout-B5_PsKrR.js.map → FormFieldLayout-BIsU84b_.js.map} +1 -1
- package/chunk/FormFieldLayout-CRgEwTkx.js +4 -4
- package/chunk/{FormFieldText-BWImUS8U.js → FormFieldText-BDXz6mcz.js} +7 -7
- package/chunk/{FormFieldText-BWImUS8U.js.map → FormFieldText-BDXz6mcz.js.map} +1 -1
- package/chunk/FormFieldText-D4SW8w-w.js +4 -4
- package/chunk/{FormFieldTypeahead-B8WJLNfv.js → FormFieldTypeahead-CBF79-qs.js} +8 -8
- package/chunk/{FormFieldTypeahead-B8WJLNfv.js.map → FormFieldTypeahead-CBF79-qs.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BOaWqKW_.js → FormFieldTypeahead-DJHIv355.js} +128 -128
- package/chunk/{FormFieldTypeahead-BOaWqKW_.js.map → FormFieldTypeahead-DJHIv355.js.map} +1 -1
- package/chunk/{FormFooterComponent-DD4Q2LF_.js → FormFooterComponent-INKrqmGm.js} +450 -450
- package/chunk/{FormFooterComponent-DD4Q2LF_.js.map → FormFooterComponent-INKrqmGm.js.map} +1 -1
- package/chunk/{FormFooterComponent-CKEfiYXW.js → FormFooterComponent-MCHQU8Kl.js} +312 -312
- package/chunk/{FormFooterComponent-CKEfiYXW.js.map → FormFooterComponent-MCHQU8Kl.js.map} +1 -1
- package/chunk/{FormSelectChoice-CFSifM9G.js → FormSelectChoice-Bg_lsdUY.js} +9 -9
- package/chunk/{FormSelectChoice-BV0vYPBj.js.map → FormSelectChoice-Bg_lsdUY.js.map} +1 -1
- package/chunk/{FormSelectChoice-BV0vYPBj.js → FormSelectChoice-pFDbmXCQ.js} +7 -7
- package/chunk/{FormSelectChoice-CFSifM9G.js.map → FormSelectChoice-pFDbmXCQ.js.map} +1 -1
- package/chunk/{InputText-D__c437o.js → InputText-A_AtNJXr.js} +6 -6
- package/chunk/{InputText-D__c437o.js.map → InputText-A_AtNJXr.js.map} +1 -1
- package/chunk/InputText-CS8Q8oNz.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-bms818RU.js → LicensedProfessionalOrganizationComponent-B7vyVuT0.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-7bKQiaL-.js.map → LicensedProfessionalOrganizationComponent-B7vyVuT0.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-7bKQiaL-.js → LicensedProfessionalOrganizationComponent-aoNyG1l1.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-bms818RU.js.map → LicensedProfessionalOrganizationComponent-aoNyG1l1.js.map} +1 -1
- package/chunk/{LogoComponent-C9mw31aa.js → LogoComponent-C-hULigw.js} +6 -6
- package/chunk/{LogoComponent-BUBHH0fO.js.map → LogoComponent-C-hULigw.js.map} +1 -1
- package/chunk/{LogoComponent-BUBHH0fO.js → LogoComponent-CJ7yp-Hg.js} +5 -5
- package/chunk/{LogoComponent-C9mw31aa.js.map → LogoComponent-CJ7yp-Hg.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-B4B8WsuN.js → LowIncomeOrganizationComponent-B1EPJmpi.js} +13 -13
- package/chunk/{LowIncomeOrganizationComponent-CBr7KTuJ.js.map → LowIncomeOrganizationComponent-B1EPJmpi.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CBr7KTuJ.js → LowIncomeOrganizationComponent-DXaB9JPK.js} +9 -9
- package/chunk/{LowIncomeOrganizationComponent-B4B8WsuN.js.map → LowIncomeOrganizationComponent-DXaB9JPK.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DghdbPT-.js → MedicalProfessionalOrganizationComponent-Cb-0WpnI.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-sA9z9fly.js.map → MedicalProfessionalOrganizationComponent-Cb-0WpnI.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-sA9z9fly.js → MedicalProfessionalOrganizationComponent-Cj-LrGjb.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-DghdbPT-.js.map → MedicalProfessionalOrganizationComponent-Cj-LrGjb.js.map} +1 -1
- package/chunk/{MemberIdComponent-C-U5Bter.js → MemberIdComponent-BSWbA2VQ.js} +8 -8
- package/chunk/{MemberIdComponent-C-U5Bter.js.map → MemberIdComponent-BSWbA2VQ.js.map} +1 -1
- package/chunk/{MemberIdComponent-DBmj6PlN.js → MemberIdComponent-VeHt3zks.js} +5 -5
- package/chunk/{MemberIdComponent-DBmj6PlN.js.map → MemberIdComponent-VeHt3zks.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-22bEA9wd.js → MembershipOrganizationComponent-OKGd4OjD.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-22bEA9wd.js.map → MembershipOrganizationComponent-OKGd4OjD.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-0wqOpnqp.js → MembershipOrganizationComponent-YAQRcvyJ.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-0wqOpnqp.js.map → MembershipOrganizationComponent-YAQRcvyJ.js.map} +1 -1
- package/chunk/{Message-BbhLudQ4.js → Message-BTSGs0Uf.js} +51 -45
- package/chunk/{Message-BbhLudQ4.js.map → Message-BTSGs0Uf.js.map} +1 -1
- package/chunk/{Message-D1G_WiQs.js → Message-CPP7Iunj.js} +1453 -1445
- package/chunk/{Message-D1G_WiQs.js.map → Message-CPP7Iunj.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-Byq7BneV.js → PersonalInfoStepSubmitButton-BJG8WCCA.js} +5 -5
- package/chunk/{PersonalInfoStepSubmitButton-Byq7BneV.js.map → PersonalInfoStepSubmitButton-BJG8WCCA.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-B5m1zKXj.js → PersonalInfoStepSubmitButton-DTijgJ79.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-B5m1zKXj.js.map → PersonalInfoStepSubmitButton-DTijgJ79.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-Ds0Umiti.js → PersonalInfoStepWrapper-BnWD9XRN.js} +9 -9
- package/chunk/{PersonalInfoStepWrapper-Ds0Umiti.js.map → PersonalInfoStepWrapper-BnWD9XRN.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-DCFj5mke.js → PersonalInfoStepWrapper-DJdAvOXE.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-DCFj5mke.js.map → PersonalInfoStepWrapper-DJdAvOXE.js.map} +1 -1
- package/chunk/{PostalCodeComponent-B52z4pxa.js → PostalCodeComponent-BJ6K7pYz.js} +8 -8
- package/chunk/{PostalCodeComponent-B52z4pxa.js.map → PostalCodeComponent-BJ6K7pYz.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DDrsbmWU.js → PostalCodeComponent-C-U8RqcR.js} +5 -5
- package/chunk/{PostalCodeComponent-DDrsbmWU.js.map → PostalCodeComponent-C-U8RqcR.js.map} +1 -1
- package/chunk/{SSN-DlwXekbr.js → SSN-CSYBnPZE.js} +5 -5
- package/chunk/{SSN-DlwXekbr.js.map → SSN-CSYBnPZE.js.map} +1 -1
- package/chunk/{SSN-CPZMIdTV.js → SSN-Cp_zGaOX.js} +8 -8
- package/chunk/{SSN-CPZMIdTV.js.map → SSN-Cp_zGaOX.js.map} +1 -1
- package/chunk/{StateSelectComponent-BZuF9eDA.js → StateSelectComponent-C4937sVp.js} +6 -6
- package/chunk/{StateSelectComponent-BZuF9eDA.js.map → StateSelectComponent-C4937sVp.js.map} +1 -1
- package/chunk/{StateSelectComponent-CDkfQ77X.js → StateSelectComponent-D83Yw9AW.js} +7 -7
- package/chunk/{StateSelectComponent-CDkfQ77X.js.map → StateSelectComponent-D83Yw9AW.js.map} +1 -1
- package/chunk/{StatusComponent-Dhc7qHou.js → StatusComponent-B4Z6EtvN.js} +9 -9
- package/chunk/{StatusComponent-B6o6DQjp.js.map → StatusComponent-B4Z6EtvN.js.map} +1 -1
- package/chunk/{StatusComponent-B6o6DQjp.js → StatusComponent-FfBUlga7.js} +6 -6
- package/chunk/{StatusComponent-Dhc7qHou.js.map → StatusComponent-FfBUlga7.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DA2zbaXM.js → StepAgePersonalInfo-C6SEZ9Oa.js} +17 -17
- package/chunk/{StepAgePersonalInfo-DA2zbaXM.js.map → StepAgePersonalInfo-C6SEZ9Oa.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Ds7ZuZLo.js → StepAgePersonalInfo-DEv6exzf.js} +20 -20
- package/chunk/{StepAgePersonalInfo-Ds7ZuZLo.js.map → StepAgePersonalInfo-DEv6exzf.js.map} +1 -1
- package/chunk/StepCard-B72CFYHs.js +4 -4
- package/chunk/{StepCard-Bvt7Kykz.js → StepCard-BIpwIpzh.js} +5 -5
- package/chunk/{StepCard-Bvt7Kykz.js.map → StepCard-BIpwIpzh.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-q7MmZ0Wv.js → StepCollectIdentifier-MuXIkxMQ.js} +6 -6
- package/chunk/{StepCollectIdentifier-q7MmZ0Wv.js.map → StepCollectIdentifier-MuXIkxMQ.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-RScotr-L.js → StepCollectIdentifier-vMAPbX16.js} +9 -9
- package/chunk/{StepCollectIdentifier-RScotr-L.js.map → StepCollectIdentifier-vMAPbX16.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-uoOEMgLi.js → StepCollectMilitaryPersonalInfoComponent-CMZnywpF.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-Oy-H1lRT.js.map → StepCollectMilitaryPersonalInfoComponent-CMZnywpF.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-Oy-H1lRT.js → StepCollectMilitaryPersonalInfoComponent-D08jnp7r.js} +21 -21
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-uoOEMgLi.js.map → StepCollectMilitaryPersonalInfoComponent-D08jnp7r.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-BAeCckTR.js → StepCollectPersonalInfo-DVzTF-9a.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-BAeCckTR.js.map → StepCollectPersonalInfo-DVzTF-9a.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DMMMfo6f.js → StepCollectPersonalInfo-DpAAHptW.js} +34 -34
- package/chunk/{StepCollectPersonalInfo-DMMMfo6f.js.map → StepCollectPersonalInfo-DpAAHptW.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-BrdV0iN-.js +4 -4
- package/chunk/{StepCompleteAuthentication-DLwlKmBO.js → StepCompleteAuthentication-s8qDxFAa.js} +9 -9
- package/chunk/{StepCompleteAuthentication-DLwlKmBO.js.map → StepCompleteAuthentication-s8qDxFAa.js.map} +1 -1
- package/chunk/{StepConsolation-Cli0ZCqB.js → StepConsolation-CD_eKd9M.js} +6 -6
- package/chunk/{StepConsolation-DO1HOmRK.js.map → StepConsolation-CD_eKd9M.js.map} +1 -1
- package/chunk/{StepConsolation-DO1HOmRK.js → StepConsolation-CWshJB4w.js} +8 -8
- package/chunk/{StepConsolation-Cli0ZCqB.js.map → StepConsolation-CWshJB4w.js.map} +1 -1
- package/chunk/{StepDocUpload-0-pxhJxc.js → StepDocUpload-Cm2fp1nn.js} +46 -46
- package/chunk/{StepDocUpload-0-pxhJxc.js.map → StepDocUpload-Cm2fp1nn.js.map} +1 -1
- package/chunk/{StepDocUpload-hOSKrytn.js → StepDocUpload-LGeSkhys.js} +10 -10
- package/chunk/{StepDocUpload-hOSKrytn.js.map → StepDocUpload-LGeSkhys.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BBhT05Bm.js → StepDriverLicensePersonalInfoComponent-ChrYyEGe.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-BBhT05Bm.js.map → StepDriverLicensePersonalInfoComponent-ChrYyEGe.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Bh-b_Tis.js → StepDriverLicensePersonalInfoComponent-DAUnpdwY.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-Bh-b_Tis.js.map → StepDriverLicensePersonalInfoComponent-DAUnpdwY.js.map} +1 -1
- package/chunk/{StepEmailLoop-Bd9Da3Pl.js → StepEmailLoop-C4zGiSxp.js} +7 -7
- package/chunk/{StepEmailLoop-Bd9Da3Pl.js.map → StepEmailLoop-C4zGiSxp.js.map} +1 -1
- package/chunk/{StepEmailLoop-CztfQGon.js → StepEmailLoop-e5L4MkM3.js} +13 -13
- package/chunk/{StepEmailLoop-CztfQGon.js.map → StepEmailLoop-e5L4MkM3.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BkYIVspE.js → StepEmploymentPersonalInfo-DInj_Kjv.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-BIiRPsPn.js.map → StepEmploymentPersonalInfo-DInj_Kjv.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BIiRPsPn.js → StepEmploymentPersonalInfo-DmgP04aU.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-BkYIVspE.js.map → StepEmploymentPersonalInfo-DmgP04aU.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-C3eR92xc.js → StepFirstResponderPersonalInfo-BBINQ-12.js} +18 -18
- package/chunk/{StepFirstResponderPersonalInfo-C3eR92xc.js.map → StepFirstResponderPersonalInfo-BBINQ-12.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CLdFsv3a.js → StepFirstResponderPersonalInfo-COEtqwa_.js} +22 -22
- package/chunk/{StepFirstResponderPersonalInfo-CLdFsv3a.js.map → StepFirstResponderPersonalInfo-COEtqwa_.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B8v2yQKB.js → StepGeneralIdentityPersonalInfoComponent-CgaXuqc2.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B8v2yQKB.js.map → StepGeneralIdentityPersonalInfoComponent-CgaXuqc2.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CpEm8ogF.js → StepGeneralIdentityPersonalInfoComponent-Ug0AKY5T.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CpEm8ogF.js.map → StepGeneralIdentityPersonalInfoComponent-Ug0AKY5T.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BB01d66w.js → StepHybridIdentityPersonalInfoComponent-B4jNyOiR.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-63Gu1_km.js.map → StepHybridIdentityPersonalInfoComponent-B4jNyOiR.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-63Gu1_km.js → StepHybridIdentityPersonalInfoComponent-BR7bMAMt.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BB01d66w.js.map → StepHybridIdentityPersonalInfoComponent-BR7bMAMt.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BPX0-8EZ.js → StepIDCheckLoop-CchfAliF.js} +7 -7
- package/chunk/{StepIDCheckLoop-BPX0-8EZ.js.map → StepIDCheckLoop-CchfAliF.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-C3l5fiGY.js → StepIDCheckLoop-CtpXHEDW.js} +9 -9
- package/chunk/{StepIDCheckLoop-C3l5fiGY.js.map → StepIDCheckLoop-CtpXHEDW.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-D7F62wKH.js → StepIDCheckLoopOnfido-CbIGTfeY.js} +8 -8
- package/chunk/{StepIDCheckLoopOnfido-B-Vbzhgu.js.map → StepIDCheckLoopOnfido-CbIGTfeY.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-B-Vbzhgu.js → StepIDCheckLoopOnfido-FhVshXLX.js} +14 -14
- package/chunk/{StepIDCheckLoopOnfido-D7F62wKH.js.map → StepIDCheckLoopOnfido-FhVshXLX.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Ig0TJvC6.js → StepIDCheckLoopRegula-BUIGJhX0.js} +12 -12
- package/chunk/{StepIDCheckLoopRegula-B-uJQSkm.js.map → StepIDCheckLoopRegula-BUIGJhX0.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B-uJQSkm.js → StepIDCheckLoopRegula-C1yG8mR5.js} +8 -8
- package/chunk/{StepIDCheckLoopRegula-Ig0TJvC6.js.map → StepIDCheckLoopRegula-C1yG8mR5.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CLqxHevY.js → StepLicensedProfessionalPersonalInfo-2z10hhnE.js} +18 -18
- package/chunk/{StepLicensedProfessionalPersonalInfo-CLqxHevY.js.map → StepLicensedProfessionalPersonalInfo-2z10hhnE.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-stTxqoo7.js → StepLicensedProfessionalPersonalInfo-B2MNxpX7.js} +21 -21
- package/chunk/{StepLicensedProfessionalPersonalInfo-stTxqoo7.js.map → StepLicensedProfessionalPersonalInfo-B2MNxpX7.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-uUC6wHOj.js → StepLowIncomePersonalInfo-CjlBDKUj.js} +25 -25
- package/chunk/{StepLowIncomePersonalInfo-D33BUTIM.js.map → StepLowIncomePersonalInfo-CjlBDKUj.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-D33BUTIM.js → StepLowIncomePersonalInfo-DvY2PYF2.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-uUC6wHOj.js.map → StepLowIncomePersonalInfo-DvY2PYF2.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-B4E1pl1K.js → StepMedicalProfessionalPersonalInfo-9aKJkkDY.js} +22 -22
- package/chunk/{StepMedicalProfessionalPersonalInfo-B4E1pl1K.js.map → StepMedicalProfessionalPersonalInfo-9aKJkkDY.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-Bcd9QwO-.js → StepMedicalProfessionalPersonalInfo-CnwQHj5v.js} +19 -19
- package/chunk/{StepMedicalProfessionalPersonalInfo-Bcd9QwO-.js.map → StepMedicalProfessionalPersonalInfo-CnwQHj5v.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-C7XHDFuz.js → StepMemberPersonalInfo-BgRL5j5g.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-C7XHDFuz.js.map → StepMemberPersonalInfo-BgRL5j5g.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-D6ER6Mnj.js → StepMemberPersonalInfo-Cw4HL7yZ.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-D6ER6Mnj.js.map → StepMemberPersonalInfo-Cw4HL7yZ.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-YrdiKwnE.js → StepMoverPersonalInfo-DDyWo8d6.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-By_lrbN_.js.map → StepMoverPersonalInfo-DDyWo8d6.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-By_lrbN_.js → StepMoverPersonalInfo-DJnpx8M2.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-YrdiKwnE.js.map → StepMoverPersonalInfo-DJnpx8M2.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DhpMCeYw.js → StepOverrideComponent-CHRZdJdv.js} +7 -7
- package/chunk/{StepOverrideComponent-BJ9ZmoRw.js.map → StepOverrideComponent-CHRZdJdv.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BJ9ZmoRw.js → StepOverrideComponent-iFmYg3Jf.js} +12 -12
- package/chunk/{StepOverrideComponent-DhpMCeYw.js.map → StepOverrideComponent-iFmYg3Jf.js.map} +1 -1
- package/chunk/{StepSMSLoop-CJwY9Ga1.js → StepSMSLoop-B4zc2475.js} +13 -13
- package/chunk/{StepSMSLoop-CJwY9Ga1.js.map → StepSMSLoop-B4zc2475.js.map} +1 -1
- package/chunk/{StepSMSLoop-DNFDqzE0.js → StepSMSLoop-B6IejBgf.js} +5 -5
- package/chunk/{StepSMSLoop-DNFDqzE0.js.map → StepSMSLoop-B6IejBgf.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-DnU2gGIN.js → StepSocialSecurityNumber-C8h5CjH0.js} +8 -8
- package/chunk/{StepSocialSecurityNumber-CZiWVMNg.js.map → StepSocialSecurityNumber-C8h5CjH0.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CZiWVMNg.js → StepSocialSecurityNumber-CLCIPHL5.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-DnU2gGIN.js.map → StepSocialSecurityNumber-CLCIPHL5.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BjG3Glf7.js → StepStudentPersonalInfo-CdFE8LZp.js} +22 -22
- package/chunk/{StepStudentPersonalInfo-BjG3Glf7.js.map → StepStudentPersonalInfo-CdFE8LZp.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DnwWqFQd.js → StepStudentPersonalInfo-JKQyuhXR.js} +17 -17
- package/chunk/{StepStudentPersonalInfo-DnwWqFQd.js.map → StepStudentPersonalInfo-JKQyuhXR.js.map} +1 -1
- package/chunk/{StepSuccess-C1k2Uq-n.js → StepSuccess-B_eN9rgQ.js} +7 -7
- package/chunk/{StepSuccess-4cju7qN8.js.map → StepSuccess-B_eN9rgQ.js.map} +1 -1
- package/chunk/{StepSuccess-4cju7qN8.js → StepSuccess-De0PQQ0p.js} +24 -24
- package/chunk/{StepSuccess-C1k2Uq-n.js.map → StepSuccess-De0PQQ0p.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-CKBRyBNe.js → StepTeacherPersonalInfo-Bhq87jMj.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-CKBRyBNe.js.map → StepTeacherPersonalInfo-Bhq87jMj.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-CZOX9gA4.js → StepTeacherPersonalInfo-hhwIENW1.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-CZOX9gA4.js.map → StepTeacherPersonalInfo-hhwIENW1.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-B77guOV9.js → TeacherSchoolComponent-BMKPJ_xe.js} +10 -10
- package/chunk/{TeacherSchoolComponent-B77guOV9.js.map → TeacherSchoolComponent-BMKPJ_xe.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BTfcCslB.js → TeacherSchoolComponent-Cx6v96GB.js} +7 -7
- package/chunk/{TeacherSchoolComponent-BTfcCslB.js.map → TeacherSchoolComponent-Cx6v96GB.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-CqkLaStu.js → TestingRouteOverrides-BkiKiFEo.js} +21 -27
- package/chunk/TestingRouteOverrides-BkiKiFEo.js.map +1 -0
- package/chunk/TestingRouteOverrides-DY8ArsjS.js +72 -0
- package/chunk/TestingRouteOverrides-DY8ArsjS.js.map +1 -0
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/countryUtils-C3U46Rd_.js +12 -0
- package/chunk/{countryUtils-CwgqZgtq.js.map → countryUtils-C3U46Rd_.js.map} +1 -1
- package/chunk/{countryUtils-CwgqZgtq.js → countryUtils-qGBFeGxN.js} +5 -5
- package/chunk/{countryUtils-sqGdJQaH.js.map → countryUtils-qGBFeGxN.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-DOcDbvAN.js → downshift.esm-D4y-Z20t.js} +105 -105
- package/chunk/{downshift.esm-DYNFn_A5.js.map → downshift.esm-D4y-Z20t.js.map} +1 -1
- package/chunk/{downshift.esm-DYNFn_A5.js → downshift.esm-jbY4UkQd.js} +5 -5
- package/chunk/{downshift.esm-DOcDbvAN.js.map → downshift.esm-jbY4UkQd.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-C1INRgC4.js +4 -4
- package/chunk/{empties-C38lUQIl.js → empties-DGHGXdAM.js} +8 -8
- package/chunk/{empties-C38lUQIl.js.map → empties-DGHGXdAM.js.map} +1 -1
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-Y72jcEAM.js → hooks-BAFUGrUF.js} +27 -27
- package/chunk/{hooks-Y72jcEAM.js.map → hooks-BAFUGrUF.js.map} +1 -1
- package/chunk/hooks-DFk9wlFh.js +4 -4
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/{options-BCFIfBTZ.js → i18next-BcwHhUFU.js} +2472 -2472
- package/chunk/i18next-BcwHhUFU.js.map +1 -0
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/intl-D5sUivUy.js +4 -4
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-CB6nLaN6.js +4 -4
- package/chunk/{jsx-runtime-BfITI5pK.js → jsx-runtime-S693AykS.js} +5 -5
- package/chunk/{jsx-runtime-BfITI5pK.js.map → jsx-runtime-S693AykS.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramConfiguration-YBQMVL51.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramTheme-CPG4vkJd.js +4 -4
- package/chunk/{mocks-BJWOJTTC.js → mocks-BqCQsZhz.js} +5 -5
- package/chunk/{mocks-BJWOJTTC.js.map → mocks-BqCQsZhz.js.map} +1 -1
- package/chunk/mocks-BtNIwVeT.js +4 -4
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-BzA30Gt9.js → programThemeGetters-Ck-5kuO1.js} +5 -5
- package/chunk/{programThemeGetters-BzA30Gt9.js.map → programThemeGetters-Ck-5kuO1.js.map} +1 -1
- package/chunk/{programThemeGetters-COq47Fnv.js → programThemeGetters-D-rexWk1.js} +29 -29
- package/chunk/{programThemeGetters-COq47Fnv.js.map → programThemeGetters-D-rexWk1.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/stepComponentHelpers--E4kvS6y.js +4 -4
- package/chunk/{stepComponentHelpers-CD1Gfspm.js → stepComponentHelpers-Cduf93Ed.js} +30 -30
- package/chunk/{stepComponentHelpers-CD1Gfspm.js.map → stepComponentHelpers-Cduf93Ed.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-0JWh9t6G.js → useCollectFieldsEndpoint-BdH4Y4YP.js} +13 -13
- package/chunk/{useCollectFieldsEndpoint-0JWh9t6G.js.map → useCollectFieldsEndpoint-BdH4Y4YP.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DD2bXY_y.js → useCollectFieldsEndpoint-D-LXczym.js} +21 -21
- package/chunk/{useCollectFieldsEndpoint-DD2bXY_y.js.map → useCollectFieldsEndpoint-D-LXczym.js.map} +1 -1
- package/chunk/{useMetrics-jabV9gsZ.js → useMetrics-C18IaSjY.js} +7 -7
- package/chunk/{useMetrics-jabV9gsZ.js.map → useMetrics-C18IaSjY.js.map} +1 -1
- package/chunk/useMetrics-CtsRRjGJ.js +4 -4
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +1219 -1232
- package/sheerid.js.map +1 -1
- package/chunk/TestingRouteOverrides-CqkLaStu.js.map +0 -1
- package/chunk/TestingRouteOverrides-DUx5spVA.js +0 -78
- package/chunk/TestingRouteOverrides-DUx5spVA.js.map +0 -1
- package/chunk/countryUtils-sqGdJQaH.js +0 -12
- package/chunk/options-BCFIfBTZ.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
|
@@ -4,76 +4,48 @@
|
|
|
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: Tue Oct 27 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.309.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1793140923116
|
|
9
|
+
* BUILD_DATE: Tue Oct 27 2026 22:42:03 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 8a5b24ef34ef392cf49cc330fcba8f34da95cb27
|
|
11
11
|
*/
|
|
12
12
|
import { A as e, At as t, D as n, Dt as r, E as i, Et as a, O as o, Ot as s, T as c, b as l, c as u, ct as d, f, ft as p, g as m, gt as h, h as g, i as _, l as v, m as y, n as b, o as x, p as S, r as C, s as w, t as T, v as ee, w as E, x as te, y as D } from "./chunk/intl-D5sUivUy.js";
|
|
13
|
-
import { S as O, b as k, h as A,
|
|
14
|
-
import { E as
|
|
15
|
-
import { i as
|
|
16
|
-
import { B as
|
|
17
|
-
import { a as
|
|
18
|
-
import { _ as
|
|
19
|
-
import { a as
|
|
20
|
-
import { i as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
13
|
+
import { S as O, b as k, h as A, o as j, x as ne } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
14
|
+
import { E as re, S as ie, T as ae, r as oe, w as se } from "./chunk/programThemeGetters-Ck-5kuO1.js";
|
|
15
|
+
import { i as ce, n as M, s as le, t as ue } from "./chunk/jsx-runtime-CB6nLaN6.js";
|
|
16
|
+
import { B as de, D as fe, E as pe, H as me, K as he, L as ge, O as _e, T as ve, U as ye, W as be, a as xe, b as Se, c as Ce, f as we, i as Te, k as Ee, l as De, m as Oe, o as ke, p as Ae, r as je, s as Me, t as N, u as Ne, w as Pe, y as Fe, z as Ie } from "./chunk/Message-BTSGs0Uf.js";
|
|
17
|
+
import { a as Le, i as Re, n as ze, r as Be, t as Ve } from "./chunk/TestingRouteOverrides-BkiKiFEo.js";
|
|
18
|
+
import { _ as He, a as Ue, c as We, d as Ge, f as Ke, g as qe, i as Je, l as Ye, n as Xe, o as Ze, p as Qe, r as $e, s as et, t as tt, u as nt, v as rt } from "./chunk/FormFooterComponent-MCHQU8Kl.js";
|
|
19
|
+
import { a as it, i as at, n as ot, r as st, t as ct } from "./chunk/hooks-DFk9wlFh.js";
|
|
20
|
+
import { i as lt, s as ut, t as dt } from "./chunk/refs-Mq0rtW9K.js";
|
|
21
|
+
import { t as ft } from "./chunk/LogoComponent-CJ7yp-Hg.js";
|
|
22
|
+
import { t as pt } from "./chunk/strings-DWLVdUcm.js";
|
|
23
|
+
import { t as mt } from "./chunk/AnnouncingHeader-gJrk6VDV.js";
|
|
24
24
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
25
|
-
var P = /* @__PURE__ */ t(
|
|
26
|
-
function
|
|
25
|
+
var P = /* @__PURE__ */ t(le());
|
|
26
|
+
function ht({ i18n: e, defaultNS: t, children: n }) {
|
|
27
27
|
let r = (0, P.useMemo)(() => ({
|
|
28
28
|
i18n: e,
|
|
29
29
|
defaultNS: t
|
|
30
30
|
}), [e, t]);
|
|
31
|
-
return (0, P.createElement)(
|
|
31
|
+
return (0, P.createElement)(he.Provider, { value: r }, n);
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
35
|
-
var
|
|
36
|
-
e.locale && e.messages && n(e),
|
|
37
|
-
},
|
|
38
|
-
let r =
|
|
35
|
+
var gt = (e, t) => {
|
|
36
|
+
e.locale && e.messages && n(e), Se(e, t);
|
|
37
|
+
}, _t = (t, n = { partial: !0 }) => {
|
|
38
|
+
let r = $e(), i = r.getState(), a = () => {
|
|
39
39
|
let { intl: i, ...a } = e(t);
|
|
40
|
-
O.info("Setting programTheme", a), i &&
|
|
40
|
+
O.info("Setting programTheme", a), i && gt(i, n.partial), Ge(r.dispatch)(a, n.partial), ve(a, n.partial);
|
|
41
41
|
};
|
|
42
|
-
i.isLoading ?
|
|
42
|
+
i.isLoading ? qe({
|
|
43
43
|
name: "ON_VERIFICATION_READY",
|
|
44
44
|
callback: () => {
|
|
45
45
|
a();
|
|
46
46
|
}
|
|
47
47
|
}) : a();
|
|
48
|
-
},
|
|
49
|
-
className: "sid-spinner",
|
|
50
|
-
"data-testid": "sid-spinner",
|
|
51
|
-
children: [
|
|
52
|
-
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
53
|
-
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
54
|
-
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
55
|
-
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" })
|
|
56
|
-
]
|
|
57
|
-
}), yt = ({ step: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
58
|
-
className: "sid-loading-screen__message",
|
|
59
|
-
children: [j(e) && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
60
|
-
className: "sid-loading-screen__message-header",
|
|
61
|
-
role: "alert",
|
|
62
|
-
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
63
|
-
id: "step.personalInfo.verifyingTitle",
|
|
64
|
-
defaultMessage: "Verifying your status"
|
|
65
|
-
})
|
|
66
|
-
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
67
|
-
className: "sid-loading-screen__message-subhead",
|
|
68
|
-
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
69
|
-
id: "step.personalInfo.verifyingSubtitle",
|
|
70
|
-
defaultMessage: "This should only take a minute"
|
|
71
|
-
})
|
|
72
|
-
})]
|
|
73
|
-
}), bt = ({ step: e = ze() }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
74
|
-
className: "sid-loading-screen",
|
|
75
|
-
children: [/* @__PURE__ */ (0, F.jsx)(vt, {}), e && /* @__PURE__ */ (0, F.jsx)(yt, { step: e })]
|
|
76
|
-
}), xt = /* @__PURE__ */ s(((e, t) => {
|
|
48
|
+
}, vt = /* @__PURE__ */ s(((e, t) => {
|
|
77
49
|
var n, r = n = {
|
|
78
50
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
79
51
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -140,13 +112,13 @@ var mt = (e, t) => {
|
|
|
140
112
|
enumerable: !0,
|
|
141
113
|
configurable: !1
|
|
142
114
|
}), t.exports = r;
|
|
143
|
-
})),
|
|
144
|
-
var n =
|
|
115
|
+
})), yt = /* @__PURE__ */ s(((e, t) => {
|
|
116
|
+
var n = vt();
|
|
145
117
|
t.exports = {
|
|
146
118
|
isRtlLang: n.isRtlLang,
|
|
147
119
|
getLangDir: n.getLangDir
|
|
148
120
|
};
|
|
149
|
-
})),
|
|
121
|
+
})), bt = /* @__PURE__ */ t(r(), 1), xt = /* @__PURE__ */ t(me(), 1), St = /* @__PURE__ */ t(Fe(), 1), Ct = /* @__PURE__ */ t(yt(), 1), F = {
|
|
150
122
|
landingBackgroundColor: "#fff",
|
|
151
123
|
landingPrimaryFontColor: "#000",
|
|
152
124
|
landingBackgroundImage: "none",
|
|
@@ -160,7 +132,7 @@ var mt = (e, t) => {
|
|
|
160
132
|
formFont: "var(--sheerid-font-family-sans)",
|
|
161
133
|
cssVariables: null,
|
|
162
134
|
customStyles: null
|
|
163
|
-
},
|
|
135
|
+
}, wt = P.createContext(F), I = ue(), L = {
|
|
164
136
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
165
137
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
166
138
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -174,7 +146,7 @@ var mt = (e, t) => {
|
|
|
174
146
|
formFont: "--sheerid-font-family-body",
|
|
175
147
|
cssVariables: null,
|
|
176
148
|
customStyles: null
|
|
177
|
-
},
|
|
149
|
+
}, Tt = {
|
|
178
150
|
"--sheerid-color-fg-05": {
|
|
179
151
|
from: "--sheerid-color-bg",
|
|
180
152
|
to: "--sheerid-color-fg",
|
|
@@ -285,11 +257,11 @@ var mt = (e, t) => {
|
|
|
285
257
|
to: "--sheerid-color-fg",
|
|
286
258
|
percentage: 3
|
|
287
259
|
}
|
|
288
|
-
},
|
|
289
|
-
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 ||
|
|
260
|
+
}, Et = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
261
|
+
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 || F.landingBackgroundColor, c = o?.primaryFontColor || F.landingPrimaryFontColor, l = o?.backgroundImageUrl || F.landingBackgroundImage, u = e?.backgroundColor || F.formBackgroundColor, d = e?.primaryFontColor || F.formPrimaryFontColor, f = e?.buttonColor || F.formButtonColor, p = e?.buttonFontColor || F.formButtonFontColor, m = e?.linkColor || F.formLinkColor, h = e?.h1FontColor || F.formH1FontColor, g = e?.helperFontColor || F.formHelperFontColor, _ = e?.font || F.formFont, v = {
|
|
290
262
|
[L.landingBackgroundColor]: s,
|
|
291
263
|
[L.landingPrimaryFontColor]: c,
|
|
292
|
-
[L.landingBackgroundImage]: l ===
|
|
264
|
+
[L.landingBackgroundImage]: l === F.landingBackgroundImage ? F.landingBackgroundImage : `url(${l})`,
|
|
293
265
|
[L.formBackgroundColor]: u,
|
|
294
266
|
[L.formPrimaryFontColor]: d,
|
|
295
267
|
[L.formButtonColor]: f,
|
|
@@ -297,13 +269,13 @@ var mt = (e, t) => {
|
|
|
297
269
|
[L.formLinkColor]: m,
|
|
298
270
|
[L.formH1FontColor]: h,
|
|
299
271
|
[L.formHelperFontColor]: g,
|
|
300
|
-
[L.formFont]: _ ===
|
|
301
|
-
...Object.entries(
|
|
272
|
+
[L.formFont]: _ === F.formFont ? F.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
273
|
+
...Object.entries(Tt).reduce((e, [t, n]) => {
|
|
302
274
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
303
275
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
304
276
|
}, {})
|
|
305
|
-
}, y = P.useRef(null), b =
|
|
306
|
-
return /* @__PURE__ */ (0,
|
|
277
|
+
}, y = P.useRef(null), b = ae() === se.cdnInlineIframe, x = ae() === se.cdnModalIframe;
|
|
278
|
+
return /* @__PURE__ */ (0, I.jsx)(wt.Provider, {
|
|
307
279
|
value: {
|
|
308
280
|
landingBackgroundColor: s,
|
|
309
281
|
landingPrimaryFontColor: c,
|
|
@@ -319,15 +291,15 @@ var mt = (e, t) => {
|
|
|
319
291
|
cssVariables: v,
|
|
320
292
|
customStyles: a
|
|
321
293
|
},
|
|
322
|
-
children: /* @__PURE__ */ (0,
|
|
294
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
323
295
|
style: v,
|
|
324
296
|
ref: y,
|
|
325
297
|
"data-in-iframe": b,
|
|
326
298
|
"data-in-modal": x,
|
|
327
|
-
children: [a && /* @__PURE__ */ (0,
|
|
299
|
+
children: [a && /* @__PURE__ */ (0, I.jsx)("style", { children: a }), n]
|
|
328
300
|
})
|
|
329
301
|
});
|
|
330
|
-
},
|
|
302
|
+
}, Dt = (e, t, n) => ({
|
|
331
303
|
minAge: t?.minAge || e?.config?.minAge,
|
|
332
304
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
333
305
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -335,128 +307,156 @@ var mt = (e, t) => {
|
|
|
335
307
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
336
308
|
currentStep: t?.currentStep,
|
|
337
309
|
viewModel: n
|
|
338
|
-
}),
|
|
310
|
+
}), Ot = {}, kt = (e) => Ot[e] ? (O.log(`getOverridenComponent returning ${e}`), Ot[e]) : null, At = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
311
|
+
className: "sid-spinner",
|
|
312
|
+
"data-testid": "sid-spinner",
|
|
313
|
+
children: [
|
|
314
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
315
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
316
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
317
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
318
|
+
]
|
|
319
|
+
}), jt = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
320
|
+
className: "sid-loading-screen__message",
|
|
321
|
+
children: [ne(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
322
|
+
className: "sid-loading-screen__message-header",
|
|
323
|
+
role: "alert",
|
|
324
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
325
|
+
id: "step.personalInfo.verifyingTitle",
|
|
326
|
+
defaultMessage: "Verifying your status"
|
|
327
|
+
})
|
|
328
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
329
|
+
className: "sid-loading-screen__message-subhead",
|
|
330
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
331
|
+
id: "step.personalInfo.verifyingSubtitle",
|
|
332
|
+
defaultMessage: "This should only take a minute"
|
|
333
|
+
})
|
|
334
|
+
})]
|
|
335
|
+
}), Mt = ({ step: e = Ve() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
336
|
+
className: "sid-loading-screen",
|
|
337
|
+
children: [/* @__PURE__ */ (0, I.jsx)(At, {}), e && /* @__PURE__ */ (0, I.jsx)(jt, { step: e })]
|
|
338
|
+
}), Nt = ({ verificationService: e, linkText: t }) => {
|
|
339
339
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
340
|
-
return n ? /* @__PURE__ */ (0,
|
|
340
|
+
return n ? /* @__PURE__ */ (0, I.jsx)(je, {
|
|
341
341
|
className: "sid-faq sid-link",
|
|
342
|
-
href:
|
|
343
|
-
children: t || /* @__PURE__ */ (0,
|
|
342
|
+
href: oe(i, n, r, T(e.viewModel), e.verificationResponse),
|
|
343
|
+
children: t || /* @__PURE__ */ (0, I.jsx)(M, {
|
|
344
344
|
id: "getHelp",
|
|
345
345
|
defaultMessage: "Get help"
|
|
346
346
|
})
|
|
347
347
|
}) : null;
|
|
348
|
-
},
|
|
348
|
+
}, Pt = /* @__PURE__ */ (0, I.jsx)(M, {
|
|
349
349
|
id: "poweredBy",
|
|
350
350
|
defaultMessage: "Verification services powered by SheerID."
|
|
351
|
-
}),
|
|
351
|
+
}), Ft = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
352
352
|
switch (n) {
|
|
353
|
-
case "poweredby": return /* @__PURE__ */ (0,
|
|
353
|
+
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
354
354
|
className: "sid-footer__powered-by-container-experiment",
|
|
355
|
-
children: [/* @__PURE__ */ (0,
|
|
355
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
356
356
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
357
|
-
children:
|
|
358
|
-
}), !r && /* @__PURE__ */ (0,
|
|
357
|
+
children: Pt
|
|
358
|
+
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
359
359
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
360
|
-
children: /* @__PURE__ */ (0,
|
|
360
|
+
children: /* @__PURE__ */ (0, I.jsx)(Nt, { verificationService: e })
|
|
361
361
|
})]
|
|
362
362
|
});
|
|
363
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
363
|
+
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
364
364
|
className: "sid-footer__powered-by-container--stacked sid-l-horz-center sid-footer__powered-by-experiment",
|
|
365
|
-
children: /* @__PURE__ */ (0,
|
|
365
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
366
366
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
367
|
-
children: [/* @__PURE__ */ (0,
|
|
367
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
368
368
|
className: "sid-footer__powered-by-icon-experiment",
|
|
369
|
-
children: /* @__PURE__ */ (0,
|
|
369
|
+
children: /* @__PURE__ */ (0, I.jsx)("img", {
|
|
370
370
|
alt: "",
|
|
371
371
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
372
372
|
})
|
|
373
|
-
}),
|
|
373
|
+
}), Pt]
|
|
374
374
|
})
|
|
375
375
|
});
|
|
376
|
-
default: return /* @__PURE__ */ (0,
|
|
376
|
+
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
377
377
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
378
|
-
children: [/* @__PURE__ */ (0,
|
|
378
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
379
379
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
380
|
-
children:
|
|
381
|
-
}), !r && /* @__PURE__ */ (0,
|
|
380
|
+
children: Pt
|
|
381
|
+
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
382
382
|
className: t ? "sid-l-space-top-sm" : "",
|
|
383
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
383
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(Nt, { verificationService: e })]
|
|
384
384
|
})]
|
|
385
385
|
});
|
|
386
386
|
}
|
|
387
|
-
},
|
|
387
|
+
}, It = (e, t) => {
|
|
388
388
|
let n = P.useRef(null);
|
|
389
389
|
function r() {
|
|
390
390
|
clearInterval(n.current);
|
|
391
391
|
}
|
|
392
392
|
return P.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
393
|
-
},
|
|
394
|
-
let a =
|
|
395
|
-
return /* @__PURE__ */ (0,
|
|
393
|
+
}, Lt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Bt.PRIMARY }) => {
|
|
394
|
+
let a = pt(e);
|
|
395
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
396
396
|
className: "sid-header sid-l-horz-center",
|
|
397
397
|
children: [
|
|
398
|
-
/* @__PURE__ */ (0,
|
|
398
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
399
399
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
400
400
|
children: n
|
|
401
401
|
}),
|
|
402
|
-
/* @__PURE__ */ (0,
|
|
402
|
+
/* @__PURE__ */ (0, I.jsx)(mt, {
|
|
403
403
|
align: "center",
|
|
404
404
|
children: t.title
|
|
405
405
|
}),
|
|
406
|
-
/* @__PURE__ */ (0,
|
|
406
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
407
407
|
className: "sid-header__subtitle-one",
|
|
408
408
|
children: t.subtitle
|
|
409
409
|
}),
|
|
410
|
-
t?.subtitle2 && /* @__PURE__ */ (0,
|
|
411
|
-
/* @__PURE__ */ (0,
|
|
410
|
+
t?.subtitle2 && /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
411
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
412
412
|
className: "sid-header__subtitle-two sid-h-small-text sid-l-space-top-md",
|
|
413
|
-
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0,
|
|
413
|
+
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0, I.jsx)("div", {
|
|
414
414
|
className: `sid-form-region sid-${a}-pending-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
415
|
-
children: /* @__PURE__ */ (0,
|
|
415
|
+
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
416
416
|
onClick: r,
|
|
417
417
|
type: "submit",
|
|
418
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
418
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Bt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
419
419
|
"aria-label": "submit",
|
|
420
420
|
children: t.cancel
|
|
421
421
|
})
|
|
422
422
|
})]
|
|
423
423
|
}),
|
|
424
|
-
t?.subtitle2 ? /* @__PURE__ */ (0,
|
|
424
|
+
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
425
425
|
]
|
|
426
426
|
});
|
|
427
|
-
},
|
|
427
|
+
}, Rt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Bt.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)(Lt, {
|
|
428
428
|
messages: t,
|
|
429
429
|
stepName: e,
|
|
430
430
|
logo: n,
|
|
431
431
|
cancelSingleSignOn: r,
|
|
432
432
|
cancelButtonType: i
|
|
433
|
-
}),
|
|
434
|
-
let i =
|
|
435
|
-
return /* @__PURE__ */ (0,
|
|
433
|
+
}), zt = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
434
|
+
let i = ct("hc-my-sheer-id-theme-builder");
|
|
435
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
436
436
|
className: "sid-header sid-l-horz-center",
|
|
437
437
|
children: [
|
|
438
|
-
/* @__PURE__ */ (0,
|
|
438
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
439
439
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
440
|
-
children: /* @__PURE__ */ (0,
|
|
440
|
+
children: /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
441
441
|
verificationService: t,
|
|
442
|
-
fallbackLogo: !i && /* @__PURE__ */ (0,
|
|
442
|
+
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
443
443
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
444
444
|
alt: "",
|
|
445
445
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"
|
|
446
446
|
})
|
|
447
447
|
})
|
|
448
448
|
}),
|
|
449
|
-
/* @__PURE__ */ (0,
|
|
449
|
+
/* @__PURE__ */ (0, I.jsx)(mt, {
|
|
450
450
|
align: "center",
|
|
451
451
|
children: e.title
|
|
452
452
|
}),
|
|
453
|
-
/* @__PURE__ */ (0,
|
|
453
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
454
454
|
className: "sid-header__subtitle-one",
|
|
455
455
|
children: e.subtitle
|
|
456
456
|
}),
|
|
457
|
-
/* @__PURE__ */ (0,
|
|
457
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
458
458
|
className: `sid-form-region sid-${r}-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
459
|
-
children: /* @__PURE__ */ (0,
|
|
459
|
+
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
460
460
|
id: `sid-submit-btn-${r}`,
|
|
461
461
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
462
462
|
type: "submit",
|
|
@@ -464,15 +464,15 @@ var mt = (e, t) => {
|
|
|
464
464
|
children: e.login
|
|
465
465
|
})
|
|
466
466
|
}),
|
|
467
|
-
/* @__PURE__ */ (0,
|
|
467
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
468
468
|
]
|
|
469
469
|
});
|
|
470
|
-
},
|
|
470
|
+
}, Bt = /* @__PURE__ */ function(e) {
|
|
471
471
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
472
|
-
}({}),
|
|
473
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: l, locale: u } = e.verificationResponse, d =
|
|
472
|
+
}({}), Vt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
473
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: l, locale: u } = e.verificationResponse, d = Le(), f = pt(t), h = ct("hc-my-sheer-id-theme-builder"), g, _ = /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
474
474
|
verificationService: e,
|
|
475
|
-
fallbackLogo: !h && /* @__PURE__ */ (0,
|
|
475
|
+
fallbackLogo: !h && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
476
476
|
className: `sid-${f}-logo-default sid-l-lead-image`,
|
|
477
477
|
alt: "",
|
|
478
478
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
@@ -489,7 +489,7 @@ var mt = (e, t) => {
|
|
|
489
489
|
programId: i,
|
|
490
490
|
locale: u,
|
|
491
491
|
verificationId: l
|
|
492
|
-
}),
|
|
492
|
+
}), dt();
|
|
493
493
|
let n = S(a, () => {});
|
|
494
494
|
O.info("SingleSignOnComponent submitting cancel request"), clearTimeout(g), e.submitStep(t, n, e.verificationResponse);
|
|
495
495
|
}, x = (e, t) => {
|
|
@@ -499,169 +499,169 @@ var mt = (e, t) => {
|
|
|
499
499
|
verificationId: l
|
|
500
500
|
}), y(e, t), C();
|
|
501
501
|
}, C = () => {
|
|
502
|
-
let e = t === k.sso ?
|
|
502
|
+
let e = t === k.sso ? ge(s.loginUrl) : s.loginUrl;
|
|
503
503
|
if (!p(e)) {
|
|
504
504
|
O.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
505
505
|
return;
|
|
506
506
|
}
|
|
507
|
-
|
|
507
|
+
ut(window.open(e, "_blank")), lt().focus();
|
|
508
508
|
};
|
|
509
|
-
return a.isSingleSignOnActive && !d && (g = v()), !a.countryChoice && o && o.countryChoice && y("countryChoice", o.countryChoice), /* @__PURE__ */ (0,
|
|
509
|
+
return a.isSingleSignOnActive && !d && (g = v()), !a.countryChoice && o && o.countryChoice && y("countryChoice", o.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
510
510
|
id: `sid-step-${f}`,
|
|
511
511
|
className: `sid-${f}-container sid-l-container`,
|
|
512
512
|
"data-testid": `sid-step-${f}`,
|
|
513
|
-
children: [/* @__PURE__ */ (0,
|
|
513
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
514
514
|
role: "main",
|
|
515
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0,
|
|
515
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
516
516
|
stepName: t,
|
|
517
517
|
messages: n,
|
|
518
518
|
logo: _,
|
|
519
519
|
cancelSingleSignOn: b,
|
|
520
520
|
cancelButtonType: r
|
|
521
|
-
}) : /* @__PURE__ */ (0,
|
|
521
|
+
}) : /* @__PURE__ */ (0, I.jsx)(zt, {
|
|
522
522
|
verificationService: e,
|
|
523
523
|
messages: n,
|
|
524
524
|
updateViewModelAndOpenLoginTab: x,
|
|
525
525
|
dashedStepName: f
|
|
526
526
|
})
|
|
527
|
-
}), /* @__PURE__ */ (0,
|
|
527
|
+
}), /* @__PURE__ */ (0, I.jsx)(tt, { verificationService: e })]
|
|
528
528
|
});
|
|
529
|
-
},
|
|
530
|
-
title: /* @__PURE__ */ (0,
|
|
529
|
+
}, Ht = {
|
|
530
|
+
title: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
531
531
|
id: "step.sso.title",
|
|
532
532
|
defaultMessage: "Verify using your school credentials",
|
|
533
533
|
tagName: "h1"
|
|
534
534
|
}),
|
|
535
|
-
subtitle: /* @__PURE__ */ (0,
|
|
535
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
536
536
|
id: "step.sso.subtitle",
|
|
537
537
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
538
538
|
}),
|
|
539
|
-
login: /* @__PURE__ */ (0,
|
|
539
|
+
login: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
540
540
|
id: "step.sso.login",
|
|
541
541
|
defaultMessage: "Sign in to my school"
|
|
542
542
|
}),
|
|
543
|
-
cancel: /* @__PURE__ */ (0,
|
|
543
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
544
544
|
id: "step.sso.cancel",
|
|
545
545
|
defaultMessage: "Upload Proof of Enrollment"
|
|
546
546
|
}),
|
|
547
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
547
|
+
subtitle2: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
548
548
|
id: "step.sso.subtitle2",
|
|
549
549
|
defaultMessage: "Can't sign in to your school?"
|
|
550
550
|
})
|
|
551
|
-
},
|
|
551
|
+
}, Ut = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(Vt, {
|
|
552
552
|
verificationService: e,
|
|
553
553
|
stepName: k.sso,
|
|
554
|
-
messages:
|
|
555
|
-
}),
|
|
554
|
+
messages: Ht
|
|
555
|
+
}), Wt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
556
556
|
className: "sid-header sid-l-horz-center",
|
|
557
557
|
"data-testid": "sid-review-pending",
|
|
558
558
|
children: [
|
|
559
|
-
/* @__PURE__ */ (0,
|
|
559
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
560
560
|
className: "sid-l-horz-center",
|
|
561
561
|
children: e
|
|
562
562
|
}),
|
|
563
|
-
/* @__PURE__ */ (0,
|
|
563
|
+
/* @__PURE__ */ (0, I.jsx)(mt, {
|
|
564
564
|
align: "center",
|
|
565
|
-
children: /* @__PURE__ */ (0,
|
|
565
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
566
566
|
id: "step.pending.titleReview",
|
|
567
567
|
defaultMessage: "Reviewing",
|
|
568
568
|
tagName: "h1"
|
|
569
569
|
})
|
|
570
570
|
}),
|
|
571
|
-
/* @__PURE__ */ (0,
|
|
571
|
+
/* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
572
572
|
id: "step.pending.uploadedDocument",
|
|
573
573
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
574
574
|
}) }),
|
|
575
|
-
/* @__PURE__ */ (0,
|
|
575
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
576
576
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
577
|
-
children: /* @__PURE__ */ (0,
|
|
577
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "step.pending.turnaroundTime" })
|
|
578
578
|
}),
|
|
579
|
-
/* @__PURE__ */ (0,
|
|
579
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
580
580
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
581
|
-
children: /* @__PURE__ */ (0,
|
|
581
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
582
582
|
id: "step.pending.subtitle2",
|
|
583
583
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
584
584
|
})
|
|
585
585
|
}),
|
|
586
|
-
/* @__PURE__ */ (0,
|
|
586
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
587
587
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
588
|
-
children: /* @__PURE__ */ (0,
|
|
588
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
589
589
|
id: "step.pending.subtitle3",
|
|
590
590
|
defaultMessage: "You will be contacted via email."
|
|
591
591
|
})
|
|
592
592
|
}),
|
|
593
|
-
/* @__PURE__ */ (0,
|
|
593
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
594
594
|
]
|
|
595
|
-
}),
|
|
595
|
+
}), Gt = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
596
596
|
className: "sid-header sid-l-horz-center",
|
|
597
597
|
"data-testid": "sid-review-pending",
|
|
598
598
|
children: [
|
|
599
|
-
/* @__PURE__ */ (0,
|
|
599
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
600
600
|
className: "sid-l-horz-center",
|
|
601
601
|
children: e
|
|
602
602
|
}),
|
|
603
|
-
/* @__PURE__ */ (0,
|
|
603
|
+
/* @__PURE__ */ (0, I.jsx)(mt, {
|
|
604
604
|
align: "center",
|
|
605
|
-
children: /* @__PURE__ */ (0,
|
|
605
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
606
606
|
id: "step.pending.idCheckLoop.title",
|
|
607
607
|
defaultMessage: "We're reviewing your documents",
|
|
608
608
|
tagName: "h1"
|
|
609
609
|
})
|
|
610
610
|
}),
|
|
611
|
-
/* @__PURE__ */ (0,
|
|
611
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
612
612
|
className: "sid-header__subtitle-one",
|
|
613
|
-
children: /* @__PURE__ */ (0,
|
|
613
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
614
614
|
id: "step.pending.idCheckLoop.subtitle",
|
|
615
615
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
616
616
|
})
|
|
617
617
|
}),
|
|
618
|
-
/* @__PURE__ */ (0,
|
|
618
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
619
619
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
620
|
-
children: /* @__PURE__ */ (0,
|
|
620
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
621
621
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
622
622
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
623
623
|
})
|
|
624
624
|
}),
|
|
625
|
-
/* @__PURE__ */ (0,
|
|
625
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
626
626
|
]
|
|
627
|
-
}),
|
|
628
|
-
title: /* @__PURE__ */ (0,
|
|
627
|
+
}), Kt = { [A.SIGNZY]: {
|
|
628
|
+
title: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
629
629
|
id: "step.thirdPartyLoop.signzy.title",
|
|
630
630
|
tagName: "h1",
|
|
631
631
|
defaultMessage: "Verify using DigiLocker"
|
|
632
632
|
}),
|
|
633
|
-
subtitle: /* @__PURE__ */ (0,
|
|
633
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
634
634
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
635
635
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
636
636
|
}),
|
|
637
|
-
login: /* @__PURE__ */ (0,
|
|
637
|
+
login: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
638
638
|
id: "step.thirdPartyLoop.signzy.login",
|
|
639
639
|
defaultMessage: "Sign in to DigiLocker"
|
|
640
640
|
}),
|
|
641
|
-
cancel: /* @__PURE__ */ (0,
|
|
641
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
642
642
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
643
643
|
defaultMessage: "Upload Proof of Identity"
|
|
644
644
|
})
|
|
645
|
-
} },
|
|
646
|
-
let n = /* @__PURE__ */ (0,
|
|
645
|
+
} }, qt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
646
|
+
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
647
647
|
className: "sid-header sid-l-horz-center",
|
|
648
648
|
children: [
|
|
649
|
-
/* @__PURE__ */ (0,
|
|
649
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
650
650
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
651
651
|
children: e
|
|
652
652
|
}),
|
|
653
|
-
/* @__PURE__ */ (0,
|
|
653
|
+
/* @__PURE__ */ (0, I.jsx)(mt, {
|
|
654
654
|
align: "center",
|
|
655
|
-
children: /* @__PURE__ */ (0,
|
|
655
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
656
656
|
id: "error",
|
|
657
657
|
tagName: "h1"
|
|
658
658
|
})
|
|
659
659
|
}),
|
|
660
|
-
/* @__PURE__ */ (0,
|
|
660
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
661
661
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
662
|
-
children: /* @__PURE__ */ (0,
|
|
662
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
663
663
|
className: "sid-error-msg sid-l-horz-center",
|
|
664
|
-
children: /* @__PURE__ */ (0,
|
|
664
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
665
665
|
id: "step.thirdPartyLoop.error",
|
|
666
666
|
defaultMessage: "Provider not supported"
|
|
667
667
|
})
|
|
@@ -669,232 +669,232 @@ var mt = (e, t) => {
|
|
|
669
669
|
})
|
|
670
670
|
]
|
|
671
671
|
});
|
|
672
|
-
return /* @__PURE__ */ (0,
|
|
672
|
+
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
673
673
|
id: "sid-step-third-party-loop",
|
|
674
674
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
675
675
|
"data-testid": "sid-step-third-party-loop-error",
|
|
676
|
-
children: t ? /* @__PURE__ */ (0,
|
|
676
|
+
children: t ? /* @__PURE__ */ (0, I.jsx)("div", {
|
|
677
677
|
role: "main",
|
|
678
678
|
children: n
|
|
679
679
|
}) : n
|
|
680
680
|
});
|
|
681
|
-
},
|
|
682
|
-
let t =
|
|
683
|
-
return t ? /* @__PURE__ */ (0,
|
|
681
|
+
}, Jt = ({ verificationService: e }) => {
|
|
682
|
+
let t = Kt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = ct("hc-my-sheer-id-theme-builder");
|
|
683
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Vt, {
|
|
684
684
|
verificationService: e,
|
|
685
685
|
stepName: k.thirdPartyLoop,
|
|
686
686
|
messages: t,
|
|
687
|
-
cancelButtonType:
|
|
688
|
-
}) : /* @__PURE__ */ (0,
|
|
687
|
+
cancelButtonType: Bt.SECONDARY
|
|
688
|
+
}) : /* @__PURE__ */ (0, I.jsx)(qt, {
|
|
689
689
|
isStepRoot: !0,
|
|
690
|
-
logo: /* @__PURE__ */ (0,
|
|
690
|
+
logo: /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
691
691
|
verificationService: e,
|
|
692
|
-
fallbackLogo: !n && /* @__PURE__ */ (0,
|
|
692
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
693
693
|
className: "sid-error-logo sid-l-lead-image",
|
|
694
694
|
alt: "",
|
|
695
695
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
696
696
|
})
|
|
697
697
|
})
|
|
698
698
|
});
|
|
699
|
-
},
|
|
700
|
-
let i =
|
|
701
|
-
return i ? /* @__PURE__ */ (0,
|
|
699
|
+
}, Yt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
700
|
+
let i = Kt[r ? Re("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
701
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
702
702
|
stepName: k.thirdPartyLoop,
|
|
703
703
|
messages: i,
|
|
704
704
|
logo: e,
|
|
705
705
|
cancelSingleSignOn: n,
|
|
706
|
-
cancelButtonType:
|
|
707
|
-
}) : /* @__PURE__ */ (0,
|
|
708
|
-
},
|
|
709
|
-
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o =
|
|
706
|
+
cancelButtonType: Bt.SECONDARY
|
|
707
|
+
}) : /* @__PURE__ */ (0, I.jsx)(qt, { logo: e });
|
|
708
|
+
}, Xt = 5e3, Zt = 2e4, Qt = 2e4, $t = 2e3, en = ({ verificationService: e }) => {
|
|
709
|
+
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o = Le(), s = Be() && Be() === k.sso, c = Be() && Be() === k.thirdPartyLoop, l = Be() && Be() === k.idCheckLoop, u = ct("hc-my-sheer-id-theme-builder"), d = () => i?.currentStep === k.sso, f = () => i?.currentStep === k.thirdPartyLoop, p = () => i?.currentStep === k.idCheckLoop, m = d() || f() || s || c, h = p() || l, g = !m && !h, [_, v] = P.useState(() => m ? $t : h ? Qt : Xt);
|
|
710
710
|
P.useEffect(() => {
|
|
711
711
|
if (!g) return;
|
|
712
|
-
let e = setTimeout(() => v(
|
|
712
|
+
let e = setTimeout(() => v(Qt), Zt);
|
|
713
713
|
return () => clearTimeout(e);
|
|
714
714
|
}, [g]);
|
|
715
|
-
let y = !o &&
|
|
715
|
+
let y = !o && It(() => {
|
|
716
716
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
717
717
|
}, _), b = (t) => {
|
|
718
718
|
let r = S(n, () => {});
|
|
719
|
-
O.info("StepSingleSignOnComponent submitting cancel request, step:", t), y(),
|
|
720
|
-
}, x = /* @__PURE__ */ (0,
|
|
719
|
+
O.info("StepSingleSignOnComponent submitting cancel request, step:", t), y(), dt(), e.submitStep(t, r, i);
|
|
720
|
+
}, x = /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
721
721
|
verificationService: e,
|
|
722
|
-
fallbackLogo: !u && /* @__PURE__ */ (0,
|
|
722
|
+
fallbackLogo: !u && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
723
723
|
className: "sid-l-lead-image",
|
|
724
724
|
alt: "",
|
|
725
725
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
726
726
|
})
|
|
727
727
|
});
|
|
728
|
-
return /* @__PURE__ */ (0,
|
|
728
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
729
729
|
id: "sid-step-pending",
|
|
730
730
|
className: "sid-l-container",
|
|
731
|
-
children: [/* @__PURE__ */ (0,
|
|
731
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
732
732
|
role: "main",
|
|
733
733
|
children: (() => {
|
|
734
734
|
let e = d() || s, t = f() || c, n = p() || l;
|
|
735
|
-
return e ? /* @__PURE__ */ (0,
|
|
735
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
736
736
|
stepName: k.sso,
|
|
737
|
-
messages:
|
|
737
|
+
messages: Ht,
|
|
738
738
|
logo: x,
|
|
739
739
|
cancelSingleSignOn: () => b(k.sso)
|
|
740
|
-
}) : t ? /* @__PURE__ */ (0,
|
|
740
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(Yt, {
|
|
741
741
|
logo: x,
|
|
742
742
|
cancelThirdPartyLoop: () => b(k.thirdPartyLoop),
|
|
743
743
|
verificationLastResponse: i,
|
|
744
744
|
isMockingPreviousStepThirdPartyLoop: c
|
|
745
|
-
}) : n ? /* @__PURE__ */ (0,
|
|
745
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(Gt, { logo: x }) : /* @__PURE__ */ (0, I.jsx)(Wt, { logo: x });
|
|
746
746
|
})()
|
|
747
|
-
}), h ? /* @__PURE__ */ (0,
|
|
747
|
+
}), h ? /* @__PURE__ */ (0, I.jsx)(Ft, {
|
|
748
748
|
verificationService: e,
|
|
749
749
|
isCentered: !0
|
|
750
|
-
}) : /* @__PURE__ */ (0,
|
|
750
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(tt, {
|
|
751
751
|
verificationService: e,
|
|
752
|
-
children: [/* @__PURE__ */ (0,
|
|
752
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
753
753
|
})]
|
|
754
754
|
});
|
|
755
|
-
},
|
|
756
|
-
let e =
|
|
755
|
+
}, tn = () => {
|
|
756
|
+
let e = Te(), t = ke(), n = Ne(), r = a(() => n.segment), i = P.useCallback(() => {
|
|
757
757
|
if (window.self !== window.top) {
|
|
758
758
|
let e = new URL(window.location.href);
|
|
759
759
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
762
762
|
(async () => {
|
|
763
|
-
|
|
763
|
+
et(e)(), await Ze(e)(t, r, void 0, void 0, !0);
|
|
764
764
|
})();
|
|
765
765
|
}, [
|
|
766
766
|
e,
|
|
767
767
|
t,
|
|
768
768
|
r
|
|
769
769
|
]);
|
|
770
|
-
return /* @__PURE__ */ (0,
|
|
770
|
+
return /* @__PURE__ */ (0, I.jsx)("button", {
|
|
771
771
|
type: "button",
|
|
772
772
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
773
773
|
onClick: i,
|
|
774
774
|
onKeyPress: i,
|
|
775
|
-
children: /* @__PURE__ */ (0,
|
|
775
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "tryAgain" })
|
|
776
776
|
});
|
|
777
|
-
},
|
|
777
|
+
}, nn = {
|
|
778
778
|
NONE: "none",
|
|
779
779
|
RESET: "reset",
|
|
780
780
|
POSTMESSAGE: "postMessage",
|
|
781
781
|
REDIRECT: "redirect"
|
|
782
|
-
},
|
|
783
|
-
let e =
|
|
782
|
+
}, rn = () => {
|
|
783
|
+
let e = Ne(), t = () => de({
|
|
784
784
|
action: "tryAgain",
|
|
785
785
|
verificationResponse: e
|
|
786
786
|
});
|
|
787
|
-
return /* @__PURE__ */ (0,
|
|
787
|
+
return /* @__PURE__ */ (0, I.jsx)("button", {
|
|
788
788
|
type: "button",
|
|
789
789
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
790
790
|
onClick: t,
|
|
791
791
|
onKeyPress: t,
|
|
792
|
-
children: /* @__PURE__ */ (0,
|
|
792
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "tryAgain" })
|
|
793
793
|
});
|
|
794
|
-
},
|
|
794
|
+
}, an = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(je, {
|
|
795
795
|
target: t,
|
|
796
796
|
href: e.toString(),
|
|
797
797
|
className: "sid-btn sid-btn--dark",
|
|
798
|
-
children: /* @__PURE__ */ (0,
|
|
799
|
-
}),
|
|
800
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
801
|
-
},
|
|
798
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "seeOtherOffers" })
|
|
799
|
+
}), on = (e) => {
|
|
800
|
+
if (!(typeof e == "object" && "type" in e && Object.values(nn).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
801
|
+
}, sn = () => {
|
|
802
802
|
let e = x("tryAgainAction");
|
|
803
803
|
try {
|
|
804
|
-
switch (
|
|
805
|
-
case
|
|
806
|
-
case
|
|
807
|
-
case
|
|
804
|
+
switch (on(e), e.type) {
|
|
805
|
+
case nn.NONE: return null;
|
|
806
|
+
case nn.POSTMESSAGE: return window.self === window.top ? (O.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)(rn, {});
|
|
807
|
+
case nn.REDIRECT:
|
|
808
808
|
if (!p(e.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
809
|
-
return /* @__PURE__ */ (0,
|
|
809
|
+
return /* @__PURE__ */ (0, I.jsx)(an, {
|
|
810
810
|
redirectUrl: e.url,
|
|
811
811
|
target: e.target
|
|
812
812
|
});
|
|
813
|
-
case
|
|
813
|
+
case nn.RESET: return /* @__PURE__ */ (0, I.jsx)(tn, {});
|
|
814
814
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
815
815
|
}
|
|
816
816
|
} catch (e) {
|
|
817
|
-
return O.error(e.message), /* @__PURE__ */ (0,
|
|
817
|
+
return O.error(e.message), /* @__PURE__ */ (0, I.jsx)(tn, {});
|
|
818
818
|
}
|
|
819
|
-
},
|
|
819
|
+
}, cn = [
|
|
820
820
|
"docReviewLimitExceeded",
|
|
821
821
|
"verificationLimitExceeded",
|
|
822
822
|
"fraudRulesReject"
|
|
823
|
-
],
|
|
824
|
-
let t =
|
|
825
|
-
return /* @__PURE__ */ (0,
|
|
823
|
+
], ln = ({ errorIds: e }) => {
|
|
824
|
+
let t = Me(), n = e[0];
|
|
825
|
+
return /* @__PURE__ */ (0, I.jsx)(mt, {
|
|
826
826
|
align: "center",
|
|
827
|
-
children: /* @__PURE__ */ (0,
|
|
827
|
+
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(N, { id: t?.[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
828
828
|
});
|
|
829
|
-
},
|
|
829
|
+
}, un = ({ errorIds: e, errorDetailId: t }) => {
|
|
830
830
|
let n = /* @__PURE__ */ new Map();
|
|
831
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0,
|
|
832
|
-
},
|
|
833
|
-
let t =
|
|
834
|
-
return t?.[n] ? /* @__PURE__ */ (0,
|
|
831
|
+
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)(N, { id: t }, t)) }) : null;
|
|
832
|
+
}, dn = ({ errorIds: e }) => {
|
|
833
|
+
let t = Me(), n = `step.error.errorId.${e[0]}.note`;
|
|
834
|
+
return t?.[n] ? /* @__PURE__ */ (0, I.jsx)("p", {
|
|
835
835
|
className: "sid-error-note sid-h-small-text",
|
|
836
|
-
children: /* @__PURE__ */ (0,
|
|
836
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: n })
|
|
837
837
|
}) : null;
|
|
838
|
-
},
|
|
839
|
-
let r =
|
|
838
|
+
}, fn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
839
|
+
let r = Me();
|
|
840
840
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
841
841
|
let t = a(() => e.programTheme.config.brandInfo.faqUrl);
|
|
842
|
-
return t ? /* @__PURE__ */ (0,
|
|
842
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(je, {
|
|
843
843
|
href: t,
|
|
844
844
|
onClick: () => l(k.error, t),
|
|
845
845
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
846
|
-
children: /* @__PURE__ */ (0,
|
|
846
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
847
847
|
}) : null;
|
|
848
848
|
}
|
|
849
849
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
850
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return x("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0,
|
|
850
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return x("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(sn, {});
|
|
851
851
|
let i = t[0];
|
|
852
|
-
return r?.[`step.error.errorId.${i}.buttonText`] && p(n) ? /* @__PURE__ */ (0,
|
|
852
|
+
return r?.[`step.error.errorId.${i}.buttonText`] && p(n) ? /* @__PURE__ */ (0, I.jsx)(je, {
|
|
853
853
|
href: n,
|
|
854
854
|
onClick: () => l(k.error, n),
|
|
855
855
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
856
|
-
children: /* @__PURE__ */ (0,
|
|
857
|
-
}) : /* @__PURE__ */ (0,
|
|
858
|
-
},
|
|
859
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
856
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: `step.error.errorId.${i}.buttonText` })
|
|
857
|
+
}) : /* @__PURE__ */ (0, I.jsx)(sn, {});
|
|
858
|
+
}, pn = ({ verificationService: e, errorId: t }) => {
|
|
859
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = ct("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
860
860
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
861
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
862
|
-
return /* @__PURE__ */ (0,
|
|
861
|
+
let s = Array.from(o), c = s.some((e) => cn.includes(e));
|
|
862
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
863
863
|
id: "sid-step-error",
|
|
864
864
|
className: "sid-error-container sid-l-container",
|
|
865
|
-
children: [/* @__PURE__ */ (0,
|
|
865
|
+
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
866
866
|
className: "sid-header sid-l-horz-center",
|
|
867
867
|
role: "banner",
|
|
868
868
|
children: [
|
|
869
|
-
/* @__PURE__ */ (0,
|
|
869
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
870
870
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
871
|
-
children: /* @__PURE__ */ (0,
|
|
871
|
+
children: /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
872
872
|
verificationService: e,
|
|
873
|
-
fallbackLogo: !a && /* @__PURE__ */ (0,
|
|
873
|
+
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
874
874
|
className: "sid-error-logo sid-l-lead-image",
|
|
875
875
|
alt: "",
|
|
876
876
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
877
877
|
})
|
|
878
878
|
})
|
|
879
879
|
}),
|
|
880
|
-
/* @__PURE__ */ (0,
|
|
881
|
-
/* @__PURE__ */ (0,
|
|
880
|
+
/* @__PURE__ */ (0, I.jsx)(ln, { errorIds: s }),
|
|
881
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
882
882
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
883
883
|
children: [
|
|
884
|
-
/* @__PURE__ */ (0,
|
|
884
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
885
885
|
className: "sid-error-msg sid-l-horz-center",
|
|
886
|
-
children: [/* @__PURE__ */ (0,
|
|
886
|
+
children: [/* @__PURE__ */ (0, I.jsx)(un, {
|
|
887
887
|
errorIds: s,
|
|
888
888
|
errorDetailId: i
|
|
889
|
-
}), /* @__PURE__ */ (0,
|
|
889
|
+
}), /* @__PURE__ */ (0, I.jsx)(dn, { errorIds: s })]
|
|
890
890
|
}),
|
|
891
|
-
c && /* @__PURE__ */ (0,
|
|
891
|
+
c && /* @__PURE__ */ (0, I.jsx)("p", {
|
|
892
892
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
893
|
-
children: /* @__PURE__ */ (0,
|
|
893
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "contactSupport" })
|
|
894
894
|
}),
|
|
895
|
-
/* @__PURE__ */ (0,
|
|
895
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
896
896
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
897
|
-
children: /* @__PURE__ */ (0,
|
|
897
|
+
children: /* @__PURE__ */ (0, I.jsx)(fn, {
|
|
898
898
|
verificationService: e,
|
|
899
899
|
errorIds: s,
|
|
900
900
|
redirectUrl: r
|
|
@@ -903,51 +903,51 @@ var mt = (e, t) => {
|
|
|
903
903
|
]
|
|
904
904
|
})
|
|
905
905
|
]
|
|
906
|
-
}), /* @__PURE__ */ (0,
|
|
906
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
907
907
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
908
|
-
children: /* @__PURE__ */ (0,
|
|
908
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ft, {
|
|
909
909
|
verificationService: e,
|
|
910
910
|
isCentered: !0,
|
|
911
911
|
hideFaqLink: c
|
|
912
912
|
})
|
|
913
913
|
})]
|
|
914
914
|
});
|
|
915
|
-
},
|
|
916
|
-
StepPendingComponent:
|
|
917
|
-
StepErrorComponent:
|
|
918
|
-
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-
|
|
919
|
-
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-
|
|
920
|
-
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
921
|
-
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-
|
|
922
|
-
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
923
|
-
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
924
|
-
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
925
|
-
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-
|
|
926
|
-
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-
|
|
927
|
-
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-
|
|
928
|
-
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-
|
|
929
|
-
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-
|
|
930
|
-
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-
|
|
931
|
-
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-
|
|
932
|
-
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-
|
|
933
|
-
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-
|
|
934
|
-
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-
|
|
935
|
-
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-
|
|
936
|
-
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-
|
|
937
|
-
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload-
|
|
938
|
-
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-
|
|
939
|
-
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-
|
|
940
|
-
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-
|
|
941
|
-
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-
|
|
942
|
-
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-
|
|
915
|
+
}, mn = {
|
|
916
|
+
StepPendingComponent: en,
|
|
917
|
+
StepErrorComponent: pn,
|
|
918
|
+
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-JKQyuhXR.js")),
|
|
919
|
+
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-CHRZdJdv.js")),
|
|
920
|
+
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-C6SEZ9Oa.js")),
|
|
921
|
+
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-C6SEZ9Oa.js")),
|
|
922
|
+
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-D08jnp7r.js")),
|
|
923
|
+
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-D08jnp7r.js")),
|
|
924
|
+
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-D08jnp7r.js")),
|
|
925
|
+
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-D08jnp7r.js")),
|
|
926
|
+
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-DAUnpdwY.js")),
|
|
927
|
+
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-DInj_Kjv.js")),
|
|
928
|
+
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-BBINQ-12.js")),
|
|
929
|
+
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-Ug0AKY5T.js")),
|
|
930
|
+
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-BR7bMAMt.js")),
|
|
931
|
+
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-CchfAliF.js")),
|
|
932
|
+
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-2z10hhnE.js")),
|
|
933
|
+
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-DvY2PYF2.js")),
|
|
934
|
+
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-CnwQHj5v.js")),
|
|
935
|
+
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-BgRL5j5g.js")),
|
|
936
|
+
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-CD_eKd9M.js")),
|
|
937
|
+
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload-LGeSkhys.js")),
|
|
938
|
+
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-C4zGiSxp.js")),
|
|
939
|
+
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-ClrVrMNH.js").then((e) => e.n)),
|
|
940
|
+
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-DDyWo8d6.js")),
|
|
941
|
+
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-B6IejBgf.js")),
|
|
942
|
+
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-C8h5CjH0.js")),
|
|
943
943
|
StepSSOComponent: P.lazy(() => import("./chunk/StepSSO-BGHCbduX.js")),
|
|
944
|
-
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-
|
|
945
|
-
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-
|
|
944
|
+
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-B_eN9rgQ.js")),
|
|
945
|
+
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-hhwIENW1.js")),
|
|
946
946
|
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-BrdV0iN-.js")),
|
|
947
|
-
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-
|
|
948
|
-
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-
|
|
947
|
+
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-MuXIkxMQ.js")),
|
|
948
|
+
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-DVzTF-9a.js")),
|
|
949
949
|
StepThirdPartyLoopComponent: P.lazy(() => import("./chunk/StepThirdPartyLoop-CbFTIlwP.js"))
|
|
950
|
-
}, R = (e) => (O.info("getComponent", e),
|
|
950
|
+
}, R = (e) => (O.info("getComponent", e), kt(e) || mn[e]), hn = () => /* @__PURE__ */ (0, I.jsx)(Mt, {}), gn = ({ stepToLoad: e, verificationService: t }) => {
|
|
951
951
|
O.info(`LoadStepComponent: rendering step: ${e}`);
|
|
952
952
|
let n;
|
|
953
953
|
switch ((0, P.useEffect)(() => {
|
|
@@ -1060,11 +1060,11 @@ var mt = (e, t) => {
|
|
|
1060
1060
|
case "completeAuthentication":
|
|
1061
1061
|
n = R("StepCompleteAuthentication");
|
|
1062
1062
|
break;
|
|
1063
|
-
case "missingRequiredMetadata": return n = R("StepErrorComponent"), /* @__PURE__ */ (0,
|
|
1063
|
+
case "missingRequiredMetadata": return n = R("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1064
1064
|
verificationService: t,
|
|
1065
1065
|
errorId: "missingRequiredMetadata"
|
|
1066
1066
|
});
|
|
1067
|
-
case "missingRequiredExternalId": return n = R("StepErrorComponent"), /* @__PURE__ */ (0,
|
|
1067
|
+
case "missingRequiredExternalId": return n = R("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1068
1068
|
verificationService: t,
|
|
1069
1069
|
errorId: "missingRequiredExternalId"
|
|
1070
1070
|
});
|
|
@@ -1075,44 +1075,44 @@ var mt = (e, t) => {
|
|
|
1075
1075
|
case "cancelEmailLoop":
|
|
1076
1076
|
case "cancelSocialSecurityNumber":
|
|
1077
1077
|
case "docReviewLimitExceeded":
|
|
1078
|
-
case "emailLoopCollectOrganizationEmail": return O.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0,
|
|
1078
|
+
case "emailLoopCollectOrganizationEmail": return O.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(pn, {
|
|
1079
1079
|
verificationService: t,
|
|
1080
1080
|
errorId: "invalidStep"
|
|
1081
1081
|
});
|
|
1082
|
-
default: return O.error("Unable to load step", e), /* @__PURE__ */ (0,
|
|
1082
|
+
default: return O.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(pn, {
|
|
1083
1083
|
verificationService: t,
|
|
1084
1084
|
errorId: "invalidStep"
|
|
1085
1085
|
});
|
|
1086
1086
|
}
|
|
1087
|
-
return /* @__PURE__ */ (0,
|
|
1088
|
-
fallback:
|
|
1089
|
-
children: /* @__PURE__ */ (0,
|
|
1087
|
+
return /* @__PURE__ */ (0, I.jsx)(P.Suspense, {
|
|
1088
|
+
fallback: hn(),
|
|
1089
|
+
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1090
1090
|
});
|
|
1091
|
-
},
|
|
1091
|
+
}, _n = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1092
1092
|
dangerouslySetInnerHTML: e,
|
|
1093
1093
|
...t
|
|
1094
|
-
}) : /* @__PURE__ */ (0,
|
|
1094
|
+
}) : /* @__PURE__ */ (0, I.jsx)(P.Fragment, { ...t }), vn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1095
1095
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1096
1096
|
role: "note",
|
|
1097
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
1097
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(je, {
|
|
1098
1098
|
className: "sid-test-mode-flag__link",
|
|
1099
1099
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1100
1100
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1101
1101
|
children: "(learn more)"
|
|
1102
1102
|
})]
|
|
1103
|
-
}) : null,
|
|
1103
|
+
}) : null, yn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1104
1104
|
className: "sid-header",
|
|
1105
1105
|
children: [
|
|
1106
|
-
/* @__PURE__ */ (0,
|
|
1106
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1107
1107
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1108
|
-
children: /* @__PURE__ */ (0,
|
|
1108
|
+
children: /* @__PURE__ */ (0, I.jsx)(ft, {
|
|
1109
1109
|
verificationService: e,
|
|
1110
1110
|
fallbackLogo: r
|
|
1111
1111
|
})
|
|
1112
1112
|
}),
|
|
1113
|
-
/* @__PURE__ */ (0,
|
|
1113
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1114
1114
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
1115
|
-
children: /* @__PURE__ */ (0,
|
|
1115
|
+
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: t })
|
|
1116
1116
|
}),
|
|
1117
1117
|
n
|
|
1118
1118
|
]
|
|
@@ -1125,37 +1125,37 @@ function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
//#endregion
|
|
1127
1127
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1128
|
-
function
|
|
1128
|
+
function bn(e, t) {
|
|
1129
1129
|
if (typeof e == "function") return e(t);
|
|
1130
1130
|
e != null && (e.current = t);
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function xn(...e) {
|
|
1133
1133
|
return (t) => {
|
|
1134
1134
|
let n = !1, r = e.map((e) => {
|
|
1135
|
-
let r =
|
|
1135
|
+
let r = bn(e, t);
|
|
1136
1136
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1137
1137
|
});
|
|
1138
1138
|
if (n) return () => {
|
|
1139
1139
|
for (let t = 0; t < r.length; t++) {
|
|
1140
1140
|
let n = r[t];
|
|
1141
|
-
typeof n == "function" ? n() :
|
|
1141
|
+
typeof n == "function" ? n() : bn(e[t], null);
|
|
1142
1142
|
}
|
|
1143
1143
|
};
|
|
1144
1144
|
};
|
|
1145
1145
|
}
|
|
1146
1146
|
function B(...e) {
|
|
1147
|
-
return P.useCallback(
|
|
1147
|
+
return P.useCallback(xn(...e), e);
|
|
1148
1148
|
}
|
|
1149
1149
|
//#endregion
|
|
1150
1150
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1151
|
-
function
|
|
1151
|
+
function Sn(e, t = []) {
|
|
1152
1152
|
let n = [];
|
|
1153
1153
|
function r(t, r) {
|
|
1154
1154
|
let i = P.createContext(r), a = n.length;
|
|
1155
1155
|
n = [...n, r];
|
|
1156
1156
|
let o = (t) => {
|
|
1157
1157
|
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = P.useMemo(() => o, Object.values(o));
|
|
1158
|
-
return /* @__PURE__ */ (0,
|
|
1158
|
+
return /* @__PURE__ */ (0, I.jsx)(s.Provider, {
|
|
1159
1159
|
value: c,
|
|
1160
1160
|
children: r
|
|
1161
1161
|
});
|
|
@@ -1179,9 +1179,9 @@ function bn(e, t = []) {
|
|
|
1179
1179
|
} }), [n, r]);
|
|
1180
1180
|
};
|
|
1181
1181
|
};
|
|
1182
|
-
return i.scopeName = e, [r,
|
|
1182
|
+
return i.scopeName = e, [r, Cn(i, ...t)];
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1184
|
+
function Cn(...e) {
|
|
1185
1185
|
let t = e[0];
|
|
1186
1186
|
if (e.length === 1) return t;
|
|
1187
1187
|
let n = () => {
|
|
@@ -1205,18 +1205,18 @@ function xn(...e) {
|
|
|
1205
1205
|
//#endregion
|
|
1206
1206
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1207
1207
|
// @__NO_SIDE_EFFECTS__
|
|
1208
|
-
function
|
|
1209
|
-
let t = /* @__PURE__ */
|
|
1210
|
-
let { children: r, ...i } = e, a = P.Children.toArray(r), o = a.find(
|
|
1208
|
+
function wn(e) {
|
|
1209
|
+
let t = /* @__PURE__ */ Tn(e), n = P.forwardRef((e, n) => {
|
|
1210
|
+
let { children: r, ...i } = e, a = P.Children.toArray(r), o = a.find(Dn);
|
|
1211
1211
|
if (o) {
|
|
1212
1212
|
let e = o.props.children, r = a.map((t) => t === o ? P.Children.count(e) > 1 ? P.Children.only(null) : P.isValidElement(e) ? e.props.children : null : t);
|
|
1213
|
-
return /* @__PURE__ */ (0,
|
|
1213
|
+
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
1214
1214
|
...i,
|
|
1215
1215
|
ref: n,
|
|
1216
1216
|
children: P.isValidElement(e) ? P.cloneElement(e, void 0, r) : null
|
|
1217
1217
|
});
|
|
1218
1218
|
}
|
|
1219
|
-
return /* @__PURE__ */ (0,
|
|
1219
|
+
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
1220
1220
|
...i,
|
|
1221
1221
|
ref: n,
|
|
1222
1222
|
children: r
|
|
@@ -1225,22 +1225,22 @@ function Sn(e) {
|
|
|
1225
1225
|
return n.displayName = `${e}.Slot`, n;
|
|
1226
1226
|
}
|
|
1227
1227
|
// @__NO_SIDE_EFFECTS__
|
|
1228
|
-
function
|
|
1228
|
+
function Tn(e) {
|
|
1229
1229
|
let t = P.forwardRef((e, t) => {
|
|
1230
1230
|
let { children: n, ...r } = e;
|
|
1231
1231
|
if (P.isValidElement(n)) {
|
|
1232
|
-
let e =
|
|
1233
|
-
return n.type !== P.Fragment && (i.ref = t ?
|
|
1232
|
+
let e = kn(n), i = On(r, n.props);
|
|
1233
|
+
return n.type !== P.Fragment && (i.ref = t ? xn(t, e) : e), P.cloneElement(n, i);
|
|
1234
1234
|
}
|
|
1235
1235
|
return P.Children.count(n) > 1 ? P.Children.only(null) : null;
|
|
1236
1236
|
});
|
|
1237
1237
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1238
1238
|
}
|
|
1239
|
-
var
|
|
1240
|
-
function
|
|
1241
|
-
return P.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
1239
|
+
var En = Symbol("radix.slottable");
|
|
1240
|
+
function Dn(e) {
|
|
1241
|
+
return P.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === En;
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function On(e, t) {
|
|
1244
1244
|
let n = { ...t };
|
|
1245
1245
|
for (let r in t) {
|
|
1246
1246
|
let i = e[r], a = t[r];
|
|
@@ -1257,7 +1257,7 @@ function En(e, t) {
|
|
|
1257
1257
|
...n
|
|
1258
1258
|
};
|
|
1259
1259
|
}
|
|
1260
|
-
function
|
|
1260
|
+
function kn(e) {
|
|
1261
1261
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1262
1262
|
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);
|
|
1263
1263
|
}
|
|
@@ -1282,9 +1282,9 @@ var V = [
|
|
|
1282
1282
|
"svg",
|
|
1283
1283
|
"ul"
|
|
1284
1284
|
].reduce((e, t) => {
|
|
1285
|
-
let n = /* @__PURE__ */
|
|
1285
|
+
let n = /* @__PURE__ */ wn(`Primitive.${t}`), r = P.forwardRef((e, r) => {
|
|
1286
1286
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1287
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0,
|
|
1287
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1288
1288
|
...a,
|
|
1289
1289
|
ref: r
|
|
1290
1290
|
});
|
|
@@ -1294,12 +1294,12 @@ var V = [
|
|
|
1294
1294
|
[t]: r
|
|
1295
1295
|
};
|
|
1296
1296
|
}, {});
|
|
1297
|
-
function
|
|
1298
|
-
e &&
|
|
1297
|
+
function An(e, t) {
|
|
1298
|
+
e && St.flushSync(() => e.dispatchEvent(t));
|
|
1299
1299
|
}
|
|
1300
1300
|
//#endregion
|
|
1301
1301
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1302
|
-
function
|
|
1302
|
+
function jn(e) {
|
|
1303
1303
|
let t = P.useRef(e);
|
|
1304
1304
|
return P.useEffect(() => {
|
|
1305
1305
|
t.current = e;
|
|
@@ -1307,8 +1307,8 @@ function kn(e) {
|
|
|
1307
1307
|
}
|
|
1308
1308
|
//#endregion
|
|
1309
1309
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1310
|
-
function
|
|
1311
|
-
let n =
|
|
1310
|
+
function Mn(e, t = globalThis?.document) {
|
|
1311
|
+
let n = jn(e);
|
|
1312
1312
|
P.useEffect(() => {
|
|
1313
1313
|
let e = (e) => {
|
|
1314
1314
|
e.key === "Escape" && n(e);
|
|
@@ -1318,23 +1318,23 @@ function An(e, t = globalThis?.document) {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
//#endregion
|
|
1320
1320
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1321
|
-
var
|
|
1321
|
+
var Nn = "DismissableLayer", Pn = "dismissableLayer.update", Fn = "dismissableLayer.pointerDownOutside", In = "dismissableLayer.focusOutside", Ln, Rn = P.createContext({
|
|
1322
1322
|
layers: /* @__PURE__ */ new Set(),
|
|
1323
1323
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1324
1324
|
branches: /* @__PURE__ */ new Set()
|
|
1325
|
-
}),
|
|
1326
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = P.useContext(
|
|
1325
|
+
}), zn = P.forwardRef((e, t) => {
|
|
1326
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = P.useContext(Rn), [u, d] = P.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = P.useState({}), m = B(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 = Hn((e) => {
|
|
1327
1327
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1328
1328
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1329
|
-
}, f), S =
|
|
1329
|
+
}, f), S = Un((e) => {
|
|
1330
1330
|
let t = e.target;
|
|
1331
1331
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1332
1332
|
}, f);
|
|
1333
|
-
return
|
|
1333
|
+
return Mn((e) => {
|
|
1334
1334
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1335
1335
|
}, f), P.useEffect(() => {
|
|
1336
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1337
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1336
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Ln = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Wn(), () => {
|
|
1337
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Ln);
|
|
1338
1338
|
};
|
|
1339
1339
|
}, [
|
|
1340
1340
|
u,
|
|
@@ -1342,11 +1342,11 @@ var jn = "DismissableLayer", Mn = "dismissableLayer.update", Nn = "dismissableLa
|
|
|
1342
1342
|
n,
|
|
1343
1343
|
l
|
|
1344
1344
|
]), P.useEffect(() => () => {
|
|
1345
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1345
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Wn());
|
|
1346
1346
|
}, [u, l]), P.useEffect(() => {
|
|
1347
1347
|
let e = () => p({});
|
|
1348
|
-
return document.addEventListener(
|
|
1349
|
-
}, []), /* @__PURE__ */ (0,
|
|
1348
|
+
return document.addEventListener(Pn, e), () => document.removeEventListener(Pn, e);
|
|
1349
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
1350
1350
|
...c,
|
|
1351
1351
|
ref: m,
|
|
1352
1352
|
style: {
|
|
@@ -1358,27 +1358,27 @@ var jn = "DismissableLayer", Mn = "dismissableLayer.update", Nn = "dismissableLa
|
|
|
1358
1358
|
onPointerDownCapture: z(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1359
1359
|
});
|
|
1360
1360
|
});
|
|
1361
|
-
|
|
1362
|
-
var
|
|
1363
|
-
let n = P.useContext(
|
|
1361
|
+
zn.displayName = Nn;
|
|
1362
|
+
var Bn = "DismissableLayerBranch", Vn = P.forwardRef((e, t) => {
|
|
1363
|
+
let n = P.useContext(Rn), r = P.useRef(null), i = B(t, r);
|
|
1364
1364
|
return P.useEffect(() => {
|
|
1365
1365
|
let e = r.current;
|
|
1366
1366
|
if (e) return n.branches.add(e), () => {
|
|
1367
1367
|
n.branches.delete(e);
|
|
1368
1368
|
};
|
|
1369
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
1369
|
+
}, [n.branches]), /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
1370
1370
|
...e,
|
|
1371
1371
|
ref: i
|
|
1372
1372
|
});
|
|
1373
1373
|
});
|
|
1374
|
-
|
|
1375
|
-
function
|
|
1376
|
-
let n =
|
|
1374
|
+
Vn.displayName = Bn;
|
|
1375
|
+
function Hn(e, t = globalThis?.document) {
|
|
1376
|
+
let n = jn(e), r = P.useRef(!1), i = P.useRef(() => {});
|
|
1377
1377
|
return P.useEffect(() => {
|
|
1378
1378
|
let e = (e) => {
|
|
1379
1379
|
if (e.target && !r.current) {
|
|
1380
1380
|
let r = function() {
|
|
1381
|
-
|
|
1381
|
+
Gn(Fn, n, a, { discrete: !0 });
|
|
1382
1382
|
}, a = { originalEvent: e };
|
|
1383
1383
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1384
1384
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1391,11 +1391,11 @@ function Bn(e, t = globalThis?.document) {
|
|
|
1391
1391
|
};
|
|
1392
1392
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1395
|
-
let n =
|
|
1394
|
+
function Un(e, t = globalThis?.document) {
|
|
1395
|
+
let n = jn(e), r = P.useRef(!1);
|
|
1396
1396
|
return P.useEffect(() => {
|
|
1397
1397
|
let e = (e) => {
|
|
1398
|
-
e.target && !r.current &&
|
|
1398
|
+
e.target && !r.current && Gn(In, n, { originalEvent: e }, { discrete: !1 });
|
|
1399
1399
|
};
|
|
1400
1400
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1401
1401
|
}, [t, n]), {
|
|
@@ -1403,40 +1403,40 @@ function Vn(e, t = globalThis?.document) {
|
|
|
1403
1403
|
onBlurCapture: () => r.current = !1
|
|
1404
1404
|
};
|
|
1405
1405
|
}
|
|
1406
|
-
function
|
|
1407
|
-
let e = new CustomEvent(
|
|
1406
|
+
function Wn() {
|
|
1407
|
+
let e = new CustomEvent(Pn);
|
|
1408
1408
|
document.dispatchEvent(e);
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1410
|
+
function Gn(e, t, n, { discrete: r }) {
|
|
1411
1411
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1412
1412
|
bubbles: !1,
|
|
1413
1413
|
cancelable: !0,
|
|
1414
1414
|
detail: n
|
|
1415
1415
|
});
|
|
1416
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1416
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? An(i, a) : i.dispatchEvent(a);
|
|
1417
1417
|
}
|
|
1418
1418
|
//#endregion
|
|
1419
1419
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1420
|
-
var
|
|
1421
|
-
function
|
|
1420
|
+
var Kn = 0;
|
|
1421
|
+
function qn() {
|
|
1422
1422
|
P.useEffect(() => {
|
|
1423
1423
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1424
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1425
|
-
|
|
1424
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Jn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Jn()), Kn++, () => {
|
|
1425
|
+
Kn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Kn--;
|
|
1426
1426
|
};
|
|
1427
1427
|
}, []);
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1429
|
+
function Jn() {
|
|
1430
1430
|
let e = document.createElement("span");
|
|
1431
1431
|
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;
|
|
1432
1432
|
}
|
|
1433
1433
|
//#endregion
|
|
1434
1434
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1435
|
-
var
|
|
1435
|
+
var Yn = "focusScope.autoFocusOnMount", Xn = "focusScope.autoFocusOnUnmount", Zn = {
|
|
1436
1436
|
bubbles: !1,
|
|
1437
1437
|
cancelable: !0
|
|
1438
|
-
},
|
|
1439
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = P.useState(null), l =
|
|
1438
|
+
}, Qn = "FocusScope", $n = P.forwardRef((e, t) => {
|
|
1439
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = P.useState(null), l = jn(i), u = jn(a), d = P.useRef(null), f = B(t, (e) => c(e)), p = P.useRef({
|
|
1440
1440
|
paused: !1,
|
|
1441
1441
|
pause() {
|
|
1442
1442
|
this.paused = !0;
|
|
@@ -1450,13 +1450,13 @@ var qn = "focusScope.autoFocusOnMount", Jn = "focusScope.autoFocusOnUnmount", Yn
|
|
|
1450
1450
|
let e = function(e) {
|
|
1451
1451
|
if (p.paused || !s) return;
|
|
1452
1452
|
let t = e.target;
|
|
1453
|
-
s.contains(t) ? d.current = t :
|
|
1453
|
+
s.contains(t) ? d.current = t : or(d.current, { select: !0 });
|
|
1454
1454
|
}, t = function(e) {
|
|
1455
1455
|
if (p.paused || !s) return;
|
|
1456
1456
|
let t = e.relatedTarget;
|
|
1457
|
-
t !== null && (s.contains(t) ||
|
|
1457
|
+
t !== null && (s.contains(t) || or(d.current, { select: !0 }));
|
|
1458
1458
|
}, n = function(e) {
|
|
1459
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1459
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && or(s);
|
|
1460
1460
|
};
|
|
1461
1461
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1462
1462
|
let r = new MutationObserver(n);
|
|
@@ -1473,16 +1473,16 @@ var qn = "focusScope.autoFocusOnMount", Jn = "focusScope.autoFocusOnUnmount", Yn
|
|
|
1473
1473
|
p.paused
|
|
1474
1474
|
]), P.useEffect(() => {
|
|
1475
1475
|
if (s) {
|
|
1476
|
-
|
|
1476
|
+
sr.add(p);
|
|
1477
1477
|
let e = document.activeElement;
|
|
1478
1478
|
if (!s.contains(e)) {
|
|
1479
|
-
let t = new CustomEvent(
|
|
1480
|
-
s.addEventListener(
|
|
1479
|
+
let t = new CustomEvent(Yn, Zn);
|
|
1480
|
+
s.addEventListener(Yn, l), s.dispatchEvent(t), t.defaultPrevented || (er(ur(nr(s)), { select: !0 }), document.activeElement === e && or(s));
|
|
1481
1481
|
}
|
|
1482
1482
|
return () => {
|
|
1483
|
-
s.removeEventListener(
|
|
1484
|
-
let t = new CustomEvent(
|
|
1485
|
-
s.addEventListener(
|
|
1483
|
+
s.removeEventListener(Yn, l), setTimeout(() => {
|
|
1484
|
+
let t = new CustomEvent(Xn, Zn);
|
|
1485
|
+
s.addEventListener(Xn, u), s.dispatchEvent(t), t.defaultPrevented || or(e ?? document.body, { select: !0 }), s.removeEventListener(Xn, u), sr.remove(p);
|
|
1486
1486
|
}, 0);
|
|
1487
1487
|
};
|
|
1488
1488
|
}
|
|
@@ -1496,31 +1496,31 @@ var qn = "focusScope.autoFocusOnMount", Jn = "focusScope.autoFocusOnUnmount", Yn
|
|
|
1496
1496
|
if (!n && !r || p.paused) return;
|
|
1497
1497
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1498
1498
|
if (t && i) {
|
|
1499
|
-
let t = e.currentTarget, [r, a] =
|
|
1500
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1499
|
+
let t = e.currentTarget, [r, a] = tr(t);
|
|
1500
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && or(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && or(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1501
1501
|
}
|
|
1502
1502
|
}, [
|
|
1503
1503
|
n,
|
|
1504
1504
|
r,
|
|
1505
1505
|
p.paused
|
|
1506
1506
|
]);
|
|
1507
|
-
return /* @__PURE__ */ (0,
|
|
1507
|
+
return /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
1508
1508
|
tabIndex: -1,
|
|
1509
1509
|
...o,
|
|
1510
1510
|
ref: f,
|
|
1511
1511
|
onKeyDown: m
|
|
1512
1512
|
});
|
|
1513
1513
|
});
|
|
1514
|
-
|
|
1515
|
-
function
|
|
1514
|
+
$n.displayName = Qn;
|
|
1515
|
+
function er(e, { select: t = !1 } = {}) {
|
|
1516
1516
|
let n = document.activeElement;
|
|
1517
|
-
for (let r of e) if (
|
|
1517
|
+
for (let r of e) if (or(r, { select: t }), document.activeElement !== n) return;
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1520
|
-
let t =
|
|
1521
|
-
return [
|
|
1519
|
+
function tr(e) {
|
|
1520
|
+
let t = nr(e);
|
|
1521
|
+
return [rr(t, e), rr(t.reverse(), e)];
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function nr(e) {
|
|
1524
1524
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1525
1525
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1526
1526
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1528,10 +1528,10 @@ function er(e) {
|
|
|
1528
1528
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1529
1529
|
return t;
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1532
|
-
for (let n of e) if (!
|
|
1531
|
+
function rr(e, t) {
|
|
1532
|
+
for (let n of e) if (!ir(n, { upTo: t })) return n;
|
|
1533
1533
|
}
|
|
1534
|
-
function
|
|
1534
|
+
function ir(e, { upTo: t }) {
|
|
1535
1535
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1536
1536
|
for (; e;) {
|
|
1537
1537
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1540,62 +1540,62 @@ function nr(e, { upTo: t }) {
|
|
|
1540
1540
|
}
|
|
1541
1541
|
return !1;
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function ar(e) {
|
|
1544
1544
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1545
1545
|
}
|
|
1546
|
-
function
|
|
1546
|
+
function or(e, { select: t = !1 } = {}) {
|
|
1547
1547
|
if (e && e.focus) {
|
|
1548
1548
|
let n = document.activeElement;
|
|
1549
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1549
|
+
e.focus({ preventScroll: !0 }), e !== n && ar(e) && t && e.select();
|
|
1550
1550
|
}
|
|
1551
1551
|
}
|
|
1552
|
-
var
|
|
1553
|
-
function
|
|
1552
|
+
var sr = cr();
|
|
1553
|
+
function cr() {
|
|
1554
1554
|
let e = [];
|
|
1555
1555
|
return {
|
|
1556
1556
|
add(t) {
|
|
1557
1557
|
let n = e[0];
|
|
1558
|
-
t !== n && n?.pause(), e =
|
|
1558
|
+
t !== n && n?.pause(), e = lr(e, t), e.unshift(t);
|
|
1559
1559
|
},
|
|
1560
1560
|
remove(t) {
|
|
1561
|
-
e =
|
|
1561
|
+
e = lr(e, t), e[0]?.resume();
|
|
1562
1562
|
}
|
|
1563
1563
|
};
|
|
1564
1564
|
}
|
|
1565
|
-
function
|
|
1565
|
+
function lr(e, t) {
|
|
1566
1566
|
let n = [...e], r = n.indexOf(t);
|
|
1567
1567
|
return r !== -1 && n.splice(r, 1), n;
|
|
1568
1568
|
}
|
|
1569
|
-
function
|
|
1569
|
+
function ur(e) {
|
|
1570
1570
|
return e.filter((e) => e.tagName !== "A");
|
|
1571
1571
|
}
|
|
1572
1572
|
//#endregion
|
|
1573
1573
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1574
|
-
var
|
|
1575
|
-
function
|
|
1576
|
-
let [t, n] = P.useState(
|
|
1577
|
-
return
|
|
1578
|
-
e || n((e) => e ?? String(
|
|
1574
|
+
var H = globalThis?.document ? P.useLayoutEffect : () => {}, dr = P.useId || (() => void 0), fr = 0;
|
|
1575
|
+
function pr(e) {
|
|
1576
|
+
let [t, n] = P.useState(dr());
|
|
1577
|
+
return H(() => {
|
|
1578
|
+
e || n((e) => e ?? String(fr++));
|
|
1579
1579
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1580
1580
|
}
|
|
1581
1581
|
//#endregion
|
|
1582
1582
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1583
|
-
var
|
|
1583
|
+
var mr = [
|
|
1584
1584
|
"top",
|
|
1585
1585
|
"right",
|
|
1586
1586
|
"bottom",
|
|
1587
1587
|
"left"
|
|
1588
|
-
],
|
|
1588
|
+
], hr = Math.min, U = Math.max, gr = Math.round, _r = Math.floor, W = (e) => ({
|
|
1589
1589
|
x: e,
|
|
1590
1590
|
y: e
|
|
1591
|
-
}),
|
|
1591
|
+
}), vr = {
|
|
1592
1592
|
left: "right",
|
|
1593
1593
|
right: "left",
|
|
1594
1594
|
bottom: "top",
|
|
1595
1595
|
top: "bottom"
|
|
1596
1596
|
};
|
|
1597
|
-
function
|
|
1598
|
-
return U(e,
|
|
1597
|
+
function yr(e, t, n) {
|
|
1598
|
+
return U(e, hr(t, n));
|
|
1599
1599
|
}
|
|
1600
1600
|
function G(e, t) {
|
|
1601
1601
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1603,57 +1603,57 @@ function G(e, t) {
|
|
|
1603
1603
|
function K(e) {
|
|
1604
1604
|
return e.split("-")[0];
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1606
|
+
function br(e) {
|
|
1607
1607
|
return e.split("-")[1];
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1609
|
+
function xr(e) {
|
|
1610
1610
|
return e === "x" ? "y" : "x";
|
|
1611
1611
|
}
|
|
1612
|
-
function
|
|
1612
|
+
function Sr(e) {
|
|
1613
1613
|
return e === "y" ? "height" : "width";
|
|
1614
1614
|
}
|
|
1615
1615
|
function q(e) {
|
|
1616
1616
|
let t = e[0];
|
|
1617
1617
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1620
|
-
return
|
|
1619
|
+
function Cr(e) {
|
|
1620
|
+
return xr(q(e));
|
|
1621
1621
|
}
|
|
1622
|
-
function
|
|
1622
|
+
function wr(e, t, n) {
|
|
1623
1623
|
n === void 0 && (n = !1);
|
|
1624
|
-
let r =
|
|
1625
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1624
|
+
let r = br(e), i = Cr(e), a = Sr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1625
|
+
return t.reference[a] > t.floating[a] && (o = Nr(o)), [o, Nr(o)];
|
|
1626
1626
|
}
|
|
1627
|
-
function
|
|
1628
|
-
let t =
|
|
1627
|
+
function Tr(e) {
|
|
1628
|
+
let t = Nr(e);
|
|
1629
1629
|
return [
|
|
1630
|
-
|
|
1630
|
+
Er(e),
|
|
1631
1631
|
t,
|
|
1632
|
-
|
|
1632
|
+
Er(t)
|
|
1633
1633
|
];
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1635
|
+
function Er(e) {
|
|
1636
1636
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1637
1637
|
}
|
|
1638
|
-
var
|
|
1639
|
-
function
|
|
1638
|
+
var Dr = ["left", "right"], Or = ["right", "left"], kr = ["top", "bottom"], Ar = ["bottom", "top"];
|
|
1639
|
+
function jr(e, t, n) {
|
|
1640
1640
|
switch (e) {
|
|
1641
1641
|
case "top":
|
|
1642
|
-
case "bottom": return n ? t ?
|
|
1642
|
+
case "bottom": return n ? t ? Or : Dr : t ? Dr : Or;
|
|
1643
1643
|
case "left":
|
|
1644
|
-
case "right": return t ?
|
|
1644
|
+
case "right": return t ? kr : Ar;
|
|
1645
1645
|
default: return [];
|
|
1646
1646
|
}
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1649
|
-
let i =
|
|
1650
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1648
|
+
function Mr(e, t, n, r) {
|
|
1649
|
+
let i = br(e), a = jr(K(e), n === "start", r);
|
|
1650
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Er)))), a;
|
|
1651
1651
|
}
|
|
1652
|
-
function
|
|
1652
|
+
function Nr(e) {
|
|
1653
1653
|
let t = K(e);
|
|
1654
|
-
return
|
|
1654
|
+
return vr[t] + e.slice(t.length);
|
|
1655
1655
|
}
|
|
1656
|
-
function
|
|
1656
|
+
function Pr(e) {
|
|
1657
1657
|
return {
|
|
1658
1658
|
top: 0,
|
|
1659
1659
|
right: 0,
|
|
@@ -1662,15 +1662,15 @@ function Mr(e) {
|
|
|
1662
1662
|
...e
|
|
1663
1663
|
};
|
|
1664
1664
|
}
|
|
1665
|
-
function
|
|
1665
|
+
function Fr(e) {
|
|
1666
1666
|
return typeof e == "number" ? {
|
|
1667
1667
|
top: e,
|
|
1668
1668
|
right: e,
|
|
1669
1669
|
bottom: e,
|
|
1670
1670
|
left: e
|
|
1671
|
-
} :
|
|
1671
|
+
} : Pr(e);
|
|
1672
1672
|
}
|
|
1673
|
-
function
|
|
1673
|
+
function Ir(e) {
|
|
1674
1674
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1675
1675
|
return {
|
|
1676
1676
|
width: r,
|
|
@@ -1685,8 +1685,8 @@ function Pr(e) {
|
|
|
1685
1685
|
}
|
|
1686
1686
|
//#endregion
|
|
1687
1687
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1688
|
-
function
|
|
1689
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1688
|
+
function Lr(e, t, n) {
|
|
1689
|
+
let { reference: r, floating: i } = e, a = q(t), o = Cr(t), s = Sr(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;
|
|
1690
1690
|
switch (c) {
|
|
1691
1691
|
case "top":
|
|
1692
1692
|
p = {
|
|
@@ -1717,7 +1717,7 @@ function Fr(e, t, n) {
|
|
|
1717
1717
|
y: r.y
|
|
1718
1718
|
};
|
|
1719
1719
|
}
|
|
1720
|
-
switch (
|
|
1720
|
+
switch (br(t)) {
|
|
1721
1721
|
case "start":
|
|
1722
1722
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1723
1723
|
break;
|
|
@@ -1727,9 +1727,9 @@ function Fr(e, t, n) {
|
|
|
1727
1727
|
}
|
|
1728
1728
|
return p;
|
|
1729
1729
|
}
|
|
1730
|
-
async function
|
|
1730
|
+
async function Rr(e, t) {
|
|
1731
1731
|
t === void 0 && (t = {});
|
|
1732
|
-
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 =
|
|
1732
|
+
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 = Fr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Ir(await i.getClippingRect({
|
|
1733
1733
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1734
1734
|
boundary: c,
|
|
1735
1735
|
rootBoundary: l,
|
|
@@ -1742,7 +1742,7 @@ async function Ir(e, t) {
|
|
|
1742
1742
|
} : 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(_)) || {
|
|
1743
1743
|
x: 1,
|
|
1744
1744
|
y: 1
|
|
1745
|
-
}, y =
|
|
1745
|
+
}, y = Ir(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1746
1746
|
elements: o,
|
|
1747
1747
|
rect: g,
|
|
1748
1748
|
offsetParent: _,
|
|
@@ -1755,15 +1755,15 @@ async function Ir(e, t) {
|
|
|
1755
1755
|
right: (y.right - h.right + p.right) / v.x
|
|
1756
1756
|
};
|
|
1757
1757
|
}
|
|
1758
|
-
var
|
|
1758
|
+
var zr = 50, Br = async (e, t, n) => {
|
|
1759
1759
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1760
1760
|
...o,
|
|
1761
|
-
detectOverflow:
|
|
1761
|
+
detectOverflow: Rr
|
|
1762
1762
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1763
1763
|
reference: e,
|
|
1764
1764
|
floating: t,
|
|
1765
1765
|
strategy: i
|
|
1766
|
-
}), { x: u, y: d } =
|
|
1766
|
+
}), { x: u, y: d } = Lr(l, r, c), f = r, p = 0, m = {};
|
|
1767
1767
|
for (let n = 0; n < a.length; n++) {
|
|
1768
1768
|
let h = a[n];
|
|
1769
1769
|
if (!h) continue;
|
|
@@ -1784,11 +1784,11 @@ var Lr = 50, Rr = async (e, t, n) => {
|
|
|
1784
1784
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1785
1785
|
...m[g],
|
|
1786
1786
|
...b
|
|
1787
|
-
}, x && p <
|
|
1787
|
+
}, x && p < zr && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1788
1788
|
reference: e,
|
|
1789
1789
|
floating: t,
|
|
1790
1790
|
strategy: i
|
|
1791
|
-
}) : x.rects), {x: u, y: d} =
|
|
1791
|
+
}) : x.rects), {x: u, y: d} = Lr(l, f, c)), n = -1);
|
|
1792
1792
|
}
|
|
1793
1793
|
return {
|
|
1794
1794
|
x: u,
|
|
@@ -1797,18 +1797,18 @@ var Lr = 50, Rr = async (e, t, n) => {
|
|
|
1797
1797
|
strategy: i,
|
|
1798
1798
|
middlewareData: m
|
|
1799
1799
|
};
|
|
1800
|
-
},
|
|
1800
|
+
}, Vr = (e) => ({
|
|
1801
1801
|
name: "arrow",
|
|
1802
1802
|
options: e,
|
|
1803
1803
|
async fn(t) {
|
|
1804
1804
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1805
1805
|
if (l == null) return {};
|
|
1806
|
-
let d =
|
|
1806
|
+
let d = Fr(u), f = {
|
|
1807
1807
|
x: n,
|
|
1808
1808
|
y: r
|
|
1809
|
-
}, p =
|
|
1809
|
+
}, p = Cr(i), m = Sr(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;
|
|
1810
1810
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1811
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee =
|
|
1811
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = hr(d[_], T), E = hr(d[v], T), te = ee, D = C - h[m] - E, O = C / 2 - h[m] / 2 + w, k = yr(te, O, D), A = !c.arrow && br(i) != null && O !== k && a.reference[m] / 2 - (O < te ? ee : E) - h[m] / 2 < 0, j = A ? O < te ? O - te : O - D : 0;
|
|
1812
1812
|
return {
|
|
1813
1813
|
[p]: f[p] + j,
|
|
1814
1814
|
data: {
|
|
@@ -1819,7 +1819,7 @@ var Lr = 50, Rr = async (e, t, n) => {
|
|
|
1819
1819
|
reset: A
|
|
1820
1820
|
};
|
|
1821
1821
|
}
|
|
1822
|
-
}),
|
|
1822
|
+
}), Hr = function(e) {
|
|
1823
1823
|
return e === void 0 && (e = {}), {
|
|
1824
1824
|
name: "flip",
|
|
1825
1825
|
options: e,
|
|
@@ -1827,11 +1827,11 @@ var Lr = 50, Rr = async (e, t, n) => {
|
|
|
1827
1827
|
var n;
|
|
1828
1828
|
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);
|
|
1829
1829
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1830
|
-
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 ? [
|
|
1831
|
-
!d && x && b.push(...
|
|
1830
|
+
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 ? [Nr(o)] : Tr(o)), x = p !== "none";
|
|
1831
|
+
!d && x && b.push(...Mr(o, m, p, y));
|
|
1832
1832
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1833
1833
|
if (l && w.push(C[g]), u) {
|
|
1834
|
-
let e =
|
|
1834
|
+
let e = wr(r, a, y);
|
|
1835
1835
|
w.push(C[e[0]], C[e[1]]);
|
|
1836
1836
|
}
|
|
1837
1837
|
if (T = [...T, {
|
|
@@ -1869,7 +1869,7 @@ var Lr = 50, Rr = async (e, t, n) => {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
};
|
|
1871
1871
|
};
|
|
1872
|
-
function
|
|
1872
|
+
function Ur(e, t) {
|
|
1873
1873
|
return {
|
|
1874
1874
|
top: e.top - t.height,
|
|
1875
1875
|
right: e.right - t.width,
|
|
@@ -1877,10 +1877,10 @@ function Vr(e, t) {
|
|
|
1877
1877
|
left: e.left - t.width
|
|
1878
1878
|
};
|
|
1879
1879
|
}
|
|
1880
|
-
function
|
|
1881
|
-
return
|
|
1880
|
+
function Wr(e) {
|
|
1881
|
+
return mr.some((t) => e[t] >= 0);
|
|
1882
1882
|
}
|
|
1883
|
-
var
|
|
1883
|
+
var Gr = function(e) {
|
|
1884
1884
|
return e === void 0 && (e = {}), {
|
|
1885
1885
|
name: "hide",
|
|
1886
1886
|
options: e,
|
|
@@ -1888,32 +1888,32 @@ var Ur = function(e) {
|
|
|
1888
1888
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1889
1889
|
switch (i) {
|
|
1890
1890
|
case "referenceHidden": {
|
|
1891
|
-
let e =
|
|
1891
|
+
let e = Ur(await r.detectOverflow(t, {
|
|
1892
1892
|
...a,
|
|
1893
1893
|
elementContext: "reference"
|
|
1894
1894
|
}), n.reference);
|
|
1895
1895
|
return { data: {
|
|
1896
1896
|
referenceHiddenOffsets: e,
|
|
1897
|
-
referenceHidden:
|
|
1897
|
+
referenceHidden: Wr(e)
|
|
1898
1898
|
} };
|
|
1899
1899
|
}
|
|
1900
1900
|
case "escaped": {
|
|
1901
|
-
let e =
|
|
1901
|
+
let e = Ur(await r.detectOverflow(t, {
|
|
1902
1902
|
...a,
|
|
1903
1903
|
altBoundary: !0
|
|
1904
1904
|
}), n.floating);
|
|
1905
1905
|
return { data: {
|
|
1906
1906
|
escapedOffsets: e,
|
|
1907
|
-
escaped:
|
|
1907
|
+
escaped: Wr(e)
|
|
1908
1908
|
} };
|
|
1909
1909
|
}
|
|
1910
1910
|
default: return {};
|
|
1911
1911
|
}
|
|
1912
1912
|
}
|
|
1913
1913
|
};
|
|
1914
|
-
},
|
|
1915
|
-
async function
|
|
1916
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1914
|
+
}, Kr = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1915
|
+
async function qr(e, t) {
|
|
1916
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = br(n), c = q(n) === "y", l = Kr.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1917
1917
|
mainAxis: d,
|
|
1918
1918
|
crossAxis: 0,
|
|
1919
1919
|
alignmentAxis: null
|
|
@@ -1930,13 +1930,13 @@ async function Gr(e, t) {
|
|
|
1930
1930
|
y: p * u
|
|
1931
1931
|
};
|
|
1932
1932
|
}
|
|
1933
|
-
var
|
|
1933
|
+
var Jr = function(e) {
|
|
1934
1934
|
return e === void 0 && (e = 0), {
|
|
1935
1935
|
name: "offset",
|
|
1936
1936
|
options: e,
|
|
1937
1937
|
async fn(t) {
|
|
1938
1938
|
var n;
|
|
1939
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1939
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await qr(t, e);
|
|
1940
1940
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1941
1941
|
x: r + s.x,
|
|
1942
1942
|
y: i + s.y,
|
|
@@ -1947,7 +1947,7 @@ var Kr = function(e) {
|
|
|
1947
1947
|
};
|
|
1948
1948
|
}
|
|
1949
1949
|
};
|
|
1950
|
-
},
|
|
1950
|
+
}, Yr = function(e) {
|
|
1951
1951
|
return e === void 0 && (e = {}), {
|
|
1952
1952
|
name: "shift",
|
|
1953
1953
|
options: e,
|
|
@@ -1961,14 +1961,14 @@ var Kr = function(e) {
|
|
|
1961
1961
|
} }, ...l } = G(e, t), u = {
|
|
1962
1962
|
x: n,
|
|
1963
1963
|
y: r
|
|
1964
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1964
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = xr(f), m = u[p], h = u[f];
|
|
1965
1965
|
if (o) {
|
|
1966
1966
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1967
|
-
m =
|
|
1967
|
+
m = yr(n, m, r);
|
|
1968
1968
|
}
|
|
1969
1969
|
if (s) {
|
|
1970
1970
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1971
|
-
h =
|
|
1971
|
+
h = yr(n, h, r);
|
|
1972
1972
|
}
|
|
1973
1973
|
let g = c.fn({
|
|
1974
1974
|
...t,
|
|
@@ -1988,14 +1988,14 @@ var Kr = function(e) {
|
|
|
1988
1988
|
};
|
|
1989
1989
|
}
|
|
1990
1990
|
};
|
|
1991
|
-
},
|
|
1991
|
+
}, Xr = function(e) {
|
|
1992
1992
|
return e === void 0 && (e = {}), {
|
|
1993
1993
|
options: e,
|
|
1994
1994
|
fn(t) {
|
|
1995
1995
|
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 = {
|
|
1996
1996
|
x: n,
|
|
1997
1997
|
y: r
|
|
1998
|
-
}, d = q(i), f =
|
|
1998
|
+
}, d = q(i), f = xr(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1999
1999
|
mainAxis: h,
|
|
2000
2000
|
crossAxis: 0
|
|
2001
2001
|
} : {
|
|
@@ -2008,7 +2008,7 @@ var Kr = function(e) {
|
|
|
2008
2008
|
p < t ? p = t : p > n && (p = n);
|
|
2009
2009
|
}
|
|
2010
2010
|
if (l) {
|
|
2011
|
-
let e = f === "y" ? "width" : "height", t =
|
|
2011
|
+
let e = f === "y" ? "width" : "height", t = Kr.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);
|
|
2012
2012
|
m < n ? m = n : m > r && (m = r);
|
|
2013
2013
|
}
|
|
2014
2014
|
return {
|
|
@@ -2017,15 +2017,15 @@ var Kr = function(e) {
|
|
|
2017
2017
|
};
|
|
2018
2018
|
}
|
|
2019
2019
|
};
|
|
2020
|
-
},
|
|
2020
|
+
}, Zr = function(e) {
|
|
2021
2021
|
return e === void 0 && (e = {}), {
|
|
2022
2022
|
name: "size",
|
|
2023
2023
|
options: e,
|
|
2024
2024
|
async fn(t) {
|
|
2025
2025
|
var n, r;
|
|
2026
|
-
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 =
|
|
2026
|
+
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 = br(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2027
2027
|
d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
|
|
2028
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2028
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = hr(h - u[g], v), x = hr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2029
2029
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2030
2030
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2031
2031
|
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));
|
|
@@ -2042,39 +2042,39 @@ var Kr = function(e) {
|
|
|
2042
2042
|
};
|
|
2043
2043
|
//#endregion
|
|
2044
2044
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2045
|
-
function
|
|
2045
|
+
function Qr() {
|
|
2046
2046
|
return typeof window < "u";
|
|
2047
2047
|
}
|
|
2048
|
-
function
|
|
2049
|
-
return
|
|
2048
|
+
function $r(e) {
|
|
2049
|
+
return ei(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2050
2050
|
}
|
|
2051
2051
|
function J(e) {
|
|
2052
2052
|
var t;
|
|
2053
2053
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2054
2054
|
}
|
|
2055
2055
|
function Y(e) {
|
|
2056
|
-
return ((
|
|
2056
|
+
return ((ei(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2057
2057
|
}
|
|
2058
|
-
function
|
|
2059
|
-
return
|
|
2058
|
+
function ei(e) {
|
|
2059
|
+
return Qr() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2060
2060
|
}
|
|
2061
2061
|
function X(e) {
|
|
2062
|
-
return
|
|
2062
|
+
return Qr() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2063
2063
|
}
|
|
2064
2064
|
function Z(e) {
|
|
2065
|
-
return
|
|
2065
|
+
return Qr() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2066
2066
|
}
|
|
2067
|
-
function
|
|
2068
|
-
return !
|
|
2067
|
+
function ti(e) {
|
|
2068
|
+
return !Qr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2069
2069
|
}
|
|
2070
|
-
function
|
|
2070
|
+
function ni(e) {
|
|
2071
2071
|
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2072
2072
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2073
2073
|
}
|
|
2074
|
-
function
|
|
2075
|
-
return /^(table|td|th)$/.test(
|
|
2074
|
+
function ri(e) {
|
|
2075
|
+
return /^(table|td|th)$/.test($r(e));
|
|
2076
2076
|
}
|
|
2077
|
-
function
|
|
2077
|
+
function ii(e) {
|
|
2078
2078
|
try {
|
|
2079
2079
|
if (e.matches(":popover-open")) return !0;
|
|
2080
2080
|
} catch {}
|
|
@@ -2084,30 +2084,30 @@ function ni(e) {
|
|
|
2084
2084
|
return !1;
|
|
2085
2085
|
}
|
|
2086
2086
|
}
|
|
2087
|
-
var
|
|
2088
|
-
function
|
|
2087
|
+
var ai = /transform|translate|scale|rotate|perspective|filter/, oi = /paint|layout|strict|content/, si = (e) => !!e && e !== "none", ci;
|
|
2088
|
+
function li(e) {
|
|
2089
2089
|
let t = X(e) ? Q(e) : e;
|
|
2090
|
-
return
|
|
2091
|
-
}
|
|
2092
|
-
function
|
|
2093
|
-
let t =
|
|
2094
|
-
for (; Z(t) && !
|
|
2095
|
-
if (
|
|
2096
|
-
if (
|
|
2097
|
-
t =
|
|
2090
|
+
return si(t.transform) || si(t.translate) || si(t.scale) || si(t.rotate) || si(t.perspective) || !di() && (si(t.backdropFilter) || si(t.filter)) || ai.test(t.willChange || "") || oi.test(t.contain || "");
|
|
2091
|
+
}
|
|
2092
|
+
function ui(e) {
|
|
2093
|
+
let t = mi(e);
|
|
2094
|
+
for (; Z(t) && !fi(t);) {
|
|
2095
|
+
if (li(t)) return t;
|
|
2096
|
+
if (ii(t)) return null;
|
|
2097
|
+
t = mi(t);
|
|
2098
2098
|
}
|
|
2099
2099
|
return null;
|
|
2100
2100
|
}
|
|
2101
|
-
function
|
|
2102
|
-
return
|
|
2101
|
+
function di() {
|
|
2102
|
+
return ci ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), ci;
|
|
2103
2103
|
}
|
|
2104
|
-
function
|
|
2105
|
-
return /^(html|body|#document)$/.test(
|
|
2104
|
+
function fi(e) {
|
|
2105
|
+
return /^(html|body|#document)$/.test($r(e));
|
|
2106
2106
|
}
|
|
2107
2107
|
function Q(e) {
|
|
2108
2108
|
return J(e).getComputedStyle(e);
|
|
2109
2109
|
}
|
|
2110
|
-
function
|
|
2110
|
+
function pi(e) {
|
|
2111
2111
|
return X(e) ? {
|
|
2112
2112
|
scrollLeft: e.scrollLeft,
|
|
2113
2113
|
scrollTop: e.scrollTop
|
|
@@ -2116,101 +2116,101 @@ function di(e) {
|
|
|
2116
2116
|
scrollTop: e.scrollY
|
|
2117
2117
|
};
|
|
2118
2118
|
}
|
|
2119
|
-
function
|
|
2120
|
-
if (
|
|
2121
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
2122
|
-
return
|
|
2119
|
+
function mi(e) {
|
|
2120
|
+
if ($r(e) === "html") return e;
|
|
2121
|
+
let t = e.assignedSlot || e.parentNode || ti(e) && e.host || Y(e);
|
|
2122
|
+
return ti(t) ? t.host : t;
|
|
2123
2123
|
}
|
|
2124
|
-
function
|
|
2125
|
-
let t =
|
|
2126
|
-
return
|
|
2124
|
+
function hi(e) {
|
|
2125
|
+
let t = mi(e);
|
|
2126
|
+
return fi(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && ni(t) ? t : hi(t);
|
|
2127
2127
|
}
|
|
2128
|
-
function
|
|
2128
|
+
function gi(e, t, n) {
|
|
2129
2129
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2130
|
-
let r =
|
|
2130
|
+
let r = hi(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2131
2131
|
if (i) {
|
|
2132
|
-
let e =
|
|
2133
|
-
return t.concat(a, a.visualViewport || [],
|
|
2134
|
-
} else return t.concat(r,
|
|
2132
|
+
let e = _i(a);
|
|
2133
|
+
return t.concat(a, a.visualViewport || [], ni(r) ? r : [], e && n ? gi(e) : []);
|
|
2134
|
+
} else return t.concat(r, gi(r, [], n));
|
|
2135
2135
|
}
|
|
2136
|
-
function
|
|
2136
|
+
function _i(e) {
|
|
2137
2137
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2138
2138
|
}
|
|
2139
2139
|
//#endregion
|
|
2140
2140
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2141
|
-
function
|
|
2142
|
-
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 =
|
|
2141
|
+
function vi(e) {
|
|
2142
|
+
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 = gr(n) !== a || gr(r) !== o;
|
|
2143
2143
|
return s && (n = a, r = o), {
|
|
2144
2144
|
width: n,
|
|
2145
2145
|
height: r,
|
|
2146
2146
|
$: s
|
|
2147
2147
|
};
|
|
2148
2148
|
}
|
|
2149
|
-
function
|
|
2149
|
+
function yi(e) {
|
|
2150
2150
|
return X(e) ? e : e.contextElement;
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2153
|
-
let t =
|
|
2152
|
+
function bi(e) {
|
|
2153
|
+
let t = yi(e);
|
|
2154
2154
|
if (!Z(t)) return W(1);
|
|
2155
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2155
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = vi(t), o = (a ? gr(n.width) : n.width) / r, s = (a ? gr(n.height) : n.height) / i;
|
|
2156
2156
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2157
2157
|
x: o,
|
|
2158
2158
|
y: s
|
|
2159
2159
|
};
|
|
2160
2160
|
}
|
|
2161
|
-
var
|
|
2162
|
-
function
|
|
2161
|
+
var xi = /*#__PURE__*/ W(0);
|
|
2162
|
+
function Si(e) {
|
|
2163
2163
|
let t = J(e);
|
|
2164
|
-
return !
|
|
2164
|
+
return !di() || !t.visualViewport ? xi : {
|
|
2165
2165
|
x: t.visualViewport.offsetLeft,
|
|
2166
2166
|
y: t.visualViewport.offsetTop
|
|
2167
2167
|
};
|
|
2168
2168
|
}
|
|
2169
|
-
function
|
|
2169
|
+
function Ci(e, t, n) {
|
|
2170
2170
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2171
2171
|
}
|
|
2172
|
-
function
|
|
2172
|
+
function wi(e, t, n, r) {
|
|
2173
2173
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2174
|
-
let i = e.getBoundingClientRect(), a =
|
|
2175
|
-
t && (r ? X(r) && (o =
|
|
2176
|
-
let s =
|
|
2174
|
+
let i = e.getBoundingClientRect(), a = yi(e), o = W(1);
|
|
2175
|
+
t && (r ? X(r) && (o = bi(r)) : o = bi(e));
|
|
2176
|
+
let s = Ci(a, n, r) ? Si(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;
|
|
2177
2177
|
if (a) {
|
|
2178
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2178
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = _i(n);
|
|
2179
2179
|
for (; i && r && t !== n;) {
|
|
2180
|
-
let e =
|
|
2181
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2180
|
+
let e = bi(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;
|
|
2181
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = _i(n);
|
|
2182
2182
|
}
|
|
2183
2183
|
}
|
|
2184
|
-
return
|
|
2184
|
+
return Ir({
|
|
2185
2185
|
width: u,
|
|
2186
2186
|
height: d,
|
|
2187
2187
|
x: c,
|
|
2188
2188
|
y: l
|
|
2189
2189
|
});
|
|
2190
2190
|
}
|
|
2191
|
-
function
|
|
2192
|
-
let n =
|
|
2193
|
-
return t ? t.left + n :
|
|
2191
|
+
function Ti(e, t) {
|
|
2192
|
+
let n = pi(e).scrollLeft;
|
|
2193
|
+
return t ? t.left + n : wi(Y(e)).left + n;
|
|
2194
2194
|
}
|
|
2195
|
-
function
|
|
2195
|
+
function Ei(e, t) {
|
|
2196
2196
|
let n = e.getBoundingClientRect();
|
|
2197
2197
|
return {
|
|
2198
|
-
x: n.left + t.scrollLeft -
|
|
2198
|
+
x: n.left + t.scrollLeft - Ti(e, n),
|
|
2199
2199
|
y: n.top + t.scrollTop
|
|
2200
2200
|
};
|
|
2201
2201
|
}
|
|
2202
|
-
function
|
|
2203
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2202
|
+
function Di(e) {
|
|
2203
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? ii(t.floating) : !1;
|
|
2204
2204
|
if (r === o || s && a) return n;
|
|
2205
2205
|
let c = {
|
|
2206
2206
|
scrollLeft: 0,
|
|
2207
2207
|
scrollTop: 0
|
|
2208
2208
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2209
|
-
if ((d || !d && !a) && ((
|
|
2210
|
-
let e =
|
|
2211
|
-
l =
|
|
2209
|
+
if ((d || !d && !a) && (($r(r) !== "body" || ni(o)) && (c = pi(r)), d)) {
|
|
2210
|
+
let e = wi(r);
|
|
2211
|
+
l = bi(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2212
2212
|
}
|
|
2213
|
-
let f = o && !d && !a ?
|
|
2213
|
+
let f = o && !d && !a ? Ei(o, c) : W(0);
|
|
2214
2214
|
return {
|
|
2215
2215
|
width: n.width * l.x,
|
|
2216
2216
|
height: n.height * l.y,
|
|
@@ -2218,11 +2218,11 @@ function Ti(e) {
|
|
|
2218
2218
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2219
2219
|
};
|
|
2220
2220
|
}
|
|
2221
|
-
function
|
|
2221
|
+
function Oi(e) {
|
|
2222
2222
|
return Array.from(e.getClientRects());
|
|
2223
2223
|
}
|
|
2224
|
-
function
|
|
2225
|
-
let t = Y(e), n =
|
|
2224
|
+
function ki(e) {
|
|
2225
|
+
let t = Y(e), n = pi(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 + Ti(e), s = -n.scrollTop;
|
|
2226
2226
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2227
2227
|
width: i,
|
|
2228
2228
|
height: a,
|
|
@@ -2230,19 +2230,19 @@ function Di(e) {
|
|
|
2230
2230
|
y: s
|
|
2231
2231
|
};
|
|
2232
2232
|
}
|
|
2233
|
-
var
|
|
2234
|
-
function
|
|
2233
|
+
var Ai = 25;
|
|
2234
|
+
function ji(e, t) {
|
|
2235
2235
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2236
2236
|
if (i) {
|
|
2237
2237
|
a = i.width, o = i.height;
|
|
2238
|
-
let e =
|
|
2238
|
+
let e = di();
|
|
2239
2239
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2240
2240
|
}
|
|
2241
|
-
let l =
|
|
2241
|
+
let l = Ti(r);
|
|
2242
2242
|
if (l <= 0) {
|
|
2243
2243
|
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);
|
|
2244
|
-
o <=
|
|
2245
|
-
} else l <=
|
|
2244
|
+
o <= Ai && (a -= o);
|
|
2245
|
+
} else l <= Ai && (a += l);
|
|
2246
2246
|
return {
|
|
2247
2247
|
width: a,
|
|
2248
2248
|
height: o,
|
|
@@ -2250,8 +2250,8 @@ function ki(e, t) {
|
|
|
2250
2250
|
y: c
|
|
2251
2251
|
};
|
|
2252
2252
|
}
|
|
2253
|
-
function
|
|
2254
|
-
let n =
|
|
2253
|
+
function Mi(e, t) {
|
|
2254
|
+
let n = wi(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? bi(e) : W(1);
|
|
2255
2255
|
return {
|
|
2256
2256
|
width: e.clientWidth * a.x,
|
|
2257
2257
|
height: e.clientHeight * a.y,
|
|
@@ -2259,13 +2259,13 @@ function Ai(e, t) {
|
|
|
2259
2259
|
y: r * a.y
|
|
2260
2260
|
};
|
|
2261
2261
|
}
|
|
2262
|
-
function
|
|
2262
|
+
function Ni(e, t, n) {
|
|
2263
2263
|
let r;
|
|
2264
|
-
if (t === "viewport") r =
|
|
2265
|
-
else if (t === "document") r =
|
|
2266
|
-
else if (X(t)) r =
|
|
2264
|
+
if (t === "viewport") r = ji(e, n);
|
|
2265
|
+
else if (t === "document") r = ki(Y(e));
|
|
2266
|
+
else if (X(t)) r = Mi(t, n);
|
|
2267
2267
|
else {
|
|
2268
|
-
let n =
|
|
2268
|
+
let n = Si(e);
|
|
2269
2269
|
r = {
|
|
2270
2270
|
x: t.x - n.x,
|
|
2271
2271
|
y: t.y - n.y,
|
|
@@ -2273,27 +2273,27 @@ function ji(e, t, n) {
|
|
|
2273
2273
|
height: t.height
|
|
2274
2274
|
};
|
|
2275
2275
|
}
|
|
2276
|
-
return
|
|
2276
|
+
return Ir(r);
|
|
2277
2277
|
}
|
|
2278
|
-
function
|
|
2279
|
-
let n =
|
|
2280
|
-
return n === t || !X(n) ||
|
|
2278
|
+
function Pi(e, t) {
|
|
2279
|
+
let n = mi(e);
|
|
2280
|
+
return n === t || !X(n) || fi(n) ? !1 : Q(n).position === "fixed" || Pi(n, t);
|
|
2281
2281
|
}
|
|
2282
|
-
function
|
|
2282
|
+
function Fi(e, t) {
|
|
2283
2283
|
let n = t.get(e);
|
|
2284
2284
|
if (n) return n;
|
|
2285
|
-
let r =
|
|
2286
|
-
for (; X(o) && !
|
|
2287
|
-
let t = Q(o), n =
|
|
2288
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2285
|
+
let r = gi(e, [], !1).filter((e) => X(e) && $r(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? mi(e) : e;
|
|
2286
|
+
for (; X(o) && !fi(o);) {
|
|
2287
|
+
let t = Q(o), n = li(o);
|
|
2288
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || ni(o) && !n && Pi(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = mi(o);
|
|
2289
2289
|
}
|
|
2290
2290
|
return t.set(e, r), r;
|
|
2291
2291
|
}
|
|
2292
|
-
function
|
|
2293
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2292
|
+
function Ii(e) {
|
|
2293
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ii(t) ? [] : Fi(t, this._c) : [].concat(n), r], o = Ni(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2294
2294
|
for (let e = 1; e < a.length; e++) {
|
|
2295
|
-
let n =
|
|
2296
|
-
s = U(n.top, s), c =
|
|
2295
|
+
let n = Ni(t, a[e], i);
|
|
2296
|
+
s = U(n.top, s), c = hr(n.right, c), l = hr(n.bottom, l), u = U(n.left, u);
|
|
2297
2297
|
}
|
|
2298
2298
|
return {
|
|
2299
2299
|
width: c - u,
|
|
@@ -2302,27 +2302,27 @@ function Pi(e) {
|
|
|
2302
2302
|
y: s
|
|
2303
2303
|
};
|
|
2304
2304
|
}
|
|
2305
|
-
function
|
|
2306
|
-
let { width: t, height: n } =
|
|
2305
|
+
function Li(e) {
|
|
2306
|
+
let { width: t, height: n } = vi(e);
|
|
2307
2307
|
return {
|
|
2308
2308
|
width: t,
|
|
2309
2309
|
height: n
|
|
2310
2310
|
};
|
|
2311
2311
|
}
|
|
2312
|
-
function
|
|
2313
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2312
|
+
function Ri(e, t, n) {
|
|
2313
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = wi(e, !0, a, t), s = {
|
|
2314
2314
|
scrollLeft: 0,
|
|
2315
2315
|
scrollTop: 0
|
|
2316
2316
|
}, c = W(0);
|
|
2317
2317
|
function l() {
|
|
2318
|
-
c.x =
|
|
2318
|
+
c.x = Ti(i);
|
|
2319
2319
|
}
|
|
2320
|
-
if (r || !r && !a) if ((
|
|
2321
|
-
let e =
|
|
2320
|
+
if (r || !r && !a) if (($r(t) !== "body" || ni(i)) && (s = pi(t)), r) {
|
|
2321
|
+
let e = wi(t, !0, a, t);
|
|
2322
2322
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2323
2323
|
} else i && l();
|
|
2324
2324
|
a && !r && i && l();
|
|
2325
|
-
let u = i && !r && !a ?
|
|
2325
|
+
let u = i && !r && !a ? Ei(i, s) : W(0);
|
|
2326
2326
|
return {
|
|
2327
2327
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2328
2328
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2330,34 +2330,34 @@ function Ii(e, t, n) {
|
|
|
2330
2330
|
height: o.height
|
|
2331
2331
|
};
|
|
2332
2332
|
}
|
|
2333
|
-
function
|
|
2333
|
+
function zi(e) {
|
|
2334
2334
|
return Q(e).position === "static";
|
|
2335
2335
|
}
|
|
2336
|
-
function
|
|
2336
|
+
function Bi(e, t) {
|
|
2337
2337
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2338
2338
|
if (t) return t(e);
|
|
2339
2339
|
let n = e.offsetParent;
|
|
2340
2340
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2341
2341
|
}
|
|
2342
|
-
function
|
|
2342
|
+
function Vi(e, t) {
|
|
2343
2343
|
let n = J(e);
|
|
2344
|
-
if (
|
|
2344
|
+
if (ii(e)) return n;
|
|
2345
2345
|
if (!Z(e)) {
|
|
2346
|
-
let t =
|
|
2347
|
-
for (; t && !
|
|
2348
|
-
if (X(t) && !
|
|
2349
|
-
t =
|
|
2346
|
+
let t = mi(e);
|
|
2347
|
+
for (; t && !fi(t);) {
|
|
2348
|
+
if (X(t) && !zi(t)) return t;
|
|
2349
|
+
t = mi(t);
|
|
2350
2350
|
}
|
|
2351
2351
|
return n;
|
|
2352
2352
|
}
|
|
2353
|
-
let r =
|
|
2354
|
-
for (; r &&
|
|
2355
|
-
return r &&
|
|
2353
|
+
let r = Bi(e, t);
|
|
2354
|
+
for (; r && ri(r) && zi(r);) r = Bi(r, t);
|
|
2355
|
+
return r && fi(r) && zi(r) && !li(r) ? n : r || ui(e) || n;
|
|
2356
2356
|
}
|
|
2357
|
-
var
|
|
2358
|
-
let t = this.getOffsetParent ||
|
|
2357
|
+
var Hi = async function(e) {
|
|
2358
|
+
let t = this.getOffsetParent || Vi, n = this.getDimensions, r = await n(e.floating);
|
|
2359
2359
|
return {
|
|
2360
|
-
reference:
|
|
2360
|
+
reference: Ri(e.reference, await t(e.floating), e.strategy),
|
|
2361
2361
|
floating: {
|
|
2362
2362
|
x: 0,
|
|
2363
2363
|
y: 0,
|
|
@@ -2366,25 +2366,25 @@ var Bi = async function(e) {
|
|
|
2366
2366
|
}
|
|
2367
2367
|
};
|
|
2368
2368
|
};
|
|
2369
|
-
function
|
|
2369
|
+
function Ui(e) {
|
|
2370
2370
|
return Q(e).direction === "rtl";
|
|
2371
2371
|
}
|
|
2372
|
-
var
|
|
2373
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2372
|
+
var Wi = {
|
|
2373
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Di,
|
|
2374
2374
|
getDocumentElement: Y,
|
|
2375
|
-
getClippingRect:
|
|
2376
|
-
getOffsetParent:
|
|
2377
|
-
getElementRects:
|
|
2378
|
-
getClientRects:
|
|
2379
|
-
getDimensions:
|
|
2380
|
-
getScale:
|
|
2375
|
+
getClippingRect: Ii,
|
|
2376
|
+
getOffsetParent: Vi,
|
|
2377
|
+
getElementRects: Hi,
|
|
2378
|
+
getClientRects: Oi,
|
|
2379
|
+
getDimensions: Li,
|
|
2380
|
+
getScale: bi,
|
|
2381
2381
|
isElement: X,
|
|
2382
|
-
isRTL:
|
|
2382
|
+
isRTL: Ui
|
|
2383
2383
|
};
|
|
2384
|
-
function
|
|
2384
|
+
function Gi(e, t) {
|
|
2385
2385
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2386
2386
|
}
|
|
2387
|
-
function
|
|
2387
|
+
function Ki(e, t) {
|
|
2388
2388
|
let n = null, r, i = Y(e);
|
|
2389
2389
|
function a() {
|
|
2390
2390
|
var e;
|
|
@@ -2394,9 +2394,9 @@ function Wi(e, t) {
|
|
|
2394
2394
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2395
2395
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2396
2396
|
if (s || t(), !f || !p) return;
|
|
2397
|
-
let m =
|
|
2397
|
+
let m = _r(d), h = _r(i.clientWidth - (u + f)), g = _r(i.clientHeight - (d + p)), _ = _r(u), v = {
|
|
2398
2398
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2399
|
-
threshold: U(0,
|
|
2399
|
+
threshold: U(0, hr(1, c)) || 1
|
|
2400
2400
|
}, y = !0;
|
|
2401
2401
|
function b(t) {
|
|
2402
2402
|
let n = t[0].intersectionRatio;
|
|
@@ -2406,7 +2406,7 @@ function Wi(e, t) {
|
|
|
2406
2406
|
o(!1, 1e-7);
|
|
2407
2407
|
}, 1e3);
|
|
2408
2408
|
}
|
|
2409
|
-
n === 1 && !
|
|
2409
|
+
n === 1 && !Gi(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2410
2410
|
}
|
|
2411
2411
|
try {
|
|
2412
2412
|
n = new IntersectionObserver(b, {
|
|
@@ -2420,13 +2420,13 @@ function Wi(e, t) {
|
|
|
2420
2420
|
}
|
|
2421
2421
|
return o(!0), a;
|
|
2422
2422
|
}
|
|
2423
|
-
function
|
|
2423
|
+
function qi(e, t, n, r) {
|
|
2424
2424
|
r === void 0 && (r = {});
|
|
2425
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2425
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = yi(e), u = i || a ? [...l ? gi(l) : [], ...t ? gi(t) : []] : [];
|
|
2426
2426
|
u.forEach((e) => {
|
|
2427
2427
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2428
2428
|
});
|
|
2429
|
-
let d = l && s ?
|
|
2429
|
+
let d = l && s ? Ki(l, n) : null, f = -1, p = null;
|
|
2430
2430
|
o && (p = new ResizeObserver((e) => {
|
|
2431
2431
|
let [r] = e;
|
|
2432
2432
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2434,11 +2434,11 @@ function Gi(e, t, n, r) {
|
|
|
2434
2434
|
(e = p) == null || e.observe(t);
|
|
2435
2435
|
})), n();
|
|
2436
2436
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2437
|
-
let m, h = c ?
|
|
2437
|
+
let m, h = c ? wi(e) : null;
|
|
2438
2438
|
c && g();
|
|
2439
2439
|
function g() {
|
|
2440
|
-
let t =
|
|
2441
|
-
h && !
|
|
2440
|
+
let t = wi(e);
|
|
2441
|
+
h && !Gi(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2442
2442
|
}
|
|
2443
2443
|
return n(), () => {
|
|
2444
2444
|
var e;
|
|
@@ -2447,20 +2447,20 @@ function Gi(e, t, n, r) {
|
|
|
2447
2447
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2448
2448
|
};
|
|
2449
2449
|
}
|
|
2450
|
-
var
|
|
2450
|
+
var Ji = Jr, Yi = Yr, Xi = Hr, Zi = Zr, Qi = Gr, $i = Vr, ea = Xr, ta = (e, t, n) => {
|
|
2451
2451
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2452
|
-
platform:
|
|
2452
|
+
platform: Wi,
|
|
2453
2453
|
...n
|
|
2454
2454
|
}, a = {
|
|
2455
2455
|
...i.platform,
|
|
2456
2456
|
_c: r
|
|
2457
2457
|
};
|
|
2458
|
-
return
|
|
2458
|
+
return Br(e, t, {
|
|
2459
2459
|
...i,
|
|
2460
2460
|
platform: a
|
|
2461
2461
|
});
|
|
2462
|
-
},
|
|
2463
|
-
function
|
|
2462
|
+
}, na = typeof document < "u" ? P.useLayoutEffect : function() {};
|
|
2463
|
+
function ra(e, t) {
|
|
2464
2464
|
if (e === t) return !0;
|
|
2465
2465
|
if (typeof e != typeof t) return !1;
|
|
2466
2466
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2468,33 +2468,33 @@ function ta(e, t) {
|
|
|
2468
2468
|
if (e && t && typeof e == "object") {
|
|
2469
2469
|
if (Array.isArray(e)) {
|
|
2470
2470
|
if (n = e.length, n !== t.length) return !1;
|
|
2471
|
-
for (r = n; r-- !== 0;) if (!
|
|
2471
|
+
for (r = n; r-- !== 0;) if (!ra(e[r], t[r])) return !1;
|
|
2472
2472
|
return !0;
|
|
2473
2473
|
}
|
|
2474
2474
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2475
2475
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2476
2476
|
for (r = n; r-- !== 0;) {
|
|
2477
2477
|
let n = i[r];
|
|
2478
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2478
|
+
if (!(n === "_owner" && e.$$typeof) && !ra(e[n], t[n])) return !1;
|
|
2479
2479
|
}
|
|
2480
2480
|
return !0;
|
|
2481
2481
|
}
|
|
2482
2482
|
return e !== e && t !== t;
|
|
2483
2483
|
}
|
|
2484
|
-
function
|
|
2484
|
+
function ia(e) {
|
|
2485
2485
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2486
2486
|
}
|
|
2487
|
-
function
|
|
2488
|
-
let n =
|
|
2487
|
+
function aa(e, t) {
|
|
2488
|
+
let n = ia(e);
|
|
2489
2489
|
return Math.round(t * n) / n;
|
|
2490
2490
|
}
|
|
2491
|
-
function
|
|
2491
|
+
function oa(e) {
|
|
2492
2492
|
let t = P.useRef(e);
|
|
2493
|
-
return
|
|
2493
|
+
return na(() => {
|
|
2494
2494
|
t.current = e;
|
|
2495
2495
|
}), t;
|
|
2496
2496
|
}
|
|
2497
|
-
function
|
|
2497
|
+
function sa(e) {
|
|
2498
2498
|
e === void 0 && (e = {});
|
|
2499
2499
|
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] = P.useState({
|
|
2500
2500
|
x: 0,
|
|
@@ -2504,24 +2504,24 @@ function aa(e) {
|
|
|
2504
2504
|
middlewareData: {},
|
|
2505
2505
|
isPositioned: !1
|
|
2506
2506
|
}), [f, p] = P.useState(r);
|
|
2507
|
-
|
|
2507
|
+
ra(f, r) || p(r);
|
|
2508
2508
|
let [m, h] = P.useState(null), [g, _] = P.useState(null), v = P.useCallback((e) => {
|
|
2509
2509
|
e !== S.current && (S.current = e, h(e));
|
|
2510
2510
|
}, []), y = P.useCallback((e) => {
|
|
2511
2511
|
e !== C.current && (C.current = e, _(e));
|
|
2512
|
-
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null, ee =
|
|
2512
|
+
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null, ee = oa(c), E = oa(i), te = oa(l), D = P.useCallback(() => {
|
|
2513
2513
|
if (!S.current || !C.current) return;
|
|
2514
2514
|
let e = {
|
|
2515
2515
|
placement: t,
|
|
2516
2516
|
strategy: n,
|
|
2517
2517
|
middleware: f
|
|
2518
2518
|
};
|
|
2519
|
-
E.current && (e.platform = E.current),
|
|
2519
|
+
E.current && (e.platform = E.current), ta(S.current, C.current, e).then((e) => {
|
|
2520
2520
|
let t = {
|
|
2521
2521
|
...e,
|
|
2522
2522
|
isPositioned: te.current !== !1
|
|
2523
2523
|
};
|
|
2524
|
-
O.current && !
|
|
2524
|
+
O.current && !ra(w.current, t) && (w.current = t, St.flushSync(() => {
|
|
2525
2525
|
d(t);
|
|
2526
2526
|
}));
|
|
2527
2527
|
});
|
|
@@ -2532,16 +2532,16 @@ function aa(e) {
|
|
|
2532
2532
|
E,
|
|
2533
2533
|
te
|
|
2534
2534
|
]);
|
|
2535
|
-
|
|
2535
|
+
na(() => {
|
|
2536
2536
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2537
2537
|
...e,
|
|
2538
2538
|
isPositioned: !1
|
|
2539
2539
|
})));
|
|
2540
2540
|
}, [l]);
|
|
2541
2541
|
let O = P.useRef(!1);
|
|
2542
|
-
|
|
2542
|
+
na(() => (O.current = !0, () => {
|
|
2543
2543
|
O.current = !1;
|
|
2544
|
-
}), []),
|
|
2544
|
+
}), []), na(() => {
|
|
2545
2545
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2546
2546
|
if (ee.current) return ee.current(b, x, D);
|
|
2547
2547
|
D();
|
|
@@ -2568,11 +2568,11 @@ function aa(e) {
|
|
|
2568
2568
|
top: 0
|
|
2569
2569
|
};
|
|
2570
2570
|
if (!A.floating) return e;
|
|
2571
|
-
let t =
|
|
2571
|
+
let t = aa(A.floating, u.x), r = aa(A.floating, u.y);
|
|
2572
2572
|
return s ? {
|
|
2573
2573
|
...e,
|
|
2574
2574
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2575
|
-
...
|
|
2575
|
+
...ia(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2576
2576
|
} : {
|
|
2577
2577
|
position: n,
|
|
2578
2578
|
left: t,
|
|
@@ -2599,7 +2599,7 @@ function aa(e) {
|
|
|
2599
2599
|
j
|
|
2600
2600
|
]);
|
|
2601
2601
|
}
|
|
2602
|
-
var
|
|
2602
|
+
var ca = (e) => {
|
|
2603
2603
|
function t(e) {
|
|
2604
2604
|
return {}.hasOwnProperty.call(e, "current");
|
|
2605
2605
|
}
|
|
@@ -2608,79 +2608,79 @@ var oa = (e) => {
|
|
|
2608
2608
|
options: e,
|
|
2609
2609
|
fn(n) {
|
|
2610
2610
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2611
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2611
|
+
return r && t(r) ? r.current == null ? {} : $i({
|
|
2612
2612
|
element: r.current,
|
|
2613
2613
|
padding: i
|
|
2614
|
-
}).fn(n) : r ?
|
|
2614
|
+
}).fn(n) : r ? $i({
|
|
2615
2615
|
element: r,
|
|
2616
2616
|
padding: i
|
|
2617
2617
|
}).fn(n) : {};
|
|
2618
2618
|
}
|
|
2619
2619
|
};
|
|
2620
|
-
},
|
|
2621
|
-
let n =
|
|
2620
|
+
}, la = (e, t) => {
|
|
2621
|
+
let n = Ji(e);
|
|
2622
2622
|
return {
|
|
2623
2623
|
name: n.name,
|
|
2624
2624
|
fn: n.fn,
|
|
2625
2625
|
options: [e, t]
|
|
2626
2626
|
};
|
|
2627
|
-
},
|
|
2628
|
-
let n =
|
|
2627
|
+
}, ua = (e, t) => {
|
|
2628
|
+
let n = Yi(e);
|
|
2629
2629
|
return {
|
|
2630
2630
|
name: n.name,
|
|
2631
2631
|
fn: n.fn,
|
|
2632
2632
|
options: [e, t]
|
|
2633
2633
|
};
|
|
2634
|
-
},
|
|
2635
|
-
fn:
|
|
2634
|
+
}, da = (e, t) => ({
|
|
2635
|
+
fn: ea(e).fn,
|
|
2636
2636
|
options: [e, t]
|
|
2637
|
-
}),
|
|
2638
|
-
let n =
|
|
2637
|
+
}), fa = (e, t) => {
|
|
2638
|
+
let n = Xi(e);
|
|
2639
2639
|
return {
|
|
2640
2640
|
name: n.name,
|
|
2641
2641
|
fn: n.fn,
|
|
2642
2642
|
options: [e, t]
|
|
2643
2643
|
};
|
|
2644
|
-
},
|
|
2645
|
-
let n =
|
|
2644
|
+
}, pa = (e, t) => {
|
|
2645
|
+
let n = Zi(e);
|
|
2646
2646
|
return {
|
|
2647
2647
|
name: n.name,
|
|
2648
2648
|
fn: n.fn,
|
|
2649
2649
|
options: [e, t]
|
|
2650
2650
|
};
|
|
2651
|
-
},
|
|
2652
|
-
let n =
|
|
2651
|
+
}, ma = (e, t) => {
|
|
2652
|
+
let n = Qi(e);
|
|
2653
2653
|
return {
|
|
2654
2654
|
name: n.name,
|
|
2655
2655
|
fn: n.fn,
|
|
2656
2656
|
options: [e, t]
|
|
2657
2657
|
};
|
|
2658
|
-
},
|
|
2659
|
-
let n =
|
|
2658
|
+
}, ha = (e, t) => {
|
|
2659
|
+
let n = ca(e);
|
|
2660
2660
|
return {
|
|
2661
2661
|
name: n.name,
|
|
2662
2662
|
fn: n.fn,
|
|
2663
2663
|
options: [e, t]
|
|
2664
2664
|
};
|
|
2665
|
-
},
|
|
2665
|
+
}, ga = "Arrow", _a = P.forwardRef((e, t) => {
|
|
2666
2666
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2667
|
-
return /* @__PURE__ */ (0,
|
|
2667
|
+
return /* @__PURE__ */ (0, I.jsx)(V.svg, {
|
|
2668
2668
|
...a,
|
|
2669
2669
|
ref: t,
|
|
2670
2670
|
width: r,
|
|
2671
2671
|
height: i,
|
|
2672
2672
|
viewBox: "0 0 30 10",
|
|
2673
2673
|
preserveAspectRatio: "none",
|
|
2674
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
2674
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2675
2675
|
});
|
|
2676
2676
|
});
|
|
2677
|
-
|
|
2678
|
-
var
|
|
2677
|
+
_a.displayName = ga;
|
|
2678
|
+
var va = _a;
|
|
2679
2679
|
//#endregion
|
|
2680
2680
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2681
|
-
function
|
|
2681
|
+
function ya(e) {
|
|
2682
2682
|
let [t, n] = P.useState(void 0);
|
|
2683
|
-
return
|
|
2683
|
+
return H(() => {
|
|
2684
2684
|
if (e) {
|
|
2685
2685
|
n({
|
|
2686
2686
|
width: e.offsetWidth,
|
|
@@ -2704,29 +2704,29 @@ function _a(e) {
|
|
|
2704
2704
|
}
|
|
2705
2705
|
//#endregion
|
|
2706
2706
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2707
|
-
var
|
|
2707
|
+
var ba = "Popper", [xa, Sa] = Sn(ba), [Ca, wa] = xa(ba), Ta = (e) => {
|
|
2708
2708
|
let { __scopePopper: t, children: n } = e, [r, i] = P.useState(null);
|
|
2709
|
-
return /* @__PURE__ */ (0,
|
|
2709
|
+
return /* @__PURE__ */ (0, I.jsx)(Ca, {
|
|
2710
2710
|
scope: t,
|
|
2711
2711
|
anchor: r,
|
|
2712
2712
|
onAnchorChange: i,
|
|
2713
2713
|
children: n
|
|
2714
2714
|
});
|
|
2715
2715
|
};
|
|
2716
|
-
|
|
2717
|
-
var
|
|
2718
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2716
|
+
Ta.displayName = ba;
|
|
2717
|
+
var Ea = "PopperAnchor", Da = P.forwardRef((e, t) => {
|
|
2718
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = wa(Ea, n), o = P.useRef(null), s = B(t, o), c = P.useRef(null);
|
|
2719
2719
|
return P.useEffect(() => {
|
|
2720
2720
|
let e = c.current;
|
|
2721
2721
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2722
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2722
|
+
}), r ? null : /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
2723
2723
|
...i,
|
|
2724
2724
|
ref: s
|
|
2725
2725
|
});
|
|
2726
2726
|
});
|
|
2727
|
-
|
|
2728
|
-
var
|
|
2729
|
-
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 =
|
|
2727
|
+
Da.displayName = Ea;
|
|
2728
|
+
var Oa = "PopperContent", [ka, Aa] = xa(Oa), ja = P.forwardRef((e, t) => {
|
|
2729
|
+
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 = wa(Oa, n), [_, v] = P.useState(null), y = B(t, (e) => v(e)), [b, x] = P.useState(null), S = ya(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2730
2730
|
top: 0,
|
|
2731
2731
|
right: 0,
|
|
2732
2732
|
bottom: 0,
|
|
@@ -2734,60 +2734,60 @@ var Ea = "PopperContent", [Da, Oa] = ya(Ea), ka = P.forwardRef((e, t) => {
|
|
|
2734
2734
|
...u
|
|
2735
2735
|
}, E = Array.isArray(l) ? l : [l], te = E.length > 0, D = {
|
|
2736
2736
|
padding: ee,
|
|
2737
|
-
boundary: E.filter(
|
|
2737
|
+
boundary: E.filter(Fa),
|
|
2738
2738
|
altBoundary: te
|
|
2739
|
-
}, { refs: O, floatingStyles: k, placement: A, isPositioned: j, middlewareData: ne } =
|
|
2739
|
+
}, { refs: O, floatingStyles: k, placement: A, isPositioned: j, middlewareData: ne } = sa({
|
|
2740
2740
|
strategy: "fixed",
|
|
2741
2741
|
placement: T,
|
|
2742
|
-
whileElementsMounted: (...e) =>
|
|
2742
|
+
whileElementsMounted: (...e) => qi(...e, { animationFrame: p === "always" }),
|
|
2743
2743
|
elements: { reference: g.anchor },
|
|
2744
2744
|
middleware: [
|
|
2745
|
-
|
|
2745
|
+
la({
|
|
2746
2746
|
mainAxis: i + w,
|
|
2747
2747
|
alignmentAxis: o
|
|
2748
2748
|
}),
|
|
2749
|
-
c &&
|
|
2749
|
+
c && ua({
|
|
2750
2750
|
mainAxis: !0,
|
|
2751
2751
|
crossAxis: !1,
|
|
2752
|
-
limiter: d === "partial" ?
|
|
2752
|
+
limiter: d === "partial" ? da() : void 0,
|
|
2753
2753
|
...D
|
|
2754
2754
|
}),
|
|
2755
|
-
c &&
|
|
2756
|
-
|
|
2755
|
+
c && fa({ ...D }),
|
|
2756
|
+
pa({
|
|
2757
2757
|
...D,
|
|
2758
2758
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2759
2759
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2760
2760
|
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`);
|
|
2761
2761
|
}
|
|
2762
2762
|
}),
|
|
2763
|
-
b &&
|
|
2763
|
+
b && ha({
|
|
2764
2764
|
element: b,
|
|
2765
2765
|
padding: s
|
|
2766
2766
|
}),
|
|
2767
|
-
|
|
2767
|
+
Ia({
|
|
2768
2768
|
arrowWidth: C,
|
|
2769
2769
|
arrowHeight: w
|
|
2770
2770
|
}),
|
|
2771
|
-
f &&
|
|
2771
|
+
f && ma({
|
|
2772
2772
|
strategy: "referenceHidden",
|
|
2773
2773
|
...D
|
|
2774
2774
|
})
|
|
2775
2775
|
]
|
|
2776
|
-
}), [re, ie] =
|
|
2777
|
-
|
|
2776
|
+
}), [re, ie] = La(A), ae = jn(m);
|
|
2777
|
+
H(() => {
|
|
2778
2778
|
j && ae?.();
|
|
2779
2779
|
}, [j, ae]);
|
|
2780
|
-
let oe = ne.arrow?.x, se = ne.arrow?.y,
|
|
2781
|
-
return
|
|
2780
|
+
let oe = ne.arrow?.x, se = ne.arrow?.y, ce = ne.arrow?.centerOffset !== 0, [M, le] = P.useState();
|
|
2781
|
+
return H(() => {
|
|
2782
2782
|
_ && le(window.getComputedStyle(_).zIndex);
|
|
2783
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
2783
|
+
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2784
2784
|
ref: O.setFloating,
|
|
2785
2785
|
"data-radix-popper-content-wrapper": "",
|
|
2786
2786
|
style: {
|
|
2787
2787
|
...k,
|
|
2788
2788
|
transform: j ? k.transform : "translate(0, -200%)",
|
|
2789
2789
|
minWidth: "max-content",
|
|
2790
|
-
zIndex:
|
|
2790
|
+
zIndex: M,
|
|
2791
2791
|
"--radix-popper-transform-origin": [ne.transformOrigin?.x, ne.transformOrigin?.y].join(" "),
|
|
2792
2792
|
...ne.hide?.referenceHidden && {
|
|
2793
2793
|
visibility: "hidden",
|
|
@@ -2795,14 +2795,14 @@ var Ea = "PopperContent", [Da, Oa] = ya(Ea), ka = P.forwardRef((e, t) => {
|
|
|
2795
2795
|
}
|
|
2796
2796
|
},
|
|
2797
2797
|
dir: e.dir,
|
|
2798
|
-
children: /* @__PURE__ */ (0,
|
|
2798
|
+
children: /* @__PURE__ */ (0, I.jsx)(ka, {
|
|
2799
2799
|
scope: n,
|
|
2800
2800
|
placedSide: re,
|
|
2801
2801
|
onArrowChange: x,
|
|
2802
2802
|
arrowX: oe,
|
|
2803
2803
|
arrowY: se,
|
|
2804
|
-
shouldHideArrow:
|
|
2805
|
-
children: /* @__PURE__ */ (0,
|
|
2804
|
+
shouldHideArrow: ce,
|
|
2805
|
+
children: /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
2806
2806
|
"data-side": re,
|
|
2807
2807
|
"data-align": ie,
|
|
2808
2808
|
...h,
|
|
@@ -2815,15 +2815,15 @@ var Ea = "PopperContent", [Da, Oa] = ya(Ea), ka = P.forwardRef((e, t) => {
|
|
|
2815
2815
|
})
|
|
2816
2816
|
});
|
|
2817
2817
|
});
|
|
2818
|
-
|
|
2819
|
-
var
|
|
2818
|
+
ja.displayName = Oa;
|
|
2819
|
+
var Ma = "PopperArrow", Na = {
|
|
2820
2820
|
top: "bottom",
|
|
2821
2821
|
right: "left",
|
|
2822
2822
|
bottom: "top",
|
|
2823
2823
|
left: "right"
|
|
2824
|
-
},
|
|
2825
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2826
|
-
return /* @__PURE__ */ (0,
|
|
2824
|
+
}, Pa = P.forwardRef(function(e, t) {
|
|
2825
|
+
let { __scopePopper: n, ...r } = e, i = Aa(Ma, n), a = Na[i.placedSide];
|
|
2826
|
+
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2827
2827
|
ref: i.onArrowChange,
|
|
2828
2828
|
style: {
|
|
2829
2829
|
position: "absolute",
|
|
@@ -2844,7 +2844,7 @@ var Aa = "PopperArrow", ja = {
|
|
|
2844
2844
|
}[i.placedSide],
|
|
2845
2845
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2846
2846
|
},
|
|
2847
|
-
children: /* @__PURE__ */ (0,
|
|
2847
|
+
children: /* @__PURE__ */ (0, I.jsx)(va, {
|
|
2848
2848
|
...r,
|
|
2849
2849
|
ref: t,
|
|
2850
2850
|
style: {
|
|
@@ -2854,15 +2854,15 @@ var Aa = "PopperArrow", ja = {
|
|
|
2854
2854
|
})
|
|
2855
2855
|
});
|
|
2856
2856
|
});
|
|
2857
|
-
|
|
2858
|
-
function
|
|
2857
|
+
Pa.displayName = Ma;
|
|
2858
|
+
function Fa(e) {
|
|
2859
2859
|
return e !== null;
|
|
2860
2860
|
}
|
|
2861
|
-
var
|
|
2861
|
+
var Ia = (e) => ({
|
|
2862
2862
|
name: "transformOrigin",
|
|
2863
2863
|
options: e,
|
|
2864
2864
|
fn(t) {
|
|
2865
|
-
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] =
|
|
2865
|
+
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] = La(n), u = {
|
|
2866
2866
|
start: "0%",
|
|
2867
2867
|
center: "50%",
|
|
2868
2868
|
end: "100%"
|
|
@@ -2873,32 +2873,32 @@ var Pa = (e) => ({
|
|
|
2873
2873
|
} };
|
|
2874
2874
|
}
|
|
2875
2875
|
});
|
|
2876
|
-
function
|
|
2876
|
+
function La(e) {
|
|
2877
2877
|
let [t, n = "center"] = e.split("-");
|
|
2878
2878
|
return [t, n];
|
|
2879
2879
|
}
|
|
2880
|
-
var
|
|
2880
|
+
var Ra = Ta, za = Da, Ba = ja, Va = Pa, Ha = "Portal", Ua = P.forwardRef((e, t) => {
|
|
2881
2881
|
let { container: n, ...r } = e, [i, a] = P.useState(!1);
|
|
2882
|
-
|
|
2882
|
+
H(() => a(!0), []);
|
|
2883
2883
|
let o = n || i && globalThis?.document?.body;
|
|
2884
|
-
return o ?
|
|
2884
|
+
return o ? St.createPortal(/* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
2885
2885
|
...r,
|
|
2886
2886
|
ref: t
|
|
2887
2887
|
}), o) : null;
|
|
2888
2888
|
});
|
|
2889
|
-
|
|
2889
|
+
Ua.displayName = Ha;
|
|
2890
2890
|
//#endregion
|
|
2891
2891
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2892
|
-
function
|
|
2892
|
+
function Wa(e, t) {
|
|
2893
2893
|
return P.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2894
2894
|
}
|
|
2895
|
-
var
|
|
2896
|
-
let { present: t, children: n } = e, r =
|
|
2895
|
+
var Ga = (e) => {
|
|
2896
|
+
let { present: t, children: n } = e, r = Ka(t), i = typeof n == "function" ? n({ present: r.isPresent }) : P.Children.only(n), a = B(r.ref, Ja(i));
|
|
2897
2897
|
return typeof n == "function" || r.isPresent ? P.cloneElement(i, { ref: a }) : null;
|
|
2898
2898
|
};
|
|
2899
|
-
|
|
2900
|
-
function
|
|
2901
|
-
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] =
|
|
2899
|
+
Ga.displayName = "Presence";
|
|
2900
|
+
function Ka(e) {
|
|
2901
|
+
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] = Wa(e ? "mounted" : "unmounted", {
|
|
2902
2902
|
mounted: {
|
|
2903
2903
|
UNMOUNT: "unmounted",
|
|
2904
2904
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2910,18 +2910,18 @@ function Wa(e) {
|
|
|
2910
2910
|
unmounted: { MOUNT: "mounted" }
|
|
2911
2911
|
});
|
|
2912
2912
|
return P.useEffect(() => {
|
|
2913
|
-
let e =
|
|
2913
|
+
let e = qa(r.current);
|
|
2914
2914
|
a.current = o === "mounted" ? e : "none";
|
|
2915
|
-
}, [o]),
|
|
2915
|
+
}, [o]), H(() => {
|
|
2916
2916
|
let t = r.current, n = i.current;
|
|
2917
2917
|
if (n !== e) {
|
|
2918
|
-
let r = a.current, o =
|
|
2918
|
+
let r = a.current, o = qa(t);
|
|
2919
2919
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2920
2920
|
}
|
|
2921
|
-
}, [e, s]),
|
|
2921
|
+
}, [e, s]), H(() => {
|
|
2922
2922
|
if (t) {
|
|
2923
2923
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2924
|
-
let o =
|
|
2924
|
+
let o = qa(r.current).includes(CSS.escape(a.animationName));
|
|
2925
2925
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2926
2926
|
let r = t.style.animationFillMode;
|
|
2927
2927
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2929,7 +2929,7 @@ function Wa(e) {
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}
|
|
2931
2931
|
}, c = (e) => {
|
|
2932
|
-
e.target === t && (a.current =
|
|
2932
|
+
e.target === t && (a.current = qa(r.current));
|
|
2933
2933
|
};
|
|
2934
2934
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2935
2935
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2942,18 +2942,18 @@ function Wa(e) {
|
|
|
2942
2942
|
}, [])
|
|
2943
2943
|
};
|
|
2944
2944
|
}
|
|
2945
|
-
function
|
|
2945
|
+
function qa(e) {
|
|
2946
2946
|
return e?.animationName || "none";
|
|
2947
2947
|
}
|
|
2948
|
-
function
|
|
2948
|
+
function Ja(e) {
|
|
2949
2949
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2950
2950
|
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);
|
|
2951
2951
|
}
|
|
2952
2952
|
//#endregion
|
|
2953
2953
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2954
|
-
var
|
|
2955
|
-
function
|
|
2956
|
-
let [i, a, o] =
|
|
2954
|
+
var Ya = P.useInsertionEffect || H;
|
|
2955
|
+
function Xa({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2956
|
+
let [i, a, o] = Za({
|
|
2957
2957
|
defaultProp: t,
|
|
2958
2958
|
onChange: n
|
|
2959
2959
|
}), s = e !== void 0, c = s ? e : i;
|
|
@@ -2966,7 +2966,7 @@ function Ja({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2966
2966
|
}
|
|
2967
2967
|
return [c, P.useCallback((t) => {
|
|
2968
2968
|
if (s) {
|
|
2969
|
-
let n =
|
|
2969
|
+
let n = Qa(t) ? t(e) : t;
|
|
2970
2970
|
n !== e && o.current?.(n);
|
|
2971
2971
|
} else a(t);
|
|
2972
2972
|
}, [
|
|
@@ -2976,9 +2976,9 @@ function Ja({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2976
2976
|
o
|
|
2977
2977
|
])];
|
|
2978
2978
|
}
|
|
2979
|
-
function
|
|
2979
|
+
function Za({ defaultProp: e, onChange: t }) {
|
|
2980
2980
|
let [n, r] = P.useState(e), i = P.useRef(n), a = P.useRef(t);
|
|
2981
|
-
return
|
|
2981
|
+
return Ya(() => {
|
|
2982
2982
|
a.current = t;
|
|
2983
2983
|
}, [t]), P.useEffect(() => {
|
|
2984
2984
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -2988,27 +2988,27 @@ function Ya({ defaultProp: e, onChange: t }) {
|
|
|
2988
2988
|
a
|
|
2989
2989
|
];
|
|
2990
2990
|
}
|
|
2991
|
-
function
|
|
2991
|
+
function Qa(e) {
|
|
2992
2992
|
return typeof e == "function";
|
|
2993
2993
|
}
|
|
2994
2994
|
//#endregion
|
|
2995
2995
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2996
|
-
var
|
|
2996
|
+
var $a = function(e) {
|
|
2997
2997
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2998
|
-
},
|
|
2999
|
-
return e && (e.host ||
|
|
3000
|
-
},
|
|
2998
|
+
}, eo = /* @__PURE__ */ new WeakMap(), to = /* @__PURE__ */ new WeakMap(), no = {}, ro = 0, io = function(e) {
|
|
2999
|
+
return e && (e.host || io(e.parentNode));
|
|
3000
|
+
}, ao = function(e, t) {
|
|
3001
3001
|
return t.map(function(t) {
|
|
3002
3002
|
if (e.contains(t)) return t;
|
|
3003
|
-
var n =
|
|
3003
|
+
var n = io(t);
|
|
3004
3004
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
3005
3005
|
}).filter(function(e) {
|
|
3006
3006
|
return !!e;
|
|
3007
3007
|
});
|
|
3008
|
-
},
|
|
3009
|
-
var i =
|
|
3010
|
-
|
|
3011
|
-
var a =
|
|
3008
|
+
}, oo = function(e, t, n, r) {
|
|
3009
|
+
var i = ao(t, Array.isArray(e) ? e : [e]);
|
|
3010
|
+
no[n] || (no[n] = /* @__PURE__ */ new WeakMap());
|
|
3011
|
+
var a = no[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
3012
3012
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
3013
3013
|
};
|
|
3014
3014
|
i.forEach(l);
|
|
@@ -3016,23 +3016,23 @@ var Za = function(e) {
|
|
|
3016
3016
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
3017
3017
|
if (s.has(e)) u(e);
|
|
3018
3018
|
else try {
|
|
3019
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3020
|
-
|
|
3019
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (eo.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3020
|
+
eo.set(e, c), a.set(e, l), o.push(e), c === 1 && i && to.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3021
3021
|
} catch (t) {
|
|
3022
3022
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3023
3023
|
}
|
|
3024
3024
|
});
|
|
3025
3025
|
};
|
|
3026
|
-
return u(t), s.clear(),
|
|
3026
|
+
return u(t), s.clear(), ro++, function() {
|
|
3027
3027
|
o.forEach(function(e) {
|
|
3028
|
-
var t =
|
|
3029
|
-
|
|
3030
|
-
}),
|
|
3028
|
+
var t = eo.get(e) - 1, i = a.get(e) - 1;
|
|
3029
|
+
eo.set(e, t), a.set(e, i), t || (to.has(e) || e.removeAttribute(r), to.delete(e)), i || e.removeAttribute(n);
|
|
3030
|
+
}), ro--, ro || (eo = /* @__PURE__ */ new WeakMap(), eo = /* @__PURE__ */ new WeakMap(), to = /* @__PURE__ */ new WeakMap(), no = {});
|
|
3031
3031
|
};
|
|
3032
|
-
},
|
|
3032
|
+
}, so = function(e, t, n) {
|
|
3033
3033
|
n === void 0 && (n = "data-aria-hidden");
|
|
3034
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3035
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3034
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || $a(e);
|
|
3035
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), oo(r, i, n, "aria-hidden")) : function() {
|
|
3036
3036
|
return null;
|
|
3037
3037
|
};
|
|
3038
3038
|
}, $ = function() {
|
|
@@ -3041,13 +3041,13 @@ var Za = function(e) {
|
|
|
3041
3041
|
return e;
|
|
3042
3042
|
}, $.apply(this, arguments);
|
|
3043
3043
|
};
|
|
3044
|
-
function
|
|
3044
|
+
function co(e, t) {
|
|
3045
3045
|
var n = {};
|
|
3046
3046
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3047
3047
|
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]]);
|
|
3048
3048
|
return n;
|
|
3049
3049
|
}
|
|
3050
|
-
function
|
|
3050
|
+
function lo(e, t, n, r) {
|
|
3051
3051
|
function i(e) {
|
|
3052
3052
|
return e instanceof n ? e : new n(function(t) {
|
|
3053
3053
|
t(e);
|
|
@@ -3074,7 +3074,7 @@ function so(e, t, n, r) {
|
|
|
3074
3074
|
c((r = r.apply(e, t || [])).next());
|
|
3075
3075
|
});
|
|
3076
3076
|
}
|
|
3077
|
-
function
|
|
3077
|
+
function uo(e, t) {
|
|
3078
3078
|
var n = {
|
|
3079
3079
|
label: 0,
|
|
3080
3080
|
sent: function() {
|
|
@@ -3144,7 +3144,7 @@ function co(e, t) {
|
|
|
3144
3144
|
};
|
|
3145
3145
|
}
|
|
3146
3146
|
}
|
|
3147
|
-
function
|
|
3147
|
+
function fo(e, t) {
|
|
3148
3148
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3149
3149
|
if (!n) return e;
|
|
3150
3150
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3161,25 +3161,25 @@ function lo(e, t) {
|
|
|
3161
3161
|
}
|
|
3162
3162
|
return a;
|
|
3163
3163
|
}
|
|
3164
|
-
function
|
|
3165
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3164
|
+
function po() {
|
|
3165
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(fo(arguments[t]));
|
|
3166
3166
|
return e;
|
|
3167
3167
|
}
|
|
3168
|
-
function
|
|
3168
|
+
function mo(e, t, n) {
|
|
3169
3169
|
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]);
|
|
3170
3170
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3171
3171
|
}
|
|
3172
3172
|
//#endregion
|
|
3173
3173
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3174
|
-
var
|
|
3174
|
+
var ho = "right-scroll-bar-position", go = "width-before-scroll-bar", _o = "with-scroll-bars-hidden", vo = "--removed-body-scroll-bar-size";
|
|
3175
3175
|
//#endregion
|
|
3176
3176
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3177
|
-
function
|
|
3177
|
+
function yo(e, t) {
|
|
3178
3178
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3179
3179
|
}
|
|
3180
3180
|
//#endregion
|
|
3181
3181
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3182
|
-
function
|
|
3182
|
+
function bo(e, t) {
|
|
3183
3183
|
var n = (0, P.useState)(function() {
|
|
3184
3184
|
return {
|
|
3185
3185
|
value: e,
|
|
@@ -3199,33 +3199,33 @@ function vo(e, t) {
|
|
|
3199
3199
|
}
|
|
3200
3200
|
//#endregion
|
|
3201
3201
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3202
|
-
var
|
|
3203
|
-
function
|
|
3204
|
-
var n =
|
|
3202
|
+
var xo = typeof window < "u" ? P.useLayoutEffect : P.useEffect, So = /* @__PURE__ */ new WeakMap();
|
|
3203
|
+
function Co(e, t) {
|
|
3204
|
+
var n = bo(t || null, function(t) {
|
|
3205
3205
|
return e.forEach(function(e) {
|
|
3206
|
-
return
|
|
3206
|
+
return yo(e, t);
|
|
3207
3207
|
});
|
|
3208
3208
|
});
|
|
3209
|
-
return
|
|
3210
|
-
var t =
|
|
3209
|
+
return xo(function() {
|
|
3210
|
+
var t = So.get(n);
|
|
3211
3211
|
if (t) {
|
|
3212
3212
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3213
3213
|
r.forEach(function(e) {
|
|
3214
|
-
i.has(e) ||
|
|
3214
|
+
i.has(e) || yo(e, null);
|
|
3215
3215
|
}), i.forEach(function(e) {
|
|
3216
|
-
r.has(e) ||
|
|
3216
|
+
r.has(e) || yo(e, a);
|
|
3217
3217
|
});
|
|
3218
3218
|
}
|
|
3219
|
-
|
|
3219
|
+
So.set(n, e);
|
|
3220
3220
|
}, [e]), n;
|
|
3221
3221
|
}
|
|
3222
3222
|
//#endregion
|
|
3223
3223
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3224
|
-
function
|
|
3224
|
+
function wo(e) {
|
|
3225
3225
|
return e;
|
|
3226
3226
|
}
|
|
3227
|
-
function
|
|
3228
|
-
t === void 0 && (t =
|
|
3227
|
+
function To(e, t) {
|
|
3228
|
+
t === void 0 && (t = wo);
|
|
3229
3229
|
var n = [], r = !1;
|
|
3230
3230
|
return {
|
|
3231
3231
|
read: function() {
|
|
@@ -3278,9 +3278,9 @@ function Co(e, t) {
|
|
|
3278
3278
|
}
|
|
3279
3279
|
};
|
|
3280
3280
|
}
|
|
3281
|
-
function
|
|
3281
|
+
function Eo(e) {
|
|
3282
3282
|
e === void 0 && (e = {});
|
|
3283
|
-
var t =
|
|
3283
|
+
var t = To(null);
|
|
3284
3284
|
return t.options = $({
|
|
3285
3285
|
async: !0,
|
|
3286
3286
|
ssr: !1
|
|
@@ -3288,25 +3288,25 @@ function wo(e) {
|
|
|
3288
3288
|
}
|
|
3289
3289
|
//#endregion
|
|
3290
3290
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3291
|
-
var
|
|
3292
|
-
var t = e.sideCar, n =
|
|
3291
|
+
var Do = function(e) {
|
|
3292
|
+
var t = e.sideCar, n = co(e, ["sideCar"]);
|
|
3293
3293
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3294
3294
|
var r = t.read();
|
|
3295
3295
|
if (!r) throw Error("Sidecar medium not found");
|
|
3296
3296
|
return P.createElement(r, $({}, n));
|
|
3297
3297
|
};
|
|
3298
|
-
|
|
3299
|
-
function
|
|
3300
|
-
return e.useMedium(t),
|
|
3298
|
+
Do.isSideCarExport = !0;
|
|
3299
|
+
function Oo(e, t) {
|
|
3300
|
+
return e.useMedium(t), Do;
|
|
3301
3301
|
}
|
|
3302
3302
|
//#endregion
|
|
3303
3303
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3304
|
-
var
|
|
3304
|
+
var ko = Eo(), Ao = function() {}, jo = P.forwardRef(function(e, t) {
|
|
3305
3305
|
var n = P.useRef(null), r = P.useState({
|
|
3306
|
-
onScrollCapture:
|
|
3307
|
-
onWheelCapture:
|
|
3308
|
-
onTouchMoveCapture:
|
|
3309
|
-
}), 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 =
|
|
3306
|
+
onScrollCapture: Ao,
|
|
3307
|
+
onWheelCapture: Ao,
|
|
3308
|
+
onTouchMoveCapture: Ao
|
|
3309
|
+
}), 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 = co(e, [
|
|
3310
3310
|
"forwardProps",
|
|
3311
3311
|
"children",
|
|
3312
3312
|
"className",
|
|
@@ -3320,9 +3320,9 @@ var Do = wo(), Oo = function() {}, ko = P.forwardRef(function(e, t) {
|
|
|
3320
3320
|
"allowPinchZoom",
|
|
3321
3321
|
"as",
|
|
3322
3322
|
"gapMode"
|
|
3323
|
-
]), x = f, S =
|
|
3323
|
+
]), x = f, S = Co([n, t]), C = $($({}, b), i);
|
|
3324
3324
|
return P.createElement(P.Fragment, null, u && P.createElement(x, {
|
|
3325
|
-
sideCar:
|
|
3325
|
+
sideCar: ko,
|
|
3326
3326
|
removeScrollBar: l,
|
|
3327
3327
|
shards: d,
|
|
3328
3328
|
noRelative: p,
|
|
@@ -3337,47 +3337,47 @@ var Do = wo(), Oo = function() {}, ko = P.forwardRef(function(e, t) {
|
|
|
3337
3337
|
ref: S
|
|
3338
3338
|
}), s));
|
|
3339
3339
|
});
|
|
3340
|
-
|
|
3340
|
+
jo.defaultProps = {
|
|
3341
3341
|
enabled: !0,
|
|
3342
3342
|
removeScrollBar: !0,
|
|
3343
3343
|
inert: !1
|
|
3344
|
-
},
|
|
3345
|
-
fullWidth:
|
|
3346
|
-
zeroRight:
|
|
3344
|
+
}, jo.classNames = {
|
|
3345
|
+
fullWidth: go,
|
|
3346
|
+
zeroRight: ho
|
|
3347
3347
|
};
|
|
3348
3348
|
//#endregion
|
|
3349
3349
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3350
|
-
var
|
|
3351
|
-
if (
|
|
3350
|
+
var Mo, No = function() {
|
|
3351
|
+
if (Mo) return Mo;
|
|
3352
3352
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3353
3353
|
};
|
|
3354
3354
|
//#endregion
|
|
3355
3355
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3356
|
-
function
|
|
3356
|
+
function Po() {
|
|
3357
3357
|
if (!document) return null;
|
|
3358
3358
|
var e = document.createElement("style");
|
|
3359
3359
|
e.type = "text/css";
|
|
3360
|
-
var t =
|
|
3360
|
+
var t = No();
|
|
3361
3361
|
return t && e.setAttribute("nonce", t), e;
|
|
3362
3362
|
}
|
|
3363
|
-
function
|
|
3363
|
+
function Fo(e, t) {
|
|
3364
3364
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3365
3365
|
}
|
|
3366
|
-
function
|
|
3366
|
+
function Io(e) {
|
|
3367
3367
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3368
3368
|
}
|
|
3369
|
-
var
|
|
3369
|
+
var Lo = function() {
|
|
3370
3370
|
var e = 0, t = null;
|
|
3371
3371
|
return {
|
|
3372
3372
|
add: function(n) {
|
|
3373
|
-
e == 0 && (t =
|
|
3373
|
+
e == 0 && (t = Po()) && (Fo(t, n), Io(t)), e++;
|
|
3374
3374
|
},
|
|
3375
3375
|
remove: function() {
|
|
3376
3376
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3377
3377
|
}
|
|
3378
3378
|
};
|
|
3379
|
-
},
|
|
3380
|
-
var e =
|
|
3379
|
+
}, Ro = function() {
|
|
3380
|
+
var e = Lo();
|
|
3381
3381
|
return function(t, n) {
|
|
3382
3382
|
P.useEffect(function() {
|
|
3383
3383
|
return e.add(t), function() {
|
|
@@ -3385,43 +3385,43 @@ var Fo = function() {
|
|
|
3385
3385
|
};
|
|
3386
3386
|
}, [t && n]);
|
|
3387
3387
|
};
|
|
3388
|
-
},
|
|
3389
|
-
var e =
|
|
3388
|
+
}, zo = function() {
|
|
3389
|
+
var e = Ro();
|
|
3390
3390
|
return function(t) {
|
|
3391
3391
|
var n = t.styles, r = t.dynamic;
|
|
3392
3392
|
return e(n, r), null;
|
|
3393
3393
|
};
|
|
3394
|
-
},
|
|
3394
|
+
}, Bo = {
|
|
3395
3395
|
left: 0,
|
|
3396
3396
|
top: 0,
|
|
3397
3397
|
right: 0,
|
|
3398
3398
|
gap: 0
|
|
3399
|
-
},
|
|
3399
|
+
}, Vo = function(e) {
|
|
3400
3400
|
return parseInt(e || "", 10) || 0;
|
|
3401
|
-
},
|
|
3401
|
+
}, Ho = function(e) {
|
|
3402
3402
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3403
3403
|
return [
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3404
|
+
Vo(n),
|
|
3405
|
+
Vo(r),
|
|
3406
|
+
Vo(i)
|
|
3407
3407
|
];
|
|
3408
|
-
},
|
|
3409
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3410
|
-
var t =
|
|
3408
|
+
}, Uo = function(e) {
|
|
3409
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return Bo;
|
|
3410
|
+
var t = Ho(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3411
3411
|
return {
|
|
3412
3412
|
left: t[0],
|
|
3413
3413
|
top: t[1],
|
|
3414
3414
|
right: t[2],
|
|
3415
3415
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3416
3416
|
};
|
|
3417
|
-
},
|
|
3417
|
+
}, Wo = zo(), Go = "data-scroll-locked", Ko = function(e, t, n, r) {
|
|
3418
3418
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3419
3419
|
return n === void 0 && (n = "margin"), `
|
|
3420
|
-
.${
|
|
3420
|
+
.${_o} {
|
|
3421
3421
|
overflow: hidden ${r};
|
|
3422
3422
|
padding-right: ${s}px ${r};
|
|
3423
3423
|
}
|
|
3424
|
-
body[${
|
|
3424
|
+
body[${Go}] {
|
|
3425
3425
|
overflow: hidden ${r};
|
|
3426
3426
|
overscroll-behavior: contain;
|
|
3427
3427
|
${[
|
|
@@ -3438,122 +3438,122 @@ var Fo = function() {
|
|
|
3438
3438
|
].filter(Boolean).join("")}
|
|
3439
3439
|
}
|
|
3440
3440
|
|
|
3441
|
-
.${
|
|
3441
|
+
.${ho} {
|
|
3442
3442
|
right: ${s}px ${r};
|
|
3443
3443
|
}
|
|
3444
3444
|
|
|
3445
|
-
.${
|
|
3445
|
+
.${go} {
|
|
3446
3446
|
margin-right: ${s}px ${r};
|
|
3447
3447
|
}
|
|
3448
3448
|
|
|
3449
|
-
.${
|
|
3449
|
+
.${ho} .${ho} {
|
|
3450
3450
|
right: 0 ${r};
|
|
3451
3451
|
}
|
|
3452
3452
|
|
|
3453
|
-
.${
|
|
3453
|
+
.${go} .${go} {
|
|
3454
3454
|
margin-right: 0 ${r};
|
|
3455
3455
|
}
|
|
3456
3456
|
|
|
3457
|
-
body[${
|
|
3458
|
-
${
|
|
3457
|
+
body[${Go}] {
|
|
3458
|
+
${vo}: ${s}px;
|
|
3459
3459
|
}
|
|
3460
3460
|
`;
|
|
3461
|
-
},
|
|
3461
|
+
}, qo = function() {
|
|
3462
3462
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3463
3463
|
return isFinite(e) ? e : 0;
|
|
3464
|
-
},
|
|
3464
|
+
}, Jo = function() {
|
|
3465
3465
|
P.useEffect(function() {
|
|
3466
|
-
return document.body.setAttribute(
|
|
3467
|
-
var e =
|
|
3468
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3466
|
+
return document.body.setAttribute(Go, (qo() + 1).toString()), function() {
|
|
3467
|
+
var e = qo() - 1;
|
|
3468
|
+
e <= 0 ? document.body.removeAttribute(Go) : document.body.setAttribute(Go, e.toString());
|
|
3469
3469
|
};
|
|
3470
3470
|
}, []);
|
|
3471
|
-
},
|
|
3471
|
+
}, Yo = function(e) {
|
|
3472
3472
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3473
|
-
|
|
3473
|
+
Jo();
|
|
3474
3474
|
var a = P.useMemo(function() {
|
|
3475
|
-
return
|
|
3475
|
+
return Uo(i);
|
|
3476
3476
|
}, [i]);
|
|
3477
|
-
return P.createElement(
|
|
3478
|
-
},
|
|
3477
|
+
return P.createElement(Wo, { styles: Ko(a, !t, i, n ? "" : "!important") });
|
|
3478
|
+
}, Xo = !1;
|
|
3479
3479
|
if (typeof window < "u") try {
|
|
3480
|
-
var
|
|
3481
|
-
return
|
|
3480
|
+
var Zo = Object.defineProperty({}, "passive", { get: function() {
|
|
3481
|
+
return Xo = !0, !0;
|
|
3482
3482
|
} });
|
|
3483
|
-
window.addEventListener("test",
|
|
3483
|
+
window.addEventListener("test", Zo, Zo), window.removeEventListener("test", Zo, Zo);
|
|
3484
3484
|
} catch {
|
|
3485
|
-
|
|
3485
|
+
Xo = !1;
|
|
3486
3486
|
}
|
|
3487
|
-
var
|
|
3487
|
+
var Qo = Xo ? { passive: !1 } : !1, $o = function(e) {
|
|
3488
3488
|
return e.tagName === "TEXTAREA";
|
|
3489
|
-
},
|
|
3489
|
+
}, es = function(e, t) {
|
|
3490
3490
|
if (!(e instanceof Element)) return !1;
|
|
3491
3491
|
var n = window.getComputedStyle(e);
|
|
3492
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX &&
|
|
3493
|
-
},
|
|
3494
|
-
return
|
|
3495
|
-
},
|
|
3496
|
-
return
|
|
3497
|
-
},
|
|
3492
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !$o(e) && n[t] === "visible");
|
|
3493
|
+
}, ts = function(e) {
|
|
3494
|
+
return es(e, "overflowY");
|
|
3495
|
+
}, ns = function(e) {
|
|
3496
|
+
return es(e, "overflowX");
|
|
3497
|
+
}, rs = function(e, t) {
|
|
3498
3498
|
var n = t.ownerDocument, r = t;
|
|
3499
3499
|
do {
|
|
3500
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3501
|
-
var i =
|
|
3500
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), os(e, r)) {
|
|
3501
|
+
var i = ss(e, r);
|
|
3502
3502
|
if (i[1] > i[2]) return !0;
|
|
3503
3503
|
}
|
|
3504
3504
|
r = r.parentNode;
|
|
3505
3505
|
} while (r && r !== n.body);
|
|
3506
3506
|
return !1;
|
|
3507
|
-
},
|
|
3507
|
+
}, is = function(e) {
|
|
3508
3508
|
return [
|
|
3509
3509
|
e.scrollTop,
|
|
3510
3510
|
e.scrollHeight,
|
|
3511
3511
|
e.clientHeight
|
|
3512
3512
|
];
|
|
3513
|
-
},
|
|
3513
|
+
}, as = function(e) {
|
|
3514
3514
|
return [
|
|
3515
3515
|
e.scrollLeft,
|
|
3516
3516
|
e.scrollWidth,
|
|
3517
3517
|
e.clientWidth
|
|
3518
3518
|
];
|
|
3519
|
-
}, is = function(e, t) {
|
|
3520
|
-
return e === "v" ? $o(t) : es(t);
|
|
3521
|
-
}, as = function(e, t) {
|
|
3522
|
-
return e === "v" ? ns(t) : rs(t);
|
|
3523
3519
|
}, os = function(e, t) {
|
|
3520
|
+
return e === "v" ? ts(t) : ns(t);
|
|
3521
|
+
}, ss = function(e, t) {
|
|
3522
|
+
return e === "v" ? is(t) : as(t);
|
|
3523
|
+
}, cs = function(e, t) {
|
|
3524
3524
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3525
|
-
},
|
|
3526
|
-
var a =
|
|
3525
|
+
}, ls = function(e, t, n, r, i) {
|
|
3526
|
+
var a = cs(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3527
3527
|
do {
|
|
3528
3528
|
if (!s) break;
|
|
3529
|
-
var p =
|
|
3530
|
-
(m || h) &&
|
|
3529
|
+
var p = ss(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3530
|
+
(m || h) && os(e, s) && (d += h, f += m);
|
|
3531
3531
|
var g = s.parentNode;
|
|
3532
3532
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3533
3533
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3534
3534
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3535
|
-
},
|
|
3535
|
+
}, us = function(e) {
|
|
3536
3536
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3537
|
-
},
|
|
3537
|
+
}, ds = function(e) {
|
|
3538
3538
|
return [e.deltaX, e.deltaY];
|
|
3539
|
-
},
|
|
3539
|
+
}, fs = function(e) {
|
|
3540
3540
|
return e && "current" in e ? e.current : e;
|
|
3541
|
-
},
|
|
3541
|
+
}, ps = function(e, t) {
|
|
3542
3542
|
return e[0] === t[0] && e[1] === t[1];
|
|
3543
|
-
},
|
|
3543
|
+
}, ms = function(e) {
|
|
3544
3544
|
return `
|
|
3545
3545
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3546
3546
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3547
3547
|
`;
|
|
3548
|
-
},
|
|
3549
|
-
function
|
|
3550
|
-
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(
|
|
3548
|
+
}, hs = 0, gs = [];
|
|
3549
|
+
function _s(e) {
|
|
3550
|
+
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(hs++)[0], a = P.useState(zo)[0], o = P.useRef(e);
|
|
3551
3551
|
P.useEffect(function() {
|
|
3552
3552
|
o.current = e;
|
|
3553
3553
|
}, [e]), P.useEffect(function() {
|
|
3554
3554
|
if (e.inert) {
|
|
3555
3555
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3556
|
-
var t =
|
|
3556
|
+
var t = mo([e.lockRef.current], (e.shards || []).map(fs), !0).filter(Boolean);
|
|
3557
3557
|
return t.forEach(function(e) {
|
|
3558
3558
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3559
3559
|
}), function() {
|
|
@@ -3569,28 +3569,28 @@ function hs(e) {
|
|
|
3569
3569
|
]);
|
|
3570
3570
|
var s = P.useCallback(function(e, t) {
|
|
3571
3571
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3572
|
-
var i =
|
|
3572
|
+
var i = us(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";
|
|
3573
3573
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3574
3574
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3575
3575
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3576
|
-
var m =
|
|
3576
|
+
var m = rs(d, u);
|
|
3577
3577
|
if (!m) return !0;
|
|
3578
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3578
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = rs(d, u)), !m) return !1;
|
|
3579
3579
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3580
3580
|
var h = r.current || l;
|
|
3581
|
-
return
|
|
3581
|
+
return ls(h, t, e, h === "h" ? s : c, !0);
|
|
3582
3582
|
}, []), c = P.useCallback(function(e) {
|
|
3583
3583
|
var n = e;
|
|
3584
|
-
if (!(!
|
|
3585
|
-
var r = "deltaY" in n ?
|
|
3586
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3584
|
+
if (!(!gs.length || gs[gs.length - 1] !== a)) {
|
|
3585
|
+
var r = "deltaY" in n ? ds(n) : us(n), i = t.current.filter(function(e) {
|
|
3586
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && ps(e.delta, r);
|
|
3587
3587
|
})[0];
|
|
3588
3588
|
if (i && i.should) {
|
|
3589
3589
|
n.cancelable && n.preventDefault();
|
|
3590
3590
|
return;
|
|
3591
3591
|
}
|
|
3592
3592
|
if (!i) {
|
|
3593
|
-
var c = (o.current.shards || []).map(
|
|
3593
|
+
var c = (o.current.shards || []).map(fs).filter(Boolean).filter(function(e) {
|
|
3594
3594
|
return e.contains(n.target);
|
|
3595
3595
|
});
|
|
3596
3596
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -3602,7 +3602,7 @@ function hs(e) {
|
|
|
3602
3602
|
delta: n,
|
|
3603
3603
|
target: r,
|
|
3604
3604
|
should: i,
|
|
3605
|
-
shadowParent:
|
|
3605
|
+
shadowParent: vs(r)
|
|
3606
3606
|
};
|
|
3607
3607
|
t.current.push(a), setTimeout(function() {
|
|
3608
3608
|
t.current = t.current.filter(function(e) {
|
|
@@ -3610,56 +3610,56 @@ function hs(e) {
|
|
|
3610
3610
|
});
|
|
3611
3611
|
}, 1);
|
|
3612
3612
|
}, []), u = P.useCallback(function(e) {
|
|
3613
|
-
n.current =
|
|
3613
|
+
n.current = us(e), r.current = void 0;
|
|
3614
3614
|
}, []), d = P.useCallback(function(t) {
|
|
3615
|
-
l(t.type,
|
|
3615
|
+
l(t.type, ds(t), t.target, s(t, e.lockRef.current));
|
|
3616
3616
|
}, []), f = P.useCallback(function(t) {
|
|
3617
|
-
l(t.type,
|
|
3617
|
+
l(t.type, us(t), t.target, s(t, e.lockRef.current));
|
|
3618
3618
|
}, []);
|
|
3619
3619
|
P.useEffect(function() {
|
|
3620
|
-
return
|
|
3620
|
+
return gs.push(a), e.setCallbacks({
|
|
3621
3621
|
onScrollCapture: d,
|
|
3622
3622
|
onWheelCapture: d,
|
|
3623
3623
|
onTouchMoveCapture: f
|
|
3624
|
-
}), document.addEventListener("wheel", c,
|
|
3625
|
-
|
|
3624
|
+
}), document.addEventListener("wheel", c, Qo), document.addEventListener("touchmove", c, Qo), document.addEventListener("touchstart", u, Qo), function() {
|
|
3625
|
+
gs = gs.filter(function(e) {
|
|
3626
3626
|
return e !== a;
|
|
3627
|
-
}), document.removeEventListener("wheel", c,
|
|
3627
|
+
}), document.removeEventListener("wheel", c, Qo), document.removeEventListener("touchmove", c, Qo), document.removeEventListener("touchstart", u, Qo);
|
|
3628
3628
|
};
|
|
3629
3629
|
}, []);
|
|
3630
3630
|
var p = e.removeScrollBar, m = e.inert;
|
|
3631
|
-
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles:
|
|
3631
|
+
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles: ms(i) }) : null, p ? P.createElement(Yo, {
|
|
3632
3632
|
noRelative: e.noRelative,
|
|
3633
3633
|
gapMode: e.gapMode
|
|
3634
3634
|
}) : null);
|
|
3635
3635
|
}
|
|
3636
|
-
function
|
|
3636
|
+
function vs(e) {
|
|
3637
3637
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3638
3638
|
return t;
|
|
3639
3639
|
}
|
|
3640
3640
|
//#endregion
|
|
3641
3641
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3642
|
-
var
|
|
3643
|
-
return P.createElement(
|
|
3642
|
+
var ys = Oo(ko, _s), bs = P.forwardRef(function(e, t) {
|
|
3643
|
+
return P.createElement(jo, $({}, e, {
|
|
3644
3644
|
ref: t,
|
|
3645
|
-
sideCar:
|
|
3645
|
+
sideCar: ys
|
|
3646
3646
|
}));
|
|
3647
3647
|
});
|
|
3648
|
-
|
|
3648
|
+
bs.classNames = jo.classNames;
|
|
3649
3649
|
//#endregion
|
|
3650
3650
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3651
|
-
var
|
|
3652
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3651
|
+
var xs = "Popover", [Ss, Cs] = Sn(xs, [Sa]), ws = Sa(), [Ts, Es] = Ss(xs), Ds = (e) => {
|
|
3652
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = ws(t), c = P.useRef(null), [l, u] = P.useState(!1), [d, f] = Xa({
|
|
3653
3653
|
prop: r,
|
|
3654
3654
|
defaultProp: i ?? !1,
|
|
3655
3655
|
onChange: a,
|
|
3656
|
-
caller:
|
|
3656
|
+
caller: xs
|
|
3657
3657
|
});
|
|
3658
|
-
return /* @__PURE__ */ (0,
|
|
3658
|
+
return /* @__PURE__ */ (0, I.jsx)(Ra, {
|
|
3659
3659
|
...s,
|
|
3660
|
-
children: /* @__PURE__ */ (0,
|
|
3660
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ts, {
|
|
3661
3661
|
scope: t,
|
|
3662
|
-
contentId:
|
|
3662
|
+
contentId: pr(),
|
|
3663
3663
|
triggerRef: c,
|
|
3664
3664
|
open: d,
|
|
3665
3665
|
onOpenChange: f,
|
|
@@ -3672,42 +3672,42 @@ var ys = "Popover", [bs, xs] = bn(ys, [ba]), Ss = ba(), [Cs, ws] = bs(ys), Ts =
|
|
|
3672
3672
|
})
|
|
3673
3673
|
});
|
|
3674
3674
|
};
|
|
3675
|
-
|
|
3676
|
-
var
|
|
3677
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3678
|
-
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0,
|
|
3675
|
+
Ds.displayName = xs;
|
|
3676
|
+
var Os = "PopoverAnchor", ks = P.forwardRef((e, t) => {
|
|
3677
|
+
let { __scopePopover: n, ...r } = e, i = Es(Os, n), a = ws(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3678
|
+
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(za, {
|
|
3679
3679
|
...a,
|
|
3680
3680
|
...r,
|
|
3681
3681
|
ref: t
|
|
3682
3682
|
});
|
|
3683
3683
|
});
|
|
3684
|
-
|
|
3685
|
-
var
|
|
3686
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3684
|
+
ks.displayName = Os;
|
|
3685
|
+
var As = "PopoverTrigger", js = P.forwardRef((e, t) => {
|
|
3686
|
+
let { __scopePopover: n, ...r } = e, i = Es(As, n), a = ws(n), o = B(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(V.button, {
|
|
3687
3687
|
type: "button",
|
|
3688
3688
|
"aria-haspopup": "dialog",
|
|
3689
3689
|
"aria-expanded": i.open,
|
|
3690
3690
|
"aria-controls": i.contentId,
|
|
3691
|
-
"data-state":
|
|
3691
|
+
"data-state": Ks(i.open),
|
|
3692
3692
|
...r,
|
|
3693
3693
|
ref: o,
|
|
3694
3694
|
onClick: z(e.onClick, i.onOpenToggle)
|
|
3695
3695
|
});
|
|
3696
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
3696
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(za, {
|
|
3697
3697
|
asChild: !0,
|
|
3698
3698
|
...a,
|
|
3699
3699
|
children: s
|
|
3700
3700
|
});
|
|
3701
3701
|
});
|
|
3702
|
-
|
|
3703
|
-
var
|
|
3704
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
3705
|
-
return /* @__PURE__ */ (0,
|
|
3702
|
+
js.displayName = As;
|
|
3703
|
+
var Ms = "PopoverPortal", [Ns, Ps] = Ss(Ms, { forceMount: void 0 }), Fs = (e) => {
|
|
3704
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = Es(Ms, t);
|
|
3705
|
+
return /* @__PURE__ */ (0, I.jsx)(Ns, {
|
|
3706
3706
|
scope: t,
|
|
3707
3707
|
forceMount: n,
|
|
3708
|
-
children: /* @__PURE__ */ (0,
|
|
3708
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ga, {
|
|
3709
3709
|
present: n || a.open,
|
|
3710
|
-
children: /* @__PURE__ */ (0,
|
|
3710
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ua, {
|
|
3711
3711
|
asChild: !0,
|
|
3712
3712
|
container: i,
|
|
3713
3713
|
children: r
|
|
@@ -3715,30 +3715,30 @@ var As = "PopoverPortal", [js, Ms] = bs(As, { forceMount: void 0 }), Ns = (e) =>
|
|
|
3715
3715
|
})
|
|
3716
3716
|
});
|
|
3717
3717
|
};
|
|
3718
|
-
|
|
3719
|
-
var
|
|
3720
|
-
let n =
|
|
3721
|
-
return /* @__PURE__ */ (0,
|
|
3718
|
+
Fs.displayName = Ms;
|
|
3719
|
+
var Is = "PopoverContent", Ls = P.forwardRef((e, t) => {
|
|
3720
|
+
let n = Ps(Is, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = Es(Is, e.__scopePopover);
|
|
3721
|
+
return /* @__PURE__ */ (0, I.jsx)(Ga, {
|
|
3722
3722
|
present: r || a.open,
|
|
3723
|
-
children: a.modal ? /* @__PURE__ */ (0,
|
|
3723
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(zs, {
|
|
3724
3724
|
...i,
|
|
3725
3725
|
ref: t
|
|
3726
|
-
}) : /* @__PURE__ */ (0,
|
|
3726
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Bs, {
|
|
3727
3727
|
...i,
|
|
3728
3728
|
ref: t
|
|
3729
3729
|
})
|
|
3730
3730
|
});
|
|
3731
3731
|
});
|
|
3732
|
-
|
|
3733
|
-
var
|
|
3734
|
-
let n =
|
|
3732
|
+
Ls.displayName = Is;
|
|
3733
|
+
var Rs = /* @__PURE__ */ wn("PopoverContent.RemoveScroll"), zs = P.forwardRef((e, t) => {
|
|
3734
|
+
let n = Es(Is, e.__scopePopover), r = P.useRef(null), i = B(t, r), a = P.useRef(!1);
|
|
3735
3735
|
return P.useEffect(() => {
|
|
3736
3736
|
let e = r.current;
|
|
3737
|
-
if (e) return
|
|
3738
|
-
}, []), /* @__PURE__ */ (0,
|
|
3739
|
-
as:
|
|
3737
|
+
if (e) return so(e);
|
|
3738
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(bs, {
|
|
3739
|
+
as: Rs,
|
|
3740
3740
|
allowPinchZoom: !0,
|
|
3741
|
-
children: /* @__PURE__ */ (0,
|
|
3741
|
+
children: /* @__PURE__ */ (0, I.jsx)(Vs, {
|
|
3742
3742
|
...e,
|
|
3743
3743
|
ref: i,
|
|
3744
3744
|
trapFocus: n.open,
|
|
@@ -3753,9 +3753,9 @@ var Is = /* @__PURE__ */ Sn("PopoverContent.RemoveScroll"), Ls = P.forwardRef((e
|
|
|
3753
3753
|
onFocusOutside: z(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3754
3754
|
})
|
|
3755
3755
|
});
|
|
3756
|
-
}),
|
|
3757
|
-
let n =
|
|
3758
|
-
return /* @__PURE__ */ (0,
|
|
3756
|
+
}), Bs = P.forwardRef((e, t) => {
|
|
3757
|
+
let n = Es(Is, e.__scopePopover), r = P.useRef(!1), i = P.useRef(!1);
|
|
3758
|
+
return /* @__PURE__ */ (0, I.jsx)(Vs, {
|
|
3759
3759
|
...e,
|
|
3760
3760
|
ref: t,
|
|
3761
3761
|
trapFocus: !1,
|
|
@@ -3769,15 +3769,15 @@ var Is = /* @__PURE__ */ Sn("PopoverContent.RemoveScroll"), Ls = P.forwardRef((e
|
|
|
3769
3769
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3770
3770
|
}
|
|
3771
3771
|
});
|
|
3772
|
-
}),
|
|
3773
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3774
|
-
return
|
|
3772
|
+
}), Vs = P.forwardRef((e, t) => {
|
|
3773
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = Es(Is, n), p = ws(n);
|
|
3774
|
+
return qn(), /* @__PURE__ */ (0, I.jsx)($n, {
|
|
3775
3775
|
asChild: !0,
|
|
3776
3776
|
loop: !0,
|
|
3777
3777
|
trapped: r,
|
|
3778
3778
|
onMountAutoFocus: i,
|
|
3779
3779
|
onUnmountAutoFocus: a,
|
|
3780
|
-
children: /* @__PURE__ */ (0,
|
|
3780
|
+
children: /* @__PURE__ */ (0, I.jsx)(zn, {
|
|
3781
3781
|
asChild: !0,
|
|
3782
3782
|
disableOutsidePointerEvents: o,
|
|
3783
3783
|
onInteractOutside: u,
|
|
@@ -3785,8 +3785,8 @@ var Is = /* @__PURE__ */ Sn("PopoverContent.RemoveScroll"), Ls = P.forwardRef((e
|
|
|
3785
3785
|
onPointerDownOutside: c,
|
|
3786
3786
|
onFocusOutside: l,
|
|
3787
3787
|
onDismiss: () => f.onOpenChange(!1),
|
|
3788
|
-
children: /* @__PURE__ */ (0,
|
|
3789
|
-
"data-state":
|
|
3788
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ba, {
|
|
3789
|
+
"data-state": Ks(f.open),
|
|
3790
3790
|
role: "dialog",
|
|
3791
3791
|
id: f.contentId,
|
|
3792
3792
|
...p,
|
|
@@ -3803,190 +3803,190 @@ var Is = /* @__PURE__ */ Sn("PopoverContent.RemoveScroll"), Ls = P.forwardRef((e
|
|
|
3803
3803
|
})
|
|
3804
3804
|
})
|
|
3805
3805
|
});
|
|
3806
|
-
}),
|
|
3807
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3808
|
-
return /* @__PURE__ */ (0,
|
|
3806
|
+
}), Hs = "PopoverClose", Us = P.forwardRef((e, t) => {
|
|
3807
|
+
let { __scopePopover: n, ...r } = e, i = Es(Hs, n);
|
|
3808
|
+
return /* @__PURE__ */ (0, I.jsx)(V.button, {
|
|
3809
3809
|
type: "button",
|
|
3810
3810
|
...r,
|
|
3811
3811
|
ref: t,
|
|
3812
3812
|
onClick: z(e.onClick, () => i.onOpenChange(!1))
|
|
3813
3813
|
});
|
|
3814
3814
|
});
|
|
3815
|
-
|
|
3816
|
-
var
|
|
3817
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3818
|
-
return /* @__PURE__ */ (0,
|
|
3815
|
+
Us.displayName = Hs;
|
|
3816
|
+
var Ws = "PopoverArrow", Gs = P.forwardRef((e, t) => {
|
|
3817
|
+
let { __scopePopover: n, ...r } = e, i = ws(n);
|
|
3818
|
+
return /* @__PURE__ */ (0, I.jsx)(Va, {
|
|
3819
3819
|
...i,
|
|
3820
3820
|
...r,
|
|
3821
3821
|
ref: t
|
|
3822
3822
|
});
|
|
3823
3823
|
});
|
|
3824
|
-
|
|
3825
|
-
function
|
|
3824
|
+
Gs.displayName = Ws;
|
|
3825
|
+
function Ks(e) {
|
|
3826
3826
|
return e ? "open" : "closed";
|
|
3827
3827
|
}
|
|
3828
|
-
var
|
|
3828
|
+
var qs = Ds, Js = js, Ys = Ls, Xs = Gs, Zs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(qs, {
|
|
3829
3829
|
defaultOpen: n,
|
|
3830
|
-
children: [/* @__PURE__ */ (0,
|
|
3830
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3831
3831
|
className: "flex justify-center",
|
|
3832
|
-
children: /* @__PURE__ */ (0,
|
|
3832
|
+
children: /* @__PURE__ */ (0, I.jsx)(Js, {
|
|
3833
3833
|
asChild: !0,
|
|
3834
3834
|
children: t
|
|
3835
3835
|
})
|
|
3836
|
-
}), /* @__PURE__ */ (0,
|
|
3836
|
+
}), /* @__PURE__ */ (0, I.jsxs)(Ys, {
|
|
3837
3837
|
className: "sid-popover__container",
|
|
3838
3838
|
sideOffset: 10,
|
|
3839
3839
|
side: "bottom",
|
|
3840
|
-
children: [e, /* @__PURE__ */ (0,
|
|
3840
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)(Xs, { className: "sid-popover__caret" })]
|
|
3841
3841
|
})]
|
|
3842
|
-
}),
|
|
3842
|
+
}), Qs = ({ verificationService: e, initialVisibility: t = !1 }) => /* @__PURE__ */ (0, I.jsx)(Zs, {
|
|
3843
3843
|
initialVisibility: t,
|
|
3844
|
-
trigger: /* @__PURE__ */ (0,
|
|
3844
|
+
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3845
3845
|
type: "button",
|
|
3846
3846
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3847
|
-
children: /* @__PURE__ */ (0,
|
|
3847
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "howDoesVerifyingWork" })
|
|
3848
3848
|
}),
|
|
3849
|
-
message: /* @__PURE__ */ (0,
|
|
3850
|
-
/* @__PURE__ */ (0,
|
|
3849
|
+
message: /* @__PURE__ */ (0, I.jsxs)("div", { children: [
|
|
3850
|
+
/* @__PURE__ */ (0, I.jsx)(N, { id: "step.personalInfo.howDoesVerifyingWorkDetails" }),
|
|
3851
3851
|
"\xA0",
|
|
3852
|
-
/* @__PURE__ */ (0,
|
|
3852
|
+
/* @__PURE__ */ (0, I.jsx)(Nt, { verificationService: e })
|
|
3853
3853
|
] })
|
|
3854
|
-
}),
|
|
3855
|
-
let t =
|
|
3856
|
-
return typeof n == "number" && n > 0 ? /* @__PURE__ */ (0,
|
|
3854
|
+
}), $s = ({ verificationService: e }) => {
|
|
3855
|
+
let t = Me(), n = a(() => e.programTheme.remainingRewardCodes, null);
|
|
3856
|
+
return typeof n == "number" && n > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3857
3857
|
className: "sid-rewards-remaining",
|
|
3858
3858
|
role: "note",
|
|
3859
3859
|
children: [
|
|
3860
|
-
/* @__PURE__ */ (0,
|
|
3861
|
-
/* @__PURE__ */ (0,
|
|
3860
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3861
|
+
/* @__PURE__ */ (0, I.jsx)(M, {
|
|
3862
3862
|
id: "lowRewardPool",
|
|
3863
3863
|
defaultMessage: t?.lowRewardPool,
|
|
3864
3864
|
values: { offersRemaining: n }
|
|
3865
3865
|
}),
|
|
3866
|
-
/* @__PURE__ */ (0,
|
|
3866
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3867
3867
|
]
|
|
3868
3868
|
}) : null;
|
|
3869
|
-
},
|
|
3870
|
-
let { verificationResponse: n } = e, r =
|
|
3871
|
-
return /* @__PURE__ */ (0,
|
|
3869
|
+
}, ec = (e) => e !== void 0, tc = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3870
|
+
let { verificationResponse: n } = e, r = ec(n) ? Qe(n) : !1;
|
|
3871
|
+
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3872
3872
|
className: "sid-personal-info-header",
|
|
3873
|
-
children: /* @__PURE__ */ (0,
|
|
3873
|
+
children: /* @__PURE__ */ (0, I.jsxs)(yn, {
|
|
3874
3874
|
verificationService: e,
|
|
3875
|
-
title: /* @__PURE__ */ (0,
|
|
3875
|
+
title: /* @__PURE__ */ (0, I.jsx)(N, { id: r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title" }),
|
|
3876
3876
|
classNameIdentifier: t,
|
|
3877
3877
|
children: [
|
|
3878
|
-
/* @__PURE__ */ (0,
|
|
3878
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3879
3879
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3880
|
-
children: /* @__PURE__ */ (0,
|
|
3880
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle" })
|
|
3881
3881
|
}),
|
|
3882
|
-
/* @__PURE__ */ (0,
|
|
3882
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3883
3883
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3884
|
-
children: !r && /* @__PURE__ */ (0,
|
|
3884
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Qs, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)($s, { verificationService: e })] })
|
|
3885
3885
|
}),
|
|
3886
|
-
/* @__PURE__ */ (0,
|
|
3886
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3887
3887
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3888
|
-
children: /* @__PURE__ */ (0,
|
|
3888
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "requiredFields" })
|
|
3889
3889
|
})
|
|
3890
3890
|
]
|
|
3891
3891
|
})
|
|
3892
3892
|
});
|
|
3893
|
-
},
|
|
3894
|
-
let { isEmbedded: i } =
|
|
3895
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
3893
|
+
}, nc = () => ({ isEmbedded: !!d("verificationIframeUid") }), rc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3894
|
+
let { isEmbedded: i } = nc();
|
|
3895
|
+
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3896
3896
|
className: `sid-layout sid-layout--${e}`,
|
|
3897
|
-
children: /* @__PURE__ */ (0,
|
|
3897
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3898
3898
|
className: "sid-layout__container",
|
|
3899
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
3899
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3900
3900
|
className: "sid-layout__content",
|
|
3901
|
-
children: /* @__PURE__ */ (0,
|
|
3901
|
+
children: /* @__PURE__ */ (0, I.jsx)(tc, {
|
|
3902
3902
|
verificationService: n,
|
|
3903
3903
|
classNameIdentifier: "landing"
|
|
3904
3904
|
})
|
|
3905
|
-
}), /* @__PURE__ */ (0,
|
|
3905
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3906
3906
|
className: "sid-layout__form-container",
|
|
3907
|
-
children: /* @__PURE__ */ (0,
|
|
3907
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3908
3908
|
className: "sid-layout__form",
|
|
3909
3909
|
children: t
|
|
3910
3910
|
})
|
|
3911
3911
|
})]
|
|
3912
3912
|
})
|
|
3913
3913
|
});
|
|
3914
|
-
},
|
|
3914
|
+
}, ic = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3915
3915
|
className: "sid sid-form-wrapper",
|
|
3916
3916
|
children: e
|
|
3917
|
-
}),
|
|
3918
|
-
let i =
|
|
3917
|
+
}), ac = ({ locale: e, programTheme: t, verificationService: n, programId: r }) => {
|
|
3918
|
+
let i = it(), { renderAs: a, _launchDarklyUserTargeting: s } = w(), c = Ce() ?? t, l = De(), { isLoading: u, loadingStep: d } = xe(), f = we(pe, _e), p = (0, P.useMemo)(() => f ? {
|
|
3919
3919
|
...n.verificationResponse,
|
|
3920
|
-
...
|
|
3921
|
-
} : n.verificationResponse, [
|
|
3920
|
+
...f
|
|
3921
|
+
} : n.verificationResponse, [f, n.verificationResponse]), m = (0, P.useMemo)(() => ({
|
|
3922
3922
|
...n,
|
|
3923
|
-
programTheme:
|
|
3924
|
-
verificationResponse:
|
|
3925
|
-
formValidationOptions:
|
|
3923
|
+
programTheme: c,
|
|
3924
|
+
verificationResponse: p,
|
|
3925
|
+
formValidationOptions: Dt(c, p, n.viewModel)
|
|
3926
3926
|
}), [
|
|
3927
3927
|
n,
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
]),
|
|
3928
|
+
c,
|
|
3929
|
+
p
|
|
3930
|
+
]), h = c?.themeChoices?.landingPage?.layout || "center", g = ot();
|
|
3931
3931
|
P.useEffect(() => {
|
|
3932
3932
|
try {
|
|
3933
|
-
if (
|
|
3934
|
-
let e = (0,
|
|
3933
|
+
if (g && m && m.viewModel) {
|
|
3934
|
+
let e = (0, xt.default)(g);
|
|
3935
3935
|
E(y.flags, e);
|
|
3936
|
-
let t = S(
|
|
3936
|
+
let t = S(m.viewModel.metadata || {}, (t) => {
|
|
3937
3937
|
t.flags = e;
|
|
3938
|
-
}), n = S(
|
|
3938
|
+
}), n = S(m.viewModel, (e) => {
|
|
3939
3939
|
e.metadata = t;
|
|
3940
3940
|
});
|
|
3941
|
-
|
|
3941
|
+
m.updateViewModel(n);
|
|
3942
3942
|
}
|
|
3943
3943
|
} catch (e) {
|
|
3944
3944
|
O.error(e);
|
|
3945
3945
|
}
|
|
3946
3946
|
}, []), P.useEffect(() => {
|
|
3947
|
-
if (
|
|
3947
|
+
if (l && s && i) {
|
|
3948
3948
|
let e = {
|
|
3949
3949
|
kind: "multi",
|
|
3950
3950
|
user: {
|
|
3951
|
-
key:
|
|
3952
|
-
locale:
|
|
3953
|
-
segment:
|
|
3954
|
-
installType:
|
|
3951
|
+
key: l,
|
|
3952
|
+
locale: m.verificationResponse.locale,
|
|
3953
|
+
segment: m.verificationResponse.segment,
|
|
3954
|
+
installType: ae()
|
|
3955
3955
|
},
|
|
3956
3956
|
program: { key: r }
|
|
3957
3957
|
};
|
|
3958
|
-
|
|
3958
|
+
c.accountId && (e.account = { key: c.accountId }), i.identify(e);
|
|
3959
3959
|
}
|
|
3960
|
-
}, [
|
|
3960
|
+
}, [l, i]), P.useEffect(() => {
|
|
3961
3961
|
try {
|
|
3962
|
-
w()._launchDarklyFlagCb(
|
|
3962
|
+
w()._launchDarklyFlagCb(g);
|
|
3963
3963
|
} catch {}
|
|
3964
|
-
}, [
|
|
3965
|
-
let
|
|
3966
|
-
return /* @__PURE__ */ (0,
|
|
3964
|
+
}, [g]);
|
|
3965
|
+
let v = Me(), b = we(pe, fe);
|
|
3966
|
+
return /* @__PURE__ */ (0, I.jsx)(ce, {
|
|
3967
3967
|
locale: "en",
|
|
3968
3968
|
messages: {
|
|
3969
|
-
...
|
|
3970
|
-
...(0,
|
|
3971
|
-
...(0,
|
|
3969
|
+
...v,
|
|
3970
|
+
...(0, bt.default)(C(e)),
|
|
3971
|
+
...(0, bt.default)(b?.[e] ?? {})
|
|
3972
3972
|
},
|
|
3973
|
-
textComponent:
|
|
3974
|
-
children: /* @__PURE__ */ (0,
|
|
3975
|
-
themeChoices:
|
|
3973
|
+
textComponent: _n,
|
|
3974
|
+
children: /* @__PURE__ */ (0, I.jsx)(Et, {
|
|
3975
|
+
themeChoices: c?.themeChoices,
|
|
3976
3976
|
customCssFromOptions: w().customCss,
|
|
3977
|
-
children: /* @__PURE__ */ (0,
|
|
3978
|
-
className: `${
|
|
3979
|
-
children: /* @__PURE__ */ (0,
|
|
3980
|
-
layout:
|
|
3981
|
-
verificationService:
|
|
3982
|
-
renderAsLandingPage:
|
|
3983
|
-
children: /* @__PURE__ */ (0,
|
|
3984
|
-
|
|
3985
|
-
children: /* @__PURE__ */ (0,
|
|
3986
|
-
|
|
3987
|
-
children: u.
|
|
3988
|
-
stepToLoad:
|
|
3989
|
-
verificationService:
|
|
3977
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3978
|
+
className: `${Ct.default.isRtlLang(_(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
3979
|
+
children: /* @__PURE__ */ (0, I.jsx)(ic, { children: /* @__PURE__ */ (0, I.jsx)(rc, {
|
|
3980
|
+
layout: h,
|
|
3981
|
+
verificationService: m,
|
|
3982
|
+
renderAsLandingPage: a === "landingPage",
|
|
3983
|
+
children: /* @__PURE__ */ (0, I.jsx)(ht, {
|
|
3984
|
+
i18n: o,
|
|
3985
|
+
children: /* @__PURE__ */ (0, I.jsx)(P.Suspense, {
|
|
3986
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(Mt, { step: d }),
|
|
3987
|
+
children: u || Re("mockStep") === j.loading ? /* @__PURE__ */ (0, I.jsx)(Mt, { step: d }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!w().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(vn, { verificationService: m }), /* @__PURE__ */ (0, I.jsx)(gn, {
|
|
3988
|
+
stepToLoad: m.overrideStep || m.verificationResponse?.currentStep,
|
|
3989
|
+
verificationService: m
|
|
3990
3990
|
})] })
|
|
3991
3991
|
})
|
|
3992
3992
|
})
|
|
@@ -3994,43 +3994,35 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
3994
3994
|
})
|
|
3995
3995
|
})
|
|
3996
3996
|
}, e);
|
|
3997
|
-
},
|
|
3997
|
+
}, oc = () => {
|
|
3998
3998
|
let e = null;
|
|
3999
3999
|
document.addEventListener("keydown", (t) => {
|
|
4000
4000
|
if (t.key !== "Tab") return;
|
|
4001
4001
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
4002
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
4002
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (rt({
|
|
4003
4003
|
type: "focus",
|
|
4004
4004
|
focusOn: "firstElement"
|
|
4005
4005
|
}), t.preventDefault());
|
|
4006
4006
|
}), window.addEventListener("message", (t) => {
|
|
4007
4007
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4008
|
-
}),
|
|
4008
|
+
}), rt({
|
|
4009
4009
|
type: "focus",
|
|
4010
4010
|
focusOn: "firstElement"
|
|
4011
4011
|
});
|
|
4012
|
-
},
|
|
4012
|
+
}, sc = () => {
|
|
4013
4013
|
window.addEventListener("message", (e) => {
|
|
4014
|
-
e.data.isInLightBox === "true" &&
|
|
4014
|
+
e.data.isInLightBox === "true" && oc();
|
|
4015
4015
|
});
|
|
4016
|
-
},
|
|
4017
|
-
locale: "en",
|
|
4018
|
-
messages: {
|
|
4019
|
-
...Oe(),
|
|
4020
|
-
...(0, gt.default)(C(e))
|
|
4021
|
-
},
|
|
4022
|
-
textComponent: hn,
|
|
4023
|
-
children: /* @__PURE__ */ (0, F.jsx)(bt, {})
|
|
4024
|
-
}, e), sc = class extends P.Component {
|
|
4016
|
+
}, cc = class extends P.Component {
|
|
4025
4017
|
verificationService;
|
|
4026
4018
|
constructor(e) {
|
|
4027
4019
|
super(e), O.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? O.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : O.info("No trackingId to associate with the verification request");
|
|
4028
4020
|
}
|
|
4029
4021
|
componentDidMount() {
|
|
4030
|
-
|
|
4022
|
+
f(), sc(), Ie((e) => {
|
|
4031
4023
|
switch (e.data.action) {
|
|
4032
4024
|
case "setViewModel":
|
|
4033
|
-
|
|
4025
|
+
Xe(e.data.viewModel, {
|
|
4034
4026
|
partial: !0,
|
|
4035
4027
|
metadataCheck: !0,
|
|
4036
4028
|
externalUserIdCheck: !0
|
|
@@ -4041,80 +4033,75 @@ var Gs = Ts, Ks = ks, qs = Fs, Js = Us, Ys = ({ message: e, trigger: t, initialV
|
|
|
4041
4033
|
break;
|
|
4042
4034
|
default:
|
|
4043
4035
|
}
|
|
4044
|
-
}),
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
let e = a(() => this.props.verificationService.verificationResponse.segment);
|
|
4048
|
-
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4049
|
-
}
|
|
4036
|
+
}), O.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4037
|
+
let e = a(() => this.props.verificationService.verificationResponse.segment);
|
|
4038
|
+
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4050
4039
|
}
|
|
4051
4040
|
render() {
|
|
4052
|
-
let { viewModel: e } = this.props.verificationService, t = T(e);
|
|
4053
|
-
|
|
4054
|
-
let { programTheme: n } = this.props.verificationService, { verificationResponse: r } = this.props.verificationService;
|
|
4055
|
-
return O.info("NewVerificationComponent: verificationResponse, viewModel", r, e), O.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r.currentStep}`), /* @__PURE__ */ (0, F.jsx)(rc, {
|
|
4041
|
+
let { viewModel: e } = this.props.verificationService, t = T(e), { programTheme: n } = this.props.verificationService, { verificationResponse: r } = this.props.verificationService;
|
|
4042
|
+
return O.info("NewVerificationComponent: verificationResponse, viewModel", r, e), O.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r?.currentStep}`), /* @__PURE__ */ (0, I.jsx)(ac, {
|
|
4056
4043
|
locale: t,
|
|
4057
4044
|
programTheme: n,
|
|
4058
4045
|
verificationService: this.props.verificationService,
|
|
4059
4046
|
programId: this.props.programId
|
|
4060
4047
|
});
|
|
4061
4048
|
}
|
|
4062
|
-
},
|
|
4049
|
+
}, lc = Oe((e, t) => ({ ...e }), (e, t) => ({
|
|
4063
4050
|
dispatch: e,
|
|
4064
|
-
fetchNewVerificationRequest:
|
|
4065
|
-
fetchExistingVerificationRequest:
|
|
4066
|
-
updateViewModel:
|
|
4067
|
-
updateLocale:
|
|
4068
|
-
updateProgramTheme:
|
|
4069
|
-
updateFieldValidationErrors:
|
|
4070
|
-
resetState:
|
|
4051
|
+
fetchNewVerificationRequest: Ze(e),
|
|
4052
|
+
fetchExistingVerificationRequest: Ue(e),
|
|
4053
|
+
updateViewModel: Ke(e),
|
|
4054
|
+
updateLocale: nt(e, t.programId),
|
|
4055
|
+
updateProgramTheme: Ge(e),
|
|
4056
|
+
updateFieldValidationErrors: Ye(e),
|
|
4057
|
+
resetState: et(e)
|
|
4071
4058
|
}), (e, t, n) => {
|
|
4072
4059
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4073
4060
|
return {
|
|
4074
4061
|
verificationService: {
|
|
4075
4062
|
...e,
|
|
4076
4063
|
...i,
|
|
4077
|
-
submitStep:
|
|
4064
|
+
submitStep: We(r, a)
|
|
4078
4065
|
},
|
|
4079
4066
|
...n
|
|
4080
4067
|
};
|
|
4081
|
-
})(
|
|
4068
|
+
})(cc), uc = (e) => ({
|
|
4082
4069
|
kind: "program",
|
|
4083
4070
|
key: e
|
|
4084
|
-
}),
|
|
4071
|
+
}), dc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)(at, {
|
|
4085
4072
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4086
|
-
context:
|
|
4087
|
-
flags:
|
|
4073
|
+
context: uc(e),
|
|
4074
|
+
flags: st,
|
|
4088
4075
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4089
4076
|
options: { streaming: !1 },
|
|
4090
4077
|
children: t
|
|
4091
|
-
}),
|
|
4092
|
-
E(y.jslibVersionActual, a(() =>
|
|
4093
|
-
var
|
|
4078
|
+
}), fc = $e();
|
|
4079
|
+
E(y.jslibVersionActual, a(() => ie(), "?")), E(y.clientVersion, a(() => ie(), "?"));
|
|
4080
|
+
var pc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4094
4081
|
try {
|
|
4095
|
-
|
|
4082
|
+
He();
|
|
4096
4083
|
} catch (e) {
|
|
4097
4084
|
O.warn("Failed to add predefined hooks", e);
|
|
4098
4085
|
}
|
|
4099
4086
|
return (0, P.useEffect)(() => {
|
|
4100
4087
|
ee();
|
|
4101
|
-
}),
|
|
4088
|
+
}), fc.dispatch({
|
|
4102
4089
|
programId: e,
|
|
4103
4090
|
type: "PROGRAM_ID"
|
|
4104
4091
|
}), n && (n.current = {
|
|
4105
|
-
refresh: P.useCallback(() =>
|
|
4106
|
-
reset: P.useCallback(() =>
|
|
4107
|
-
}), /* @__PURE__ */ (0,
|
|
4108
|
-
store:
|
|
4109
|
-
children: /* @__PURE__ */ (0,
|
|
4092
|
+
refresh: P.useCallback(() => fc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4093
|
+
reset: P.useCallback(() => fc.dispatch({ type: "RESET_STATE" }), [])
|
|
4094
|
+
}), /* @__PURE__ */ (0, I.jsx)(Ae, {
|
|
4095
|
+
store: fc,
|
|
4096
|
+
children: /* @__PURE__ */ (0, I.jsx)(dc, {
|
|
4110
4097
|
programId: e,
|
|
4111
|
-
children: /* @__PURE__ */ (0,
|
|
4098
|
+
children: /* @__PURE__ */ (0, I.jsx)(lc, {
|
|
4112
4099
|
programId: e,
|
|
4113
4100
|
trackingId: t
|
|
4114
4101
|
})
|
|
4115
4102
|
})
|
|
4116
4103
|
});
|
|
4117
|
-
}),
|
|
4104
|
+
}), mc = class e {
|
|
4118
4105
|
element;
|
|
4119
4106
|
programId;
|
|
4120
4107
|
trackingId;
|
|
@@ -4131,20 +4118,20 @@ var fc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4131
4118
|
this.ref.current.reset();
|
|
4132
4119
|
}
|
|
4133
4120
|
render() {
|
|
4134
|
-
|
|
4121
|
+
St.render(/* @__PURE__ */ (0, I.jsx)(pc, {
|
|
4135
4122
|
programId: this.programId,
|
|
4136
4123
|
trackingId: this.trackingId,
|
|
4137
4124
|
ref: this.ref
|
|
4138
4125
|
}), this.element);
|
|
4139
4126
|
}
|
|
4140
4127
|
unmount() {
|
|
4141
|
-
|
|
4128
|
+
St.unmountComponentAtNode(this.element);
|
|
4142
4129
|
}
|
|
4143
4130
|
};
|
|
4144
4131
|
//#endregion
|
|
4145
4132
|
//#region src/lib/state/previewMessages.ts
|
|
4146
|
-
function
|
|
4147
|
-
|
|
4133
|
+
function hc(e, t) {
|
|
4134
|
+
pe.set((n) => ({
|
|
4148
4135
|
...n,
|
|
4149
4136
|
overrides: {
|
|
4150
4137
|
...n.overrides,
|
|
@@ -4158,12 +4145,12 @@ function mc(e, t) {
|
|
|
4158
4145
|
}
|
|
4159
4146
|
})), i({ [e]: t });
|
|
4160
4147
|
}
|
|
4161
|
-
function
|
|
4148
|
+
function gc(e) {
|
|
4162
4149
|
e.forEach((e) => o.removeResourceBundle(e, c.OPTIONS)), i(w().messagesWithLocale);
|
|
4163
4150
|
}
|
|
4164
4151
|
//#endregion
|
|
4165
4152
|
//#region src/lib/state/previewResponse.ts
|
|
4166
|
-
var
|
|
4153
|
+
var _c = {
|
|
4167
4154
|
step: "mockStep",
|
|
4168
4155
|
previousStep: "mockPreviousStep",
|
|
4169
4156
|
segment: "mockSegment",
|
|
@@ -4177,14 +4164,14 @@ var gc = {
|
|
|
4177
4164
|
idCheckLoopServiceType: "mockIdCheckLoopServiceType",
|
|
4178
4165
|
docSelected: "mockDocSelected"
|
|
4179
4166
|
};
|
|
4180
|
-
async function
|
|
4167
|
+
async function vc(e) {
|
|
4181
4168
|
let t = {};
|
|
4182
4169
|
Object.keys(e).forEach((n) => {
|
|
4183
|
-
let r =
|
|
4170
|
+
let r = _c[n];
|
|
4184
4171
|
r && (t[r] = e[n]);
|
|
4185
4172
|
}), v(t);
|
|
4186
|
-
let n = e.step ??
|
|
4187
|
-
|
|
4173
|
+
let n = e.step ?? pe.get().overrides.mock?.step, r = n ? await ze(n, $e().getState().verificationResponse) : void 0;
|
|
4174
|
+
pe.set((t) => ({
|
|
4188
4175
|
...t,
|
|
4189
4176
|
overrides: {
|
|
4190
4177
|
...t.overrides,
|
|
@@ -4198,65 +4185,65 @@ async function _c(e) {
|
|
|
4198
4185
|
}
|
|
4199
4186
|
//#endregion
|
|
4200
4187
|
//#region src/lib/state/previewApi.ts
|
|
4201
|
-
function vc(e) {
|
|
4202
|
-
fe({ programTheme: e });
|
|
4203
|
-
}
|
|
4204
4188
|
function yc(e) {
|
|
4205
|
-
|
|
4189
|
+
Ee({ programTheme: e });
|
|
4206
4190
|
}
|
|
4207
4191
|
function bc(e) {
|
|
4208
|
-
|
|
4192
|
+
Ee({ programTheme: e });
|
|
4209
4193
|
}
|
|
4210
4194
|
function xc(e) {
|
|
4211
|
-
|
|
4212
|
-
|
|
4195
|
+
Ee({ response: e });
|
|
4196
|
+
}
|
|
4197
|
+
function Sc(e) {
|
|
4198
|
+
let t = $e(), { programId: n, verificationResponse: r } = t.getState();
|
|
4199
|
+
return nt(t.dispatch, n)(e, r?.segment);
|
|
4213
4200
|
}
|
|
4214
|
-
function
|
|
4215
|
-
let e = Object.keys(
|
|
4216
|
-
|
|
4201
|
+
function Cc() {
|
|
4202
|
+
let e = Object.keys(pe.get().overrides.messages ?? {});
|
|
4203
|
+
Pe(), gc(e), ye();
|
|
4217
4204
|
}
|
|
4218
4205
|
//#endregion
|
|
4219
4206
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4220
|
-
|
|
4221
|
-
function Cc(e, t) {
|
|
4222
|
-
return new pc(e, t);
|
|
4223
|
-
}
|
|
4207
|
+
re(se.programBuilderPreview);
|
|
4224
4208
|
function wc(e, t) {
|
|
4225
|
-
return
|
|
4209
|
+
return new mc(e, t);
|
|
4210
|
+
}
|
|
4211
|
+
function Tc(e, t) {
|
|
4212
|
+
return be(), v({
|
|
4226
4213
|
mockStep: t.step,
|
|
4227
4214
|
mockSegment: "student"
|
|
4228
|
-
}), new
|
|
4229
|
-
}
|
|
4230
|
-
function Tc(e) {
|
|
4231
|
-
ht(e);
|
|
4215
|
+
}), new mc(e, void 0);
|
|
4232
4216
|
}
|
|
4233
4217
|
function Ec(e) {
|
|
4234
|
-
|
|
4218
|
+
_t(e);
|
|
4219
|
+
}
|
|
4220
|
+
function Dc(e) {
|
|
4221
|
+
Je(), v(e);
|
|
4235
4222
|
}
|
|
4236
|
-
function
|
|
4223
|
+
function Oc() {
|
|
4237
4224
|
u();
|
|
4238
4225
|
}
|
|
4239
|
-
function
|
|
4226
|
+
function kc(e) {
|
|
4240
4227
|
v({ _launchDarklyFlagCb: e });
|
|
4241
4228
|
}
|
|
4242
|
-
function
|
|
4229
|
+
function Ac(e, t, n) {
|
|
4243
4230
|
return b(e, t, n);
|
|
4244
4231
|
}
|
|
4245
|
-
var
|
|
4246
|
-
loadInElement:
|
|
4247
|
-
renderMockProgram:
|
|
4248
|
-
getProgramMessages:
|
|
4249
|
-
getFeatureFlags:
|
|
4250
|
-
setProgramThemeChoices:
|
|
4251
|
-
setProgramOptions:
|
|
4252
|
-
resetProgramOptions:
|
|
4253
|
-
setPreviewBranding:
|
|
4254
|
-
setPreviewConfiguration:
|
|
4255
|
-
setPreviewMessages:
|
|
4256
|
-
setPreviewResponse:
|
|
4257
|
-
setPreviewMock:
|
|
4258
|
-
setPreviewLocale:
|
|
4259
|
-
clearPreview:
|
|
4232
|
+
var jc = {
|
|
4233
|
+
loadInElement: wc,
|
|
4234
|
+
renderMockProgram: Tc,
|
|
4235
|
+
getProgramMessages: Ac,
|
|
4236
|
+
getFeatureFlags: kc,
|
|
4237
|
+
setProgramThemeChoices: Ec,
|
|
4238
|
+
setProgramOptions: Dc,
|
|
4239
|
+
resetProgramOptions: Oc,
|
|
4240
|
+
setPreviewBranding: yc,
|
|
4241
|
+
setPreviewConfiguration: bc,
|
|
4242
|
+
setPreviewMessages: hc,
|
|
4243
|
+
setPreviewResponse: xc,
|
|
4244
|
+
setPreviewMock: vc,
|
|
4245
|
+
setPreviewLocale: Sc,
|
|
4246
|
+
clearPreview: Cc
|
|
4260
4247
|
};
|
|
4261
4248
|
//#endregion
|
|
4262
|
-
export {
|
|
4249
|
+
export { It as A, wn as C, z as D, B as E, Mt as M, At as N, Jt as O, wt as P, An as S, xn as T, $n as _, uo as a, jn as b, Xa as c, Cc as clearPreview, za as d, jc as default, Va as f, pr as g, kc as getFeatureFlags, Ac as getProgramMessages, Sa as h, lo as i, Nt as j, Ut as k, Ga as l, wc as loadInElement, Ra as m, $s as n, po as o, Ba as p, bs as r, Tc as renderMockProgram, Oc as resetProgramOptions, so as s, yc as setPreviewBranding, bc as setPreviewConfiguration, Sc as setPreviewLocale, hc as setPreviewMessages, vc as setPreviewMock, xc as setPreviewResponse, Dc as setProgramOptions, Ec as setProgramThemeChoices, tc as t, Ua as u, qn as v, Sn as w, V as x, zn as y };
|