@sheerid/jslib 2.282.0 → 2.283.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.
Files changed (342) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +36 -36
  3. package/chunk/{AddressComponent-D6bPT4Ql.js → AddressComponent-Bo0ARZTC.js} +5 -5
  4. package/chunk/{AddressComponent-D6bPT4Ql.js.map → AddressComponent-Bo0ARZTC.js.map} +1 -1
  5. package/chunk/{AddressComponent-D9kLvfgy.js → AddressComponent-DjdU1avW.js} +5 -5
  6. package/chunk/{AddressComponent-D9kLvfgy.js.map → AddressComponent-DjdU1avW.js.map} +1 -1
  7. package/chunk/AnnouncingHeader-B84Vw5oF.js +4 -4
  8. package/chunk/AnnouncingHeader-BJHHK6ve.js +4 -4
  9. package/chunk/{ApiUrls-Cw_5PJi5.js → ApiUrls-MtK1lfo-.js} +5 -5
  10. package/chunk/{ApiUrls-Cw_5PJi5.js.map → ApiUrls-MtK1lfo-.js.map} +1 -1
  11. package/chunk/{ApiUrls-C_QW49Q4.js → ApiUrls-XBNB9DI6.js} +5 -5
  12. package/chunk/{ApiUrls-C_QW49Q4.js.map → ApiUrls-XBNB9DI6.js.map} +1 -1
  13. package/chunk/{BirthDateComponent-CfYOYGHY.js → BirthDateComponent-Bc9jwV4J.js} +5 -5
  14. package/chunk/{BirthDateComponent-CfYOYGHY.js.map → BirthDateComponent-Bc9jwV4J.js.map} +1 -1
  15. package/chunk/{BirthDateComponent-DzrwiBry.js → BirthDateComponent-DhSXxwAN.js} +5 -5
  16. package/chunk/{BirthDateComponent-DzrwiBry.js.map → BirthDateComponent-DhSXxwAN.js.map} +1 -1
  17. package/chunk/{CaptchaComponent-By2jKrAx.js → CaptchaComponent-BFnSDutX.js} +7 -7
  18. package/chunk/{CaptchaComponent-By2jKrAx.js.map → CaptchaComponent-BFnSDutX.js.map} +1 -1
  19. package/chunk/{CaptchaComponent-CsB3VNaS.js → CaptchaComponent-f5RlyrJ_.js} +7 -7
  20. package/chunk/{CaptchaComponent-CsB3VNaS.js.map → CaptchaComponent-f5RlyrJ_.js.map} +1 -1
  21. package/chunk/{ChangeLocaleComponent-BwvDPfmo.js → ChangeLocaleComponent-BfLianBY.js} +54 -53
  22. package/chunk/ChangeLocaleComponent-BfLianBY.js.map +1 -0
  23. package/chunk/{ChangeLocaleComponent-B7y1PVqW.js → ChangeLocaleComponent-DRzH3cx2.js} +54 -53
  24. package/chunk/ChangeLocaleComponent-DRzH3cx2.js.map +1 -0
  25. package/chunk/{City-CC2z8JJw.js → City-CfHBaCRV.js} +5 -5
  26. package/chunk/{City-CC2z8JJw.js.map → City-CfHBaCRV.js.map} +1 -1
  27. package/chunk/{City-DqDDFaTQ.js → City-Cua_6h5H.js} +5 -5
  28. package/chunk/{City-DqDDFaTQ.js.map → City-Cua_6h5H.js.map} +1 -1
  29. package/chunk/{CollegeNameComponent-Brcc6-UM.js → CollegeNameComponent-B8zeKprU.js} +6 -6
  30. package/chunk/{CollegeNameComponent-BoTnXdci.js.map → CollegeNameComponent-B8zeKprU.js.map} +1 -1
  31. package/chunk/{CollegeNameComponent-BoTnXdci.js → CollegeNameComponent-hl37XhAk.js} +6 -6
  32. package/chunk/{CollegeNameComponent-Brcc6-UM.js.map → CollegeNameComponent-hl37XhAk.js.map} +1 -1
  33. package/chunk/CopyToClipboardComponent-Cx3fFPKm.js +4 -4
  34. package/chunk/CopyToClipboardComponent-Hd6_alz8.js +4 -4
  35. package/chunk/{CountryComponentWrapper-1u96GVON.js → CountryComponentWrapper-CbB9XMJq.js} +6 -6
  36. package/chunk/{CountryComponentWrapper-1u96GVON.js.map → CountryComponentWrapper-CbB9XMJq.js.map} +1 -1
  37. package/chunk/{CountryComponentWrapper-CHvWUryn.js → CountryComponentWrapper-cqOW7qGW.js} +6 -6
  38. package/chunk/{CountryComponentWrapper-CHvWUryn.js.map → CountryComponentWrapper-cqOW7qGW.js.map} +1 -1
  39. package/chunk/{DischargeDateComponent-CCWYLgkE.js → DischargeDateComponent-ChQ9YmFw.js} +7 -7
  40. package/chunk/{DischargeDateComponent-CA7Tr1wn.js.map → DischargeDateComponent-ChQ9YmFw.js.map} +1 -1
  41. package/chunk/{DischargeDateComponent-CA7Tr1wn.js → DischargeDateComponent-D5nNSGFi.js} +7 -7
  42. package/chunk/{DischargeDateComponent-CCWYLgkE.js.map → DischargeDateComponent-D5nNSGFi.js.map} +1 -1
  43. package/chunk/{DriverLicenseNumberComponent-D5QqJ0X0.js → DriverLicenseNumberComponent-Bio6Kdhd.js} +5 -5
  44. package/chunk/{DriverLicenseNumberComponent-D5QqJ0X0.js.map → DriverLicenseNumberComponent-Bio6Kdhd.js.map} +1 -1
  45. package/chunk/{DriverLicenseNumberComponent-OZqMY1LZ.js → DriverLicenseNumberComponent-DYuTSEww.js} +5 -5
  46. package/chunk/{DriverLicenseNumberComponent-OZqMY1LZ.js.map → DriverLicenseNumberComponent-DYuTSEww.js.map} +1 -1
  47. package/chunk/{EmailLoopPending-Duo_CkYQ.js → EmailLoopPending-BkFpbhow.js} +5 -5
  48. package/chunk/{EmailLoopPending-De6fSt1x.js.map → EmailLoopPending-BkFpbhow.js.map} +1 -1
  49. package/chunk/{EmailLoopPending-De6fSt1x.js → EmailLoopPending-ec5_gIpD.js} +5 -5
  50. package/chunk/{EmailLoopPending-Duo_CkYQ.js.map → EmailLoopPending-ec5_gIpD.js.map} +1 -1
  51. package/chunk/{ExtraMessage-Dl4Kq-Q7.js → ExtraMessage--Hy3tDVD.js} +5 -5
  52. package/chunk/{ExtraMessage-Dl4Kq-Q7.js.map → ExtraMessage--Hy3tDVD.js.map} +1 -1
  53. package/chunk/{ExtraMessage-dJhSp9tc.js → ExtraMessage-BYCsMo2w.js} +5 -5
  54. package/chunk/{ExtraMessage-dJhSp9tc.js.map → ExtraMessage-BYCsMo2w.js.map} +1 -1
  55. package/chunk/{FirstResponderOrganizationComponent-BEivOSz4.js → FirstResponderOrganizationComponent-DqK6E_Dy.js} +6 -6
  56. package/chunk/{FirstResponderOrganizationComponent-BEivOSz4.js.map → FirstResponderOrganizationComponent-DqK6E_Dy.js.map} +1 -1
  57. package/chunk/{FirstResponderOrganizationComponent-CqDbFp9I.js → FirstResponderOrganizationComponent-c-CvVWYr.js} +6 -6
  58. package/chunk/{FirstResponderOrganizationComponent-CqDbFp9I.js.map → FirstResponderOrganizationComponent-c-CvVWYr.js.map} +1 -1
  59. package/chunk/{FormFieldInputSelect-BwN4K_tL.js → FormFieldInputSelect-Ct5xyQT1.js} +5 -5
  60. package/chunk/{FormFieldInputSelect-BwN4K_tL.js.map → FormFieldInputSelect-Ct5xyQT1.js.map} +1 -1
  61. package/chunk/{FormFieldInputSelect-De8TtAqF.js → FormFieldInputSelect-D7Iqh5xe.js} +5 -5
  62. package/chunk/{FormFieldInputSelect-De8TtAqF.js.map → FormFieldInputSelect-D7Iqh5xe.js.map} +1 -1
  63. package/chunk/FormFieldLayout-CfcTWF4b.js +4 -4
  64. package/chunk/FormFieldLayout-CsDsfcRv.js +4 -4
  65. package/chunk/FormFieldText-Cba-r9FE.js +4 -4
  66. package/chunk/FormFieldText-CoWhLvws.js +4 -4
  67. package/chunk/{FormFieldTypeahead-DHWO2QwZ.js → FormFieldTypeahead-BOhc30Sb.js} +452 -451
  68. package/chunk/{FormFieldTypeahead-BKiUIrcV.js.map → FormFieldTypeahead-BOhc30Sb.js.map} +1 -1
  69. package/chunk/{FormFieldTypeahead-BKiUIrcV.js → FormFieldTypeahead-Ld5ptYlw.js} +453 -452
  70. package/chunk/{FormFieldTypeahead-DHWO2QwZ.js.map → FormFieldTypeahead-Ld5ptYlw.js.map} +1 -1
  71. package/chunk/{FormFooterComponent-De1ex1qv.js → FormFooterComponent-DABEABHp.js} +7 -7
  72. package/chunk/{FormFooterComponent-De1ex1qv.js.map → FormFooterComponent-DABEABHp.js.map} +1 -1
  73. package/chunk/{FormFooterComponent-bjJkpEpq.js → FormFooterComponent-ijH3vfAe.js} +7 -7
  74. package/chunk/{FormFooterComponent-bjJkpEpq.js.map → FormFooterComponent-ijH3vfAe.js.map} +1 -1
  75. package/chunk/{FormSelectChoice-DiSS-Gy-.js → FormSelectChoice-BDUwdX08.js} +6 -6
  76. package/chunk/{FormSelectChoice-Cre7SFAi.js.map → FormSelectChoice-BDUwdX08.js.map} +1 -1
  77. package/chunk/{FormSelectChoice-Cre7SFAi.js → FormSelectChoice-C0Gq1MNt.js} +6 -6
  78. package/chunk/{FormSelectChoice-DiSS-Gy-.js.map → FormSelectChoice-C0Gq1MNt.js.map} +1 -1
  79. package/chunk/InputText-C4PEMeZJ.js +4 -4
  80. package/chunk/InputText-CQYoeUfw.js +4 -4
  81. package/chunk/{LicensedProfessionalOrganizationComponent-rbJFSs2R.js → LicensedProfessionalOrganizationComponent-BNX5v_8u.js} +6 -6
  82. package/chunk/{LicensedProfessionalOrganizationComponent-DC0pv_2S.js.map → LicensedProfessionalOrganizationComponent-BNX5v_8u.js.map} +1 -1
  83. package/chunk/{LicensedProfessionalOrganizationComponent-DC0pv_2S.js → LicensedProfessionalOrganizationComponent-Cnl2Kcme.js} +6 -6
  84. package/chunk/{LicensedProfessionalOrganizationComponent-rbJFSs2R.js.map → LicensedProfessionalOrganizationComponent-Cnl2Kcme.js.map} +1 -1
  85. package/chunk/LogoComponent-Cq0AZvcg.js +4 -4
  86. package/chunk/LogoComponent-DKi0XFRw.js +4 -4
  87. package/chunk/{LowIncomeOrganizationComponent-DRCN3J9F.js → LowIncomeOrganizationComponent-BCYDmHXb.js} +7 -7
  88. package/chunk/{LowIncomeOrganizationComponent-CVhQlnAk.js.map → LowIncomeOrganizationComponent-BCYDmHXb.js.map} +1 -1
  89. package/chunk/{LowIncomeOrganizationComponent-CVhQlnAk.js → LowIncomeOrganizationComponent-To36ITLd.js} +7 -7
  90. package/chunk/{LowIncomeOrganizationComponent-DRCN3J9F.js.map → LowIncomeOrganizationComponent-To36ITLd.js.map} +1 -1
  91. package/chunk/{MedicalProfessionalOrganizationComponent-BDD7AUiK.js → MedicalProfessionalOrganizationComponent-D0rex1Cj.js} +6 -6
  92. package/chunk/{MedicalProfessionalOrganizationComponent-BDD7AUiK.js.map → MedicalProfessionalOrganizationComponent-D0rex1Cj.js.map} +1 -1
  93. package/chunk/{MedicalProfessionalOrganizationComponent-Bv2LI1xP.js → MedicalProfessionalOrganizationComponent-kRth84cD.js} +6 -6
  94. package/chunk/{MedicalProfessionalOrganizationComponent-Bv2LI1xP.js.map → MedicalProfessionalOrganizationComponent-kRth84cD.js.map} +1 -1
  95. package/chunk/{MemberIdComponent-DcQCiDXS.js → MemberIdComponent-0zKmOZHd.js} +5 -5
  96. package/chunk/{MemberIdComponent-CGh8l5st.js.map → MemberIdComponent-0zKmOZHd.js.map} +1 -1
  97. package/chunk/{MemberIdComponent-CGh8l5st.js → MemberIdComponent-DGbmoRTz.js} +5 -5
  98. package/chunk/{MemberIdComponent-DcQCiDXS.js.map → MemberIdComponent-DGbmoRTz.js.map} +1 -1
  99. package/chunk/{MembershipOrganizationComponent-CowradbE.js → MembershipOrganizationComponent-3xdgFJrW.js} +6 -6
  100. package/chunk/{MembershipOrganizationComponent-CowradbE.js.map → MembershipOrganizationComponent-3xdgFJrW.js.map} +1 -1
  101. package/chunk/{MembershipOrganizationComponent-DBeKvRcq.js → MembershipOrganizationComponent-s9OK5To3.js} +6 -6
  102. package/chunk/{MembershipOrganizationComponent-DBeKvRcq.js.map → MembershipOrganizationComponent-s9OK5To3.js.map} +1 -1
  103. package/chunk/{Message-CJbueAGg.js → Message-Co4QmwXx.js} +5 -5
  104. package/chunk/{Message-CJbueAGg.js.map → Message-Co4QmwXx.js.map} +1 -1
  105. package/chunk/{Message-BaBqxbGS.js → Message-EAQGVvfk.js} +5 -5
  106. package/chunk/{Message-BaBqxbGS.js.map → Message-EAQGVvfk.js.map} +1 -1
  107. package/chunk/Onfido-CTCgAwnB.js +4 -4
  108. package/chunk/{PersonalInfoStepSubmitButton-CedlJgIZ.js → PersonalInfoStepSubmitButton-CmRtqNBy.js} +5 -5
  109. package/chunk/{PersonalInfoStepSubmitButton-CWJ3fNHh.js.map → PersonalInfoStepSubmitButton-CmRtqNBy.js.map} +1 -1
  110. package/chunk/{PersonalInfoStepSubmitButton-CWJ3fNHh.js → PersonalInfoStepSubmitButton-DkAmox9o.js} +5 -5
  111. package/chunk/{PersonalInfoStepSubmitButton-CedlJgIZ.js.map → PersonalInfoStepSubmitButton-DkAmox9o.js.map} +1 -1
  112. package/chunk/{PersonalInfoStepWrapper-YgZPPbgQ.js → PersonalInfoStepWrapper-IBhUSq4D.js} +5 -5
  113. package/chunk/{PersonalInfoStepWrapper-YgZPPbgQ.js.map → PersonalInfoStepWrapper-IBhUSq4D.js.map} +1 -1
  114. package/chunk/{PersonalInfoStepWrapper-CtfZfYHN.js → PersonalInfoStepWrapper-tb87u2Px.js} +6 -6
  115. package/chunk/{PersonalInfoStepWrapper-CtfZfYHN.js.map → PersonalInfoStepWrapper-tb87u2Px.js.map} +1 -1
  116. package/chunk/{PostalCodeComponent-B8cDvpp5.js → PostalCodeComponent-Bl4nrcsZ.js} +5 -5
  117. package/chunk/{PostalCodeComponent--2-0GF6J.js.map → PostalCodeComponent-Bl4nrcsZ.js.map} +1 -1
  118. package/chunk/{PostalCodeComponent--2-0GF6J.js → PostalCodeComponent-Q9b6xN4f.js} +5 -5
  119. package/chunk/{PostalCodeComponent-B8cDvpp5.js.map → PostalCodeComponent-Q9b6xN4f.js.map} +1 -1
  120. package/chunk/{SSN-_00WApY3.js → SSN-BNFXeqIA.js} +5 -5
  121. package/chunk/{SSN-_00WApY3.js.map → SSN-BNFXeqIA.js.map} +1 -1
  122. package/chunk/{SSN-Bul7c5bm.js → SSN-CfhYWsyu.js} +5 -5
  123. package/chunk/{SSN-Bul7c5bm.js.map → SSN-CfhYWsyu.js.map} +1 -1
  124. package/chunk/{StateSelectComponent-ByVHBCMO.js → StateSelectComponent-6gMrhpQH.js} +6 -6
  125. package/chunk/{StateSelectComponent-ByVHBCMO.js.map → StateSelectComponent-6gMrhpQH.js.map} +1 -1
  126. package/chunk/{StateSelectComponent-CtkB_X68.js → StateSelectComponent-BfEcXNlZ.js} +6 -6
  127. package/chunk/{StateSelectComponent-CtkB_X68.js.map → StateSelectComponent-BfEcXNlZ.js.map} +1 -1
  128. package/chunk/{StatusComponent-C_8jew6j.js → StatusComponent-1cKx-egQ.js} +6 -6
  129. package/chunk/{StatusComponent-C_8jew6j.js.map → StatusComponent-1cKx-egQ.js.map} +1 -1
  130. package/chunk/{StatusComponent-B8VHwPns.js → StatusComponent-BqF3LPIF.js} +6 -6
  131. package/chunk/{StatusComponent-B8VHwPns.js.map → StatusComponent-BqF3LPIF.js.map} +1 -1
  132. package/chunk/{StepAgePersonalInfo-byDQA633.js → StepAgePersonalInfo-DSLcdxcb.js} +16 -16
  133. package/chunk/{StepAgePersonalInfo-DxesMFgn.js.map → StepAgePersonalInfo-DSLcdxcb.js.map} +1 -1
  134. package/chunk/{StepAgePersonalInfo-DxesMFgn.js → StepAgePersonalInfo-ZFHSY4Fe.js} +16 -16
  135. package/chunk/{StepAgePersonalInfo-byDQA633.js.map → StepAgePersonalInfo-ZFHSY4Fe.js.map} +1 -1
  136. package/chunk/StepCard-5V1_mxeM.js +4 -4
  137. package/chunk/StepCard-BPyR9qva.js +4 -4
  138. package/chunk/{StepCollectIdentifier-BmYuVYZC.js → StepCollectIdentifier-CLtTpkgH.js} +6 -6
  139. package/chunk/{StepCollectIdentifier-BmYuVYZC.js.map → StepCollectIdentifier-CLtTpkgH.js.map} +1 -1
  140. package/chunk/{StepCollectIdentifier-Ba1m66kH.js → StepCollectIdentifier-CnT0J7Aj.js} +6 -6
  141. package/chunk/{StepCollectIdentifier-Ba1m66kH.js.map → StepCollectIdentifier-CnT0J7Aj.js.map} +1 -1
  142. package/chunk/{StepCollectMilitaryPersonalInfoComponent-Bua6s_a8.js → StepCollectMilitaryPersonalInfoComponent-DFcB0eRp.js} +19 -19
  143. package/chunk/{StepCollectMilitaryPersonalInfoComponent-Bua6s_a8.js.map → StepCollectMilitaryPersonalInfoComponent-DFcB0eRp.js.map} +1 -1
  144. package/chunk/{StepCollectMilitaryPersonalInfoComponent-DdBJUxca.js → StepCollectMilitaryPersonalInfoComponent-DZEJALRJ.js} +19 -19
  145. package/chunk/{StepCollectMilitaryPersonalInfoComponent-DdBJUxca.js.map → StepCollectMilitaryPersonalInfoComponent-DZEJALRJ.js.map} +1 -1
  146. package/chunk/{StepCollectPersonalInfo-jfTqjqFG.js → StepCollectPersonalInfo-BZNpqvPl.js} +28 -28
  147. package/chunk/{StepCollectPersonalInfo-jfTqjqFG.js.map → StepCollectPersonalInfo-BZNpqvPl.js.map} +1 -1
  148. package/chunk/{StepCollectPersonalInfo-BvtS9Yt5.js → StepCollectPersonalInfo-Do2Oo3al.js} +28 -28
  149. package/chunk/{StepCollectPersonalInfo-BvtS9Yt5.js.map → StepCollectPersonalInfo-Do2Oo3al.js.map} +1 -1
  150. package/chunk/StepCompleteAuthentication-CAXDVjfM.js +4 -4
  151. package/chunk/StepCompleteAuthentication-fSePWmI2.js +4 -4
  152. package/chunk/{StepConsolation-BzM6ZSZl.js → StepConsolation-C0CDNg9g.js} +5 -5
  153. package/chunk/{StepConsolation-BzM6ZSZl.js.map → StepConsolation-C0CDNg9g.js.map} +1 -1
  154. package/chunk/{StepConsolation-DtWm467M.js → StepConsolation-CW3bbf0v.js} +5 -5
  155. package/chunk/{StepConsolation-DtWm467M.js.map → StepConsolation-CW3bbf0v.js.map} +1 -1
  156. package/chunk/{StepDocUpload-DPKdJayx.js → StepDocUpload-B8UhnURU.js} +6 -6
  157. package/chunk/{StepDocUpload-DPKdJayx.js.map → StepDocUpload-B8UhnURU.js.map} +1 -1
  158. package/chunk/{StepDocUpload-DJSGj_Xx.js → StepDocUpload-BUA9g9FU.js} +6 -6
  159. package/chunk/{StepDocUpload-DJSGj_Xx.js.map → StepDocUpload-BUA9g9FU.js.map} +1 -1
  160. package/chunk/{StepDriverLicensePersonalInfoComponent-DW79azPE.js → StepDriverLicensePersonalInfoComponent-QHUPNwTm.js} +12 -12
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-DD12VCS5.js.map → StepDriverLicensePersonalInfoComponent-QHUPNwTm.js.map} +1 -1
  162. package/chunk/{StepDriverLicensePersonalInfoComponent-DD12VCS5.js → StepDriverLicensePersonalInfoComponent-xbgdkdJ9.js} +12 -12
  163. package/chunk/{StepDriverLicensePersonalInfoComponent-DW79azPE.js.map → StepDriverLicensePersonalInfoComponent-xbgdkdJ9.js.map} +1 -1
  164. package/chunk/{StepEmailLoop-BsakTkbE.js → StepEmailLoop-CYEaZvkL.js} +6 -6
  165. package/chunk/{StepEmailLoop-sJlkxGDi.js.map → StepEmailLoop-CYEaZvkL.js.map} +1 -1
  166. package/chunk/{StepEmailLoop-sJlkxGDi.js → StepEmailLoop-DBvLdmaS.js} +6 -6
  167. package/chunk/{StepEmailLoop-BsakTkbE.js.map → StepEmailLoop-DBvLdmaS.js.map} +1 -1
  168. package/chunk/{StepEmploymentPersonalInfo-suIqTFkl.js → StepEmploymentPersonalInfo-CHxuA3-F.js} +16 -16
  169. package/chunk/{StepEmploymentPersonalInfo-Bv0ChHIP.js.map → StepEmploymentPersonalInfo-CHxuA3-F.js.map} +1 -1
  170. package/chunk/{StepEmploymentPersonalInfo-Bv0ChHIP.js → StepEmploymentPersonalInfo-DBPw56cH.js} +16 -16
  171. package/chunk/{StepEmploymentPersonalInfo-suIqTFkl.js.map → StepEmploymentPersonalInfo-DBPw56cH.js.map} +1 -1
  172. package/chunk/{StepFirstResponderPersonalInfo-DVIoMPtw.js → StepFirstResponderPersonalInfo-CXAzena6.js} +16 -16
  173. package/chunk/{StepFirstResponderPersonalInfo-BPHG4Qvi.js.map → StepFirstResponderPersonalInfo-CXAzena6.js.map} +1 -1
  174. package/chunk/{StepFirstResponderPersonalInfo-BPHG4Qvi.js → StepFirstResponderPersonalInfo-CgdMFdXw.js} +16 -16
  175. package/chunk/{StepFirstResponderPersonalInfo-DVIoMPtw.js.map → StepFirstResponderPersonalInfo-CgdMFdXw.js.map} +1 -1
  176. package/chunk/{StepGeneralIdentityPersonalInfoComponent-B4Ihannk.js → StepGeneralIdentityPersonalInfoComponent-BmQhE_2E.js} +15 -15
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-B4Ihannk.js.map → StepGeneralIdentityPersonalInfoComponent-BmQhE_2E.js.map} +1 -1
  178. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D_Jbv0TB.js → StepGeneralIdentityPersonalInfoComponent-OPtG-bjj.js} +15 -15
  179. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D_Jbv0TB.js.map → StepGeneralIdentityPersonalInfoComponent-OPtG-bjj.js.map} +1 -1
  180. package/chunk/{StepHybridIdentityPersonalInfoComponent-BRoFgz3j.js → StepHybridIdentityPersonalInfoComponent-B-lMMGHk.js} +16 -16
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-BI86Ir0h.js.map → StepHybridIdentityPersonalInfoComponent-B-lMMGHk.js.map} +1 -1
  182. package/chunk/{StepHybridIdentityPersonalInfoComponent-BI86Ir0h.js → StepHybridIdentityPersonalInfoComponent-C3dF2yNR.js} +16 -16
  183. package/chunk/{StepHybridIdentityPersonalInfoComponent-BRoFgz3j.js.map → StepHybridIdentityPersonalInfoComponent-C3dF2yNR.js.map} +1 -1
  184. package/chunk/{StepIDCheckLoop-COXmkck3.js → StepIDCheckLoop-BgH_F8HE.js} +5 -5
  185. package/chunk/{StepIDCheckLoop-COXmkck3.js.map → StepIDCheckLoop-BgH_F8HE.js.map} +1 -1
  186. package/chunk/{StepIDCheckLoop-DSFI1tDj.js → StepIDCheckLoop-CO3AmYRx.js} +5 -5
  187. package/chunk/{StepIDCheckLoop-DSFI1tDj.js.map → StepIDCheckLoop-CO3AmYRx.js.map} +1 -1
  188. package/chunk/{StepIDCheckLoopOnfido-Lp3-oGsg.js → StepIDCheckLoopOnfido-BA0RF4kB.js} +7 -7
  189. package/chunk/{StepIDCheckLoopOnfido-gMK2vBo_.js.map → StepIDCheckLoopOnfido-BA0RF4kB.js.map} +1 -1
  190. package/chunk/{StepIDCheckLoopOnfido-gMK2vBo_.js → StepIDCheckLoopOnfido-BB6qeJxs.js} +7 -7
  191. package/chunk/{StepIDCheckLoopOnfido-Lp3-oGsg.js.map → StepIDCheckLoopOnfido-BB6qeJxs.js.map} +1 -1
  192. package/chunk/{StepIDCheckLoopRegula-DplfJA_I.js → StepIDCheckLoopRegula-CP4kyaPE.js} +6 -6
  193. package/chunk/{StepIDCheckLoopRegula-DplfJA_I.js.map → StepIDCheckLoopRegula-CP4kyaPE.js.map} +1 -1
  194. package/chunk/{StepIDCheckLoopRegula-uHxs-9bH.js → StepIDCheckLoopRegula-gCWjFZ1c.js} +6 -6
  195. package/chunk/{StepIDCheckLoopRegula-uHxs-9bH.js.map → StepIDCheckLoopRegula-gCWjFZ1c.js.map} +1 -1
  196. package/chunk/{StepLicensedProfessionalPersonalInfo-BpfcMlKr.js → StepLicensedProfessionalPersonalInfo-CtiRAu5Q.js} +16 -16
  197. package/chunk/{StepLicensedProfessionalPersonalInfo-BpfcMlKr.js.map → StepLicensedProfessionalPersonalInfo-CtiRAu5Q.js.map} +1 -1
  198. package/chunk/{StepLicensedProfessionalPersonalInfo-k9CRRiiG.js → StepLicensedProfessionalPersonalInfo-D5w28Ml7.js} +16 -16
  199. package/chunk/{StepLicensedProfessionalPersonalInfo-k9CRRiiG.js.map → StepLicensedProfessionalPersonalInfo-D5w28Ml7.js.map} +1 -1
  200. package/chunk/{StepLowIncomePersonalInfo-CnLqiL6q.js → StepLowIncomePersonalInfo-B_ICi1vE.js} +18 -18
  201. package/chunk/{StepLowIncomePersonalInfo-BNZv-tjx.js.map → StepLowIncomePersonalInfo-B_ICi1vE.js.map} +1 -1
  202. package/chunk/{StepLowIncomePersonalInfo-BNZv-tjx.js → StepLowIncomePersonalInfo-CxLlkaQI.js} +18 -18
  203. package/chunk/{StepLowIncomePersonalInfo-CnLqiL6q.js.map → StepLowIncomePersonalInfo-CxLlkaQI.js.map} +1 -1
  204. package/chunk/{StepMedicalProfessionalPersonalInfo-UfzCIS1w.js → StepMedicalProfessionalPersonalInfo-DI80bZwP.js} +17 -17
  205. package/chunk/{StepMedicalProfessionalPersonalInfo-Ctpgowj4.js.map → StepMedicalProfessionalPersonalInfo-DI80bZwP.js.map} +1 -1
  206. package/chunk/{StepMedicalProfessionalPersonalInfo-Ctpgowj4.js → StepMedicalProfessionalPersonalInfo-DyruYiy2.js} +17 -17
  207. package/chunk/{StepMedicalProfessionalPersonalInfo-UfzCIS1w.js.map → StepMedicalProfessionalPersonalInfo-DyruYiy2.js.map} +1 -1
  208. package/chunk/{StepMemberPersonalInfo-BmATZoU7.js → StepMemberPersonalInfo-6gRdCmdv.js} +14 -14
  209. package/chunk/{StepMemberPersonalInfo-6xkH7L0e.js.map → StepMemberPersonalInfo-6gRdCmdv.js.map} +1 -1
  210. package/chunk/{StepMemberPersonalInfo-6xkH7L0e.js → StepMemberPersonalInfo-D4RikSDS.js} +14 -14
  211. package/chunk/{StepMemberPersonalInfo-BmATZoU7.js.map → StepMemberPersonalInfo-D4RikSDS.js.map} +1 -1
  212. package/chunk/{StepMoverPersonalInfo-1VosoVuo.js → StepMoverPersonalInfo-C_lyCZpB.js} +12 -12
  213. package/chunk/{StepMoverPersonalInfo-1VosoVuo.js.map → StepMoverPersonalInfo-C_lyCZpB.js.map} +1 -1
  214. package/chunk/{StepMoverPersonalInfo-fZUBQWHB.js → StepMoverPersonalInfo-DmXIiQlP.js} +12 -12
  215. package/chunk/{StepMoverPersonalInfo-fZUBQWHB.js.map → StepMoverPersonalInfo-DmXIiQlP.js.map} +1 -1
  216. package/chunk/{StepOverrideComponent-CMAmNPIe.js → StepOverrideComponent-Cp4RzSKA.js} +6 -6
  217. package/chunk/{StepOverrideComponent-CMAmNPIe.js.map → StepOverrideComponent-Cp4RzSKA.js.map} +1 -1
  218. package/chunk/{StepOverrideComponent-Dmt-WciT.js → StepOverrideComponent-D5izbAc2.js} +6 -6
  219. package/chunk/{StepOverrideComponent-Dmt-WciT.js.map → StepOverrideComponent-D5izbAc2.js.map} +1 -1
  220. package/chunk/{StepSMSLoop-LVAYiICR.js → StepSMSLoop-B5BkTp8F.js} +5 -5
  221. package/chunk/{StepSMSLoop-Bnf5GjIm.js.map → StepSMSLoop-B5BkTp8F.js.map} +1 -1
  222. package/chunk/{StepSMSLoop-Bnf5GjIm.js → StepSMSLoop-CKMnnm4p.js} +5 -5
  223. package/chunk/{StepSMSLoop-LVAYiICR.js.map → StepSMSLoop-CKMnnm4p.js.map} +1 -1
  224. package/chunk/StepSSO-BGHCbduX.js +4 -4
  225. package/chunk/StepSSO-ZHByQpHa.js +4 -4
  226. package/chunk/{StepSocialSecurityNumber-CTRDBdH9.js → StepSocialSecurityNumber-CGXxgJoR.js} +7 -7
  227. package/chunk/{StepSocialSecurityNumber-CTRDBdH9.js.map → StepSocialSecurityNumber-CGXxgJoR.js.map} +1 -1
  228. package/chunk/{StepSocialSecurityNumber-CePt_saJ.js → StepSocialSecurityNumber-CW4kSRvC.js} +7 -7
  229. package/chunk/{StepSocialSecurityNumber-CePt_saJ.js.map → StepSocialSecurityNumber-CW4kSRvC.js.map} +1 -1
  230. package/chunk/{StepStudentPersonalInfo-6Fn0o2ER.js → StepStudentPersonalInfo-Cw1sTkMu.js} +15 -15
  231. package/chunk/{StepStudentPersonalInfo-6Fn0o2ER.js.map → StepStudentPersonalInfo-Cw1sTkMu.js.map} +1 -1
  232. package/chunk/{StepStudentPersonalInfo-CiP5XfD-.js → StepStudentPersonalInfo-DCa9wle2.js} +15 -15
  233. package/chunk/{StepStudentPersonalInfo-CiP5XfD-.js.map → StepStudentPersonalInfo-DCa9wle2.js.map} +1 -1
  234. package/chunk/{StepSuccess-3BQd18Xa.js → StepSuccess-BxjVpHbu.js} +5 -5
  235. package/chunk/{StepSuccess-3BQd18Xa.js.map → StepSuccess-BxjVpHbu.js.map} +1 -1
  236. package/chunk/{StepSuccess-BWnyjfgs.js → StepSuccess-DBgN-lHs.js} +5 -5
  237. package/chunk/{StepSuccess-BWnyjfgs.js.map → StepSuccess-DBgN-lHs.js.map} +1 -1
  238. package/chunk/{StepTeacherPersonalInfo-BuwILlow.js → StepTeacherPersonalInfo-BUuP8L15.js} +15 -15
  239. package/chunk/{StepTeacherPersonalInfo-BuwILlow.js.map → StepTeacherPersonalInfo-BUuP8L15.js.map} +1 -1
  240. package/chunk/{StepTeacherPersonalInfo-DTV0xCd8.js → StepTeacherPersonalInfo-CHdZA3pG.js} +15 -15
  241. package/chunk/{StepTeacherPersonalInfo-DTV0xCd8.js.map → StepTeacherPersonalInfo-CHdZA3pG.js.map} +1 -1
  242. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
  243. package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
  244. package/chunk/{TeacherSchoolComponent-CMic-i-m.js → TeacherSchoolComponent-DI51ulSO.js} +6 -6
  245. package/chunk/{TeacherSchoolComponent-0fyKMosi.js.map → TeacherSchoolComponent-DI51ulSO.js.map} +1 -1
  246. package/chunk/{TeacherSchoolComponent-0fyKMosi.js → TeacherSchoolComponent-DdqM9CAG.js} +6 -6
  247. package/chunk/{TeacherSchoolComponent-CMic-i-m.js.map → TeacherSchoolComponent-DdqM9CAG.js.map} +1 -1
  248. package/chunk/TestingRouteOverrides-D4n0RZk2.js +4 -4
  249. package/chunk/TestingRouteOverrides-uUJqRbL9.js +4 -4
  250. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  251. package/chunk/ar-D5CO913q.js +4 -4
  252. package/chunk/bg-1mhA5kYF.js +4 -4
  253. package/chunk/bn-IN-CpDqyRb_.js +4 -4
  254. package/chunk/clsx-CB5rauS5.js +27 -0
  255. package/chunk/clsx-CB5rauS5.js.map +1 -0
  256. package/chunk/countryUtils-D0YJQD1a.js +4 -4
  257. package/chunk/countryUtils-_E2yHebn.js +4 -4
  258. package/chunk/cs-Chh7FAGt.js +4 -4
  259. package/chunk/da-DwrVoxto.js +4 -4
  260. package/chunk/de-IWGZLhgY.js +4 -4
  261. package/chunk/{downshift.esm-F7uFMa03.js → downshift.esm--vh-uk_K.js} +5 -5
  262. package/chunk/{downshift.esm-F7uFMa03.js.map → downshift.esm--vh-uk_K.js.map} +1 -1
  263. package/chunk/{downshift.esm-BrU6PpG0.js → downshift.esm-ykrV7LvO.js} +5 -5
  264. package/chunk/{downshift.esm-BrU6PpG0.js.map → downshift.esm-ykrV7LvO.js.map} +1 -1
  265. package/chunk/el-DbDcvSPJ.js +4 -4
  266. package/chunk/empties-BOZDJKb1.js +4 -4
  267. package/chunk/empties-zYUS2tEa.js +4 -4
  268. package/chunk/en-GB-BBkjjtqq.js +4 -4
  269. package/chunk/es-ES-DWimqEZ_.js +4 -4
  270. package/chunk/es-qhC-seq5.js +4 -4
  271. package/chunk/et-yF9G-Mym.js +4 -4
  272. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  273. package/chunk/fa-BcdSf7og.js +4 -4
  274. package/chunk/fi-D-IP_KHm.js +4 -4
  275. package/chunk/fr-BmUuYxk0.js +4 -4
  276. package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
  277. package/chunk/ga-DuZycND3.js +4 -4
  278. package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
  279. package/chunk/hooks-DPmC5aMQ.js +4 -4
  280. package/chunk/hooks-DY9jekmV.js +4 -4
  281. package/chunk/hr-BtqyDzDB.js +4 -4
  282. package/chunk/hu-C6syKJfb.js +4 -4
  283. package/chunk/id-GgI-Z2a5.js +4 -4
  284. package/chunk/intl-DwZU2l1o.js +4 -4
  285. package/chunk/is-CvmKEON9.js +4 -4
  286. package/chunk/it-CnmveGgC.js +4 -4
  287. package/chunk/iw-DFUYHkxF.js +4 -4
  288. package/chunk/ja-CjVb2tWW.js +4 -4
  289. package/chunk/jsx-runtime-DmTh-fvV.js +4 -4
  290. package/chunk/jsx-runtime-n0jD1uEy.js +4 -4
  291. package/chunk/kk-Dvz4nK6K.js +4 -4
  292. package/chunk/ko-DzOqBMGC.js +4 -4
  293. package/chunk/lo-C2WPq55d.js +4 -4
  294. package/chunk/lt-BSDYvjTF.js +4 -4
  295. package/chunk/lv-CefDPT-M.js +4 -4
  296. package/chunk/mocks-C69Rqq8D.js +4 -4
  297. package/chunk/mocks-CvUvRHV_.js +4 -4
  298. package/chunk/ms-BjestZxy.js +4 -4
  299. package/chunk/nl-B1FyUfCT.js +4 -4
  300. package/chunk/nl-BE-CbeAd3nq.js +4 -4
  301. package/chunk/no-Dr633Ddi.js +4 -4
  302. package/chunk/options-kkjACM14.js +4 -4
  303. package/chunk/pl-UYTjMIq_.js +4 -4
  304. package/chunk/programThemeGetters-CZMLVLDB.js +4 -4
  305. package/chunk/programThemeGetters-rty9XxxN.js +4 -4
  306. package/chunk/pt-BR-C8SYMT-J.js +4 -4
  307. package/chunk/pt-uH-M3GdN.js +4 -4
  308. package/chunk/refs-D3MifwJO.js +4 -4
  309. package/chunk/refs-DC2-V94e.js +4 -4
  310. package/chunk/ro-CAOSXZ7h.js +4 -4
  311. package/chunk/ru-iwYoEydL.js +4 -4
  312. package/chunk/sk-DYYNV3zw.js +4 -4
  313. package/chunk/sl-D_-eeM5N.js +4 -4
  314. package/chunk/sr-BTi9_anL.js +4 -4
  315. package/chunk/stepComponentHelpers-BhSQbOUm.js +4 -4
  316. package/chunk/stepComponentHelpers-DN6dYb4A.js +4 -4
  317. package/chunk/strings-DWLVdUcm.js +4 -4
  318. package/chunk/sv-DRwY4shG.js +4 -4
  319. package/chunk/sw-Bvj2mYmM.js +4 -4
  320. package/chunk/ta-CmtaYoNe.js +4 -4
  321. package/chunk/th-12r2yKkJ.js +4 -4
  322. package/chunk/tl-BGNfO7md.js +4 -4
  323. package/chunk/tr-DH2ZSJhs.js +4 -4
  324. package/chunk/uk-CELBZlTd.js +4 -4
  325. package/chunk/ur-MR8DTbmd.js +4 -4
  326. package/chunk/{useCollectFieldsEndpoint-BcrK0rvs.js → useCollectFieldsEndpoint-CN2icks6.js} +6 -6
  327. package/chunk/{useCollectFieldsEndpoint-DtO-lpSi.js.map → useCollectFieldsEndpoint-CN2icks6.js.map} +1 -1
  328. package/chunk/{useCollectFieldsEndpoint-DtO-lpSi.js → useCollectFieldsEndpoint-CkXsQoYj.js} +6 -6
  329. package/chunk/{useCollectFieldsEndpoint-BcrK0rvs.js.map → useCollectFieldsEndpoint-CkXsQoYj.js.map} +1 -1
  330. package/chunk/useMetrics-Bd0EhnNL.js +4 -4
  331. package/chunk/useMetrics-h8PVjepD.js +4 -4
  332. package/chunk/vi-DtZ-SqD5.js +4 -4
  333. package/chunk/zh-DjyVyYac.js +4 -4
  334. package/chunk/zh-HK-CN1HarHq.js +4 -4
  335. package/chunk/zu-DPhgIh1z.js +4 -4
  336. package/package.json +1 -1
  337. package/sheerid-install.css +4 -4
  338. package/sheerid-install.js +4 -4
  339. package/sheerid.css +4 -4
  340. package/sheerid.js +36 -36
  341. package/chunk/ChangeLocaleComponent-B7y1PVqW.js.map +0 -1
  342. package/chunk/ChangeLocaleComponent-BwvDPfmo.js.map +0 -1
