@sheerid/jslib 2.263.0 → 2.264.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 (373) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +1376 -3792
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-Bz4YL1zB.js → AddressComponent-BcUOtiOW.js} +5 -5
  5. package/chunk/{AddressComponent-BIrgOqZP.js.map → AddressComponent-BcUOtiOW.js.map} +1 -1
  6. package/chunk/{AddressComponent-BIrgOqZP.js → AddressComponent-cZ7Rrphj.js} +5 -5
  7. package/chunk/{AddressComponent-Bz4YL1zB.js.map → AddressComponent-cZ7Rrphj.js.map} +1 -1
  8. package/chunk/AnnouncingHeader-DDT5xAyL.js +4 -4
  9. package/chunk/AnnouncingHeader-DSPYeTwU.js +4 -4
  10. package/chunk/{ApiUrls-5BL8244F.js → ApiUrls-BGkT0u8_.js} +5 -5
  11. package/chunk/{ApiUrls-5BL8244F.js.map → ApiUrls-BGkT0u8_.js.map} +1 -1
  12. package/chunk/{ApiUrls-BtzfsgUq.js → ApiUrls-DplKihXV.js} +5 -5
  13. package/chunk/{ApiUrls-BtzfsgUq.js.map → ApiUrls-DplKihXV.js.map} +1 -1
  14. package/chunk/{BirthDateComponent-DolPukGV.js → BirthDateComponent-DiRfVMkQ.js} +6 -6
  15. package/chunk/{BirthDateComponent-C9D52_sv.js.map → BirthDateComponent-DiRfVMkQ.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-C9D52_sv.js → BirthDateComponent-mw3tGfO1.js} +6 -6
  17. package/chunk/{BirthDateComponent-DolPukGV.js.map → BirthDateComponent-mw3tGfO1.js.map} +1 -1
  18. package/chunk/{CaptchaComponent-Bd0QiNl5.js → CaptchaComponent-Bo6-PXzj.js} +7 -7
  19. package/chunk/{CaptchaComponent-Bd0QiNl5.js.map → CaptchaComponent-Bo6-PXzj.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-jOXCtvzE.js → CaptchaComponent-D6FNNlKj.js} +15 -15
  21. package/chunk/{CaptchaComponent-jOXCtvzE.js.map → CaptchaComponent-D6FNNlKj.js.map} +1 -1
  22. package/chunk/{ChangeLocaleComponent-Bip0Zvo1.js → ChangeLocaleComponent-B905JfFy.js} +6 -6
  23. package/chunk/{ChangeLocaleComponent-Bip0Zvo1.js.map → ChangeLocaleComponent-B905JfFy.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-qKZIgmCX.js → ChangeLocaleComponent-C1vybPVc.js} +6 -6
  25. package/chunk/{ChangeLocaleComponent-qKZIgmCX.js.map → ChangeLocaleComponent-C1vybPVc.js.map} +1 -1
  26. package/chunk/{City-CCtrauPi.js → City-BiuOEuRx.js} +5 -5
  27. package/chunk/{City-CCtrauPi.js.map → City-BiuOEuRx.js.map} +1 -1
  28. package/chunk/{City-DOi7PTZI.js → City-D-gJ5H6v.js} +5 -5
  29. package/chunk/{City-DOi7PTZI.js.map → City-D-gJ5H6v.js.map} +1 -1
  30. package/chunk/{CollegeNameComponent-B02MJ5F0.js → CollegeNameComponent-BDZD28ed.js} +6 -6
  31. package/chunk/{CollegeNameComponent-B02MJ5F0.js.map → CollegeNameComponent-BDZD28ed.js.map} +1 -1
  32. package/chunk/{CollegeNameComponent-BoT4meEn.js → CollegeNameComponent-C_1m4XT-.js} +6 -6
  33. package/chunk/{CollegeNameComponent-BoT4meEn.js.map → CollegeNameComponent-C_1m4XT-.js.map} +1 -1
  34. package/chunk/CopyToClipboardComponent-CI5EWk0o.js +4 -4
  35. package/chunk/CopyToClipboardComponent-DyolMvdc.js +4 -4
  36. package/chunk/{CountryComponentWrapper-GPBK6Y8O.js → CountryComponentWrapper-BrhHPoQD.js} +9 -9
  37. package/chunk/{CountryComponentWrapper-CCoy3Zoi.js.map → CountryComponentWrapper-BrhHPoQD.js.map} +1 -1
  38. package/chunk/{CountryComponentWrapper-CCoy3Zoi.js → CountryComponentWrapper-HDMnK8-s.js} +10 -10
  39. package/chunk/{CountryComponentWrapper-GPBK6Y8O.js.map → CountryComponentWrapper-HDMnK8-s.js.map} +1 -1
  40. package/chunk/{DischargeDateComponent-ymNhH1GN.js → DischargeDateComponent-CFgYtvv6.js} +12 -12
  41. package/chunk/{DischargeDateComponent-CyYECS-K.js.map → DischargeDateComponent-CFgYtvv6.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-CyYECS-K.js → DischargeDateComponent-D3GK6UIu.js} +8 -8
  43. package/chunk/{DischargeDateComponent-ymNhH1GN.js.map → DischargeDateComponent-D3GK6UIu.js.map} +1 -1
  44. package/chunk/{DriverLicenseNumberComponent-C3627P1m.js → DriverLicenseNumberComponent-BzgEUUM2.js} +5 -5
  45. package/chunk/{DriverLicenseNumberComponent-C3627P1m.js.map → DriverLicenseNumberComponent-BzgEUUM2.js.map} +1 -1
  46. package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js → DriverLicenseNumberComponent-DoJspVrD.js} +5 -5
  47. package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js.map → DriverLicenseNumberComponent-DoJspVrD.js.map} +1 -1
  48. package/chunk/{EmailLoopPending-Czkli3uD.js → EmailLoopPending-Bm7vJ_QR.js} +55 -54
  49. package/chunk/EmailLoopPending-Bm7vJ_QR.js.map +1 -0
  50. package/chunk/{EmailLoopPending-FiV8oqMN.js → EmailLoopPending-CpMrwV1m.js} +55 -54
  51. package/chunk/EmailLoopPending-CpMrwV1m.js.map +1 -0
  52. package/chunk/{ExtraMessage-CZyIoyAy.js → ExtraMessage-BbACElsX.js} +5 -5
  53. package/chunk/{ExtraMessage-CZyIoyAy.js.map → ExtraMessage-BbACElsX.js.map} +1 -1
  54. package/chunk/{ExtraMessage-D6xvBugr.js → ExtraMessage-C4sJr6cw.js} +5 -5
  55. package/chunk/{ExtraMessage-D6xvBugr.js.map → ExtraMessage-C4sJr6cw.js.map} +1 -1
  56. package/chunk/{FirstResponderOrganizationComponent-Bt8BWHYf.js → FirstResponderOrganizationComponent-Bq03G6Dk.js} +6 -6
  57. package/chunk/{FirstResponderOrganizationComponent-Bt8BWHYf.js.map → FirstResponderOrganizationComponent-Bq03G6Dk.js.map} +1 -1
  58. package/chunk/{FirstResponderOrganizationComponent-DbMHmm5D.js → FirstResponderOrganizationComponent-C7ULKSCq.js} +6 -6
  59. package/chunk/{FirstResponderOrganizationComponent-DbMHmm5D.js.map → FirstResponderOrganizationComponent-C7ULKSCq.js.map} +1 -1
  60. package/chunk/{FormFieldInputSelect-Bzcg97PF.js → FormFieldInputSelect-B3UZlH_H.js} +5 -5
  61. package/chunk/{FormFieldInputSelect-Bzcg97PF.js.map → FormFieldInputSelect-B3UZlH_H.js.map} +1 -1
  62. package/chunk/{FormFieldInputSelect-DZsD_cQO.js → FormFieldInputSelect-CnGFMROq.js} +5 -5
  63. package/chunk/{FormFieldInputSelect-DZsD_cQO.js.map → FormFieldInputSelect-CnGFMROq.js.map} +1 -1
  64. package/chunk/FormFieldLayout-C-prs50D.js +4 -4
  65. package/chunk/FormFieldLayout-eXRaMPRB.js +4 -4
  66. package/chunk/FormFieldText-C44FpzvF.js +4 -4
  67. package/chunk/FormFieldText-DKDYD6O1.js +4 -4
  68. package/chunk/{FormFieldTypeahead-WerEgh8b.js → FormFieldTypeahead-BSbSF1lL.js} +457 -456
  69. package/chunk/{FormFieldTypeahead-WerEgh8b.js.map → FormFieldTypeahead-BSbSF1lL.js.map} +1 -1
  70. package/chunk/{FormFieldTypeahead-D_LQgN8U.js → FormFieldTypeahead-DmKNOVYP.js} +459 -458
  71. package/chunk/{FormFieldTypeahead-D_LQgN8U.js.map → FormFieldTypeahead-DmKNOVYP.js.map} +1 -1
  72. package/chunk/{FormFooterComponent-7bb8jZLG.js → FormFooterComponent-BkXmQxBf.js} +1114 -1114
  73. package/chunk/{FormFooterComponent-7bb8jZLG.js.map → FormFooterComponent-BkXmQxBf.js.map} +1 -1
  74. package/chunk/{FormFooterComponent-DNXKayDA.js → FormFooterComponent-khRc1L5E.js} +1198 -1198
  75. package/chunk/{FormFooterComponent-DNXKayDA.js.map → FormFooterComponent-khRc1L5E.js.map} +1 -1
  76. package/chunk/{FormSelectChoice-BcBYNROQ.js → FormSelectChoice-DJuQmzKz.js} +6 -6
  77. package/chunk/{FormSelectChoice-BcBYNROQ.js.map → FormSelectChoice-DJuQmzKz.js.map} +1 -1
  78. package/chunk/{FormSelectChoice-Cd6Pov12.js → FormSelectChoice-tC4ovQdX.js} +6 -6
  79. package/chunk/{FormSelectChoice-Cd6Pov12.js.map → FormSelectChoice-tC4ovQdX.js.map} +1 -1
  80. package/chunk/InputText-C12rmr0E.js +4 -4
  81. package/chunk/InputText-CDxD4Fcy.js +4 -4
  82. package/chunk/{LicensedProfessionalOrganizationComponent-DsIDg2GA.js → LicensedProfessionalOrganizationComponent-BZsY1scU.js} +6 -6
  83. package/chunk/{LicensedProfessionalOrganizationComponent-CbdvK7yE.js.map → LicensedProfessionalOrganizationComponent-BZsY1scU.js.map} +1 -1
  84. package/chunk/{LicensedProfessionalOrganizationComponent-CbdvK7yE.js → LicensedProfessionalOrganizationComponent-dNPXXR17.js} +6 -6
  85. package/chunk/{LicensedProfessionalOrganizationComponent-DsIDg2GA.js.map → LicensedProfessionalOrganizationComponent-dNPXXR17.js.map} +1 -1
  86. package/chunk/LogoComponent-Dt2sl-7K.js +4 -4
  87. package/chunk/LogoComponent-qYFfdGhk.js +4 -4
  88. package/chunk/{LowIncomeOrganizationComponent-Cadz2x7K.js → LowIncomeOrganizationComponent-B2w-1D1s.js} +12 -12
  89. package/chunk/{LowIncomeOrganizationComponent-Cadz2x7K.js.map → LowIncomeOrganizationComponent-B2w-1D1s.js.map} +1 -1
  90. package/chunk/{LowIncomeOrganizationComponent-ChkotGFN.js → LowIncomeOrganizationComponent-Z0BGp7hP.js} +10 -10
  91. package/chunk/{LowIncomeOrganizationComponent-ChkotGFN.js.map → LowIncomeOrganizationComponent-Z0BGp7hP.js.map} +1 -1
  92. package/chunk/{MedicalProfessionalOrganizationComponent-DZZIqryd.js → MedicalProfessionalOrganizationComponent-D-YIIZN8.js} +6 -6
  93. package/chunk/{MedicalProfessionalOrganizationComponent-DJeYueww.js.map → MedicalProfessionalOrganizationComponent-D-YIIZN8.js.map} +1 -1
  94. package/chunk/{MedicalProfessionalOrganizationComponent-DJeYueww.js → MedicalProfessionalOrganizationComponent-DdVYxvwO.js} +6 -6
  95. package/chunk/{MedicalProfessionalOrganizationComponent-DZZIqryd.js.map → MedicalProfessionalOrganizationComponent-DdVYxvwO.js.map} +1 -1
  96. package/chunk/{MemberIdComponent-BehRbst0.js → MemberIdComponent-DDa-iQtj.js} +5 -5
  97. package/chunk/{MemberIdComponent-BehRbst0.js.map → MemberIdComponent-DDa-iQtj.js.map} +1 -1
  98. package/chunk/{MemberIdComponent-Bwx5Gc1F.js → MemberIdComponent-DDpGpO2e.js} +5 -5
  99. package/chunk/{MemberIdComponent-Bwx5Gc1F.js.map → MemberIdComponent-DDpGpO2e.js.map} +1 -1
  100. package/chunk/{MembershipOrganizationComponent-DJCNzvV4.js → MembershipOrganizationComponent-BEOw1H7n.js} +6 -6
  101. package/chunk/{MembershipOrganizationComponent-DJCNzvV4.js.map → MembershipOrganizationComponent-BEOw1H7n.js.map} +1 -1
  102. package/chunk/{MembershipOrganizationComponent-BiDHWiH7.js → MembershipOrganizationComponent-CCCYoUe_.js} +6 -6
  103. package/chunk/{MembershipOrganizationComponent-BiDHWiH7.js.map → MembershipOrganizationComponent-CCCYoUe_.js.map} +1 -1
  104. package/chunk/Onfido-CTCgAwnB.js +4 -4
  105. package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js → PersonalInfoStepSubmitButton-C6dx95ih.js} +11 -11
  106. package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js.map → PersonalInfoStepSubmitButton-C6dx95ih.js.map} +1 -1
  107. package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js → PersonalInfoStepSubmitButton-DBVGelcX.js} +11 -11
  108. package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js.map → PersonalInfoStepSubmitButton-DBVGelcX.js.map} +1 -1
  109. package/chunk/{PersonalInfoStepWrapper-D311a-Ph.js → PersonalInfoStepWrapper-BmHuTQIp.js} +5 -5
  110. package/chunk/{PersonalInfoStepWrapper-D311a-Ph.js.map → PersonalInfoStepWrapper-BmHuTQIp.js.map} +1 -1
  111. package/chunk/{PersonalInfoStepWrapper-BRtYQQe-.js → PersonalInfoStepWrapper-D0IAqpda.js} +6 -6
  112. package/chunk/{PersonalInfoStepWrapper-BRtYQQe-.js.map → PersonalInfoStepWrapper-D0IAqpda.js.map} +1 -1
  113. package/chunk/{PostalCodeComponent-Ds-f1Aso.js → PostalCodeComponent-BSNHro7-.js} +5 -5
  114. package/chunk/{PostalCodeComponent-BA2FNJ8F.js.map → PostalCodeComponent-BSNHro7-.js.map} +1 -1
  115. package/chunk/{PostalCodeComponent-BA2FNJ8F.js → PostalCodeComponent-EPa7PrEn.js} +5 -5
  116. package/chunk/{PostalCodeComponent-Ds-f1Aso.js.map → PostalCodeComponent-EPa7PrEn.js.map} +1 -1
  117. package/chunk/{SSN-V4OsBJo-.js → SSN-BTH_HKwP.js} +5 -5
  118. package/chunk/{SSN-DKOJL4kj.js.map → SSN-BTH_HKwP.js.map} +1 -1
  119. package/chunk/{SSN-DKOJL4kj.js → SSN-CoqeSJiv.js} +5 -5
  120. package/chunk/{SSN-V4OsBJo-.js.map → SSN-CoqeSJiv.js.map} +1 -1
  121. package/chunk/{StateSelectComponent-H1NOjMea.js → StateSelectComponent-CsMhYr5S.js} +5 -5
  122. package/chunk/{StateSelectComponent-H1NOjMea.js.map → StateSelectComponent-CsMhYr5S.js.map} +1 -1
  123. package/chunk/{StateSelectComponent-n7Tw6woS.js → StateSelectComponent-D3JOWUan.js} +5 -5
  124. package/chunk/{StateSelectComponent-n7Tw6woS.js.map → StateSelectComponent-D3JOWUan.js.map} +1 -1
  125. package/chunk/{StatusComponent-DjlW-ELF.js → StatusComponent-BV3O5IFV.js} +6 -6
  126. package/chunk/{StatusComponent-Bcd8Ga_d.js.map → StatusComponent-BV3O5IFV.js.map} +1 -1
  127. package/chunk/{StatusComponent-Bcd8Ga_d.js → StatusComponent-CZMNhzFo.js} +6 -6
  128. package/chunk/{StatusComponent-DjlW-ELF.js.map → StatusComponent-CZMNhzFo.js.map} +1 -1
  129. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B14u20Oo.js → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js} +49 -45
  130. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B14u20Oo.js.map → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js.map} +1 -1
  131. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DfxYTbSc.js → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js} +22 -26
  132. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DfxYTbSc.js.map → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js.map} +1 -1
  133. package/chunk/{StepAgePersonalInfo-CAR0KywC.js → StepAgePersonalInfo-7J8X1jpZ.js} +39 -39
  134. package/chunk/{StepAgePersonalInfo-BSbrQCh3.js.map → StepAgePersonalInfo-7J8X1jpZ.js.map} +1 -1
  135. package/chunk/{StepAgePersonalInfo-BSbrQCh3.js → StepAgePersonalInfo-CdgtxCTX.js} +40 -40
  136. package/chunk/{StepAgePersonalInfo-CAR0KywC.js.map → StepAgePersonalInfo-CdgtxCTX.js.map} +1 -1
  137. package/chunk/StepCard-B-nYcoAX.js +4 -4
  138. package/chunk/StepCard-DXyV0Wj4.js +4 -4
  139. package/chunk/{StepCollectIdentifier-l3Wvwdwp.js → StepCollectIdentifier-BGN4P47k.js} +9 -9
  140. package/chunk/{StepCollectIdentifier-z-vfDewz.js.map → StepCollectIdentifier-BGN4P47k.js.map} +1 -1
  141. package/chunk/{StepCollectIdentifier-z-vfDewz.js → StepCollectIdentifier-DNIMAHOm.js} +7 -7
  142. package/chunk/{StepCollectIdentifier-l3Wvwdwp.js.map → StepCollectIdentifier-DNIMAHOm.js.map} +1 -1
  143. package/chunk/StepCollectMilitaryStatusComponent-02pN7KWp.js +9 -0
  144. package/chunk/{StepCollectMilitaryStatusComponent-CdmUVnga.js → StepCollectMilitaryStatusComponent-A0b6sTsC.js} +5 -5
  145. package/chunk/{StepCollectPersonalInfo-CvzeFcB4.js → StepCollectPersonalInfo-DSYGRZsu.js} +86 -86
  146. package/chunk/{StepCollectPersonalInfo-CvzeFcB4.js.map → StepCollectPersonalInfo-DSYGRZsu.js.map} +1 -1
  147. package/chunk/{StepCollectPersonalInfo-C-CKn207.js → StepCollectPersonalInfo-Dnp2yK42.js} +118 -118
  148. package/chunk/{StepCollectPersonalInfo-C-CKn207.js.map → StepCollectPersonalInfo-Dnp2yK42.js.map} +1 -1
  149. package/chunk/{StepCompleteAuthentication-zrcJ8B4S.js → StepCompleteAuthentication-COpZ5w8i.js} +44 -43
  150. package/chunk/StepCompleteAuthentication-COpZ5w8i.js.map +1 -0
  151. package/chunk/{StepCompleteAuthentication-Al4mmZZ4.js → StepCompleteAuthentication-CWDsVUrM.js} +44 -43
  152. package/chunk/StepCompleteAuthentication-CWDsVUrM.js.map +1 -0
  153. package/chunk/{StepConsolation-C_Prf3j3.js → StepConsolation-CWZOfBEr.js} +5 -5
  154. package/chunk/{StepConsolation-BQAOeOOd.js.map → StepConsolation-CWZOfBEr.js.map} +1 -1
  155. package/chunk/{StepConsolation-BQAOeOOd.js → StepConsolation-DISoSIlj.js} +5 -5
  156. package/chunk/{StepConsolation-C_Prf3j3.js.map → StepConsolation-DISoSIlj.js.map} +1 -1
  157. package/chunk/{StepDocUpload-C1IXuvwZ.js → StepDocUpload-BDm37Fq1.js} +60 -60
  158. package/chunk/{StepDocUpload-C1IXuvwZ.js.map → StepDocUpload-BDm37Fq1.js.map} +1 -1
  159. package/chunk/{StepDocUpload-B43mxO56.js → StepDocUpload-ETxR-vzb.js} +56 -56
  160. package/chunk/{StepDocUpload-B43mxO56.js.map → StepDocUpload-ETxR-vzb.js.map} +1 -1
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-yf_0IUzD.js → StepDriverLicensePersonalInfoComponent-CBOl141P.js} +37 -33
  162. package/chunk/{StepDriverLicensePersonalInfoComponent-Ckfq3VFs.js.map → StepDriverLicensePersonalInfoComponent-CBOl141P.js.map} +1 -1
  163. package/chunk/{StepDriverLicensePersonalInfoComponent-Ckfq3VFs.js → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js} +16 -20
  164. package/chunk/{StepDriverLicensePersonalInfoComponent-yf_0IUzD.js.map → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js.map} +1 -1
  165. package/chunk/{StepEmailLoop-CHiMm3ff.js → StepEmailLoop-66eXFv6H.js} +48 -47
  166. package/chunk/StepEmailLoop-66eXFv6H.js.map +1 -0
  167. package/chunk/{StepEmailLoop-C7flA645.js → StepEmailLoop-DQiSiwAG.js} +49 -48
  168. package/chunk/StepEmailLoop-DQiSiwAG.js.map +1 -0
  169. package/chunk/{StepEmploymentPersonalInfo-DZmOXIJM.js → StepEmploymentPersonalInfo-CKeI3whS.js} +19 -23
  170. package/chunk/{StepEmploymentPersonalInfo-BcTcSPYa.js.map → StepEmploymentPersonalInfo-CKeI3whS.js.map} +1 -1
  171. package/chunk/{StepEmploymentPersonalInfo-BcTcSPYa.js → StepEmploymentPersonalInfo-gKRvI5TZ.js} +49 -45
  172. package/chunk/{StepEmploymentPersonalInfo-DZmOXIJM.js.map → StepEmploymentPersonalInfo-gKRvI5TZ.js.map} +1 -1
  173. package/chunk/{StepFirstResponderPersonalInfo-CAPiK9Dt.js → StepFirstResponderPersonalInfo-B42FfPMz.js} +38 -38
  174. package/chunk/{StepFirstResponderPersonalInfo-CAPiK9Dt.js.map → StepFirstResponderPersonalInfo-B42FfPMz.js.map} +1 -1
  175. package/chunk/{StepFirstResponderPersonalInfo-nZbV-Ibr.js → StepFirstResponderPersonalInfo-B8DN_Q06.js} +39 -39
  176. package/chunk/{StepFirstResponderPersonalInfo-nZbV-Ibr.js.map → StepFirstResponderPersonalInfo-B8DN_Q06.js.map} +1 -1
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca02U9E6.js → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js} +46 -42
  178. package/chunk/{StepGeneralIdentityPersonalInfoComponent-9Q7aqL0S.js.map → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js.map} +1 -1
  179. package/chunk/{StepGeneralIdentityPersonalInfoComponent-9Q7aqL0S.js → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js} +19 -23
  180. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca02U9E6.js.map → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js.map} +1 -1
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-B1Df69lG.js → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js} +49 -45
  182. package/chunk/{StepHybridIdentityPersonalInfoComponent-B1Df69lG.js.map → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js.map} +1 -1
  183. package/chunk/{StepHybridIdentityPersonalInfoComponent-CkN-pDE1.js → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js} +20 -24
  184. package/chunk/{StepHybridIdentityPersonalInfoComponent-CkN-pDE1.js.map → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js.map} +1 -1
  185. package/chunk/{StepIDCheckLoop-CCSjd3UQ.js → StepIDCheckLoop-DKQFGeYF.js} +6 -6
  186. package/chunk/{StepIDCheckLoop-CCSjd3UQ.js.map → StepIDCheckLoop-DKQFGeYF.js.map} +1 -1
  187. package/chunk/{StepIDCheckLoop-CIOkLGwo.js → StepIDCheckLoop-DzY5dNGP.js} +6 -6
  188. package/chunk/{StepIDCheckLoop-CIOkLGwo.js.map → StepIDCheckLoop-DzY5dNGP.js.map} +1 -1
  189. package/chunk/{StepIDCheckLoopOnfido-D2DVgdky.js → StepIDCheckLoopOnfido-Cch_5u12.js} +8 -8
  190. package/chunk/{StepIDCheckLoopOnfido-D2DVgdky.js.map → StepIDCheckLoopOnfido-Cch_5u12.js.map} +1 -1
  191. package/chunk/{StepIDCheckLoopOnfido-cnxsOMWV.js → StepIDCheckLoopOnfido-Dx2ATNUg.js} +8 -8
  192. package/chunk/{StepIDCheckLoopOnfido-cnxsOMWV.js.map → StepIDCheckLoopOnfido-Dx2ATNUg.js.map} +1 -1
  193. package/chunk/{StepIDCheckLoopRegula-qjFbEs5b.js → StepIDCheckLoopRegula-BTQfpfOM.js} +8 -8
  194. package/chunk/{StepIDCheckLoopRegula-Y10NX1Q3.js.map → StepIDCheckLoopRegula-BTQfpfOM.js.map} +1 -1
  195. package/chunk/{StepIDCheckLoopRegula-Y10NX1Q3.js → StepIDCheckLoopRegula-DdWBTpVn.js} +6 -6
  196. package/chunk/{StepIDCheckLoopRegula-qjFbEs5b.js.map → StepIDCheckLoopRegula-DdWBTpVn.js.map} +1 -1
  197. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BXdn-Qvo.js → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js} +74 -70
  198. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BXdn-Qvo.js.map → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js.map} +1 -1
  199. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DaCh7SYg.js → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js} +36 -40
  200. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DaCh7SYg.js.map → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js.map} +1 -1
  201. package/chunk/{StepLicensedProfessionalPersonalInfo-BnDVMUtO.js → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js} +42 -38
  202. package/chunk/{StepLicensedProfessionalPersonalInfo-BQwZQIFl.js.map → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js.map} +1 -1
  203. package/chunk/{StepLicensedProfessionalPersonalInfo-BQwZQIFl.js → StepLicensedProfessionalPersonalInfo-DKMUW049.js} +18 -22
  204. package/chunk/{StepLicensedProfessionalPersonalInfo-BnDVMUtO.js.map → StepLicensedProfessionalPersonalInfo-DKMUW049.js.map} +1 -1
  205. package/chunk/{StepLowIncomePersonalInfo-BoqwsqL5.js → StepLowIncomePersonalInfo-D9O8Uor2.js} +68 -64
  206. package/chunk/{StepLowIncomePersonalInfo-BoqwsqL5.js.map → StepLowIncomePersonalInfo-D9O8Uor2.js.map} +1 -1
  207. package/chunk/{StepLowIncomePersonalInfo-Db03vaPA.js → StepLowIncomePersonalInfo-QFuvGE-L.js} +35 -39
  208. package/chunk/{StepLowIncomePersonalInfo-Db03vaPA.js.map → StepLowIncomePersonalInfo-QFuvGE-L.js.map} +1 -1
  209. package/chunk/{StepMedicalProfessionalPersonalInfo-awsF3xcG.js → StepMedicalProfessionalPersonalInfo-CbmolcMH.js} +54 -50
  210. package/chunk/{StepMedicalProfessionalPersonalInfo-C0JUATxi.js.map → StepMedicalProfessionalPersonalInfo-CbmolcMH.js.map} +1 -1
  211. package/chunk/{StepMedicalProfessionalPersonalInfo-C0JUATxi.js → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js} +26 -30
  212. package/chunk/{StepMedicalProfessionalPersonalInfo-awsF3xcG.js.map → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js.map} +1 -1
  213. package/chunk/{StepMemberPersonalInfo-BofE_acL.js → StepMemberPersonalInfo-CVOzYqMw.js} +35 -35
  214. package/chunk/{StepMemberPersonalInfo-B0f91YLZ.js.map → StepMemberPersonalInfo-CVOzYqMw.js.map} +1 -1
  215. package/chunk/{StepMemberPersonalInfo-B0f91YLZ.js → StepMemberPersonalInfo-DvmSqX4n.js} +25 -25
  216. package/chunk/{StepMemberPersonalInfo-BofE_acL.js.map → StepMemberPersonalInfo-DvmSqX4n.js.map} +1 -1
  217. package/chunk/{StepMoverPersonalInfo-CmfGAXkf.js → StepMoverPersonalInfo-ADq4X93i.js} +21 -21
  218. package/chunk/{StepMoverPersonalInfo-BD_EHnng.js.map → StepMoverPersonalInfo-ADq4X93i.js.map} +1 -1
  219. package/chunk/{StepMoverPersonalInfo-BD_EHnng.js → StepMoverPersonalInfo-u06pbtdj.js} +22 -22
  220. package/chunk/{StepMoverPersonalInfo-CmfGAXkf.js.map → StepMoverPersonalInfo-u06pbtdj.js.map} +1 -1
  221. package/chunk/{StepOverrideComponent-redazXZp.js → StepOverrideComponent-CPTcGV0Y.js} +38 -38
  222. package/chunk/StepOverrideComponent-CPTcGV0Y.js.map +1 -0
  223. package/chunk/{StepOverrideComponent-fPPJK_4j.js → StepOverrideComponent-DrnSMis1.js} +38 -38
  224. package/chunk/StepOverrideComponent-DrnSMis1.js.map +1 -0
  225. package/chunk/{StepSMSLoop-CQmW0RCA.js → StepSMSLoop-BeJD_bwf.js} +5 -5
  226. package/chunk/{StepSMSLoop-DkvcaHot.js.map → StepSMSLoop-BeJD_bwf.js.map} +1 -1
  227. package/chunk/{StepSMSLoop-DkvcaHot.js → StepSMSLoop-WBuEgD6l.js} +5 -5
  228. package/chunk/{StepSMSLoop-CQmW0RCA.js.map → StepSMSLoop-WBuEgD6l.js.map} +1 -1
  229. package/chunk/{StepSSO-BaFk7RFJ.js → StepSSO-Bp-M6Mod.js} +5 -5
  230. package/chunk/StepSSO-DfPU73JX.js +9 -0
  231. package/chunk/{StepSocialSecurityNumber-DV9hLypX.js → StepSocialSecurityNumber-CxmDZ_yz.js} +10 -10
  232. package/chunk/{StepSocialSecurityNumber-Byc5LqGo.js.map → StepSocialSecurityNumber-CxmDZ_yz.js.map} +1 -1
  233. package/chunk/{StepSocialSecurityNumber-Byc5LqGo.js → StepSocialSecurityNumber-DR2_1m3S.js} +8 -8
  234. package/chunk/{StepSocialSecurityNumber-DV9hLypX.js.map → StepSocialSecurityNumber-DR2_1m3S.js.map} +1 -1
  235. package/chunk/{StepStudentPersonalInfo-4BRY3R9o.js → StepStudentPersonalInfo-C27MhV1r.js} +41 -40
  236. package/chunk/{StepStudentPersonalInfo-4BRY3R9o.js.map → StepStudentPersonalInfo-C27MhV1r.js.map} +1 -1
  237. package/chunk/{StepStudentPersonalInfo-BZbY6a71.js → StepStudentPersonalInfo-Cw-DUf5K.js} +40 -39
  238. package/chunk/{StepStudentPersonalInfo-BZbY6a71.js.map → StepStudentPersonalInfo-Cw-DUf5K.js.map} +1 -1
  239. package/chunk/{StepSuccess-BU5AsEbz.js → StepSuccess-BFG2uFAo.js} +73 -72
  240. package/chunk/StepSuccess-BFG2uFAo.js.map +1 -0
  241. package/chunk/{StepSuccess-CYK71tK1.js → StepSuccess-DjqHe3hp.js} +73 -72
  242. package/chunk/StepSuccess-DjqHe3hp.js.map +1 -0
  243. package/chunk/{StepTeacherPersonalInfo-B2lZ53de.js → StepTeacherPersonalInfo-DMMFjHnf.js} +34 -34
  244. package/chunk/{StepTeacherPersonalInfo-B2lZ53de.js.map → StepTeacherPersonalInfo-DMMFjHnf.js.map} +1 -1
  245. package/chunk/{StepTeacherPersonalInfo-DZekcOaB.js → StepTeacherPersonalInfo-j1D03USI.js} +26 -26
  246. package/chunk/{StepTeacherPersonalInfo-DZekcOaB.js.map → StepTeacherPersonalInfo-j1D03USI.js.map} +1 -1
  247. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +9 -0
  248. package/chunk/{StepThirdPartyLoop-BGHCbduX.js → StepThirdPartyLoop-CbFTIlwP.js} +5 -5
  249. package/chunk/{TeacherSchoolComponent-Bk9mAtGT.js → TeacherSchoolComponent-CiMvlnGq.js} +6 -6
  250. package/chunk/{TeacherSchoolComponent-Bk9mAtGT.js.map → TeacherSchoolComponent-CiMvlnGq.js.map} +1 -1
  251. package/chunk/{TeacherSchoolComponent-BhQA41W4.js → TeacherSchoolComponent-DsUzj_xt.js} +6 -6
  252. package/chunk/{TeacherSchoolComponent-BhQA41W4.js.map → TeacherSchoolComponent-DsUzj_xt.js.map} +1 -1
  253. package/chunk/TestingRouteOverrides-C6_6elEq.js +4 -4
  254. package/chunk/TestingRouteOverrides-DHL_cusu.js +4 -4
  255. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  256. package/chunk/{VerificationApiClient-DMn0LZDJ.js → VerificationApiClient-1OjLrKjE.js} +5 -5
  257. package/chunk/{VerificationApiClient-DMn0LZDJ.js.map → VerificationApiClient-1OjLrKjE.js.map} +1 -1
  258. package/chunk/{VerificationApiClient-D25kKPW3.js → VerificationApiClient-PLVc1WDR.js} +5 -5
  259. package/chunk/{VerificationApiClient-D25kKPW3.js.map → VerificationApiClient-PLVc1WDR.js.map} +1 -1
  260. package/chunk/{VerificationApiUtils-DqEF-n7G.js → VerificationApiUtils-CbPWShkM.js} +6 -6
  261. package/chunk/{VerificationApiUtils-DqEF-n7G.js.map → VerificationApiUtils-CbPWShkM.js.map} +1 -1
  262. package/chunk/{VerificationApiUtils-if8YfRNb.js → VerificationApiUtils-DnXcSPRj.js} +6 -6
  263. package/chunk/{VerificationApiUtils-if8YfRNb.js.map → VerificationApiUtils-DnXcSPRj.js.map} +1 -1
  264. package/chunk/ar-CZrVPqvf.js +4 -4
  265. package/chunk/bg-Cj9u62RW.js +4 -4
  266. package/chunk/bn-IN-AX8JdjQ8.js +4 -4
  267. package/chunk/countryUtils-CAW7TO02.js +4 -4
  268. package/chunk/countryUtils-CV_Lr16_.js +4 -4
  269. package/chunk/cs-5rrzGv7_.js +4 -4
  270. package/chunk/da-DMDlBT-5.js +4 -4
  271. package/chunk/de-DG-q-l7o.js +4 -4
  272. package/chunk/{downshift.esm-_-Q1VM-s.js → downshift.esm-BaiLtXU1.js} +5 -5
  273. package/chunk/{downshift.esm-_-Q1VM-s.js.map → downshift.esm-BaiLtXU1.js.map} +1 -1
  274. package/chunk/{downshift.esm-DVFysUHL.js → downshift.esm-DG33Aw1V.js} +5 -5
  275. package/chunk/{downshift.esm-DVFysUHL.js.map → downshift.esm-DG33Aw1V.js.map} +1 -1
  276. package/chunk/el-yctEkMhE.js +4 -4
  277. package/chunk/empties-CuuBn0bi.js +4 -4
  278. package/chunk/empties-NTFzwSRR.js +4 -4
  279. package/chunk/en-GB-6LZCsn1D.js +4 -4
  280. package/chunk/es-BMeF1R04.js +4 -4
  281. package/chunk/es-ES-CsFb7QAU.js +4 -4
  282. package/chunk/et-CiZKWMRu.js +4 -4
  283. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  284. package/chunk/fa-D9V3MCMh.js +4 -4
  285. package/chunk/fi-poKCN0AL.js +4 -4
  286. package/chunk/fr-BiSjb5hG.js +4 -4
  287. package/chunk/fr-CA-zBX3D7Nl.js +4 -4
  288. package/chunk/ga-jC99p6r7.js +4 -4
  289. package/chunk/hi-IN-C_1AZftT.js +4 -4
  290. package/chunk/hooks-ClexZCWs.js +2888 -0
  291. package/chunk/hooks-ClexZCWs.js.map +1 -0
  292. package/chunk/hooks-DqGWdJ7N.js +2892 -0
  293. package/chunk/hooks-DqGWdJ7N.js.map +1 -0
  294. package/chunk/hr-abbR52XG.js +4 -4
  295. package/chunk/hu-CeZoihsr.js +4 -4
  296. package/chunk/id-wFLT8G20.js +4 -4
  297. package/chunk/intl-CuZpjbF2.js +4 -4
  298. package/chunk/is-sc_8Dmxx.js +4 -4
  299. package/chunk/it-Mhw_31wt.js +4 -4
  300. package/chunk/iw-BfqjzsAq.js +4 -4
  301. package/chunk/ja-Bdvw5s91.js +4 -4
  302. package/chunk/jsx-runtime-B29HBOo1.js +4 -4
  303. package/chunk/jsx-runtime-Br-ldzo0.js +4 -4
  304. package/chunk/kk-mHV9A9HS.js +4 -4
  305. package/chunk/ko-C7nyKdTs.js +4 -4
  306. package/chunk/lo-baNG1foB.js +4 -4
  307. package/chunk/lt-CNU2L7fK.js +4 -4
  308. package/chunk/lv-bP-HuAKS.js +4 -4
  309. package/chunk/militaryStepHelpers-BlzQcNHu.js +4 -4
  310. package/chunk/militaryStepHelpers-COmBnCcw.js +4 -4
  311. package/chunk/mocks-BlLp3eOz.js +4 -4
  312. package/chunk/mocks-CuPTVtpf.js +4 -4
  313. package/chunk/ms-Bg8aDCAA.js +4 -4
  314. package/chunk/nl-BE-Ct8zP0W1.js +4 -4
  315. package/chunk/nl-CbfjSfKQ.js +4 -4
  316. package/chunk/no-DjDW2Ec_.js +4 -4
  317. package/chunk/options-BqxY1ri6.js +4 -4
  318. package/chunk/pl--DnD-6qz.js +4 -4
  319. package/chunk/programThemeGetters-BKJAvlOG.js +4 -4
  320. package/chunk/programThemeGetters-f9o96pYi.js +4 -4
  321. package/chunk/pt-BR-B02CJDXT.js +4 -4
  322. package/chunk/pt-CcmRJnZb.js +4 -4
  323. package/chunk/refs-B-c--SWS.js +4 -4
  324. package/chunk/refs-CWwQlqJe.js +4 -4
  325. package/chunk/ro-CLdi0jqR.js +4 -4
  326. package/chunk/ru-Z91NV1Cr.js +4 -4
  327. package/chunk/sk-B7rRmmv6.js +4 -4
  328. package/chunk/sl-DhAq6T_a.js +4 -4
  329. package/chunk/sr-DpP50d7v.js +4 -4
  330. package/chunk/strings-DWLVdUcm.js +4 -4
  331. package/chunk/sv-QG7LEZNd.js +4 -4
  332. package/chunk/sw--WAxwRTW.js +4 -4
  333. package/chunk/ta-DRF7u30N.js +4 -4
  334. package/chunk/th-BoK35Z2N.js +4 -4
  335. package/chunk/tl-BDTwfyaC.js +4 -4
  336. package/chunk/tr-BoXGTv5p.js +4 -4
  337. package/chunk/uk-AXN3c9FX.js +4 -4
  338. package/chunk/ur-D5Nqe4mS.js +4 -4
  339. package/chunk/{useCollectFieldsEndpoint-C8WAisEk.js → useCollectFieldsEndpoint-ChTjhl6c.js} +6 -6
  340. package/chunk/{useCollectFieldsEndpoint-C8WAisEk.js.map → useCollectFieldsEndpoint-ChTjhl6c.js.map} +1 -1
  341. package/chunk/{useCollectFieldsEndpoint-CY9EgLrA.js → useCollectFieldsEndpoint-CqGDsmUW.js} +6 -6
  342. package/chunk/{useCollectFieldsEndpoint-CY9EgLrA.js.map → useCollectFieldsEndpoint-CqGDsmUW.js.map} +1 -1
  343. package/chunk/{useMetrics-B3zSqEvx.js → useMetrics-BIJ6jLMV.js} +5 -5
  344. package/chunk/{useMetrics-yFN3h5mC.js.map → useMetrics-BIJ6jLMV.js.map} +1 -1
  345. package/chunk/{useMetrics-yFN3h5mC.js → useMetrics-DWYTjtqD.js} +5 -5
  346. package/chunk/{useMetrics-B3zSqEvx.js.map → useMetrics-DWYTjtqD.js.map} +1 -1
  347. package/chunk/vi-BE4aMeLo.js +4 -4
  348. package/chunk/zh-CUzsIz8M.js +4 -4
  349. package/chunk/zh-HK-BTCqwQOw.js +4 -4
  350. package/chunk/zu-ChHTiO3Y.js +4 -4
  351. package/package.json +1 -1
  352. package/sheerid-install.css +4 -4
  353. package/sheerid-install.js +4 -4
  354. package/sheerid.css +4 -4
  355. package/sheerid.js +1360 -3776
  356. package/sheerid.js.map +1 -1
  357. package/chunk/EmailLoopPending-Czkli3uD.js.map +0 -1
  358. package/chunk/EmailLoopPending-FiV8oqMN.js.map +0 -1
  359. package/chunk/StepCollectMilitaryStatusComponent-BqeZDXtK.js +0 -9
  360. package/chunk/StepCompleteAuthentication-Al4mmZZ4.js.map +0 -1
  361. package/chunk/StepCompleteAuthentication-zrcJ8B4S.js.map +0 -1
  362. package/chunk/StepEmailLoop-C7flA645.js.map +0 -1
  363. package/chunk/StepEmailLoop-CHiMm3ff.js.map +0 -1
  364. package/chunk/StepOverrideComponent-fPPJK_4j.js.map +0 -1
  365. package/chunk/StepOverrideComponent-redazXZp.js.map +0 -1
  366. package/chunk/StepSSO-BRFhNvkp.js +0 -9
  367. package/chunk/StepSuccess-BU5AsEbz.js.map +0 -1
  368. package/chunk/StepSuccess-CYK71tK1.js.map +0 -1
  369. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +0 -9
  370. package/chunk/validators-DqymSzki.js +0 -470
  371. package/chunk/validators-DqymSzki.js.map +0 -1
  372. package/chunk/validators-DtqLbhHK.js +0 -474
  373. package/chunk/validators-DtqLbhHK.js.map +0 -1
