@sheerid/jslib-nightly 2.232.0-alpha.2 → 2.233.0-alpha.1
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 +1311 -1349
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{ActiveDutyStartDateComponent-CF9c-0bL.js → ActiveDutyStartDateComponent-BqqZPmED.js} +14 -14
- package/chunk/{ActiveDutyStartDateComponent-BNwC2c3Y.js.map → ActiveDutyStartDateComponent-BqqZPmED.js.map} +1 -1
- package/chunk/{ActiveDutyStartDateComponent-BNwC2c3Y.js → ActiveDutyStartDateComponent-vtVgKCY6.js} +14 -14
- package/chunk/{ActiveDutyStartDateComponent-CF9c-0bL.js.map → ActiveDutyStartDateComponent-vtVgKCY6.js.map} +1 -1
- package/chunk/{AddressComponent-DV2Wsw6k.js → AddressComponent-DKaHo8cD.js} +5 -5
- package/chunk/{AddressComponent-AiyIPiCz.js.map → AddressComponent-DKaHo8cD.js.map} +1 -1
- package/chunk/{AddressComponent-AiyIPiCz.js → AddressComponent-uP4u4iGw.js} +5 -5
- package/chunk/{AddressComponent-DV2Wsw6k.js.map → AddressComponent-uP4u4iGw.js.map} +1 -1
- package/chunk/{CaptchaComponent-SmUa6m52.js → CaptchaComponent-BVvwKmWz.js} +174 -174
- package/chunk/{CaptchaComponent-CnWyxiTy.js.map → CaptchaComponent-BVvwKmWz.js.map} +1 -1
- package/chunk/{CaptchaComponent-CnWyxiTy.js → CaptchaComponent-CajCtTWY.js} +174 -174
- package/chunk/{CaptchaComponent-SmUa6m52.js.map → CaptchaComponent-CajCtTWY.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Cu2DR-Q3.js → ChangeLocaleComponent-BLoBbyRc.js} +12 -12
- package/chunk/{ChangeLocaleComponent-Cu2DR-Q3.js.map → ChangeLocaleComponent-BLoBbyRc.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DUnfgQuX.js → ChangeLocaleComponent-Cd8lWGKu.js} +12 -12
- package/chunk/{ChangeLocaleComponent-DUnfgQuX.js.map → ChangeLocaleComponent-Cd8lWGKu.js.map} +1 -1
- package/chunk/{City-yVVnZQTP.js → City-BO8oii6s.js} +5 -5
- package/chunk/{City-BmrJpnS6.js.map → City-BO8oii6s.js.map} +1 -1
- package/chunk/{City-BmrJpnS6.js → City-CvuPh0vE.js} +5 -5
- package/chunk/{City-yVVnZQTP.js.map → City-CvuPh0vE.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DtKPZHb-.js → CollegeNameComponent-C63SSy9-.js} +8 -8
- package/chunk/{CollegeNameComponent-DaTimEqC.js.map → CollegeNameComponent-C63SSy9-.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DaTimEqC.js → CollegeNameComponent-DLUa5UO5.js} +8 -8
- package/chunk/{CollegeNameComponent-DtKPZHb-.js.map → CollegeNameComponent-DLUa5UO5.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-H3bJGcOM.js → CopyToClipboardComponent-BQlp--1k.js} +5 -5
- package/chunk/{CopyToClipboardComponent-9hyfSMC0.js.map → CopyToClipboardComponent-BQlp--1k.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-9hyfSMC0.js → CopyToClipboardComponent-D2lIKOi1.js} +5 -5
- package/chunk/{CopyToClipboardComponent-H3bJGcOM.js.map → CopyToClipboardComponent-D2lIKOi1.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-Ceq-eink.js → CountryComponentWrapper-7ribqnbU.js} +12 -12
- package/chunk/{CountryComponentWrapper--2UQ7mXP.js.map → CountryComponentWrapper-7ribqnbU.js.map} +1 -1
- package/chunk/{CountryComponentWrapper--2UQ7mXP.js → CountryComponentWrapper-Ucm1dIRU.js} +13 -13
- package/chunk/{CountryComponentWrapper-Ceq-eink.js.map → CountryComponentWrapper-Ucm1dIRU.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-ziLNYB8e.js → DriverLicenseNumberComponent-BOz1NpwC.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-D9cakdvU.js.map → DriverLicenseNumberComponent-BOz1NpwC.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-D9cakdvU.js → DriverLicenseNumberComponent-BeHTT5Ne.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-ziLNYB8e.js.map → DriverLicenseNumberComponent-BeHTT5Ne.js.map} +1 -1
- package/chunk/{EBTCardNumberComponent-oYQJ_tP7.js → EBTCardNumberComponent-BqsSdTW-.js} +16 -16
- package/chunk/{EBTCardNumberComponent-B1kv4R4G.js.map → EBTCardNumberComponent-BqsSdTW-.js.map} +1 -1
- package/chunk/{EBTCardNumberComponent-B1kv4R4G.js → EBTCardNumberComponent-DfeKTGSF.js} +16 -16
- package/chunk/{EBTCardNumberComponent-oYQJ_tP7.js.map → EBTCardNumberComponent-DfeKTGSF.js.map} +1 -1
- package/chunk/{EmailLoopPending-In0FH-Ap.js → EmailLoopPending-CEbt9qgk.js} +13 -13
- package/chunk/{EmailLoopPending-In0FH-Ap.js.map → EmailLoopPending-CEbt9qgk.js.map} +1 -1
- package/chunk/{EmailLoopPending-lxRF0bx8.js → EmailLoopPending-nl9f9omb.js} +13 -13
- package/chunk/{EmailLoopPending-lxRF0bx8.js.map → EmailLoopPending-nl9f9omb.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-fPxZFdpO.js → FirstResponderOrganizationComponent-3_dzxZ3b.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-Bru1a0U7.js.map → FirstResponderOrganizationComponent-3_dzxZ3b.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Bru1a0U7.js → FirstResponderOrganizationComponent-BMDUk_Ks.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-fPxZFdpO.js.map → FirstResponderOrganizationComponent-BMDUk_Ks.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CjWY_ush.js → FormFieldInputSelect-DVZsJ-dJ.js} +5 -5
- package/chunk/{FormFieldInputSelect-CjWY_ush.js.map → FormFieldInputSelect-DVZsJ-dJ.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-o7QZaYhS.js → FormFieldInputSelect-Dekt13Wn.js} +5 -5
- package/chunk/{FormFieldInputSelect-o7QZaYhS.js.map → FormFieldInputSelect-Dekt13Wn.js.map} +1 -1
- package/chunk/FormFieldLayout-DDEEmlGC.js +4 -4
- package/chunk/FormFieldLayout-DEVPpEyA.js +4 -4
- package/chunk/{FormFieldText-CaWtYVur.js → FormFieldText-C5ELKxp9.js} +8 -8
- package/chunk/{FormFieldText-CJ-GVpZE.js.map → FormFieldText-C5ELKxp9.js.map} +1 -1
- package/chunk/{FormFieldText-CJ-GVpZE.js → FormFieldText-D5TNr9TU.js} +8 -8
- package/chunk/{FormFieldText-CaWtYVur.js.map → FormFieldText-D5TNr9TU.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CyKKVK89.js → FormFieldTypeahead-8mywdHOl.js} +80 -80
- package/chunk/{FormFieldTypeahead-C6eS7yJg.js.map → FormFieldTypeahead-8mywdHOl.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-C6eS7yJg.js → FormFieldTypeahead-Ckb75rso.js} +80 -80
- package/chunk/{FormFieldTypeahead-CyKKVK89.js.map → FormFieldTypeahead-Ckb75rso.js.map} +1 -1
- package/chunk/{FormSelectChoice-C-rIlDKl.js → FormSelectChoice-B_Cc1d2F.js} +15 -15
- package/chunk/{FormSelectChoice-BahCx4wG.js.map → FormSelectChoice-B_Cc1d2F.js.map} +1 -1
- package/chunk/{FormSelectChoice-BahCx4wG.js → FormSelectChoice-D_80dED1.js} +15 -15
- package/chunk/{FormSelectChoice-C-rIlDKl.js.map → FormSelectChoice-D_80dED1.js.map} +1 -1
- package/chunk/{InputText-CCNbZmMe.js → InputText-D8Ob-kQk.js} +7 -7
- package/chunk/{InputText-CCNbZmMe.js.map → InputText-D8Ob-kQk.js.map} +1 -1
- package/chunk/{InputText-PEiatRRJ.js → InputText-U-PGva3s.js} +7 -7
- package/chunk/{InputText-PEiatRRJ.js.map → InputText-U-PGva3s.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CnR_qF3r.js → LicensedProfessionalOrganizationComponent-BEwjSmfW.js} +10 -10
- package/chunk/{LicensedProfessionalOrganizationComponent-CnR_qF3r.js.map → LicensedProfessionalOrganizationComponent-BEwjSmfW.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-C5pc7hVJ.js → LicensedProfessionalOrganizationComponent-CFVIc7iQ.js} +10 -10
- package/chunk/{LicensedProfessionalOrganizationComponent-C5pc7hVJ.js.map → LicensedProfessionalOrganizationComponent-CFVIc7iQ.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CXHX25GN.js → MedicalProfessionalOrganizationComponent-C5h14pIK.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-CXHX25GN.js.map → MedicalProfessionalOrganizationComponent-C5h14pIK.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DBf6V49M.js → MedicalProfessionalOrganizationComponent-DziG8JnV.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-DBf6V49M.js.map → MedicalProfessionalOrganizationComponent-DziG8JnV.js.map} +1 -1
- package/chunk/{MemberIdComponent-oanWSvQh.js → MemberIdComponent-BScPderq.js} +5 -5
- package/chunk/{MemberIdComponent-C8mVSo9m.js.map → MemberIdComponent-BScPderq.js.map} +1 -1
- package/chunk/{MemberIdComponent-C8mVSo9m.js → MemberIdComponent-DOIYFMn2.js} +5 -5
- package/chunk/{MemberIdComponent-oanWSvQh.js.map → MemberIdComponent-DOIYFMn2.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-yu-UNXIK.js → MembershipOrganizationComponent-DYRmX21h.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-CN6_d_Fk.js.map → MembershipOrganizationComponent-DYRmX21h.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CN6_d_Fk.js → MembershipOrganizationComponent-D_kZ2VLs.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-yu-UNXIK.js.map → MembershipOrganizationComponent-D_kZ2VLs.js.map} +1 -1
- package/chunk/Onfido-BG8cDEVW.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-v_kWLmEw.js → PersonalInfoStepSubmitButton-22jOKa2g.js} +7 -7
- package/chunk/{PersonalInfoStepSubmitButton-j44RdZDq.js.map → PersonalInfoStepSubmitButton-22jOKa2g.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-j44RdZDq.js → PersonalInfoStepSubmitButton-Bu2zmi86.js} +7 -7
- package/chunk/{PersonalInfoStepSubmitButton-v_kWLmEw.js.map → PersonalInfoStepSubmitButton-Bu2zmi86.js.map} +1 -1
- package/chunk/PersonalInfoStepWrapper-BCVAx0W6.js +53 -0
- package/chunk/PersonalInfoStepWrapper-BCVAx0W6.js.map +1 -0
- package/chunk/PersonalInfoStepWrapper-DlKHzog8.js +102 -0
- package/chunk/PersonalInfoStepWrapper-DlKHzog8.js.map +1 -0
- package/chunk/{PostalCodeComponent-DrCcV90W.js → PostalCodeComponent-DAMiXR2z.js} +5 -5
- package/chunk/{PostalCodeComponent-DrCcV90W.js.map → PostalCodeComponent-DAMiXR2z.js.map} +1 -1
- package/chunk/{PostalCodeComponent-KXVfZkLx.js → PostalCodeComponent-gTyGTdav.js} +5 -5
- package/chunk/{PostalCodeComponent-KXVfZkLx.js.map → PostalCodeComponent-gTyGTdav.js.map} +1 -1
- package/chunk/{SSN-B_z2R4Bx.js → SSN-BZDlbDHI.js} +6 -6
- package/chunk/{SSN-B_z2R4Bx.js.map → SSN-BZDlbDHI.js.map} +1 -1
- package/chunk/{SSN-Hb1lTx8A.js → SSN-CRCZxt7F.js} +6 -6
- package/chunk/{SSN-Hb1lTx8A.js.map → SSN-CRCZxt7F.js.map} +1 -1
- package/chunk/{StateSelectComponent-CChSqKXz.js → StateSelectComponent-3VINgXA_.js} +5 -5
- package/chunk/{StateSelectComponent-CChSqKXz.js.map → StateSelectComponent-3VINgXA_.js.map} +1 -1
- package/chunk/{StateSelectComponent-CIpB-Rh1.js → StateSelectComponent-qwzKiEzn.js} +5 -5
- package/chunk/{StateSelectComponent-CIpB-Rh1.js.map → StateSelectComponent-qwzKiEzn.js.map} +1 -1
- package/chunk/{StatusComponent-C6J1B7Tl.js → StatusComponent-BA29-IR-.js} +5 -5
- package/chunk/{StatusComponent-C6J1B7Tl.js.map → StatusComponent-BA29-IR-.js.map} +1 -1
- package/chunk/{StatusComponent-pmuIhuXi.js → StatusComponent-CXBhA3Ni.js} +5 -5
- package/chunk/{StatusComponent-pmuIhuXi.js.map → StatusComponent-CXBhA3Ni.js.map} +1 -1
- package/chunk/{StepCard-dcwCtPrW.js → StepCard-BBxGouj6.js} +12 -12
- package/chunk/{StepCard-dcwCtPrW.js.map → StepCard-BBxGouj6.js.map} +1 -1
- package/chunk/{StepCard-CIfaQVu-.js → StepCard-DnOGZrfz.js} +12 -12
- package/chunk/{StepCard-CIfaQVu-.js.map → StepCard-DnOGZrfz.js.map} +1 -1
- package/chunk/{StepCollectMilitaryStatusComponent-7aKgQ9Sj.js → StepCollectMilitaryStatusComponent-BVvtx9IM.js} +26 -26
- package/chunk/{StepCollectMilitaryStatusComponent-7aKgQ9Sj.js.map → StepCollectMilitaryStatusComponent-BVvtx9IM.js.map} +1 -1
- package/chunk/{StepCollectMilitaryStatusComponent-BRimaaXv.js → StepCollectMilitaryStatusComponent-DS2XMziH.js} +28 -28
- package/chunk/{StepCollectMilitaryStatusComponent-BRimaaXv.js.map → StepCollectMilitaryStatusComponent-DS2XMziH.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-2TPYKvF4.js → StepDriverLicensePersonalInfoComponent-ChUK8_CL.js} +21 -21
- package/chunk/{StepDriverLicensePersonalInfoComponent-2TPYKvF4.js.map → StepDriverLicensePersonalInfoComponent-ChUK8_CL.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BwVtnrmJ.js → StepDriverLicensePersonalInfoComponent-Skr2qGUg.js} +21 -21
- package/chunk/{StepDriverLicensePersonalInfoComponent-BwVtnrmJ.js.map → StepDriverLicensePersonalInfoComponent-Skr2qGUg.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B_GAU5ZU.js → StepGeneralIdentityPersonalInfoComponent-B0RDxv-x.js} +25 -25
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-B_GAU5ZU.js.map → StepGeneralIdentityPersonalInfoComponent-B0RDxv-x.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D51YIuCd.js → StepGeneralIdentityPersonalInfoComponent-CxMYNjvS.js} +24 -24
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D51YIuCd.js.map → StepGeneralIdentityPersonalInfoComponent-CxMYNjvS.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-zAjPWGNG.js → StepHybridIdentityPersonalInfoComponent-BT9_DYzR.js} +25 -25
- package/chunk/{StepHybridIdentityPersonalInfoComponent-kap6IZbx.js.map → StepHybridIdentityPersonalInfoComponent-BT9_DYzR.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-kap6IZbx.js → StepHybridIdentityPersonalInfoComponent-BgI5l8AJ.js} +24 -24
- package/chunk/{StepHybridIdentityPersonalInfoComponent-zAjPWGNG.js.map → StepHybridIdentityPersonalInfoComponent-BgI5l8AJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Sg4a19wV.js → StepIDCheckLoopOnfido-Ba5IJMDE.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-Sg4a19wV.js.map → StepIDCheckLoopOnfido-Ba5IJMDE.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-djTS20UT.js → StepIDCheckLoopOnfido-C4WgRPlX.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-djTS20UT.js.map → StepIDCheckLoopOnfido-C4WgRPlX.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DZA5G1Z6.js → StepIDCheckLoopRegula-D0Hbm46j.js} +6 -6
- package/chunk/{StepIDCheckLoopRegula-B5I-ojjy.js.map → StepIDCheckLoopRegula-D0Hbm46j.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B5I-ojjy.js → StepIDCheckLoopRegula-DMJ1Pdll.js} +6 -6
- package/chunk/{StepIDCheckLoopRegula-DZA5G1Z6.js.map → StepIDCheckLoopRegula-DMJ1Pdll.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Czd3ecq6.js → StepInactiveMilitaryPersonalInfoComponent-69VnnhIn.js} +28 -28
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Czd3ecq6.js.map → StepInactiveMilitaryPersonalInfoComponent-69VnnhIn.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Bieu_7kd.js → StepInactiveMilitaryPersonalInfoComponent-BxIXowll.js} +28 -28
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Bieu_7kd.js.map → StepInactiveMilitaryPersonalInfoComponent-BxIXowll.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-Bf3ZhJ_c.js → TeacherSchoolComponent-BLfEL1Qa.js} +6 -6
- package/chunk/{TeacherSchoolComponent-BSHPjiwQ.js.map → TeacherSchoolComponent-BLfEL1Qa.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BSHPjiwQ.js → TeacherSchoolComponent-R8ERd8je.js} +6 -6
- package/chunk/{TeacherSchoolComponent-Bf3ZhJ_c.js.map → TeacherSchoolComponent-R8ERd8je.js.map} +1 -1
- package/chunk/ar-DRRl0F7-.js +4 -4
- package/chunk/bg-F0WsRCx8.js +4 -4
- package/chunk/bn-IN-CMjQj55J.js +4 -4
- package/chunk/cs-fNk_NoQI.js +4 -4
- package/chunk/da-KMILteCO.js +4 -4
- package/chunk/de-CWVNPgGa.js +4 -4
- package/chunk/{downshift.esm-huKBwB2d.js → downshift.esm-CssrXaoY.js} +5 -5
- package/chunk/{downshift.esm-CtrbqQGL.js.map → downshift.esm-CssrXaoY.js.map} +1 -1
- package/chunk/{downshift.esm-CtrbqQGL.js → downshift.esm-DdJojPIu.js} +5 -5
- package/chunk/{downshift.esm-huKBwB2d.js.map → downshift.esm-DdJojPIu.js.map} +1 -1
- package/chunk/el-Cwv4peel.js +4 -4
- package/chunk/en-GB-Dqonxi7-.js +4 -4
- package/chunk/es-ES-C4H8ciVZ.js +4 -4
- package/chunk/es-hn_UHPBI.js +4 -4
- package/chunk/fi-CYcXXvjq.js +4 -4
- package/chunk/fr-CA-CGAQ-6AP.js +4 -4
- package/chunk/fr-D_IYCyUP.js +4 -4
- package/chunk/ga-45LsHAEB.js +4 -4
- package/chunk/hi-IN-ChuePzRc.js +4 -4
- package/chunk/hr-CX75fSnP.js +4 -4
- package/chunk/hu-BaLNR_Fx.js +4 -4
- package/chunk/id-BuJILOHQ.js +4 -4
- package/chunk/{index-BbOCWcRK.js → index--4tHsN4Z.js} +14 -14
- package/chunk/{index-BbOCWcRK.js.map → index--4tHsN4Z.js.map} +1 -1
- package/chunk/{index-Cgw-oCXC.js → index-B06Vym6C.js} +17 -17
- package/chunk/{index-Blxi9-p3.js.map → index-B06Vym6C.js.map} +1 -1
- package/chunk/{index-B0SBEWOf.js → index-B5yen8fX.js} +10 -10
- package/chunk/{index-B0SBEWOf.js.map → index-B5yen8fX.js.map} +1 -1
- package/chunk/{index-CaBrLsal.js → index-B8oKdmJa.js} +16 -16
- package/chunk/{index-CaBrLsal.js.map → index-B8oKdmJa.js.map} +1 -1
- package/chunk/{index-Tt8XFCKg.js → index-B9N_35H1.js} +34 -34
- package/chunk/{index-CMYxhs0t.js.map → index-B9N_35H1.js.map} +1 -1
- package/chunk/{index-BDfHyxH2.js → index-BA0YQsod.js} +22 -22
- package/chunk/{index-BDfHyxH2.js.map → index-BA0YQsod.js.map} +1 -1
- package/chunk/{index-D62LImgf.js → index-BCrUCs6l.js} +17 -17
- package/chunk/{index-CfHHbJNm.js.map → index-BCrUCs6l.js.map} +1 -1
- package/chunk/{index-brtM2eoI.js → index-BTyiwF80.js} +15 -15
- package/chunk/{index-brtM2eoI.js.map → index-BTyiwF80.js.map} +1 -1
- package/chunk/{index-yLck7gVG.js → index-BWd3Gj_X.js} +30 -30
- package/chunk/{index-yLck7gVG.js.map → index-BWd3Gj_X.js.map} +1 -1
- package/chunk/{index-B4FcNhzB.js → index-BY7MLfGQ.js} +11 -11
- package/chunk/{index-B4FcNhzB.js.map → index-BY7MLfGQ.js.map} +1 -1
- package/chunk/{index-CMYxhs0t.js → index-BbdG7ED4.js} +36 -36
- package/chunk/{index-Tt8XFCKg.js.map → index-BbdG7ED4.js.map} +1 -1
- package/chunk/{index-D7Mqx5na.js → index-BhhbjTBf.js} +28 -28
- package/chunk/{index-D2d6x5LN.js.map → index-BhhbjTBf.js.map} +1 -1
- package/chunk/{index-dTu4ORna.js → index-Bk-uaURB.js} +9 -9
- package/chunk/{index-Brpm5gN6.js.map → index-Bk-uaURB.js.map} +1 -1
- package/chunk/{index-D2d6x5LN.js → index-BkWR02uU.js} +28 -28
- package/chunk/{index-D7Mqx5na.js.map → index-BkWR02uU.js.map} +1 -1
- package/chunk/{index-BA3bE-f-.js → index-BvGr52QK.js} +11 -11
- package/chunk/{index-BA3bE-f-.js.map → index-BvGr52QK.js.map} +1 -1
- package/chunk/{index-CrPc1exn.js → index-ByZqea9-.js} +11 -11
- package/chunk/{index-BZ1nv-sB.js.map → index-ByZqea9-.js.map} +1 -1
- package/chunk/{index-Ccp2Exqo.js → index-Bz-BZZ-I.js} +29 -29
- package/chunk/{index-Ccp2Exqo.js.map → index-Bz-BZZ-I.js.map} +1 -1
- package/chunk/{index-DGCqI3ez.js → index-CG33Xq_L.js} +29 -29
- package/chunk/{index-DGCqI3ez.js.map → index-CG33Xq_L.js.map} +1 -1
- package/chunk/{index-Di4VOQ0c.js → index-Cb8H7NMc.js} +44 -44
- package/chunk/{index-BKpiJJJ9.js.map → index-Cb8H7NMc.js.map} +1 -1
- package/chunk/{index-CwaTj-69.js → index-CbEBL8DR.js} +13 -13
- package/chunk/{index-CwaTj-69.js.map → index-CbEBL8DR.js.map} +1 -1
- package/chunk/{index-CTjvQpKK.js → index-CcVF5Mn8.js} +33 -33
- package/chunk/{index-CTjvQpKK.js.map → index-CcVF5Mn8.js.map} +1 -1
- package/chunk/{index-Bn00xQJF.js → index-CvjYvI52.js} +6 -6
- package/chunk/{index-Bn00xQJF.js.map → index-CvjYvI52.js.map} +1 -1
- package/chunk/{index-Blxi9-p3.js → index-D2ASN9F5.js} +17 -17
- package/chunk/{index-Cgw-oCXC.js.map → index-D2ASN9F5.js.map} +1 -1
- package/chunk/{index-Brpm5gN6.js → index-D7tLO360.js} +6 -6
- package/chunk/{index-dTu4ORna.js.map → index-D7tLO360.js.map} +1 -1
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/{index-BKpiJJJ9.js → index-D_jjkk6R.js} +17 -17
- package/chunk/{index-Di4VOQ0c.js.map → index-D_jjkk6R.js.map} +1 -1
- package/chunk/{index-DsIG7oZ5.js → index-DaqKa17_.js} +49 -49
- package/chunk/{index-DsIG7oZ5.js.map → index-DaqKa17_.js.map} +1 -1
- package/chunk/{index-CMwYcIy7.js → index-DaxmYxYQ.js} +33 -33
- package/chunk/{index-B0gkU4sD.js.map → index-DaxmYxYQ.js.map} +1 -1
- package/chunk/{index-CR19uOwz.js → index-Dbedpzxf.js} +8 -8
- package/chunk/{index-CR19uOwz.js.map → index-Dbedpzxf.js.map} +1 -1
- package/chunk/{index-DFoMYB8K.js → index-Ddnm8yRA.js} +9 -9
- package/chunk/{index-DFoMYB8K.js.map → index-Ddnm8yRA.js.map} +1 -1
- package/chunk/{index-CTGY1a4m.js → index-DqWLITMK.js} +9 -9
- package/chunk/{index-CTGY1a4m.js.map → index-DqWLITMK.js.map} +1 -1
- package/chunk/{index-4SoX7nBO.js → index-DtLPqeMr.js} +23 -23
- package/chunk/{index-4SoX7nBO.js.map → index-DtLPqeMr.js.map} +1 -1
- package/chunk/{index-CO75J-sD.js → index-Dxe89KuR.js} +46 -46
- package/chunk/{index-CO75J-sD.js.map → index-Dxe89KuR.js.map} +1 -1
- package/chunk/{index-DM6d_MOp.js → index-EoexN2D2.js} +23 -23
- package/chunk/{index-DM6d_MOp.js.map → index-EoexN2D2.js.map} +1 -1
- package/chunk/{index-BZ1nv-sB.js → index-c2lNIRe2.js} +11 -11
- package/chunk/{index-CrPc1exn.js.map → index-c2lNIRe2.js.map} +1 -1
- package/chunk/{index-XxwXcW8j.js → index-gSxZOEDm.js} +31 -31
- package/chunk/{index-XxwXcW8j.js.map → index-gSxZOEDm.js.map} +1 -1
- package/chunk/{index-CHDBBfsg.js → index-jkBy42Tf.js} +6 -6
- package/chunk/{index-CHDBBfsg.js.map → index-jkBy42Tf.js.map} +1 -1
- package/chunk/{index-B0gkU4sD.js → index-oh8h9rFi.js} +37 -37
- package/chunk/{index-CMwYcIy7.js.map → index-oh8h9rFi.js.map} +1 -1
- package/chunk/{index-CfHHbJNm.js → index-qnonuzV7.js} +19 -19
- package/chunk/{index-D62LImgf.js.map → index-qnonuzV7.js.map} +1 -1
- package/chunk/{index-B6DSPaeb.js → index-vT4MxpSf.js} +21 -21
- package/chunk/{index-B6DSPaeb.js.map → index-vT4MxpSf.js.map} +1 -1
- package/chunk/{index-EUJqfdiJ.js → index-wtMb5Ukv.js} +7 -7
- package/chunk/{index-EUJqfdiJ.js.map → index-wtMb5Ukv.js.map} +1 -1
- package/chunk/is-B3D8NTKa.js +4 -4
- package/chunk/it-CzAy2lzA.js +4 -4
- package/chunk/iw-C9nimuXe.js +4 -4
- package/chunk/ja-BEXgm7zu.js +4 -4
- package/chunk/ko-Ct-zPR2E.js +4 -4
- package/chunk/lo-Di9C_kLP.js +4 -4
- package/chunk/lt-CEBQxuWT.js +4 -4
- package/chunk/{militaryStepHelpers-jW2_4c1l.js → militaryStepHelpers-B7eWlfFD.js} +6 -6
- package/chunk/{militaryStepHelpers-jW2_4c1l.js.map → militaryStepHelpers-B7eWlfFD.js.map} +1 -1
- package/chunk/{militaryStepHelpers-0OUuQpBw.js → militaryStepHelpers-DwVOy2yj.js} +6 -6
- package/chunk/{militaryStepHelpers-0OUuQpBw.js.map → militaryStepHelpers-DwVOy2yj.js.map} +1 -1
- package/chunk/{mocks-CeAm-JFs.js → mocks-BbQTtWk5.js} +5 -5
- package/chunk/{mocks-CeAm-JFs.js.map → mocks-BbQTtWk5.js.map} +1 -1
- package/chunk/{mocks-ClJ0M6QH.js → mocks-Rqlyj4hz.js} +5 -5
- package/chunk/{mocks-ClJ0M6QH.js.map → mocks-Rqlyj4hz.js.map} +1 -1
- package/chunk/ms-CxGIGN7C.js +4 -4
- package/chunk/nl-BE-DPBUnfk6.js +4 -4
- package/chunk/nl-BIm7MF9X.js +4 -4
- package/chunk/no-BmBisNVx.js +4 -4
- package/chunk/pl-BOGNzi_o.js +4 -4
- package/chunk/pt-BR-uABX_syI.js +4 -4
- package/chunk/pt-MSESKPWr.js +4 -4
- package/chunk/ro-DoSzUhte.js +4 -4
- package/chunk/ru-_re-OOAp.js +4 -4
- package/chunk/sk-BS3zToE5.js +4 -4
- package/chunk/sl-CVBUMpyN.js +4 -4
- package/chunk/sr-Cmqfavur.js +4 -4
- package/chunk/sv-BzRp9aoC.js +4 -4
- package/chunk/sw-C4I4Ivyc.js +4 -4
- package/chunk/th-SsMlrFQN.js +4 -4
- package/chunk/tr-i4hcCWIF.js +4 -4
- package/chunk/uk-CLl1S03h.js +4 -4
- package/chunk/ur-CfVN1Pr2.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-Cd6d_u47.js → useCollectFieldsEndpoint-690w1BPY.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-Cd6d_u47.js.map → useCollectFieldsEndpoint-690w1BPY.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DqTjyVEr.js → useCollectFieldsEndpoint-DCP1smnC.js} +7 -7
- package/chunk/{useCollectFieldsEndpoint-DqTjyVEr.js.map → useCollectFieldsEndpoint-DCP1smnC.js.map} +1 -1
- package/chunk/{useMetrics-D2fG6cgw.js → useMetrics-CUyKTp9h.js} +5 -5
- package/chunk/{useMetrics-D2fG6cgw.js.map → useMetrics-CUyKTp9h.js.map} +1 -1
- package/chunk/{useMetrics-wq7yrL0b.js → useMetrics-DwEPEO5F.js} +5 -5
- package/chunk/{useMetrics-wq7yrL0b.js.map → useMetrics-DwEPEO5F.js.map} +1 -1
- package/chunk/vi-STS0AV-q.js +4 -4
- package/chunk/zh-HK-DGm6tmJZ.js +4 -4
- package/chunk/zh-rPW1DJOh.js +4 -4
- package/chunk/zu-D7Vc6viT.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 +1329 -1322
- package/sheerid.js.map +1 -1
- package/chunk/PersonalInfoStepWrapper-BOBNCgik.js +0 -43
- package/chunk/PersonalInfoStepWrapper-BOBNCgik.js.map +0 -1
- package/chunk/PersonalInfoStepWrapper-PV06WMKL.js +0 -39
- package/chunk/PersonalInfoStepWrapper-PV06WMKL.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormFieldText-
|
|
1
|
+
{"version":3,"file":"FormFieldText-D5TNr9TU.js","sources":["../../src/components/FormFields/Country/countryUtils.ts","../../src/components/FormFields/FormFieldText/FormFieldText.tsx"],"sourcesContent":["import { getConfiguredCountries } from \"../../../lib/ProgramTheme/programThemeGetters\";\nimport { type Country, type ProgramTheme } from \"../../../lib/types/types\";\n\n/**\n * Returns true if there is a country picker on the form and the user has _not_ selected a country yet\n *\n * Returns false if there is only 1 country configured for the program (and thus no country picker on the form)\n * _or_ if a user has selected a country\n */\nexport const isCountrySelectionNeeded = (\n programTheme: ProgramTheme,\n country: Country = undefined,\n) => (getConfiguredCountries(programTheme) || []).length >= 2 && !country;\n","import type React from \"react\";\n\nimport { dashed } from \"../../../lib/utils/strings\";\nimport { InputTextComponent, type InputTextProps } from \"../../FormInputs/InputText/InputText\";\nimport { FormFieldLayout } from \"../FormFieldLayout/FormFieldLayout\";\n\n// Extend InputTextProps to pass along things like required, onKeyUp, etc.\n// Omit errorId, isErrored, etc because those are handled within this component\nexport interface FormFieldTextComponentProps extends Omit<\n InputTextProps,\n \"onChange\" | \"id\" | \"errorId\" | \"isErrored\"\n> {\n fieldId: string; // should be camelCase\n value: string;\n onChange: (value: string) => void;\n placeholder: string; // Placeholder is required but hidden via CSS, so it can be easily shown with CSS only\n label: React.ReactNode; // Label is always required for screen readers\n showPlaceholderAndHideLabel?: boolean;\n errorMessage?: React.ReactNode;\n explanation?: string | JSX.Element;\n}\n\n/**\n * Generic text field component.\n * In the JSLIB, a field has a label, inline error message, and an input of some kind.\n */\nexport const FormFieldText = ({\n fieldId,\n value,\n onChange,\n placeholder,\n label,\n errorMessage,\n showPlaceholderAndHideLabel = false,\n required = true,\n explanation = \"\",\n ...inputTextProps\n}: FormFieldTextComponentProps) => {\n const errorHtmlId = `sid-${dashed(fieldId)}-error`;\n\n return (\n <FormFieldLayout\n fieldId={fieldId}\n label={label}\n errorMessage={errorMessage}\n showPlaceholderAndHideLabel={showPlaceholderAndHideLabel}\n isRequired={required}\n explanation={explanation}\n >\n <InputTextComponent\n id={dashed(fieldId)} // InputTextComponent prefixes with 'sid-'\n value={value}\n onChange={(e) => onChange(e.target.value)}\n placeholder={showPlaceholderAndHideLabel ? placeholder : \"\"}\n hidePlaceholder={!showPlaceholderAndHideLabel}\n refId={fieldId}\n isErrored={!!errorMessage}\n required={required}\n aria-describedby={errorMessage ? errorHtmlId : undefined}\n {...inputTextProps}\n />\n </FormFieldLayout>\n );\n};\n\n// DO NOT INJECT INTL. Localize your strings in the calling component and pass them as props to this component.\nexport const FormFieldTextComponent = FormFieldText;\n"],"names":["isCountrySelectionNeeded","programTheme","country","getConfiguredCountries","FormFieldText","fieldId","value","onChange","placeholder","label","errorMessage","showPlaceholderAndHideLabel","required","explanation","inputTextProps","errorHtmlId","dashed","jsx","FormFieldLayout","InputTextComponent","e"],"mappings":";;;AASO,MAAMA,IAA2B,CACtCC,GACAC,IAAmB,YACfC,EAAuBF,CAAY,KAAK,CAAA,GAAI,UAAU,KAAK,CAACC,GCcrDE,IAAgB,CAAC;AAAA,EAC5B,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,aAAAC;AAAA,EACA,OAAAC;AAAA,EACA,cAAAC;AAAA,EACA,6BAAAC,IAA8B;AAAA,EAC9B,UAAAC,IAAW;AAAA,EACX,aAAAC,IAAc;AAAA,EACd,GAAGC;AACL,MAAmC;AACjC,QAAMC,IAAc,OAAOC,EAAOX,CAAO,CAAC;AAE1C,SACEY,gBAAAA,EAAAA;AAAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAAAb;AAAA,MACA,OAAAI;AAAA,MACA,cAAAC;AAAA,MACA,6BAAAC;AAAA,MACA,YAAYC;AAAA,MACZ,aAAAC;AAAA,MAEA,UAAAI,gBAAAA,EAAAA;AAAAA,QAACE;AAAA,QAAA;AAAA,UACC,IAAIH,EAAOX,CAAO;AAAA,UAClB,OAAAC;AAAA,UACA,UAAU,CAACc,MAAMb,EAASa,EAAE,OAAO,KAAK;AAAA,UACxC,aAAaT,IAA8BH,IAAc;AAAA,UACzD,iBAAiB,CAACG;AAAA,UAClB,OAAON;AAAA,UACP,WAAW,CAAC,CAACK;AAAA,UACb,UAAAE;AAAA,UACA,oBAAkBF,IAAeK,IAAc;AAAA,UAC9C,GAAGD;AAAA,QAAA;AAAA,MAAA;AAAA,IACN;AAAA,EAAA;AAGN;"}
|
|
@@ -4,16 +4,16 @@
|
|
|
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 May 19 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.233.0-alpha.1
|
|
8
|
+
* BUILD_TIMESTAMP: 1779231359982
|
|
9
|
+
* BUILD_DATE: Tue May 19 2026 22:55:59 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 5a2425d625d875ef656bb4cf2539177a8f02c67d
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { r as s, j as r, aC as xe, R as ee, aD as ne, aE as Te, aF as De, aG as oe, aH as S, aI as Ze, aJ as Ae, aK as Vt, aL as Ht, aM as ke, aN as Je, aO as Wt, aP as qt, aQ as Yt, aR as Xt, aS as Qt, aT as Zt, aU as Jt, aV as en, aW as et, a5 as ae, al as tt, D as tn, E as ue, t as le, l as Z, aX as nn, H as on, F as te, aY as rn, aZ as He, I as sn, i as nt, a_ as an, O as Q, s as cn, a$ as Oe, d as ye, e as be, b as un } from "../_mysheerid-preview.js";
|
|
13
13
|
import { F as ln, g as dn } from "./FormFieldLayout-DDEEmlGC.js";
|
|
14
|
-
import { u as Ne } from "./downshift.esm-
|
|
15
|
-
import { u as ot, M as X } from "./useMetrics-
|
|
16
|
-
import { i as fn } from "./FormFieldText-
|
|
14
|
+
import { u as Ne } from "./downshift.esm-DdJojPIu.js";
|
|
15
|
+
import { u as ot, M as X } from "./useMetrics-CUyKTp9h.js";
|
|
16
|
+
import { i as fn } from "./FormFieldText-D5TNr9TU.js";
|
|
17
17
|
const rt = s.createContext({
|
|
18
18
|
showOverlay: !1,
|
|
19
19
|
setShowOverlay: () => {
|
|
@@ -86,8 +86,8 @@ const hn = ({ children: e }) => {
|
|
|
86
86
|
if (u.key !== "Tab") return;
|
|
87
87
|
const d = c.current;
|
|
88
88
|
if (!d) return;
|
|
89
|
-
const g = d.querySelectorAll(gn),
|
|
90
|
-
u.shiftKey && document.activeElement ===
|
|
89
|
+
const g = d.querySelectorAll(gn), C = g[0], w = g[g.length - 1];
|
|
90
|
+
u.shiftKey && document.activeElement === C ? (u.preventDefault(), w?.focus()) : !u.shiftKey && document.activeElement === w && (u.preventDefault(), C?.focus());
|
|
91
91
|
};
|
|
92
92
|
return document.addEventListener("keydown", f, !0), () => document.removeEventListener("keydown", f, !0);
|
|
93
93
|
}, [i]), t ? /* @__PURE__ */ r.jsx(rt.Provider, { value: { showOverlay: i, setShowOverlay: p }, children: /* @__PURE__ */ r.jsx(hn, { children: /* @__PURE__ */ r.jsx("div", { className: i && "sid-search-overlay__overlay", children: /* @__PURE__ */ r.jsxs("div", { className: i && "sid-search-overlay__container", ref: c, children: [
|
|
@@ -133,10 +133,10 @@ function xn(e, t, n, o) {
|
|
|
133
133
|
return _n * p;
|
|
134
134
|
}
|
|
135
135
|
const Mn = ["en-us", "en-gb"];
|
|
136
|
-
function
|
|
136
|
+
function Rn(e) {
|
|
137
137
|
return Mn.includes(e.toLowerCase()) ? "miles" : "kilometers";
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function Cn(e, t) {
|
|
140
140
|
const n = t === "miles" ? "mi" : "km", o = t === "miles" ? e * 0.621371 : e, a = Math.round(o * 10) / 10;
|
|
141
141
|
return a >= 10 ? `${Math.round(o)} ${n}` : `${a} ${n}`;
|
|
142
142
|
}
|
|
@@ -151,20 +151,20 @@ function at(e) {
|
|
|
151
151
|
i.displayName = t;
|
|
152
152
|
const l = e + "CollectionSlot", p = Te(l), f = ee.forwardRef(
|
|
153
153
|
(v, m) => {
|
|
154
|
-
const { scope: _, children: y } = v, x = c(l, _),
|
|
155
|
-
return /* @__PURE__ */ r.jsx(p, { ref:
|
|
154
|
+
const { scope: _, children: y } = v, x = c(l, _), R = ne(m, x.collectionRef);
|
|
155
|
+
return /* @__PURE__ */ r.jsx(p, { ref: R, children: y });
|
|
156
156
|
}
|
|
157
157
|
);
|
|
158
158
|
f.displayName = l;
|
|
159
|
-
const u = e + "CollectionItemSlot", d = "data-radix-collection-item", g = Te(u),
|
|
159
|
+
const u = e + "CollectionItemSlot", d = "data-radix-collection-item", g = Te(u), C = ee.forwardRef(
|
|
160
160
|
(v, m) => {
|
|
161
|
-
const { scope: _, children: y, ...x } = v,
|
|
162
|
-
return ee.useEffect(() => (j.itemMap.set(
|
|
163
|
-
j.itemMap.delete(
|
|
161
|
+
const { scope: _, children: y, ...x } = v, R = ee.useRef(null), T = ne(m, R), j = c(u, _);
|
|
162
|
+
return ee.useEffect(() => (j.itemMap.set(R, { ref: R, ...x }), () => {
|
|
163
|
+
j.itemMap.delete(R);
|
|
164
164
|
})), /* @__PURE__ */ r.jsx(g, { [d]: "", ref: T, children: y });
|
|
165
165
|
}
|
|
166
166
|
);
|
|
167
|
-
|
|
167
|
+
C.displayName = u;
|
|
168
168
|
function w(v) {
|
|
169
169
|
const m = c(e + "CollectionConsumer", v);
|
|
170
170
|
return ee.useCallback(() => {
|
|
@@ -177,7 +177,7 @@ function at(e) {
|
|
|
177
177
|
}, [m.collectionRef, m.itemMap]);
|
|
178
178
|
}
|
|
179
179
|
return [
|
|
180
|
-
{ Provider: i, Slot: f, ItemSlot:
|
|
180
|
+
{ Provider: i, Slot: f, ItemSlot: C },
|
|
181
181
|
w,
|
|
182
182
|
o
|
|
183
183
|
];
|
|
@@ -206,12 +206,12 @@ var Dn = s.forwardRef((e, t) => {
|
|
|
206
206
|
onEntryFocus: f,
|
|
207
207
|
preventScrollOnEntryFocus: u = !1,
|
|
208
208
|
...d
|
|
209
|
-
} = e, g = s.useRef(null),
|
|
209
|
+
} = e, g = s.useRef(null), C = ne(t, g), w = ct(c), [v, m] = Ze({
|
|
210
210
|
prop: i,
|
|
211
211
|
defaultProp: l ?? null,
|
|
212
212
|
onChange: p,
|
|
213
213
|
caller: pe
|
|
214
|
-
}), [_, y] = s.useState(!1), x = Ae(f),
|
|
214
|
+
}), [_, y] = s.useState(!1), x = Ae(f), R = it(n), T = s.useRef(!1), [j, E] = s.useState(0);
|
|
215
215
|
return s.useEffect(() => {
|
|
216
216
|
const b = g.current;
|
|
217
217
|
if (b)
|
|
@@ -243,7 +243,7 @@ var Dn = s.forwardRef((e, t) => {
|
|
|
243
243
|
tabIndex: _ || j === 0 ? -1 : 0,
|
|
244
244
|
"data-orientation": o,
|
|
245
245
|
...d,
|
|
246
|
-
ref:
|
|
246
|
+
ref: C,
|
|
247
247
|
style: { outline: "none", ...e.style },
|
|
248
248
|
onMouseDown: S(e.onMouseDown, () => {
|
|
249
249
|
T.current = !0;
|
|
@@ -253,7 +253,7 @@ var Dn = s.forwardRef((e, t) => {
|
|
|
253
253
|
if (b.target === b.currentTarget && L && !_) {
|
|
254
254
|
const I = new CustomEvent(Ee, yn);
|
|
255
255
|
if (b.currentTarget.dispatchEvent(I), !I.defaultPrevented) {
|
|
256
|
-
const V =
|
|
256
|
+
const V = R().filter((D) => D.focusable), O = V.find((D) => D.active), q = V.find((D) => D.id === v), U = [O, q, ...V].filter(
|
|
257
257
|
Boolean
|
|
258
258
|
).map((D) => D.ref.current);
|
|
259
259
|
pt(U, u);
|
|
@@ -275,11 +275,11 @@ var Dn = s.forwardRef((e, t) => {
|
|
|
275
275
|
tabStopId: c,
|
|
276
276
|
children: i,
|
|
277
277
|
...l
|
|
278
|
-
} = e, p = De(), f = c || p, u = Tn(dt, n), d = u.currentTabStopId === f, g = it(n), { onFocusableItemAdd:
|
|
278
|
+
} = e, p = De(), f = c || p, u = Tn(dt, n), d = u.currentTabStopId === f, g = it(n), { onFocusableItemAdd: C, onFocusableItemRemove: w, currentTabStopId: v } = u;
|
|
279
279
|
return s.useEffect(() => {
|
|
280
280
|
if (o)
|
|
281
|
-
return
|
|
282
|
-
}, [o,
|
|
281
|
+
return C(), () => w();
|
|
282
|
+
}, [o, C, w]), /* @__PURE__ */ r.jsx(
|
|
283
283
|
je.ItemSlot,
|
|
284
284
|
{
|
|
285
285
|
scope: n,
|
|
@@ -307,12 +307,12 @@ var Dn = s.forwardRef((e, t) => {
|
|
|
307
307
|
if (_ !== void 0) {
|
|
308
308
|
if (m.metaKey || m.ctrlKey || m.altKey || m.shiftKey) return;
|
|
309
309
|
m.preventDefault();
|
|
310
|
-
let x = g().filter((
|
|
310
|
+
let x = g().filter((R) => R.focusable).map((R) => R.ref.current);
|
|
311
311
|
if (_ === "last") x.reverse();
|
|
312
312
|
else if (_ === "prev" || _ === "next") {
|
|
313
313
|
_ === "prev" && x.reverse();
|
|
314
|
-
const
|
|
315
|
-
x = u.loop ? Pn(x,
|
|
314
|
+
const R = x.indexOf(m.currentTarget);
|
|
315
|
+
x = u.loop ? Pn(x, R + 1) : x.slice(R + 1);
|
|
316
316
|
}
|
|
317
317
|
setTimeout(() => pt(x));
|
|
318
318
|
}
|
|
@@ -364,11 +364,11 @@ var An = lt, kn = ft, Pe = ["Enter", " "], Ln = ["ArrowDown", "PageUp", "Home"],
|
|
|
364
364
|
]), Me = Je(), gt = ut(), [$n, ce] = se(me), [zn, he] = se(me), vt = (e) => {
|
|
365
365
|
const { __scopeMenu: t, open: n = !1, children: o, dir: a, onOpenChange: c, modal: i = !0 } = e, l = Me(t), [p, f] = s.useState(null), u = s.useRef(!1), d = Ae(c), g = ct(a);
|
|
366
366
|
return s.useEffect(() => {
|
|
367
|
-
const
|
|
367
|
+
const C = () => {
|
|
368
368
|
u.current = !0, document.addEventListener("pointerdown", w, { capture: !0, once: !0 }), document.addEventListener("pointermove", w, { capture: !0, once: !0 });
|
|
369
369
|
}, w = () => u.current = !1;
|
|
370
|
-
return document.addEventListener("keydown",
|
|
371
|
-
document.removeEventListener("keydown",
|
|
370
|
+
return document.addEventListener("keydown", C, { capture: !0 }), () => {
|
|
371
|
+
document.removeEventListener("keydown", C, { capture: !0 }), document.removeEventListener("pointerdown", w, { capture: !0 }), document.removeEventListener("pointermove", w, { capture: !0 });
|
|
372
372
|
};
|
|
373
373
|
}, []), /* @__PURE__ */ r.jsx(Vt, { ...l, children: /* @__PURE__ */ r.jsx(
|
|
374
374
|
$n,
|
|
@@ -400,7 +400,7 @@ var Vn = "MenuAnchor", Fe = s.forwardRef(
|
|
|
400
400
|
}
|
|
401
401
|
);
|
|
402
402
|
Fe.displayName = Vn;
|
|
403
|
-
var Hn = "MenuPortal", [
|
|
403
|
+
var Hn = "MenuPortal", [Cr, wt] = se(Hn, {
|
|
404
404
|
forceMount: void 0
|
|
405
405
|
}), z = "MenuContent", [Wn, Ge] = se(z), _t = s.forwardRef(
|
|
406
406
|
(e, t) => {
|
|
@@ -457,11 +457,11 @@ var Hn = "MenuPortal", [Rr, wt] = se(Hn, {
|
|
|
457
457
|
onPointerDownOutside: u,
|
|
458
458
|
onFocusOutside: d,
|
|
459
459
|
onInteractOutside: g,
|
|
460
|
-
onDismiss:
|
|
460
|
+
onDismiss: C,
|
|
461
461
|
disableOutsideScroll: w,
|
|
462
462
|
...v
|
|
463
|
-
} = e, m = ce(z, n), _ = he(z, n), y = Me(n), x = gt(n),
|
|
464
|
-
const G = I.current + h, k =
|
|
463
|
+
} = e, m = ce(z, n), _ = he(z, n), y = Me(n), x = gt(n), R = Un(n), [T, j] = s.useState(null), E = s.useRef(null), b = ne(t, E, m.onContentChange), L = s.useRef(0), I = s.useRef(""), V = s.useRef(0), O = s.useRef(null), q = s.useRef("right"), F = s.useRef(0), U = w ? Xt : s.Fragment, D = w ? { as: Xn, allowPinchZoom: !0 } : void 0, K = (h) => {
|
|
464
|
+
const G = I.current + h, k = R().filter((P) => !P.disabled), A = document.activeElement, H = k.find((P) => P.ref.current === A)?.textValue, $ = k.map((P) => P.textValue), Y = io($, G, H), W = k.find((P) => P.textValue === Y)?.ref.current;
|
|
465
465
|
(function P(ge) {
|
|
466
466
|
I.current = ge, window.clearTimeout(L.current), ge !== "" && (L.current = window.setTimeout(() => P(""), 1e3));
|
|
467
467
|
})(G), W && setTimeout(() => W.focus());
|
|
@@ -513,7 +513,7 @@ var Hn = "MenuPortal", [Rr, wt] = se(Hn, {
|
|
|
513
513
|
onPointerDownOutside: u,
|
|
514
514
|
onFocusOutside: d,
|
|
515
515
|
onInteractOutside: g,
|
|
516
|
-
onDismiss:
|
|
516
|
+
onDismiss: C,
|
|
517
517
|
children: /* @__PURE__ */ r.jsx(
|
|
518
518
|
An,
|
|
519
519
|
{
|
|
@@ -546,7 +546,7 @@ var Hn = "MenuPortal", [Rr, wt] = se(Hn, {
|
|
|
546
546
|
const $ = E.current;
|
|
547
547
|
if (h.target !== $ || !Fn.includes(h.key)) return;
|
|
548
548
|
h.preventDefault();
|
|
549
|
-
const W =
|
|
549
|
+
const W = R().filter((P) => !P.disabled).map((P) => P.ref.current);
|
|
550
550
|
mt.includes(h.key) && W.reverse(), ao(W);
|
|
551
551
|
}),
|
|
552
552
|
onBlur: S(e.onBlur, (h) => {
|
|
@@ -589,13 +589,13 @@ var Zn = "MenuLabel", xt = s.forwardRef(
|
|
|
589
589
|
}
|
|
590
590
|
);
|
|
591
591
|
xt.displayName = Zn;
|
|
592
|
-
var we = "MenuItem", We = "menu.itemSelect",
|
|
592
|
+
var we = "MenuItem", We = "menu.itemSelect", Re = s.forwardRef(
|
|
593
593
|
(e, t) => {
|
|
594
594
|
const { disabled: n = !1, onSelect: o, ...a } = e, c = s.useRef(null), i = he(we, e.__scopeMenu), l = Ge(we, e.__scopeMenu), p = ne(t, c), f = s.useRef(!1), u = () => {
|
|
595
595
|
const d = c.current;
|
|
596
596
|
if (!n && d) {
|
|
597
597
|
const g = new CustomEvent(We, { bubbles: !0, cancelable: !0 });
|
|
598
|
-
d.addEventListener(We, (
|
|
598
|
+
d.addEventListener(We, (C) => o?.(C), { once: !0 }), qt(d, g), g.defaultPrevented ? f.current = !1 : i.onClose();
|
|
599
599
|
}
|
|
600
600
|
};
|
|
601
601
|
return /* @__PURE__ */ r.jsx(
|
|
@@ -619,13 +619,13 @@ var we = "MenuItem", We = "menu.itemSelect", Ce = s.forwardRef(
|
|
|
619
619
|
);
|
|
620
620
|
}
|
|
621
621
|
);
|
|
622
|
-
|
|
622
|
+
Re.displayName = we;
|
|
623
623
|
var Mt = s.forwardRef(
|
|
624
624
|
(e, t) => {
|
|
625
|
-
const { __scopeMenu: n, disabled: o = !1, textValue: a, ...c } = e, i = Ge(we, n), l = gt(n), p = s.useRef(null), f = ne(t, p), [u, d] = s.useState(!1), [g,
|
|
625
|
+
const { __scopeMenu: n, disabled: o = !1, textValue: a, ...c } = e, i = Ge(we, n), l = gt(n), p = s.useRef(null), f = ne(t, p), [u, d] = s.useState(!1), [g, C] = s.useState("");
|
|
626
626
|
return s.useEffect(() => {
|
|
627
627
|
const w = p.current;
|
|
628
|
-
w &&
|
|
628
|
+
w && C((w.textContent ?? "").trim());
|
|
629
629
|
}, [c.children]), /* @__PURE__ */ r.jsx(
|
|
630
630
|
de.ItemSlot,
|
|
631
631
|
{
|
|
@@ -658,11 +658,11 @@ var Mt = s.forwardRef(
|
|
|
658
658
|
}
|
|
659
659
|
);
|
|
660
660
|
}
|
|
661
|
-
), Jn = "MenuCheckboxItem",
|
|
661
|
+
), Jn = "MenuCheckboxItem", Rt = s.forwardRef(
|
|
662
662
|
(e, t) => {
|
|
663
663
|
const { checked: n = !1, onCheckedChange: o, ...a } = e;
|
|
664
664
|
return /* @__PURE__ */ r.jsx(Et, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ r.jsx(
|
|
665
|
-
|
|
665
|
+
Re,
|
|
666
666
|
{
|
|
667
667
|
role: "menuitemcheckbox",
|
|
668
668
|
"aria-checked": _e(n) ? "mixed" : n,
|
|
@@ -678,9 +678,9 @@ var Mt = s.forwardRef(
|
|
|
678
678
|
) });
|
|
679
679
|
}
|
|
680
680
|
);
|
|
681
|
-
|
|
682
|
-
var
|
|
683
|
-
|
|
681
|
+
Rt.displayName = Jn;
|
|
682
|
+
var Ct = "MenuRadioGroup", [eo, to] = se(
|
|
683
|
+
Ct,
|
|
684
684
|
{ value: void 0, onValueChange: () => {
|
|
685
685
|
} }
|
|
686
686
|
), St = s.forwardRef(
|
|
@@ -689,12 +689,12 @@ var Rt = "MenuRadioGroup", [eo, to] = se(
|
|
|
689
689
|
return /* @__PURE__ */ r.jsx(eo, { scope: e.__scopeMenu, value: n, onValueChange: c, children: /* @__PURE__ */ r.jsx(Ue, { ...a, ref: t }) });
|
|
690
690
|
}
|
|
691
691
|
);
|
|
692
|
-
St.displayName =
|
|
692
|
+
St.displayName = Ct;
|
|
693
693
|
var yt = "MenuRadioItem", bt = s.forwardRef(
|
|
694
694
|
(e, t) => {
|
|
695
695
|
const { value: n, ...o } = e, a = to(yt, e.__scopeMenu), c = n === a.value;
|
|
696
696
|
return /* @__PURE__ */ r.jsx(Et, { scope: e.__scopeMenu, checked: c, children: /* @__PURE__ */ r.jsx(
|
|
697
|
-
|
|
697
|
+
Re,
|
|
698
698
|
{
|
|
699
699
|
role: "menuitemradio",
|
|
700
700
|
"aria-checked": c,
|
|
@@ -793,7 +793,7 @@ var so = "MenuSub", [Sr, Ot] = se(so), ie = "MenuSubTrigger", Nt = s.forwardRef(
|
|
|
793
793
|
u();
|
|
794
794
|
const g = n.content?.getBoundingClientRect();
|
|
795
795
|
if (g) {
|
|
796
|
-
const
|
|
796
|
+
const C = n.content?.dataset.side, w = C === "right", v = w ? -5 : 5, m = g[w ? "left" : "right"], _ = g[w ? "right" : "left"];
|
|
797
797
|
c.onPointerGraceIntentChange({
|
|
798
798
|
area: [
|
|
799
799
|
// Apply a bleed on clientX to ensure that our exit point is
|
|
@@ -804,7 +804,7 @@ var so = "MenuSub", [Sr, Ot] = se(so), ie = "MenuSubTrigger", Nt = s.forwardRef(
|
|
|
804
804
|
{ x: _, y: g.bottom },
|
|
805
805
|
{ x: m, y: g.bottom }
|
|
806
806
|
],
|
|
807
|
-
side:
|
|
807
|
+
side: C
|
|
808
808
|
}), window.clearTimeout(l.current), l.current = window.setTimeout(
|
|
809
809
|
() => c.onPointerGraceIntentChange(null),
|
|
810
810
|
300
|
|
@@ -901,10 +901,10 @@ function lo(e, t) {
|
|
|
901
901
|
function fe(e) {
|
|
902
902
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
903
903
|
}
|
|
904
|
-
var fo = vt, po = Fe, mo = _t, ho = Ue, go = xt, vo =
|
|
905
|
-
|
|
904
|
+
var fo = vt, po = Fe, mo = _t, ho = Ue, go = xt, vo = Re, wo = Rt, _o = St, xo = bt, Mo = It, Ro = Tt, Co = Dt, So = Nt, yo = Pt, Ce = "DropdownMenu", [bo] = xe(
|
|
905
|
+
Ce,
|
|
906
906
|
[ht]
|
|
907
|
-
), B = ht(), [Eo, kt] = bo(
|
|
907
|
+
), B = ht(), [Eo, kt] = bo(Ce), Lt = (e) => {
|
|
908
908
|
const {
|
|
909
909
|
__scopeDropdownMenu: t,
|
|
910
910
|
children: n,
|
|
@@ -917,7 +917,7 @@ var fo = vt, po = Fe, mo = _t, ho = Ue, go = xt, vo = Ce, wo = Ct, _o = St, xo =
|
|
|
917
917
|
prop: a,
|
|
918
918
|
defaultProp: c ?? !1,
|
|
919
919
|
onChange: i,
|
|
920
|
-
caller:
|
|
920
|
+
caller: Ce
|
|
921
921
|
});
|
|
922
922
|
return /* @__PURE__ */ r.jsx(
|
|
923
923
|
Eo,
|
|
@@ -934,7 +934,7 @@ var fo = vt, po = Fe, mo = _t, ho = Ue, go = xt, vo = Ce, wo = Ct, _o = St, xo =
|
|
|
934
934
|
}
|
|
935
935
|
);
|
|
936
936
|
};
|
|
937
|
-
Lt.displayName =
|
|
937
|
+
Lt.displayName = Ce;
|
|
938
938
|
var Ft = "DropdownMenuTrigger", Gt = s.forwardRef(
|
|
939
939
|
(e, t) => {
|
|
940
940
|
const { __scopeDropdownMenu: n, disabled: o = !1, ...a } = e, c = kt(Ft, n), i = B(n);
|
|
@@ -1036,13 +1036,13 @@ var Go = "DropdownMenuItemIndicator", Bo = s.forwardRef((e, t) => {
|
|
|
1036
1036
|
Bo.displayName = Go;
|
|
1037
1037
|
var Uo = "DropdownMenuSeparator", Ko = s.forwardRef((e, t) => {
|
|
1038
1038
|
const { __scopeDropdownMenu: n, ...o } = e, a = B(n);
|
|
1039
|
-
return /* @__PURE__ */ r.jsx(
|
|
1039
|
+
return /* @__PURE__ */ r.jsx(Ro, { ...a, ...o, ref: t });
|
|
1040
1040
|
});
|
|
1041
1041
|
Ko.displayName = Uo;
|
|
1042
1042
|
var $o = "DropdownMenuArrow", zo = s.forwardRef(
|
|
1043
1043
|
(e, t) => {
|
|
1044
1044
|
const { __scopeDropdownMenu: n, ...o } = e, a = B(n);
|
|
1045
|
-
return /* @__PURE__ */ r.jsx(
|
|
1045
|
+
return /* @__PURE__ */ r.jsx(Co, { ...a, ...o, ref: t });
|
|
1046
1046
|
}
|
|
1047
1047
|
);
|
|
1048
1048
|
zo.displayName = $o;
|
|
@@ -1190,7 +1190,7 @@ const or = 42, rr = 26, sr = ({
|
|
|
1190
1190
|
children: a,
|
|
1191
1191
|
maxItemsToDisplay: c = rr
|
|
1192
1192
|
}) => {
|
|
1193
|
-
const i = s.Children.count(a), l = (n.length + i) * or, p = {}, f = ae("org-search-overlay") === "overlay", u = Le(), d = tt(), g = s.useMemo(() =>
|
|
1193
|
+
const i = s.Children.count(a), l = (n.length + i) * or, p = {}, f = ae("org-search-overlay") === "overlay", u = Le(), d = tt(), g = s.useMemo(() => Rn(d), [d]), C = (v) => {
|
|
1194
1194
|
if (!u?.userLocation || v.latitude == null || v.longitude == null) return null;
|
|
1195
1195
|
const m = xn(
|
|
1196
1196
|
u.userLocation.latitude,
|
|
@@ -1198,14 +1198,14 @@ const or = 42, rr = 26, sr = ({
|
|
|
1198
1198
|
v.latitude,
|
|
1199
1199
|
v.longitude
|
|
1200
1200
|
);
|
|
1201
|
-
return
|
|
1201
|
+
return Cn(m, g);
|
|
1202
1202
|
};
|
|
1203
1203
|
s.useEffect(() => {
|
|
1204
1204
|
const v = document.getElementsByClassName("sid-organization-list__item--highlighted").item(0);
|
|
1205
1205
|
v && ("scrollIntoViewIfNeeded" in v && typeof v.scrollIntoViewIfNeeded == "function" ? v.scrollIntoViewIfNeeded(!0) : v.scrollIntoView({ behavior: "instant", block: "center" }));
|
|
1206
1206
|
}, [t]);
|
|
1207
1207
|
const w = (v, m) => {
|
|
1208
|
-
const _ = [v.city, v.state].filter(Boolean).join(", "), y =
|
|
1208
|
+
const _ = [v.city, v.state].filter(Boolean).join(", "), y = C(v);
|
|
1209
1209
|
return /* @__PURE__ */ r.jsxs(
|
|
1210
1210
|
"div",
|
|
1211
1211
|
{
|
|
@@ -1354,11 +1354,11 @@ const or = 42, rr = 26, sr = ({
|
|
|
1354
1354
|
openOrgSearchEnabled: u,
|
|
1355
1355
|
onClickAddSchool: d,
|
|
1356
1356
|
onTipsShown: g,
|
|
1357
|
-
searchUrlParams:
|
|
1357
|
+
searchUrlParams: C,
|
|
1358
1358
|
searchValue: w
|
|
1359
1359
|
}) => {
|
|
1360
|
-
const [v, m] = s.useState(!1), [_, y] = s.useState(null), [x,
|
|
1361
|
-
b.current = { orgSearchUrl: l, searchValue: w, searchUrlParams:
|
|
1360
|
+
const [v, m] = s.useState(!1), [_, y] = s.useState(null), [x, R] = s.useState(null), T = s.useRef(!1), j = s.useRef(null), E = Le(), b = s.useRef({ orgSearchUrl: l, searchValue: w, searchUrlParams: C, onLoaded: c });
|
|
1361
|
+
b.current = { orgSearchUrl: l, searchValue: w, searchUrlParams: C, onLoaded: c };
|
|
1362
1362
|
const L = s.useRef(E);
|
|
1363
1363
|
L.current = E;
|
|
1364
1364
|
const I = w || Qe(l) || "", V = s.useCallback(async () => {
|
|
@@ -1401,7 +1401,7 @@ const or = 42, rr = 26, sr = ({
|
|
|
1401
1401
|
T.current = !1, O.current && O.current.clear();
|
|
1402
1402
|
}), []), s.useEffect(() => {
|
|
1403
1403
|
const K = j.current;
|
|
1404
|
-
K !== I && (I.length >= a ? (
|
|
1404
|
+
K !== I && (I.length >= a ? (R(null), m(!0), y(null), O.current && O.current()) : (R(null), m(!1), y(null), K !== null ? Z.info(
|
|
1405
1405
|
`No organizations fetched. Search searchTterm "${I}" is less than ${a} characters.`
|
|
1406
1406
|
) : I.length > 0 && Z.info(
|
|
1407
1407
|
`No organizations fetched. Search searchTerm "${I}" is less than ${a} characters.`
|
|
@@ -1409,7 +1409,7 @@ const or = 42, rr = 26, sr = ({
|
|
|
1409
1409
|
}, [I, a]);
|
|
1410
1410
|
const q = E?.sortMode, F = E?.userLocation?.latitude, U = E?.userLocation?.longitude;
|
|
1411
1411
|
s.useEffect(() => {
|
|
1412
|
-
I.length >= a && (
|
|
1412
|
+
I.length >= a && (R(null), m(!0), y(null), O.current?.());
|
|
1413
1413
|
}, [q, F, U, I, a]);
|
|
1414
1414
|
const D = ir(_);
|
|
1415
1415
|
return v ? /* @__PURE__ */ r.jsx("div", { className: "sid-organization-list__menu", children: /* @__PURE__ */ r.jsx("div", { className: "sid-organization-list__message sid-organization-list__spinner-container", children: /* @__PURE__ */ r.jsx("div", { id: "sid-spinner-container", children: /* @__PURE__ */ r.jsx(on, {}) }) }) }) : x ? /* @__PURE__ */ r.jsx("div", { className: "sid-organization-list__menu", children: /* @__PURE__ */ r.jsx("div", { className: "sid-organization-list__message", children: /* @__PURE__ */ r.jsx(
|
|
@@ -1503,7 +1503,7 @@ const or = 42, rr = 26, sr = ({
|
|
|
1503
1503
|
orgSearchUrl: u,
|
|
1504
1504
|
isRequired: d,
|
|
1505
1505
|
locale: g,
|
|
1506
|
-
urlAddSchoolForm:
|
|
1506
|
+
urlAddSchoolForm: C,
|
|
1507
1507
|
isErrored: w,
|
|
1508
1508
|
ariaDescribedBy: v,
|
|
1509
1509
|
autoFocus: m = !1,
|
|
@@ -1511,7 +1511,7 @@ const or = 42, rr = 26, sr = ({
|
|
|
1511
1511
|
},
|
|
1512
1512
|
intl: y
|
|
1513
1513
|
}) => {
|
|
1514
|
-
const [x,
|
|
1514
|
+
const [x, R] = s.useState(l ? l.name : ""), [T, j] = s.useState([]), E = s.useRef(0), b = s.useRef(0), L = s.useRef(!1), I = s.useRef(!1), [V, O] = s.useState(!1), [q, F] = s.useState(!1), { recordNumericMetric: U, trackEvent: D } = ot({ programId: t }), K = ae("org-search-overlay") === "overlay", { showOverlay: N, setShowOverlay: h } = pn();
|
|
1515
1515
|
an(e);
|
|
1516
1516
|
const G = (M) => M ? M.name : "", { isOpen: k, highlightedIndex: A, getMenuProps: H, getItemProps: $, getInputProps: Y } = Ne({
|
|
1517
1517
|
itemToString: G,
|
|
@@ -1525,13 +1525,13 @@ const or = 42, rr = 26, sr = ({
|
|
|
1525
1525
|
selectedItem: l,
|
|
1526
1526
|
onSelectedItemChange: ({ selectedItem: M }) => {
|
|
1527
1527
|
if (!M) {
|
|
1528
|
-
|
|
1528
|
+
R(""), h(!1), e({
|
|
1529
1529
|
id: 0,
|
|
1530
1530
|
name: ""
|
|
1531
1531
|
});
|
|
1532
1532
|
return;
|
|
1533
1533
|
}
|
|
1534
|
-
|
|
1534
|
+
R(G(M));
|
|
1535
1535
|
const J = T.findIndex((re) => re.id === M.id) + 1, ve = Date.now() - b.current;
|
|
1536
1536
|
try {
|
|
1537
1537
|
const re = {
|
|
@@ -1583,7 +1583,7 @@ const or = 42, rr = 26, sr = ({
|
|
|
1583
1583
|
} catch (ve) {
|
|
1584
1584
|
Z.error(ve);
|
|
1585
1585
|
}
|
|
1586
|
-
|
|
1586
|
+
R(J), e({
|
|
1587
1587
|
id: 0,
|
|
1588
1588
|
name: J
|
|
1589
1589
|
});
|
|
@@ -1596,7 +1596,7 @@ const or = 42, rr = 26, sr = ({
|
|
|
1596
1596
|
}, ze = (M) => {
|
|
1597
1597
|
M.relatedTarget?.id !== `${p}-clear-button` && (O(!1), _());
|
|
1598
1598
|
}, Ve = (M) => {
|
|
1599
|
-
(M.type === "mousedown" || "key" in M && M.key === "Enter") && (
|
|
1599
|
+
(M.type === "mousedown" || "key" in M && M.key === "Enter") && (R(""), e({
|
|
1600
1600
|
id: void 0,
|
|
1601
1601
|
name: ""
|
|
1602
1602
|
}), Se.current.focus());
|
|
@@ -1680,7 +1680,7 @@ const or = 42, rr = 26, sr = ({
|
|
|
1680
1680
|
programId: t,
|
|
1681
1681
|
orgSearchUrl: u,
|
|
1682
1682
|
locale: g,
|
|
1683
|
-
urlAddSchoolForm:
|
|
1683
|
+
urlAddSchoolForm: C,
|
|
1684
1684
|
onClickAddSchool: W,
|
|
1685
1685
|
onTipsShown: P,
|
|
1686
1686
|
openOrgSearchEnabled: f,
|
|
@@ -1702,11 +1702,11 @@ const or = 42, rr = 26, sr = ({
|
|
|
1702
1702
|
isRequired: u = !0,
|
|
1703
1703
|
explanation: d = "",
|
|
1704
1704
|
orgSearchUrl: g,
|
|
1705
|
-
urlAddSchoolForm:
|
|
1705
|
+
urlAddSchoolForm: C,
|
|
1706
1706
|
disabled: w = !1,
|
|
1707
1707
|
intl: v
|
|
1708
1708
|
}) => {
|
|
1709
|
-
const m = `sid-${ye(e)}`, _ = `sid-${ye(e)}-error`, y = `sid-${ye(e)}-warning`, { programId: x, programTheme:
|
|
1709
|
+
const m = `sid-${ye(e)}`, _ = `sid-${ye(e)}-error`, y = `sid-${ye(e)}-warning`, { programId: x, programTheme: R, verificationResponse: T, viewModel: j } = n, E = be(() => j.countryChoice.value), b = fn(R, E), L = tt(j, T), [I, V] = s.useState(!1), O = ae("org-search-overlay") === "overlay", q = O || ae("org-selected-display") === "box-display", F = ae("hc-open-org-warning") === "warning-orange", U = ae("hc-open-org-warning") === "warning-gray", D = F || U, [K, N] = s.useState(!1), h = be(() => R.openOrgSearchEnabled), G = () => {
|
|
1710
1710
|
h && $t(t) ? N(!0) : N(!1);
|
|
1711
1711
|
}, k = (P) => {
|
|
1712
1712
|
K && N(!1), o(P);
|
|
@@ -1768,10 +1768,10 @@ const or = 42, rr = 26, sr = ({
|
|
|
1768
1768
|
programId: x,
|
|
1769
1769
|
value: t,
|
|
1770
1770
|
inputHtmlId: m,
|
|
1771
|
-
openOrgSearchEnabled:
|
|
1771
|
+
openOrgSearchEnabled: R.openOrgSearchEnabled,
|
|
1772
1772
|
locale: L,
|
|
1773
|
-
orgSearchUrl: g || be(() =>
|
|
1774
|
-
urlAddSchoolForm:
|
|
1773
|
+
orgSearchUrl: g || be(() => R.config.orgSearchUrl),
|
|
1774
|
+
urlAddSchoolForm: C,
|
|
1775
1775
|
isRequired: u,
|
|
1776
1776
|
isErrored: !!i,
|
|
1777
1777
|
ariaDescribedBy: W(),
|