@sheerid/jslib 2.249.0 → 2.250.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 (361) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +893 -894
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-BlFms8RU.js → AddressComponent-CmVyKqXc.js} +10 -10
  5. package/chunk/{AddressComponent-BlFms8RU.js.map → AddressComponent-CmVyKqXc.js.map} +1 -1
  6. package/chunk/{AddressComponent-DnFQfTYR.js → AddressComponent-ZIF4nAg6.js} +10 -10
  7. package/chunk/{AddressComponent-DnFQfTYR.js.map → AddressComponent-ZIF4nAg6.js.map} +1 -1
  8. package/chunk/BirthDateComponent-CMfd5EBF.js +35 -0
  9. package/chunk/{BirthDateComponent-DBoGs0xO.js.map → BirthDateComponent-CMfd5EBF.js.map} +1 -1
  10. package/chunk/{BirthDateComponent-Dl0XGTEU.js → BirthDateComponent-qIJ6VyBN.js} +10 -6
  11. package/chunk/{BirthDateComponent-Dl0XGTEU.js.map → BirthDateComponent-qIJ6VyBN.js.map} +1 -1
  12. package/chunk/{CaptchaComponent-CpD7kabQ.js → CaptchaComponent-D9qU6ygz.js} +389 -351
  13. package/chunk/CaptchaComponent-D9qU6ygz.js.map +1 -0
  14. package/chunk/{CaptchaComponent-CX3VgnkO.js → CaptchaComponent-DtcFKhJ1.js} +416 -386
  15. package/chunk/CaptchaComponent-DtcFKhJ1.js.map +1 -0
  16. package/chunk/{ChangeLocaleComponent-CwUU2jUS.js → ChangeLocaleComponent-C506fsyP.js} +15 -15
  17. package/chunk/{ChangeLocaleComponent-CwUU2jUS.js.map → ChangeLocaleComponent-C506fsyP.js.map} +1 -1
  18. package/chunk/{ChangeLocaleComponent-Db5V1sYM.js → ChangeLocaleComponent-D56onLa2.js} +12 -12
  19. package/chunk/{ChangeLocaleComponent-Db5V1sYM.js.map → ChangeLocaleComponent-D56onLa2.js.map} +1 -1
  20. package/chunk/{City-Dkthk9oJ.js → City-Ci2TwR7A.js} +10 -10
  21. package/chunk/{City-COH8oAI6.js.map → City-Ci2TwR7A.js.map} +1 -1
  22. package/chunk/{City-COH8oAI6.js → City-DcsZCOpS.js} +10 -10
  23. package/chunk/{City-Dkthk9oJ.js.map → City-DcsZCOpS.js.map} +1 -1
  24. package/chunk/{CollegeNameComponent-CcQ9X9_B.js → CollegeNameComponent-BgqXaJxu.js} +12 -12
  25. package/chunk/{CollegeNameComponent-C-dy7DMD.js.map → CollegeNameComponent-BgqXaJxu.js.map} +1 -1
  26. package/chunk/{CollegeNameComponent-C-dy7DMD.js → CollegeNameComponent-CIzSgol6.js} +13 -13
  27. package/chunk/{CollegeNameComponent-CcQ9X9_B.js.map → CollegeNameComponent-CIzSgol6.js.map} +1 -1
  28. package/chunk/{CopyToClipboardComponent-DIjRs4qZ.js → CopyToClipboardComponent-BESIJEWv.js} +5 -5
  29. package/chunk/{CopyToClipboardComponent-DIjRs4qZ.js.map → CopyToClipboardComponent-BESIJEWv.js.map} +1 -1
  30. package/chunk/CopyToClipboardComponent-BkiBQWbH.js +4 -4
  31. package/chunk/CountryComponentWrapper-CASuw2te.js +70 -0
  32. package/chunk/{CountryComponentWrapper-BKmiop9j.js.map → CountryComponentWrapper-CASuw2te.js.map} +1 -1
  33. package/chunk/CountryComponentWrapper-hbHOWlgu.js +74 -0
  34. package/chunk/{CountryComponentWrapper-cR2hBUDi.js.map → CountryComponentWrapper-hbHOWlgu.js.map} +1 -1
  35. package/chunk/{DischargeDateComponent-CRwKMsjW.js → DischargeDateComponent-C6MdcBJl.js} +31 -35
  36. package/chunk/{DischargeDateComponent-CRwKMsjW.js.map → DischargeDateComponent-C6MdcBJl.js.map} +1 -1
  37. package/chunk/{DischargeDateComponent-DSOfwpfI.js → DischargeDateComponent-GAHaUq3j.js} +34 -30
  38. package/chunk/{DischargeDateComponent-DSOfwpfI.js.map → DischargeDateComponent-GAHaUq3j.js.map} +1 -1
  39. package/chunk/{DriverLicenseNumberComponent-akwgy_SO.js → DriverLicenseNumberComponent-Bcrs2J8F.js} +11 -11
  40. package/chunk/{DriverLicenseNumberComponent-BH6bl91g.js.map → DriverLicenseNumberComponent-Bcrs2J8F.js.map} +1 -1
  41. package/chunk/{DriverLicenseNumberComponent-BH6bl91g.js → DriverLicenseNumberComponent-DRqO_tKm.js} +11 -11
  42. package/chunk/{DriverLicenseNumberComponent-akwgy_SO.js.map → DriverLicenseNumberComponent-DRqO_tKm.js.map} +1 -1
  43. package/chunk/{EmailLoopPending-BchQNg80.js → EmailLoopPending-C2nD34JV.js} +29 -29
  44. package/chunk/{EmailLoopPending-BchQNg80.js.map → EmailLoopPending-C2nD34JV.js.map} +1 -1
  45. package/chunk/{EmailLoopPending-D7XGFrxz.js → EmailLoopPending-tGJf2KO-.js} +21 -21
  46. package/chunk/{EmailLoopPending-D7XGFrxz.js.map → EmailLoopPending-tGJf2KO-.js.map} +1 -1
  47. package/chunk/{ExtraMessage-BNODbSi-.js → ExtraMessage-BF7WCgKF.js} +5 -5
  48. package/chunk/{ExtraMessage-BNODbSi-.js.map → ExtraMessage-BF7WCgKF.js.map} +1 -1
  49. package/chunk/ExtraMessage-BKREmfl_.js +18 -0
  50. package/chunk/{ExtraMessage-D78-mbs6.js.map → ExtraMessage-BKREmfl_.js.map} +1 -1
  51. package/chunk/{FirstResponderOrganizationComponent-BEvHXfgc.js → FirstResponderOrganizationComponent-CDUd_3wQ.js} +11 -11
  52. package/chunk/{FirstResponderOrganizationComponent-BEvHXfgc.js.map → FirstResponderOrganizationComponent-CDUd_3wQ.js.map} +1 -1
  53. package/chunk/{FirstResponderOrganizationComponent-BLNdDDOa.js → FirstResponderOrganizationComponent-DjVlz-RC.js} +10 -10
  54. package/chunk/{FirstResponderOrganizationComponent-BLNdDDOa.js.map → FirstResponderOrganizationComponent-DjVlz-RC.js.map} +1 -1
  55. package/chunk/{FormFieldInputSelect-B8lVVG8B.js → FormFieldInputSelect-B9m2vcvX.js} +7 -7
  56. package/chunk/{FormFieldInputSelect-B8lVVG8B.js.map → FormFieldInputSelect-B9m2vcvX.js.map} +1 -1
  57. package/chunk/{FormFieldInputSelect-C8O7C4IK.js → FormFieldInputSelect-d_7zlfAb.js} +7 -7
  58. package/chunk/{FormFieldInputSelect-C8O7C4IK.js.map → FormFieldInputSelect-d_7zlfAb.js.map} +1 -1
  59. package/chunk/{FormFieldLayout-ZhDGr6rb.js → FormFieldLayout-26v_1nBx.js} +5 -5
  60. package/chunk/{FormFieldLayout-yzfzLAfZ.js.map → FormFieldLayout-26v_1nBx.js.map} +1 -1
  61. package/chunk/{FormFieldLayout-yzfzLAfZ.js → FormFieldLayout-DJMFhEbe.js} +13 -13
  62. package/chunk/{FormFieldLayout-ZhDGr6rb.js.map → FormFieldLayout-DJMFhEbe.js.map} +1 -1
  63. package/chunk/{FormFieldText-B9EYGm5E.js → FormFieldText-BMCOvY3k.js} +6 -6
  64. package/chunk/{FormFieldText-B9EYGm5E.js.map → FormFieldText-BMCOvY3k.js.map} +1 -1
  65. package/chunk/{FormFieldText-DIAcRrkr.js → FormFieldText-CK9dvuS4.js} +7 -7
  66. package/chunk/{FormFieldText-DIAcRrkr.js.map → FormFieldText-CK9dvuS4.js.map} +1 -1
  67. package/chunk/{FormFieldTypeahead-Y91SkMJD.js → FormFieldTypeahead-ir8rYkOD.js} +435 -439
  68. package/chunk/{FormFieldTypeahead-BhoK1wVB.js.map → FormFieldTypeahead-ir8rYkOD.js.map} +1 -1
  69. package/chunk/{FormFieldTypeahead-BhoK1wVB.js → FormFieldTypeahead-pZggFuzg.js} +280 -276
  70. package/chunk/{FormFieldTypeahead-Y91SkMJD.js.map → FormFieldTypeahead-pZggFuzg.js.map} +1 -1
  71. package/chunk/{FormSelectChoice-BLQgJEYO.js → FormSelectChoice-A_dweQ9k.js} +20 -20
  72. package/chunk/{FormSelectChoice-BLQgJEYO.js.map → FormSelectChoice-A_dweQ9k.js.map} +1 -1
  73. package/chunk/{FormSelectChoice-u5sO_GqU.js → FormSelectChoice-C0ZvRRU4.js} +11 -11
  74. package/chunk/{FormSelectChoice-u5sO_GqU.js.map → FormSelectChoice-C0ZvRRU4.js.map} +1 -1
  75. package/chunk/{InputText-Cc-nHAaa.js → InputText-CMlYmMPL.js} +5 -5
  76. package/chunk/{InputText-Cc-nHAaa.js.map → InputText-CMlYmMPL.js.map} +1 -1
  77. package/chunk/InputText-CtKHbFE7.js +4 -4
  78. package/chunk/{LicensedProfessionalOrganizationComponent-KmfBDjN9.js → LicensedProfessionalOrganizationComponent-C9z4nWyc.js} +10 -10
  79. package/chunk/{LicensedProfessionalOrganizationComponent-Bd32g18q.js.map → LicensedProfessionalOrganizationComponent-C9z4nWyc.js.map} +1 -1
  80. package/chunk/{LicensedProfessionalOrganizationComponent-Bd32g18q.js → LicensedProfessionalOrganizationComponent-CVmJ9eS_.js} +11 -11
  81. package/chunk/{LicensedProfessionalOrganizationComponent-KmfBDjN9.js.map → LicensedProfessionalOrganizationComponent-CVmJ9eS_.js.map} +1 -1
  82. package/chunk/{LowIncomeOrganizationComponent-DmPn8oNy.js → LowIncomeOrganizationComponent-CVYnXbo4.js} +24 -28
  83. package/chunk/{LowIncomeOrganizationComponent-BDCwBwqA.js.map → LowIncomeOrganizationComponent-CVYnXbo4.js.map} +1 -1
  84. package/chunk/{LowIncomeOrganizationComponent-BDCwBwqA.js → LowIncomeOrganizationComponent-CvMiwUmr.js} +27 -23
  85. package/chunk/{LowIncomeOrganizationComponent-DmPn8oNy.js.map → LowIncomeOrganizationComponent-CvMiwUmr.js.map} +1 -1
  86. package/chunk/{MedicalProfessionalOrganizationComponent-CqNumnEx.js → MedicalProfessionalOrganizationComponent-6CxBMyJW.js} +10 -10
  87. package/chunk/{MedicalProfessionalOrganizationComponent-BvZ5-GKO.js.map → MedicalProfessionalOrganizationComponent-6CxBMyJW.js.map} +1 -1
  88. package/chunk/{MedicalProfessionalOrganizationComponent-BvZ5-GKO.js → MedicalProfessionalOrganizationComponent-BAhuoYQR.js} +11 -11
  89. package/chunk/{MedicalProfessionalOrganizationComponent-CqNumnEx.js.map → MedicalProfessionalOrganizationComponent-BAhuoYQR.js.map} +1 -1
  90. package/chunk/{MemberIdComponent-CZ4ylsxJ.js → MemberIdComponent-Bc6-XSmk.js} +11 -11
  91. package/chunk/{MemberIdComponent-CZ4ylsxJ.js.map → MemberIdComponent-Bc6-XSmk.js.map} +1 -1
  92. package/chunk/{MemberIdComponent-ClhVOK0_.js → MemberIdComponent-D3r9Y4c3.js} +11 -11
  93. package/chunk/{MemberIdComponent-ClhVOK0_.js.map → MemberIdComponent-D3r9Y4c3.js.map} +1 -1
  94. package/chunk/{MembershipOrganizationComponent-Ds1UMq_P.js → MembershipOrganizationComponent-PJ1L85G4.js} +10 -10
  95. package/chunk/{MembershipOrganizationComponent-B2k3iMwP.js.map → MembershipOrganizationComponent-PJ1L85G4.js.map} +1 -1
  96. package/chunk/{MembershipOrganizationComponent-B2k3iMwP.js → MembershipOrganizationComponent-xgi0R8Qh.js} +11 -11
  97. package/chunk/{MembershipOrganizationComponent-Ds1UMq_P.js.map → MembershipOrganizationComponent-xgi0R8Qh.js.map} +1 -1
  98. package/chunk/Onfido-DX6DWIy6.js +4 -4
  99. package/chunk/{PersonalInfoStepSubmitButton-C2E_vI6h.js → PersonalInfoStepSubmitButton-COTSMNng.js} +29 -25
  100. package/chunk/{PersonalInfoStepSubmitButton-BEt7G8pL.js.map → PersonalInfoStepSubmitButton-COTSMNng.js.map} +1 -1
  101. package/chunk/{PersonalInfoStepSubmitButton-BEt7G8pL.js → PersonalInfoStepSubmitButton-DL0Qjm6T.js} +29 -33
  102. package/chunk/{PersonalInfoStepSubmitButton-C2E_vI6h.js.map → PersonalInfoStepSubmitButton-DL0Qjm6T.js.map} +1 -1
  103. package/chunk/{PersonalInfoStepWrapper-DIecrjL_.js → PersonalInfoStepWrapper-BoM-u8Vg.js} +5 -5
  104. package/chunk/{PersonalInfoStepWrapper-DIecrjL_.js.map → PersonalInfoStepWrapper-BoM-u8Vg.js.map} +1 -1
  105. package/chunk/{PersonalInfoStepWrapper-B7jyR5L2.js → PersonalInfoStepWrapper-DgxBk5YC.js} +27 -27
  106. package/chunk/{PersonalInfoStepWrapper-B7jyR5L2.js.map → PersonalInfoStepWrapper-DgxBk5YC.js.map} +1 -1
  107. package/chunk/{PostalCodeComponent-BRv1OY2E.js → PostalCodeComponent-BAMN5oNJ.js} +10 -10
  108. package/chunk/{PostalCodeComponent-C5geCnf3.js.map → PostalCodeComponent-BAMN5oNJ.js.map} +1 -1
  109. package/chunk/{PostalCodeComponent-C5geCnf3.js → PostalCodeComponent-BoviWgTs.js} +10 -10
  110. package/chunk/{PostalCodeComponent-BRv1OY2E.js.map → PostalCodeComponent-BoviWgTs.js.map} +1 -1
  111. package/chunk/{SSN-DbmDwC_V.js → SSN-C-tXgqEW.js} +11 -11
  112. package/chunk/{SSN-DEDbmtXI.js.map → SSN-C-tXgqEW.js.map} +1 -1
  113. package/chunk/{SSN-DEDbmtXI.js → SSN-Dm927vAY.js} +11 -11
  114. package/chunk/{SSN-DbmDwC_V.js.map → SSN-Dm927vAY.js.map} +1 -1
  115. package/chunk/{StateSelectComponent-BVUvB4i-.js → StateSelectComponent-DRh_P7z6.js} +5 -5
  116. package/chunk/{StateSelectComponent-BVUvB4i-.js.map → StateSelectComponent-DRh_P7z6.js.map} +1 -1
  117. package/chunk/{StateSelectComponent-ykysTrKn.js → StateSelectComponent-uvSd1iyo.js} +9 -9
  118. package/chunk/{StateSelectComponent-ykysTrKn.js.map → StateSelectComponent-uvSd1iyo.js.map} +1 -1
  119. package/chunk/StatusComponent-Bn_amGh4.js +40 -0
  120. package/chunk/{StatusComponent-C9qP2xkk.js.map → StatusComponent-Bn_amGh4.js.map} +1 -1
  121. package/chunk/{StatusComponent-C9qP2xkk.js → StatusComponent-DN4l8Npf.js} +14 -14
  122. package/chunk/{StatusComponent-K7sbnHoL.js.map → StatusComponent-DN4l8Npf.js.map} +1 -1
  123. package/chunk/{StepActiveMilitaryPersonalInfoComponent-OP3pj1nz.js → StepActiveMilitaryPersonalInfoComponent-C195u8WH.js} +59 -55
  124. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B19DJheV.js.map → StepActiveMilitaryPersonalInfoComponent-C195u8WH.js.map} +1 -1
  125. package/chunk/StepActiveMilitaryPersonalInfoComponent-ZcCZn0os.js +174 -0
  126. package/chunk/{StepActiveMilitaryPersonalInfoComponent-OP3pj1nz.js.map → StepActiveMilitaryPersonalInfoComponent-ZcCZn0os.js.map} +1 -1
  127. package/chunk/StepAgePersonalInfo-BPeMAudS.js +166 -0
  128. package/chunk/{StepAgePersonalInfo-Bi-QeGX8.js.map → StepAgePersonalInfo-BPeMAudS.js.map} +1 -1
  129. package/chunk/StepAgePersonalInfo-ChwZMKcL.js +170 -0
  130. package/chunk/{StepAgePersonalInfo-CQBDmfRF.js.map → StepAgePersonalInfo-ChwZMKcL.js.map} +1 -1
  131. package/chunk/StepCard-B06reTxD.js +4 -4
  132. package/chunk/StepCard-Bypd7Dt8.js +4 -4
  133. package/chunk/{StepCollectIdentifier-BHAvn2O0.js → StepCollectIdentifier-DuKdS-j5.js} +19 -19
  134. package/chunk/{StepCollectIdentifier-BHAvn2O0.js.map → StepCollectIdentifier-DuKdS-j5.js.map} +1 -1
  135. package/chunk/{StepCollectIdentifier-CJWthRfj.js → StepCollectIdentifier-SFcn1Kr-.js} +12 -12
  136. package/chunk/{StepCollectIdentifier-CJWthRfj.js.map → StepCollectIdentifier-SFcn1Kr-.js.map} +1 -1
  137. package/chunk/StepCollectMilitaryStatusComponent-Bxu0tcW8.js +9 -0
  138. package/chunk/{StepCollectMilitaryStatusComponent-C4P5lSIX.js → StepCollectMilitaryStatusComponent-DKO_s_ta.js} +5 -5
  139. package/chunk/StepCollectPersonalInfo-H3GU_HNZ.js +352 -0
  140. package/chunk/{StepCollectPersonalInfo-B7--XzLY.js.map → StepCollectPersonalInfo-H3GU_HNZ.js.map} +1 -1
  141. package/chunk/{StepCollectPersonalInfo-DZpwrzjQ.js → StepCollectPersonalInfo-gDQydB_T.js} +124 -120
  142. package/chunk/{StepCollectPersonalInfo-DZpwrzjQ.js.map → StepCollectPersonalInfo-gDQydB_T.js.map} +1 -1
  143. package/chunk/{StepCompleteAuthentication-B66TaYiw.js → StepCompleteAuthentication-BjFkNxUn.js} +17 -17
  144. package/chunk/{StepCompleteAuthentication-B66TaYiw.js.map → StepCompleteAuthentication-BjFkNxUn.js.map} +1 -1
  145. package/chunk/{StepCompleteAuthentication-C0kcCUjP.js → StepCompleteAuthentication-DP1Q0Z7P.js} +24 -24
  146. package/chunk/{StepCompleteAuthentication-C0kcCUjP.js.map → StepCompleteAuthentication-DP1Q0Z7P.js.map} +1 -1
  147. package/chunk/{StepConsolation-BKobQblj.js → StepConsolation-C1iBEDx5.js} +13 -13
  148. package/chunk/{StepConsolation-BKobQblj.js.map → StepConsolation-C1iBEDx5.js.map} +1 -1
  149. package/chunk/{StepConsolation-CfpgPGx0.js → StepConsolation-DkIj9ddz.js} +19 -19
  150. package/chunk/{StepConsolation-CfpgPGx0.js.map → StepConsolation-DkIj9ddz.js.map} +1 -1
  151. package/chunk/{StepDocUpload-BM_hrO6C.js → StepDocUpload-CRn87Rqx.js} +249 -249
  152. package/chunk/{StepDocUpload-DkHcpKDh.js.map → StepDocUpload-CRn87Rqx.js.map} +1 -1
  153. package/chunk/{StepDocUpload-DkHcpKDh.js → StepDocUpload-D7O41B7o.js} +266 -266
  154. package/chunk/{StepDocUpload-BM_hrO6C.js.map → StepDocUpload-D7O41B7o.js.map} +1 -1
  155. package/chunk/StepDriverLicensePersonalInfoComponent-Bf27mPeI.js +136 -0
  156. package/chunk/{StepDriverLicensePersonalInfoComponent-DRAZbywp.js.map → StepDriverLicensePersonalInfoComponent-Bf27mPeI.js.map} +1 -1
  157. package/chunk/{StepDriverLicensePersonalInfoComponent-DRAZbywp.js → StepDriverLicensePersonalInfoComponent-BydWgQhM.js} +44 -40
  158. package/chunk/{StepDriverLicensePersonalInfoComponent-DvF6gQri.js.map → StepDriverLicensePersonalInfoComponent-BydWgQhM.js.map} +1 -1
  159. package/chunk/{StepEmailLoop-B2pJ6TII.js → StepEmailLoop-BwdA2js0.js} +31 -31
  160. package/chunk/{StepEmailLoop-B2pJ6TII.js.map → StepEmailLoop-BwdA2js0.js.map} +1 -1
  161. package/chunk/{StepEmailLoop-D82Ol-tF.js → StepEmailLoop-CaGMrw-M.js} +19 -19
  162. package/chunk/{StepEmailLoop-D82Ol-tF.js.map → StepEmailLoop-CaGMrw-M.js.map} +1 -1
  163. package/chunk/StepEmploymentPersonalInfo-BP0D_L-2.js +211 -0
  164. package/chunk/{StepEmploymentPersonalInfo-BIzLUyqF.js.map → StepEmploymentPersonalInfo-BP0D_L-2.js.map} +1 -1
  165. package/chunk/{StepEmploymentPersonalInfo-BIzLUyqF.js → StepEmploymentPersonalInfo-DokmufZm.js} +70 -70
  166. package/chunk/{StepEmploymentPersonalInfo-CfW1cRz5.js.map → StepEmploymentPersonalInfo-DokmufZm.js.map} +1 -1
  167. package/chunk/StepFirstResponderPersonalInfo-CFlC4kHJ.js +167 -0
  168. package/chunk/{StepFirstResponderPersonalInfo-CcKpt9P9.js.map → StepFirstResponderPersonalInfo-CFlC4kHJ.js.map} +1 -1
  169. package/chunk/StepFirstResponderPersonalInfo-DxaX2t3m.js +171 -0
  170. package/chunk/{StepFirstResponderPersonalInfo-fkmalnSR.js.map → StepFirstResponderPersonalInfo-DxaX2t3m.js.map} +1 -1
  171. package/chunk/StepGeneralIdentityPersonalInfoComponent-D7rWM-zc.js +169 -0
  172. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D-g65U8N.js.map → StepGeneralIdentityPersonalInfoComponent-D7rWM-zc.js.map} +1 -1
  173. package/chunk/{StepGeneralIdentityPersonalInfoComponent-DCzOLLXt.js → StepGeneralIdentityPersonalInfoComponent-DjlrFqzf.js} +49 -45
  174. package/chunk/{StepGeneralIdentityPersonalInfoComponent-DCzOLLXt.js.map → StepGeneralIdentityPersonalInfoComponent-DjlrFqzf.js.map} +1 -1
  175. package/chunk/StepHybridIdentityPersonalInfoComponent-7Tl8uDuV.js +178 -0
  176. package/chunk/{StepHybridIdentityPersonalInfoComponent-B1U-D-Oa.js.map → StepHybridIdentityPersonalInfoComponent-7Tl8uDuV.js.map} +1 -1
  177. package/chunk/{StepHybridIdentityPersonalInfoComponent-B1U-D-Oa.js → StepHybridIdentityPersonalInfoComponent-QCqe5hPY.js} +51 -47
  178. package/chunk/{StepHybridIdentityPersonalInfoComponent-CKqXVn71.js.map → StepHybridIdentityPersonalInfoComponent-QCqe5hPY.js.map} +1 -1
  179. package/chunk/{StepIDCheckLoop-C55YxnHR.js → StepIDCheckLoop-BJgnlAgW.js} +6 -6
  180. package/chunk/{StepIDCheckLoop-qAopx3ex.js.map → StepIDCheckLoop-BJgnlAgW.js.map} +1 -1
  181. package/chunk/StepIDCheckLoop-DSWI3l3R.js +21 -0
  182. package/chunk/{StepIDCheckLoop-C55YxnHR.js.map → StepIDCheckLoop-DSWI3l3R.js.map} +1 -1
  183. package/chunk/{StepIDCheckLoopOnfido-CNjlvSWc.js → StepIDCheckLoopOnfido-BQFOVwjz.js} +49 -49
  184. package/chunk/{StepIDCheckLoopOnfido-CNjlvSWc.js.map → StepIDCheckLoopOnfido-BQFOVwjz.js.map} +1 -1
  185. package/chunk/{StepIDCheckLoopOnfido-DMT6NO1B.js → StepIDCheckLoopOnfido-Q2N4Nl-N.js} +50 -50
  186. package/chunk/{StepIDCheckLoopOnfido-DMT6NO1B.js.map → StepIDCheckLoopOnfido-Q2N4Nl-N.js.map} +1 -1
  187. package/chunk/{StepIDCheckLoopRegula-qC6UgIrq.js → StepIDCheckLoopRegula-CV50hZTK.js} +40 -40
  188. package/chunk/{StepIDCheckLoopRegula-CTSRHPQ4.js.map → StepIDCheckLoopRegula-CV50hZTK.js.map} +1 -1
  189. package/chunk/{StepIDCheckLoopRegula-CTSRHPQ4.js → StepIDCheckLoopRegula-G6YJq954.js} +26 -26
  190. package/chunk/{StepIDCheckLoopRegula-qC6UgIrq.js.map → StepIDCheckLoopRegula-G6YJq954.js.map} +1 -1
  191. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DVxON89y.js → StepInactiveMilitaryPersonalInfoComponent-BD5AYCGD.js} +89 -85
  192. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DVxON89y.js.map → StepInactiveMilitaryPersonalInfoComponent-BD5AYCGD.js.map} +1 -1
  193. package/chunk/StepInactiveMilitaryPersonalInfoComponent-CzS52K0a.js +232 -0
  194. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Sgb4Acqi.js.map → StepInactiveMilitaryPersonalInfoComponent-CzS52K0a.js.map} +1 -1
  195. package/chunk/{StepLicensedProfessionalPersonalInfo-DssaBYy5.js → StepLicensedProfessionalPersonalInfo-Co6ysIbQ.js} +49 -49
  196. package/chunk/{StepLicensedProfessionalPersonalInfo-COwznw-a.js.map → StepLicensedProfessionalPersonalInfo-Co6ysIbQ.js.map} +1 -1
  197. package/chunk/{StepLicensedProfessionalPersonalInfo-COwznw-a.js → StepLicensedProfessionalPersonalInfo-MyhaHS8O.js} +67 -67
  198. package/chunk/{StepLicensedProfessionalPersonalInfo-DssaBYy5.js.map → StepLicensedProfessionalPersonalInfo-MyhaHS8O.js.map} +1 -1
  199. package/chunk/{StepLowIncomePersonalInfo-C3U0bUtb.js → StepLowIncomePersonalInfo-DEvMpSOc.js} +76 -76
  200. package/chunk/{StepLowIncomePersonalInfo-X2S_WVZz.js.map → StepLowIncomePersonalInfo-DEvMpSOc.js.map} +1 -1
  201. package/chunk/StepLowIncomePersonalInfo-MwI07ZDr.js +217 -0
  202. package/chunk/{StepLowIncomePersonalInfo-C3U0bUtb.js.map → StepLowIncomePersonalInfo-MwI07ZDr.js.map} +1 -1
  203. package/chunk/StepMedicalProfessionalPersonalInfo-Br3HaEsM.js +199 -0
  204. package/chunk/{StepMedicalProfessionalPersonalInfo-bRiGlQYY.js.map → StepMedicalProfessionalPersonalInfo-Br3HaEsM.js.map} +1 -1
  205. package/chunk/StepMedicalProfessionalPersonalInfo-Cz4yih5L.js +203 -0
  206. package/chunk/{StepMedicalProfessionalPersonalInfo-k9qmhFHs.js.map → StepMedicalProfessionalPersonalInfo-Cz4yih5L.js.map} +1 -1
  207. package/chunk/StepMemberPersonalInfo-D3y5Orq9.js +149 -0
  208. package/chunk/{StepMemberPersonalInfo-AnJ_sPsq.js.map → StepMemberPersonalInfo-D3y5Orq9.js.map} +1 -1
  209. package/chunk/{StepMemberPersonalInfo-AnJ_sPsq.js → StepMemberPersonalInfo-DxET2t6t.js} +35 -31
  210. package/chunk/{StepMemberPersonalInfo-DJC6kzko.js.map → StepMemberPersonalInfo-DxET2t6t.js.map} +1 -1
  211. package/chunk/{StepMoverPersonalInfo-Bf95T7H2.js → StepMoverPersonalInfo-BJQcx0QE.js} +44 -40
  212. package/chunk/{StepMoverPersonalInfo-Bf95T7H2.js.map → StepMoverPersonalInfo-BJQcx0QE.js.map} +1 -1
  213. package/chunk/StepMoverPersonalInfo-ms_oSmJJ.js +136 -0
  214. package/chunk/{StepMoverPersonalInfo-R8lZHUqS.js.map → StepMoverPersonalInfo-ms_oSmJJ.js.map} +1 -1
  215. package/chunk/{StepOverrideComponent-C3Wt9p-Y.js → StepOverrideComponent-DR6qA-CV.js} +18 -18
  216. package/chunk/{StepOverrideComponent-DQ6KQfVX.js.map → StepOverrideComponent-DR6qA-CV.js.map} +1 -1
  217. package/chunk/{StepOverrideComponent-DQ6KQfVX.js → StepOverrideComponent-DUneGdaQ.js} +26 -26
  218. package/chunk/{StepOverrideComponent-C3Wt9p-Y.js.map → StepOverrideComponent-DUneGdaQ.js.map} +1 -1
  219. package/chunk/{StepSMSLoop-BrbJqPhN.js → StepSMSLoop-CmnU4foO.js} +29 -29
  220. package/chunk/{StepSMSLoop-BrbJqPhN.js.map → StepSMSLoop-CmnU4foO.js.map} +1 -1
  221. package/chunk/{StepSMSLoop-C48P-QXx.js → StepSMSLoop-D96_oeaY.js} +22 -22
  222. package/chunk/{StepSMSLoop-C48P-QXx.js.map → StepSMSLoop-D96_oeaY.js.map} +1 -1
  223. package/chunk/StepSSO-D2pCLSYD.js +9 -0
  224. package/chunk/{StepSSO-DlRartMb.js → StepSSO-y263jjm-.js} +5 -5
  225. package/chunk/{StepSocialSecurityNumber-DyiO7ggN.js → StepSocialSecurityNumber-Bv8OGQDM.js} +31 -31
  226. package/chunk/{StepSocialSecurityNumber-Bn9fK496.js.map → StepSocialSecurityNumber-Bv8OGQDM.js.map} +1 -1
  227. package/chunk/{StepSocialSecurityNumber-Bn9fK496.js → StepSocialSecurityNumber-C4iQRaSu.js} +25 -25
  228. package/chunk/{StepSocialSecurityNumber-DyiO7ggN.js.map → StepSocialSecurityNumber-C4iQRaSu.js.map} +1 -1
  229. package/chunk/{StepStudentPersonalInfo-BK34pk1g.js → StepStudentPersonalInfo-CStD7GTz.js} +52 -48
  230. package/chunk/{StepStudentPersonalInfo-BK34pk1g.js.map → StepStudentPersonalInfo-CStD7GTz.js.map} +1 -1
  231. package/chunk/StepStudentPersonalInfo-DC_LuVGO.js +181 -0
  232. package/chunk/{StepStudentPersonalInfo-Cpx5Y88n.js.map → StepStudentPersonalInfo-DC_LuVGO.js.map} +1 -1
  233. package/chunk/{StepSuccess-5zi6JPlJ.js → StepSuccess-D0zwNWtW.js} +47 -47
  234. package/chunk/{StepSuccess-5zi6JPlJ.js.map → StepSuccess-D0zwNWtW.js.map} +1 -1
  235. package/chunk/{StepSuccess-BEVsDxMB.js → StepSuccess-DH_SCQ3o.js} +43 -43
  236. package/chunk/{StepSuccess-BEVsDxMB.js.map → StepSuccess-DH_SCQ3o.js.map} +1 -1
  237. package/chunk/{StepTeacherPersonalInfo-kUTcaH1X.js → StepTeacherPersonalInfo-BD270H75.js} +36 -32
  238. package/chunk/{StepTeacherPersonalInfo-JFMv7J7a.js.map → StepTeacherPersonalInfo-BD270H75.js.map} +1 -1
  239. package/chunk/StepTeacherPersonalInfo-CdIYEUhN.js +146 -0
  240. package/chunk/{StepTeacherPersonalInfo-kUTcaH1X.js.map → StepTeacherPersonalInfo-CdIYEUhN.js.map} +1 -1
  241. package/chunk/StepThirdPartyLoop-C9irc_Or.js +9 -0
  242. package/chunk/{StepThirdPartyLoop-DgBM8Hjr.js → StepThirdPartyLoop-DfDkHKc3.js} +5 -5
  243. package/chunk/{TeacherSchoolComponent-BlXd_Ago.js → TeacherSchoolComponent-BVq4mqo8.js} +13 -13
  244. package/chunk/{TeacherSchoolComponent-lxPkOdX5.js.map → TeacherSchoolComponent-BVq4mqo8.js.map} +1 -1
  245. package/chunk/{TeacherSchoolComponent-lxPkOdX5.js → TeacherSchoolComponent-CBD2dQym.js} +12 -12
  246. package/chunk/{TeacherSchoolComponent-BlXd_Ago.js.map → TeacherSchoolComponent-CBD2dQym.js.map} +1 -1
  247. package/chunk/ThreatMetrix-DneXzgNV.js +4 -4
  248. package/chunk/{VerificationApiUtils-Ci3HFxmT.js → VerificationApiUtils-CuQ536DE.js} +5 -5
  249. package/chunk/{VerificationApiUtils-Ci3HFxmT.js.map → VerificationApiUtils-CuQ536DE.js.map} +1 -1
  250. package/chunk/{VerificationApiUtils-Cnf-uqtw.js → VerificationApiUtils-D715lDKh.js} +7 -7
  251. package/chunk/{VerificationApiUtils-Cnf-uqtw.js.map → VerificationApiUtils-D715lDKh.js.map} +1 -1
  252. package/chunk/ar-DY-xX8jm.js +4 -4
  253. package/chunk/bg-DtqxFXxf.js +4 -4
  254. package/chunk/bn-IN-CLQsDlLx.js +4 -4
  255. package/chunk/countryUtils-D5jLglud.js +4 -4
  256. package/chunk/countryUtils-ZO5utVC3.js +4 -4
  257. package/chunk/cs-zKYalrCx.js +4 -4
  258. package/chunk/da-B5mz--q8.js +4 -4
  259. package/chunk/de-C1u5bH-H.js +4 -4
  260. package/chunk/{downshift.esm-qbGlaZEh.js → downshift.esm-CmXev3Ne.js} +5 -5
  261. package/chunk/{downshift.esm-qbGlaZEh.js.map → downshift.esm-CmXev3Ne.js.map} +1 -1
  262. package/chunk/{downshift.esm-fwmIRsQT.js → downshift.esm-CtORkuQS.js} +228 -228
  263. package/chunk/{downshift.esm-fwmIRsQT.js.map → downshift.esm-CtORkuQS.js.map} +1 -1
  264. package/chunk/el-By0fu1Nj.js +4 -4
  265. package/chunk/en-GB-C2Ud3xXN.js +4 -4
  266. package/chunk/es-CNmoqMfp.js +4 -4
  267. package/chunk/es-ES-B7X6cedJ.js +4 -4
  268. package/chunk/et-DjJMLduk.js +4 -4
  269. package/chunk/fa-C9Wazqks.js +4 -4
  270. package/chunk/fi-Bt0kXgNy.js +4 -4
  271. package/chunk/fr-BvwOLEGk.js +4 -4
  272. package/chunk/fr-CA-DDN6X27Z.js +4 -4
  273. package/chunk/ga-DyaPZPE4.js +4 -4
  274. package/chunk/hi-IN-BsHMHntR.js +4 -4
  275. package/chunk/hr-BVl-px1q.js +4 -4
  276. package/chunk/hu-D4VjeLtb.js +4 -4
  277. package/chunk/id-B9cy0h8v.js +4 -4
  278. package/chunk/is-DFpeGHFj.js +4 -4
  279. package/chunk/it-DWz5-P-2.js +4 -4
  280. package/chunk/iw-DdKzE4KC.js +4 -4
  281. package/chunk/ja-BfUezqgt.js +4 -4
  282. package/chunk/kk-dxzPsna4.js +4 -4
  283. package/chunk/ko-BoAyzxes.js +4 -4
  284. package/chunk/lo-VdDzVd41.js +4 -4
  285. package/chunk/lt-CtEXkLkn.js +4 -4
  286. package/chunk/lv-SXvo6W1l.js +4 -4
  287. package/chunk/militaryStepHelpers--Wm0W_ag.js +4 -4
  288. package/chunk/militaryStepHelpers-BeuHYTWR.js +4 -4
  289. package/chunk/{mocks-Cgaq6lp9.js → mocks-DW4afxJL.js} +7 -7
  290. package/chunk/{mocks-BPyxndtc.js.map → mocks-DW4afxJL.js.map} +1 -1
  291. package/chunk/{mocks-BPyxndtc.js → mocks-WjVFEPXM.js} +8 -8
  292. package/chunk/{mocks-Cgaq6lp9.js.map → mocks-WjVFEPXM.js.map} +1 -1
  293. package/chunk/ms-CAQm5fnc.js +4 -4
  294. package/chunk/nl-BE-bh2asFFE.js +4 -4
  295. package/chunk/nl-TH42E1ce.js +4 -4
  296. package/chunk/no-CWx3bQiE.js +4 -4
  297. package/chunk/pl-C5UPRDbl.js +4 -4
  298. package/chunk/pt-BR-WR8V3NBI.js +4 -4
  299. package/chunk/pt-DuRmZVpm.js +4 -4
  300. package/chunk/ro-X6KMMewz.js +4 -4
  301. package/chunk/ru-D8cwuuW9.js +4 -4
  302. package/chunk/sk-l-usPvHT.js +4 -4
  303. package/chunk/sl-CcFevFDd.js +4 -4
  304. package/chunk/sr-5hqdw8W6.js +4 -4
  305. package/chunk/sv-CHHsIc-_.js +4 -4
  306. package/chunk/sw-N7xKwBA-.js +4 -4
  307. package/chunk/ta-CJbnZGAc.js +4 -4
  308. package/chunk/th-BGQ9NXQb.js +4 -4
  309. package/chunk/tl-D4edHa4A.js +4 -4
  310. package/chunk/tr-CzGpuTpn.js +4 -4
  311. package/chunk/uk-ChRcPkiM.js +4 -4
  312. package/chunk/ur-DwjvEWmp.js +4 -4
  313. package/chunk/{useCollectFieldsEndpoint-Clin3AaA.js → useCollectFieldsEndpoint-BEwU2IXN.js} +9 -9
  314. package/chunk/{useCollectFieldsEndpoint-Cig4wEUB.js.map → useCollectFieldsEndpoint-BEwU2IXN.js.map} +1 -1
  315. package/chunk/{useCollectFieldsEndpoint-Cig4wEUB.js → useCollectFieldsEndpoint-CvOWXfx8.js} +8 -8
  316. package/chunk/{useCollectFieldsEndpoint-Clin3AaA.js.map → useCollectFieldsEndpoint-CvOWXfx8.js.map} +1 -1
  317. package/chunk/{useMetrics-CLLh0Tan.js → useMetrics-2o9KG92p.js} +12 -26
  318. package/chunk/useMetrics-2o9KG92p.js.map +1 -0
  319. package/chunk/{useMetrics-5ft9MF-y.js → useMetrics-DW_mv5wy.js} +6 -20
  320. package/chunk/useMetrics-DW_mv5wy.js.map +1 -0
  321. package/chunk/vi-CyTj2EhC.js +4 -4
  322. package/chunk/zh-91qJ02Dp.js +4 -4
  323. package/chunk/zh-HK-xEJkIfby.js +4 -4
  324. package/chunk/zu-BrvraDYW.js +4 -4
  325. package/package.json +1 -1
  326. package/sheerid-install.css +4 -4
  327. package/sheerid-install.js +4 -4
  328. package/sheerid.css +4 -4
  329. package/sheerid.js +939 -940
  330. package/sheerid.js.map +1 -1
  331. package/chunk/BirthDateComponent-DBoGs0xO.js +0 -39
  332. package/chunk/CaptchaComponent-CX3VgnkO.js.map +0 -1
  333. package/chunk/CaptchaComponent-CpD7kabQ.js.map +0 -1
  334. package/chunk/CountryComponentWrapper-BKmiop9j.js +0 -70
  335. package/chunk/CountryComponentWrapper-cR2hBUDi.js +0 -74
  336. package/chunk/ExtraMessage-D78-mbs6.js +0 -18
  337. package/chunk/StatusComponent-K7sbnHoL.js +0 -40
  338. package/chunk/StepActiveMilitaryPersonalInfoComponent-B19DJheV.js +0 -178
  339. package/chunk/StepAgePersonalInfo-Bi-QeGX8.js +0 -166
  340. package/chunk/StepAgePersonalInfo-CQBDmfRF.js +0 -170
  341. package/chunk/StepCollectMilitaryStatusComponent-Cp82hWUq.js +0 -9
  342. package/chunk/StepCollectPersonalInfo-B7--XzLY.js +0 -356
  343. package/chunk/StepDriverLicensePersonalInfoComponent-DvF6gQri.js +0 -140
  344. package/chunk/StepEmploymentPersonalInfo-CfW1cRz5.js +0 -211
  345. package/chunk/StepFirstResponderPersonalInfo-CcKpt9P9.js +0 -167
  346. package/chunk/StepFirstResponderPersonalInfo-fkmalnSR.js +0 -171
  347. package/chunk/StepGeneralIdentityPersonalInfoComponent-D-g65U8N.js +0 -173
  348. package/chunk/StepHybridIdentityPersonalInfoComponent-CKqXVn71.js +0 -182
  349. package/chunk/StepIDCheckLoop-qAopx3ex.js +0 -21
  350. package/chunk/StepInactiveMilitaryPersonalInfoComponent-Sgb4Acqi.js +0 -236
  351. package/chunk/StepLowIncomePersonalInfo-X2S_WVZz.js +0 -217
  352. package/chunk/StepMedicalProfessionalPersonalInfo-bRiGlQYY.js +0 -203
  353. package/chunk/StepMedicalProfessionalPersonalInfo-k9qmhFHs.js +0 -199
  354. package/chunk/StepMemberPersonalInfo-DJC6kzko.js +0 -153
  355. package/chunk/StepMoverPersonalInfo-R8lZHUqS.js +0 -140
  356. package/chunk/StepSSO-wafaHYQE.js +0 -9
  357. package/chunk/StepStudentPersonalInfo-Cpx5Y88n.js +0 -185
  358. package/chunk/StepTeacherPersonalInfo-JFMv7J7a.js +0 -150
  359. package/chunk/StepThirdPartyLoop-B12aMzdI.js +0 -9
  360. package/chunk/useMetrics-5ft9MF-y.js.map +0 -1
  361. package/chunk/useMetrics-CLLh0Tan.js.map +0 -1