@@ -1,35 +1,36 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.263.0
4
- * BUILD_TIMESTAMP: 1785516718995
5
- * BUILD_DATE: Fri Jul 31 2026 16:51:58 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
3
+ * VERSION: 2.264.0
4
+ * BUILD_TIMESTAMP: 1785521577545
5
+ * BUILD_DATE: Fri Jul 31 2026 18:12:57 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
7
7
  */
8
8
  import { Ht as e, I as t, Kt as n, Wt as r, d as i, g as a, it as o, lt as s, n as c, pt as l, u, w as d } from "./options-BqxY1ri6.js";
9
9
  import { a as f, c as p, n as m, t as h } from "./jsx-runtime-B29HBOo1.js";
10
- import { c as g } from "./FormFooterComponent-DNXKayDA.js";
11
- import { a as _ } from "./VerificationApiClient-D25kKPW3.js";
12
- import { o as v } from "./refs-CWwQlqJe.js";
13
- import { t as y } from "./strings-DWLVdUcm.js";
14
- import { C as b, D as x, E as S, O as C, S as w, T, _ as E, a as D, b as O, d as k, f as A, g as j, h as M, k as N, l as P, lt as F, m as I, n as L, nt as R, p as z, u as B, v as V, w as H, x as U, y as ee } from "../sheerid.js";
15
- import { n as te, t as ne } from "./FormFieldLayout-eXRaMPRB.js";
16
- import { t as W } from "./downshift.esm-DVFysUHL.js";
17
- import { a as G, o as re } from "./useMetrics-B3zSqEvx.js";
18
- import { t as ie } from "./countryUtils-CAW7TO02.js";
10
+ import { c as g } from "./FormFooterComponent-khRc1L5E.js";
11
+ import { a as _ } from "./VerificationApiClient-PLVc1WDR.js";
12
+ import { t as v } from "./hooks-ClexZCWs.js";
13
+ import { o as y } from "./refs-CWwQlqJe.js";
14
+ import { t as b } from "./strings-DWLVdUcm.js";
15
+ import { C as x, D as S, E as C, O as w, S as T, T as E, _ as D, b as O, c as k, d as A, f as j, g as M, h as N, i as ee, l as P, m as F, p as I, st as L, tt as R, u as z, v as B, w as V, x as H, y as te } from "../sheerid.js";
16
+ import { n as ne, t as re } from "./FormFieldLayout-eXRaMPRB.js";
17
+ import { t as U } from "./downshift.esm-DG33Aw1V.js";
18
+ import { a as W, o as ie } from "./useMetrics-BIJ6jLMV.js";
19
+ import { t as ae } from "./countryUtils-CAW7TO02.js";
19
20
  //#region ../packages/org-search/src/SearchOverlay/context.ts