@@ -4,37 +4,38 @@
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.282.0
8
- * BUILD_TIMESTAMP: 1789082039987
9
- * BUILD_DATE: Thu Sep 10 2026 23:13:59 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 908c0b78a9ca6ec85dd5411d16352a8d7c6b1181
7
+ * VERSION: 2.283.0
8
+ * BUILD_TIMESTAMP: 1789491616257
9
+ * BUILD_DATE: Tue Sep 15 2026 17:00:16 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 3d15a02db4caf4d52123bea847235a8fe8f053dd
11
11
  */
12
12
  import { Gt as e, Ut as t, Vt as n, ft as r, g as i, h as a, s as o, st as s, t as c, x as l, z as u, zt as d } from "./intl-DwZU2l1o.js";
13
13
  import { c as f, n as p, t as m } from "./jsx-runtime-DmTh-fvV.js";
14
- import { O as h, n as g, r as _ } from "./Message-CJbueAGg.js";
14
+ import { O as h, n as g, r as _ } from "./Message-Co4QmwXx.js";
15
15
  import { t as v } from "./hooks-DY9jekmV.js";
16
16
  import { o as y } from "./refs-DC2-V94e.js";
17
17
  import { t as b } from "./strings-DWLVdUcm.js";
18
- import { C as x, D as S, E as C, P as w, S as T, T as E, _ as D, b as O, c as k, d as A, f as j, g as M, h as N, l as P, m as F, p as I, r as L, s as R, u as z, v as B, w as V, x as H, y as U } from "../_mysheerid-preview.js";
19
- import { v as W } from "./stepComponentHelpers-DN6dYb4A.js";
20
- import { n as ee, t as te } from "./FormFieldLayout-CfcTWF4b.js";
21
- import { t as G } from "./downshift.esm-BrU6PpG0.js";
22
- import { a as K, o as ne } from "./useMetrics-Bd0EhnNL.js";
23
- import { t as re } from "./countryUtils-_E2yHebn.js";
18
+ import { C as x, D as S, E as C, P as w, S as T, T as E, _ as D, b as O, c as k, d as A, f as j, g as M, h as N, l as P, m as F, p as ee, r as I, s as L, u as R, v as z, w as B, x as V, y as H } from "../_mysheerid-preview.js";
19
+ import { v as U } from "./stepComponentHelpers-DN6dYb4A.js";
20
+ import { n as te, t as ne } from "./FormFieldLayout-CfcTWF4b.js";
21
+ import { t as re } from "./downshift.esm-ykrV7LvO.js";
22
+ import { t as ie } from "./clsx-CB5rauS5.js";
23
+ import { a as W, o as ae } from "./useMetrics-Bd0EhnNL.js";
24
+ import { t as oe } from "./countryUtils-_E2yHebn.js";
24
25
  //#region ../packages/org-search/src/SearchOverlay/context.ts