@@ -1,21 +1,17 @@
1
1
 
2
2
  /**
3
- * WARNING: This file is intended to be used within MySheerID.
4
- * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
- */
6
- /**
7
- * VERSION: 2.249.0
8
- * BUILD_TIMESTAMP: 1782520958289
9
- * BUILD_DATE: Sat Jun 27 2026 00:42:38 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d434b306f163c625231516e302f145313c088dbc
3
+ * VERSION: 2.250.0
4
+ * BUILD_TIMESTAMP: 1782922520068
5
+ * BUILD_DATE: Wed Jul 01 2026 16:15:20 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: cb70a3d38f25dac850245b568238895cd279ec48
11
7
  */
12
- import { $t as e, An as t, C as n, D as r, E as i, Ht as a, Jt as o, Mn as s, On as c, Qt as l, S as u, T as d, Yt as f, _ as p, _t as m, an as h, b as g, bt as _, c as v, d as y, dt as b, et as x, f as S, fn as C, g as w, gt as T, h as E, kn as D, kt as O, l as k, m as A, p as j, pn as M, r as N, rn as P, rt as F, s as I, st as L, tn as R, u as z, v as ee, vt as B, w as V, x as H, y as te } from "../_mysheerid-preview.js";
13
- import { n as ne, t as re } from "./FormFieldLayout-yzfzLAfZ.js";
14
- import { t as U } from "./downshift.esm-qbGlaZEh.js";
15
- import { a as W, o as ie } from "./useMetrics-CLLh0Tan.js";
16
- import { t as ae } from "./countryUtils-D5jLglud.js";
8
+ import { An as e, Bt as t, C as n, D as r, E as i, En as a, Gt as o, Ht as s, Lt as c, Mn as l, O as u, Rt as d, S as f, T as p, Ut as m, Yt as h, _ as g, a as _, an as v, at as y, b, d as x, dn as S, f as C, ft as w, g as T, h as E, jt as D, k as O, kn as k, l as A, m as j, n as M, nn as N, nt as P, p as F, qt as I, rn as L, sn as R, u as z, v as B, w as V, x as H, y as ee, yt as te } from "../sheerid.js";
9
+ import { n as ne, t as re } from "./FormFieldLayout-26v_1nBx.js";
10
+ import { t as U } from "./downshift.esm-CtORkuQS.js";
11
+ import { a as W, o as ie } from "./useMetrics-DW_mv5wy.js";
12
+ import { t as ae } from "./countryUtils-ZO5utVC3.js";
17
13
  //#region ../packages/org-search/src/SearchOverlay/context.ts