20
- var K = /* @__PURE__ */ n(p(), 1), ae = (0, K.createContext)({
21
+ var G = /* @__PURE__ */ n(p(), 1), oe = (0, G.createContext)({
21
22
  showOverlay: !1,
22
23
  setShowOverlay: () => void 0
23
- }), oe = () => (0, K.useContext)(ae), se = (0, K.createContext)(null), ce = () => (0, K.useContext)(se);
24
+ }), se = () => (0, G.useContext)(oe), ce = (0, G.createContext)(null), le = () => (0, G.useContext)(ce);
24
25
  //#endregion
25
26
  //#region ../packages/org-search/src/hooks/useGeoLocation.ts
26
- function le() {
27
- let [e, t] = (0, K.useState)(null), [n, r] = (0, K.useState)(null), [i, a] = (0, K.useState)(!1);
27
+ function ue() {
28
+ let [e, t] = (0, G.useState)(null), [n, r] = (0, G.useState)(null), [i, a] = (0, G.useState)(!1);
28
29
  return {
29
30
  location: e,
30
31
  error: n,
31
32
  loading: i,
32
- requestLocation: (0, K.useCallback)(() => (a(!0), r(null), new Promise((e, n) => {
33
+ requestLocation: (0, G.useCallback)(() => (a(!0), r(null), new Promise((e, n) => {
33
34
  navigator.geolocation.getCurrentPosition((n) => {
34
35
  let r = {
35
36
  latitude: n.coords.latitude,
@@ -48,15 +49,15 @@ function le() {
48
49
  }
49
50
  //#endregion
50
51
  //#region ../packages/org-search/src/SearchRanking/SearchRankingProvider.tsx
51
- var q = h(), ue = ({ children: e }) => {
52
- let [t, n] = (0, K.useState)("relevance"), [r, i] = (0, K.useState)(null), [a, o] = (0, K.useState)(!1), s = le(), c = (0, K.useCallback)(async () => {
52
+ var K = h(), de = ({ children: e }) => {
53
+ 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 () => {
53
54
  try {
54
55
  let e = await s.requestLocation();
55
56
  return i(e), o(!1), e;
56
57
  } catch {
57
58
  throw o(!0), Error("Location denied");
58
59
  }
59
- }, [s]), l = (0, K.useMemo)(() => ({
60
+ }, [s]), l = (0, G.useMemo)(() => ({
60
61
  sortMode: t,
61
62
  userLocation: r,
62
63
  locationDenied: a,
@@ -68,12 +69,12 @@ var q = h(), ue = ({ children: e }) => {
68
69
  a,
69
70
  c
70
71
  ]);
71
- return /* @__PURE__ */ (0, q.jsx)(se.Provider, {
72
+ return /* @__PURE__ */ (0, K.jsx)(ce.Provider, {
72
73
  value: l,
73
74
  children: e
74
75
  });
75
- }, de = "button, a[href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])", fe = ({ children: e, enabled: t, closeSectionLabel: n }) => {
76
- let [r, i] = (0, K.useState)(!1), a = (0, K.useRef)(null), o = t && r, s = (0, K.useRef)(0), c = (e) => {
76
+ }, fe = "button, a[href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])", pe = ({ children: e, enabled: t, closeSectionLabel: n }) => {
77
+ let [r, i] = (0, G.useState)(!1), a = (0, G.useRef)(null), o = t && r, s = (0, G.useRef)(0), c = (e) => {
77
78
  if (!t) return;
78
79
  let n = window !== window.top;
79
80
  if (e && r === !1) {
@@ -87,41 +88,41 @@ var q = h(), ue = ({ children: e }) => {
87
88
  }
88
89
  !e && r && (document.body.style.overflow = "", document.body.style.backgroundColor = "", window.scrollTo({ top: s.current }), n && (document.body.style.height = "")), i(e);
89
90
  };
90
- return (0, K.useEffect)(() => {
91
+ return (0, G.useEffect)(() => {
91
92
  if (!o) return;
92
93
  let e = (e) => {
93
94
  if (e.key !== "Tab") return;
94
95
  let t = a.current;
95
96
  if (!t) return;
96
- let n = t.querySelectorAll(de), r = n[0], i = n[n.length - 1];
97
+ let n = t.querySelectorAll(fe), r = n[0], i = n[n.length - 1];
97
98
  e.shiftKey && document.activeElement === r ? (e.preventDefault(), i?.focus()) : !e.shiftKey && document.activeElement === i && (e.preventDefault(), r?.focus());
98
99
  };
99
100
  return document.addEventListener("keydown", e, !0), () => document.removeEventListener("keydown", e, !0);
100
- }, [o]), t ? /* @__PURE__ */ (0, q.jsx)(ae.Provider, {
101
+ }, [o]), t ? /* @__PURE__ */ (0, K.jsx)(oe.Provider, {
101
102
  value: {
102
103
  showOverlay: o,
103
104
  setShowOverlay: c
104
105
  },
105
- children: /* @__PURE__ */ (0, q.jsx)(ue, { children: /* @__PURE__ */ (0, q.jsx)("div", {
106
+ children: /* @__PURE__ */ (0, K.jsx)(de, { children: /* @__PURE__ */ (0, K.jsx)("div", {
106
107
  className: o ? "sid-search-overlay__overlay" : void 0,
107
- children: /* @__PURE__ */ (0, q.jsxs)("div", {
108
+ children: /* @__PURE__ */ (0, K.jsxs)("div", {
108
109
  className: o ? "sid-search-overlay__container" : void 0,
109
110
  ref: a,
110
- children: [o && /* @__PURE__ */ (0, q.jsx)("button", {
111
+ children: [o && /* @__PURE__ */ (0, K.jsx)("button", {
111
112
  className: "sid-search-overlay__close",
112
113
  onClick: () => c(!1),
113
114
  children: n
114
115
  }), e]
115
116
  })
116
117
  }) })
117
- }) : /* @__PURE__ */ (0, q.jsx)(q.Fragment, { children: e });
118
- }, pe = ({ org: e, onClear: t, clearSelectionLabel: n, labelId: r }) => {
119
- let i = (0, K.useRef)(null), a = [e.city, e.state].filter(Boolean).join(", "), o = [e.name, a].filter(Boolean).join(", ");
120
- return (0, K.useEffect)(() => {
118
+ }) : /* @__PURE__ */ (0, K.jsx)(K.Fragment, { children: e });
119
+ }, me = ({ org: e, onClear: t, clearSelectionLabel: n, labelId: r }) => {
120
+ let i = (0, G.useRef)(null), a = [e.city, e.state].filter(Boolean).join(", "), o = [e.name, a].filter(Boolean).join(", ");
121
+ return (0, G.useEffect)(() => {
121
122
  i.current?.focus();
122
- }, []), /* @__PURE__ */ (0, q.jsxs)("div", {
123
+ }, []), /* @__PURE__ */ (0, K.jsxs)("div", {
123
124
  className: "sid-selected-org__wrapper",
124
- children: [/* @__PURE__ */ (0, q.jsx)("input", {
125
+ children: [/* @__PURE__ */ (0, K.jsx)("input", {
125
126
  ref: i,
126
127
  className: "sid-h-screen-reader-only",
127
128
  type: "text",
@@ -129,16 +130,16 @@ var q = h(), ue = ({ children: e }) => {
129
130
  "aria-labelledby": r,
130
131
  "aria-expanded": !1,
131
132
  value: o
132
- }), /* @__PURE__ */ (0, q.jsxs)("div", {
133
+ }), /* @__PURE__ */ (0, K.jsxs)("div", {
133
134
  className: "sid-selected-org__container",
134
- children: [/* @__PURE__ */ (0, q.jsxs)("div", {
135
+ children: [/* @__PURE__ */ (0, K.jsxs)("div", {
135
136
  className: "sid-selected-org__name",
136
137
  "aria-hidden": "true",
137
- children: [e.name, a && /* @__PURE__ */ (0, q.jsx)("span", {
138
+ children: [e.name, a && /* @__PURE__ */ (0, K.jsx)("span", {
138
139
  className: "sid-selected-org__location",
139
140
  children: a
140
141
  })]
141
- }), /* @__PURE__ */ (0, q.jsx)("button", {
142
+ }), /* @__PURE__ */ (0, K.jsx)("button", {
142
143
  className: "sid-selected-org__clear",
143
144
  "aria-label": n,
144
145
  onClick: t,
@@ -146,28 +147,28 @@ var q = h(), ue = ({ children: e }) => {
146
147
  })]
147
148
  })]
148
149
  });
149
- }, me = 6371;
150
- function he(e, t, n, r) {
150
+ }, he = 6371;
151
+ function ge(e, t, n, r) {
151
152
  let i = (e) => e * Math.PI / 180, a = i(n - e), o = i(r - t), s = Math.sin(a / 2) * Math.sin(a / 2) + Math.cos(i(e)) * Math.cos(i(n)) * Math.sin(o / 2) * Math.sin(o / 2);
152
- return me * (2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s)));
153
+ return he * (2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s)));
153
154
  }
154
- var ge = ["en-us", "en-gb"];
155
- function _e(e) {
156
- return ge.includes(e.toLowerCase()) ? "miles" : "kilometers";
155
+ var _e = ["en-us", "en-gb"];
156
+ function ve(e) {
157
+ return _e.includes(e.toLowerCase()) ? "miles" : "kilometers";
157
158
  }
158
- function ve(e, t) {
159
+ function ye(e, t) {
159
160
  let n = t === "miles" ? "mi" : "km", r = t === "miles" ? e * .621371 : e, i = Math.round(r * 10) / 10;
160
161
  return i >= 10 ? `${Math.round(r)} ${n}` : `${i} ${n}`;
161
162
  }
162
163
  //#endregion
163
164
  //#region ../node_modules/@radix-ui/react-collection/dist/index.mjs
164
- function ye(e) {
165
- let t = e + "CollectionProvider", [n, r] = S(t), [i, a] = n(t, {
165
+ function be(e) {
166
+ let t = e + "CollectionProvider", [n, r] = E(t), [i, a] = n(t, {
166
167
  collectionRef: { current: null },
167
168
  itemMap: /* @__PURE__ */ new Map()
168
169
  }), o = (e) => {
169
- let { scope: t, children: n } = e, r = K.useRef(null), a = K.useRef(/* @__PURE__ */ new Map()).current;
170
- return /* @__PURE__ */ (0, q.jsx)(i, {
170
+ let { scope: t, children: n } = e, r = G.useRef(null), a = G.useRef(/* @__PURE__ */ new Map()).current;
171
+ return /* @__PURE__ */ (0, K.jsx)(i, {
171
172
  scope: t,
172
173
  itemMap: a,
173
174
  collectionRef: r,
@@ -175,20 +176,20 @@ function ye(e) {
175
176
  });
176
177
  };
177
178
  o.displayName = t;
178
- let s = e + "CollectionSlot", c = T(s), l = K.forwardRef((e, t) => {
179
+ let s = e + "CollectionSlot", c = V(s), l = G.forwardRef((e, t) => {
179
180
  let { scope: n, children: r } = e;
180
- return /* @__PURE__ */ (0, q.jsx)(c, {
181
- ref: C(t, a(s, n).collectionRef),
181
+ return /* @__PURE__ */ (0, K.jsx)(c, {
182
+ ref: S(t, a(s, n).collectionRef),
182
183
  children: r
183
184
  });
184
185
  });
185
186
  l.displayName = s;
186
- let u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = T(u), p = K.forwardRef((e, t) => {
187
- let { scope: n, children: r, ...i } = e, o = K.useRef(null), s = C(t, o), c = a(u, n);
188
- return K.useEffect(() => (c.itemMap.set(o, {
187
+ let u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = V(u), p = G.forwardRef((e, t) => {
188
+ let { scope: n, children: r, ...i } = e, o = G.useRef(null), s = S(t, o), c = a(u, n);
189
+ return G.useEffect(() => (c.itemMap.set(o, {
189
190
  ref: o,
190
191
  ...i
191
- }), () => void c.itemMap.delete(o))), /* @__PURE__ */ (0, q.jsx)(f, {
192
+ }), () => void c.itemMap.delete(o))), /* @__PURE__ */ (0, K.jsx)(f, {
192
193
  [d]: "",
193
194
  ref: s,
194
195
  children: r
@@ -197,7 +198,7 @@ function ye(e) {
197
198
  p.displayName = u;
198
199
  function m(t) {
199
200
  let n = a(e + "CollectionConsumer", t);
200
- return K.useCallback(() => {
201
+ return G.useCallback(() => {
201
202
  let e = n.collectionRef.current;
202
203
  if (!e) return [];
203
204
  let t = Array.from(e.querySelectorAll(`[${d}]`));
@@ -216,49 +217,49 @@ function ye(e) {
216
217
  }
217
218
  //#endregion
218
219
  //#region ../node_modules/@radix-ui/react-direction/dist/index.mjs
219
- var be = K.createContext(void 0);
220
- function xe(e) {
221
- let t = K.useContext(be);
220
+ var xe = G.createContext(void 0);
221
+ function Se(e) {
222
+ let t = G.useContext(xe);
222
223
  return e || t || "ltr";
223
224
  }
224
225
  //#endregion
225
226
  //#region ../node_modules/@radix-ui/react-roving-focus/dist/index.mjs
226
- var Se = "rovingFocusGroup.onEntryFocus", Ce = {
227
+ var Ce = "rovingFocusGroup.onEntryFocus", we = {
227
228
  bubbles: !1,
228
229
  cancelable: !0
229
- }, J = "RovingFocusGroup", [we, Te, Ee] = ye(J), [De, Oe] = S(J, [Ee]), [ke, Ae] = De(J), je = K.forwardRef((e, t) => /* @__PURE__ */ (0, q.jsx)(we.Provider, {
230
+ }, q = "RovingFocusGroup", [Te, Ee, De] = be(q), [Oe, ke] = E(q, [De]), [Ae, je] = Oe(q), Me = G.forwardRef((e, t) => /* @__PURE__ */ (0, K.jsx)(Te.Provider, {
230
231
  scope: e.__scopeRovingFocusGroup,
231
- children: /* @__PURE__ */ (0, q.jsx)(we.Slot, {
232
+ children: /* @__PURE__ */ (0, K.jsx)(Te.Slot, {
232
233
  scope: e.__scopeRovingFocusGroup,
233
- children: /* @__PURE__ */ (0, q.jsx)(Me, {
234
+ children: /* @__PURE__ */ (0, K.jsx)(Ne, {
234
235
  ...e,
235
236
  ref: t
236
237
  })
237
238
  })
238
239
  }));
239
- je.displayName = J;
240
- var Me = K.forwardRef((e, t) => {
241
- let { __scopeRovingFocusGroup: n, orientation: r, loop: i = !1, dir: a, currentTabStopId: o, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: c, onEntryFocus: l, preventScrollOnEntryFocus: u = !1, ...d } = e, f = K.useRef(null), p = C(t, f), m = xe(a), [h, g] = B({
240
+ Me.displayName = q;
241
+ var Ne = G.forwardRef((e, t) => {
242
+ let { __scopeRovingFocusGroup: n, orientation: r, loop: i = !1, dir: a, currentTabStopId: o, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: c, onEntryFocus: l, preventScrollOnEntryFocus: u = !1, ...d } = e, f = G.useRef(null), p = S(t, f), m = Se(a), [h, g] = P({
242
243
  prop: o,
243
244
  defaultProp: s ?? null,
244
245
  onChange: c,
245
- caller: J
246
- }), [_, v] = K.useState(!1), y = w(l), x = Te(n), S = K.useRef(!1), [T, E] = K.useState(0);
247
- return K.useEffect(() => {
246
+ caller: q
247
+ }), [_, v] = G.useState(!1), y = H(l), b = Ee(n), x = G.useRef(!1), [C, E] = G.useState(0);
248
+ return G.useEffect(() => {
248
249
  let e = f.current;
249
- if (e) return e.addEventListener(Se, y), () => e.removeEventListener(Se, y);
250
- }, [y]), /* @__PURE__ */ (0, q.jsx)(ke, {
250
+ if (e) return e.addEventListener(Ce, y), () => e.removeEventListener(Ce, y);
251
+ }, [y]), /* @__PURE__ */ (0, K.jsx)(Ae, {
251
252
  scope: n,
252
253
  orientation: r,
253
254
  dir: m,
254
255
  loop: i,
255
256
  currentTabStopId: h,
256
- onItemFocus: K.useCallback((e) => g(e), [g]),
257
- onItemShiftTab: K.useCallback(() => v(!0), []),
258
- onFocusableItemAdd: K.useCallback(() => E((e) => e + 1), []),
259
- onFocusableItemRemove: K.useCallback(() => E((e) => e - 1), []),
260
- children: /* @__PURE__ */ (0, q.jsx)(b.div, {
261
- tabIndex: _ || T === 0 ? -1 : 0,
257
+ onItemFocus: G.useCallback((e) => g(e), [g]),
258
+ onItemShiftTab: G.useCallback(() => v(!0), []),
259
+ onFocusableItemAdd: G.useCallback(() => E((e) => e + 1), []),
260
+ onFocusableItemRemove: G.useCallback(() => E((e) => e - 1), []),
261
+ children: /* @__PURE__ */ (0, K.jsx)(T.div, {
262
+ tabIndex: _ || C === 0 ? -1 : 0,
262
263
  "data-orientation": r,
263
264
  ...d,
264
265
  ref: p,
@@ -266,56 +267,56 @@ var Me = K.forwardRef((e, t) => {
266
267
  outline: "none",
267
268
  ...e.style
268
269
  },
269
- onMouseDown: N(e.onMouseDown, () => {
270
- S.current = !0;
270
+ onMouseDown: w(e.onMouseDown, () => {
271
+ x.current = !0;
271
272
  }),
272
- onFocus: N(e.onFocus, (e) => {
273
- let t = !S.current;
273
+ onFocus: w(e.onFocus, (e) => {
274
+ let t = !x.current;
274
275
  if (e.target === e.currentTarget && t && !_) {
275
- let t = new CustomEvent(Se, Ce);
276
+ let t = new CustomEvent(Ce, we);
276
277
  if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
277
- let e = x().filter((e) => e.focusable);
278
- Re([
278
+ let e = b().filter((e) => e.focusable);
279
+ ze([
279
280
  e.find((e) => e.active),
280
281
  e.find((e) => e.id === h),
281
282
  ...e
282
283
  ].filter(Boolean).map((e) => e.ref.current), u);
283
284
  }
284
285
  }
285
- S.current = !1;
286
+ x.current = !1;
286
287
  }),
287
- onBlur: N(e.onBlur, () => v(!1))
288
+ onBlur: w(e.onBlur, () => v(!1))
288
289
  })
289
290
  });
290
- }), Ne = "RovingFocusGroupItem", Pe = K.forwardRef((e, t) => {
291
- let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: a, children: o, ...s } = e, c = V(), l = a || c, u = Ae(Ne, n), d = u.currentTabStopId === l, f = Te(n), { onFocusableItemAdd: p, onFocusableItemRemove: m, currentTabStopId: h } = u;
292
- return K.useEffect(() => {
291
+ }), Pe = "RovingFocusGroupItem", Fe = G.forwardRef((e, t) => {
292
+ let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: a, children: o, ...s } = e, c = D(), l = a || c, u = je(Pe, n), d = u.currentTabStopId === l, f = Ee(n), { onFocusableItemAdd: p, onFocusableItemRemove: m, currentTabStopId: h } = u;
293
+ return G.useEffect(() => {
293
294
  if (r) return p(), () => m();
294
295
  }, [
295
296
  r,
296
297
  p,
297
298
  m
298
- ]), /* @__PURE__ */ (0, q.jsx)(we.ItemSlot, {
299
+ ]), /* @__PURE__ */ (0, K.jsx)(Te.ItemSlot, {
299
300
  scope: n,
300
301
  id: l,
301
302
  focusable: r,
302
303
  active: i,
303
- children: /* @__PURE__ */ (0, q.jsx)(b.span, {
304
+ children: /* @__PURE__ */ (0, K.jsx)(T.span, {
304
305
  tabIndex: d ? 0 : -1,
305
306
  "data-orientation": u.orientation,
306
307
  ...s,
307
308
  ref: t,
308
- onMouseDown: N(e.onMouseDown, (e) => {
309
+ onMouseDown: w(e.onMouseDown, (e) => {
309
310
  r ? u.onItemFocus(l) : e.preventDefault();
310
311
  }),
311
- onFocus: N(e.onFocus, () => u.onItemFocus(l)),
312
- onKeyDown: N(e.onKeyDown, (e) => {
312
+ onFocus: w(e.onFocus, () => u.onItemFocus(l)),
313
+ onKeyDown: w(e.onKeyDown, (e) => {
313
314
  if (e.key === "Tab" && e.shiftKey) {
314
315
  u.onItemShiftTab();
315
316
  return;
316
317
  }
317
318
  if (e.target !== e.currentTarget) return;
318
- let t = Le(e, u.orientation, u.dir);
319
+ let t = Re(e, u.orientation, u.dir);
319
320
  if (t !== void 0) {
320
321
  if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
321
322
  e.preventDefault();
@@ -324,9 +325,9 @@ var Me = K.forwardRef((e, t) => {
324
325
  else if (t === "prev" || t === "next") {
325
326
  t === "prev" && n.reverse();
326
327
  let r = n.indexOf(e.currentTarget);
327
- n = u.loop ? ze(n, r + 1) : n.slice(r + 1);
328
+ n = u.loop ? Be(n, r + 1) : n.slice(r + 1);
328
329
  }
329
- setTimeout(() => Re(n));
330
+ setTimeout(() => ze(n));
330
331
  }
331
332
  }),
332
333
  children: typeof o == "function" ? o({
@@ -336,8 +337,8 @@ var Me = K.forwardRef((e, t) => {
336
337
  })
337
338
  });
338
339
  });
339
- Pe.displayName = Ne;
340
- var Fe = {
340
+ Fe.displayName = Pe;
341
+ var Ie = {
341
342
  ArrowLeft: "prev",
342
343
  ArrowUp: "prev",
343
344
  ArrowRight: "next",
@@ -347,41 +348,41 @@ var Fe = {
347
348
  PageDown: "last",
348
349
  End: "last"
349
350
  };
350
- function Ie(e, t) {
351
+ function Le(e, t) {
351
352
  return t === "rtl" ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
352
353
  }
353
- function Le(e, t, n) {
354
- let r = Ie(e.key, n);
355
- if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return Fe[r];
354
+ function Re(e, t, n) {
355
+ let r = Le(e.key, n);
356
+ if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return Ie[r];
356
357
  }
357
- function Re(e, t = !1) {
358
+ function ze(e, t = !1) {
358
359
  let n = document.activeElement;
359
360
  for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
360
361
  }
361
- function ze(e, t) {
362
+ function Be(e, t) {
362
363
  return e.map((n, r) => e[(t + r) % e.length]);
363
364
  }
364
- var Be = je, Ve = Pe, He = ["Enter", " "], Ue = [
365
+ var Ve = Me, He = Fe, Ue = ["Enter", " "], We = [
365
366
  "ArrowDown",
366
367
  "PageUp",
367
368
  "Home"
368
- ], We = [
369
+ ], Ge = [
369
370
  "ArrowUp",
370
371
  "PageDown",
371
372
  "End"
372
- ], Ge = [...Ue, ...We], Ke = {
373
- ltr: [...He, "ArrowRight"],
374
- rtl: [...He, "ArrowLeft"]
375
- }, qe = {
373
+ ], Ke = [...We, ...Ge], qe = {
374
+ ltr: [...Ue, "ArrowRight"],
375
+ rtl: [...Ue, "ArrowLeft"]
376
+ }, Je = {
376
377
  ltr: ["ArrowLeft"],
377
378
  rtl: ["ArrowRight"]
378
- }, Y = "Menu", [Je, Ye, Xe] = ye(Y), [X, Ze] = S(Y, [
379
+ }, J = "Menu", [Y, Ye, Xe] = be(J), [X, Ze] = E(J, [
379
380
  Xe,
380
- E,
381
- Oe
382
- ]), Qe = E(), $e = Oe(), [et, Z] = X(Y), [tt, nt] = X(Y), rt = (e) => {
383
- let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = Qe(t), [c, l] = K.useState(null), u = K.useRef(!1), d = w(a), f = xe(i);
384
- return K.useEffect(() => {
381
+ M,
382
+ ke
383
+ ]), Qe = M(), $e = ke(), [et, Z] = X(J), [tt, nt] = X(J), rt = (e) => {
384
+ 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 = H(a), f = Se(i);
385
+ return G.useEffect(() => {
385
386
  let e = () => {
386
387
  u.current = !0, document.addEventListener("pointerdown", t, {
387
388
  capture: !0,
@@ -394,17 +395,17 @@ var Be = je, Ve = Pe, He = ["Enter", " "], Ue = [
394
395
  return document.addEventListener("keydown", e, { capture: !0 }), () => {
395
396
  document.removeEventListener("keydown", e, { capture: !0 }), document.removeEventListener("pointerdown", t, { capture: !0 }), document.removeEventListener("pointermove", t, { capture: !0 });
396
397
  };
397
- }, []), /* @__PURE__ */ (0, q.jsx)(j, {
398
+ }, []), /* @__PURE__ */ (0, K.jsx)(N, {
398
399
  ...s,
399
- children: /* @__PURE__ */ (0, q.jsx)(et, {
400
+ children: /* @__PURE__ */ (0, K.jsx)(et, {
400
401
  scope: t,
401
402
  open: n,
402
403
  onOpenChange: d,
403
404
  content: c,
404
405
  onContentChange: l,
405
- children: /* @__PURE__ */ (0, q.jsx)(tt, {
406
+ children: /* @__PURE__ */ (0, K.jsx)(tt, {
406
407
  scope: t,
407
- onClose: K.useCallback(() => d(!1), [d]),
408
+ onClose: G.useCallback(() => d(!1), [d]),
408
409
  isUsingKeyboardRef: u,
409
410
  dir: f,
410
411
  modal: o,
@@ -413,10 +414,10 @@ var Be = je, Ve = Pe, He = ["Enter", " "], Ue = [
413
414
  })
414
415
  });
415
416
  };
416
- rt.displayName = Y;
417
- var it = "MenuAnchor", at = K.forwardRef((e, t) => {
417
+ rt.displayName = J;
418
+ var it = "MenuAnchor", at = G.forwardRef((e, t) => {
418
419
  let { __scopeMenu: n, ...r } = e, i = Qe(n);
419
- return /* @__PURE__ */ (0, q.jsx)(z, {
420
+ return /* @__PURE__ */ (0, K.jsx)(j, {
420
421
  ...i,
421
422
  ...r,
422
423
  ref: t
@@ -425,12 +426,12 @@ var it = "MenuAnchor", at = K.forwardRef((e, t) => {
425
426
  at.displayName = it;
426
427
  var ot = "MenuPortal", [st, ct] = X(ot, { forceMount: void 0 }), lt = (e) => {
427
428
  let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = Z(ot, t);
428
- return /* @__PURE__ */ (0, q.jsx)(st, {
429
+ return /* @__PURE__ */ (0, K.jsx)(st, {
429
430
  scope: t,
430
431
  forceMount: n,
431
- children: /* @__PURE__ */ (0, q.jsx)(k, {
432
+ children: /* @__PURE__ */ (0, K.jsx)(z, {
432
433
  present: n || a.open,
433
- children: /* @__PURE__ */ (0, q.jsx)(A, {
434
+ children: /* @__PURE__ */ (0, K.jsx)(A, {
434
435
  asChild: !0,
435
436
  container: i,
436
437
  children: r
@@ -439,41 +440,41 @@ var ot = "MenuPortal", [st, ct] = X(ot, { forceMount: void 0 }), lt = (e) => {
439
440
  });
440
441
  };
441
442
  lt.displayName = ot;
442
- var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
443
+ var Q = "MenuContent", [ut, dt] = X(Q), ft = G.forwardRef((e, t) => {
443
444
  let n = ct(Q, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeMenu), o = nt(Q, e.__scopeMenu);
444
- return /* @__PURE__ */ (0, q.jsx)(Je.Provider, {
445
+ return /* @__PURE__ */ (0, K.jsx)(Y.Provider, {
445
446
  scope: e.__scopeMenu,
446
- children: /* @__PURE__ */ (0, q.jsx)(k, {
447
+ children: /* @__PURE__ */ (0, K.jsx)(z, {
447
448
  present: r || a.open,
448
- children: /* @__PURE__ */ (0, q.jsx)(Je.Slot, {
449
+ children: /* @__PURE__ */ (0, K.jsx)(Y.Slot, {
449
450
  scope: e.__scopeMenu,
450
- children: o.modal ? /* @__PURE__ */ (0, q.jsx)(pt, {
451
+ children: o.modal ? /* @__PURE__ */ (0, K.jsx)(pt, {
451
452
  ...i,
452
453
  ref: t
453
- }) : /* @__PURE__ */ (0, q.jsx)(mt, {
454
+ }) : /* @__PURE__ */ (0, K.jsx)(mt, {
454
455
  ...i,
455
456
  ref: t
456
457
  })
457
458
  })
458
459
  })
459
460
  });
460
- }), pt = K.forwardRef((e, t) => {
461
- let n = Z(Q, e.__scopeMenu), r = K.useRef(null), i = C(t, r);
462
- return K.useEffect(() => {
461
+ }), pt = G.forwardRef((e, t) => {
462
+ let n = Z(Q, e.__scopeMenu), r = G.useRef(null), i = S(t, r);
463
+ return G.useEffect(() => {
463
464
  let e = r.current;
464
- if (e) return P(e);
465
- }, []), /* @__PURE__ */ (0, q.jsx)(gt, {
465
+ if (e) return k(e);
466
+ }, []), /* @__PURE__ */ (0, K.jsx)(gt, {
466
467
  ...e,
467
468
  ref: i,
468
469
  trapFocus: n.open,
469
470
  disableOutsidePointerEvents: n.open,
470
471
  disableOutsideScroll: !0,
471
- onFocusOutside: N(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
472
+ onFocusOutside: w(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
472
473
  onDismiss: () => n.onOpenChange(!1)
473
474
  });
474
- }), mt = K.forwardRef((e, t) => {
475
+ }), mt = G.forwardRef((e, t) => {
475
476
  let n = Z(Q, e.__scopeMenu);
476
- return /* @__PURE__ */ (0, q.jsx)(gt, {
477
+ return /* @__PURE__ */ (0, K.jsx)(gt, {
477
478
  ...e,
478
479
  ref: t,
479
480
  trapFocus: !1,
@@ -481,44 +482,44 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
481
482
  disableOutsideScroll: !1,
482
483
  onDismiss: () => n.onOpenChange(!1)
483
484
  });
484
- }), ht = T("MenuContent.ScrollLock"), gt = K.forwardRef((e, t) => {
485
- let { __scopeMenu: n, loop: r = !1, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: u, onFocusOutside: d, onInteractOutside: f, onDismiss: p, disableOutsideScroll: m, ...h } = e, g = Z(Q, n), _ = nt(Q, n), v = Qe(n), y = $e(n), b = Ye(n), [x, S] = K.useState(null), w = K.useRef(null), T = C(t, w, g.onContentChange), E = K.useRef(0), k = K.useRef(""), A = K.useRef(0), j = K.useRef(null), P = K.useRef("right"), F = K.useRef(0), I = m ? D : K.Fragment, L = m ? {
485
+ }), ht = V("MenuContent.ScrollLock"), gt = G.forwardRef((e, t) => {
486
+ let { __scopeMenu: n, loop: r = !1, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: u, onFocusOutside: d, onInteractOutside: f, onDismiss: p, disableOutsideScroll: m, ...h } = e, g = Z(Q, n), _ = nt(Q, n), v = Qe(n), y = $e(n), b = Ye(n), [x, C] = G.useState(null), T = G.useRef(null), E = S(t, T, g.onContentChange), D = G.useRef(0), k = G.useRef(""), A = G.useRef(0), j = G.useRef(null), M = G.useRef("right"), N = G.useRef(0), P = m ? ee : G.Fragment, I = m ? {
486
487
  as: ht,
487
488
  allowPinchZoom: !0
488
- } : void 0, R = (e) => {
489
+ } : void 0, L = (e) => {
489
490
  let t = k.current + e, n = b().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = en(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
490
491
  (function e(t) {
491
- k.current = t, window.clearTimeout(E.current), t !== "" && (E.current = window.setTimeout(() => e(""), 1e3));
492
+ k.current = t, window.clearTimeout(D.current), t !== "" && (D.current = window.setTimeout(() => e(""), 1e3));
492
493
  })(t), o && setTimeout(() => o.focus());
493
494
  };
494
- K.useEffect(() => () => window.clearTimeout(E.current), []), O();
495
- let z = K.useCallback((e) => P.current === j.current?.side && nn(e, j.current?.area), []);
496
- return /* @__PURE__ */ (0, q.jsx)(ut, {
495
+ G.useEffect(() => () => window.clearTimeout(D.current), []), te();
496
+ let R = G.useCallback((e) => M.current === j.current?.side && nn(e, j.current?.area), []);
497
+ return /* @__PURE__ */ (0, K.jsx)(ut, {
497
498
  scope: n,
498
499
  searchRef: k,
499
- onItemEnter: K.useCallback((e) => {
500
- z(e) && e.preventDefault();
501
- }, [z]),
502
- onItemLeave: K.useCallback((e) => {
503
- z(e) || (w.current?.focus(), S(null));
504
- }, [z]),
505
- onTriggerLeave: K.useCallback((e) => {
506
- z(e) && e.preventDefault();
507
- }, [z]),
500
+ onItemEnter: G.useCallback((e) => {
501
+ R(e) && e.preventDefault();
502
+ }, [R]),
503
+ onItemLeave: G.useCallback((e) => {
504
+ R(e) || (T.current?.focus(), C(null));
505
+ }, [R]),
506
+ onTriggerLeave: G.useCallback((e) => {
507
+ R(e) && e.preventDefault();
508
+ }, [R]),
508
509
  pointerGraceTimerRef: A,
509
- onPointerGraceIntentChange: K.useCallback((e) => {
510
+ onPointerGraceIntentChange: G.useCallback((e) => {
510
511
  j.current = e;
511
512
  }, []),
512
- children: /* @__PURE__ */ (0, q.jsx)(I, {
513
- ...L,
514
- children: /* @__PURE__ */ (0, q.jsx)(ee, {
513
+ children: /* @__PURE__ */ (0, K.jsx)(P, {
514
+ ...I,
515
+ children: /* @__PURE__ */ (0, K.jsx)(B, {
515
516
  asChild: !0,
516
517
  trapped: i,
517
- onMountAutoFocus: N(a, (e) => {
518
- e.preventDefault(), w.current?.focus({ preventScroll: !0 });
518
+ onMountAutoFocus: w(a, (e) => {
519
+ e.preventDefault(), T.current?.focus({ preventScroll: !0 });
519
520
  }),
520
521
  onUnmountAutoFocus: o,
521
- children: /* @__PURE__ */ (0, q.jsx)(U, {
522
+ children: /* @__PURE__ */ (0, K.jsx)(O, {
522
523
  asChild: !0,
523
524
  disableOutsidePointerEvents: s,
524
525
  onEscapeKeyDown: l,
@@ -526,19 +527,19 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
526
527
  onFocusOutside: d,
527
528
  onInteractOutside: f,
528
529
  onDismiss: p,
529
- children: /* @__PURE__ */ (0, q.jsx)(Be, {
530
+ children: /* @__PURE__ */ (0, K.jsx)(Ve, {
530
531
  asChild: !0,
531
532
  ...y,
532
533
  dir: _.dir,
533
534
  orientation: "vertical",
534
535
  loop: r,
535
536
  currentTabStopId: x,
536
- onCurrentTabStopIdChange: S,
537
- onEntryFocus: N(c, (e) => {
537
+ onCurrentTabStopIdChange: C,
538
+ onEntryFocus: w(c, (e) => {
538
539
  _.isUsingKeyboardRef.current || e.preventDefault();
539
540
  }),
540
541
  preventScrollOnEntryFocus: !0,
541
- children: /* @__PURE__ */ (0, q.jsx)(M, {
542
+ children: /* @__PURE__ */ (0, K.jsx)(F, {
542
543
  role: "menu",
543
544
  "aria-orientation": "vertical",
544
545
  "data-state": Yt(g.open),
@@ -546,26 +547,26 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
546
547
  dir: _.dir,
547
548
  ...v,
548
549
  ...h,
549
- ref: T,
550
+ ref: E,
550
551
  style: {
551
552
  outline: "none",
552
553
  ...h.style
553
554
  },
554
- onKeyDown: N(h.onKeyDown, (e) => {
555
+ onKeyDown: w(h.onKeyDown, (e) => {
555
556
  let t = e.target.closest("[data-radix-menu-content]") === e.currentTarget, n = e.ctrlKey || e.altKey || e.metaKey, r = e.key.length === 1;
556
- t && (e.key === "Tab" && e.preventDefault(), !n && r && R(e.key));
557
- let i = w.current;
558
- if (e.target !== i || !Ge.includes(e.key)) return;
557
+ t && (e.key === "Tab" && e.preventDefault(), !n && r && L(e.key));
558
+ let i = T.current;
559
+ if (e.target !== i || !Ke.includes(e.key)) return;
559
560
  e.preventDefault();
560
561
  let a = b().filter((e) => !e.disabled).map((e) => e.ref.current);
561
- We.includes(e.key) && a.reverse(), Qt(a);
562
+ Ge.includes(e.key) && a.reverse(), Qt(a);
562
563
  }),
563
- onBlur: N(e.onBlur, (e) => {
564
- e.currentTarget.contains(e.target) || (window.clearTimeout(E.current), k.current = "");
564
+ onBlur: w(e.onBlur, (e) => {
565
+ e.currentTarget.contains(e.target) || (window.clearTimeout(D.current), k.current = "");
565
566
  }),
566
- onPointerMove: N(e.onPointerMove, rn((e) => {
567
- let t = e.target, n = F.current !== e.clientX;
568
- e.currentTarget.contains(t) && n && (P.current = e.clientX > F.current ? "right" : "left", F.current = e.clientX);
567
+ onPointerMove: w(e.onPointerMove, rn((e) => {
568
+ let t = e.target, n = N.current !== e.clientX;
569
+ e.currentTarget.contains(t) && n && (M.current = e.clientX > N.current ? "right" : "left", N.current = e.clientX);
569
570
  }))
570
571
  })
571
572
  })
@@ -575,93 +576,93 @@ var Q = "MenuContent", [ut, dt] = X(Q), ft = K.forwardRef((e, t) => {
575
576
  });
576
577
  });
577
578
  ft.displayName = Q;
578
- var _t = "MenuGroup", vt = K.forwardRef((e, t) => {
579
+ var _t = "MenuGroup", vt = G.forwardRef((e, t) => {
579
580
  let { __scopeMenu: n, ...r } = e;
580
- return /* @__PURE__ */ (0, q.jsx)(b.div, {
581
+ return /* @__PURE__ */ (0, K.jsx)(T.div, {
581
582
  role: "group",
582
583
  ...r,
583
584
  ref: t
584
585
  });
585
586
  });
586
587
  vt.displayName = _t;
587
- var yt = "MenuLabel", bt = K.forwardRef((e, t) => {
588
+ var yt = "MenuLabel", bt = G.forwardRef((e, t) => {
588
589
  let { __scopeMenu: n, ...r } = e;
589
- return /* @__PURE__ */ (0, q.jsx)(b.div, {
590
+ return /* @__PURE__ */ (0, K.jsx)(T.div, {
590
591
  ...r,
591
592
  ref: t
592
593
  });
593
594
  });
594
595
  bt.displayName = yt;
595
- var xt = "MenuItem", St = "menu.itemSelect", Ct = K.forwardRef((e, t) => {
596
- let { disabled: n = !1, onSelect: r, ...i } = e, a = K.useRef(null), o = nt(xt, e.__scopeMenu), s = dt(xt, e.__scopeMenu), c = C(t, a), l = K.useRef(!1), u = () => {
596
+ var xt = "MenuItem", St = "menu.itemSelect", Ct = G.forwardRef((e, t) => {
597
+ let { disabled: n = !1, onSelect: r, ...i } = e, a = G.useRef(null), o = nt(xt, e.__scopeMenu), s = dt(xt, e.__scopeMenu), c = S(t, a), l = G.useRef(!1), u = () => {
597
598
  let e = a.current;
598
599
  if (!n && e) {
599
600
  let t = new CustomEvent(St, {
600
601
  bubbles: !0,
601
602
  cancelable: !0
602
603
  });
603
- e.addEventListener(St, (e) => r?.(e), { once: !0 }), H(e, t), t.defaultPrevented ? l.current = !1 : o.onClose();
604
+ e.addEventListener(St, (e) => r?.(e), { once: !0 }), x(e, t), t.defaultPrevented ? l.current = !1 : o.onClose();
604
605
  }
605
606
  };
606
- return /* @__PURE__ */ (0, q.jsx)(wt, {
607
+ return /* @__PURE__ */ (0, K.jsx)(wt, {
607
608
  ...i,
608
609
  ref: c,
609
610
  disabled: n,
610
- onClick: N(e.onClick, u),
611
+ onClick: w(e.onClick, u),
611
612
  onPointerDown: (t) => {
612
613
  e.onPointerDown?.(t), l.current = !0;
613
614
  },
614
- onPointerUp: N(e.onPointerUp, (e) => {
615
+ onPointerUp: w(e.onPointerUp, (e) => {
615
616
  l.current || e.currentTarget?.click();
616
617
  }),
617
- onKeyDown: N(e.onKeyDown, (e) => {
618
+ onKeyDown: w(e.onKeyDown, (e) => {
618
619
  let t = s.searchRef.current !== "";
619
- n || t && e.key === " " || He.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
620
+ n || t && e.key === " " || Ue.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
620
621
  })
621
622
  });
622
623
  });
623
624
  Ct.displayName = xt;
624
- var wt = K.forwardRef((e, t) => {
625
- let { __scopeMenu: n, disabled: r = !1, textValue: i, ...a } = e, o = dt(xt, n), s = $e(n), c = K.useRef(null), l = C(t, c), [u, d] = K.useState(!1), [f, p] = K.useState("");
626
- return K.useEffect(() => {
625
+ var wt = G.forwardRef((e, t) => {
626
+ let { __scopeMenu: n, disabled: r = !1, textValue: i, ...a } = e, o = dt(xt, n), s = $e(n), c = G.useRef(null), l = S(t, c), [u, d] = G.useState(!1), [f, p] = G.useState("");
627
+ return G.useEffect(() => {
627
628
  let e = c.current;
628
629
  e && p((e.textContent ?? "").trim());
629
- }, [a.children]), /* @__PURE__ */ (0, q.jsx)(Je.ItemSlot, {
630
+ }, [a.children]), /* @__PURE__ */ (0, K.jsx)(Y.ItemSlot, {
630
631
  scope: n,
631
632
  disabled: r,
632
633
  textValue: i ?? f,
633
- children: /* @__PURE__ */ (0, q.jsx)(Ve, {
634
+ children: /* @__PURE__ */ (0, K.jsx)(He, {
634
635
  asChild: !0,
635
636
  ...s,
636
637
  focusable: !r,
637
- children: /* @__PURE__ */ (0, q.jsx)(b.div, {
638
+ children: /* @__PURE__ */ (0, K.jsx)(T.div, {
638
639
  role: "menuitem",
639
640
  "data-highlighted": u ? "" : void 0,
640
641
  "aria-disabled": r || void 0,
641
642
  "data-disabled": r ? "" : void 0,
642
643
  ...a,
643
644
  ref: l,
644
- onPointerMove: N(e.onPointerMove, rn((e) => {
645
+ onPointerMove: w(e.onPointerMove, rn((e) => {
645
646
  r ? o.onItemLeave(e) : (o.onItemEnter(e), e.defaultPrevented || e.currentTarget.focus({ preventScroll: !0 }));
646
647
  })),
647
- onPointerLeave: N(e.onPointerLeave, rn((e) => o.onItemLeave(e))),
648
- onFocus: N(e.onFocus, () => d(!0)),
649
- onBlur: N(e.onBlur, () => d(!1))
648
+ onPointerLeave: w(e.onPointerLeave, rn((e) => o.onItemLeave(e))),
649
+ onFocus: w(e.onFocus, () => d(!0)),
650
+ onBlur: w(e.onBlur, () => d(!1))
650
651
  })
651
652
  })
652
653
  });
653
- }), Tt = "MenuCheckboxItem", Et = K.forwardRef((e, t) => {
654
+ }), Tt = "MenuCheckboxItem", Et = G.forwardRef((e, t) => {
654
655
  let { checked: n = !1, onCheckedChange: r, ...i } = e;
655
- return /* @__PURE__ */ (0, q.jsx)(Pt, {
656
+ return /* @__PURE__ */ (0, K.jsx)(Pt, {
656
657
  scope: e.__scopeMenu,
657
658
  checked: n,
658
- children: /* @__PURE__ */ (0, q.jsx)(Ct, {
659
+ children: /* @__PURE__ */ (0, K.jsx)(Ct, {
659
660
  role: "menuitemcheckbox",
660
661
  "aria-checked": Xt(n) ? "mixed" : n,
661
662
  ...i,
662
663
  ref: t,
663
664
  "data-state": Zt(n),
664
- onSelect: N(i.onSelect, () => r?.(Xt(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
665
+ onSelect: w(i.onSelect, () => r?.(Xt(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
665
666
  })
666
667
  });
667
668
  });
@@ -669,40 +670,40 @@ Et.displayName = Tt;
669
670
  var Dt = "MenuRadioGroup", [Ot, kt] = X(Dt, {
670
671
  value: void 0,
671
672
  onValueChange: () => {}
672
- }), At = K.forwardRef((e, t) => {
673
- let { value: n, onValueChange: r, ...i } = e, a = w(r);
674
- return /* @__PURE__ */ (0, q.jsx)(Ot, {
673
+ }), At = G.forwardRef((e, t) => {
674
+ let { value: n, onValueChange: r, ...i } = e, a = H(r);
675
+ return /* @__PURE__ */ (0, K.jsx)(Ot, {
675
676
  scope: e.__scopeMenu,
676
677
  value: n,
677
678
  onValueChange: a,
678
- children: /* @__PURE__ */ (0, q.jsx)(vt, {
679
+ children: /* @__PURE__ */ (0, K.jsx)(vt, {
679
680
  ...i,
680
681
  ref: t
681
682
  })
682
683
  });
683
684
  });
684
685
  At.displayName = Dt;
685
- var jt = "MenuRadioItem", Mt = K.forwardRef((e, t) => {
686
+ var jt = "MenuRadioItem", Mt = G.forwardRef((e, t) => {
686
687
  let { value: n, ...r } = e, i = kt(jt, e.__scopeMenu), a = n === i.value;
687
- return /* @__PURE__ */ (0, q.jsx)(Pt, {
688
+ return /* @__PURE__ */ (0, K.jsx)(Pt, {
688
689
  scope: e.__scopeMenu,
689
690
  checked: a,
690
- children: /* @__PURE__ */ (0, q.jsx)(Ct, {
691
+ children: /* @__PURE__ */ (0, K.jsx)(Ct, {
691
692
  role: "menuitemradio",
692
693
  "aria-checked": a,
693
694
  ...r,
694
695
  ref: t,
695
696
  "data-state": Zt(a),
696
- onSelect: N(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
697
+ onSelect: w(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
697
698
  })
698
699
  });
699
700
  });
700
701
  Mt.displayName = jt;
701
- var Nt = "MenuItemIndicator", [Pt, Ft] = X(Nt, { checked: !1 }), It = K.forwardRef((e, t) => {
702
+ var Nt = "MenuItemIndicator", [Pt, Ft] = X(Nt, { checked: !1 }), It = G.forwardRef((e, t) => {
702
703
  let { __scopeMenu: n, forceMount: r, ...i } = e, a = Ft(Nt, n);
703
- return /* @__PURE__ */ (0, q.jsx)(k, {
704
+ return /* @__PURE__ */ (0, K.jsx)(z, {
704
705
  present: r || Xt(a.checked) || a.checked === !0,
705
- children: /* @__PURE__ */ (0, q.jsx)(b.span, {
706
+ children: /* @__PURE__ */ (0, K.jsx)(T.span, {
706
707
  ...i,
707
708
  ref: t,
708
709
  "data-state": Zt(a.checked)
@@ -710,9 +711,9 @@ var Nt = "MenuItemIndicator", [Pt, Ft] = X(Nt, { checked: !1 }), It = K.forwardR
710
711
  });
711
712
  });
712
713
  It.displayName = Nt;
713
- var Lt = "MenuSeparator", Rt = K.forwardRef((e, t) => {
714
+ var Lt = "MenuSeparator", Rt = G.forwardRef((e, t) => {
714
715
  let { __scopeMenu: n, ...r } = e;
715
- return /* @__PURE__ */ (0, q.jsx)(b.div, {
716
+ return /* @__PURE__ */ (0, K.jsx)(T.div, {
716
717
  role: "separator",
717
718
  "aria-orientation": "horizontal",
718
719
  ...r,
@@ -720,9 +721,9 @@ var Lt = "MenuSeparator", Rt = K.forwardRef((e, t) => {
720
721
  });
721
722
  });
722
723
  Rt.displayName = Lt;
723
- var zt = "MenuArrow", Bt = K.forwardRef((e, t) => {
724
+ var zt = "MenuArrow", Bt = G.forwardRef((e, t) => {
724
725
  let { __scopeMenu: n, ...r } = e, i = Qe(n);
725
- return /* @__PURE__ */ (0, q.jsx)(I, {
726
+ return /* @__PURE__ */ (0, K.jsx)(I, {
726
727
  ...i,
727
728
  ...r,
728
729
  ref: t
@@ -730,19 +731,19 @@ var zt = "MenuArrow", Bt = K.forwardRef((e, t) => {
730
731
  });
731
732
  Bt.displayName = zt;
732
733
  var Vt = "MenuSub", [Ht, Ut] = X(Vt), Wt = (e) => {
733
- let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = Z(Vt, t), o = Qe(t), [s, c] = K.useState(null), [l, u] = K.useState(null), d = w(i);
734
- return K.useEffect(() => (a.open === !1 && d(!1), () => d(!1)), [a.open, d]), /* @__PURE__ */ (0, q.jsx)(j, {
734
+ 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 = H(i);
735
+ return G.useEffect(() => (a.open === !1 && d(!1), () => d(!1)), [a.open, d]), /* @__PURE__ */ (0, K.jsx)(N, {
735
736
  ...o,
736
- children: /* @__PURE__ */ (0, q.jsx)(et, {
737
+ children: /* @__PURE__ */ (0, K.jsx)(et, {
737
738
  scope: t,
738
739
  open: r,
739
740
  onOpenChange: d,
740
741
  content: l,
741
742
  onContentChange: u,
742
- children: /* @__PURE__ */ (0, q.jsx)(Ht, {
743
+ children: /* @__PURE__ */ (0, K.jsx)(Ht, {
743
744
  scope: t,
744
- contentId: V(),
745
- triggerId: V(),
745
+ contentId: D(),
746
+ triggerId: D(),
746
747
  trigger: s,
747
748
  onTriggerChange: c,
748
749
  children: n
@@ -751,35 +752,35 @@ var Vt = "MenuSub", [Ht, Ut] = X(Vt), Wt = (e) => {
751
752
  });
752
753
  };
753
754
  Wt.displayName = Vt;
754
- var Gt = "MenuSubTrigger", Kt = K.forwardRef((e, t) => {
755
- let n = Z(Gt, e.__scopeMenu), r = nt(Gt, e.__scopeMenu), i = Ut(Gt, e.__scopeMenu), a = dt(Gt, e.__scopeMenu), o = K.useRef(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: c } = a, l = { __scopeMenu: e.__scopeMenu }, u = K.useCallback(() => {
755
+ var Gt = "MenuSubTrigger", Kt = G.forwardRef((e, t) => {
756
+ let n = Z(Gt, e.__scopeMenu), r = nt(Gt, e.__scopeMenu), i = Ut(Gt, e.__scopeMenu), a = dt(Gt, e.__scopeMenu), o = G.useRef(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: c } = a, l = { __scopeMenu: e.__scopeMenu }, u = G.useCallback(() => {
756
757
  o.current && window.clearTimeout(o.current), o.current = null;
757
758
  }, []);
758
- return K.useEffect(() => u, [u]), K.useEffect(() => {
759
+ return G.useEffect(() => u, [u]), G.useEffect(() => {
759
760
  let e = s.current;
760
761
  return () => {
761
762
  window.clearTimeout(e), c(null);
762
763
  };
763
- }, [s, c]), /* @__PURE__ */ (0, q.jsx)(at, {
764
+ }, [s, c]), /* @__PURE__ */ (0, K.jsx)(at, {
764
765
  asChild: !0,
765
766
  ...l,
766
- children: /* @__PURE__ */ (0, q.jsx)(wt, {
767
+ children: /* @__PURE__ */ (0, K.jsx)(wt, {
767
768
  id: i.triggerId,
768
769
  "aria-haspopup": "menu",
769
770
  "aria-expanded": n.open,
770
771
  "aria-controls": i.contentId,
771
772
  "data-state": Yt(n.open),
772
773
  ...e,
773
- ref: x(t, i.onTriggerChange),
774
+ ref: C(t, i.onTriggerChange),
774
775
  onClick: (t) => {
775
776
  e.onClick?.(t), !(e.disabled || t.defaultPrevented) && (t.currentTarget.focus(), n.open || n.onOpenChange(!0));
776
777
  },
777
- onPointerMove: N(e.onPointerMove, rn((t) => {
778
+ onPointerMove: w(e.onPointerMove, rn((t) => {
778
779
  a.onItemEnter(t), !t.defaultPrevented && !e.disabled && !n.open && !o.current && (a.onPointerGraceIntentChange(null), o.current = window.setTimeout(() => {
779
780
  n.onOpenChange(!0), u();
780
781
  }, 100));
781
782
  })),
782
- onPointerLeave: N(e.onPointerLeave, rn((e) => {
783
+ onPointerLeave: w(e.onPointerLeave, rn((e) => {
783
784
  u();
784
785
  let t = n.content?.getBoundingClientRect();
785
786
  if (t) {
@@ -814,23 +815,23 @@ var Gt = "MenuSubTrigger", Kt = K.forwardRef((e, t) => {
814
815
  a.onPointerGraceIntentChange(null);
815
816
  }
816
817
  })),
817
- onKeyDown: N(e.onKeyDown, (t) => {
818
+ onKeyDown: w(e.onKeyDown, (t) => {
818
819
  let i = a.searchRef.current !== "";
819
- e.disabled || i && t.key === " " || Ke[r.dir].includes(t.key) && (n.onOpenChange(!0), n.content?.focus(), t.preventDefault());
820
+ e.disabled || i && t.key === " " || qe[r.dir].includes(t.key) && (n.onOpenChange(!0), n.content?.focus(), t.preventDefault());
820
821
  })
821
822
  })
822
823
  });
823
824
  });
824
825
  Kt.displayName = Gt;
825
- var qt = "MenuSubContent", Jt = K.forwardRef((e, t) => {
826
- 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 = K.useRef(null), l = C(t, c);
827
- return /* @__PURE__ */ (0, q.jsx)(Je.Provider, {
826
+ var qt = "MenuSubContent", Jt = G.forwardRef((e, t) => {
827
+ 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 = S(t, c);
828
+ return /* @__PURE__ */ (0, K.jsx)(Y.Provider, {
828
829
  scope: e.__scopeMenu,
829
- children: /* @__PURE__ */ (0, q.jsx)(k, {
830
+ children: /* @__PURE__ */ (0, K.jsx)(z, {
830
831
  present: r || a.open,
831
- children: /* @__PURE__ */ (0, q.jsx)(Je.Slot, {
832
+ children: /* @__PURE__ */ (0, K.jsx)(Y.Slot, {
832
833
  scope: e.__scopeMenu,
833
- children: /* @__PURE__ */ (0, q.jsx)(gt, {
834
+ children: /* @__PURE__ */ (0, K.jsx)(gt, {
834
835
  id: s.contentId,
835
836
  "aria-labelledby": s.triggerId,
836
837
  ...i,
@@ -844,14 +845,14 @@ var qt = "MenuSubContent", Jt = K.forwardRef((e, t) => {
844
845
  o.isUsingKeyboardRef.current && c.current?.focus(), e.preventDefault();
845
846
  },
846
847
  onCloseAutoFocus: (e) => e.preventDefault(),
847
- onFocusOutside: N(e.onFocusOutside, (e) => {
848
+ onFocusOutside: w(e.onFocusOutside, (e) => {
848
849
  e.target !== s.trigger && a.onOpenChange(!1);
849
850
  }),
850
- onEscapeKeyDown: N(e.onEscapeKeyDown, (e) => {
851
+ onEscapeKeyDown: w(e.onEscapeKeyDown, (e) => {
851
852
  o.onClose(), e.preventDefault();
852
853
  }),
853
- onKeyDown: N(e.onKeyDown, (e) => {
854
- let t = e.currentTarget.contains(e.target), n = qe[o.dir].includes(e.key);
854
+ onKeyDown: w(e.onKeyDown, (e) => {
855
+ let t = e.currentTarget.contains(e.target), n = Je[o.dir].includes(e.key);
855
856
  t && n && (a.onOpenChange(!1), s.trigger?.focus(), e.preventDefault());
856
857
  })
857
858
  })
@@ -899,23 +900,23 @@ function nn(e, t) {
899
900
  function rn(e) {
900
901
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
901
902
  }
902
- 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] = S(bn, [Ze]), $ = Ze(), [Cn, wn] = xn(bn), Tn = (e) => {
903
- let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = e, c = $(t), l = K.useRef(null), [u, d] = B({
903
+ 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] = E(bn, [Ze]), $ = Ze(), [Cn, wn] = xn(bn), Tn = (e) => {
904
+ 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] = P({
904
905
  prop: i,
905
906
  defaultProp: a ?? !1,
906
907
  onChange: o,
907
908
  caller: bn
908
909
  });
909
- return /* @__PURE__ */ (0, q.jsx)(Cn, {
910
+ return /* @__PURE__ */ (0, K.jsx)(Cn, {
910
911
  scope: t,
911
- triggerId: V(),
912
+ triggerId: D(),
912
913
  triggerRef: l,
913
- contentId: V(),
914
+ contentId: D(),
914
915
  open: u,
915
916
  onOpenChange: d,
916
- onOpenToggle: K.useCallback(() => d((e) => !e), [d]),
917
+ onOpenToggle: G.useCallback(() => d((e) => !e), [d]),
917
918
  modal: s,
918
- children: /* @__PURE__ */ (0, q.jsx)(an, {
919
+ children: /* @__PURE__ */ (0, K.jsx)(an, {
919
920
  ...c,
920
921
  open: u,
921
922
  onOpenChange: d,
@@ -926,12 +927,12 @@ var an = rt, on = at, sn = lt, cn = ft, ln = vt, un = bt, dn = Ct, fn = Et, pn =
926
927
  });
927
928
  };
928
929
  Tn.displayName = bn;
929
- var En = "DropdownMenuTrigger", Dn = K.forwardRef((e, t) => {
930
+ var En = "DropdownMenuTrigger", Dn = G.forwardRef((e, t) => {
930
931
  let { __scopeDropdownMenu: n, disabled: r = !1, ...i } = e, a = wn(En, n), o = $(n);
931
- return /* @__PURE__ */ (0, q.jsx)(on, {
932
+ return /* @__PURE__ */ (0, K.jsx)(on, {
932
933
  asChild: !0,
933
934
  ...o,
934
- children: /* @__PURE__ */ (0, q.jsx)(b.button, {
935
+ children: /* @__PURE__ */ (0, K.jsx)(T.button, {
935
936
  type: "button",
936
937
  id: a.triggerId,
937
938
  "aria-haspopup": "menu",
@@ -941,11 +942,11 @@ var En = "DropdownMenuTrigger", Dn = K.forwardRef((e, t) => {
941
942
  "data-disabled": r ? "" : void 0,
942
943
  disabled: r,
943
944
  ...i,
944
- ref: x(t, a.triggerRef),
945
- onPointerDown: N(e.onPointerDown, (e) => {
945
+ ref: C(t, a.triggerRef),
946
+ onPointerDown: w(e.onPointerDown, (e) => {
946
947
  !r && e.button === 0 && e.ctrlKey === !1 && (a.onOpenToggle(), a.open || e.preventDefault());
947
948
  }),
948
- onKeyDown: N(e.onKeyDown, (e) => {
949
+ onKeyDown: w(e.onKeyDown, (e) => {
949
950
  r || (["Enter", " "].includes(e.key) && a.onOpenToggle(), e.key === "ArrowDown" && a.onOpenChange(!0), [
950
951
  "Enter",
951
952
  " ",
@@ -958,24 +959,24 @@ var En = "DropdownMenuTrigger", Dn = K.forwardRef((e, t) => {
958
959
  Dn.displayName = En;
959
960
  var On = "DropdownMenuPortal", kn = (e) => {
960
961
  let { __scopeDropdownMenu: t, ...n } = e, r = $(t);
961
- return /* @__PURE__ */ (0, q.jsx)(sn, {
962
+ return /* @__PURE__ */ (0, K.jsx)(sn, {
962
963
  ...r,
963
964
  ...n
964
965
  });
965
966
  };
966
967
  kn.displayName = On;
967
- var An = "DropdownMenuContent", jn = K.forwardRef((e, t) => {
968
- let { __scopeDropdownMenu: n, ...r } = e, i = wn(An, n), a = $(n), o = K.useRef(!1);
969
- return /* @__PURE__ */ (0, q.jsx)(cn, {
968
+ var An = "DropdownMenuContent", jn = G.forwardRef((e, t) => {
969
+ let { __scopeDropdownMenu: n, ...r } = e, i = wn(An, n), a = $(n), o = G.useRef(!1);
970
+ return /* @__PURE__ */ (0, K.jsx)(cn, {
970
971
  id: i.contentId,
971
972
  "aria-labelledby": i.triggerId,
972
973
  ...a,
973
974
  ...r,
974
975
  ref: t,
975
- onCloseAutoFocus: N(e.onCloseAutoFocus, (e) => {
976
+ onCloseAutoFocus: w(e.onCloseAutoFocus, (e) => {
976
977
  o.current || i.triggerRef.current?.focus(), o.current = !1, e.preventDefault();
977
978
  }),
978
- onInteractOutside: N(e.onInteractOutside, (e) => {
979
+ onInteractOutside: w(e.onInteractOutside, (e) => {
979
980
  let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
980
981
  (!i.modal || r) && (o.current = !0);
981
982
  }),
@@ -990,99 +991,99 @@ var An = "DropdownMenuContent", jn = K.forwardRef((e, t) => {
990
991
  });
991
992
  });
992
993
  jn.displayName = An;
993
- var Mn = "DropdownMenuGroup", Nn = K.forwardRef((e, t) => {
994
+ var Mn = "DropdownMenuGroup", Nn = G.forwardRef((e, t) => {
994
995
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
995
- return /* @__PURE__ */ (0, q.jsx)(ln, {
996
+ return /* @__PURE__ */ (0, K.jsx)(ln, {
996
997
  ...i,
997
998
  ...r,
998
999
  ref: t
999
1000
  });
1000
1001
  });
1001
1002
  Nn.displayName = Mn;
1002
- var Pn = "DropdownMenuLabel", Fn = K.forwardRef((e, t) => {
1003
+ var Pn = "DropdownMenuLabel", Fn = G.forwardRef((e, t) => {
1003
1004
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1004
- return /* @__PURE__ */ (0, q.jsx)(un, {
1005
+ return /* @__PURE__ */ (0, K.jsx)(un, {
1005
1006
  ...i,
1006
1007
  ...r,
1007
1008
  ref: t
1008
1009
  });
1009
1010
  });
1010
1011
  Fn.displayName = Pn;
1011
- var In = "DropdownMenuItem", Ln = K.forwardRef((e, t) => {
1012
+ var In = "DropdownMenuItem", Ln = G.forwardRef((e, t) => {
1012
1013
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1013
- return /* @__PURE__ */ (0, q.jsx)(dn, {
1014
+ return /* @__PURE__ */ (0, K.jsx)(dn, {
1014
1015
  ...i,
1015
1016
  ...r,
1016
1017
  ref: t
1017
1018
  });
1018
1019
  });
1019
1020
  Ln.displayName = In;
1020
- var Rn = "DropdownMenuCheckboxItem", zn = K.forwardRef((e, t) => {
1021
+ var Rn = "DropdownMenuCheckboxItem", zn = G.forwardRef((e, t) => {
1021
1022
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1022
- return /* @__PURE__ */ (0, q.jsx)(fn, {
1023
+ return /* @__PURE__ */ (0, K.jsx)(fn, {
1023
1024
  ...i,
1024
1025
  ...r,
1025
1026
  ref: t
1026
1027
  });
1027
1028
  });
1028
1029
  zn.displayName = Rn;
1029
- var Bn = "DropdownMenuRadioGroup", Vn = K.forwardRef((e, t) => {
1030
+ var Bn = "DropdownMenuRadioGroup", Vn = G.forwardRef((e, t) => {
1030
1031
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1031
- return /* @__PURE__ */ (0, q.jsx)(pn, {
1032
+ return /* @__PURE__ */ (0, K.jsx)(pn, {
1032
1033
  ...i,
1033
1034
  ...r,
1034
1035
  ref: t
1035
1036
  });
1036
1037
  });
1037
1038
  Vn.displayName = Bn;
1038
- var Hn = "DropdownMenuRadioItem", Un = K.forwardRef((e, t) => {
1039
+ var Hn = "DropdownMenuRadioItem", Un = G.forwardRef((e, t) => {
1039
1040
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1040
- return /* @__PURE__ */ (0, q.jsx)(mn, {
1041
+ return /* @__PURE__ */ (0, K.jsx)(mn, {
1041
1042
  ...i,
1042
1043
  ...r,
1043
1044
  ref: t
1044
1045
  });
1045
1046
  });
1046
1047
  Un.displayName = Hn;
1047
- var Wn = "DropdownMenuItemIndicator", Gn = K.forwardRef((e, t) => {
1048
+ var Wn = "DropdownMenuItemIndicator", Gn = G.forwardRef((e, t) => {
1048
1049
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1049
- return /* @__PURE__ */ (0, q.jsx)(hn, {
1050
+ return /* @__PURE__ */ (0, K.jsx)(hn, {
1050
1051
  ...i,
1051
1052
  ...r,
1052
1053
  ref: t
1053
1054
  });
1054
1055
  });
1055
1056
  Gn.displayName = Wn;
1056
- var Kn = "DropdownMenuSeparator", qn = K.forwardRef((e, t) => {
1057
+ var Kn = "DropdownMenuSeparator", qn = G.forwardRef((e, t) => {
1057
1058
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1058
- return /* @__PURE__ */ (0, q.jsx)(gn, {
1059
+ return /* @__PURE__ */ (0, K.jsx)(gn, {
1059
1060
  ...i,
1060
1061
  ...r,
1061
1062
  ref: t
1062
1063
  });
1063
1064
  });
1064
1065
  qn.displayName = Kn;
1065
- var Jn = "DropdownMenuArrow", Yn = K.forwardRef((e, t) => {
1066
+ var Jn = "DropdownMenuArrow", Yn = G.forwardRef((e, t) => {
1066
1067
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1067
- return /* @__PURE__ */ (0, q.jsx)(_n, {
1068
+ return /* @__PURE__ */ (0, K.jsx)(_n, {
1068
1069
  ...i,
1069
1070
  ...r,
1070
1071
  ref: t
1071
1072
  });
1072
1073
  });
1073
1074
  Yn.displayName = Jn;
1074
- var Xn = "DropdownMenuSubTrigger", Zn = K.forwardRef((e, t) => {
1075
+ var Xn = "DropdownMenuSubTrigger", Zn = G.forwardRef((e, t) => {
1075
1076
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1076
- return /* @__PURE__ */ (0, q.jsx)(vn, {
1077
+ return /* @__PURE__ */ (0, K.jsx)(vn, {
1077
1078
  ...i,
1078
1079
  ...r,
1079
1080
  ref: t
1080
1081
  });
1081
1082
  });
1082
1083
  Zn.displayName = Xn;
1083
- var Qn = "DropdownMenuSubContent", $n = K.forwardRef((e, t) => {
1084
+ var Qn = "DropdownMenuSubContent", $n = G.forwardRef((e, t) => {
1084
1085
  let { __scopeDropdownMenu: n, ...r } = e, i = $(n);
1085
- return /* @__PURE__ */ (0, q.jsx)(yn, {
1086
+ return /* @__PURE__ */ (0, K.jsx)(yn, {
1086
1087
  ...i,
1087
1088
  ...r,
1088
1089
  ref: t,
@@ -1101,7 +1102,7 @@ var er = Tn, tr = Dn, nr = jn, rr = Ln;
1101
1102
  //#endregion
1102
1103
  //#region ../node_modules/@heroicons/react/24/outline/esm/BarsArrowDownIcon.js
1103
1104
  function ir({ title: e, titleId: t, ...n }, r) {
1104
- return /*#__PURE__*/ K.createElement("svg", Object.assign({
1105
+ return /*#__PURE__*/ G.createElement("svg", Object.assign({
1105
1106
  xmlns: "http://www.w3.org/2000/svg",
1106
1107
  fill: "none",
1107
1108
  viewBox: "0 0 24 24",
@@ -1111,39 +1112,39 @@ function ir({ title: e, titleId: t, ...n }, r) {
1111
1112
  "data-slot": "icon",
1112
1113
  ref: r,
1113
1114
  "aria-labelledby": t
1114
- }, n), e ? /*#__PURE__*/ K.createElement("title", { id: t }, e) : null, /*#__PURE__*/ K.createElement("path", {
1115
+ }, n), e ? /*#__PURE__*/ G.createElement("title", { id: t }, e) : null, /*#__PURE__*/ G.createElement("path", {
1115
1116
  strokeLinecap: "round",
1116
1117
  strokeLinejoin: "round",
1117
1118
  d: "M3 4.5h14.25M3 9h9.75M3 13.5h9.75m4.5-4.5v12m0 0-3.75-3.75M17.25 21 21 17.25"
1118
1119
  }));
1119
1120
  }
1120
- var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortByDistanceLabel: t, accessibilityLabel: n, on: r = () => {} }) => {
1121
- let i = ce();
1121
+ var ar = /*#__PURE__*/ G.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortByDistanceLabel: t, accessibilityLabel: n, on: r = () => {} }) => {
1122
+ let i = le();
1122
1123
  if (!i) throw Error("SortDropdown must be used within a SearchRankingProvider");
1123
1124
  let { sortMode: a, setSortMode: o, requestLocation: s, locationDenied: c } = i;
1124
- return /* @__PURE__ */ (0, q.jsxs)(er, {
1125
+ return /* @__PURE__ */ (0, K.jsxs)(er, {
1125
1126
  onOpenChange: (e) => e && r("openSortMenu"),
1126
- children: [/* @__PURE__ */ (0, q.jsx)(tr, {
1127
+ children: [/* @__PURE__ */ (0, K.jsx)(tr, {
1127
1128
  asChild: !0,
1128
- children: /* @__PURE__ */ (0, q.jsx)("button", {
1129
+ children: /* @__PURE__ */ (0, K.jsx)("button", {
1129
1130
  type: "button",
1130
1131
  className: "sid-sort-dropdown__trigger",
1131
1132
  "aria-label": n,
1132
- children: /* @__PURE__ */ (0, q.jsx)(ar, { className: "sid-sort-dropdown__icon" })
1133
+ children: /* @__PURE__ */ (0, K.jsx)(ar, { className: "sid-sort-dropdown__icon" })
1133
1134
  })
1134
- }), /* @__PURE__ */ (0, q.jsxs)(nr, {
1135
+ }), /* @__PURE__ */ (0, K.jsxs)(nr, {
1135
1136
  className: "sid-sort-dropdown__content",
1136
1137
  sideOffset: 0,
1137
1138
  collisionPadding: 10,
1138
1139
  align: "end",
1139
- children: [/* @__PURE__ */ (0, q.jsx)(rr, {
1140
+ children: [/* @__PURE__ */ (0, K.jsx)(rr, {
1140
1141
  className: "sid-sort-dropdown__item",
1141
1142
  onSelect: () => {
1142
1143
  o("relevance"), r("sortRelevance");
1143
1144
  },
1144
1145
  "data-active": a === "relevance" ? "" : void 0,
1145
1146
  children: e
1146
- }), /* @__PURE__ */ (0, q.jsx)(rr, {
1147
+ }), /* @__PURE__ */ (0, K.jsx)(rr, {
1147
1148
  className: "sid-sort-dropdown__item",
1148
1149
  onSelect: async () => {
1149
1150
  if (!c) try {
@@ -1177,8 +1178,8 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1177
1178
  }
1178
1179
  n.debounce = n, t.exports = n;
1179
1180
  })))(), cr = 42, lr = 26, ur = ({ getItemProps: e, highlightedIndex: t, organizations: n, itemToString: r, children: i, maxItemsToDisplay: a = lr }) => {
1180
- let o = K.Children.count(i), s = (n.length + o) * cr, c = {}, l = L("org-search-overlay") === "overlay", u = ce(), f = d(), p = (0, K.useMemo)(() => _e(f), [f]), m = (e) => !u?.userLocation || e.latitude == null || e.longitude == null ? null : ve(he(u.userLocation.latitude, u.userLocation.longitude, e.latitude, e.longitude), p);
1181
- (0, K.useEffect)(() => {
1181
+ let o = G.Children.count(i), s = (n.length + o) * cr, c = {}, l = v("org-search-overlay") === "overlay", u = le(), f = d(), p = (0, G.useMemo)(() => ve(f), [f]), m = (e) => !u?.userLocation || e.latitude == null || e.longitude == null ? null : ye(ge(u.userLocation.latitude, u.userLocation.longitude, e.latitude, e.longitude), p);
1182
+ (0, G.useEffect)(() => {
1182
1183
  let e = document.getElementsByClassName("sid-organization-list__item--highlighted").item(0);
1183
1184
  e && ("scrollIntoViewIfNeeded" in e && typeof e.scrollIntoViewIfNeeded == "function" ? e.scrollIntoViewIfNeeded(!0) : e.scrollIntoView({
1184
1185
  behavior: "instant",
@@ -1187,7 +1188,7 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1187
1188
  }, [t]);
1188
1189
  let h = (n, i) => {
1189
1190
  let a = [n.city, n.state].filter(Boolean).join(", "), o = m(n);
1190
- return /* @__PURE__ */ (0, q.jsxs)("div", {
1191
+ return /* @__PURE__ */ (0, K.jsxs)("div", {
1191
1192
  className: `sid-organization-list__item ${t === i ? "sid-organization-list__item--highlighted" : ""}`,
1192
1193
  role: "option",
1193
1194
  "aria-selected": t === i,
@@ -1197,15 +1198,15 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1197
1198
  }),
1198
1199
  ref: c[t],
1199
1200
  children: [
1200
- /* @__PURE__ */ (0, q.jsx)("span", {
1201
+ /* @__PURE__ */ (0, K.jsx)("span", {
1201
1202
  className: "sid-organization-list__name",
1202
1203
  children: r(n)
1203
1204
  }),
1204
- l && a && /* @__PURE__ */ (0, q.jsx)("span", {
1205
+ l && a && /* @__PURE__ */ (0, K.jsx)("span", {
1205
1206
  className: "sid-organization-list__location",
1206
1207
  children: a
1207
1208
  }),
1208
- o && /* @__PURE__ */ (0, q.jsx)("span", {
1209
+ o && /* @__PURE__ */ (0, K.jsx)("span", {
1209
1210
  className: "sid-organization-list__distance",
1210
1211
  "data-testid": "org-distance",
1211
1212
  children: o
@@ -1213,54 +1214,54 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1213
1214
  ]
1214
1215
  }, i);
1215
1216
  };
1216
- return /* @__PURE__ */ (0, q.jsx)("div", {
1217
+ return /* @__PURE__ */ (0, K.jsx)("div", {
1217
1218
  id: "sid-org-list-menu",
1218
1219
  className: "sid-organization-list__menu",
1219
1220
  tabIndex: -1,
1220
1221
  role: "listbox",
1221
- children: /* @__PURE__ */ (0, q.jsxs)("div", {
1222
+ children: /* @__PURE__ */ (0, K.jsxs)("div", {
1222
1223
  style: { height: Math.min(s, 280) },
1223
1224
  children: [n.filter((e, t) => t <= a - 1).map((e, t) => h(e, t)), i]
1224
1225
  })
1225
1226
  });
1226
- }, dr = ({ className: e }) => /* @__PURE__ */ (0, q.jsx)("svg", {
1227
+ }, dr = ({ className: e }) => /* @__PURE__ */ (0, K.jsx)("svg", {
1227
1228
  xmlns: "http://www.w3.org/2000/svg",
1228
1229
  fill: "none",
1229
1230
  viewBox: "0 0 24 24",
1230
1231
  strokeWidth: 1.5,
1231
1232
  stroke: "currentColor",
1232
1233
  className: e,
1233
- children: /* @__PURE__ */ (0, q.jsx)("path", {
1234
+ children: /* @__PURE__ */ (0, K.jsx)("path", {
1234
1235
  strokeLinecap: "round",
1235
1236
  strokeLinejoin: "round",
1236
1237
  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"
1237
1238
  })
1238
1239
  }), fr = ({ urlAddSchoolForm: e, programId: n, locale: r = t, onClick: o = () => void 0, onTipsShown: s }) => {
1239
- let [c, l] = K.useState(!1), { trackEvent: u } = re({ programId: n });
1240
- return c ? /* @__PURE__ */ (0, q.jsxs)("div", {
1240
+ let [c, l] = G.useState(!1), { trackEvent: u } = ie({ programId: n });
1241
+ return c ? /* @__PURE__ */ (0, K.jsxs)("div", {
1241
1242
  className: "sid-organization-list__add-school-tips",
1242
- children: [/* @__PURE__ */ (0, q.jsxs)("div", {
1243
+ children: [/* @__PURE__ */ (0, K.jsxs)("div", {
1243
1244
  className: "sid-organization-list__tips",
1244
- children: [/* @__PURE__ */ (0, q.jsx)("div", { children: /* @__PURE__ */ (0, q.jsx)(dr, { className: "sid-organization-list__tips-icon" }) }), /* @__PURE__ */ (0, q.jsxs)("div", {
1245
+ children: [/* @__PURE__ */ (0, K.jsx)("div", { children: /* @__PURE__ */ (0, K.jsx)(dr, { className: "sid-organization-list__tips-icon" }) }), /* @__PURE__ */ (0, K.jsxs)("div", {
1245
1246
  className: "sid-organization-list__tips-text",
1246
- children: [/* @__PURE__ */ (0, q.jsx)(m, {
1247
+ children: [/* @__PURE__ */ (0, K.jsx)(m, {
1247
1248
  id: "multipleLocationsTips",
1248
1249
  defaultMessage: "If your academic institution has multiple locations and you didn't see yours, enter the main location."
1249
- }), /* @__PURE__ */ (0, q.jsx)(m, {
1250
+ }), /* @__PURE__ */ (0, K.jsx)(m, {
1250
1251
  id: "tryFullNameTips",
1251
1252
  defaultMessage: "Try typing the full name of the academic institution rather than using acronyms or abbreviations."
1252
1253
  })]
1253
1254
  })]
1254
- }), /* @__PURE__ */ (0, q.jsx)(g, {
1255
+ }), /* @__PURE__ */ (0, K.jsx)(g, {
1255
1256
  onClick: o,
1256
1257
  className: "sid-organization-list__item sid-organization-list__request-school sid-link",
1257
1258
  href: `${e}?pid=${n}&locale=${r}`,
1258
- children: /* @__PURE__ */ (0, q.jsx)(m, {
1259
+ children: /* @__PURE__ */ (0, K.jsx)(m, {
1259
1260
  id: "requestSchool",
1260
1261
  defaultMessage: "Don't see your school? Request to have it added"
1261
1262
  })
1262
1263
  })]
1263
- }) : /* @__PURE__ */ (0, q.jsx)(g, {
1264
+ }) : /* @__PURE__ */ (0, K.jsx)(g, {
1264
1265
  onClick: () => {
1265
1266
  a({
1266
1267
  eventName: i.ASR_TIPS_SHOWN,
@@ -1268,15 +1269,15 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1268
1269
  programId: n,
1269
1270
  locale: r
1270
1271
  }
1271
- }), u(G.AsrTipsShown), s?.(), l(!0);
1272
+ }), u(W.AsrTipsShown), s?.(), l(!0);
1272
1273
  },
1273
1274
  className: "sid-organization-list__item sid-organization-list__request-school sid-link",
1274
- children: /* @__PURE__ */ (0, q.jsx)(m, {
1275
+ children: /* @__PURE__ */ (0, K.jsx)(m, {
1275
1276
  id: "cantFindYourSchool",
1276
1277
  defaultMessage: "Can't find your school? Click to show tips"
1277
1278
  })
1278
1279
  });
1279
- }, pr = (e) => o("name", e) || "", mr = (e) => e && e.find((e) => e.source === "PLACE") ? /* @__PURE__ */ (0, q.jsx)("img", {
1280
+ }, pr = (e) => o("name", e) || "", mr = (e) => e && e.find((e) => e.source === "PLACE") ? /* @__PURE__ */ (0, K.jsx)("img", {
1280
1281
  className: "sid-organization-list__attribution-logo",
1281
1282
  src: "https://developers.google.com/static/maps/documentation/images/google_on_white.png",
1282
1283
  alt: "Google"
@@ -1292,7 +1293,7 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1292
1293
  e.error(t);
1293
1294
  }
1294
1295
  }, gr = ({ getItemProps: t, getMenuProps: n, highlightedIndex: r, itemToString: o, minimumSearchValueLength: s, onLoaded: c, programId: l, orgSearchUrl: u, locale: d, urlAddSchoolForm: f, openOrgSearchEnabled: p, onClickAddSchool: h, onTipsShown: g, searchUrlParams: v, searchValue: y }) => {
1295
- let [b, x] = (0, K.useState)(!1), [S, C] = (0, K.useState)(null), [w, T] = (0, K.useState)(null), E = (0, K.useRef)(!1), D = (0, K.useRef)(null), O = ce(), k = (0, K.useRef)({
1296
+ let [b, x] = (0, G.useState)(!1), [S, C] = (0, G.useState)(null), [w, T] = (0, G.useState)(null), E = (0, G.useRef)(!1), D = (0, G.useRef)(null), O = le(), k = (0, G.useRef)({
1296
1297
  orgSearchUrl: u,
1297
1298
  searchValue: y,
1298
1299
  searchUrlParams: v,
@@ -1304,9 +1305,9 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1304
1305
  searchUrlParams: v,
1305
1306
  onLoaded: c
1306
1307
  };
1307
- let A = (0, K.useRef)(O);
1308
+ let A = (0, G.useRef)(O);
1308
1309
  A.current = O;
1309
- let j = y || pr(u) || "", M = (0, K.useCallback)(async () => {
1310
+ let j = y || pr(u) || "", M = (0, G.useCallback)(async () => {
1310
1311
  if (!E.current) return;
1311
1312
  let { orgSearchUrl: t, searchValue: n, searchUrlParams: r, onLoaded: o } = k.current, s = r, c = A.current;
1312
1313
  c && c.sortMode === "distance" && c.userLocation && (s = {
@@ -1331,61 +1332,61 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1331
1332
  e.error(t);
1332
1333
  }
1333
1334
  }
1334
- }, []), N = (0, K.useRef)(null);
1335
- N.current ||= (0, sr.debounce)(M, 200), (0, K.useEffect)(() => (E.current = !0, () => {
1335
+ }, []), N = (0, G.useRef)(null);
1336
+ N.current ||= (0, sr.debounce)(M, 200), (0, G.useEffect)(() => (E.current = !0, () => {
1336
1337
  E.current = !1, N.current && N.current.clear();
1337
- }), []), (0, K.useEffect)(() => {
1338
+ }), []), (0, G.useEffect)(() => {
1338
1339
  let t = D.current;
1339
1340
  t !== j && (j.length >= s ? (T(null), x(!0), C(null), N.current && N.current()) : (T(null), x(!1), C(null), t === null ? j.length > 0 && e.info(`No organizations fetched. Search searchTerm "${j}" is less than ${s} characters.`) : e.info(`No organizations fetched. Search searchTterm "${j}" is less than ${s} characters.`))), D.current = j;
1340
1341
  }, [j, s]);
1341
- let P = O?.sortMode, I = O?.userLocation?.latitude, L = O?.userLocation?.longitude;
1342
- (0, K.useEffect)(() => {
1342
+ let ee = O?.sortMode, P = O?.userLocation?.latitude, F = O?.userLocation?.longitude;
1343
+ (0, G.useEffect)(() => {
1343
1344
  j.length >= s && (T(null), x(!0), C(null), N.current?.());
1344
1345
  }, [
1346
+ ee,
1345
1347
  P,
1346
- I,
1347
- L,
1348
+ F,
1348
1349
  j,
1349
1350
  s
1350
1351
  ]);
1351
- let R = mr(S);
1352
- return b ? /* @__PURE__ */ (0, q.jsx)("div", {
1352
+ let I = mr(S);
1353
+ return b ? /* @__PURE__ */ (0, K.jsx)("div", {
1353
1354
  className: "sid-organization-list__menu",
1354
- children: /* @__PURE__ */ (0, q.jsx)("div", {
1355
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
1355
1356
  className: "sid-organization-list__message sid-organization-list__spinner-container",
1356
- children: /* @__PURE__ */ (0, q.jsx)("div", {
1357
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
1357
1358
  id: "sid-spinner-container",
1358
- children: /* @__PURE__ */ (0, q.jsx)(F, {})
1359
+ children: /* @__PURE__ */ (0, K.jsx)(L, {})
1359
1360
  })
1360
1361
  })
1361
- }) : w ? /* @__PURE__ */ (0, q.jsx)("div", {
1362
+ }) : w ? /* @__PURE__ */ (0, K.jsx)("div", {
1362
1363
  className: "sid-organization-list__menu",
1363
- children: /* @__PURE__ */ (0, q.jsx)("div", {
1364
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
1364
1365
  className: "sid-organization-list__message",
1365
- children: /* @__PURE__ */ (0, q.jsx)(m, {
1366
+ children: /* @__PURE__ */ (0, K.jsx)(m, {
1366
1367
  id: "errorId.unknownError",
1367
1368
  defaultMessage: "An unknown error occurred"
1368
1369
  })
1369
1370
  })
1370
- }) : S && S.length > 0 ? /* @__PURE__ */ (0, q.jsxs)(q.Fragment, { children: [R && /* @__PURE__ */ (0, q.jsx)("div", {
1371
+ }) : S && S.length > 0 ? /* @__PURE__ */ (0, K.jsxs)(K.Fragment, { children: [I && /* @__PURE__ */ (0, K.jsx)("div", {
1371
1372
  className: "sid-organization-list__attribution",
1372
- children: R
1373
- }), /* @__PURE__ */ (0, q.jsx)(ur, {
1373
+ children: I
1374
+ }), /* @__PURE__ */ (0, K.jsx)(ur, {
1374
1375
  getItemProps: t,
1375
1376
  getMenuProps: n,
1376
1377
  highlightedIndex: r,
1377
1378
  itemToString: o,
1378
1379
  organizations: S,
1379
- children: j && !p && f && (!S || S.length < 26) && /* @__PURE__ */ (0, q.jsx)(fr, {
1380
+ children: j && !p && f && (!S || S.length < 26) && /* @__PURE__ */ (0, K.jsx)(fr, {
1380
1381
  onClick: h,
1381
1382
  onTipsShown: g,
1382
1383
  urlAddSchoolForm: f,
1383
1384
  programId: l,
1384
1385
  locale: d
1385
1386
  })
1386
- })] }) : j && !p && f && (!S || S.length === 0) ? /* @__PURE__ */ (0, q.jsx)("div", {
1387
+ })] }) : j && !p && f && (!S || S.length === 0) ? /* @__PURE__ */ (0, K.jsx)("div", {
1387
1388
  className: "sid-organization-list__menu",
1388
- children: /* @__PURE__ */ (0, q.jsx)(fr, {
1389
+ children: /* @__PURE__ */ (0, K.jsx)(fr, {
1389
1390
  onClick: h,
1390
1391
  onTipsShown: g,
1391
1392
  urlAddSchoolForm: f,
@@ -1394,14 +1395,14 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1394
1395
  })
1395
1396
  }) : null;
1396
1397
  }, _r = (e, t, n) => {
1397
- if (e.type === W.stateChangeTypes.FunctionSelectItem) {
1398
+ if (e.type === U.stateChangeTypes.FunctionSelectItem) {
1398
1399
  let { selectedItem: n } = e;
1399
1400
  t(n);
1400
- } else e.type === W.stateChangeTypes.InputBlur && !n.openOrgSearchEnabled && !n._searchOverlayEnabled && t({
1401
+ } else e.type === U.stateChangeTypes.InputBlur && !n.openOrgSearchEnabled && !n._searchOverlayEnabled && t({
1401
1402
  id: void 0,
1402
1403
  name: ""
1403
1404
  });
1404
- }, vr = ({ id: e, onMouseDown: t, disabled: n, onKeyDown: r, handleOnBlur: i }) => /* @__PURE__ */ (0, q.jsx)("button", {
1405
+ }, vr = ({ id: e, onMouseDown: t, disabled: n, onKeyDown: r, handleOnBlur: i }) => /* @__PURE__ */ (0, K.jsx)("button", {
1405
1406
  id: e,
1406
1407
  type: "button",
1407
1408
  onMouseDown: t,
@@ -1411,251 +1412,251 @@ var ar = /*#__PURE__*/ K.forwardRef(ir), or = ({ sortByRelevanceLabel: e, sortBy
1411
1412
  "aria-label": "clear text",
1412
1413
  "aria-disabled": n,
1413
1414
  tabIndex: 0,
1414
- children: /* @__PURE__ */ (0, q.jsx)("svg", {
1415
+ children: /* @__PURE__ */ (0, K.jsx)("svg", {
1415
1416
  viewBox: "0 0 24 24",
1416
1417
  preserveAspectRatio: "none",
1417
1418
  width: 28,
1418
1419
  fill: "none",
1419
1420
  stroke: n ? "#B6B6B6" : "#8E95A4",
1420
1421
  strokeWidth: "1.1",
1421
- children: /* @__PURE__ */ (0, q.jsx)("path", {
1422
+ children: /* @__PURE__ */ (0, K.jsx)("path", {
1422
1423
  strokeLinecap: "round",
1423
1424
  strokeLinejoin: "round",
1424
1425
  d: "M6 18L18 6M6 6l12 12"
1425
1426
  })
1426
1427
  })
1427
- }), yr = f(({ onChange: t, programId: n, className: r, countryCode: o, disabled: s, minimumSearchValueLength: c, placeholder: d, value: f, inputHtmlId: p, openOrgSearchEnabled: m, orgSearchUrl: h, isRequired: g, locale: _, urlAddSchoolForm: y, isErrored: b, ariaDescribedBy: x, autoFocus: S = !1, onBlur: C = () => {}, intl: w }) => {
1428
- let [T, E] = (0, K.useState)(f ? f.name : ""), [D, O] = (0, K.useState)([]), k = (0, K.useRef)(0), A = (0, K.useRef)(0), j = (0, K.useRef)(!1), M = (0, K.useRef)(!1), [N, P] = (0, K.useState)(!1), [F, I] = (0, K.useState)(!1), { recordNumericMetric: R, trackEvent: z } = re({ programId: n }), B = L("org-search-overlay") === "overlay", { showOverlay: V, setShowOverlay: H } = oe();
1428
+ }), yr = f(({ onChange: t, programId: n, className: r, countryCode: o, disabled: s, minimumSearchValueLength: c, placeholder: d, value: f, inputHtmlId: p, openOrgSearchEnabled: m, orgSearchUrl: h, isRequired: g, locale: _, urlAddSchoolForm: b, isErrored: x, ariaDescribedBy: S, autoFocus: C = !1, onBlur: w = () => {}, intl: T }) => {
1429
+ let [E, D] = (0, G.useState)(f ? f.name : ""), [O, k] = (0, G.useState)([]), A = (0, G.useRef)(0), j = (0, G.useRef)(0), M = (0, G.useRef)(!1), N = (0, G.useRef)(!1), [ee, P] = (0, G.useState)(!1), [F, I] = (0, G.useState)(!1), { recordNumericMetric: L, trackEvent: R } = ie({ programId: n }), z = v("org-search-overlay") === "overlay", { showOverlay: B, setShowOverlay: V } = se();
1429
1430
  l(t);
1430
- let U = (e) => e ? e.name : "", { isOpen: ee, highlightedIndex: te, getMenuProps: ne, getItemProps: ie, getInputProps: ae } = W({
1431
- itemToString: U,
1431
+ let H = (e) => e ? e.name : "", { isOpen: te, highlightedIndex: ne, getMenuProps: re, getItemProps: ae, getInputProps: oe } = U({
1432
+ itemToString: H,
1432
1433
  id: p,
1433
- items: D,
1434
- inputValue: T,
1434
+ items: O,
1435
+ inputValue: E,
1435
1436
  onStateChange: (e) => _r(e, t, {
1436
1437
  openOrgSearchEnabled: m,
1437
- _searchOverlayEnabled: V
1438
+ _searchOverlayEnabled: B
1438
1439
  }),
1439
1440
  selectedItem: f,
1440
1441
  onSelectedItemChange: ({ selectedItem: n }) => {
1441
1442
  if (!n) {
1442
- E(""), H(!1), t({
1443
+ D(""), V(!1), t({
1443
1444
  id: 0,
1444
1445
  name: ""
1445
1446
  });
1446
1447
  return;
1447
1448
  }
1448
- E(U(n));
1449
- let r = D.findIndex((e) => e.id === n.id) + 1, o = Date.now() - A.current;
1449
+ D(H(n));
1450
+ let r = O.findIndex((e) => e.id === n.id) + 1, o = Date.now() - j.current;
1450
1451
  try {
1451
1452
  a({
1452
1453
  eventName: i.ORG_SELECTED,
1453
1454
  params: {
1454
- [u.QUERY_LENGTH]: T.length,
1455
- [u.NUMBER_REWORKS]: k.current,
1455
+ [u.QUERY_LENGTH]: E.length,
1456
+ [u.NUMBER_REWORKS]: A.current,
1456
1457
  [u.SELECTED_RESULT_RANK]: r,
1457
1458
  [u.EVENT_DURATION]: o,
1458
- [u.NUMBER_OF_RESULTS]: D.length
1459
+ [u.NUMBER_OF_RESULTS]: O.length
1459
1460
  }
1460
1461
  });
1461
1462
  } catch (t) {
1462
1463
  e.error(t);
1463
1464
  }
1464
1465
  try {
1465
- R(G.OrgSearchNumReworks, k.current), R(G.OrgSearchQueryLength, T.length), R(G.OrgSearchResultRank, r), R(G.OrgSearchTimeUntilSelection, o);
1466
+ L(W.OrgSearchNumReworks, A.current), L(W.OrgSearchQueryLength, E.length), L(W.OrgSearchResultRank, r), L(W.OrgSearchTimeUntilSelection, o);
1466
1467
  } catch (t) {
1467
1468
  e.error(t);
1468
1469
  }
1469
- A.current = 0, k.current = 0, H(!1), t(n);
1470
+ j.current = 0, A.current = 0, V(!1), t(n);
1470
1471
  }
1471
- }), se = () => {
1472
+ }), ce = () => {
1472
1473
  try {
1473
1474
  a({
1474
1475
  eventName: i.ASR_SELECTED,
1475
1476
  params: {
1476
- [u.QUERY_LENGTH]: T.length,
1477
- [u.NUMBER_REWORKS]: k.current,
1478
- [u.EVENT_DURATION]: Date.now() - A.current,
1479
- [u.NUMBER_OF_RESULTS]: D.length
1477
+ [u.QUERY_LENGTH]: E.length,
1478
+ [u.NUMBER_REWORKS]: A.current,
1479
+ [u.EVENT_DURATION]: Date.now() - j.current,
1480
+ [u.NUMBER_OF_RESULTS]: O.length
1480
1481
  }
1481
- }), z(G.AsrClickThrough);
1482
+ }), R(W.AsrClickThrough);
1482
1483
  } catch (t) {
1483
1484
  e.error(t);
1484
1485
  }
1485
- }, ce = () => {
1486
- j.current = !0;
1487
- }, le = (r) => {
1486
+ }, le = () => {
1487
+ M.current = !0;
1488
+ }, ue = (r) => {
1488
1489
  let o = r.target.value;
1489
1490
  I(!o);
1490
1491
  try {
1491
- A.current === 0 && (A.current = Date.now()), o.length < T.length && (k.current += 1), j.current && !M.current && o && (M.current = !0, a({
1492
+ j.current === 0 && (j.current = Date.now()), o.length < E.length && (A.current += 1), M.current && !N.current && o && (N.current = !0, a({
1492
1493
  eventName: i.ASR_SEARCH_AFTER_TIPS,
1493
1494
  params: { programId: n }
1494
- }), z(G.AsrSearchAfterTips));
1495
+ }), R(W.AsrSearchAfterTips));
1495
1496
  } catch (t) {
1496
1497
  e.error(t);
1497
1498
  }
1498
- E(o), t({
1499
+ D(o), t({
1499
1500
  id: 0,
1500
1501
  name: o
1501
1502
  });
1502
- }, ue = (0, K.useRef)(null);
1503
- (0, K.useEffect)(() => {
1504
- v("organization", ue.current);
1503
+ }, de = (0, G.useRef)(null);
1504
+ (0, G.useEffect)(() => {
1505
+ y("organization", de.current);
1505
1506
  });
1506
- let de = (e) => {
1507
- P(!0), e.currentTarget.value ? (I(!1), H(!0)) : I(!0);
1508
- }, fe = (e) => {
1509
- e.relatedTarget?.id !== `${p}-clear-button` && (P(!1), C());
1507
+ let fe = (e) => {
1508
+ P(!0), e.currentTarget.value ? (I(!1), V(!0)) : I(!0);
1510
1509
  }, pe = (e) => {
1511
- (e.type === "mousedown" || "key" in e && e.key === "Enter") && (E(""), t({
1510
+ e.relatedTarget?.id !== `${p}-clear-button` && (P(!1), w());
1511
+ }, me = (e) => {
1512
+ (e.type === "mousedown" || "key" in e && e.key === "Enter") && (D(""), t({
1512
1513
  id: void 0,
1513
1514
  name: ""
1514
- }), ue.current.focus());
1515
+ }), de.current.focus());
1515
1516
  };
1516
- return /* @__PURE__ */ (0, q.jsxs)("div", {
1517
+ return /* @__PURE__ */ (0, K.jsxs)("div", {
1517
1518
  className: "sid-organization-list",
1518
1519
  children: [
1519
- /* @__PURE__ */ (0, q.jsxs)("div", {
1520
+ /* @__PURE__ */ (0, K.jsxs)("div", {
1520
1521
  className: "sid-text-input__wrapper",
1521
- children: [/* @__PURE__ */ (0, q.jsx)("input", {
1522
- ...ae({
1523
- ref: ue,
1524
- onChange: le,
1525
- onFocus: (e) => de(e),
1526
- onBlur: (e) => fe(e),
1522
+ children: [/* @__PURE__ */ (0, K.jsx)("input", {
1523
+ ...oe({
1524
+ ref: de,
1525
+ onChange: ue,
1526
+ onFocus: (e) => fe(e),
1527
+ onBlur: (e) => pe(e),
1527
1528
  onKeyDown: (e) => {
1528
- e.key !== "Tab" && e.key !== "Escape" && H(!0);
1529
+ e.key !== "Tab" && e.key !== "Escape" && V(!0);
1529
1530
  }
1530
1531
  }),
1531
1532
  className: `sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,
1532
1533
  disabled: s,
1533
1534
  id: p,
1534
- autoFocus: S,
1535
+ autoFocus: C,
1535
1536
  placeholder: d,
1536
1537
  "aria-required": g,
1537
1538
  "aria-controls": "sid-org-list-menu",
1538
- "aria-describedby": x,
1539
- "aria-invalid": b,
1539
+ "aria-describedby": S,
1540
+ "aria-invalid": x,
1540
1541
  "aria-labelledby": `${p}-label`
1541
- }), V && /* @__PURE__ */ (0, q.jsx)(or, {
1542
- sortByRelevanceLabel: w.formatMessage({
1542
+ }), B && /* @__PURE__ */ (0, K.jsx)(or, {
1543
+ sortByRelevanceLabel: T.formatMessage({
1543
1544
  id: "orgSearchSortByRelevance",
1544
1545
  defaultMessage: "Sort by Relevance"
1545
1546
  }),
1546
- sortByDistanceLabel: w.formatMessage({
1547
+ sortByDistanceLabel: T.formatMessage({
1547
1548
  id: "orgSearchSortByDistance",
1548
1549
  defaultMessage: "Sort by Distance"
1549
1550
  }),
1550
- accessibilityLabel: w.formatMessage({
1551
+ accessibilityLabel: T.formatMessage({
1551
1552
  id: "orgSearchSortAccessibilityLabel",
1552
1553
  defaultMessage: "Sort search results"
1553
1554
  }),
1554
1555
  on: (e) => {
1555
1556
  switch (e) {
1556
1557
  case "openSortMenu":
1557
- z(G.OrgSearchOpenSortMenu);
1558
+ R(W.OrgSearchOpenSortMenu);
1558
1559
  break;
1559
1560
  case "sortDistance":
1560
- z(G.OrgSearchSortDistance);
1561
+ R(W.OrgSearchSortDistance);
1561
1562
  break;
1562
1563
  case "sortRelevance":
1563
- z(G.OrgSearchSortRelevance);
1564
+ R(W.OrgSearchSortRelevance);
1564
1565
  break;
1565
1566
  default: break;
1566
1567
  }
1567
1568
  }
1568
1569
  })]
1569
1570
  }),
1570
- N && !V ? /* @__PURE__ */ (0, q.jsx)(vr, {
1571
+ ee && !B ? /* @__PURE__ */ (0, K.jsx)(vr, {
1571
1572
  id: `${p}-clear-button`,
1572
1573
  disabled: F,
1573
- onMouseDown: pe,
1574
- onKeyDown: pe,
1575
- handleOnBlur: fe
1574
+ onMouseDown: me,
1575
+ onKeyDown: me,
1576
+ handleOnBlur: pe
1576
1577
  }) : null,
1577
- /* @__PURE__ */ (0, q.jsx)("div", {
1578
- ...ne(),
1578
+ /* @__PURE__ */ (0, K.jsx)("div", {
1579
+ ...re(),
1579
1580
  className: "sid-organization-list__menu-wrapper",
1580
- children: T && ee || V && T ? /* @__PURE__ */ (0, q.jsx)(gr, {
1581
+ children: E && te || B && E ? /* @__PURE__ */ (0, K.jsx)(gr, {
1581
1582
  countryCode: o,
1582
- getItemProps: ie,
1583
- highlightedIndex: te,
1584
- itemToString: U,
1583
+ getItemProps: ae,
1584
+ highlightedIndex: ne,
1585
+ itemToString: H,
1585
1586
  minimumSearchValueLength: c,
1586
- onLoaded: (e) => O(e),
1587
+ onLoaded: (e) => k(e),
1587
1588
  programId: n,
1588
1589
  orgSearchUrl: h,
1589
1590
  locale: _,
1590
- urlAddSchoolForm: y,
1591
- onClickAddSchool: se,
1592
- onTipsShown: ce,
1591
+ urlAddSchoolForm: b,
1592
+ onClickAddSchool: ce,
1593
+ onTipsShown: le,
1593
1594
  openOrgSearchEnabled: m,
1594
- searchUrlParams: B ? { format: "detailed" } : void 0
1595
+ searchUrlParams: z ? { format: "detailed" } : void 0
1595
1596
  }) : null
1596
1597
  })
1597
1598
  ]
1598
1599
  });
1599
- }), br = (e) => R(() => e.id) === 0 && R(() => e.name, "").length > 0, xr = (e, t) => R(() => e.openOrgSearchEnabled) && br(t.organization), Sr = f(({ fieldId: e, value: t, verificationService: n, onChange: r, placeholder: i, label: a, errorMessage: o, warningMessage: l, helperMessage: u, showPlaceholderAndHideLabel: f = !1, isRequired: p = !0, explanation: h = "", orgSearchUrl: g, urlAddSchoolForm: _, disabled: v = !1, intl: b }) => {
1600
- let x = `sid-${y(e)}`, S = `sid-${y(e)}-error`, C = `sid-${y(e)}-warning`, { programId: w, programTheme: T, verificationResponse: E, viewModel: D } = n, O = s(() => D.countryChoice.value), k = ie(T, O), A = d(D, E), [j, M] = (0, K.useState)(!1), N = L("org-search-overlay") === "overlay", P = N || L("org-selected-display") === "box-display", F = L("hc-open-org-warning") === "warning-orange", I = L("hc-open-org-warning") === "warning-gray", R = F || I, [z, B] = (0, K.useState)(!1), V = s(() => T.openOrgSearchEnabled), H = () => {
1601
- V && br(t) ? B(!0) : B(!1);
1602
- }, U = (e) => {
1603
- z && B(!1), r(e);
1604
- }, ee = z && R && /* @__PURE__ */ (0, q.jsx)(m, {
1600
+ }), br = (e) => R(() => e.id) === 0 && R(() => e.name, "").length > 0, xr = (e, t) => R(() => e.openOrgSearchEnabled) && br(t.organization), Sr = f(({ fieldId: e, value: t, verificationService: n, onChange: r, placeholder: i, label: a, errorMessage: o, warningMessage: l, helperMessage: u, showPlaceholderAndHideLabel: f = !1, isRequired: p = !0, explanation: h = "", orgSearchUrl: g, urlAddSchoolForm: _, disabled: y = !1, intl: x }) => {
1601
+ let S = `sid-${b(e)}`, C = `sid-${b(e)}-error`, w = `sid-${b(e)}-warning`, { programId: T, programTheme: E, verificationResponse: D, viewModel: O } = n, k = s(() => O.countryChoice.value), A = ae(E, k), j = d(O, D), [M, N] = (0, G.useState)(!1), ee = v("org-search-overlay") === "overlay", P = ee || v("org-selected-display") === "box-display", F = v("hc-open-org-warning") === "warning-orange", I = v("hc-open-org-warning") === "warning-gray", L = F || I, [R, z] = (0, G.useState)(!1), B = s(() => E.openOrgSearchEnabled), V = () => {
1602
+ B && br(t) ? z(!0) : z(!1);
1603
+ }, H = (e) => {
1604
+ R && z(!1), r(e);
1605
+ }, te = R && L && /* @__PURE__ */ (0, K.jsx)(m, {
1605
1606
  id: "warningId.openOrganization",
1606
1607
  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!"
1607
- }), W = l || F && ee, G = u || I && ee;
1608
- return /* @__PURE__ */ (0, q.jsx)(fe, {
1609
- enabled: N,
1610
- closeSectionLabel: /* @__PURE__ */ (0, q.jsx)(m, {
1608
+ }), U = l || F && te, W = u || I && te;
1609
+ return /* @__PURE__ */ (0, K.jsx)(pe, {
1610
+ enabled: ee,
1611
+ closeSectionLabel: /* @__PURE__ */ (0, K.jsx)(m, {
1611
1612
  id: "closeSection",
1612
1613
  defaultMessage: "Close Section"
1613
1614
  }),
1614
- children: /* @__PURE__ */ (0, q.jsx)(ne, {
1615
+ children: /* @__PURE__ */ (0, K.jsx)(re, {
1615
1616
  fieldId: e,
1616
1617
  label: a,
1617
1618
  errorMessage: o,
1618
- warningMessage: W,
1619
- helperMessage: G,
1619
+ warningMessage: U,
1620
+ helperMessage: W,
1620
1621
  showPlaceholderAndHideLabel: f,
1621
- isRequired: p || k,
1622
- explanation: k ? /* @__PURE__ */ (0, q.jsx)(m, {
1622
+ isRequired: p || A,
1623
+ explanation: A ? /* @__PURE__ */ (0, K.jsx)(m, {
1623
1624
  id: "chooseCountry",
1624
1625
  defaultMessage: "Choose a country before searching"
1625
1626
  }) : h,
1626
- containerId: `${x}-id`,
1627
- children: P && t.id ? /* @__PURE__ */ (0, q.jsx)(pe, {
1627
+ containerId: `${S}-id`,
1628
+ children: P && t.id ? /* @__PURE__ */ (0, K.jsx)(me, {
1628
1629
  org: t,
1629
1630
  onClear: () => {
1630
- U(void 0), M(!0);
1631
+ H(void 0), N(!0);
1631
1632
  },
1632
- clearSelectionLabel: b.formatMessage({
1633
+ clearSelectionLabel: x.formatMessage({
1633
1634
  id: "clearSelection",
1634
1635
  defaultMessage: "Clear selection"
1635
1636
  }),
1636
- labelId: te(e)
1637
- }) : /* @__PURE__ */ (0, q.jsx)(yr, {
1638
- className: o ? "sid-text-input--error" : W ? "sid-text-input--warning" : "",
1639
- disabled: k || v,
1640
- countryCode: O,
1637
+ labelId: ne(e)
1638
+ }) : /* @__PURE__ */ (0, K.jsx)(yr, {
1639
+ className: o ? "sid-text-input--error" : U ? "sid-text-input--warning" : "",
1640
+ disabled: A || y,
1641
+ countryCode: k,
1641
1642
  minimumSearchValueLength: c().minimumOrganizationSearchLength,
1642
- onChange: U,
1643
+ onChange: H,
1643
1644
  placeholder: i,
1644
- programId: w,
1645
+ programId: T,
1645
1646
  value: t,
1646
- inputHtmlId: x,
1647
- openOrgSearchEnabled: T.openOrgSearchEnabled,
1648
- locale: A,
1649
- orgSearchUrl: g || s(() => T.config.orgSearchUrl),
1647
+ inputHtmlId: S,
1648
+ openOrgSearchEnabled: E.openOrgSearchEnabled,
1649
+ locale: j,
1650
+ orgSearchUrl: g || s(() => E.config.orgSearchUrl),
1650
1651
  urlAddSchoolForm: _,
1651
1652
  isRequired: p,
1652
1653
  isErrored: !!o,
1653
1654
  ariaDescribedBy: (() => {
1654
- if (o) return S;
1655
- if (W) return C;
1655
+ if (o) return C;
1656
+ if (U) return w;
1656
1657
  })(),
1657
- autoFocus: j,
1658
- onBlur: H
1658
+ autoFocus: M,
1659
+ onBlur: V
1659
1660
  })
1660
1661
  })
1661
1662
  });