25
- var q = /* @__PURE__ */ e(f(), 1), ie = (0, q.createContext)({
26
+ var G = /* @__PURE__ */ e(f(), 1), se = (0, G.createContext)({
26
27
  showOverlay: !1,
27
28
  setShowOverlay: () => void 0
28
- }), ae = () => (0, q.useContext)(ie), oe = (0, q.createContext)(null), se = () => (0, q.useContext)(oe);
29
+ }), ce = () => (0, G.useContext)(se), le = (0, G.createContext)(null), ue = () => (0, G.useContext)(le);
29
30
  //#endregion
30
31
  //#region ../packages/org-search/src/hooks/useGeoLocation.ts
31
- function ce() {
32
- let [e, t] = (0, q.useState)(null), [n, r] = (0, q.useState)(null), [i, a] = (0, q.useState)(!1);
32
+ function de() {
33
+ let [e, t] = (0, G.useState)(null), [n, r] = (0, G.useState)(null), [i, a] = (0, G.useState)(!1);
33
34
  return {
34
35
  location: e,
35
36
  error: n,
36
37
  loading: i,
37
- requestLocation: (0, q.useCallback)(() => (a(!0), r(null), new Promise((e, n) => {
38
+ requestLocation: (0, G.useCallback)(() => (a(!0), r(null), new Promise((e, n) => {
38
39
  navigator.geolocation.getCurrentPosition((n) => {
39
40
  let r = {
40
41
  latitude: n.coords.latitude,
@@ -53,15 +54,15 @@ function ce() {
53
54
  }
54
55
  //#endregion
55
56
  //#region ../packages/org-search/src/SearchRanking/SearchRankingProvider.tsx
56
- var J = m(), le = ({ children: e }) => {
57
- let [t, n] = (0, q.useState)("relevance"), [r, i] = (0, q.useState)(null), [a, o] = (0, q.useState)(!1), s = ce(), c = (0, q.useCallback)(async () => {
57
+ var K = m(), fe = ({ children: e }) => {
58
+ let [t, n] = (0, G.useState)("relevance"), [r, i] = (0, G.useState)(null), [a, o] = (0, G.useState)(!1), s = de(), c = (0, G.useCallback)(async () => {
58
59
  try {
59
60
  let e = await s.requestLocation();
60
61
  return i(e), o(!1), e;
61
62
  } catch {
62
63
  throw o(!0), Error("Location denied");
63
64
  }
64
- }, [s]), l = (0, q.useMemo)(() => ({
65
+ }, [s]), l = (0, G.useMemo)(() => ({
65
66
  sortMode: t,
66
67
  userLocation: r,
67
68
  locationDenied: a,
@@ -73,12 +74,12 @@ var J = m(), le = ({ children: e }) => {
73
74
  a,
74
75
  c
75
76
  ]);
76
- return /* @__PURE__ */ (0, J.jsx)(oe.Provider, {
77
+ return /* @__PURE__ */ (0, K.jsx)(le.Provider, {
77
78
  value: l,
78
79
  children: e
79
80
  });
80
- }, ue = "button, a[href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])", de = ({ children: e, enabled: t, closeSectionLabel: n }) => {
81
- let [r, i] = (0, q.useState)(!1), a = (0, q.useRef)(null), o = t && r, s = (0, q.useRef)(0), c = (e) => {
81
+ }, pe = "button, a[href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])", me = ({ children: e, enabled: t, closeSectionLabel: n }) => {
82
+ let [r, i] = (0, G.useState)(!1), a = (0, G.useRef)(null), o = t && r, s = (0, G.useRef)(0), c = (e) => {
82
83
  if (!t) return;
83
84
  let n = window !== window.top;
84
85
  if (e && r === !1) {
@@ -92,41 +93,41 @@ var J = m(), le = ({ children: e }) => {
92
93
  }
93
94
  !e && r && (document.body.style.overflow = "", document.body.style.backgroundColor = "", window.scrollTo({ top: s.current }), n && (document.body.style.height = "")), i(e);
94
95
  };
95
- return (0, q.useEffect)(() => {
96
+ return (0, G.useEffect)(() => {
96
97
  if (!o) return;
97
98
  let e = (e) => {
98
99
  if (e.key !== "Tab") return;
99
100
  let t = a.current;
100
101
  if (!t) return;
101
- let n = t.querySelectorAll(ue), r = n[0], i = n[n.length - 1];
102
+ let n = t.querySelectorAll(pe), r = n[0], i = n[n.length - 1];
102
103
  e.shiftKey && document.activeElement === r ? (e.preventDefault(), i?.focus()) : !e.shiftKey && document.activeElement === i && (e.preventDefault(), r?.focus());
103
104
  };
104
105
  return document.addEventListener("keydown", e, !0), () => document.removeEventListener("keydown", e, !0);
105
- }, [o]), t ? /* @__PURE__ */ (0, J.jsx)(ie.Provider, {
106
+ }, [o]), t ? /* @__PURE__ */ (0, K.jsx)(se.Provider, {
106
107
  value: {
107
108
  showOverlay: o,
108
109
  setShowOverlay: c
109
110
  },
110
- children: /* @__PURE__ */ (0, J.jsx)(le, { children: /* @__PURE__ */ (0, J.jsx)("div", {
111
+ children: /* @__PURE__ */ (0, K.jsx)(fe, { children: /* @__PURE__ */ (0, K.jsx)("div", {
111
112
  className: o ? "sid-search-overlay__overlay" : void 0,
112
- children: /* @__PURE__ */ (0, J.jsxs)("div", {
113
+ children: /* @__PURE__ */ (0, K.jsxs)("div", {
113
114
  className: o ? "sid-search-overlay__container" : void 0,
114
115
  ref: a,
115
- children: [o && /* @__PURE__ */ (0, J.jsx)("button", {
116
+ children: [o && /* @__PURE__ */ (0, K.jsx)("button", {
116
117
  className: "sid-search-overlay__close",
117
118
  onClick: () => c(!1),
118
119
  children: n
119
120
  }), e]
120
121
  })
121
122
  }) })
122
- }) : /* @__PURE__ */ (0, J.jsx)(J.Fragment, { children: e });
123
- }, fe = ({ org: e, onClear: t, clearSelectionLabel: n, labelId: r }) => {
124
- let i = (0, q.useRef)(null), a = [e.city, e.state].filter(Boolean).join(", "), o = [e.name, a].filter(Boolean).join(", ");
125
- return (0, q.useEffect)(() => {
123
+ }) : /* @__PURE__ */ (0, K.jsx)(K.Fragment, { children: e });
124
+ }, he = ({ org: e, onClear: t, clearSelectionLabel: n, labelId: r }) => {
125
+ let i = (0, G.useRef)(null), a = [e.city, e.state].filter(Boolean).join(", "), o = [e.name, a].filter(Boolean).join(", ");
126
+ return (0, G.useEffect)(() => {
126
127
  i.current?.focus();
127
- }, []), /* @__PURE__ */ (0, J.jsxs)("div", {
128
+ }, []), /* @__PURE__ */ (0, K.jsxs)("div", {
128
129
  className: "sid-selected-org__wrapper",
129
- children: [/* @__PURE__ */ (0, J.jsx)("input", {
130
+ children: [/* @__PURE__ */ (0, K.jsx)("input", {
130
131
  ref: i,
131
132
  className: "sid-h-screen-reader-only",
132
133
  type: "text",
@@ -134,16 +135,16 @@ var J = m(), le = ({ children: e }) => {
134
135
  "aria-labelledby": r,
135
136
  "aria-expanded": !1,
136
137
  value: o
137
- }), /* @__PURE__ */ (0, J.jsxs)("div", {
138
+ }), /* @__PURE__ */ (0, K.jsxs)("div", {
138
139
  className: "sid-selected-org__container",
139
- children: [/* @__PURE__ */ (0, J.jsxs)("div", {
140
+ children: [/* @__PURE__ */ (0, K.jsxs)("div", {
140
141
  className: "sid-selected-org__name",
141
142
  "aria-hidden": "true",
142
- children: [e.name, a && /* @__PURE__ */ (0, J.jsx)("span", {
143
+ children: [e.name, a && /* @__PURE__ */ (0, K.jsx)("span", {
143
144
  className: "sid-selected-org__location",
144
145
  children: a
145
146
  })]
146
- }), /* @__PURE__ */ (0, J.jsx)("button", {
147
+ }), /* @__PURE__ */ (0, K.jsx)("button", {
147
148
  className: "sid-selected-org__clear",
148
149
  "aria-label": n,
149
150
  onClick: t,
@@ -151,28 +152,28 @@ var J = m(), le = ({ children: e }) => {
151
152
  })]
152
153
  })]
153
154
  });
154
- }, pe = 6371;
155
- function me(e, t, n, r) {
155
+ }, ge = 6371;
156
+ function _e(e, t, n, r) {
156
157
  let i = (e) => e * Math.PI / 180, a = i(n - e), o = i(r - t), s = Math.sin(a / 2) * Math.sin(a / 2) + Math.cos(i(e)) * Math.cos(i(n)) * Math.sin(o / 2) * Math.sin(o / 2);
157
- return pe * (2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s)));
158
+ return ge * (2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s)));
158
159
  }
159
- var he = ["en-us", "en-gb"];
160
- function ge(e) {
161
- return he.includes(e.toLowerCase()) ? "miles" : "kilometers";
160
+ var ve = ["en-us", "en-gb"];
161
+ function ye(e) {
162
+ return ve.includes(e.toLowerCase()) ? "miles" : "kilometers";
162
163
  }
163
- function _e(e, t) {
164
+ function be(e, t) {
164
165
  let n = t === "miles" ? "mi" : "km", r = t === "miles" ? e * .621371 : e, i = Math.round(r * 10) / 10;
165
166
  return i >= 10 ? `${Math.round(r)} ${n}` : `${i} ${n}`;
166
167
  }
167
168
  //#endregion
168
169
  //#region ../node_modules/@radix-ui/react-collection/dist/index.mjs
169
- function ve(e) {
170
- let t = e + "CollectionProvider", [n, r] = V(t), [i, a] = n(t, {
170
+ function xe(e) {
171
+ let t = e + "CollectionProvider", [n, r] = B(t), [i, a] = n(t, {
171
172
  collectionRef: { current: null },
172
173
  itemMap: /* @__PURE__ */ new Map()
173
174
  }), o = (e) => {
174
- let { scope: t, children: n } = e, r = q.useRef(null), a = q.useRef(/* @__PURE__ */ new Map()).current;
175
- return /* @__PURE__ */ (0, J.jsx)(i, {
175
+ let { scope: t, children: n } = e, r = G.useRef(null), a = G.useRef(/* @__PURE__ */ new Map()).current;
176
+ return /* @__PURE__ */ (0, K.jsx)(i, {
176
177
  scope: t,
177
178
  itemMap: a,
178
179
  collectionRef: r,
@@ -180,20 +181,20 @@ function ve(e) {
180
181
  });
181
182
  };
182
183
  o.displayName = t;
183
- let s = e + "CollectionSlot", c = x(s), l = q.forwardRef((e, t) => {
184
+ let s = e + "CollectionSlot", c = x(s), l = G.forwardRef((e, t) => {
184
185
  let { scope: n, children: r } = e;
185
- return /* @__PURE__ */ (0, J.jsx)(c, {
186
+ return /* @__PURE__ */ (0, K.jsx)(c, {
186
187
  ref: C(t, a(s, n).collectionRef),
187
188
  children: r
188
189
  });
189
190
  });
190
191
  l.displayName = s;
191
- let u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = x(u), p = q.forwardRef((e, t) => {
192
- let { scope: n, children: r, ...i } = e, o = q.useRef(null), s = C(t, o), c = a(u, n);
193
- return q.useEffect(() => (c.itemMap.set(o, {
192
+ let u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = x(u), p = G.forwardRef((e, t) => {
193
+ let { scope: n, children: r, ...i } = e, o = G.useRef(null), s = C(t, o), c = a(u, n);
194
+ return G.useEffect(() => (c.itemMap.set(o, {
194
195
  ref: o,
195
196
  ...i
196
- }), () => void c.itemMap.delete(o))), /* @__PURE__ */ (0, J.jsx)(f, {
197
+ }), () => void c.itemMap.delete(o))), /* @__PURE__ */ (0, K.jsx)(f, {
197
198
  [d]: "",
198
199
  ref: s,
199
200
  children: r
@@ -202,7 +203,7 @@ function ve(e) {
202
203
  p.displayName = u;
203
204
  function m(t) {
204
205
  let n = a(e + "CollectionConsumer", t);
205
- return q.useCallback(() => {
206
+ return G.useCallback(() => {
206
207
  let e = n.collectionRef.current;
207
208
  if (!e) return [];
208
209
  let t = Array.from(e.querySelectorAll(`[${d}]`));
@@ -221,48 +222,48 @@ function ve(e) {
221
222
  }
222
223
  //#endregion
223
224
  //#region ../node_modules/@radix-ui/react-direction/dist/index.mjs
224
- var ye = q.createContext(void 0);
225
- function be(e) {
226
- let t = q.useContext(ye);
225
+ var Se = G.createContext(void 0);
226
+ function Ce(e) {
227
+ let t = G.useContext(Se);
227
228
  return e || t || "ltr";
228
229
  }
229
230
  //#endregion
230
231
  //#region ../node_modules/@radix-ui/react-roving-focus/dist/index.mjs
231
- var xe = "rovingFocusGroup.onEntryFocus", Se = {
232
+ var we = "rovingFocusGroup.onEntryFocus", Te = {
232
233
  bubbles: !1,
233
234
  cancelable: !0
234
- }, Y = "RovingFocusGroup", [Ce, we, Te] = ve(Y), [Ee, De] = V(Y, [Te]), [Oe, ke] = Ee(Y), Ae = q.forwardRef((e, t) => /* @__PURE__ */ (0, J.jsx)(Ce.Provider, {
235
+ }, q = "RovingFocusGroup", [Ee, De, Oe] = xe(q), [ke, Ae] = B(q, [Oe]), [je, Me] = ke(q), Ne = G.forwardRef((e, t) => /* @__PURE__ */ (0, K.jsx)(Ee.Provider, {
235
236
  scope: e.__scopeRovingFocusGroup,
236
- children: /* @__PURE__ */ (0, J.jsx)(Ce.Slot, {
237
+ children: /* @__PURE__ */ (0, K.jsx)(Ee.Slot, {
237
238
  scope: e.__scopeRovingFocusGroup,
238
- children: /* @__PURE__ */ (0, J.jsx)(je, {
239
+ children: /* @__PURE__ */ (0, K.jsx)(Pe, {
239
240
  ...e,
240
241
  ref: t
241
242
  })
242
243
  })
243
244
  }));
244
- Ae.displayName = Y;
245
- var je = q.forwardRef((e, t) => {
246
- let { __scopeRovingFocusGroup: n, orientation: r, loop: i = !1, dir: a, currentTabStopId: o, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: c, onEntryFocus: l, preventScrollOnEntryFocus: u = !1, ...d } = e, f = q.useRef(null), p = C(t, f), m = be(a), [h, g] = k({
245
+ Ne.displayName = q;
246
+ var Pe = G.forwardRef((e, t) => {
247
+ let { __scopeRovingFocusGroup: n, orientation: r, loop: i = !1, dir: a, currentTabStopId: o, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: c, onEntryFocus: l, preventScrollOnEntryFocus: u = !1, ...d } = e, f = G.useRef(null), p = C(t, f), m = Ce(a), [h, g] = k({
247
248
  prop: o,
248
249
  defaultProp: s ?? null,
249
250
  onChange: c,
250
- caller: Y
251
- }), [_, v] = q.useState(!1), y = O(l), b = we(n), x = q.useRef(!1), [w, T] = q.useState(0);
252
- return q.useEffect(() => {
251
+ caller: q
252
+ }), [_, v] = G.useState(!1), y = O(l), b = De(n), x = G.useRef(!1), [w, T] = G.useState(0);
253
+ return G.useEffect(() => {
253
254
  let e = f.current;
254
- if (e) return e.addEventListener(xe, y), () => e.removeEventListener(xe, y);
255
- }, [y]), /* @__PURE__ */ (0, J.jsx)(Oe, {
255
+ if (e) return e.addEventListener(we, y), () => e.removeEventListener(we, y);
256
+ }, [y]), /* @__PURE__ */ (0, K.jsx)(je, {
256
257
  scope: n,
257
258
  orientation: r,
258
259
  dir: m,
259
260
  loop: i,
260
261
  currentTabStopId: h,
261
- onItemFocus: q.useCallback((e) => g(e), [g]),
262
- onItemShiftTab: q.useCallback(() => v(!0), []),
263
- onFocusableItemAdd: q.useCallback(() => T((e) => e + 1), []),
264
- onFocusableItemRemove: q.useCallback(() => T((e) => e - 1), []),
265
- children: /* @__PURE__ */ (0, J.jsx)(H.div, {
262
+ onItemFocus: G.useCallback((e) => g(e), [g]),
263
+ onItemShiftTab: G.useCallback(() => v(!0), []),
264
+ onFocusableItemAdd: G.useCallback(() => T((e) => e + 1), []),
265
+ onFocusableItemRemove: G.useCallback(() => T((e) => e - 1), []),
266
+ children: /* @__PURE__ */ (0, K.jsx)(V.div, {
266
267
  tabIndex: _ || w === 0 ? -1 : 0,
267
268
  "data-orientation": r,
268
269
  ...d,
@@ -277,10 +278,10 @@ var je = q.forwardRef((e, t) => {
277
278
  onFocus: S(e.onFocus, (e) => {
278
279
  let t = !x.current;
279
280
  if (e.target === e.currentTarget && t && !_) {
280
- let t = new CustomEvent(xe, Se);
281
+ let t = new CustomEvent(we, Te);
281
282
  if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
282
283
  let e = b().filter((e) => e.focusable);
283
- Le([
284
+ Be([
284
285
  e.find((e) => e.active),
285
286
  e.find((e) => e.id === h),
286
287
  ...e
@@ -292,20 +293,20 @@ var je = q.forwardRef((e, t) => {
292
293
  onBlur: S(e.onBlur, () => v(!1))
293
294
  })
294
295
  });
295
- }), Me = "RovingFocusGroupItem", Ne = q.forwardRef((e, t) => {
296
- let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: a, children: o, ...s } = e, c = M(), l = a || c, u = ke(Me, n), d = u.currentTabStopId === l, f = we(n), { onFocusableItemAdd: p, onFocusableItemRemove: m, currentTabStopId: h } = u;
297
- return q.useEffect(() => {
296
+ }), Fe = "RovingFocusGroupItem", Ie = G.forwardRef((e, t) => {
297
+ let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: a, children: o, ...s } = e, c = M(), l = a || c, u = Me(Fe, n), d = u.currentTabStopId === l, f = De(n), { onFocusableItemAdd: p, onFocusableItemRemove: m, currentTabStopId: h } = u;
298
+ return G.useEffect(() => {
298
299
  if (r) return p(), () => m();
299
300
  }, [
300
301
  r,
301
302
  p,
302
303
  m
303
- ]), /* @__PURE__ */ (0, J.jsx)(Ce.ItemSlot, {
304
+ ]), /* @__PURE__ */ (0, K.jsx)(Ee.ItemSlot, {
304
305
  scope: n,
305
306
  id: l,
306
307
  focusable: r,
307
308
  active: i,
308
- children: /* @__PURE__ */ (0, J.jsx)(H.span, {
309
+ children: /* @__PURE__ */ (0, K.jsx)(V.span, {
309
310
  tabIndex: d ? 0 : -1,
310
311
  "data-orientation": u.orientation,
311
312
  ...s,
@@ -320,7 +321,7 @@ var je = q.forwardRef((e, t) => {
320
321
  return;
321
322
  }
322
323
  if (e.target !== e.currentTarget) return;
323
- let t = Ie(e, u.orientation, u.dir);
324
+ let t = ze(e, u.orientation, u.dir);
324
325
  if (t !== void 0) {
325
326
  if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
326
327
  e.preventDefault();
@@ -329,9 +330,9 @@ var je = q.forwardRef((e, t) => {
329
330
  else if (t === "prev" || t === "next") {
330
331
  t === "prev" && n.reverse();
331
332
  let r = n.indexOf(e.currentTarget);
332
- n = u.loop ? Re(n, r + 1) : n.slice(r + 1);
333
+ n = u.loop ? Ve(n, r + 1) : n.slice(r + 1);
333
334
  }
334
- setTimeout(() => Le(n));
335
+ setTimeout(() => Be(n));
335
336
  }
336
337
  }),
337
338
  children: typeof o == "function" ? o({
@@ -341,8 +342,8 @@ var je = q.forwardRef((e, t) => {
341
342
  })
342
343
  });
343
344
  });
344
- Ne.displayName = Me;
345
- var Pe = {
345
+ Ie.displayName = Fe;
346
+ var Le = {
346
347
  ArrowLeft: "prev",
347
348
  ArrowUp: "prev",
348
349
  ArrowRight: "next",
@@ -352,41 +353,41 @@ var Pe = {
352
353
  PageDown: "last",
353
354
  End: "last"
354
355
  };
355
- function Fe(e, t) {
356
+ function Re(e, t) {
356
357
  return t === "rtl" ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
357
358
  }
358
- function Ie(e, t, n) {
359
- let r = Fe(e.key, n);
360
- if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return Pe[r];
359
+ function ze(e, t, n) {
360
+ let r = Re(e.key, n);
361
+ if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return Le[r];
361
362
  }
362
- function Le(e, t = !1) {
363
+ function Be(e, t = !1) {
363
364
  let n = document.activeElement;
364
365
  for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
365
366
  }
366
- function Re(e, t) {
367
+ function Ve(e, t) {
367
368
  return e.map((n, r) => e[(t + r) % e.length]);
368
369
  }
369
- var ze = Ae, Be = Ne, Ve = ["Enter", " "], He = [
370
+ var He = Ne, Ue = Ie, We = ["Enter", " "], Ge = [
370
371
  "ArrowDown",
371
372
  "PageUp",
372
373
  "Home"
373
- ], Ue = [
374
+ ], Ke = [
374
375
  "ArrowUp",
375
376
  "PageDown",
376
377
  "End"
377
- ], We = [...He, ...Ue], Ge = {
378
- ltr: [...Ve, "ArrowRight"],
379
- rtl: [...Ve, "ArrowLeft"]
380
- }, Ke = {
378
+ ], qe = [...Ge, ...Ke], Je = {
379
+ ltr: [...We, "ArrowRight"],
380
+ rtl: [...We, "ArrowLeft"]
381
+ }, Ye = {
381
382
  ltr: ["ArrowLeft"],
382
383
  rtl: ["ArrowRight"]
383
- }, qe = "Menu", [Je, Ye, Xe] = ve(qe), [X, Ze] = V(qe, [
384
- Xe,
384
+ }, J = "Menu", [Y, Xe, Ze] = xe(J), [X, Qe] = B(J, [
385
+ Ze,
385
386
  N,
386
- De
387
- ]), Qe = N(), $e = De(), [et, Z] = X(qe), [tt, nt] = X(qe), rt = (e) => {
388
- let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = Qe(t), [c, l] = q.useState(null), u = q.useRef(!1), d = O(a), f = be(i);
389
- return q.useEffect(() => {
387
+ Ae
388
+ ]), $e = N(), et = Ae(), [tt, Z] = X(J), [nt, rt] = X(J), it = (e) => {
389
+ let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = $e(t), [c, l] = G.useState(null), u = G.useRef(!1), d = O(a), f = Ce(i);
390
+ return G.useEffect(() => {
390
391
  let e = () => {
391
392
  u.current = !0, document.addEventListener("pointerdown", t, {
392
393
  capture: !0,
@@ -399,17 +400,17 @@ var ze = Ae, Be = Ne, Ve = ["Enter", " "], He = [
399
400
  return document.addEventListener("keydown", e, { capture: !0 }), () => {
400
401
  document.removeEventListener("keydown", e, { capture: !0 }), document.removeEventListener("pointerdown", t, { capture: !0 }), document.removeEventListener("pointermove", t, { capture: !0 });
401
402
  };
402
- }, []), /* @__PURE__ */ (0, J.jsx)(F, {
403
+ }, []), /* @__PURE__ */ (0, K.jsx)(F, {
403
404
  ...s,
404
- children: /* @__PURE__ */ (0, J.jsx)(et, {
405
+ children: /* @__PURE__ */ (0, K.jsx)(tt, {
405
406
  scope: t,
406
407
  open: n,
407
408
  onOpenChange: d,
408
409
  content: c,
409
410
  onContentChange: l,
410
- children: /* @__PURE__ */ (0, J.jsx)(tt, {
411
+ children: /* @__PURE__ */ (0, K.jsx)(nt, {
411
412
  scope: t,
412
- onClose: q.useCallback(() => d(!1), [d]),
413
+ onClose: G.useCallback(() => d(!1), [d]),
413
414
  isUsingKeyboardRef: u,
414
415
  dir: f,
415
416
  modal: o,
@@ -418,24 +419,24 @@ var ze = Ae, Be = Ne, Ve = ["Enter", " "], He = [
418
419
  })
419
420
  });
420
421
  };
421
- rt.displayName = qe;
422
- var it = "MenuAnchor", at = q.forwardRef((e, t) => {
423
- let { __scopeMenu: n, ...r } = e, i = Qe(n);
424
- return /* @__PURE__ */ (0, J.jsx)(A, {
422
+ it.displayName = J;
423
+ var at = "MenuAnchor", ot = G.forwardRef((e, t) => {
424
+ let { __scopeMenu: n, ...r } = e, i = $e(n);
425
+ return /* @__PURE__ */ (0, K.jsx)(A, {
425
426
  ...i,
426
427
  ...r,
427
428
  ref: t
428
429
  });
429
430
  });
430
- at.displayName = it;
431
- var ot = "MenuPortal", [st, ct] = X(ot, { forceMount: void 0 }), lt = (e) => {
432
- let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = Z(ot, t);
433
- return /* @__PURE__ */ (0, J.jsx)(st, {
431
+ ot.displayName = at;
432
+ var st = "MenuPortal", [ct, lt] = X(st, { forceMount: void 0 }), ut = (e) => {
433
+ let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = Z(st, t);
434
+ return /* @__PURE__ */ (0, K.jsx)(ct, {
434
435
  scope: t,
435
436
  forceMount: n,
436
- children: /* @__PURE__ */ (0, J.jsx)(P, {
437
+ children: /* @__PURE__ */ (0, K.jsx)(P, {
437
438
  present: n || a.open,
438
- children: /* @__PURE__ */ (0, J.jsx)(z, {
439
+ children: /* @__PURE__ */ (0, K.jsx)(R, {
439
440
  asChild: !0,
440
441
  container: i,
441
442
  children: r
@@ -443,31 +444,31 @@ var ot = "MenuPortal", [st, ct] = X(ot, { forceMount: void 0 }), lt = (e) => {
443
444
  })
444
445
  });
445
446
  };
446
- lt.displayName = ot;
447
- var Q = "MenuContent", [ut, dt] = X(Q), ft = q.forwardRef((e, t) => {
448
- let n = ct(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = nt(Q, e.__scopeMenu);
449
- return /* @__PURE__ */ (0, J.jsx)(Je.Provider, {
447
+ ut.displayName = st;
448
+ var Q = "MenuContent", [dt, ft] = X(Q), pt = G.forwardRef((e, t) => {
449
+ let n = lt(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = rt(Q, e.__scopeMenu);
450
+ return /* @__PURE__ */ (0, K.jsx)(Y.Provider, {
450
451
  scope: e.__scopeMenu,
451
- children: /* @__PURE__ */ (0, J.jsx)(P, {
452
+ children: /* @__PURE__ */ (0, K.jsx)(P, {
452
453
  present: r || a.open,
453
- children: /* @__PURE__ */ (0, J.jsx)(Je.Slot, {
454
+ children: /* @__PURE__ */ (0, K.jsx)(Y.Slot, {
454
455
  scope: e.__scopeMenu,
455
- children: o.modal ? /* @__PURE__ */ (0, J.jsx)(pt, {
456
+ children: o.modal ? /* @__PURE__ */ (0, K.jsx)(mt, {
456
457
  ...i,
457
458
  ref: t
458
- }) : /* @__PURE__ */ (0, J.jsx)(mt, {
459
+ }) : /* @__PURE__ */ (0, K.jsx)(ht, {
459
460
  ...i,
460
461
  ref: t
461
462
  })
462
463
  })
463
464
  })
464
465
  });
465
- }), pt = q.forwardRef((e, t) => {
466
- let n = Z(Q, e.__scopeMenu), r = q.useRef(null), i = C(t, r);
467
- return q.useEffect(() => {
466
+ }), mt = G.forwardRef((e, t) => {
467
+ let n = Z(Q, e.__scopeMenu), r = G.useRef(null), i = C(t, r);
468
+ return G.useEffect(() => {
468
469
  let e = r.current;
469
- if (e) return R(e);
470
- }, []), /* @__PURE__ */ (0, J.jsx)(gt, {
470
+ if (e) return L(e);
471
+ }, []), /* @__PURE__ */ (0, K.jsx)(_t, {
471
472
  ...e,
472
473
  ref: i,
473
474
  trapFocus: n.open,
@@ -476,9 +477,9 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = q.forwardRef((e, t) => {
476
477
  onFocusOutside: S(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
477
478
  onDismiss: () => n.onOpenChange(!1)
478
479
  });
479
- }), mt = q.forwardRef((e, t) => {
480
+ }), ht = G.forwardRef((e, t) => {
480
481
  let n = Z(Q, e.__scopeMenu);
481
- return /* @__PURE__ */ (0, J.jsx)(gt, {
482
+ return /* @__PURE__ */ (0, K.jsx)(_t, {
482
483
  ...e,
483
484
  ref: t,
484
485
  trapFocus: !1,
@@ -486,44 +487,44 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = q.forwardRef((e, t) => {
486
487
  disableOutsideScroll: !1,
487
488
  onDismiss: () => n.onOpenChange(!1)
488
489
  });
489
- }), ht = x("MenuContent.ScrollLock"), gt = q.forwardRef((e, t) => {
490
- let { __scopeMenu: n, loop: r = !1, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: u, onFocusOutside: d, onInteractOutside: f, onDismiss: p, disableOutsideScroll: m, ...h } = e, g = Z(Q, n), _ = nt(Q, n), v = Qe(n), y = $e(n), b = Ye(n), [x, w] = q.useState(null), T = q.useRef(null), E = C(t, T, g.onContentChange), O = q.useRef(0), k = q.useRef(""), A = q.useRef(0), j = q.useRef(null), M = q.useRef("right"), N = q.useRef(0), P = m ? L : q.Fragment, F = m ? {
491
- as: ht,
490
+ }), gt = x("MenuContent.ScrollLock"), _t = G.forwardRef((e, t) => {
491
+ let { __scopeMenu: n, loop: r = !1, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: u, onFocusOutside: d, onInteractOutside: f, onDismiss: p, disableOutsideScroll: m, ...h } = e, g = Z(Q, n), _ = rt(Q, n), v = $e(n), y = et(n), b = Xe(n), [x, w] = G.useState(null), T = G.useRef(null), E = C(t, T, g.onContentChange), O = G.useRef(0), k = G.useRef(""), A = G.useRef(0), j = G.useRef(null), M = G.useRef("right"), N = G.useRef(0), P = m ? I : G.Fragment, F = m ? {
492
+ as: gt,
492
493
  allowPinchZoom: !0
493
- } : void 0, R = (e) => {
494
- let t = k.current + e, n = b().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = en(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
494
+ } : void 0, L = (e) => {
495
+ let t = k.current + e, n = b().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = tn(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
495
496
  (function e(t) {
496
497
  k.current = t, window.clearTimeout(O.current), t !== "" && (O.current = window.setTimeout(() => e(""), 1e3));
497
498
  })(t), o && setTimeout(() => o.focus());
498
499
  };
499
- q.useEffect(() => () => window.clearTimeout(O.current), []), B();
500
- let z = q.useCallback((e) => M.current === j.current?.side && nn(e, j.current?.area), []);
501
- return /* @__PURE__ */ (0, J.jsx)(ut, {
500
+ G.useEffect(() => () => window.clearTimeout(O.current), []), z();
501
+ let R = G.useCallback((e) => M.current === j.current?.side && rn(e, j.current?.area), []);
502
+ return /* @__PURE__ */ (0, K.jsx)(dt, {
502
503
  scope: n,
503
504
  searchRef: k,
504
- onItemEnter: q.useCallback((e) => {
505
- z(e) && e.preventDefault();
506
- }, [z]),
507
- onItemLeave: q.useCallback((e) => {
508
- z(e) || (T.current?.focus(), w(null));
509
- }, [z]),
510
- onTriggerLeave: q.useCallback((e) => {
511
- z(e) && e.preventDefault();
512
- }, [z]),
505
+ onItemEnter: G.useCallback((e) => {
506
+ R(e) && e.preventDefault();
507
+ }, [R]),
508
+ onItemLeave: G.useCallback((e) => {
509
+ R(e) || (T.current?.focus(), w(null));
510
+ }, [R]),
511
+ onTriggerLeave: G.useCallback((e) => {
512
+ R(e) && e.preventDefault();
513
+ }, [R]),
513
514
  pointerGraceTimerRef: A,
514
- onPointerGraceIntentChange: q.useCallback((e) => {
515
+ onPointerGraceIntentChange: G.useCallback((e) => {
515
516
  j.current = e;
516
517
  }, []),
517
- children: /* @__PURE__ */ (0, J.jsx)(P, {
518
+ children: /* @__PURE__ */ (0, K.jsx)(P, {
518
519
  ...F,
519
- children: /* @__PURE__ */ (0, J.jsx)(D, {
520
+ children: /* @__PURE__ */ (0, K.jsx)(D, {
520
521
  asChild: !0,
521
522
  trapped: i,
522
523
  onMountAutoFocus: S(a, (e) => {
523
524
  e.preventDefault(), T.current?.focus({ preventScroll: !0 });
524
525
  }),
525
526
  onUnmountAutoFocus: o,
526
- children: /* @__PURE__ */ (0, J.jsx)(U, {
527
+ children: /* @__PURE__ */ (0, K.jsx)(H, {
527
528
  asChild: !0,
528
529
  disableOutsidePointerEvents: s,
529
530
  onEscapeKeyDown: l,
@@ -531,7 +532,7 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = q.forwardRef((e, t) => {
531
532
  onFocusOutside: d,
532
533
  onInteractOutside: f,
533
534
  onDismiss: p,
534
- children: /* @__PURE__ */ (0, J.jsx)(ze, {
535
+ children: /* @__PURE__ */ (0, K.jsx)(He, {
535
536
  asChild: !0,
536
537
  ...y,
537
538
  dir: _.dir,
@@ -543,10 +544,10 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = q.forwardRef((e, t) => {
543
544
  _.isUsingKeyboardRef.current || e.preventDefault();
544
545
  }),
545
546
  preventScrollOnEntryFocus: !0,
546
- children: /* @__PURE__ */ (0, J.jsx)(I, {
547
+ children: /* @__PURE__ */ (0, K.jsx)(ee, {
547
548
  role: "menu",
548
549
  "aria-orientation": "vertical",
549
- "data-state": Yt(g.open),
550
+ "data-state": Xt(g.open),
550
551
  "data-radix-menu-content": "",
551
552
  dir: _.dir,
552
553
  ...v,
@@ -558,17 +559,17 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = q.forwardRef((e, t) => {
558
559
  },
559
560
  onKeyDown: S(h.onKeyDown, (e) => {
560
561
  let t = e.target.closest("[data-radix-menu-content]") === e.currentTarget, n = e.ctrlKey || e.altKey || e.metaKey, r = e.key.length === 1;
561
- t && (e.key === "Tab" && e.preventDefault(), !n && r && R(e.key));
562
+ t && (e.key === "Tab" && e.preventDefault(), !n && r && L(e.key));
562
563
  let i = T.current;
563
- if (e.target !== i || !We.includes(e.key)) return;
564
+ if (e.target !== i || !qe.includes(e.key)) return;
564
565
  e.preventDefault();
565
566
  let a = b().filter((e) => !e.disabled).map((e) => e.ref.current);
566
- Ue.includes(e.key) && a.reverse(), Qt(a);
567
+ Ke.includes(e.key) && a.reverse(), $t(a);
567
568
  }),
568
569
  onBlur: S(e.onBlur, (e) => {
569
570
  e.currentTarget.contains(e.target) || (window.clearTimeout(O.current), k.current = "");
570
571
  }),
571
- onPointerMove: S(e.onPointerMove, rn((e) => {
572
+ onPointerMove: S(e.onPointerMove, an((e) => {
572
573
  let t = e.target, n = N.current !== e.clientX;
573
574
  e.currentTarget.contains(t) && n && (M.current = e.clientX > N.current ? "right" : "left", N.current = e.clientX);
574
575
  }))
@@ -579,36 +580,36 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = q.forwardRef((e, t) => {
579
580
  })
580
581
  });
581
582
  });
582
- ft.displayName = Q;
583
- var _t = "MenuGroup", vt = q.forwardRef((e, t) => {
583
+ pt.displayName = Q;
584
+ var vt = "MenuGroup", yt = G.forwardRef((e, t) => {
584
585
  let { __scopeMenu: n, ...r } = e;
585
- return /* @__PURE__ */ (0, J.jsx)(H.div, {
586
+ return /* @__PURE__ */ (0, K.jsx)(V.div, {
586
587
  role: "group",
587
588
  ...r,
588
589
  ref: t
589
590
  });
590
591
  });
591
- vt.displayName = _t;
592
- var yt = "MenuLabel", bt = q.forwardRef((e, t) => {
592
+ yt.displayName = vt;
593
+ var bt = "MenuLabel", xt = G.forwardRef((e, t) => {
593
594
  let { __scopeMenu: n, ...r } = e;
594
- return /* @__PURE__ */ (0, J.jsx)(H.div, {
595
+ return /* @__PURE__ */ (0, K.jsx)(V.div, {
595
596
  ...r,
596
597
  ref: t
597
598
  });
598
599
  });
599
- bt.displayName = yt;
600
- var xt = "MenuItem", St = "menu.itemSelect", Ct = q.forwardRef((e, t) => {
601
- let { disabled: n = !1, onSelect: r, ...i } = e, a = q.useRef(null), o = nt(xt, e.__scopeMenu), s = dt(xt, e.__scopeMenu), c = C(t, a), l = q.useRef(!1), u = () => {
600
+ xt.displayName = bt;
601
+ var St = "MenuItem", Ct = "menu.itemSelect", wt = G.forwardRef((e, t) => {
602
+ let { disabled: n = !1, onSelect: r, ...i } = e, a = G.useRef(null), o = rt(St, e.__scopeMenu), s = ft(St, e.__scopeMenu), c = C(t, a), l = G.useRef(!1), u = () => {
602
603
  let e = a.current;
603
604
  if (!n && e) {
604
- let t = new CustomEvent(St, {
605
+ let t = new CustomEvent(Ct, {
605
606
  bubbles: !0,
606
607
  cancelable: !0
607
608
  });
608
- e.addEventListener(St, (e) => r?.(e), { once: !0 }), T(e, t), t.defaultPrevented ? l.current = !1 : o.onClose();
609
+ e.addEventListener(Ct, (e) => r?.(e), { once: !0 }), T(e, t), t.defaultPrevented ? l.current = !1 : o.onClose();
609
610
  }
610
611
  };
611
- return /* @__PURE__ */ (0, J.jsx)(wt, {
612
+ return /* @__PURE__ */ (0, K.jsx)(Tt, {
612
613
  ...i,
613
614
  ref: c,
614
615
  disabled: n,
@@ -621,130 +622,130 @@ var xt = "MenuItem", St = "menu.itemSelect", Ct = q.forwardRef((e, t) => {
621
622
  }),
622
623
  onKeyDown: S(e.onKeyDown, (e) => {
623
624
  let t = s.searchRef.current !== "";
624
- n || t && e.key === " " || Ve.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
625
+ n || t && e.key === " " || We.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
625
626
  })
626
627
  });
627
628
  });
628
- Ct.displayName = xt;
629
- var wt = q.forwardRef((e, t) => {
630
- let { __scopeMenu: n, disabled: r = !1, textValue: i, ...a } = e, o = dt(xt, n), s = $e(n), c = q.useRef(null), l = C(t, c), [u, d] = q.useState(!1), [f, p] = q.useState("");
631
- return q.useEffect(() => {
629
+ wt.displayName = St;
630
+ var Tt = G.forwardRef((e, t) => {
631
+ let { __scopeMenu: n, disabled: r = !1, textValue: i, ...a } = e, o = ft(St, n), s = et(n), c = G.useRef(null), l = C(t, c), [u, d] = G.useState(!1), [f, p] = G.useState("");
632
+ return G.useEffect(() => {
632
633
  let e = c.current;
633
634
  e && p((e.textContent ?? "").trim());
634
- }, [a.children]), /* @__PURE__ */ (0, J.jsx)(Je.ItemSlot, {
635
+ }, [a.children]), /* @__PURE__ */ (0, K.jsx)(Y.ItemSlot, {
635
636
  scope: n,
636
637
  disabled: r,
637
638
  textValue: i ?? f,
638
- children: /* @__PURE__ */ (0, J.jsx)(Be, {
639
+ children: /* @__PURE__ */ (0, K.jsx)(Ue, {
639
640
  asChild: !0,
640
641
  ...s,
641
642
  focusable: !r,
642
- children: /* @__PURE__ */ (0, J.jsx)(H.div, {
643
+ children: /* @__PURE__ */ (0, K.jsx)(V.div, {
643
644
  role: "menuitem",
644
645
  "data-highlighted": u ? "" : void 0,
645
646
  "aria-disabled": r || void 0,
646
647
  "data-disabled": r ? "" : void 0,
647
648
  ...a,
648
649
  ref: l,
649
- onPointerMove: S(e.onPointerMove, rn((e) => {
650
+ onPointerMove: S(e.onPointerMove, an((e) => {
650
651
  r ? o.onItemLeave(e) : (o.onItemEnter(e), e.defaultPrevented || e.currentTarget.focus({ preventScroll: !0 }));
651
652
  })),
652
- onPointerLeave: S(e.onPointerLeave, rn((e) => o.onItemLeave(e))),
653
+ onPointerLeave: S(e.onPointerLeave, an((e) => o.onItemLeave(e))),
653
654
  onFocus: S(e.onFocus, () => d(!0)),
654
655
  onBlur: S(e.onBlur, () => d(!1))
655
656
  })
656
657
  })
657
658
  });
658
- }), Tt = "MenuCheckboxItem", Et = q.forwardRef((e, t) => {
659
+ }), Et = "MenuCheckboxItem", Dt = G.forwardRef((e, t) => {
659
660
  let { checked: n = !1, onCheckedChange: r, ...i } = e;
660
- return /* @__PURE__ */ (0, J.jsx)(Pt, {
661
+ return /* @__PURE__ */ (0, K.jsx)(Ft, {
661
662
  scope: e.__scopeMenu,
662
663
  checked: n,
663
- children: /* @__PURE__ */ (0, J.jsx)(Ct, {
664
+ children: /* @__PURE__ */ (0, K.jsx)(wt, {
664
665
  role: "menuitemcheckbox",
665
- "aria-checked": Xt(n) ? "mixed" : n,
666
+ "aria-checked": Zt(n) ? "mixed" : n,
666
667
  ...i,
667
668
  ref: t,
668
- "data-state": Zt(n),
669
- onSelect: S(i.onSelect, () => r?.(Xt(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
669
+ "data-state": Qt(n),
670
+ onSelect: S(i.onSelect, () => r?.(Zt(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
670
671
  })
671
672
  });
672
673
  });
673
- Et.displayName = Tt;
674
- var Dt = "MenuRadioGroup", [Ot, kt] = X(Dt, {
674
+ Dt.displayName = Et;
675
+ var Ot = "MenuRadioGroup", [kt, At] = X(Ot, {
675
676
  value: void 0,
676
677
  onValueChange: () => {}
677
- }), At = q.forwardRef((e, t) => {
678
+ }), jt = G.forwardRef((e, t) => {
678
679
  let { value: n, onValueChange: r, ...i } = e, a = O(r);
679
- return /* @__PURE__ */ (0, J.jsx)(Ot, {
680
+ return /* @__PURE__ */ (0, K.jsx)(kt, {
680
681
  scope: e.__scopeMenu,
681
682
  value: n,
682
683
  onValueChange: a,
683
- children: /* @__PURE__ */ (0, J.jsx)(vt, {
684
+ children: /* @__PURE__ */ (0, K.jsx)(yt, {
684
685
  ...i,
685
686
  ref: t
686
687
  })
687
688
  });
688
689
  });
689
- At.displayName = Dt;
690
- var jt = "MenuRadioItem", Mt = q.forwardRef((e, t) => {
691
- let { value: n, ...r } = e, i = kt(jt, e.__scopeMenu), a = n === i.value;
692
- return /* @__PURE__ */ (0, J.jsx)(Pt, {
690
+ jt.displayName = Ot;
691
+ var Mt = "MenuRadioItem", Nt = G.forwardRef((e, t) => {
692
+ let { value: n, ...r } = e, i = At(Mt, e.__scopeMenu), a = n === i.value;
693
+ return /* @__PURE__ */ (0, K.jsx)(Ft, {
693
694
  scope: e.__scopeMenu,
694
695
  checked: a,
695
- children: /* @__PURE__ */ (0, J.jsx)(Ct, {
696
+ children: /* @__PURE__ */ (0, K.jsx)(wt, {
696
697
  role: "menuitemradio",
697
698
  "aria-checked": a,
698
699
  ...r,
699
700
  ref: t,
700
- "data-state": Zt(a),
701
+ "data-state": Qt(a),
701
702
  onSelect: S(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
702
703
  })
703
704
  });
704
705
  });
705
- Mt.displayName = jt;
706
- var Nt = "MenuItemIndicator", [Pt, Ft] = X(Nt, { checked: !1 }), It = q.forwardRef((e, t) => {
707
- let { __scopeMenu: n, forceMount: r, ...i } = e, a = Ft(Nt, n);
708
- return /* @__PURE__ */ (0, J.jsx)(P, {
709
- present: r || Xt(a.checked) || a.checked === !0,
710
- children: /* @__PURE__ */ (0, J.jsx)(H.span, {
706
+ Nt.displayName = Mt;
707
+ var Pt = "MenuItemIndicator", [Ft, It] = X(Pt, { checked: !1 }), Lt = G.forwardRef((e, t) => {
708
+ let { __scopeMenu: n, forceMount: r, ...i } = e, a = It(Pt, n);
709
+ return /* @__PURE__ */ (0, K.jsx)(P, {
710
+ present: r || Zt(a.checked) || a.checked === !0,
711
+ children: /* @__PURE__ */ (0, K.jsx)(V.span, {
711
712
  ...i,
712
713
  ref: t,
713
- "data-state": Zt(a.checked)
714
+ "data-state": Qt(a.checked)
714
715
  })
715
716
  });
716
717
  });
717
- It.displayName = Nt;
718
- var Lt = "MenuSeparator", Rt = q.forwardRef((e, t) => {
718
+ Lt.displayName = Pt;
719
+ var Rt = "MenuSeparator", zt = G.forwardRef((e, t) => {
719
720
  let { __scopeMenu: n, ...r } = e;
720
- return /* @__PURE__ */ (0, J.jsx)(H.div, {
721
+ return /* @__PURE__ */ (0, K.jsx)(V.div, {
721
722
  role: "separator",
722
723
  "aria-orientation": "horizontal",
723
724
  ...r,
724
725
  ref: t
725
726
  });
726
727
  });
727
- Rt.displayName = Lt;
728
- var zt = "MenuArrow", Bt = q.forwardRef((e, t) => {
729
- let { __scopeMenu: n, ...r } = e, i = Qe(n);
730
- return /* @__PURE__ */ (0, J.jsx)(j, {
728
+ zt.displayName = Rt;
729
+ var Bt = "MenuArrow", Vt = G.forwardRef((e, t) => {
730
+ let { __scopeMenu: n, ...r } = e, i = $e(n);
731
+ return /* @__PURE__ */ (0, K.jsx)(j, {
731
732
  ...i,
732
733
  ...r,
733
734
  ref: t
734
735
  });
735
736
  });
736
- Bt.displayName = zt;
737
- var Vt = "MenuSub", [Ht, Ut] = X(Vt), Wt = (e) => {
738
- let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = Z(Vt, t), o = Qe(t), [s, c] = q.useState(null), [l, u] = q.useState(null), d = O(i);
739
- return q.useEffect(() => (a.open === !1 && d(!1), () => d(!1)), [a.open, d]), /* @__PURE__ */ (0, J.jsx)(F, {
737
+ Vt.displayName = Bt;
738
+ var Ht = "MenuSub", [Ut, Wt] = X(Ht), Gt = (e) => {
739
+ let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = Z(Ht, t), o = $e(t), [s, c] = G.useState(null), [l, u] = G.useState(null), d = O(i);
740
+ return G.useEffect(() => (a.open === !1 && d(!1), () => d(!1)), [a.open, d]), /* @__PURE__ */ (0, K.jsx)(F, {
740
741
  ...o,
741
- children: /* @__PURE__ */ (0, J.jsx)(et, {
742
+ children: /* @__PURE__ */ (0, K.jsx)(tt, {
742
743
  scope: t,
743
744
  open: r,
744
745
  onOpenChange: d,
745
746
  content: l,
746
747
  onContentChange: u,
747
- children: /* @__PURE__ */ (0, J.jsx)(Ht, {
748
+ children: /* @__PURE__ */ (0, K.jsx)(Ut, {
748
749
  scope: t,
749
750
  contentId: M(),
750
751
  triggerId: M(),
@@ -755,36 +756,36 @@ var Vt = "MenuSub", [Ht, Ut] = X(Vt), Wt = (e) => {
755
756
  })
756
757
  });
757
758
  };
758
- Wt.displayName = Vt;
759
- var Gt = "MenuSubTrigger", Kt = q.forwardRef((e, t) => {
760
- let n = Z(Gt, e.__scopeMenu), r = nt(Gt, e.__scopeMenu), i = Ut(Gt, e.__scopeMenu), a = dt(Gt, e.__scopeMenu), o = q.useRef(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: c } = a, l = { __scopeMenu: e.__scopeMenu }, u = q.useCallback(() => {
759
+ Gt.displayName = Ht;
760
+ var Kt = "MenuSubTrigger", qt = G.forwardRef((e, t) => {
761
+ let n = Z(Kt, e.__scopeMenu), r = rt(Kt, e.__scopeMenu), i = Wt(Kt, e.__scopeMenu), a = ft(Kt, e.__scopeMenu), o = G.useRef(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: c } = a, l = { __scopeMenu: e.__scopeMenu }, u = G.useCallback(() => {
761
762
  o.current && window.clearTimeout(o.current), o.current = null;
762
763
  }, []);
763
- return q.useEffect(() => u, [u]), q.useEffect(() => {
764
+ return G.useEffect(() => u, [u]), G.useEffect(() => {
764
765
  let e = s.current;
765
766
  return () => {
766
767
  window.clearTimeout(e), c(null);
767
768
  };
768
- }, [s, c]), /* @__PURE__ */ (0, J.jsx)(at, {
769
+ }, [s, c]), /* @__PURE__ */ (0, K.jsx)(ot, {
769
770
  asChild: !0,
770
771
  ...l,
771
- children: /* @__PURE__ */ (0, J.jsx)(wt, {
772
+ children: /* @__PURE__ */ (0, K.jsx)(Tt, {
772
773
  id: i.triggerId,
773
774
  "aria-haspopup": "menu",
774
775
  "aria-expanded": n.open,
775
776
  "aria-controls": i.contentId,
776
- "data-state": Yt(n.open),
777
+ "data-state": Xt(n.open),
777
778
  ...e,
778
779
  ref: E(t, i.onTriggerChange),
779
780
  onClick: (t) => {
780
781
  e.onClick?.(t), !(e.disabled || t.defaultPrevented) && (t.currentTarget.focus(), n.open || n.onOpenChange(!0));
781
782
  },
782
- onPointerMove: S(e.onPointerMove, rn((t) => {
783
+ onPointerMove: S(e.onPointerMove, an((t) => {
783
784
  a.onItemEnter(t), !t.defaultPrevented && !e.disabled && !n.open && !o.current && (a.onPointerGraceIntentChange(null), o.current = window.setTimeout(() => {
784
785
  n.onOpenChange(!0), u();
785
786
  }, 100));
786
787
  })),
787
- onPointerLeave: S(e.onPointerLeave, rn((e) => {
788
+ onPointerLeave: S(e.onPointerLeave, an((e) => {
788
789
  u();
789
790
  let t = n.content?.getBoundingClientRect();
790
791
  if (t) {
@@ -821,21 +822,21 @@ var Gt = "MenuSubTrigger", Kt = q.forwardRef((e, t) => {
821
822
  })),
822
823
  onKeyDown: S(e.onKeyDown, (t) => {
823
824
  let i = a.searchRef.current !== "";
824
- e.disabled || i && t.key === " " || Ge[r.dir].includes(t.key) && (n.onOpenChange(!0), n.content?.focus(), t.preventDefault());
825
+ e.disabled || i && t.key === " " || Je[r.dir].includes(t.key) && (n.onOpenChange(!0), n.content?.focus(), t.preventDefault());
825
826
  })
826
827
  })
827
828
  });
828
829
  });
829
- Kt.displayName = Gt;
830
- var qt = "MenuSubContent", Jt = q.forwardRef((e, t) => {
831
- let n = ct(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = nt(Q, e.__scopeMenu), s = Ut(qt, e.__scopeMenu), c = q.useRef(null), l = C(t, c);
832
- return /* @__PURE__ */ (0, J.jsx)(Je.Provider, {
830
+ qt.displayName = Kt;
831
+ var Jt = "MenuSubContent", Yt = G.forwardRef((e, t) => {
832
+ let n = lt(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = rt(Q, e.__scopeMenu), s = Wt(Jt, e.__scopeMenu), c = G.useRef(null), l = C(t, c);
833
+ return /* @__PURE__ */ (0, K.jsx)(Y.Provider, {
833
834
  scope: e.__scopeMenu,
834
- children: /* @__PURE__ */ (0, J.jsx)(P, {
835
+ children: /* @__PURE__ */ (0, K.jsx)(P, {
835
836
  present: r || a.open,
836
- children: /* @__PURE__ */ (0, J.jsx)(Je.Slot, {
837
+ children: /* @__PURE__ */ (0, K.jsx)(Y.Slot, {
837
838
  scope: e.__scopeMenu,
838
- children: /* @__PURE__ */ (0, J.jsx)(gt, {
839
+ children: /* @__PURE__ */ (0, K.jsx)(_t, {
839
840
  id: s.contentId,
840
841
  "aria-labelledby": s.triggerId,
841
842
  ...i,
@@ -856,7 +857,7 @@ var qt = "MenuSubContent", Jt = q.forwardRef((e, t) => {
856
857
  o.onClose(), e.preventDefault();
857
858
  }),
858
859
  onKeyDown: S(e.onKeyDown, (e) => {
859
- let t = e.currentTarget.contains(e.target), n = Ke[o.dir].includes(e.key);
860
+ let t = e.currentTarget.contains(e.target), n = Ye[o.dir].includes(e.key);
860
861
  t && n && (a.onOpenChange(!1), s.trigger?.focus(), e.preventDefault());
861
862
  })
862
863
  })
@@ -864,30 +865,30 @@ var qt = "MenuSubContent", Jt = q.forwardRef((e, t) => {
864
865
  })
865
866
  });
866
867
  });
867
- Jt.displayName = qt;
868
- function Yt(e) {
869
- return e ? "open" : "closed";
870
- }
868
+ Yt.displayName = Jt;
871
869
  function Xt(e) {
872
- return e === "indeterminate";
870
+ return e ? "open" : "closed";
873
871
  }
874
872
  function Zt(e) {
875
- return Xt(e) ? "indeterminate" : e ? "checked" : "unchecked";
873
+ return e === "indeterminate";
876
874
  }
877
875
  function Qt(e) {
876
+ return Zt(e) ? "indeterminate" : e ? "checked" : "unchecked";
877
+ }
878
+ function $t(e) {
878
879
  let t = document.activeElement;
879
880
  for (let n of e) if (n === t || (n.focus(), document.activeElement !== t)) return;
880
881
  }
881
- function $t(e, t) {
882
+ function en(e, t) {
882
883
  return e.map((n, r) => e[(t + r) % e.length]);
883
884
  }
884
- function en(e, t, n) {
885
- let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = $t(e, Math.max(i, 0));
885
+ function tn(e, t, n) {
886
+ let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = en(e, Math.max(i, 0));
886
887
  r.length === 1 && (a = a.filter((e) => e !== n));
887
888
  let o = a.find((e) => e.toLowerCase().startsWith(r.toLowerCase()));
888
889
  return o === n ? void 0 : o;
889
890
  }
890
- function tn(e, t) {
891
+ function nn(e, t) {
891
892
  let { x: n, y: r } = e, i = !1;
892
893
  for (let e = 0, a = t.length - 1; e < t.length; a = e++) {
893
894
  let o = t[e], s = t[a], c = o.x, l = o.y, u = s.x, d = s.y;
@@ -895,32 +896,32 @@ function tn(e, t) {
895
896
  }
896
897
  return i;
897
898
  }
898
- function nn(e, t) {
899
- return t ? tn({
899
+ function rn(e, t) {
900
+ return t ? nn({
900
901
  x: e.clientX,
901
902
  y: e.clientY
902
903
  }, t) : !1;
903
904
  }
904
- function rn(e) {
905
+ function an(e) {
905
906
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
906
907
  }
907
- var an = rt, on = at, sn = lt, cn = ft, ln = vt, un = bt, dn = Ct, fn = Et, pn = At, mn = Mt, hn = It, gn = Rt, _n = Bt, vn = Kt, yn = Jt, bn = "DropdownMenu", [xn, Sn] = V(bn, [Ze]), $ = Ze(), [Cn, wn] = xn(bn), Tn = (e) => {
908
- let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = e, c = $(t), l = q.useRef(null), [u, d] = k({
908
+ var on = it, sn = ot, cn = ut, ln = pt, un = yt, dn = xt, fn = wt, pn = Dt, mn = jt, hn = Nt, gn = Lt, _n = zt, vn = Vt, yn = qt, bn = Yt, xn = "DropdownMenu", [Sn, Cn] = B(xn, [Qe]), $ = Qe(), [wn, Tn] = Sn(xn), En = (e) => {
909
+ let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = e, c = $(t), l = G.useRef(null), [u, d] = k({
909
910
  prop: i,
910
911
  defaultProp: a ?? !1,
911
912
  onChange: o,
912
- caller: bn
913
+ caller: xn
913
914
  });
914
- return /* @__PURE__ */ (0, J.jsx)(Cn, {
915
+ return /* @__PURE__ */ (0, K.jsx)(wn, {
915
916
  scope: t,
916
917
  triggerId: M(),
917
918
  triggerRef: l,
918
919
  contentId: M(),
919
920
  open: u,
920
921
  onOpenChange: d,
921
- onOpenToggle: q.useCallback(() => d((e) => !e), [d]),
922
+ onOpenToggle: G.useCallback(() => d((e) => !e), [d]),
922
923
  modal: s,
923
- children: /* @__PURE__ */ (0, J.jsx)(an, {
924
+ children: /* @__PURE__ */ (0, K.jsx)(on, {
924
925
  ...c,
925
926
  open: u,
926
927
  onOpenChange: d,
@@ -930,13 +931,13 @@ var an = rt, on = at, sn = lt, cn = ft, ln = vt, un = bt, dn = Ct, fn = Et, pn =
930
931
  })
931
932
  });
932
933
  };
933
- Tn.displayName = bn;
934
- var En = "DropdownMenuTrigger", Dn = q.forwardRef((e, t) => {
935
- let { __scopeDropdownMenu: n, disabled: r = !1, ...i } = e, a = wn(En, n), o = $(n);
936
- return /* @__PURE__ */ (0, J.jsx)(on, {
934
+ En.displayName = xn;
935
+ var Dn = "DropdownMenuTrigger", On = G.forwardRef((e, t) => {
936
+ let { __scopeDropdownMenu: n, disabled: r = !1, ...i } = e, a = Tn(Dn, n), o = $(n);
937
+ return /* @__PURE__ */ (0, K.jsx)(sn, {
937
938
  asChild: !0,
938
939
  ...o,
939
- children: /* @__PURE__ */ (0, J.jsx)(H.button, {
940
+ children: /* @__PURE__ */ (0, K.jsx)(V.button, {
940
941
  type: "button",
941
942
  id: a.triggerId,
942
943
  "aria-haspopup": "menu",
@@ -960,18 +961,18 @@ var En = "DropdownMenuTrigger", Dn = q.forwardRef((e, t) => {
960
961
  })
961
962
  });
962
963
  });
963
- Dn.displayName = En;
964
- var On = "DropdownMenuPortal", kn = (e) => {
964
+ On.displayName = Dn;
965
+ var kn = "DropdownMenuPortal", An = (e) => {
965
966
  let { __scopeDropdownMenu: t, ...n } = e, r = $(t);
966
- return /* @__PURE__ */ (0, J.jsx)(sn, {
967
+ return /* @__PURE__ */ (0, K.jsx)(cn, {
967
968
  ...r,
968
969
  ...n
969
970
  });
970
971
  };
971
- kn.displayName = On;
972
- var An = "DropdownMenuContent", jn = q.forwardRef((e, t) => {
973
- let { __scopeDropdownMenu: n, ...r } = e, i = wn(An, n), a = $(n), o = q.useRef(!1);
974
- return /* @__PURE__ */ (0, J.jsx)(cn, {
972
+ An.displayName = kn;
973
+ var jn = "DropdownMenuContent", Mn = G.forwardRef((e, t) => {
974
+ let { __scopeDropdownMenu: n, ...r } = e, i = Tn(jn, n), a = $(n), o = G.useRef(!1);
975
+ return /* @__PURE__ */ (0, K.jsx)(ln, {
975
976
  id: i.contentId,
976
977
  "aria-labelledby": i.triggerId,
977
978
  ...a,
@@ -994,100 +995,100 @@ var An = "DropdownMenuContent", jn = q.forwardRef((e, t) => {
994
995
  }
995
996
  });
996
997
  });
997
- jn.displayName = An;
998
- var Mn = "DropdownMenuGroup", Nn = q.forwardRef((e, t) => {
998
+ Mn.displayName = jn;
999
+ var Nn = "DropdownMenuGroup", Pn = G.forwardRef((e, t) => {
999
1000
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1000
- return /* @__PURE__ */ (0, J.jsx)(ln, {
1001
+ return /* @__PURE__ */ (0, K.jsx)(un, {
1001
1002
  ...i,
1002
1003
  ...r,
1003
1004
  ref: t
1004
1005
  });
1005
1006
  });
1006
- Nn.displayName = Mn;
1007
- var Pn = "DropdownMenuLabel", Fn = q.forwardRef((e, t) => {
1007
+ Pn.displayName = Nn;
1008
+ var Fn = "DropdownMenuLabel", In = G.forwardRef((e, t) => {
1008
1009
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1009
- return /* @__PURE__ */ (0, J.jsx)(un, {
1010
+ return /* @__PURE__ */ (0, K.jsx)(dn, {
1010
1011
  ...i,
1011
1012
  ...r,
1012
1013
  ref: t
1013
1014
  });
1014
1015
  });
1015
- Fn.displayName = Pn;
1016
- var In = "DropdownMenuItem", Ln = q.forwardRef((e, t) => {
1016
+ In.displayName = Fn;
1017
+ var Ln = "DropdownMenuItem", Rn = G.forwardRef((e, t) => {
1017
1018
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1018
- return /* @__PURE__ */ (0, J.jsx)(dn, {
1019
+ return /* @__PURE__ */ (0, K.jsx)(fn, {
1019
1020
  ...i,
1020
1021
  ...r,
1021
1022
  ref: t
1022
1023
  });
1023
1024
  });
1024
- Ln.displayName = In;
1025
- var Rn = "DropdownMenuCheckboxItem", zn = q.forwardRef((e, t) => {
1025
+ Rn.displayName = Ln;
1026
+ var zn = "DropdownMenuCheckboxItem", Bn = G.forwardRef((e, t) => {
1026
1027
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1027
- return /* @__PURE__ */ (0, J.jsx)(fn, {
1028
+ return /* @__PURE__ */ (0, K.jsx)(pn, {
1028
1029
  ...i,
1029
1030
  ...r,
1030
1031
  ref: t
1031
1032
  });
1032
1033
  });
1033
- zn.displayName = Rn;
1034
- var Bn = "DropdownMenuRadioGroup", Vn = q.forwardRef((e, t) => {
1034
+ Bn.displayName = zn;
1035
+ var Vn = "DropdownMenuRadioGroup", Hn = G.forwardRef((e, t) => {
1035
1036
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1036
- return /* @__PURE__ */ (0, J.jsx)(pn, {
1037
+ return /* @__PURE__ */ (0, K.jsx)(mn, {
1037
1038
  ...i,
1038
1039
  ...r,
1039
1040
  ref: t
1040
1041
  });
1041
1042
  });
1042
- Vn.displayName = Bn;
1043
- var Hn = "DropdownMenuRadioItem", Un = q.forwardRef((e, t) => {
1043
+ Hn.displayName = Vn;
1044
+ var Un = "DropdownMenuRadioItem", Wn = G.forwardRef((e, t) => {
1044
1045
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1045
- return /* @__PURE__ */ (0, J.jsx)(mn, {
1046
+ return /* @__PURE__ */ (0, K.jsx)(hn, {
1046
1047
  ...i,
1047
1048
  ...r,
1048
1049
  ref: t
1049
1050
  });
1050
1051
  });
1051
- Un.displayName = Hn;
1052
- var Wn = "DropdownMenuItemIndicator", Gn = q.forwardRef((e, t) => {
1052
+ Wn.displayName = Un;
1053
+ var Gn = "DropdownMenuItemIndicator", Kn = G.forwardRef((e, t) => {
1053
1054
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1054
- return /* @__PURE__ */ (0, J.jsx)(hn, {
1055
+ return /* @__PURE__ */ (0, K.jsx)(gn, {
1055
1056
  ...i,
1056
1057
  ...r,
1057
1058
  ref: t
1058
1059
  });
1059
1060
  });
1060
- Gn.displayName = Wn;
1061
- var Kn = "DropdownMenuSeparator", qn = q.forwardRef((e, t) => {
1061
+ Kn.displayName = Gn;
1062
+ var qn = "DropdownMenuSeparator", Jn = G.forwardRef((e, t) => {
1062
1063
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1063
- return /* @__PURE__ */ (0, J.jsx)(gn, {
1064
+ return /* @__PURE__ */ (0, K.jsx)(_n, {
1064
1065
  ...i,
1065
1066
  ...r,
1066
1067
  ref: t
1067
1068
  });
1068
1069
  });
1069
- qn.displayName = Kn;
1070
- var Jn = "DropdownMenuArrow", Yn = q.forwardRef((e, t) => {
1070
+ Jn.displayName = qn;
1071
+ var Yn = "DropdownMenuArrow", Xn = G.forwardRef((e, t) => {
1071
1072
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1072
- return /* @__PURE__ */ (0, J.jsx)(_n, {
1073
+ return /* @__PURE__ */ (0, K.jsx)(vn, {
1073
1074
  ...i,
1074
1075
  ...r,
1075
1076
  ref: t
1076
1077
  });
1077
1078
  });
1078
- Yn.displayName = Jn;
1079
- var Xn = "DropdownMenuSubTrigger", Zn = q.forwardRef((e, t) => {
1079
+ Xn.displayName = Yn;
1080
+ var Zn = "DropdownMenuSubTrigger", Qn = G.forwardRef((e, t) => {
1080
1081
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1081
- return /* @__PURE__ */ (0, J.jsx)(vn, {
1082
+ return /* @__PURE__ */ (0, K.jsx)(yn, {
1082
1083
  ...i,
1083
1084
  ...r,
1084
1085
  ref: t
1085
1086
  });
1086
1087
  });
1087
- Zn.displayName = Xn;
1088
- var Qn = "DropdownMenuSubContent", $n = q.forwardRef((e, t) => {
1088
+ Qn.displayName = Zn;
1089
+ var $n = "DropdownMenuSubContent", er = G.forwardRef((e, t) => {
1089
1090
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1090
- return /* @__PURE__ */ (0, J.jsx)(yn, {
1091
+ return /* @__PURE__ */ (0, K.jsx)(bn, {
1091
1092
  ...i,
1092
1093
  ...r,
1093
1094
  ref: t,
@@ -1101,12 +1102,12 @@ var Qn = "DropdownMenuSubContent", $n = q.forwardRef((e, t) => {
1101
1102
  }
1102
1103
  });
1103
1104
  });
1104
- $n.displayName = Qn;
1105
- var er = Tn, tr = Dn, nr = jn, rr = Ln;
1105
+ er.displayName = $n;
1106
+ var tr = En, nr = On, rr = Mn, ir = Rn;
1106
1107
  //#endregion
1107
1108
  //#region ../node_modules/@heroicons/react/24/outline/esm/BarsArrowDownIcon.js
1108
- function ir({ title: e, titleId: t, ...n }, r) {
1109
- return /*#__PURE__*/ q.createElement("svg", Object.assign({
1109
+ function ar({ title: e, titleId: t, ...n }, r) {
1110
+ return /*#__PURE__*/ G.createElement("svg", Object.assign({
1110
1111
  xmlns: "http://www.w3.org/2000/svg",
1111
1112
  fill: "none",
1112
1113
  viewBox: "0 0 24 24",
@@ -1116,39 +1117,39 @@ function ir({ title: e, titleId: t, ...n }, r) {
1116
1117
  "data-slot": "icon",
1117
1118
  ref: r,
1118
1119
  "aria-labelledby": t
1119
- }, n), e ? /*#__PURE__*/ q.createElement("title", { id: t }, e) : null, /*#__PURE__*/ q.createElement("path", {
1120
+ }, n), e ? /*#__PURE__*/ G.createElement("title", { id: t }, e) : null, /*#__PURE__*/ G.createElement("path", {
1120
1121
  strokeLinecap: "round",
1121
1122
  strokeLinejoin: "round",
1122
1123
  d: "M3 4.5h14.25M3 9h9.75M3 13.5h9.75m4.5-4.5v12m0 0-3.75-3.75M17.25 21 21 17.25"
1123
1124
  }));
1124
1125
  }
1125
- var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortByDistanceLabel: t, accessibilityLabel: n, on: r = () => {} }) => {
1126
- let i = se();
1126
+ var or = /*#__PURE__*/ G.forwardRef(ar), sr = ({ sortByRelevanceLabel: e, sortByDistanceLabel: t, accessibilityLabel: n, on: r = () => {} }) => {
1127
+ let i = ue();
1127
1128
  if (!i) throw Error("SortDropdown must be used within a SearchRankingProvider");
1128
1129
  let { sortMode: a, setSortMode: o, requestLocation: s, locationDenied: c } = i;
1129
- return /* @__PURE__ */ (0, J.jsxs)(er, {
1130
+ return /* @__PURE__ */ (0, K.jsxs)(tr, {
1130
1131
  onOpenChange: (e) => e && r("openSortMenu"),
1131
- children: [/* @__PURE__ */ (0, J.jsx)(tr, {
1132
+ children: [/* @__PURE__ */ (0, K.jsx)(nr, {
1132
1133
  asChild: !0,
1133
- children: /* @__PURE__ */ (0, J.jsx)("button", {
1134
+ children: /* @__PURE__ */ (0, K.jsx)("button", {
1134
1135
  type: "button",
1135
1136
  className: "sid-sort-dropdown__trigger",
1136
1137
  "aria-label": n,
1137
- children: /* @__PURE__ */ (0, J.jsx)(ar, { className: "sid-sort-dropdown__icon" })
1138
+ children: /* @__PURE__ */ (0, K.jsx)(or, { className: "sid-sort-dropdown__icon" })
1138
1139
  })
1139
- }), /* @__PURE__ */ (0, J.jsxs)(nr, {
1140
+ }), /* @__PURE__ */ (0, K.jsxs)(rr, {
1140
1141
  className: "sid-sort-dropdown__content",
1141
1142
  sideOffset: 0,
1142
1143
  collisionPadding: 10,
1143
1144
  align: "end",
1144
- children: [/* @__PURE__ */ (0, J.jsx)(rr, {
1145
+ children: [/* @__PURE__ */ (0, K.jsx)(ir, {
1145
1146
  className: "sid-sort-dropdown__item",
1146
1147
  onSelect: () => {
1147
1148
  o("relevance"), r("sortRelevance");
1148
1149
  },
1149
1150
  "data-active": a === "relevance" ? "" : void 0,
1150
1151
  children: e
1151
- }), /* @__PURE__ */ (0, J.jsx)(rr, {
1152
+ }), /* @__PURE__ */ (0, K.jsx)(ir, {
1152
1153
  className: "sid-sort-dropdown__item",
1153
1154
  onSelect: async () => {
1154
1155
  if (!c) try {
@@ -1161,7 +1162,7 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1161
1162
  })]
1162
1163
  })]
1163
1164
  });
1164
- }, sr = (/* @__PURE__ */ t(((e, t) => {
1165
+ }, cr = (/* @__PURE__ */ t(((e, t) => {
1165
1166
  function n(e, t, n) {
1166
1167
  var r, i, a, o, s;
1167
1168
  t ??= 100;
@@ -1181,9 +1182,9 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1181
1182
  }, l;
1182
1183
  }
1183
1184
  n.debounce = n, t.exports = n;
1184
- })))(), cr = 42, lr = 26, ur = ({ getItemProps: e, highlightedIndex: t, organizations: n, itemToString: r, children: i, maxItemsToDisplay: a = lr }) => {
1185
- let o = q.Children.count(i), s = (n.length + o) * cr, l = {}, u = v("org-search-overlay") === "overlay", d = se(), f = c(), p = (0, q.useMemo)(() => ge(f), [f]), m = (e) => !d?.userLocation || e.latitude == null || e.longitude == null ? null : _e(me(d.userLocation.latitude, d.userLocation.longitude, e.latitude, e.longitude), p);
1186
- (0, q.useEffect)(() => {
1185
+ })))(), lr = 42, ur = 26, dr = ({ getItemProps: e, highlightedIndex: t, organizations: n, itemToString: r, children: i, maxItemsToDisplay: a = ur }) => {
1186
+ let o = G.Children.count(i), s = (n.length + o) * lr, l = {}, u = v("org-search-overlay") === "overlay", d = ue(), f = c(), p = (0, G.useMemo)(() => ye(f), [f]), m = (e) => !d?.userLocation || e.latitude == null || e.longitude == null ? null : be(_e(d.userLocation.latitude, d.userLocation.longitude, e.latitude, e.longitude), p);
1187
+ (0, G.useEffect)(() => {
1187
1188
  let e = document.getElementsByClassName("sid-organization-list__item--highlighted").item(0);
1188
1189
  e && ("scrollIntoViewIfNeeded" in e && typeof e.scrollIntoViewIfNeeded == "function" ? e.scrollIntoViewIfNeeded(!0) : e.scrollIntoView({
1189
1190
  behavior: "instant",
@@ -1192,7 +1193,7 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1192
1193
  }, [t]);
1193
1194
  let h = (n, i) => {
1194
1195
  let a = [n.city, n.state].filter(Boolean).join(", "), o = m(n);
1195
- return /* @__PURE__ */ (0, J.jsxs)("div", {
1196
+ return /* @__PURE__ */ (0, K.jsxs)("div", {
1196
1197
  className: `sid-organization-list__item ${t === i ? "sid-organization-list__item--highlighted" : ""}`,
1197
1198
  role: "option",
1198
1199
  "aria-selected": t === i,
@@ -1202,15 +1203,15 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1202
1203
  }),
1203
1204
  ref: l[t],
1204
1205
  children: [
1205
- /* @__PURE__ */ (0, J.jsx)("span", {
1206
+ /* @__PURE__ */ (0, K.jsx)("span", {
1206
1207
  className: "sid-organization-list__name",
1207
1208
  children: r(n)
1208
1209
  }),
1209
- u && a && /* @__PURE__ */ (0, J.jsx)("span", {
1210
+ u && a && /* @__PURE__ */ (0, K.jsx)("span", {
1210
1211
  className: "sid-organization-list__location",
1211
1212
  children: a
1212
1213
  }),
1213
- o && /* @__PURE__ */ (0, J.jsx)("span", {
1214
+ o && /* @__PURE__ */ (0, K.jsx)("span", {
1214
1215
  className: "sid-organization-list__distance",
1215
1216
  "data-testid": "org-distance",
1216
1217
  children: o
@@ -1218,54 +1219,54 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1218
1219
  ]
1219
1220
  }, i);
1220
1221
  };
1221
- return /* @__PURE__ */ (0, J.jsx)("div", {
1222
+ return /* @__PURE__ */ (0, K.jsx)("div", {
1222
1223
  id: "sid-org-list-menu",
1223
1224
  className: "sid-organization-list__menu",
1224
1225
  tabIndex: -1,
1225
1226
  role: "listbox",
1226
- children: /* @__PURE__ */ (0, J.jsxs)("div", {
1227
+ children: /* @__PURE__ */ (0, K.jsxs)("div", {
1227
1228
  style: { height: Math.min(s, 280) },
1228
1229
  children: [n.filter((e, t) => t <= a - 1).map((e, t) => h(e, t)), i]
1229
1230
  })
1230
1231
  });
1231
- }, dr = ({ className: e }) => /* @__PURE__ */ (0, J.jsx)("svg", {
1232
+ }, fr = ({ className: e }) => /* @__PURE__ */ (0, K.jsx)("svg", {
1232
1233
  xmlns: "http://www.w3.org/2000/svg",
1233
1234
  fill: "none",
1234
1235
  viewBox: "0 0 24 24",
1235
1236
  strokeWidth: 1.5,
1236
1237
  stroke: "currentColor",
1237
1238
  className: e,
1238
- children: /* @__PURE__ */ (0, J.jsx)("path", {
1239
+ children: /* @__PURE__ */ (0, K.jsx)("path", {
1239
1240
  strokeLinecap: "round",
1240
1241
  strokeLinejoin: "round",
1241
1242
  d: "M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"
1242
1243
  })
1243
- }), fr = ({ urlAddSchoolForm: e, programId: t, locale: n = u, onClick: r = () => void 0, onTipsShown: a }) => {
1244
- let [o, s] = q.useState(!1), { trackEvent: c } = ne({ programId: t });
1245
- return o ? /* @__PURE__ */ (0, J.jsxs)("div", {
1244
+ }), pr = ({ urlAddSchoolForm: e, programId: t, locale: n = u, onClick: r = () => void 0, onTipsShown: a }) => {
1245
+ let [o, s] = G.useState(!1), { trackEvent: c } = ae({ programId: t });
1246
+ return o ? /* @__PURE__ */ (0, K.jsxs)("div", {
1246
1247
  className: "sid-organization-list__add-school-tips",
1247
- children: [/* @__PURE__ */ (0, J.jsxs)("div", {
1248
+ children: [/* @__PURE__ */ (0, K.jsxs)("div", {
1248
1249
  className: "sid-organization-list__tips",
1249
- children: [/* @__PURE__ */ (0, J.jsx)("div", { children: /* @__PURE__ */ (0, J.jsx)(dr, { className: "sid-organization-list__tips-icon" }) }), /* @__PURE__ */ (0, J.jsxs)("div", {
1250
+ children: [/* @__PURE__ */ (0, K.jsx)("div", { children: /* @__PURE__ */ (0, K.jsx)(fr, { className: "sid-organization-list__tips-icon" }) }), /* @__PURE__ */ (0, K.jsxs)("div", {
1250
1251
  className: "sid-organization-list__tips-text",
1251
- children: [/* @__PURE__ */ (0, J.jsx)(p, {
1252
+ children: [/* @__PURE__ */ (0, K.jsx)(p, {
1252
1253
  id: "multipleLocationsTips",
1253
1254
  defaultMessage: "If your academic institution has multiple locations and you didn't see yours, enter the main location."
1254
- }), /* @__PURE__ */ (0, J.jsx)(p, {
1255
+ }), /* @__PURE__ */ (0, K.jsx)(p, {
1255
1256
  id: "tryFullNameTips",
1256
1257
  defaultMessage: "Try typing the full name of the academic institution rather than using acronyms or abbreviations."
1257
1258
  })]
1258
1259
  })]
1259
- }), /* @__PURE__ */ (0, J.jsx)(_, {
1260
+ }), /* @__PURE__ */ (0, K.jsx)(_, {
1260
1261
  onClick: r,
1261
1262
  className: "sid-organization-list__item sid-organization-list__request-school sid-link",
1262
1263
  href: `${e}?pid=${t}&locale=${n}`,
1263
- children: /* @__PURE__ */ (0, J.jsx)(p, {
1264
+ children: /* @__PURE__ */ (0, K.jsx)(p, {
1264
1265
  id: "requestSchool",
1265
1266
  defaultMessage: "Don't see your school? Request to have it added"
1266
1267
  })
1267
1268
  })]
1268
- }) : /* @__PURE__ */ (0, J.jsx)(_, {
1269
+ }) : /* @__PURE__ */ (0, K.jsx)(_, {
1269
1270
  onClick: () => {
1270
1271
  l({
1271
1272
  eventName: i.ASR_TIPS_SHOWN,
@@ -1273,19 +1274,19 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1273
1274
  programId: t,
1274
1275
  locale: n
1275
1276
  }
1276
- }), c(K.AsrTipsShown), a?.(), s(!0);
1277
+ }), c(W.AsrTipsShown), a?.(), s(!0);
1277
1278
  },
1278
1279
  className: "sid-organization-list__item sid-organization-list__request-school sid-link",
1279
- children: /* @__PURE__ */ (0, J.jsx)(p, {
1280
+ children: /* @__PURE__ */ (0, K.jsx)(p, {
1280
1281
  id: "cantFindYourSchool",
1281
1282
  defaultMessage: "Can't find your school? Click to show tips"
1282
1283
  })
1283
1284
  });
1284
- }, pr = (e) => s("name", e) || "", mr = (e) => e && e.find((e) => e.source === "PLACE") ? /* @__PURE__ */ (0, J.jsx)("img", {
1285
+ }, mr = (e) => s("name", e) || "", hr = (e) => e && e.find((e) => e.source === "PLACE") ? /* @__PURE__ */ (0, K.jsx)("img", {
1285
1286
  className: "sid-organization-list__attribution-logo",
1286
1287
  src: "https://developers.google.com/static/maps/documentation/images/google_on_white.png",
1287
1288
  alt: "Google"
1288
- }) : null, hr = (e, t, r) => {
1289
+ }) : null, gr = (e, t, r) => {
1289
1290
  if (!t && !r) return e;
1290
1291
  if (!e) return n.error("Expected orgSearchUrl"), e;
1291
1292
  try {
@@ -1296,8 +1297,8 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1296
1297
  } catch (e) {
1297
1298
  n.error(e);
1298
1299
  }
1299
- }, gr = ({ getItemProps: e, getMenuProps: t, highlightedIndex: r, itemToString: a, minimumSearchValueLength: o, onLoaded: s, programId: c, orgSearchUrl: u, locale: d, urlAddSchoolForm: f, openOrgSearchEnabled: m, onClickAddSchool: g, onTipsShown: _, searchUrlParams: v, searchValue: y }) => {
1300
- let [b, x] = (0, q.useState)(!1), [S, C] = (0, q.useState)(null), [T, E] = (0, q.useState)(null), D = (0, q.useRef)(!1), O = (0, q.useRef)(null), k = se(), A = (0, q.useRef)({
1300
+ }, _r = ({ getItemProps: e, getMenuProps: t, highlightedIndex: r, itemToString: a, minimumSearchValueLength: o, onLoaded: s, programId: c, orgSearchUrl: u, locale: d, urlAddSchoolForm: f, openOrgSearchEnabled: m, onClickAddSchool: g, onTipsShown: _, searchUrlParams: v, searchValue: y }) => {
1301
+ let [b, x] = (0, G.useState)(!1), [S, C] = (0, G.useState)(null), [T, E] = (0, G.useState)(null), D = (0, G.useRef)(!1), O = (0, G.useRef)(null), k = ue(), A = (0, G.useRef)({
1301
1302
  orgSearchUrl: u,
1302
1303
  searchValue: y,
1303
1304
  searchUrlParams: v,
@@ -1309,9 +1310,9 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1309
1310
  searchUrlParams: v,
1310
1311
  onLoaded: s
1311
1312
  };
1312
- let j = (0, q.useRef)(k);
1313
+ let j = (0, G.useRef)(k);
1313
1314
  j.current = k;
1314
- let M = y || pr(u) || "", N = (0, q.useCallback)(async () => {
1315
+ let M = y || mr(u) || "", N = (0, G.useCallback)(async () => {
1315
1316
  if (!D.current) return;
1316
1317
  let { orgSearchUrl: e, searchValue: t, searchUrlParams: r, onLoaded: a } = A.current, o = r, s = j.current;
1317
1318
  s && s.sortMode === "distance" && s.userLocation && (o = {
@@ -1319,11 +1320,11 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1319
1320
  lat: String(s.userLocation.latitude),
1320
1321
  long: String(s.userLocation.longitude)
1321
1322
  });
1322
- let c = Date.now(), u = await h(hr(e, t, o));
1323
+ let c = Date.now(), u = await h(gr(e, t, o));
1323
1324
  if (D.current) {
1324
1325
  u && (a(u), C(u), x(!1));
1325
1326
  try {
1326
- let n = t || pr(e) || "";
1327
+ let n = t || mr(e) || "";
1327
1328
  l({
1328
1329
  eventName: i.ORGS_DISPLAYED,
1329
1330
  params: {
@@ -1336,61 +1337,61 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1336
1337
  n.error(e);
1337
1338
  }
1338
1339
  }
1339
- }, []), P = (0, q.useRef)(null);
1340
- P.current ||= (0, sr.debounce)(N, 200), (0, q.useEffect)(() => (D.current = !0, () => {
1340
+ }, []), P = (0, G.useRef)(null);
1341
+ P.current ||= (0, cr.debounce)(N, 200), (0, G.useEffect)(() => (D.current = !0, () => {
1341
1342
  D.current = !1, P.current && P.current.clear();
1342
- }), []), (0, q.useEffect)(() => {
1343
+ }), []), (0, G.useEffect)(() => {
1343
1344
  let e = O.current;
1344
1345
  e !== M && (M.length >= o ? (E(null), x(!0), C(null), P.current && P.current()) : (E(null), x(!1), C(null), e === null ? M.length > 0 && n.info(`No organizations fetched. Search searchTerm "${M}" is less than ${o} characters.`) : n.info(`No organizations fetched. Search searchTterm "${M}" is less than ${o} characters.`))), O.current = M;
1345
1346
  }, [M, o]);
1346
- let F = k?.sortMode, I = k?.userLocation?.latitude, L = k?.userLocation?.longitude;
1347
- (0, q.useEffect)(() => {
1347
+ let F = k?.sortMode, ee = k?.userLocation?.latitude, I = k?.userLocation?.longitude;
1348
+ (0, G.useEffect)(() => {
1348
1349
  M.length >= o && (E(null), x(!0), C(null), P.current?.());
1349
1350
  }, [
1350
1351
  F,
1352
+ ee,
1351
1353
  I,
1352
- L,
1353
1354
  M,
1354
1355
  o
1355
1356
  ]);
1356
- let R = mr(S);
1357
- return b ? /* @__PURE__ */ (0, J.jsx)("div", {
1357
+ let L = hr(S);
1358
+ return b ? /* @__PURE__ */ (0, K.jsx)("div", {
1358
1359
  className: "sid-organization-list__menu",
1359
- children: /* @__PURE__ */ (0, J.jsx)("div", {
1360
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
1360
1361
  className: "sid-organization-list__message sid-organization-list__spinner-container",
1361
- children: /* @__PURE__ */ (0, J.jsx)("div", {
1362
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
1362
1363
  id: "sid-spinner-container",
1363
- children: /* @__PURE__ */ (0, J.jsx)(w, {})
1364
+ children: /* @__PURE__ */ (0, K.jsx)(w, {})
1364
1365
  })
1365
1366
  })
1366
- }) : T ? /* @__PURE__ */ (0, J.jsx)("div", {
1367
+ }) : T ? /* @__PURE__ */ (0, K.jsx)("div", {
1367
1368
  className: "sid-organization-list__menu",
1368
- children: /* @__PURE__ */ (0, J.jsx)("div", {
1369
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
1369
1370
  className: "sid-organization-list__message",
1370
- children: /* @__PURE__ */ (0, J.jsx)(p, {
1371
+ children: /* @__PURE__ */ (0, K.jsx)(p, {
1371
1372
  id: "errorId.unknownError",
1372
1373
  defaultMessage: "An unknown error occurred"
1373
1374
  })
1374
1375
  })
1375
- }) : S && S.length > 0 ? /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [R && /* @__PURE__ */ (0, J.jsx)("div", {
1376
+ }) : S && S.length > 0 ? /* @__PURE__ */ (0, K.jsxs)(K.Fragment, { children: [L && /* @__PURE__ */ (0, K.jsx)("div", {
1376
1377
  className: "sid-organization-list__attribution",
1377
- children: R
1378
- }), /* @__PURE__ */ (0, J.jsx)(ur, {
1378
+ children: L
1379
+ }), /* @__PURE__ */ (0, K.jsx)(dr, {
1379
1380
  getItemProps: e,
1380
1381
  getMenuProps: t,
1381
1382
  highlightedIndex: r,
1382
1383
  itemToString: a,
1383
1384
  organizations: S,
1384
- children: M && !m && f && (!S || S.length < 26) && /* @__PURE__ */ (0, J.jsx)(fr, {
1385
+ children: M && !m && f && (!S || S.length < 26) && /* @__PURE__ */ (0, K.jsx)(pr, {
1385
1386
  onClick: g,
1386
1387
  onTipsShown: _,
1387
1388
  urlAddSchoolForm: f,
1388
1389
  programId: c,
1389
1390
  locale: d
1390
1391
  })
1391
- })] }) : M && !m && f && (!S || S.length === 0) ? /* @__PURE__ */ (0, J.jsx)("div", {
1392
+ })] }) : M && !m && f && (!S || S.length === 0) ? /* @__PURE__ */ (0, K.jsx)("div", {
1392
1393
  className: "sid-organization-list__menu",
1393
- children: /* @__PURE__ */ (0, J.jsx)(fr, {
1394
+ children: /* @__PURE__ */ (0, K.jsx)(pr, {
1394
1395
  onClick: g,
1395
1396
  onTipsShown: _,
1396
1397
  urlAddSchoolForm: f,
@@ -1398,15 +1399,15 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1398
1399
  locale: d
1399
1400
  })
1400
1401
  }) : null;
1401
- }, _r = (e, t, n) => {
1402
- if (e.type === G.stateChangeTypes.FunctionSelectItem) {
1402
+ }, vr = (e, t, n) => {
1403
+ if (e.type === re.stateChangeTypes.FunctionSelectItem) {
1403
1404
  let { selectedItem: n } = e;
1404
1405
  t(n);
1405
- } else e.type === G.stateChangeTypes.InputBlur && !n.openOrgSearchEnabled && !n._searchOverlayEnabled && t({
1406
+ } else e.type === re.stateChangeTypes.InputBlur && !n.openOrgSearchEnabled && !n._searchOverlayEnabled && t({
1406
1407
  id: void 0,
1407
1408
  name: ""
1408
1409
  });
1409
- }, vr = ({ id: e, onMouseDown: t, disabled: n, onKeyDown: r, handleOnBlur: i }) => /* @__PURE__ */ (0, J.jsx)("button", {
1410
+ }, yr = ({ id: e, onMouseDown: t, disabled: n, onKeyDown: r, handleOnBlur: i }) => /* @__PURE__ */ (0, K.jsx)("button", {
1410
1411
  id: e,
1411
1412
  type: "button",
1412
1413
  onMouseDown: t,
@@ -1416,41 +1417,41 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1416
1417
  "aria-label": "clear text",
1417
1418
  "aria-disabled": n,
1418
1419
  tabIndex: 0,
1419
- children: /* @__PURE__ */ (0, J.jsx)("svg", {
1420
+ children: /* @__PURE__ */ (0, K.jsx)("svg", {
1420
1421
  viewBox: "0 0 24 24",
1421
1422
  preserveAspectRatio: "none",
1422
1423
  width: 28,
1423
1424
  fill: "none",
1424
1425
  stroke: n ? "#B6B6B6" : "#8E95A4",
1425
1426
  strokeWidth: "1.1",
1426
- children: /* @__PURE__ */ (0, J.jsx)("path", {
1427
+ children: /* @__PURE__ */ (0, K.jsx)("path", {
1427
1428
  strokeLinecap: "round",
1428
1429
  strokeLinejoin: "round",
1429
1430
  d: "M6 18L18 6M6 6l12 12"
1430
1431
  })
1431
1432
  })
1432
- }), yr = ({ onChange: e, programId: t, className: o, countryCode: s, disabled: c, minimumSearchValueLength: u, placeholder: d, value: f, inputHtmlId: p, openOrgSearchEnabled: m, orgSearchUrl: h, isRequired: _, locale: b, urlAddSchoolForm: x, isErrored: S, ariaDescribedBy: C, autoFocus: w = !1, onBlur: T = () => {} }) => {
1433
- let { msg: E } = g(), [D, O] = (0, q.useState)(f ? f.name : ""), [k, A] = (0, q.useState)([]), j = (0, q.useRef)(0), M = (0, q.useRef)(0), N = (0, q.useRef)(!1), P = (0, q.useRef)(!1), [F, I] = (0, q.useState)(!1), [L, R] = (0, q.useState)(!1), { recordNumericMetric: z, trackEvent: B } = ne({ programId: t }), V = v("org-search-overlay") === "overlay", { showOverlay: H, setShowOverlay: U } = ae();
1433
+ }), br = ({ onChange: e, programId: t, className: o, countryCode: s, disabled: c, minimumSearchValueLength: u, placeholder: d, value: f, inputHtmlId: p, openOrgSearchEnabled: m, orgSearchUrl: h, isRequired: _, locale: b, urlAddSchoolForm: x, isErrored: S, ariaDescribedBy: C, autoFocus: w = !1, onBlur: T = () => {} }) => {
1434
+ let { msg: E } = g(), [D, O] = (0, G.useState)(f ? f.name : ""), [k, A] = (0, G.useState)([]), j = (0, G.useRef)(0), M = (0, G.useRef)(0), N = (0, G.useRef)(!1), P = (0, G.useRef)(!1), [F, ee] = (0, G.useState)(!1), [I, L] = (0, G.useState)(!1), { recordNumericMetric: R, trackEvent: z } = ae({ programId: t }), B = v("org-search-overlay") === "overlay", { showOverlay: V, setShowOverlay: H } = ce();
1434
1435
  r(e);
1435
- let W = (e) => e ? e.name : "", { isOpen: ee, highlightedIndex: te, getMenuProps: re, getItemProps: ie, getInputProps: oe } = G({
1436
- itemToString: W,
1436
+ let U = (e) => e ? e.name : "", { isOpen: te, highlightedIndex: ne, getMenuProps: oe, getItemProps: se, getInputProps: le } = re({
1437
+ itemToString: U,
1437
1438
  id: p,
1438
1439
  items: k,
1439
1440
  inputValue: D,
1440
- onStateChange: (t) => _r(t, e, {
1441
+ onStateChange: (t) => vr(t, e, {
1441
1442
  openOrgSearchEnabled: m,
1442
- _searchOverlayEnabled: H
1443
+ _searchOverlayEnabled: V
1443
1444
  }),
1444
1445
  selectedItem: f,
1445
1446
  onSelectedItemChange: ({ selectedItem: t }) => {
1446
1447
  if (!t) {
1447
- O(""), U(!1), e({
1448
+ O(""), H(!1), e({
1448
1449
  id: 0,
1449
1450
  name: ""
1450
1451
  });
1451
1452
  return;
1452
1453
  }
1453
- O(W(t));
1454
+ O(U(t));
1454
1455
  let r = k.findIndex((e) => e.id === t.id) + 1, o = Date.now() - M.current;
1455
1456
  try {
1456
1457
  l({
@@ -1467,13 +1468,13 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1467
1468
  n.error(e);
1468
1469
  }
1469
1470
  try {
1470
- z(K.OrgSearchNumReworks, j.current), z(K.OrgSearchQueryLength, D.length), z(K.OrgSearchResultRank, r), z(K.OrgSearchTimeUntilSelection, o);
1471
+ R(W.OrgSearchNumReworks, j.current), R(W.OrgSearchQueryLength, D.length), R(W.OrgSearchResultRank, r), R(W.OrgSearchTimeUntilSelection, o);
1471
1472
  } catch (e) {
1472
1473
  n.error(e);
1473
1474
  }
1474
- M.current = 0, j.current = 0, U(!1), e(t);
1475
+ M.current = 0, j.current = 0, H(!1), e(t);
1475
1476
  }
1476
- }), se = () => {
1477
+ }), ue = () => {
1477
1478
  try {
1478
1479
  l({
1479
1480
  eventName: i.ASR_SELECTED,
@@ -1483,20 +1484,20 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1483
1484
  [a.EVENT_DURATION]: Date.now() - M.current,
1484
1485
  [a.NUMBER_OF_RESULTS]: k.length
1485
1486
  }
1486
- }), B(K.AsrClickThrough);
1487
+ }), z(W.AsrClickThrough);
1487
1488
  } catch (e) {
1488
1489
  n.error(e);
1489
1490
  }
1490
- }, ce = () => {
1491
+ }, de = () => {
1491
1492
  N.current = !0;
1492
- }, le = (r) => {
1493
+ }, fe = (r) => {
1493
1494
  let a = r.target.value;
1494
- R(!a);
1495
+ L(!a);
1495
1496
  try {
1496
1497
  M.current === 0 && (M.current = Date.now()), a.length < D.length && (j.current += 1), N.current && !P.current && a && (P.current = !0, l({
1497
1498
  eventName: i.ASR_SEARCH_AFTER_TIPS,
1498
1499
  params: { programId: t }
1499
- }), B(K.AsrSearchAfterTips));
1500
+ }), z(W.AsrSearchAfterTips));
1500
1501
  } catch (e) {
1501
1502
  n.error(e);
1502
1503
  }
@@ -1504,36 +1505,36 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1504
1505
  id: 0,
1505
1506
  name: a
1506
1507
  });
1507
- }, ue = (0, q.useRef)(null);
1508
- (0, q.useEffect)(() => {
1509
- y("organization", ue.current);
1508
+ }, pe = (0, G.useRef)(null);
1509
+ (0, G.useEffect)(() => {
1510
+ y("organization", pe.current);
1510
1511
  });
1511
- let de = (e) => {
1512
- I(!0), e.currentTarget.value ? (R(!1), U(!0)) : R(!0);
1513
- }, fe = (e) => {
1514
- e.relatedTarget?.id !== `${p}-clear-button` && (I(!1), T());
1515
- }, pe = (t) => {
1512
+ let me = (e) => {
1513
+ ee(!0), e.currentTarget.value ? (L(!1), H(!0)) : L(!0);
1514
+ }, he = (e) => {
1515
+ e.relatedTarget?.id !== `${p}-clear-button` && (ee(!1), T());
1516
+ }, ge = (t) => {
1516
1517
  (t.type === "mousedown" || "key" in t && t.key === "Enter") && (O(""), e({
1517
1518
  id: void 0,
1518
1519
  name: ""
1519
- }), ue.current.focus());
1520
+ }), pe.current.focus());
1520
1521
  };
1521
- return /* @__PURE__ */ (0, J.jsxs)("div", {
1522
+ return /* @__PURE__ */ (0, K.jsxs)("div", {
1522
1523
  className: "sid-organization-list",
1523
1524
  children: [
1524
- /* @__PURE__ */ (0, J.jsxs)("div", {
1525
+ /* @__PURE__ */ (0, K.jsxs)("div", {
1525
1526
  className: "sid-text-input__wrapper",
1526
- children: [/* @__PURE__ */ (0, J.jsx)("input", {
1527
- ...oe({
1528
- ref: ue,
1529
- onChange: le,
1530
- onFocus: (e) => de(e),
1531
- onBlur: (e) => fe(e),
1527
+ children: [/* @__PURE__ */ (0, K.jsx)("input", {
1528
+ ...le({
1529
+ ref: pe,
1530
+ onChange: fe,
1531
+ onFocus: (e) => me(e),
1532
+ onBlur: (e) => he(e),
1532
1533
  onKeyDown: (e) => {
1533
- e.key !== "Tab" && e.key !== "Escape" && U(!0);
1534
+ e.key !== "Tab" && e.key !== "Escape" && H(!0);
1534
1535
  }
1535
1536
  }),
1536
- className: `sid-l-full-width sid-hidden-placeholder sid-text-input ${o}`,
1537
+ className: ie("sid-l-full-width sid-hidden-placeholder sid-text-input", o),
1537
1538
  disabled: c,
1538
1539
  id: p,
1539
1540
  autoFocus: w,
@@ -1543,96 +1544,96 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1543
1544
  "aria-describedby": C,
1544
1545
  "aria-invalid": S,
1545
1546
  "aria-labelledby": `${p}-label`
1546
- }), H && /* @__PURE__ */ (0, J.jsx)(or, {
1547
+ }), V && /* @__PURE__ */ (0, K.jsx)(sr, {
1547
1548
  sortByRelevanceLabel: E({ id: "orgSearchSortByRelevance" }),
1548
1549
  sortByDistanceLabel: E({ id: "orgSearchSortByDistance" }),
1549
1550
  accessibilityLabel: E({ id: "orgSearchSortAccessibilityLabel" }),
1550
1551
  on: (e) => {
1551
1552
  switch (e) {
1552
1553
  case "openSortMenu":
1553
- B(K.OrgSearchOpenSortMenu);
1554
+ z(W.OrgSearchOpenSortMenu);
1554
1555
  break;
1555
1556
  case "sortDistance":
1556
- B(K.OrgSearchSortDistance);
1557
+ z(W.OrgSearchSortDistance);
1557
1558
  break;
1558
1559
  case "sortRelevance":
1559
- B(K.OrgSearchSortRelevance);
1560
+ z(W.OrgSearchSortRelevance);
1560
1561
  break;
1561
1562
  default: break;
1562
1563
  }
1563
1564
  }
1564
1565
  })]
1565
1566
  }),
1566
- F && !H ? /* @__PURE__ */ (0, J.jsx)(vr, {
1567
+ F && !V ? /* @__PURE__ */ (0, K.jsx)(yr, {
1567
1568
  id: `${p}-clear-button`,
1568
- disabled: L,
1569
- onMouseDown: pe,
1570
- onKeyDown: pe,
1571
- handleOnBlur: fe
1569
+ disabled: I,
1570
+ onMouseDown: ge,
1571
+ onKeyDown: ge,
1572
+ handleOnBlur: he
1572
1573
  }) : null,
1573
- /* @__PURE__ */ (0, J.jsx)("div", {
1574
- ...re(),
1574
+ /* @__PURE__ */ (0, K.jsx)("div", {
1575
+ ...oe(),
1575
1576
  className: "sid-organization-list__menu-wrapper",
1576
- children: D && ee || H && D ? /* @__PURE__ */ (0, J.jsx)(gr, {
1577
+ children: D && te || V && D ? /* @__PURE__ */ (0, K.jsx)(_r, {
1577
1578
  countryCode: s,
1578
- getItemProps: ie,
1579
- highlightedIndex: te,
1580
- itemToString: W,
1579
+ getItemProps: se,
1580
+ highlightedIndex: ne,
1581
+ itemToString: U,
1581
1582
  minimumSearchValueLength: u,
1582
1583
  onLoaded: (e) => A(e),
1583
1584
  programId: t,
1584
1585
  orgSearchUrl: h,
1585
1586
  locale: b,
1586
1587
  urlAddSchoolForm: x,
1587
- onClickAddSchool: se,
1588
- onTipsShown: ce,
1588
+ onClickAddSchool: ue,
1589
+ onTipsShown: de,
1589
1590
  openOrgSearchEnabled: m,
1590
- searchUrlParams: V ? { format: "detailed" } : void 0
1591
+ searchUrlParams: B ? { format: "detailed" } : void 0
1591
1592
  }) : null
1592
1593
  })
1593
1594
  ]
1594
1595
  });
1595
- }, br = (e) => W(() => e.id) === 0 && W(() => e.name, "").length > 0, xr = (e, t) => W(() => e.openOrgSearchEnabled) && br(t.organization), Sr = ({ fieldId: e, value: t, verificationService: n, onChange: r, placeholder: i, label: a, errorMessage: s, warningMessage: l, helperMessage: u, showPlaceholderAndHideLabel: f = !1, isRequired: m = !0, explanation: h = "", orgSearchUrl: _, urlAddSchoolForm: y, disabled: x = !1 }) => {
1596
- let { msg: S } = g(), C = `sid-${b(e)}`, w = `sid-${b(e)}-error`, T = `sid-${b(e)}-warning`, { programId: E, programTheme: D, verificationResponse: O, viewModel: k } = n, A = d(() => k.countryChoice.value), j = re(D, A), M = c(k, O), [N, P] = (0, q.useState)(!1), F = v("org-search-overlay") === "overlay", I = F || v("org-selected-display") === "box-display", L = v("hc-open-org-warning") === "warning-orange", R = v("hc-open-org-warning") === "warning-gray", z = L || R, [B, V] = (0, q.useState)(!1), H = d(() => D.openOrgSearchEnabled), U = () => {
1597
- H && br(t) ? V(!0) : V(!1);
1598
- }, W = (e) => {
1599
- B && V(!1), r(e);
1600
- }, G = B && z && /* @__PURE__ */ (0, J.jsx)(p, {
1596
+ }, xr = (e) => U(() => e.id) === 0 && U(() => e.name, "").length > 0, Sr = (e, t) => U(() => e.openOrgSearchEnabled) && xr(t.organization), Cr = ({ fieldId: e, value: t, verificationService: n, onChange: r, placeholder: i, label: a, errorMessage: s, warningMessage: l, helperMessage: u, showPlaceholderAndHideLabel: f = !1, isRequired: m = !0, explanation: h = "", orgSearchUrl: _, urlAddSchoolForm: y, disabled: x = !1 }) => {
1597
+ let { msg: S } = g(), C = `sid-${b(e)}`, w = `sid-${b(e)}-error`, T = `sid-${b(e)}-warning`, { programId: E, programTheme: D, verificationResponse: O, viewModel: k } = n, A = d(() => k.countryChoice.value), j = oe(D, A), M = c(k, O), [N, P] = (0, G.useState)(!1), F = v("org-search-overlay") === "overlay", ee = F || v("org-selected-display") === "box-display", I = v("hc-open-org-warning") === "warning-orange", L = v("hc-open-org-warning") === "warning-gray", R = I || L, [z, B] = (0, G.useState)(!1), V = d(() => D.openOrgSearchEnabled), H = () => {
1598
+ V && xr(t) ? B(!0) : B(!1);
1599
+ }, U = (e) => {
1600
+ z && B(!1), r(e);
1601
+ }, re = z && R && /* @__PURE__ */ (0, K.jsx)(p, {
1601
1602
  id: "warningId.openOrganization",
1602
1603
  defaultMessage: "We couldn't find a match for that name in our database. Please double-check the spelling, if it's correct, feel free to continue!"
1603
- }), K = l || L && G, ne = u || R && G;
1604
- return /* @__PURE__ */ (0, J.jsx)(de, {
1604
+ }), ie = l || I && re, W = u || L && re;
1605
+ return /* @__PURE__ */ (0, K.jsx)(me, {
1605
1606
  enabled: F,
1606
- closeSectionLabel: /* @__PURE__ */ (0, J.jsx)(p, {
1607
+ closeSectionLabel: /* @__PURE__ */ (0, K.jsx)(p, {
1607
1608
  id: "closeSection",
1608
1609
  defaultMessage: "Close Section"
1609
1610
  }),
1610
- children: /* @__PURE__ */ (0, J.jsx)(te, {
1611
+ children: /* @__PURE__ */ (0, K.jsx)(ne, {
1611
1612
  fieldId: e,
1612
1613
  label: a,
1613
1614
  errorMessage: s,
1614
- warningMessage: K,
1615
- helperMessage: ne,
1615
+ warningMessage: ie,
1616
+ helperMessage: W,
1616
1617
  showPlaceholderAndHideLabel: f,
1617
1618
  isRequired: m || j,
1618
- explanation: j ? /* @__PURE__ */ (0, J.jsx)(p, {
1619
+ explanation: j ? /* @__PURE__ */ (0, K.jsx)(p, {
1619
1620
  id: "chooseCountry",
1620
1621
  defaultMessage: "Choose a country before searching"
1621
1622
  }) : h,
1622
1623
  containerId: `${C}-id`,
1623
- children: I && t.id ? /* @__PURE__ */ (0, J.jsx)(fe, {
1624
+ children: ee && t.id ? /* @__PURE__ */ (0, K.jsx)(he, {
1624
1625
  org: t,
1625
1626
  onClear: () => {
1626
- W(void 0), P(!0);
1627
+ U(void 0), P(!0);
1627
1628
  },
1628
1629
  clearSelectionLabel: S({ id: "clearSelection" }),
1629
- labelId: ee(e)
1630
- }) : /* @__PURE__ */ (0, J.jsx)(yr, {
1631
- className: s ? "sid-text-input--error" : K ? "sid-text-input--warning" : "",
1630
+ labelId: te(e)
1631
+ }) : /* @__PURE__ */ (0, K.jsx)(br, {
1632
+ className: s ? "sid-text-input--error" : ie ? "sid-text-input--warning" : "",
1632
1633
  disabled: j || x,
1633
1634
  countryCode: A,
1634
1635
  minimumSearchValueLength: o().minimumOrganizationSearchLength,
1635
- onChange: W,
1636
+ onChange: U,
1636
1637
  placeholder: i,
1637
1638
  programId: E,
1638
1639
  value: t,
@@ -1645,13 +1646,13 @@ var ar = /*#__PURE__*/ q.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1645
1646
  isErrored: !!s,
1646
1647
  ariaDescribedBy: (() => {
1647
1648
  if (s) return w;
1648
- if (K) return T;
1649
+ if (ie) return T;
1649
1650
  })(),
1650
1651
  autoFocus: N,
1651
- onBlur: U
1652
+ onBlur: H
1652
1653
  })
1653
1654
  })
1654
1655
  });
1655
1656
  };
1656
1657
  //#endregion
1657
- export { xr as n, Sr as t };
1658
+ export { Sr as n, Cr as t };