18
- var G = /* @__PURE__ */ s(P(), 1), oe = (0, G.createContext)({
14
+ var G = /* @__PURE__ */ l(k(), 1), oe = (0, G.createContext)({
19
15
  showOverlay: !1,
20
16
  setShowOverlay: () => void 0
21
17
  }), se = () => (0, G.useContext)(oe), ce = (0, G.createContext)(null), le = () => (0, G.useContext)(ce);
@@ -46,7 +42,7 @@ function ue() {
46
42
  }
47
43
  //#endregion
48
44
  //#region ../packages/org-search/src/SearchRanking/SearchRankingProvider.tsx
49
- var K = m(), de = ({ children: e }) => {
45
+ var K = d(), de = ({ children: e }) => {
50
46
  let [t, n] = (0, G.useState)("relevance"), [r, i] = (0, G.useState)(null), [a, o] = (0, G.useState)(!1), s = ue(), c = (0, G.useCallback)(async () => {
51
47
  try {
52
48
  let e = await s.requestLocation();
@@ -160,56 +156,56 @@ function ye(e, t) {
160
156
  //#endregion
161
157
  //#region ../node_modules/@radix-ui/react-collection/dist/index.mjs
162
158
  function be(e) {
163
- let t = e + "CollectionProvider", [r, a] = V(t), [o, s] = r(t, {
159
+ let t = e + "CollectionProvider", [n, r] = i(t), [a, o] = n(t, {
164
160
  collectionRef: { current: null },
165
161
  itemMap: /* @__PURE__ */ new Map()
166
- }), c = (e) => {
162
+ }), s = (e) => {
167
163
  let { scope: t, children: n } = e, r = G.useRef(null), i = G.useRef(/* @__PURE__ */ new Map()).current;
168
- return /* @__PURE__ */ (0, K.jsx)(o, {
164
+ return /* @__PURE__ */ (0, K.jsx)(a, {
169
165
  scope: t,
170
166
  itemMap: i,
171
167
  collectionRef: r,
172
168
  children: n
173
169
  });
174
170
  };
175
- c.displayName = t;
176
- let l = e + "CollectionSlot", u = n(l), d = G.forwardRef((e, t) => {
171
+ s.displayName = t;
172
+ let c = e + "CollectionSlot", l = p(c), d = G.forwardRef((e, t) => {
177
173
  let { scope: n, children: r } = e;
178
- return /* @__PURE__ */ (0, K.jsx)(u, {
179
- ref: i(t, s(l, n).collectionRef),
174
+ return /* @__PURE__ */ (0, K.jsx)(l, {
175
+ ref: u(t, o(c, n).collectionRef),
180
176
  children: r
181
177
  });
182
178
  });
183
- d.displayName = l;
184
- let f = e + "CollectionItemSlot", p = "data-radix-collection-item", m = n(f), h = G.forwardRef((e, t) => {
185
- let { scope: n, children: r, ...a } = e, o = G.useRef(null), c = i(t, o), l = s(f, n);
186
- return G.useEffect(() => (l.itemMap.set(o, {
187
- ref: o,
188
- ...a
189
- }), () => void l.itemMap.delete(o))), /* @__PURE__ */ (0, K.jsx)(m, {
190
- [p]: "",
191
- ref: c,
179
+ d.displayName = c;
180
+ let f = e + "CollectionItemSlot", m = "data-radix-collection-item", h = p(f), g = G.forwardRef((e, t) => {
181
+ let { scope: n, children: r, ...i } = e, a = G.useRef(null), s = u(t, a), c = o(f, n);
182
+ return G.useEffect(() => (c.itemMap.set(a, {
183
+ ref: a,
184
+ ...i
185
+ }), () => void c.itemMap.delete(a))), /* @__PURE__ */ (0, K.jsx)(h, {
186
+ [m]: "",
187
+ ref: s,
192
188
  children: r
193
189
  });
194
190
  });
195
- h.displayName = f;
196
- function g(t) {
197
- let n = s(e + "CollectionConsumer", t);
191
+ g.displayName = f;
192
+ function _(t) {
193
+ let n = o(e + "CollectionConsumer", t);
198
194
  return G.useCallback(() => {
199
195
  let e = n.collectionRef.current;
200
196
  if (!e) return [];
201
- let t = Array.from(e.querySelectorAll(`[${p}]`));
197
+ let t = Array.from(e.querySelectorAll(`[${m}]`));
202
198
  return Array.from(n.itemMap.values()).sort((e, n) => t.indexOf(e.ref.current) - t.indexOf(n.ref.current));
203
199
  }, [n.collectionRef, n.itemMap]);
204
200
  }
205
201
  return [
206
202
  {
207
- Provider: c,
203
+ Provider: s,
208
204
  Slot: d,
209
- ItemSlot: h
205
+ ItemSlot: g
210
206
  },
211
- g,
212
- a
207
+ _,
208
+ r
213
209
  ];
214
210
  }
215
211
  //#endregion
@@ -224,7 +220,7 @@ function Se(e) {
224
220
  var Ce = "rovingFocusGroup.onEntryFocus", we = {
225
221
  bubbles: !1,
226
222
  cancelable: !0
227
- }, q = "RovingFocusGroup", [Te, Ee, De] = be(q), [Oe, ke] = V(q, [De]), [Ae, je] = Oe(q), Me = G.forwardRef((e, t) => /* @__PURE__ */ (0, K.jsx)(Te.Provider, {
223
+ }, q = "RovingFocusGroup", [Te, Ee, De] = be(q), [Oe, ke] = i(q, [De]), [Ae, je] = Oe(q), Me = G.forwardRef((e, t) => /* @__PURE__ */ (0, K.jsx)(Te.Provider, {
228
224
  scope: e.__scopeRovingFocusGroup,
229
225
  children: /* @__PURE__ */ (0, K.jsx)(Te.Slot, {
230
226
  scope: e.__scopeRovingFocusGroup,
@@ -236,57 +232,57 @@ var Ce = "rovingFocusGroup.onEntryFocus", we = {
236
232
  }));
237
233
  Me.displayName = q;
238
234
  var Ne = G.forwardRef((e, t) => {
239
- let { __scopeRovingFocusGroup: n, orientation: a, loop: o = !1, dir: s, currentTabStopId: c, defaultCurrentTabStopId: l, onCurrentTabStopIdChange: u, onEntryFocus: d, preventScrollOnEntryFocus: f = !1, ...p } = e, m = G.useRef(null), h = i(t, m), _ = Se(s), [y, b] = v({
240
- prop: c,
241
- defaultProp: l ?? null,
242
- onChange: u,
235
+ let { __scopeRovingFocusGroup: r, orientation: i, loop: a = !1, dir: o, currentTabStopId: s, defaultCurrentTabStopId: c, onCurrentTabStopIdChange: l, onEntryFocus: d, preventScrollOnEntryFocus: p = !1, ...m } = e, h = G.useRef(null), g = u(t, h), _ = Se(o), [v, y] = z({
236
+ prop: s,
237
+ defaultProp: c ?? null,
238
+ onChange: l,
243
239
  caller: q
244
- }), [x, S] = G.useState(!1), C = g(d), w = Ee(n), T = G.useRef(!1), [E, D] = G.useState(0);
240
+ }), [b, x] = G.useState(!1), S = f(d), C = Ee(r), w = G.useRef(!1), [T, E] = G.useState(0);
245
241
  return G.useEffect(() => {
246
- let e = m.current;
247
- if (e) return e.addEventListener(Ce, C), () => e.removeEventListener(Ce, C);
248
- }, [C]), /* @__PURE__ */ (0, K.jsx)(Ae, {
249
- scope: n,
250
- orientation: a,
242
+ let e = h.current;
243
+ if (e) return e.addEventListener(Ce, S), () => e.removeEventListener(Ce, S);
244
+ }, [S]), /* @__PURE__ */ (0, K.jsx)(Ae, {
245
+ scope: r,
246
+ orientation: i,
251
247
  dir: _,
252
- loop: o,
253
- currentTabStopId: y,
254
- onItemFocus: G.useCallback((e) => b(e), [b]),
255
- onItemShiftTab: G.useCallback(() => S(!0), []),
256
- onFocusableItemAdd: G.useCallback(() => D((e) => e + 1), []),
257
- onFocusableItemRemove: G.useCallback(() => D((e) => e - 1), []),
258
- children: /* @__PURE__ */ (0, K.jsx)(H.div, {
259
- tabIndex: x || E === 0 ? -1 : 0,
260
- "data-orientation": a,
261
- ...p,
262
- ref: h,
248
+ loop: a,
249
+ currentTabStopId: v,
250
+ onItemFocus: G.useCallback((e) => y(e), [y]),
251
+ onItemShiftTab: G.useCallback(() => x(!0), []),
252
+ onFocusableItemAdd: G.useCallback(() => E((e) => e + 1), []),
253
+ onFocusableItemRemove: G.useCallback(() => E((e) => e - 1), []),
254
+ children: /* @__PURE__ */ (0, K.jsx)(n.div, {
255
+ tabIndex: b || T === 0 ? -1 : 0,
256
+ "data-orientation": i,
257
+ ...m,
258
+ ref: g,
263
259
  style: {
264
260
  outline: "none",
265
261
  ...e.style
266
262
  },
267
- onMouseDown: r(e.onMouseDown, () => {
268
- T.current = !0;
263
+ onMouseDown: O(e.onMouseDown, () => {
264
+ w.current = !0;
269
265
  }),
270
- onFocus: r(e.onFocus, (e) => {
271
- let t = !T.current;
272
- if (e.target === e.currentTarget && t && !x) {
266
+ onFocus: O(e.onFocus, (e) => {
267
+ let t = !w.current;
268
+ if (e.target === e.currentTarget && t && !b) {
273
269
  let t = new CustomEvent(Ce, we);
274
270
  if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
275
- let e = w().filter((e) => e.focusable);
271
+ let e = C().filter((e) => e.focusable);
276
272
  ze([
277
273
  e.find((e) => e.active),
278
- e.find((e) => e.id === y),
274
+ e.find((e) => e.id === v),
279
275
  ...e
280
- ].filter(Boolean).map((e) => e.ref.current), f);
276
+ ].filter(Boolean).map((e) => e.ref.current), p);
281
277
  }
282
278
  }
283
- T.current = !1;
279
+ w.current = !1;
284
280
  }),
285
- onBlur: r(e.onBlur, () => S(!1))
281
+ onBlur: O(e.onBlur, () => x(!1))
286
282
  })
287
283
  });
288
284
  }), Pe = "RovingFocusGroupItem", Fe = G.forwardRef((e, t) => {
289
- let { __scopeRovingFocusGroup: n, focusable: i = !0, active: a = !1, tabStopId: o, children: s, ...c } = e, l = w(), u = o || l, d = je(Pe, n), f = d.currentTabStopId === u, p = Ee(n), { onFocusableItemAdd: m, onFocusableItemRemove: h, currentTabStopId: g } = d;
285
+ let { __scopeRovingFocusGroup: r, focusable: i = !0, active: a = !1, tabStopId: o, children: s, ...c } = e, l = B(), u = o || l, d = je(Pe, r), f = d.currentTabStopId === u, p = Ee(r), { onFocusableItemAdd: m, onFocusableItemRemove: h, currentTabStopId: g } = d;
290
286
  return G.useEffect(() => {
291
287
  if (i) return m(), () => h();
292
288
  }, [
@@ -294,20 +290,20 @@ var Ne = G.forwardRef((e, t) => {
294
290
  m,
295
291
  h
296
292
  ]), /* @__PURE__ */ (0, K.jsx)(Te.ItemSlot, {
297
- scope: n,
293
+ scope: r,
298
294
  id: u,
299
295
  focusable: i,
300
296
  active: a,
301
- children: /* @__PURE__ */ (0, K.jsx)(H.span, {
297
+ children: /* @__PURE__ */ (0, K.jsx)(n.span, {
302
298
  tabIndex: f ? 0 : -1,
303
299
  "data-orientation": d.orientation,
304
300
  ...c,
305
301
  ref: t,
306
- onMouseDown: r(e.onMouseDown, (e) => {
302
+ onMouseDown: O(e.onMouseDown, (e) => {
307
303
  i ? d.onItemFocus(u) : e.preventDefault();
308
304
  }),
309
- onFocus: r(e.onFocus, () => d.onItemFocus(u)),
310
- onKeyDown: r(e.onKeyDown, (e) => {
305
+ onFocus: O(e.onFocus, () => d.onItemFocus(u)),
306
+ onKeyDown: O(e.onKeyDown, (e) => {
311
307
  if (e.key === "Tab" && e.shiftKey) {
312
308
  d.onItemShiftTab();
313
309
  return;
@@ -373,12 +369,12 @@ var Ve = Me, He = Fe, Ue = ["Enter", " "], We = [
373
369
  }, Je = {
374
370
  ltr: ["ArrowLeft"],
375
371
  rtl: ["ArrowRight"]
376
- }, J = "Menu", [Y, Ye, Xe] = be(J), [X, Ze] = V(J, [
372
+ }, J = "Menu", [Y, Ye, Xe] = be(J), [X, Ze] = i(J, [
377
373
  Xe,
378
- E,
374
+ g,
379
375
  ke
380
- ]), Qe = E(), $e = ke(), [et, Z] = X(J), [tt, nt] = X(J), rt = (e) => {
381
- let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = Qe(t), [c, l] = G.useState(null), u = G.useRef(!1), d = g(a), f = Se(i);
376
+ ]), Qe = g(), $e = ke(), [et, Z] = X(J), [tt, nt] = X(J), rt = (e) => {
377
+ let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = Qe(t), [c, l] = G.useState(null), u = G.useRef(!1), d = f(a), p = Se(i);
382
378
  return G.useEffect(() => {
383
379
  let e = () => {
384
380
  u.current = !0, document.addEventListener("pointerdown", t, {
@@ -392,7 +388,7 @@ var Ve = Me, He = Fe, Ue = ["Enter", " "], We = [
392
388
  return document.addEventListener("keydown", e, { capture: !0 }), () => {
393
389
  document.removeEventListener("keydown", e, { capture: !0 }), document.removeEventListener("pointerdown", t, { capture: !0 }), document.removeEventListener("pointermove", t, { capture: !0 });
394
390
  };
395
- }, []), /* @__PURE__ */ (0, K.jsx)(A, {
391
+ }, []), /* @__PURE__ */ (0, K.jsx)(T, {
396
392
  ...s,
397
393
  children: /* @__PURE__ */ (0, K.jsx)(et, {
398
394
  scope: t,
@@ -404,7 +400,7 @@ var Ve = Me, He = Fe, Ue = ["Enter", " "], We = [
404
400
  scope: t,
405
401
  onClose: G.useCallback(() => d(!1), [d]),
406
402
  isUsingKeyboardRef: u,
407
- dir: f,
403
+ dir: p,
408
404
  modal: o,
409
405
  children: r
410
406
  })
@@ -414,7 +410,7 @@ var Ve = Me, He = Fe, Ue = ["Enter", " "], We = [
414
410
  rt.displayName = J;
415
411
  var it = "MenuAnchor", at = G.forwardRef((e, t) => {
416
412
  let { __scopeMenu: n, ...r } = e, i = Qe(n);
417
- return /* @__PURE__ */ (0, K.jsx)(y, {
413
+ return /* @__PURE__ */ (0, K.jsx)(F, {
418
414
  ...i,
419
415
  ...r,
420
416
  ref: t
@@ -426,9 +422,9 @@ var ot = "MenuPortal", [st, ct] = X(ot, { forceMount: void 0 }), lt = (e) => {
426
422
  return /* @__PURE__ */ (0, K.jsx)(st, {
427
423
  scope: t,
428
424
  forceMount: n,
429
- children: /* @__PURE__ */ (0, K.jsx)(k, {
425
+ children: /* @__PURE__ */ (0, K.jsx)(x, {
430
426
  present: n || a.open,
431
- children: /* @__PURE__ */ (0, K.jsx)(z, {
427
+ children: /* @__PURE__ */ (0, K.jsx)(C, {
432
428
  asChild: !0,
433
429
  container: i,
434
430
  children: r
@@ -441,7 +437,7 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = G.forwardRef((e, t) => {
441
437
  let n = ct(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = nt(Q, e.__scopeMenu);
442
438
  return /* @__PURE__ */ (0, K.jsx)(Y.Provider, {
443
439
  scope: e.__scopeMenu,
444
- children: /* @__PURE__ */ (0, K.jsx)(k, {
440
+ children: /* @__PURE__ */ (0, K.jsx)(x, {
445
441
  present: r || a.open,
446
442
  children: /* @__PURE__ */ (0, K.jsx)(Y.Slot, {
447
443
  scope: e.__scopeMenu,
@@ -456,17 +452,17 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = G.forwardRef((e, t) => {
456
452
  })
457
453
  });
458
454
  }), pt = G.forwardRef((e, t) => {
459
- let n = Z(Q, e.__scopeMenu), a = G.useRef(null), o = i(t, a);
455
+ let n = Z(Q, e.__scopeMenu), r = G.useRef(null), i = u(t, r);
460
456
  return G.useEffect(() => {
461
- let e = a.current;
462
- if (e) return I(e);
457
+ let e = r.current;
458
+ if (e) return A(e);
463
459
  }, []), /* @__PURE__ */ (0, K.jsx)(gt, {
464
460
  ...e,
465
- ref: o,
461
+ ref: i,
466
462
  trapFocus: n.open,
467
463
  disableOutsidePointerEvents: n.open,
468
464
  disableOutsideScroll: !0,
469
- onFocusOutside: r(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
465
+ onFocusOutside: O(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
470
466
  onDismiss: () => n.onOpenChange(!1)
471
467
  });
472
468
  }), mt = G.forwardRef((e, t) => {
@@ -479,89 +475,89 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = G.forwardRef((e, t) => {
479
475
  disableOutsideScroll: !1,
480
476
  onDismiss: () => n.onOpenChange(!1)
481
477
  });
482
- }), ht = n("MenuContent.ScrollLock"), gt = G.forwardRef((e, t) => {
483
- let { __scopeMenu: n, loop: a = !1, trapFocus: o, onOpenAutoFocus: s, onCloseAutoFocus: c, disableOutsidePointerEvents: l, onEntryFocus: u, onEscapeKeyDown: d, onPointerDownOutside: f, onFocusOutside: m, onInteractOutside: h, onDismiss: g, disableOutsideScroll: _, ...v } = e, y = Z(Q, n), b = nt(Q, n), x = Qe(n), S = $e(n), C = Ye(n), [w, T] = G.useState(null), E = G.useRef(null), D = i(t, E, y.onContentChange), O = G.useRef(0), k = G.useRef(""), A = G.useRef(0), M = G.useRef(null), P = G.useRef("right"), F = G.useRef(0), I = _ ? N : G.Fragment, L = _ ? {
478
+ }), ht = p("MenuContent.ScrollLock"), gt = G.forwardRef((e, t) => {
479
+ let { __scopeMenu: n, loop: r = !1, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: d, onFocusOutside: f, onInteractOutside: p, onDismiss: m, disableOutsideScroll: h, ...g } = e, v = Z(Q, n), y = nt(Q, n), x = Qe(n), S = $e(n), C = Ye(n), [w, T] = G.useState(null), D = G.useRef(null), k = u(t, D, v.onContentChange), A = G.useRef(0), j = G.useRef(""), M = G.useRef(0), N = G.useRef(null), P = G.useRef("right"), F = G.useRef(0), I = h ? _ : G.Fragment, L = h ? {
484
480
  as: ht,
485
481
  allowPinchZoom: !0
486
482
  } : void 0, R = (e) => {
487
- let t = k.current + e, n = C().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;
483
+ let t = j.current + e, n = C().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;
488
484
  (function e(t) {
489
- k.current = t, window.clearTimeout(O.current), t !== "" && (O.current = window.setTimeout(() => e(""), 1e3));
485
+ j.current = t, window.clearTimeout(A.current), t !== "" && (A.current = window.setTimeout(() => e(""), 1e3));
490
486
  })(t), o && setTimeout(() => o.focus());
491
487
  };
492
- G.useEffect(() => () => window.clearTimeout(O.current), []), ee();
493
- let z = G.useCallback((e) => P.current === M.current?.side && nn(e, M.current?.area), []);
488
+ G.useEffect(() => () => window.clearTimeout(A.current), []), b();
489
+ let z = G.useCallback((e) => P.current === N.current?.side && nn(e, N.current?.area), []);
494
490
  return /* @__PURE__ */ (0, K.jsx)(ut, {
495
491
  scope: n,
496
- searchRef: k,
492
+ searchRef: j,
497
493
  onItemEnter: G.useCallback((e) => {
498
494
  z(e) && e.preventDefault();
499
495
  }, [z]),
500
496
  onItemLeave: G.useCallback((e) => {
501
- z(e) || (E.current?.focus(), T(null));
497
+ z(e) || (D.current?.focus(), T(null));
502
498
  }, [z]),
503
499
  onTriggerLeave: G.useCallback((e) => {
504
500
  z(e) && e.preventDefault();
505
501
  }, [z]),
506
- pointerGraceTimerRef: A,
502
+ pointerGraceTimerRef: M,
507
503
  onPointerGraceIntentChange: G.useCallback((e) => {
508
- M.current = e;
504
+ N.current = e;
509
505
  }, []),
510
506
  children: /* @__PURE__ */ (0, K.jsx)(I, {
511
507
  ...L,
512
- children: /* @__PURE__ */ (0, K.jsx)(p, {
508
+ children: /* @__PURE__ */ (0, K.jsx)(ee, {
513
509
  asChild: !0,
514
- trapped: o,
515
- onMountAutoFocus: r(s, (e) => {
516
- e.preventDefault(), E.current?.focus({ preventScroll: !0 });
510
+ trapped: i,
511
+ onMountAutoFocus: O(a, (e) => {
512
+ e.preventDefault(), D.current?.focus({ preventScroll: !0 });
517
513
  }),
518
- onUnmountAutoFocus: c,
519
- children: /* @__PURE__ */ (0, K.jsx)(te, {
514
+ onUnmountAutoFocus: o,
515
+ children: /* @__PURE__ */ (0, K.jsx)(H, {
520
516
  asChild: !0,
521
- disableOutsidePointerEvents: l,
522
- onEscapeKeyDown: d,
523
- onPointerDownOutside: f,
524
- onFocusOutside: m,
525
- onInteractOutside: h,
526
- onDismiss: g,
517
+ disableOutsidePointerEvents: s,
518
+ onEscapeKeyDown: l,
519
+ onPointerDownOutside: d,
520
+ onFocusOutside: f,
521
+ onInteractOutside: p,
522
+ onDismiss: m,
527
523
  children: /* @__PURE__ */ (0, K.jsx)(Ve, {
528
524
  asChild: !0,
529
525
  ...S,
530
- dir: b.dir,
526
+ dir: y.dir,
531
527
  orientation: "vertical",
532
- loop: a,
528
+ loop: r,
533
529
  currentTabStopId: w,
534
530
  onCurrentTabStopIdChange: T,
535
- onEntryFocus: r(u, (e) => {
536
- b.isUsingKeyboardRef.current || e.preventDefault();
531
+ onEntryFocus: O(c, (e) => {
532
+ y.isUsingKeyboardRef.current || e.preventDefault();
537
533
  }),
538
534
  preventScrollOnEntryFocus: !0,
539
- children: /* @__PURE__ */ (0, K.jsx)(j, {
535
+ children: /* @__PURE__ */ (0, K.jsx)(E, {
540
536
  role: "menu",
541
537
  "aria-orientation": "vertical",
542
- "data-state": Yt(y.open),
538
+ "data-state": Yt(v.open),
543
539
  "data-radix-menu-content": "",
544
- dir: b.dir,
540
+ dir: y.dir,
545
541
  ...x,
546
- ...v,
547
- ref: D,
542
+ ...g,
543
+ ref: k,
548
544
  style: {
549
545
  outline: "none",
550
- ...v.style
546
+ ...g.style
551
547
  },
552
- onKeyDown: r(v.onKeyDown, (e) => {
548
+ onKeyDown: O(g.onKeyDown, (e) => {
553
549
  let t = e.target.closest("[data-radix-menu-content]") === e.currentTarget, n = e.ctrlKey || e.altKey || e.metaKey, r = e.key.length === 1;
554
550
  t && (e.key === "Tab" && e.preventDefault(), !n && r && R(e.key));
555
- let i = E.current;
551
+ let i = D.current;
556
552
  if (e.target !== i || !Ke.includes(e.key)) return;
557
553
  e.preventDefault();
558
554
  let a = C().filter((e) => !e.disabled).map((e) => e.ref.current);
559
555
  Ge.includes(e.key) && a.reverse(), Qt(a);
560
556
  }),
561
- onBlur: r(e.onBlur, (e) => {
562
- e.currentTarget.contains(e.target) || (window.clearTimeout(O.current), k.current = "");
557
+ onBlur: O(e.onBlur, (e) => {
558
+ e.currentTarget.contains(e.target) || (window.clearTimeout(A.current), j.current = "");
563
559
  }),
564
- onPointerMove: r(e.onPointerMove, rn((e) => {
560
+ onPointerMove: O(e.onPointerMove, rn((e) => {
565
561
  let t = e.target, n = F.current !== e.clientX;
566
562
  e.currentTarget.contains(t) && n && (P.current = e.clientX > F.current ? "right" : "left", F.current = e.clientX);
567
563
  }))
@@ -574,92 +570,92 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = G.forwardRef((e, t) => {
574
570
  });
575
571
  ft.displayName = Q;
576
572
  var _t = "MenuGroup", vt = G.forwardRef((e, t) => {
577
- let { __scopeMenu: n, ...r } = e;
578
- return /* @__PURE__ */ (0, K.jsx)(H.div, {
573
+ let { __scopeMenu: r, ...i } = e;
574
+ return /* @__PURE__ */ (0, K.jsx)(n.div, {
579
575
  role: "group",
580
- ...r,
576
+ ...i,
581
577
  ref: t
582
578
  });
583
579
  });
584
580
  vt.displayName = _t;
585
581
  var yt = "MenuLabel", bt = G.forwardRef((e, t) => {
586
- let { __scopeMenu: n, ...r } = e;
587
- return /* @__PURE__ */ (0, K.jsx)(H.div, {
588
- ...r,
582
+ let { __scopeMenu: r, ...i } = e;
583
+ return /* @__PURE__ */ (0, K.jsx)(n.div, {
584
+ ...i,
589
585
  ref: t
590
586
  });
591
587
  });
592
588
  bt.displayName = yt;
593
589
  var xt = "MenuItem", St = "menu.itemSelect", Ct = G.forwardRef((e, t) => {
594
- let { disabled: n = !1, onSelect: a, ...o } = e, s = G.useRef(null), c = nt(xt, e.__scopeMenu), l = dt(xt, e.__scopeMenu), d = i(t, s), f = G.useRef(!1), p = () => {
595
- let e = s.current;
590
+ let { disabled: n = !1, onSelect: r, ...i } = e, a = G.useRef(null), o = nt(xt, e.__scopeMenu), s = dt(xt, e.__scopeMenu), c = u(t, a), l = G.useRef(!1), d = () => {
591
+ let e = a.current;
596
592
  if (!n && e) {
597
593
  let t = new CustomEvent(St, {
598
594
  bubbles: !0,
599
595
  cancelable: !0
600
596
  });
601
- e.addEventListener(St, (e) => a?.(e), { once: !0 }), u(e, t), t.defaultPrevented ? f.current = !1 : c.onClose();
597
+ e.addEventListener(St, (e) => r?.(e), { once: !0 }), V(e, t), t.defaultPrevented ? l.current = !1 : o.onClose();
602
598
  }
603
599
  };
604
600
  return /* @__PURE__ */ (0, K.jsx)(wt, {
605
- ...o,
606
- ref: d,
601
+ ...i,
602
+ ref: c,
607
603
  disabled: n,
608
- onClick: r(e.onClick, p),
604
+ onClick: O(e.onClick, d),
609
605
  onPointerDown: (t) => {
610
- e.onPointerDown?.(t), f.current = !0;
606
+ e.onPointerDown?.(t), l.current = !0;
611
607
  },
612
- onPointerUp: r(e.onPointerUp, (e) => {
613
- f.current || e.currentTarget?.click();
608
+ onPointerUp: O(e.onPointerUp, (e) => {
609
+ l.current || e.currentTarget?.click();
614
610
  }),
615
- onKeyDown: r(e.onKeyDown, (e) => {
616
- let t = l.searchRef.current !== "";
611
+ onKeyDown: O(e.onKeyDown, (e) => {
612
+ let t = s.searchRef.current !== "";
617
613
  n || t && e.key === " " || Ue.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
618
614
  })
619
615
  });
620
616
  });
621
617
  Ct.displayName = xt;
622
618
  var wt = G.forwardRef((e, t) => {
623
- let { __scopeMenu: n, disabled: a = !1, textValue: o, ...s } = e, c = dt(xt, n), l = $e(n), u = G.useRef(null), d = i(t, u), [f, p] = G.useState(!1), [m, h] = G.useState("");
619
+ let { __scopeMenu: r, disabled: i = !1, textValue: a, ...o } = e, s = dt(xt, r), c = $e(r), l = G.useRef(null), d = u(t, l), [f, p] = G.useState(!1), [m, h] = G.useState("");
624
620
  return G.useEffect(() => {
625
- let e = u.current;
621
+ let e = l.current;
626
622
  e && h((e.textContent ?? "").trim());
627
- }, [s.children]), /* @__PURE__ */ (0, K.jsx)(Y.ItemSlot, {
628
- scope: n,
629
- disabled: a,
630
- textValue: o ?? m,
623
+ }, [o.children]), /* @__PURE__ */ (0, K.jsx)(Y.ItemSlot, {
624
+ scope: r,
625
+ disabled: i,
626
+ textValue: a ?? m,
631
627
  children: /* @__PURE__ */ (0, K.jsx)(He, {
632
628
  asChild: !0,
633
- ...l,
634
- focusable: !a,
635
- children: /* @__PURE__ */ (0, K.jsx)(H.div, {
629
+ ...c,
630
+ focusable: !i,
631
+ children: /* @__PURE__ */ (0, K.jsx)(n.div, {
636
632
  role: "menuitem",
637
633
  "data-highlighted": f ? "" : void 0,
638
- "aria-disabled": a || void 0,
639
- "data-disabled": a ? "" : void 0,
640
- ...s,
634
+ "aria-disabled": i || void 0,
635
+ "data-disabled": i ? "" : void 0,
636
+ ...o,
641
637
  ref: d,
642
- onPointerMove: r(e.onPointerMove, rn((e) => {
643
- a ? c.onItemLeave(e) : (c.onItemEnter(e), e.defaultPrevented || e.currentTarget.focus({ preventScroll: !0 }));
638
+ onPointerMove: O(e.onPointerMove, rn((e) => {
639
+ i ? s.onItemLeave(e) : (s.onItemEnter(e), e.defaultPrevented || e.currentTarget.focus({ preventScroll: !0 }));
644
640
  })),
645
- onPointerLeave: r(e.onPointerLeave, rn((e) => c.onItemLeave(e))),
646
- onFocus: r(e.onFocus, () => p(!0)),
647
- onBlur: r(e.onBlur, () => p(!1))
641
+ onPointerLeave: O(e.onPointerLeave, rn((e) => s.onItemLeave(e))),
642
+ onFocus: O(e.onFocus, () => p(!0)),
643
+ onBlur: O(e.onBlur, () => p(!1))
648
644
  })
649
645
  })
650
646
  });
651
647
  }), Tt = "MenuCheckboxItem", Et = G.forwardRef((e, t) => {
652
- let { checked: n = !1, onCheckedChange: i, ...a } = e;
648
+ let { checked: n = !1, onCheckedChange: r, ...i } = e;
653
649
  return /* @__PURE__ */ (0, K.jsx)(Pt, {
654
650
  scope: e.__scopeMenu,
655
651
  checked: n,
656
652
  children: /* @__PURE__ */ (0, K.jsx)(Ct, {
657
653
  role: "menuitemcheckbox",
658
654
  "aria-checked": Xt(n) ? "mixed" : n,
659
- ...a,
655
+ ...i,
660
656
  ref: t,
661
657
  "data-state": Zt(n),
662
- onSelect: r(a.onSelect, () => i?.(Xt(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
658
+ onSelect: O(i.onSelect, () => r?.(Xt(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
663
659
  })
664
660
  });
665
661
  });
@@ -668,7 +664,7 @@ var Dt = "MenuRadioGroup", [Ot, kt] = X(Dt, {
668
664
  value: void 0,
669
665
  onValueChange: () => {}
670
666
  }), At = G.forwardRef((e, t) => {
671
- let { value: n, onValueChange: r, ...i } = e, a = g(r);
667
+ let { value: n, onValueChange: r, ...i } = e, a = f(r);
672
668
  return /* @__PURE__ */ (0, K.jsx)(Ot, {
673
669
  scope: e.__scopeMenu,
674
670
  value: n,
@@ -681,46 +677,46 @@ var Dt = "MenuRadioGroup", [Ot, kt] = X(Dt, {
681
677
  });
682
678
  At.displayName = Dt;
683
679
  var jt = "MenuRadioItem", Mt = G.forwardRef((e, t) => {
684
- let { value: n, ...i } = e, a = kt(jt, e.__scopeMenu), o = n === a.value;
680
+ let { value: n, ...r } = e, i = kt(jt, e.__scopeMenu), a = n === i.value;
685
681
  return /* @__PURE__ */ (0, K.jsx)(Pt, {
686
682
  scope: e.__scopeMenu,
687
- checked: o,
683
+ checked: a,
688
684
  children: /* @__PURE__ */ (0, K.jsx)(Ct, {
689
685
  role: "menuitemradio",
690
- "aria-checked": o,
691
- ...i,
686
+ "aria-checked": a,
687
+ ...r,
692
688
  ref: t,
693
- "data-state": Zt(o),
694
- onSelect: r(i.onSelect, () => a.onValueChange?.(n), { checkForDefaultPrevented: !1 })
689
+ "data-state": Zt(a),
690
+ onSelect: O(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
695
691
  })
696
692
  });
697
693
  });
698
694
  Mt.displayName = jt;
699
695
  var Nt = "MenuItemIndicator", [Pt, Ft] = X(Nt, { checked: !1 }), It = G.forwardRef((e, t) => {
700
- let { __scopeMenu: n, forceMount: r, ...i } = e, a = Ft(Nt, n);
701
- return /* @__PURE__ */ (0, K.jsx)(k, {
702
- present: r || Xt(a.checked) || a.checked === !0,
703
- children: /* @__PURE__ */ (0, K.jsx)(H.span, {
704
- ...i,
696
+ let { __scopeMenu: r, forceMount: i, ...a } = e, o = Ft(Nt, r);
697
+ return /* @__PURE__ */ (0, K.jsx)(x, {
698
+ present: i || Xt(o.checked) || o.checked === !0,
699
+ children: /* @__PURE__ */ (0, K.jsx)(n.span, {
700
+ ...a,
705
701
  ref: t,
706
- "data-state": Zt(a.checked)
702
+ "data-state": Zt(o.checked)
707
703
  })
708
704
  });
709
705
  });
710
706
  It.displayName = Nt;
711
707
  var Lt = "MenuSeparator", Rt = G.forwardRef((e, t) => {
712
- let { __scopeMenu: n, ...r } = e;
713
- return /* @__PURE__ */ (0, K.jsx)(H.div, {
708
+ let { __scopeMenu: r, ...i } = e;
709
+ return /* @__PURE__ */ (0, K.jsx)(n.div, {
714
710
  role: "separator",
715
711
  "aria-orientation": "horizontal",
716
- ...r,
712
+ ...i,
717
713
  ref: t
718
714
  });
719
715
  });
720
716
  Rt.displayName = Lt;
721
717
  var zt = "MenuArrow", Bt = G.forwardRef((e, t) => {
722
718
  let { __scopeMenu: n, ...r } = e, i = Qe(n);
723
- return /* @__PURE__ */ (0, K.jsx)(S, {
719
+ return /* @__PURE__ */ (0, K.jsx)(j, {
724
720
  ...i,
725
721
  ...r,
726
722
  ref: t
@@ -728,8 +724,8 @@ var zt = "MenuArrow", Bt = G.forwardRef((e, t) => {
728
724
  });
729
725
  Bt.displayName = zt;
730
726
  var Vt = "MenuSub", [Ht, Ut] = X(Vt), Wt = (e) => {
731
- let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = Z(Vt, t), o = Qe(t), [s, c] = G.useState(null), [l, u] = G.useState(null), d = g(i);
732
- return G.useEffect(() => (a.open === !1 && d(!1), () => d(!1)), [a.open, d]), /* @__PURE__ */ (0, K.jsx)(A, {
727
+ let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = Z(Vt, t), o = Qe(t), [s, c] = G.useState(null), [l, u] = G.useState(null), d = f(i);
728
+ return G.useEffect(() => (a.open === !1 && d(!1), () => d(!1)), [a.open, d]), /* @__PURE__ */ (0, K.jsx)(T, {
733
729
  ...o,
734
730
  children: /* @__PURE__ */ (0, K.jsx)(et, {
735
731
  scope: t,
@@ -739,8 +735,8 @@ var Vt = "MenuSub", [Ht, Ut] = X(Vt), Wt = (e) => {
739
735
  onContentChange: u,
740
736
  children: /* @__PURE__ */ (0, K.jsx)(Ht, {
741
737
  scope: t,
742
- contentId: w(),
743
- triggerId: w(),
738
+ contentId: B(),
739
+ triggerId: B(),
744
740
  trigger: s,
745
741
  onTriggerChange: c,
746
742
  children: n
@@ -750,10 +746,10 @@ var Vt = "MenuSub", [Ht, Ut] = X(Vt), Wt = (e) => {
750
746
  };
751
747
  Wt.displayName = Vt;
752
748
  var Gt = "MenuSubTrigger", Kt = G.forwardRef((e, t) => {
753
- let n = Z(Gt, e.__scopeMenu), i = nt(Gt, e.__scopeMenu), a = Ut(Gt, e.__scopeMenu), o = dt(Gt, e.__scopeMenu), s = G.useRef(null), { pointerGraceTimerRef: c, onPointerGraceIntentChange: l } = o, u = { __scopeMenu: e.__scopeMenu }, f = G.useCallback(() => {
749
+ let n = Z(Gt, e.__scopeMenu), i = nt(Gt, e.__scopeMenu), a = Ut(Gt, e.__scopeMenu), o = dt(Gt, e.__scopeMenu), s = G.useRef(null), { pointerGraceTimerRef: c, onPointerGraceIntentChange: l } = o, u = { __scopeMenu: e.__scopeMenu }, d = G.useCallback(() => {
754
750
  s.current && window.clearTimeout(s.current), s.current = null;
755
751
  }, []);
756
- return G.useEffect(() => f, [f]), G.useEffect(() => {
752
+ return G.useEffect(() => d, [d]), G.useEffect(() => {
757
753
  let e = c.current;
758
754
  return () => {
759
755
  window.clearTimeout(e), l(null);
@@ -768,17 +764,17 @@ var Gt = "MenuSubTrigger", Kt = G.forwardRef((e, t) => {
768
764
  "aria-controls": a.contentId,
769
765
  "data-state": Yt(n.open),
770
766
  ...e,
771
- ref: d(t, a.onTriggerChange),
767
+ ref: r(t, a.onTriggerChange),
772
768
  onClick: (t) => {
773
769
  e.onClick?.(t), !(e.disabled || t.defaultPrevented) && (t.currentTarget.focus(), n.open || n.onOpenChange(!0));
774
770
  },
775
- onPointerMove: r(e.onPointerMove, rn((t) => {
771
+ onPointerMove: O(e.onPointerMove, rn((t) => {
776
772
  o.onItemEnter(t), !t.defaultPrevented && !e.disabled && !n.open && !s.current && (o.onPointerGraceIntentChange(null), s.current = window.setTimeout(() => {
777
- n.onOpenChange(!0), f();
773
+ n.onOpenChange(!0), d();
778
774
  }, 100));
779
775
  })),
780
- onPointerLeave: r(e.onPointerLeave, rn((e) => {
781
- f();
776
+ onPointerLeave: O(e.onPointerLeave, rn((e) => {
777
+ d();
782
778
  let t = n.content?.getBoundingClientRect();
783
779
  if (t) {
784
780
  let r = n.content?.dataset.side, i = r === "right", a = i ? -5 : 5, s = t[i ? "left" : "right"], l = t[i ? "right" : "left"];
@@ -812,7 +808,7 @@ var Gt = "MenuSubTrigger", Kt = G.forwardRef((e, t) => {
812
808
  o.onPointerGraceIntentChange(null);
813
809
  }
814
810
  })),
815
- onKeyDown: r(e.onKeyDown, (t) => {
811
+ onKeyDown: O(e.onKeyDown, (t) => {
816
812
  let r = o.searchRef.current !== "";
817
813
  e.disabled || r && t.key === " " || qe[i.dir].includes(t.key) && (n.onOpenChange(!0), n.content?.focus(), t.preventDefault());
818
814
  })
@@ -821,36 +817,36 @@ var Gt = "MenuSubTrigger", Kt = G.forwardRef((e, t) => {
821
817
  });
822
818
  Kt.displayName = Gt;
823
819
  var qt = "MenuSubContent", Jt = G.forwardRef((e, t) => {
824
- let n = ct(Q, e.__scopeMenu), { forceMount: a = n.forceMount, ...o } = e, s = Z(Q, e.__scopeMenu), c = nt(Q, e.__scopeMenu), l = Ut(qt, e.__scopeMenu), u = G.useRef(null), d = i(t, u);
820
+ 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 = G.useRef(null), l = u(t, c);
825
821
  return /* @__PURE__ */ (0, K.jsx)(Y.Provider, {
826
822
  scope: e.__scopeMenu,
827
- children: /* @__PURE__ */ (0, K.jsx)(k, {
828
- present: a || s.open,
823
+ children: /* @__PURE__ */ (0, K.jsx)(x, {
824
+ present: r || a.open,
829
825
  children: /* @__PURE__ */ (0, K.jsx)(Y.Slot, {
830
826
  scope: e.__scopeMenu,
831
827
  children: /* @__PURE__ */ (0, K.jsx)(gt, {
832
- id: l.contentId,
833
- "aria-labelledby": l.triggerId,
834
- ...o,
835
- ref: d,
828
+ id: s.contentId,
829
+ "aria-labelledby": s.triggerId,
830
+ ...i,
831
+ ref: l,
836
832
  align: "start",
837
- side: c.dir === "rtl" ? "left" : "right",
833
+ side: o.dir === "rtl" ? "left" : "right",
838
834
  disableOutsidePointerEvents: !1,
839
835
  disableOutsideScroll: !1,
840
836
  trapFocus: !1,
841
837
  onOpenAutoFocus: (e) => {
842
- c.isUsingKeyboardRef.current && u.current?.focus(), e.preventDefault();
838
+ o.isUsingKeyboardRef.current && c.current?.focus(), e.preventDefault();
843
839
  },
844
840
  onCloseAutoFocus: (e) => e.preventDefault(),
845
- onFocusOutside: r(e.onFocusOutside, (e) => {
846
- e.target !== l.trigger && s.onOpenChange(!1);
841
+ onFocusOutside: O(e.onFocusOutside, (e) => {
842
+ e.target !== s.trigger && a.onOpenChange(!1);
847
843
  }),
848
- onEscapeKeyDown: r(e.onEscapeKeyDown, (e) => {
849
- c.onClose(), e.preventDefault();
844
+ onEscapeKeyDown: O(e.onEscapeKeyDown, (e) => {
845
+ o.onClose(), e.preventDefault();
850
846
  }),
851
- onKeyDown: r(e.onKeyDown, (e) => {
852
- let t = e.currentTarget.contains(e.target), n = Je[c.dir].includes(e.key);
853
- t && n && (s.onOpenChange(!1), l.trigger?.focus(), e.preventDefault());
847
+ onKeyDown: O(e.onKeyDown, (e) => {
848
+ let t = e.currentTarget.contains(e.target), n = Je[o.dir].includes(e.key);
849
+ t && n && (a.onOpenChange(!1), s.trigger?.focus(), e.preventDefault());
854
850
  })
855
851
  })
856
852
  })
@@ -897,8 +893,8 @@ function nn(e, t) {
897
893
  function rn(e) {
898
894
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
899
895
  }
900
- 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) => {
901
- 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] = v({
896
+ 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] = i(bn, [Ze]), $ = Ze(), [Cn, wn] = xn(bn), Tn = (e) => {
897
+ 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] = z({
902
898
  prop: i,
903
899
  defaultProp: a ?? !1,
904
900
  onChange: o,
@@ -906,9 +902,9 @@ var an = rt, on = at, sn = lt, cn = ft, ln = vt, un = bt, dn = Ct, fn = Et, pn =
906
902
  });
907
903
  return /* @__PURE__ */ (0, K.jsx)(Cn, {
908
904
  scope: t,
909
- triggerId: w(),
905
+ triggerId: B(),
910
906
  triggerRef: l,
911
- contentId: w(),
907
+ contentId: B(),
912
908
  open: u,
913
909
  onOpenChange: d,
914
910
  onOpenToggle: G.useCallback(() => d((e) => !e), [d]),
@@ -925,26 +921,26 @@ var an = rt, on = at, sn = lt, cn = ft, ln = vt, un = bt, dn = Ct, fn = Et, pn =
925
921
  };
926
922
  Tn.displayName = bn;
927
923
  var En = "DropdownMenuTrigger", Dn = G.forwardRef((e, t) => {
928
- let { __scopeDropdownMenu: n, disabled: i = !1, ...a } = e, o = wn(En, n), s = $(n);
924
+ let { __scopeDropdownMenu: i, disabled: a = !1, ...o } = e, s = wn(En, i), c = $(i);
929
925
  return /* @__PURE__ */ (0, K.jsx)(on, {
930
926
  asChild: !0,
931
- ...s,
932
- children: /* @__PURE__ */ (0, K.jsx)(H.button, {
927
+ ...c,
928
+ children: /* @__PURE__ */ (0, K.jsx)(n.button, {
933
929
  type: "button",
934
- id: o.triggerId,
930
+ id: s.triggerId,
935
931
  "aria-haspopup": "menu",
936
- "aria-expanded": o.open,
937
- "aria-controls": o.open ? o.contentId : void 0,
938
- "data-state": o.open ? "open" : "closed",
939
- "data-disabled": i ? "" : void 0,
940
- disabled: i,
941
- ...a,
942
- ref: d(t, o.triggerRef),
943
- onPointerDown: r(e.onPointerDown, (e) => {
944
- !i && e.button === 0 && e.ctrlKey === !1 && (o.onOpenToggle(), o.open || e.preventDefault());
932
+ "aria-expanded": s.open,
933
+ "aria-controls": s.open ? s.contentId : void 0,
934
+ "data-state": s.open ? "open" : "closed",
935
+ "data-disabled": a ? "" : void 0,
936
+ disabled: a,
937
+ ...o,
938
+ ref: r(t, s.triggerRef),
939
+ onPointerDown: O(e.onPointerDown, (e) => {
940
+ !a && e.button === 0 && e.ctrlKey === !1 && (s.onOpenToggle(), s.open || e.preventDefault());
945
941
  }),
946
- onKeyDown: r(e.onKeyDown, (e) => {
947
- i || (["Enter", " "].includes(e.key) && o.onOpenToggle(), e.key === "ArrowDown" && o.onOpenChange(!0), [
942
+ onKeyDown: O(e.onKeyDown, (e) => {
943
+ a || (["Enter", " "].includes(e.key) && s.onOpenToggle(), e.key === "ArrowDown" && s.onOpenChange(!0), [
948
944
  "Enter",
949
945
  " ",
950
946
  "ArrowDown"
@@ -963,19 +959,19 @@ var On = "DropdownMenuPortal", kn = (e) => {
963
959
  };
964
960
  kn.displayName = On;
965
961
  var An = "DropdownMenuContent", jn = G.forwardRef((e, t) => {
966
- let { __scopeDropdownMenu: n, ...i } = e, a = wn(An, n), o = $(n), s = G.useRef(!1);
962
+ let { __scopeDropdownMenu: n, ...r } = e, i = wn(An, n), a = $(n), o = G.useRef(!1);
967
963
  return /* @__PURE__ */ (0, K.jsx)(cn, {
968
- id: a.contentId,
969
- "aria-labelledby": a.triggerId,
970
- ...o,
971
- ...i,
964
+ id: i.contentId,
965
+ "aria-labelledby": i.triggerId,
966
+ ...a,
967
+ ...r,
972
968
  ref: t,
973
- onCloseAutoFocus: r(e.onCloseAutoFocus, (e) => {
974
- s.current || a.triggerRef.current?.focus(), s.current = !1, e.preventDefault();
969
+ onCloseAutoFocus: O(e.onCloseAutoFocus, (e) => {
970
+ o.current || i.triggerRef.current?.focus(), o.current = !1, e.preventDefault();
975
971
  }),
976
- onInteractOutside: r(e.onInteractOutside, (e) => {
972
+ onInteractOutside: O(e.onInteractOutside, (e) => {
977
973
  let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
978
- (!a.modal || r) && (s.current = !0);
974
+ (!i.modal || r) && (o.current = !0);
979
975
  }),
980
976
  style: {
981
977
  ...e.style,
@@ -1154,7 +1150,7 @@ var ar = /* @__PURE__ */ G.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sort
1154
1150
  })]
1155
1151
  })]
1156
1152
  });
1157
- }, sr = (/* @__PURE__ */ t(((e, t) => {
1153
+ }, sr = (/* @__PURE__ */ e(((e, t) => {
1158
1154
  function n(e, t, n) {
1159
1155
  var r, i, a, o, s;
1160
1156
  t ??= 100;
@@ -1175,7 +1171,7 @@ var ar = /* @__PURE__ */ G.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sort
1175
1171
  }
1176
1172
  n.debounce = n, t.exports = n;
1177
1173
  })))(), cr = 42, lr = 26, ur = ({ getItemProps: e, highlightedIndex: t, organizations: n, itemToString: r, children: i, maxItemsToDisplay: a = lr }) => {
1178
- let s = G.Children.count(i), c = (n.length + s) * cr, l = {}, u = L("org-search-overlay") === "overlay", d = le(), f = o(), p = (0, G.useMemo)(() => ve(f), [f]), m = (e) => !d?.userLocation || e.latitude == null || e.longitude == null ? null : ye(ge(d.userLocation.latitude, d.userLocation.longitude, e.latitude, e.longitude), p);
1174
+ let o = G.Children.count(i), s = (n.length + o) * cr, c = {}, l = M("org-search-overlay") === "overlay", u = le(), d = I(), f = (0, G.useMemo)(() => ve(d), [d]), p = (e) => !u?.userLocation || e.latitude == null || e.longitude == null ? null : ye(ge(u.userLocation.latitude, u.userLocation.longitude, e.latitude, e.longitude), f);
1179
1175
  (0, G.useEffect)(() => {
1180
1176
  let e = document.getElementsByClassName("sid-organization-list__item--highlighted").item(0);
1181
1177
  e && ("scrollIntoViewIfNeeded" in e && typeof e.scrollIntoViewIfNeeded == "function" ? e.scrollIntoViewIfNeeded(!0) : e.scrollIntoView({
@@ -1183,8 +1179,8 @@ var ar = /* @__PURE__ */ G.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sort
1183
1179
  block: "center"
1184
1180
  }));
1185
1181
  }, [t]);
1186
- let h = (n, i) => {
1187
- let a = [n.city, n.state].filter(Boolean).join(", "), o = m(n);
1182
+ let m = (n, i) => {
1183
+ let a = [n.city, n.state].filter(Boolean).join(", "), o = p(n);
1188
1184
  return /* @__PURE__ */ (0, K.jsxs)("div", {
1189
1185
  className: `sid-organization-list__item ${t === i ? "sid-organization-list__item--highlighted" : ""}`,
1190
1186
  role: "option",
@@ -1193,13 +1189,13 @@ var ar = /* @__PURE__ */ G.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sort
1193
1189
  index: i,
1194
1190
  item: n
1195
1191
  }),
1196
- ref: l[t],
1192
+ ref: c[t],
1197
1193
  children: [
1198
1194
  /* @__PURE__ */ (0, K.jsx)("span", {
1199
1195
  className: "sid-organization-list__name",
1200
1196
  children: r(n)
1201
1197
  }),
1202
- u && a && /* @__PURE__ */ (0, K.jsx)("span", {
1198
+ l && a && /* @__PURE__ */ (0, K.jsx)("span", {
1203
1199
  className: "sid-organization-list__location",
1204
1200
  children: a
1205
1201
  }),
@@ -1217,8 +1213,8 @@ var ar = /* @__PURE__ */ G.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sort
1217
1213
  tabIndex: -1,
1218
1214
  role: "listbox",
1219
1215
  children: /* @__PURE__ */ (0, K.jsxs)("div", {
1220
- style: { height: Math.min(c, 280) },
1221
- children: [n.filter((e, t) => t <= a - 1).map((e, t) => h(e, t)), i]
1216
+ style: { height: Math.min(s, 280) },
1217
+ children: [n.filter((e, t) => t <= a - 1).map((e, t) => m(e, t)), i]
1222
1218
  })
1223
1219
  });
1224
1220
  }, dr = ({ className: e }) => /* @__PURE__ */ (0, K.jsx)("svg", {
@@ -1233,162 +1229,162 @@ var ar = /* @__PURE__ */ G.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sort
1233
1229
  strokeLinejoin: "round",
1234
1230
  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"
1235
1231
  })
1236
- }), fr = ({ urlAddSchoolForm: t, programId: n, locale: r = h, onClick: i = () => void 0, onTipsShown: a }) => {
1237
- let [o, s] = G.useState(!1), { trackEvent: c } = ie({ programId: n });
1238
- return o ? /* @__PURE__ */ (0, K.jsxs)("div", {
1232
+ }), fr = ({ urlAddSchoolForm: e, programId: t, locale: n = h, onClick: r = () => void 0, onTipsShown: i }) => {
1233
+ let [a, s] = G.useState(!1), { trackEvent: c } = ie({ programId: t });
1234
+ return a ? /* @__PURE__ */ (0, K.jsxs)("div", {
1239
1235
  className: "sid-organization-list__add-school-tips",
1240
1236
  children: [/* @__PURE__ */ (0, K.jsxs)("div", {
1241
1237
  className: "sid-organization-list__tips",
1242
1238
  children: [/* @__PURE__ */ (0, K.jsx)("div", { children: /* @__PURE__ */ (0, K.jsx)(dr, { className: "sid-organization-list__tips-icon" }) }), /* @__PURE__ */ (0, K.jsxs)("div", {
1243
1239
  className: "sid-organization-list__tips-text",
1244
- children: [/* @__PURE__ */ (0, K.jsx)(B, {
1240
+ children: [/* @__PURE__ */ (0, K.jsx)(L, {
1245
1241
  id: "multipleLocationsTips",
1246
1242
  defaultMessage: "If your academic institution has multiple locations and you didn't see yours, enter the main location."
1247
- }), /* @__PURE__ */ (0, K.jsx)(B, {
1243
+ }), /* @__PURE__ */ (0, K.jsx)(L, {
1248
1244
  id: "tryFullNameTips",
1249
1245
  defaultMessage: "Try typing the full name of the academic institution rather than using acronyms or abbreviations."
1250
1246
  })]
1251
1247
  })]
1252
- }), /* @__PURE__ */ (0, K.jsx)(b, {
1253
- onClick: i,
1248
+ }), /* @__PURE__ */ (0, K.jsx)(w, {
1249
+ onClick: r,
1254
1250
  className: "sid-organization-list__item sid-organization-list__request-school sid-link",
1255
- href: `${t}?pid=${n}&locale=${r}`,
1256
- children: /* @__PURE__ */ (0, K.jsx)(B, {
1251
+ href: `${e}?pid=${t}&locale=${n}`,
1252
+ children: /* @__PURE__ */ (0, K.jsx)(L, {
1257
1253
  id: "requestSchool",
1258
1254
  defaultMessage: "Don't see your school? Request to have it added"
1259
1255
  })
1260
1256
  })]
1261
- }) : /* @__PURE__ */ (0, K.jsx)(b, {
1257
+ }) : /* @__PURE__ */ (0, K.jsx)(w, {
1262
1258
  onClick: () => {
1263
- R({
1264
- eventName: e.ASR_TIPS_SHOWN,
1259
+ o({
1260
+ eventName: m.ASR_TIPS_SHOWN,
1265
1261
  params: {
1266
- programId: n,
1267
- locale: r
1262
+ programId: t,
1263
+ locale: n
1268
1264
  }
1269
- }), c(W.AsrTipsShown), a?.(), s(!0);
1265
+ }), c(W.AsrTipsShown), i?.(), s(!0);
1270
1266
  },
1271
1267
  className: "sid-organization-list__item sid-organization-list__request-school sid-link",
1272
- children: /* @__PURE__ */ (0, K.jsx)(B, {
1268
+ children: /* @__PURE__ */ (0, K.jsx)(L, {
1273
1269
  id: "cantFindYourSchool",
1274
1270
  defaultMessage: "Can't find your school? Click to show tips"
1275
1271
  })
1276
1272
  });
1277
- }, pr = (e) => C("name", e) || "", mr = (e) => e && e.find((e) => e.source === "PLACE") ? /* @__PURE__ */ (0, K.jsx)("img", {
1273
+ }, pr = (e) => N("name", e) || "", mr = (e) => e && e.find((e) => e.source === "PLACE") ? /* @__PURE__ */ (0, K.jsx)("img", {
1278
1274
  className: "sid-organization-list__attribution-logo",
1279
1275
  src: "https://developers.google.com/static/maps/documentation/images/google_on_white.png",
1280
1276
  alt: "Google"
1281
1277
  }) : null, hr = (e, t, n) => {
1282
1278
  if (!t && !n) return e;
1283
- if (!e) return D.error("Expected orgSearchUrl"), e;
1279
+ if (!e) return a.error("Expected orgSearchUrl"), e;
1284
1280
  try {
1285
1281
  let { origin: r, pathname: i, search: a } = new URL(e), o = new URLSearchParams(a);
1286
1282
  return t && o.set("name", t), n && Object.entries(n).forEach(([e, t]) => {
1287
1283
  o.set(e, t);
1288
1284
  }), o.sort(), `${r}${i}?${o.toString()}`;
1289
1285
  } catch (e) {
1290
- D.error(e);
1286
+ a.error(e);
1291
1287
  }
1292
- }, gr = ({ getItemProps: t, getMenuProps: n, highlightedIndex: r, itemToString: i, minimumSearchValueLength: o, onLoaded: s, programId: c, orgSearchUrl: l, locale: u, urlAddSchoolForm: d, openOrgSearchEnabled: f, onClickAddSchool: p, onTipsShown: m, searchUrlParams: h, searchValue: g }) => {
1293
- let [_, v] = (0, G.useState)(!1), [y, b] = (0, G.useState)(null), [x, S] = (0, G.useState)(null), C = (0, G.useRef)(!1), w = (0, G.useRef)(null), E = le(), O = (0, G.useRef)({
1294
- orgSearchUrl: l,
1295
- searchValue: g,
1296
- searchUrlParams: h,
1288
+ }, gr = ({ getItemProps: e, getMenuProps: t, highlightedIndex: n, itemToString: r, minimumSearchValueLength: i, onLoaded: s, programId: l, orgSearchUrl: u, locale: d, urlAddSchoolForm: f, openOrgSearchEnabled: p, onClickAddSchool: h, onTipsShown: g, searchUrlParams: _, searchValue: v }) => {
1289
+ let [y, b] = (0, G.useState)(!1), [x, S] = (0, G.useState)(null), [C, w] = (0, G.useState)(null), T = (0, G.useRef)(!1), E = (0, G.useRef)(null), O = le(), k = (0, G.useRef)({
1290
+ orgSearchUrl: u,
1291
+ searchValue: v,
1292
+ searchUrlParams: _,
1297
1293
  onLoaded: s
1298
1294
  });
1299
- O.current = {
1300
- orgSearchUrl: l,
1301
- searchValue: g,
1302
- searchUrlParams: h,
1295
+ k.current = {
1296
+ orgSearchUrl: u,
1297
+ searchValue: v,
1298
+ searchUrlParams: _,
1303
1299
  onLoaded: s
1304
1300
  };
1305
- let k = (0, G.useRef)(E);
1306
- k.current = E;
1307
- let A = g || pr(l) || "", j = (0, G.useCallback)(async () => {
1308
- if (!C.current) return;
1309
- let { orgSearchUrl: t, searchValue: n, searchUrlParams: r, onLoaded: i } = O.current, o = r, s = k.current;
1310
- s && s.sortMode === "distance" && s.userLocation && (o = {
1311
- ...r,
1301
+ let A = (0, G.useRef)(O);
1302
+ A.current = O;
1303
+ let j = v || pr(u) || "", M = (0, G.useCallback)(async () => {
1304
+ if (!T.current) return;
1305
+ let { orgSearchUrl: e, searchValue: t, searchUrlParams: n, onLoaded: r } = k.current, i = n, s = A.current;
1306
+ s && s.sortMode === "distance" && s.userLocation && (i = {
1307
+ ...n,
1312
1308
  lat: String(s.userLocation.latitude),
1313
1309
  long: String(s.userLocation.longitude)
1314
1310
  });
1315
- let c = Date.now(), l = await a(hr(t, n, o));
1316
- if (C.current) {
1317
- l && (i(l), b(l), v(!1));
1311
+ let c = Date.now(), l = await D(hr(e, t, i));
1312
+ if (T.current) {
1313
+ l && (r(l), S(l), b(!1));
1318
1314
  try {
1319
- let r = n || pr(t) || "";
1320
- R({
1321
- eventName: e.ORGS_DISPLAYED,
1315
+ let n = t || pr(e) || "";
1316
+ o({
1317
+ eventName: m.ORGS_DISPLAYED,
1322
1318
  params: {
1323
- queryLength: r.length,
1319
+ queryLength: n.length,
1324
1320
  eventDuration: Date.now() - c,
1325
1321
  numberOfResults: l?.length
1326
1322
  }
1327
1323
  });
1328
1324
  } catch (e) {
1329
- D.error(e);
1325
+ a.error(e);
1330
1326
  }
1331
1327
  }
1332
- }, []), M = (0, G.useRef)(null);
1333
- M.current ||= (0, sr.debounce)(j, 200), (0, G.useEffect)(() => (C.current = !0, () => {
1334
- C.current = !1, M.current && M.current.clear();
1328
+ }, []), N = (0, G.useRef)(null);
1329
+ N.current ||= (0, sr.debounce)(M, 200), (0, G.useEffect)(() => (T.current = !0, () => {
1330
+ T.current = !1, N.current && N.current.clear();
1335
1331
  }), []), (0, G.useEffect)(() => {
1336
- let e = w.current;
1337
- e !== A && (A.length >= o ? (S(null), v(!0), b(null), M.current && M.current()) : (S(null), v(!1), b(null), e === null ? A.length > 0 && D.info(`No organizations fetched. Search searchTerm "${A}" is less than ${o} characters.`) : D.info(`No organizations fetched. Search searchTterm "${A}" is less than ${o} characters.`))), w.current = A;
1338
- }, [A, o]);
1339
- let N = E?.sortMode, P = E?.userLocation?.latitude, F = E?.userLocation?.longitude;
1332
+ let e = E.current;
1333
+ e !== j && (j.length >= i ? (w(null), b(!0), S(null), N.current && N.current()) : (w(null), b(!1), S(null), e === null ? j.length > 0 && a.info(`No organizations fetched. Search searchTerm "${j}" is less than ${i} characters.`) : a.info(`No organizations fetched. Search searchTterm "${j}" is less than ${i} characters.`))), E.current = j;
1334
+ }, [j, i]);
1335
+ let P = O?.sortMode, F = O?.userLocation?.latitude, I = O?.userLocation?.longitude;
1340
1336
  (0, G.useEffect)(() => {
1341
- A.length >= o && (S(null), v(!0), b(null), M.current?.());
1337
+ j.length >= i && (w(null), b(!0), S(null), N.current?.());
1342
1338
  }, [
1343
- N,
1344
1339
  P,
1345
1340
  F,
1346
- A,
1347
- o
1341
+ I,
1342
+ j,
1343
+ i
1348
1344
  ]);
1349
- let I = mr(y);
1350
- return _ ? /* @__PURE__ */ (0, K.jsx)("div", {
1345
+ let R = mr(x);
1346
+ return y ? /* @__PURE__ */ (0, K.jsx)("div", {
1351
1347
  className: "sid-organization-list__menu",
1352
1348
  children: /* @__PURE__ */ (0, K.jsx)("div", {
1353
1349
  className: "sid-organization-list__message sid-organization-list__spinner-container",
1354
1350
  children: /* @__PURE__ */ (0, K.jsx)("div", {
1355
1351
  id: "sid-spinner-container",
1356
- children: /* @__PURE__ */ (0, K.jsx)(T, {})
1352
+ children: /* @__PURE__ */ (0, K.jsx)(c, {})
1357
1353
  })
1358
1354
  })
1359
- }) : x ? /* @__PURE__ */ (0, K.jsx)("div", {
1355
+ }) : C ? /* @__PURE__ */ (0, K.jsx)("div", {
1360
1356
  className: "sid-organization-list__menu",
1361
1357
  children: /* @__PURE__ */ (0, K.jsx)("div", {
1362
1358
  className: "sid-organization-list__message",
1363
- children: /* @__PURE__ */ (0, K.jsx)(B, {
1359
+ children: /* @__PURE__ */ (0, K.jsx)(L, {
1364
1360
  id: "errorId.unknownError",
1365
1361
  defaultMessage: "An unknown error occurred"
1366
1362
  })
1367
1363
  })
1368
- }) : y && y.length > 0 ? /* @__PURE__ */ (0, K.jsxs)(K.Fragment, { children: [I && /* @__PURE__ */ (0, K.jsx)("div", {
1364
+ }) : x && x.length > 0 ? /* @__PURE__ */ (0, K.jsxs)(K.Fragment, { children: [R && /* @__PURE__ */ (0, K.jsx)("div", {
1369
1365
  className: "sid-organization-list__attribution",
1370
- children: I
1366
+ children: R
1371
1367
  }), /* @__PURE__ */ (0, K.jsx)(ur, {
1372
- getItemProps: t,
1373
- getMenuProps: n,
1374
- highlightedIndex: r,
1375
- itemToString: i,
1376
- organizations: y,
1377
- children: A && !f && d && (!y || y.length < 26) && /* @__PURE__ */ (0, K.jsx)(fr, {
1378
- onClick: p,
1379
- onTipsShown: m,
1380
- urlAddSchoolForm: d,
1381
- programId: c,
1382
- locale: u
1368
+ getItemProps: e,
1369
+ getMenuProps: t,
1370
+ highlightedIndex: n,
1371
+ itemToString: r,
1372
+ organizations: x,
1373
+ children: j && !p && f && (!x || x.length < 26) && /* @__PURE__ */ (0, K.jsx)(fr, {
1374
+ onClick: h,
1375
+ onTipsShown: g,
1376
+ urlAddSchoolForm: f,
1377
+ programId: l,
1378
+ locale: d
1383
1379
  })
1384
- })] }) : A && !f && d && (!y || y.length === 0) ? /* @__PURE__ */ (0, K.jsx)("div", {
1380
+ })] }) : j && !p && f && (!x || x.length === 0) ? /* @__PURE__ */ (0, K.jsx)("div", {
1385
1381
  className: "sid-organization-list__menu",
1386
1382
  children: /* @__PURE__ */ (0, K.jsx)(fr, {
1387
- onClick: p,
1388
- onTipsShown: m,
1389
- urlAddSchoolForm: d,
1390
- programId: c,
1391
- locale: u
1383
+ onClick: h,
1384
+ onTipsShown: g,
1385
+ urlAddSchoolForm: f,
1386
+ programId: l,
1387
+ locale: d
1392
1388
  })
1393
1389
  }) : null;
1394
1390
  }, _r = (e, t, n) => {
@@ -1422,91 +1418,91 @@ var ar = /* @__PURE__ */ G.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sort
1422
1418
  d: "M6 18L18 6M6 6l12 12"
1423
1419
  })
1424
1420
  })
1425
- }), yr = _(({ onChange: t, programId: n, className: r, countryCode: i, disabled: a, minimumSearchValueLength: o, placeholder: s, value: c, inputHtmlId: u, openOrgSearchEnabled: d, orgSearchUrl: f, isRequired: p, locale: m, urlAddSchoolForm: h, isErrored: g, ariaDescribedBy: _, autoFocus: v = !1, onBlur: y = () => {}, intl: b }) => {
1426
- let [x, S] = (0, G.useState)(c ? c.name : ""), [C, w] = (0, G.useState)([]), T = (0, G.useRef)(0), E = (0, G.useRef)(0), k = (0, G.useRef)(!1), A = (0, G.useRef)(!1), [j, N] = (0, G.useState)(!1), [P, F] = (0, G.useState)(!1), { recordNumericMetric: I, trackEvent: z } = ie({ programId: n }), ee = L("org-search-overlay") === "overlay", { showOverlay: B, setShowOverlay: V } = se();
1427
- M(t);
1428
- let H = (e) => e ? e.name : "", { isOpen: te, highlightedIndex: ne, getMenuProps: re, getItemProps: ae, getInputProps: oe } = U({
1421
+ }), yr = v(({ onChange: e, programId: t, className: n, countryCode: r, disabled: i, minimumSearchValueLength: c, placeholder: l, value: u, inputHtmlId: d, openOrgSearchEnabled: f, orgSearchUrl: p, isRequired: h, locale: g, urlAddSchoolForm: _, isErrored: v, ariaDescribedBy: y, autoFocus: b = !1, onBlur: x = () => {}, intl: C }) => {
1422
+ let [w, T] = (0, G.useState)(u ? u.name : ""), [E, D] = (0, G.useState)([]), O = (0, G.useRef)(0), k = (0, G.useRef)(0), A = (0, G.useRef)(!1), j = (0, G.useRef)(!1), [N, P] = (0, G.useState)(!1), [F, I] = (0, G.useState)(!1), { recordNumericMetric: L, trackEvent: R } = ie({ programId: t }), z = M("org-search-overlay") === "overlay", { showOverlay: B, setShowOverlay: V } = se();
1423
+ S(e);
1424
+ let H = (e) => e ? e.name : "", { isOpen: ee, highlightedIndex: ne, getMenuProps: re, getItemProps: ae, getInputProps: oe } = U({
1429
1425
  itemToString: H,
1430
- id: u,
1431
- items: C,
1432
- inputValue: x,
1433
- onStateChange: (e) => _r(e, t, {
1434
- openOrgSearchEnabled: d,
1426
+ id: d,
1427
+ items: E,
1428
+ inputValue: w,
1429
+ onStateChange: (t) => _r(t, e, {
1430
+ openOrgSearchEnabled: f,
1435
1431
  _searchOverlayEnabled: B
1436
1432
  }),
1437
- selectedItem: c,
1438
- onSelectedItemChange: ({ selectedItem: n }) => {
1439
- if (!n) {
1440
- S(""), V(!1), t({
1433
+ selectedItem: u,
1434
+ onSelectedItemChange: ({ selectedItem: t }) => {
1435
+ if (!t) {
1436
+ T(""), V(!1), e({
1441
1437
  id: 0,
1442
1438
  name: ""
1443
1439
  });
1444
1440
  return;
1445
1441
  }
1446
- S(H(n));
1447
- let r = C.findIndex((e) => e.id === n.id) + 1, i = Date.now() - E.current;
1442
+ T(H(t));
1443
+ let n = E.findIndex((e) => e.id === t.id) + 1, r = Date.now() - k.current;
1448
1444
  try {
1449
- R({
1450
- eventName: e.ORG_SELECTED,
1445
+ o({
1446
+ eventName: m.ORG_SELECTED,
1451
1447
  params: {
1452
- [l.QUERY_LENGTH]: x.length,
1453
- [l.NUMBER_REWORKS]: T.current,
1454
- [l.SELECTED_RESULT_RANK]: r,
1455
- [l.EVENT_DURATION]: i,
1456
- [l.NUMBER_OF_RESULTS]: C.length
1448
+ [s.QUERY_LENGTH]: w.length,
1449
+ [s.NUMBER_REWORKS]: O.current,
1450
+ [s.SELECTED_RESULT_RANK]: n,
1451
+ [s.EVENT_DURATION]: r,
1452
+ [s.NUMBER_OF_RESULTS]: E.length
1457
1453
  }
1458
1454
  });
1459
1455
  } catch (e) {
1460
- D.error(e);
1456
+ a.error(e);
1461
1457
  }
1462
1458
  try {
1463
- I(W.OrgSearchNumReworks, T.current), I(W.OrgSearchQueryLength, x.length), I(W.OrgSearchResultRank, r), I(W.OrgSearchTimeUntilSelection, i);
1459
+ L(W.OrgSearchNumReworks, O.current), L(W.OrgSearchQueryLength, w.length), L(W.OrgSearchResultRank, n), L(W.OrgSearchTimeUntilSelection, r);
1464
1460
  } catch (e) {
1465
- D.error(e);
1461
+ a.error(e);
1466
1462
  }
1467
- E.current = 0, T.current = 0, V(!1), t(n);
1463
+ k.current = 0, O.current = 0, V(!1), e(t);
1468
1464
  }
1469
1465
  }), ce = () => {
1470
1466
  try {
1471
- R({
1472
- eventName: e.ASR_SELECTED,
1467
+ o({
1468
+ eventName: m.ASR_SELECTED,
1473
1469
  params: {
1474
- [l.QUERY_LENGTH]: x.length,
1475
- [l.NUMBER_REWORKS]: T.current,
1476
- [l.EVENT_DURATION]: Date.now() - E.current,
1477
- [l.NUMBER_OF_RESULTS]: C.length
1470
+ [s.QUERY_LENGTH]: w.length,
1471
+ [s.NUMBER_REWORKS]: O.current,
1472
+ [s.EVENT_DURATION]: Date.now() - k.current,
1473
+ [s.NUMBER_OF_RESULTS]: E.length
1478
1474
  }
1479
- }), z(W.AsrClickThrough);
1475
+ }), R(W.AsrClickThrough);
1480
1476
  } catch (e) {
1481
- D.error(e);
1477
+ a.error(e);
1482
1478
  }
1483
1479
  }, le = () => {
1484
- k.current = !0;
1485
- }, ue = (r) => {
1486
- let i = r.target.value;
1487
- F(!i);
1480
+ A.current = !0;
1481
+ }, ue = (n) => {
1482
+ let r = n.target.value;
1483
+ I(!r);
1488
1484
  try {
1489
- E.current === 0 && (E.current = Date.now()), i.length < x.length && (T.current += 1), k.current && !A.current && i && (A.current = !0, R({
1490
- eventName: e.ASR_SEARCH_AFTER_TIPS,
1491
- params: { programId: n }
1492
- }), z(W.AsrSearchAfterTips));
1485
+ k.current === 0 && (k.current = Date.now()), r.length < w.length && (O.current += 1), A.current && !j.current && r && (j.current = !0, o({
1486
+ eventName: m.ASR_SEARCH_AFTER_TIPS,
1487
+ params: { programId: t }
1488
+ }), R(W.AsrSearchAfterTips));
1493
1489
  } catch (e) {
1494
- D.error(e);
1490
+ a.error(e);
1495
1491
  }
1496
- S(i), t({
1492
+ T(r), e({
1497
1493
  id: 0,
1498
- name: i
1494
+ name: r
1499
1495
  });
1500
1496
  }, de = (0, G.useRef)(null);
1501
1497
  (0, G.useEffect)(() => {
1502
- O("organization", de.current);
1498
+ te("organization", de.current);
1503
1499
  });
1504
1500
  let fe = (e) => {
1505
- N(!0), e.currentTarget.value ? (F(!1), V(!0)) : F(!0);
1501
+ P(!0), e.currentTarget.value ? (I(!1), V(!0)) : I(!0);
1506
1502
  }, pe = (e) => {
1507
- e.relatedTarget?.id !== `${u}-clear-button` && (N(!1), y());
1508
- }, me = (e) => {
1509
- (e.type === "mousedown" || "key" in e && e.key === "Enter") && (S(""), t({
1503
+ e.relatedTarget?.id !== `${d}-clear-button` && (P(!1), x());
1504
+ }, me = (t) => {
1505
+ (t.type === "mousedown" || "key" in t && t.key === "Enter") && (T(""), e({
1510
1506
  id: void 0,
1511
1507
  name: ""
1512
1508
  }), de.current.focus());
@@ -1526,48 +1522,48 @@ var ar = /* @__PURE__ */ G.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sort
1526
1522
  e.key !== "Tab" && e.key !== "Escape" && V(!0);
1527
1523
  }
1528
1524
  }),
1529
- className: `sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,
1530
- disabled: a,
1531
- id: u,
1532
- autoFocus: v,
1533
- placeholder: s,
1534
- "aria-required": p,
1525
+ className: `sid-l-full-width sid-hidden-placeholder sid-text-input ${n}`,
1526
+ disabled: i,
1527
+ id: d,
1528
+ autoFocus: b,
1529
+ placeholder: l,
1530
+ "aria-required": h,
1535
1531
  "aria-controls": "sid-org-list-menu",
1536
- "aria-describedby": _,
1537
- "aria-invalid": g,
1538
- "aria-labelledby": `${u}-label`
1532
+ "aria-describedby": y,
1533
+ "aria-invalid": v,
1534
+ "aria-labelledby": `${d}-label`
1539
1535
  }), B && /* @__PURE__ */ (0, K.jsx)(or, {
1540
- sortByRelevanceLabel: b.formatMessage({
1536
+ sortByRelevanceLabel: C.formatMessage({
1541
1537
  id: "orgSearchSortByRelevance",
1542
1538
  defaultMessage: "Sort by Relevance"
1543
1539
  }),
1544
- sortByDistanceLabel: b.formatMessage({
1540
+ sortByDistanceLabel: C.formatMessage({
1545
1541
  id: "orgSearchSortByDistance",
1546
1542
  defaultMessage: "Sort by Distance"
1547
1543
  }),
1548
- accessibilityLabel: b.formatMessage({
1544
+ accessibilityLabel: C.formatMessage({
1549
1545
  id: "orgSearchSortAccessibilityLabel",
1550
1546
  defaultMessage: "Sort search results"
1551
1547
  }),
1552
1548
  on: (e) => {
1553
1549
  switch (e) {
1554
1550
  case "openSortMenu":
1555
- z(W.OrgSearchOpenSortMenu);
1551
+ R(W.OrgSearchOpenSortMenu);
1556
1552
  break;
1557
1553
  case "sortDistance":
1558
- z(W.OrgSearchSortDistance);
1554
+ R(W.OrgSearchSortDistance);
1559
1555
  break;
1560
1556
  case "sortRelevance":
1561
- z(W.OrgSearchSortRelevance);
1557
+ R(W.OrgSearchSortRelevance);
1562
1558
  break;
1563
1559
  default: break;
1564
1560
  }
1565
1561
  }
1566
1562
  })]
1567
1563
  }),
1568
- j && !B ? /* @__PURE__ */ (0, K.jsx)(vr, {
1569
- id: `${u}-clear-button`,
1570
- disabled: P,
1564
+ N && !B ? /* @__PURE__ */ (0, K.jsx)(vr, {
1565
+ id: `${d}-clear-button`,
1566
+ disabled: F,
1571
1567
  onMouseDown: me,
1572
1568
  onKeyDown: me,
1573
1569
  handleOnBlur: pe
@@ -1575,85 +1571,85 @@ var ar = /* @__PURE__ */ G.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sort
1575
1571
  /* @__PURE__ */ (0, K.jsx)("div", {
1576
1572
  ...re(),
1577
1573
  className: "sid-organization-list__menu-wrapper",
1578
- children: x && te || B && x ? /* @__PURE__ */ (0, K.jsx)(gr, {
1579
- countryCode: i,
1574
+ children: w && ee || B && w ? /* @__PURE__ */ (0, K.jsx)(gr, {
1575
+ countryCode: r,
1580
1576
  getItemProps: ae,
1581
1577
  highlightedIndex: ne,
1582
1578
  itemToString: H,
1583
- minimumSearchValueLength: o,
1584
- onLoaded: (e) => w(e),
1585
- programId: n,
1586
- orgSearchUrl: f,
1587
- locale: m,
1588
- urlAddSchoolForm: h,
1579
+ minimumSearchValueLength: c,
1580
+ onLoaded: (e) => D(e),
1581
+ programId: t,
1582
+ orgSearchUrl: p,
1583
+ locale: g,
1584
+ urlAddSchoolForm: _,
1589
1585
  onClickAddSchool: ce,
1590
1586
  onTipsShown: le,
1591
- openOrgSearchEnabled: d,
1592
- searchUrlParams: ee ? { format: "detailed" } : void 0
1587
+ openOrgSearchEnabled: f,
1588
+ searchUrlParams: z ? { format: "detailed" } : void 0
1593
1589
  }) : null
1594
1590
  })
1595
1591
  ]
1596
1592
  });
1597
- }), br = (e) => x(() => e.id) === 0 && x(() => e.name, "").length > 0, xr = (e, t) => x(() => 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: d = !1, isRequired: p = !0, explanation: m = "", orgSearchUrl: h, urlAddSchoolForm: g, disabled: _ = !1, intl: v }) => {
1598
- let y = `sid-${F(e)}`, b = `sid-${F(e)}-error`, x = `sid-${F(e)}-warning`, { programId: S, programTheme: C, verificationResponse: w, viewModel: T } = n, E = c(() => T.countryChoice.value), D = ae(C, E), O = o(T, w), [k, A] = (0, G.useState)(!1), j = L("org-search-overlay") === "overlay", M = j || L("org-selected-display") === "box-display", N = L("hc-open-org-warning") === "warning-orange", P = L("hc-open-org-warning") === "warning-gray", I = N || P, [R, z] = (0, G.useState)(!1), ee = c(() => C.openOrgSearchEnabled), V = () => {
1599
- ee && br(t) ? z(!0) : z(!1);
1600
- }, H = (e) => {
1601
- R && z(!1), r(e);
1602
- }, te = R && I && /* @__PURE__ */ (0, K.jsx)(B, {
1593
+ }), br = (e) => P(() => e.id) === 0 && P(() => e.name, "").length > 0, xr = (e, t) => P(() => e.openOrgSearchEnabled) && br(t.organization), Sr = v(({ fieldId: e, value: n, verificationService: r, onChange: i, placeholder: a, label: o, errorMessage: s, warningMessage: c, helperMessage: l, showPlaceholderAndHideLabel: u = !1, isRequired: d = !0, explanation: f = "", orgSearchUrl: p, urlAddSchoolForm: m, disabled: h = !1, intl: g }) => {
1594
+ let _ = `sid-${y(e)}`, v = `sid-${y(e)}-error`, b = `sid-${y(e)}-warning`, { programId: x, programTheme: S, verificationResponse: C, viewModel: w } = r, T = R(() => w.countryChoice.value), E = ae(S, T), D = I(w, C), [O, k] = (0, G.useState)(!1), A = M("org-search-overlay") === "overlay", j = A || M("org-selected-display") === "box-display", N = M("hc-open-org-warning") === "warning-orange", P = M("hc-open-org-warning") === "warning-gray", F = N || P, [z, B] = (0, G.useState)(!1), V = R(() => S.openOrgSearchEnabled), H = () => {
1595
+ V && br(n) ? B(!0) : B(!1);
1596
+ }, ee = (e) => {
1597
+ z && B(!1), i(e);
1598
+ }, te = z && F && /* @__PURE__ */ (0, K.jsx)(L, {
1603
1599
  id: "warningId.openOrganization",
1604
1600
  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!"
1605
- }), U = l || N && te, W = u || P && te;
1601
+ }), U = c || N && te, W = l || P && te;
1606
1602
  return /* @__PURE__ */ (0, K.jsx)(pe, {
1607
- enabled: j,
1608
- closeSectionLabel: /* @__PURE__ */ (0, K.jsx)(B, {
1603
+ enabled: A,
1604
+ closeSectionLabel: /* @__PURE__ */ (0, K.jsx)(L, {
1609
1605
  id: "closeSection",
1610
1606
  defaultMessage: "Close Section"
1611
1607
  }),
1612
1608
  children: /* @__PURE__ */ (0, K.jsx)(re, {
1613
1609
  fieldId: e,
1614
- label: a,
1610
+ label: o,
1615
1611
  errorMessage: s,
1616
1612
  warningMessage: U,
1617
1613
  helperMessage: W,
1618
- showPlaceholderAndHideLabel: d,
1619
- isRequired: p || D,
1620
- explanation: D ? /* @__PURE__ */ (0, K.jsx)(B, {
1614
+ showPlaceholderAndHideLabel: u,
1615
+ isRequired: d || E,
1616
+ explanation: E ? /* @__PURE__ */ (0, K.jsx)(L, {
1621
1617
  id: "chooseCountry",
1622
1618
  defaultMessage: "Choose a country before searching"
1623
- }) : m,
1624
- containerId: `${y}-id`,
1625
- children: M && t.id ? /* @__PURE__ */ (0, K.jsx)(me, {
1626
- org: t,
1619
+ }) : f,
1620
+ containerId: `${_}-id`,
1621
+ children: j && n.id ? /* @__PURE__ */ (0, K.jsx)(me, {
1622
+ org: n,
1627
1623
  onClear: () => {
1628
- H(void 0), A(!0);
1624
+ ee(void 0), k(!0);
1629
1625
  },
1630
- clearSelectionLabel: v.formatMessage({
1626
+ clearSelectionLabel: g.formatMessage({
1631
1627
  id: "clearSelection",
1632
1628
  defaultMessage: "Clear selection"
1633
1629
  }),
1634
1630
  labelId: ne(e)
1635
1631
  }) : /* @__PURE__ */ (0, K.jsx)(yr, {
1636
1632
  className: s ? "sid-text-input--error" : U ? "sid-text-input--warning" : "",
1637
- disabled: D || _,
1638
- countryCode: E,
1639
- minimumSearchValueLength: f().minimumOrganizationSearchLength,
1640
- onChange: H,
1641
- placeholder: i,
1642
- programId: S,
1643
- value: t,
1644
- inputHtmlId: y,
1645
- openOrgSearchEnabled: C.openOrgSearchEnabled,
1646
- locale: O,
1647
- orgSearchUrl: h || c(() => C.config.orgSearchUrl),
1648
- urlAddSchoolForm: g,
1649
- isRequired: p,
1633
+ disabled: E || h,
1634
+ countryCode: T,
1635
+ minimumSearchValueLength: t().minimumOrganizationSearchLength,
1636
+ onChange: ee,
1637
+ placeholder: a,
1638
+ programId: x,
1639
+ value: n,
1640
+ inputHtmlId: _,
1641
+ openOrgSearchEnabled: S.openOrgSearchEnabled,
1642
+ locale: D,
1643
+ orgSearchUrl: p || R(() => S.config.orgSearchUrl),
1644
+ urlAddSchoolForm: m,
1645
+ isRequired: d,
1650
1646
  isErrored: !!s,
1651
1647
  ariaDescribedBy: (() => {
1652
- if (s) return b;
1653
- if (U) return x;
1648
+ if (s) return v;
1649
+ if (U) return b;
1654
1650
  })(),
1655
- autoFocus: k,
1656
- onBlur: V
1651
+ autoFocus: O,
1652
+ onBlur: H
1657
1653
  })
1658
1654
  })
1659
1655
  });