@commercetools/nimbus 0.0.0-canary-20250922155413 → 0.0.0-canary-20250924083846

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 (164) hide show
  1. package/dist/chunks/Button-BtJHe9xY.cjs.js.map +1 -1
  2. package/dist/chunks/Button-CNBS3n5a.es.js.map +1 -1
  3. package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +1 -1
  4. package/dist/chunks/DateField-rweHHCKR.cjs.js.map +1 -1
  5. package/dist/chunks/{DatePicker-e_53Dtsm.cjs.js → DatePicker-BYhiEF2C.cjs.js} +2 -2
  6. package/dist/chunks/{DatePicker-e_53Dtsm.cjs.js.map → DatePicker-BYhiEF2C.cjs.js.map} +1 -1
  7. package/dist/chunks/{DatePicker-kvQcWFTq.es.js → DatePicker-C4UN4l9t.es.js} +2 -2
  8. package/dist/chunks/{DatePicker-kvQcWFTq.es.js.map → DatePicker-C4UN4l9t.es.js.map} +1 -1
  9. package/dist/chunks/{Dialog-K19USc7c.cjs.js → Dialog-32GmWneq.cjs.js} +2 -2
  10. package/dist/chunks/{Dialog-K19USc7c.cjs.js.map → Dialog-32GmWneq.cjs.js.map} +1 -1
  11. package/dist/chunks/{Dialog-BH-H4BEe.es.js → Dialog-CpUyTYgL.es.js} +4 -4
  12. package/dist/chunks/{Dialog-BH-H4BEe.es.js.map → Dialog-CpUyTYgL.es.js.map} +1 -1
  13. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -1
  14. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -1
  15. package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
  16. package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
  17. package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
  18. package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
  19. package/dist/chunks/Group-Cfixd-fh.es.js.map +1 -1
  20. package/dist/chunks/Group-MdeByg6t.cjs.js.map +1 -1
  21. package/dist/chunks/{Header-zz3aj0c7.cjs.js → Header-C0mOQKWH.cjs.js} +2 -2
  22. package/dist/chunks/{Header-zz3aj0c7.cjs.js.map → Header-C0mOQKWH.cjs.js.map} +1 -1
  23. package/dist/chunks/{Header-Bi219Q1R.es.js → Header-CRiZqLJU.es.js} +3 -3
  24. package/dist/chunks/{Header-Bi219Q1R.es.js.map → Header-CRiZqLJU.es.js.map} +1 -1
  25. package/dist/chunks/Heading-BaW6t55l.cjs.js.map +1 -1
  26. package/dist/chunks/Heading-DEfy_f01.es.js.map +1 -1
  27. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
  28. package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
  29. package/dist/chunks/Input-BiHwUBo4.es.js.map +1 -1
  30. package/dist/chunks/Input-HBDt7LmM.cjs.js.map +1 -1
  31. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
  32. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
  33. package/dist/chunks/Label-B2YyCdLl.es.js.map +1 -1
  34. package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -1
  35. package/dist/chunks/{ListBox-BHUS7cW2.cjs.js → ListBox-DW2g6DgQ.cjs.js} +2 -2
  36. package/dist/chunks/{ListBox-BHUS7cW2.cjs.js.map → ListBox-DW2g6DgQ.cjs.js.map} +1 -1
  37. package/dist/chunks/{ListBox-DKAR_w69.es.js → ListBox-Vxd1SXUB.es.js} +4 -4
  38. package/dist/chunks/{ListBox-DKAR_w69.es.js.map → ListBox-Vxd1SXUB.es.js.map} +1 -1
  39. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -1
  40. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +1 -1
  41. package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js.map +1 -1
  42. package/dist/chunks/ProgressBar-DjaUQI7N.es.js.map +1 -1
  43. package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +1 -1
  44. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +1 -1
  45. package/dist/chunks/{SelectionManager-BgUVI3vz.es.js → SelectionManager-BCXBpjO4.es.js} +2 -2
  46. package/dist/chunks/{SelectionManager-BgUVI3vz.es.js.map → SelectionManager-BCXBpjO4.es.js.map} +1 -1
  47. package/dist/chunks/{SelectionManager-CmUHDDN6.cjs.js → SelectionManager-CZSEfn4s.cjs.js} +2 -2
  48. package/dist/chunks/{SelectionManager-CmUHDDN6.cjs.js.map → SelectionManager-CZSEfn4s.cjs.js.map} +1 -1
  49. package/dist/chunks/Separator-DQ53Zxpp.cjs.js +18 -0
  50. package/dist/chunks/Separator-DQ53Zxpp.cjs.js.map +1 -0
  51. package/dist/chunks/{Separator-CuZ-VIh8.es.js → Separator-Qp4OCFiC.es.js} +275 -277
  52. package/dist/chunks/Separator-Qp4OCFiC.es.js.map +1 -0
  53. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
  54. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
  55. package/dist/chunks/TextArea-BmpgvS0R.es.js.map +1 -1
  56. package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +1 -1
  57. package/dist/chunks/ToggleButton-C3JL0pgD.es.js.map +1 -1
  58. package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js.map +1 -1
  59. package/dist/chunks/accordion-CSSdv9jZ.es.js.map +1 -1
  60. package/dist/chunks/accordion-xYvGyXy-.cjs.js.map +1 -1
  61. package/dist/chunks/checkbox-Bv0NXUyX.cjs.js.map +1 -1
  62. package/dist/chunks/checkbox-CdSHDZgM.es.js.map +1 -1
  63. package/dist/chunks/{combobox-Dmn2vxIz.es.js → combobox-C1LdL2D0.es.js} +228 -229
  64. package/dist/chunks/combobox-C1LdL2D0.es.js.map +1 -0
  65. package/dist/chunks/{combobox-C9pPDZQn.cjs.js → combobox-uCNxpE7-.cjs.js} +2 -2
  66. package/dist/chunks/combobox-uCNxpE7-.cjs.js.map +1 -0
  67. package/dist/chunks/{data-table-DIsDZ5JZ.cjs.js → data-table-BBgNLX1F.cjs.js} +2 -2
  68. package/dist/chunks/{data-table-DIsDZ5JZ.cjs.js.map → data-table-BBgNLX1F.cjs.js.map} +1 -1
  69. package/dist/chunks/{data-table-CBr4TLyH.es.js → data-table-D3e1Jwo7.es.js} +4 -4
  70. package/dist/chunks/{data-table-CBr4TLyH.es.js.map → data-table-D3e1Jwo7.es.js.map} +1 -1
  71. package/dist/chunks/{date-picker-_7Gh_ROw.cjs.js → date-picker-Bb3NXrgg.cjs.js} +2 -2
  72. package/dist/chunks/{date-picker-_7Gh_ROw.cjs.js.map → date-picker-Bb3NXrgg.cjs.js.map} +1 -1
  73. package/dist/chunks/{date-picker-BVrTKhZ_.es.js → date-picker-Bic1MCyC.es.js} +3 -3
  74. package/dist/chunks/{date-picker-BVrTKhZ_.es.js.map → date-picker-Bic1MCyC.es.js.map} +1 -1
  75. package/dist/chunks/{date-range-picker-D7pPpSEj.cjs.js → date-range-picker-C8Qvuf85.cjs.js} +2 -2
  76. package/dist/chunks/{date-range-picker-D7pPpSEj.cjs.js.map → date-range-picker-C8Qvuf85.cjs.js.map} +1 -1
  77. package/dist/chunks/{date-range-picker-D55giMLZ.es.js → date-range-picker-D4jLAymc.es.js} +3 -3
  78. package/dist/chunks/{date-range-picker-D55giMLZ.es.js.map → date-range-picker-D4jLAymc.es.js.map} +1 -1
  79. package/dist/chunks/{form-field-DHvafAwV.cjs.js → form-field-D2DlhLF_.cjs.js} +2 -2
  80. package/dist/chunks/{form-field-DHvafAwV.cjs.js.map → form-field-D2DlhLF_.cjs.js.map} +1 -1
  81. package/dist/chunks/{form-field-DIUXRuTp.es.js → form-field-DY3B_1tq.es.js} +2 -2
  82. package/dist/chunks/{form-field-DIUXRuTp.es.js.map → form-field-DY3B_1tq.es.js.map} +1 -1
  83. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
  84. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
  85. package/dist/chunks/{menu-cYj3HcOe.cjs.js → menu-Bfk7xGk8.cjs.js} +2 -2
  86. package/dist/chunks/{menu-cYj3HcOe.cjs.js.map → menu-Bfk7xGk8.cjs.js.map} +1 -1
  87. package/dist/chunks/{menu-D5UbPSbm.es.js → menu-Dfwew0Go.es.js} +4 -4
  88. package/dist/chunks/{menu-D5UbPSbm.es.js.map → menu-Dfwew0Go.es.js.map} +1 -1
  89. package/dist/chunks/{money-input-CtG9FJDJ.es.js → money-input-B2X3PtKX.es.js} +2 -2
  90. package/dist/chunks/{money-input-CtG9FJDJ.es.js.map → money-input-B2X3PtKX.es.js.map} +1 -1
  91. package/dist/chunks/{money-input-DXpiO23i.cjs.js → money-input-BFhtaiLG.cjs.js} +2 -2
  92. package/dist/chunks/{money-input-DXpiO23i.cjs.js.map → money-input-BFhtaiLG.cjs.js.map} +1 -1
  93. package/dist/chunks/{pagination-BM1xkmu9.cjs.js → pagination-Dis-nnBy.cjs.js} +2 -2
  94. package/dist/chunks/{pagination-BM1xkmu9.cjs.js.map → pagination-Dis-nnBy.cjs.js.map} +1 -1
  95. package/dist/chunks/{pagination-C5bOKHnF.es.js → pagination-ZXOMcPAB.es.js} +2 -2
  96. package/dist/chunks/{pagination-C5bOKHnF.es.js.map → pagination-ZXOMcPAB.es.js.map} +1 -1
  97. package/dist/chunks/radio-input-CBsoUt1S.es.js.map +1 -1
  98. package/dist/chunks/radio-input-D7oHngVQ.cjs.js.map +1 -1
  99. package/dist/chunks/{rich-text-input-CxWC-yrf.cjs.js → rich-text-input-3MgAtZuL.cjs.js} +2 -2
  100. package/dist/chunks/{rich-text-input-CxWC-yrf.cjs.js.map → rich-text-input-3MgAtZuL.cjs.js.map} +1 -1
  101. package/dist/chunks/{rich-text-input-YYPcexom.es.js → rich-text-input-C8bdPxGb.es.js} +3 -3
  102. package/dist/chunks/{rich-text-input-YYPcexom.es.js.map → rich-text-input-C8bdPxGb.es.js.map} +1 -1
  103. package/dist/chunks/{select-DA6mGi-n.cjs.js → select-C1SC1XAp.cjs.js} +2 -2
  104. package/dist/chunks/{select-DA6mGi-n.cjs.js.map → select-C1SC1XAp.cjs.js.map} +1 -1
  105. package/dist/chunks/{select-Bj9NNlBG.es.js → select-DpHmAHrs.es.js} +7 -7
  106. package/dist/chunks/{select-Bj9NNlBG.es.js.map → select-DpHmAHrs.es.js.map} +1 -1
  107. package/dist/chunks/{separator-CoMx0Mmv.cjs.js → separator-BGepaXda.cjs.js} +2 -2
  108. package/dist/chunks/{separator-CoMx0Mmv.cjs.js.map → separator-BGepaXda.cjs.js.map} +1 -1
  109. package/dist/chunks/{separator-BBcK9ROS.es.js → separator-BSLmXG3h.es.js} +2 -2
  110. package/dist/chunks/{separator-BBcK9ROS.es.js.map → separator-BSLmXG3h.es.js.map} +1 -1
  111. package/dist/chunks/{split-button-C5RRpvG-.es.js → split-button-BxfsI-af.es.js} +2 -2
  112. package/dist/chunks/{split-button-C5RRpvG-.es.js.map → split-button-BxfsI-af.es.js.map} +1 -1
  113. package/dist/chunks/{split-button-DS-OCnNN.cjs.js → split-button-D8Zq-S4o.cjs.js} +2 -2
  114. package/dist/chunks/{split-button-DS-OCnNN.cjs.js.map → split-button-D8Zq-S4o.cjs.js.map} +1 -1
  115. package/dist/chunks/{tag-group-BfVRqsqw.cjs.js → tag-group-3ESWulAU.cjs.js} +2 -2
  116. package/dist/chunks/{tag-group-BfVRqsqw.cjs.js.map → tag-group-3ESWulAU.cjs.js.map} +1 -1
  117. package/dist/chunks/{tag-group-Bs6sb_ky.es.js → tag-group-CnStbH_k.es.js} +5 -5
  118. package/dist/chunks/{tag-group-Bs6sb_ky.es.js.map → tag-group-CnStbH_k.es.js.map} +1 -1
  119. package/dist/chunks/toolbar-BZFjOgau.es.js.map +1 -1
  120. package/dist/chunks/toolbar-CRak3D0J.cjs.js.map +1 -1
  121. package/dist/chunks/tooltip-B1YdruCE.es.js.map +1 -1
  122. package/dist/chunks/tooltip-g8-hEdZp.cjs.js.map +1 -1
  123. package/dist/chunks/{useSingleSelectListState-C-E1yca1.cjs.js → useSingleSelectListState-BjYKH0pH.cjs.js} +2 -2
  124. package/dist/chunks/{useSingleSelectListState-C-E1yca1.cjs.js.map → useSingleSelectListState-BjYKH0pH.cjs.js.map} +1 -1
  125. package/dist/chunks/{useSingleSelectListState-CdPCvWTv.es.js → useSingleSelectListState-BsnptkyP.es.js} +2 -2
  126. package/dist/chunks/{useSingleSelectListState-CdPCvWTv.es.js.map → useSingleSelectListState-BsnptkyP.es.js.map} +1 -1
  127. package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -1
  128. package/dist/chunks/utils-BkdW_cdL.es.js.map +1 -1
  129. package/dist/components/combobox.cjs +1 -1
  130. package/dist/components/combobox.es.js +1 -1
  131. package/dist/components/components.cjs +1 -1
  132. package/dist/components/components.es.js +13 -13
  133. package/dist/components/data-table.cjs +1 -1
  134. package/dist/components/data-table.es.js +1 -1
  135. package/dist/components/date-picker.cjs +1 -1
  136. package/dist/components/date-picker.es.js +1 -1
  137. package/dist/components/date-range-picker.cjs +1 -1
  138. package/dist/components/date-range-picker.es.js +1 -1
  139. package/dist/components/form-field.cjs +1 -1
  140. package/dist/components/form-field.es.js +1 -1
  141. package/dist/components/money-input.cjs +1 -1
  142. package/dist/components/money-input.es.js +1 -1
  143. package/dist/components/pagination.cjs +1 -1
  144. package/dist/components/pagination.es.js +1 -1
  145. package/dist/components/popover.cjs +1 -1
  146. package/dist/components/popover.es.js +1 -1
  147. package/dist/components/rich-text-input.cjs +1 -1
  148. package/dist/components/rich-text-input.es.js +1 -1
  149. package/dist/components/select.cjs +1 -1
  150. package/dist/components/select.es.js +1 -1
  151. package/dist/components/separator.cjs +1 -1
  152. package/dist/components/separator.es.js +1 -1
  153. package/dist/components/split-button.cjs +1 -1
  154. package/dist/components/split-button.es.js +1 -1
  155. package/dist/components/tag-group.cjs +1 -1
  156. package/dist/components/tag-group.es.js +1 -1
  157. package/dist/index.cjs +1 -1
  158. package/dist/index.es.js +14 -14
  159. package/package.json +17 -17
  160. package/dist/chunks/Separator-CTkcgvBE.cjs.js +0 -18
  161. package/dist/chunks/Separator-CTkcgvBE.cjs.js.map +0 -1
  162. package/dist/chunks/Separator-CuZ-VIh8.es.js.map +0 -1
  163. package/dist/chunks/combobox-C9pPDZQn.cjs.js.map +0 -1
  164. package/dist/chunks/combobox-Dmn2vxIz.es.js.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("react/jsx-runtime"),we=require("@chakra-ui/react/styled-system"),je=require("./index-DX8-EG6B.cjs.js"),o=require("react"),Ke=require("./Button-BtJHe9xY.cjs.js"),w=require("./utils-BHdR5Nww.cjs.js"),Oe=require("./FieldError-DyGFfqST.cjs.js"),Ve=require("./Form-BuOomA4T.cjs.js"),Ae=require("./Group-MdeByg6t.cjs.js"),$e=require("./Input-HBDt7LmM.cjs.js"),Be=require("./Label-BgrYyYXn.cjs.js"),ie=require("./ListBox-BHUS7cW2.cjs.js"),oe=require("./Dialog-K19USc7c.cjs.js"),ge=require("./Text-BWSfeB9p.cjs.js"),Me=require("./Separator-CTkcgvBE.cjs.js"),qe=require("./filterDOMProps-WUskt27c.cjs.js"),Ge=require("./OverlayArrow-CYjyBtg8.cjs.js"),ze=require("./useFilter-CG8lxfCP.cjs.js"),Ne=require("./useFormValidation-BEaCuNx1.cjs.js"),K=require("./SelectionManager-CmUHDDN6.cjs.js"),hu=require("./useSingleSelectListState-C-E1yca1.cjs.js"),Ue=require("./useControlledState-D0L6S_5r.cjs.js"),he=require("./LiveAnnouncer-BkrEjKY8.cjs.js"),ee=require("./mergeProps-BA5Cwf5w.cjs.js"),se=require("./utils-BGHwK7fd.cjs.js"),vu=require("./openLink-DkCJYbzq.cjs.js"),ye=require("./useLabel-Y8tWagLu.cjs.js"),mu=require("./useUpdateEffect-C5YQs_1w.cjs.js"),be=require("./platform-BDLy2vDY.cjs.js"),We=require("./Header-zz3aj0c7.cjs.js"),He=require("./useLocalizedStringFormatter-sB0mFYtL.cjs.js"),Je=require("./useTextField-BcthGRd8.cjs.js"),Se=require("./extractStyleProps-CgqRiEwd.cjs.js"),de=require("@commercetools/nimbus-icons"),fe=require("./box-CWni3A32.cjs.js"),Ee=require("./icon-button-0GLW7WtL.cjs.js"),Ze=require("@chakra-ui/react/flex"),yu=require("@chakra-ui/react"),Xe=require("./useObjectRef-dXOJdONs.cjs.js"),Eu=require("./useEvent-CuUOU5WV.cjs.js"),Au=require("./useFocusVisible-Co0C61s7.cjs.js"),Bu=require("./TextArea-D3FFXnUy.cjs.js"),gu=require("./Hidden-CNJIJ63M.cjs.js"),ve=require("./tag-group-BfVRqsqw.cjs.js"),Su=require("./usePress-C8-hLXJw.cjs.js"),Fu=require("./useFocusable-DCgmQxS1.cjs.js"),Tu=o.forwardRef(({children:e,...t},u)=>{u=Xe.$df56164dff5785e2$export$4338b53315abf666(u);let{pressProps:l}=Su.$f6c31cce2adf654f$export$45712eceda6fad21({...t,ref:u}),{focusableProps:n}=Fu.$f645667febf57a63$export$4c014de7c8940b4c(t,u),a=o.Children.only(e);o.useEffect(()=>{if(process.env.NODE_ENV==="production")return;let s=u.current;if(!s||!(s instanceof se.$431fbd86ca7dc216$export$f21a1ffae260145a(s).Element)){console.error("<Pressable> child must forward its ref to a DOM element.");return}if(!t.isDisabled&&!se.$b4b717babfbb907b$export$4c063cf1350e6fed(s)){console.warn("<Pressable> child must be focusable. Please ensure the tabIndex prop is passed through.");return}if(s.localName!=="button"&&s.localName!=="input"&&s.localName!=="select"&&s.localName!=="textarea"&&s.localName!=="a"&&s.localName!=="area"&&s.localName!=="summary"){let c=s.getAttribute("role");c?c!=="application"&&c!=="button"&&c!=="checkbox"&&c!=="combobox"&&c!=="gridcell"&&c!=="link"&&c!=="menuitem"&&c!=="menuitemcheckbox"&&c!=="menuitemradio"&&c!=="option"&&c!=="radio"&&c!=="searchbox"&&c!=="separator"&&c!=="slider"&&c!=="spinbutton"&&c!=="switch"&&c!=="tab"&&c!=="textbox"&&c!=="treeitem"&&console.warn(`<Pressable> child must have an interactive ARIA role. Got "${c}".`):console.warn("<Pressable> child must have an interactive ARIA role.")}},[u,t.isDisabled]);let b=parseInt(o.version,10)<19?a.ref:a.props.ref;return o.cloneElement(a,{...ee.$3ef42575df84b30b$export$9d1611c77c2fe928(l,n,a.props),ref:w.$5dc95899b306f630$export$c9058316764c140e(b,u)})});var Ye={};Ye={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var Qe={};Qe={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var _e={};_e={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var et={};et={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var tt={};tt={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var ut={};ut={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var ot={};ot={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var nt={};nt={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var lt={};lt={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var it={};it={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var ct={};ct={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var rt={};rt={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var at={};at={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var st={};st={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var dt={};dt={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var pt={};pt={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var $t={};$t={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var bt={};bt={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var ft={};ft={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var xt={};xt={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var Ct={};Ct={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var ht={};ht={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var vt={};vt={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var mt={};mt={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var yt={};yt={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var Et={};Et={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var At={};At={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var Bt={};Bt={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var gt={};gt={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var St={};St={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var Ft={};Ft={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var Tt={};Tt={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var Dt={};Dt={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var Lt={};Lt={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var Pt={};Pt={"ar-AE":Ye,"bg-BG":Qe,"cs-CZ":_e,"da-DK":et,"de-DE":tt,"el-GR":ut,"en-US":ot,"es-ES":nt,"et-EE":lt,"fi-FI":it,"fr-FR":ct,"he-IL":rt,"hr-HR":at,"hu-HU":st,"it-IT":dt,"ja-JP":pt,"ko-KR":$t,"lt-LT":bt,"lv-LV":ft,"nb-NO":xt,"nl-NL":Ct,"pl-PL":ht,"pt-BR":vt,"pt-PT":mt,"ro-RO":yt,"ru-RU":Et,"sk-SK":At,"sl-SI":Bt,"sr-SP":gt,"sv-SE":St,"tr-TR":Ft,"uk-UA":Tt,"zh-CN":Dt,"zh-TW":Lt};function Du(e){return e&&e.__esModule?e.default:e}function Lu(e,t){let{buttonRef:u,popoverRef:l,inputRef:n,listBoxRef:a,keyboardDelegate:b,layoutDelegate:s,shouldFocusWrap:c,isReadOnly:h,isDisabled:A}=e,v=o.useRef(null);u=u??v;let g=He.$fca6afa0e843324b$export$f12b703ca79dfbb1(Du(Pt),"@react-aria/combobox"),{menuTriggerProps:C,menuProps:S}=oe.$168583247155ddda$export$dc9c12ed27dd1b49({type:"listbox",isDisabled:A||h},t,u);ie.$b1f0cad8af73213b$export$3585ede4d035bf14.set(t,{id:S.id});let{collection:x}=t,{disabledKeys:m}=t.selectionManager,f=o.useMemo(()=>b||new K.$2a25aae57d74318e$export$a05409b8bb224a5a({collection:x,disabledKeys:m,ref:a,layoutDelegate:s}),[b,s,x,m,a]),{collectionProps:T}=K.$ae20dd8cbca75726$export$d6daf82dcd84e87c({selectionManager:t.selectionManager,keyboardDelegate:f,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:c,ref:n,isVirtualized:!0}),j=vu.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),q=$=>{if(!$.nativeEvent.isComposing)switch($.key){case"Enter":case"Tab":if(t.isOpen&&$.key==="Enter"&&$.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let B=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if($.key==="Enter"&&B instanceof HTMLAnchorElement){let p=t.collection.getItem(t.selectionManager.focusedKey);p&&j.open(B,$,p.props.href,p.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&$.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},D=$=>{var B;let p=u?.current&&u.current===$.relatedTarget,Z=(B=l.current)===null||B===void 0?void 0:B.contains($.relatedTarget);p||Z||(e.onBlur&&e.onBlur($),t.setFocused(!1))},Y=$=>{t.isFocused||(e.onFocus&&e.onFocus($),t.setFocused(!0))},{isInvalid:G,validationErrors:H,validationDetails:z}=t.displayValidation,{labelProps:k,inputProps:te,descriptionProps:V,errorMessageProps:N}=Je.$2d73ec29415bd339$export$712718f7aec83d5({...e,onChange:t.setInputValue,onKeyDown:h?e.onKeyDown:ee.$ff5963eb1fccf552$export$e08e3b67e392101e(t.isOpen&&T.onKeyDown,q,e.onKeyDown),onBlur:D,value:t.inputValue,defaultValue:t.defaultInputValue,onFocus:Y,autoComplete:"off",validate:void 0,[Ne.$e5be200c675c3b3a$export$a763b9476acd3eb]:t},n),U=$=>{if($.pointerType==="touch"){var B;(B=n.current)===null||B===void 0||B.focus(),t.toggle(null,"manual")}},F=$=>{if($.pointerType!=="touch"){var B;(B=n.current)===null||B===void 0||B.focus(),t.toggle($.pointerType==="keyboard"||$.pointerType==="virtual"?"first":null,"manual")}},r=ye.$313b98861ee5dd6c$export$d6875122194c7b44({id:C.id,"aria-label":g.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||k.id}),d=ye.$313b98861ee5dd6c$export$d6875122194c7b44({id:S.id,"aria-label":g.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||k.id}),y=o.useRef(0),M=$=>{if(A||h)return;if($.timeStamp-y.current<500){var B;$.preventDefault(),(B=n.current)===null||B===void 0||B.focus();return}let p=$.target.getBoundingClientRect(),Z=$.changedTouches[0],X=Math.ceil(p.left+.5*p.width),_=Math.ceil(p.top+.5*p.height);if(Z.clientX===X&&Z.clientY===_){var le;$.preventDefault(),(le=n.current)===null||le===void 0||le.focus(),t.toggle(null,"manual"),y.current=$.timeStamp}},L=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var P;let O=(P=L?.parentKey)!==null&&P!==void 0?P:null;var J;let Q=(J=t.selectionManager.focusedKey)!==null&&J!==void 0?J:null,ce=o.useRef(O),W=o.useRef(Q);o.useEffect(()=>{if(be.$c87311424ea30a05$export$e1865c3bedcd822b()&&L!=null&&Q!=null&&Q!==W.current){let B=t.selectionManager.isSelected(Q),p=O!=null?t.collection.getItem(O):null,Z=p?.["aria-label"]||(typeof p?.rendered=="string"?p.rendered:"")||"";var $;let X=g.format("focusAnnouncement",{isGroupChange:($=p&&O!==ce.current)!==null&&$!==void 0?$:!1,groupTitle:Z,groupCount:p?[...K.$c5a24bc478652b5f$export$1005530eda016c13(p,t.collection)].length:0,optionText:L["aria-label"]||L.textValue||"",isSelected:B});he.$319e236875307eab$export$a9b970dcc4ae71a9(X)}ce.current=O,W.current=Q});let ue=We.$453cc9f0df89c0a5$export$77d5aafae4e095b2(t.collection),re=o.useRef(ue),ae=o.useRef(t.isOpen);o.useEffect(()=>{let $=t.isOpen!==ae.current&&(t.selectionManager.focusedKey==null||be.$c87311424ea30a05$export$e1865c3bedcd822b());if(t.isOpen&&($||ue!==re.current)){let B=g.format("countAnnouncement",{optionCount:ue});he.$319e236875307eab$export$a9b970dcc4ae71a9(B)}re.current=ue,ae.current=t.isOpen});let pe=o.useRef(t.selectedKey);return o.useEffect(()=>{if(be.$c87311424ea30a05$export$e1865c3bedcd822b()&&t.isFocused&&t.selectedItem&&t.selectedKey!==pe.current){let $=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",B=g.format("selectedAnnouncement",{optionText:$});he.$319e236875307eab$export$a9b970dcc4ae71a9(B)}pe.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return oe.$5e3802645cc19319$export$1c3ebcada18427bf([n.current,l.current].filter($=>$!=null))},[t.isOpen,n,l]),mu.$4f58c5f72bcf79f7$export$496315a1608d9602(()=>{!L&&n.current&&se.$d4ee10de306f2510$export$cd4e5573fbe2b576(se.$431fbd86ca7dc216$export$b204af158042fbac(n.current))===n.current&&K.$55f9b1ae81f22853$export$2b35b76d2e30e129(n.current,null)},[L]),{labelProps:k,buttonProps:{...C,...r,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:U,onPressStart:F,isDisabled:A||h},inputProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(te,{role:"combobox","aria-expanded":C["aria-expanded"],"aria-controls":t.isOpen?S.id:void 0,"aria-autocomplete":"list","aria-activedescendant":L?ie.$b1f0cad8af73213b$export$9145995848b05025(t,L.key):void 0,onTouchEnd:M,autoCorrect:"off",spellCheck:"false"}),listBoxProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(S,d,{autoFocus:t.focusStrategy||!0,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:V,errorMessageProps:N,isInvalid:G,validationErrors:H,validationDetails:z}}var It={};It={collectionLabel:"مقترحات"};var kt={};kt={collectionLabel:"Предложения"};var Rt={};Rt={collectionLabel:"Návrhy"};var wt={};wt={collectionLabel:"Forslag"};var jt={};jt={collectionLabel:"Empfehlungen"};var Kt={};Kt={collectionLabel:"Προτάσεις"};var Ot={};Ot={collectionLabel:"Suggestions"};var Vt={};Vt={collectionLabel:"Sugerencias"};var Mt={};Mt={collectionLabel:"Soovitused"};var qt={};qt={collectionLabel:"Ehdotukset"};var Gt={};Gt={collectionLabel:"Suggestions"};var zt={};zt={collectionLabel:"הצעות"};var Nt={};Nt={collectionLabel:"Prijedlozi"};var Ut={};Ut={collectionLabel:"Javaslatok"};var Wt={};Wt={collectionLabel:"Suggerimenti"};var Ht={};Ht={collectionLabel:"候補"};var Jt={};Jt={collectionLabel:"제안"};var Zt={};Zt={collectionLabel:"Pasiūlymai"};var Xt={};Xt={collectionLabel:"Ieteikumi"};var Yt={};Yt={collectionLabel:"Forslag"};var Qt={};Qt={collectionLabel:"Suggesties"};var _t={};_t={collectionLabel:"Sugestie"};var eu={};eu={collectionLabel:"Sugestões"};var tu={};tu={collectionLabel:"Sugestões"};var uu={};uu={collectionLabel:"Sugestii"};var ou={};ou={collectionLabel:"Предложения"};var nu={};nu={collectionLabel:"Návrhy"};var lu={};lu={collectionLabel:"Predlogi"};var iu={};iu={collectionLabel:"Predlozi"};var cu={};cu={collectionLabel:"Förslag"};var ru={};ru={collectionLabel:"Öneriler"};var au={};au={collectionLabel:"Пропозиції"};var su={};su={collectionLabel:"建议"};var du={};du={collectionLabel:"建議"};var pu={};pu={"ar-AE":It,"bg-BG":kt,"cs-CZ":Rt,"da-DK":wt,"de-DE":jt,"el-GR":Kt,"en-US":Ot,"es-ES":Vt,"et-EE":Mt,"fi-FI":qt,"fr-FR":Gt,"he-IL":zt,"hr-HR":Nt,"hu-HU":Ut,"it-IT":Wt,"ja-JP":Ht,"ko-KR":Jt,"lt-LT":Zt,"lv-LV":Xt,"nb-NO":Yt,"nl-NL":Qt,"pl-PL":_t,"pt-BR":eu,"pt-PT":tu,"ro-RO":uu,"ru-RU":ou,"sk-SK":nu,"sl-SI":lu,"sr-SP":iu,"sv-SE":cu,"tr-TR":ru,"uk-UA":au,"zh-CN":su,"zh-TW":du};function Pu(e){return e&&e.__esModule?e.default:e}function Iu(e,t){let{inputRef:u,collectionRef:l,filter:n,disableAutoFocusFirst:a=!1,disableVirtualFocus:b=!1}=e,s=ee.$bdb11010cef70236$export$b4cc09c592e8fdb8(),c=o.useRef(void 0),h=o.useRef(!1),A=o.useRef(null),v=o.useRef(null),C=!(Au.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="virtual"&&(be.$c87311424ea30a05$export$fedb369cb70207f1()||be.$c87311424ea30a05$export$a11b0059900ceec8()))&&!b;o.useEffect(()=>()=>clearTimeout(c.current),[]);let S=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(r=>{!r.isTrusted&&C&&u.current&&se.$d4ee10de306f2510$export$cd4e5573fbe2b576(se.$431fbd86ca7dc216$export$b204af158042fbac(u.current))!==u.current&&u.current.focus();let d=r.target;r.isTrusted||!d||A.current===d.id||(clearTimeout(c.current),d!==l.current?h.current?(A.current=d.id,c.current=setTimeout(()=>{t.setFocusedNodeId(d.id)},500)):(A.current=d.id,t.setFocusedNodeId(d.id)):(A.current=null,t.setFocusedNodeId(null)),h.current=!1)}),x=o.useCallback(r=>{var d;if(r!=null){var y;(y=v.current)===null||y===void 0||y.removeEventListener("focusin",S),v.current=r,r.addEventListener("focusin",S)}else(d=v.current)===null||d===void 0||d.removeEventListener("focusin",S)},[S]),m=Xe.$df56164dff5785e2$export$4338b53315abf666(o.useMemo(()=>w.$5dc95899b306f630$export$c9058316764c140e(l,x),[l,x])),f=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(()=>{var r;h.current=!0,(r=l.current)===null||r===void 0||r.dispatchEvent(new CustomEvent(K.$5671b20cf9b562b2$export$831c820ad60f9d12,{cancelable:!0,bubbles:!0,detail:{focusStrategy:"first"}}))}),T=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(r=>{var d;K.$55f9b1ae81f22853$export$76e4e37e5339496d(se.$d4ee10de306f2510$export$cd4e5573fbe2b576()),A.current=null,t.setFocusedNodeId(null);let y=new CustomEvent(K.$5671b20cf9b562b2$export$447a38995de2c711,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:r}});clearTimeout(c.current),h.current=!1,(d=l.current)===null||d===void 0||d.dispatchEvent(y)}),j=o.useRef("");Eu.$e9faafb641e167db$export$90fc3a17d93f704c(u,"input",r=>{let{inputType:d}=r;j.current=d});let q=r=>{j.current==="insertText"&&!a?f():(j.current.includes("insert")||j.current.includes("delete")||j.current.includes("history"))&&(T(!0),K.$55f9b1ae81f22853$export$759df0d867455a91(document)===u.current&&K.$55f9b1ae81f22853$export$2b35b76d2e30e129(u.current,null)),t.setInputValue(r)},D=o.useRef(null),Y=r=>{if(D.current=r.target,r.nativeEvent.isComposing)return;let d=A.current;switch(r.key){case"a":if(K.$21f1aa98acb08317$export$16792effe837dba3(r))return;break;case"Escape":if(r.isDefaultPrevented())return;break;case" ":return;case"Tab":"continuePropagation"in r&&r.continuePropagation();return;case"Home":case"End":case"PageDown":case"PageUp":case"ArrowUp":case"ArrowDown":{var y;if((r.key==="Home"||r.key==="End")&&d==null&&r.shiftKey)return;r.preventDefault();let P=new CustomEvent(K.$5671b20cf9b562b2$export$831c820ad60f9d12,{cancelable:!0,bubbles:!0});(y=l.current)===null||y===void 0||y.dispatchEvent(P);break}}r.isPropagationStopped()||r.stopPropagation();let M=!0;if(l.current!==null){var L;if(d==null)M=((L=l.current)===null||L===void 0?void 0:L.dispatchEvent(new KeyboardEvent(r.nativeEvent.type,r.nativeEvent)))||!1;else{let P=document.getElementById(d);M=P?.dispatchEvent(new KeyboardEvent(r.nativeEvent.type,r.nativeEvent))||!1}}if(M)switch(r.key){case"ArrowLeft":case"ArrowRight":T();break;case"Enter":if(d!=null){let P=document.getElementById(d);P?.click()}break}else r.preventDefault()},G=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(r=>{if(r.target===D.current){var d;r.stopImmediatePropagation();let y=A.current;if(y==null)(d=l.current)===null||d===void 0||d.dispatchEvent(new KeyboardEvent(r.type,r));else{let M=document.getElementById(y);M?.dispatchEvent(new KeyboardEvent(r.type,r))}}});o.useEffect(()=>(document.addEventListener("keyup",G,!0),()=>{document.removeEventListener("keyup",G,!0)}),[G]);let H=He.$fca6afa0e843324b$export$f12b703ca79dfbb1(Pu(pu),"@react-aria/autocomplete"),z=ye.$313b98861ee5dd6c$export$d6875122194c7b44({id:s,"aria-label":H.format("collectionLabel")}),k=o.useCallback((r,d)=>n?n(r,t.inputValue,d):!0,[t.inputValue,n]),te=r=>{if(!r.isTrusted)return;let d=A.current?document.getElementById(A.current):null;d&&K.$55f9b1ae81f22853$export$6c5dc7e81d2cc29a(d,r.relatedTarget)},V=r=>{if(!r.isTrusted)return;let d=A.current?document.getElementById(A.current):null;if(d){let y=r.target;queueMicrotask(()=>{K.$55f9b1ae81f22853$export$6c5dc7e81d2cc29a(y,d),K.$55f9b1ae81f22853$export$2b35b76d2e30e129(d,y)})}},N={value:t.inputValue,onChange:q};var U;let F={onKeyDown:Y,"aria-activedescendant":(U=t.focusedNodeId)!==null&&U!==void 0?U:void 0,onBlur:te,onFocus:V};return s&&(N={...N,...C&&F,enterKeyHint:"go","aria-controls":s,"aria-autocomplete":"list",autoCorrect:"off",spellCheck:"false",autoComplete:"off"}),{inputProps:N,collectionProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(z,{shouldUseVirtualFocus:C,disallowTypeAhead:!0}),collectionRef:m,filter:n!=null?k:void 0}}function ku(e){let{onInputChange:t,inputValue:u,defaultInputValue:l=""}=e,n=h=>{t&&t(h)},[a,b]=o.useState(null),[s,c]=Ue.$458b0a5536c1a7cf$export$40bfa8c7b0832715(u,l,n);return{inputValue:s,setInputValue:c,focusedNodeId:a,setFocusedNodeId:b}}const Ru=o.createContext(null),wu=o.createContext(null);function ju(e){let t=w.$64fa3d84918910a7$export$fabf2dc03a41866e(Ru,e.slot);e=ee.$3ef42575df84b30b$export$9d1611c77c2fe928(t,e);let{filter:u,disableAutoFocusFirst:l}=e,n=ku(e),a=o.useRef(null),b=o.useRef(null),{inputProps:s,collectionProps:c,collectionRef:h,filter:A}=Iu({...w.$64fa3d84918910a7$export$ef03459518577ad4(e),filter:u,disableAutoFocusFirst:l,inputRef:a,collectionRef:b},n);return o.createElement(w.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[wu,n],[K.$8e6cc465cc68f603$export$698f465ec27e93df,{...s,ref:a}],[K.$8e6cc465cc68f603$export$b0d3ecf7112093a7,{...c,filter:A,ref:h}]]},e.children)}function Ku(e){var t;let{defaultFilter:u,menuTrigger:l="input",allowsEmptyCollection:n=!1,allowsCustomValue:a,shouldCloseOnBlur:b=!0}=e,[s,c]=o.useState(!1),[h,A]=o.useState(!1),[v,g]=o.useState(null),C=E=>{e.onSelectionChange&&e.onSelectionChange(E),E===f&&(J(),L())};var S;let{collection:x,selectionManager:m,selectedKey:f,setSelectedKey:T,selectedItem:j,disabledKeys:q}=hu.$a0d645289fe9b86b$export$e7f05e985daf4b5f({...e,onSelectionChange:C,items:(S=e.items)!==null&&S!==void 0?S:e.defaultItems}),[D,Y]=Ue.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.inputValue,ke(e.defaultInputValue,f,x)||"",e.onInputChange),[G]=o.useState(f),[H]=o.useState(D),z=x,k=o.useMemo(()=>e.items!=null||!u?x:Ou(x,D,u),[x,D,u,e.items]),[te,V]=o.useState(k),N=o.useRef("focus"),U=E=>{e.onOpenChange&&e.onOpenChange(E,E?N.current:void 0),m.setFocused(E),E||m.setFocusedKey(null)},F=Ge.$fc909762b330b746$export$61c6a8c84e605fb6({...e,onOpenChange:U,isOpen:void 0,defaultOpen:void 0}),r=(E=null,I)=>{let R=I==="manual"||I==="focus"&&l==="focus";(n||k.size>0||R&&z.size>0||e.items)&&(R&&!F.isOpen&&e.items===void 0&&c(!0),N.current=I,g(E),F.open())},d=(E=null,I)=>{let R=I==="manual"||I==="focus"&&l==="focus";!(n||k.size>0||R&&z.size>0||e.items)&&!F.isOpen||(R&&!F.isOpen&&e.items===void 0&&c(!0),F.isOpen||(N.current=I),M(E))},y=o.useCallback(()=>{V(s?z:k)},[s,z,k]),M=o.useCallback((E=null)=>{F.isOpen&&y(),g(E),F.toggle()},[F,y]),L=o.useCallback(()=>{F.isOpen&&(y(),F.close())},[F,y]),[P,O]=o.useState(D),J=()=>{var E,I;let R=f!=null&&(I=(E=x.getItem(f))===null||E===void 0?void 0:E.textValue)!==null&&I!==void 0?I:"";O(R),Y(R)};var Q,ce;let W=o.useRef((ce=(Q=e.selectedKey)!==null&&Q!==void 0?Q:e.defaultSelectedKey)!==null&&ce!==void 0?ce:null);var ue;let re=o.useRef(f!=null&&(ue=(t=x.getItem(f))===null||t===void 0?void 0:t.textValue)!==null&&ue!==void 0?ue:"");o.useEffect(()=>{var E;h&&(k.size>0||n)&&!F.isOpen&&D!==P&&l!=="manual"&&r(null,"input"),!s&&!n&&F.isOpen&&k.size===0&&L(),f!=null&&f!==W.current&&L(),D!==P&&(m.setFocusedKey(null),c(!1),D===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&T(null)),f!==W.current&&(e.inputValue===void 0||e.selectedKey===void 0)?J():P!==D&&O(D);var I;let R=f!=null&&(I=(E=x.getItem(f))===null||E===void 0?void 0:E.textValue)!==null&&I!==void 0?I:"";!h&&f!=null&&e.inputValue===void 0&&f===W.current&&re.current!==R&&(O(R),Y(R)),W.current=f,re.current=R});let ae=Ne.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:o.useMemo(()=>({inputValue:D,selectedKey:f}),[D,f])}),pe=()=>{a&&f==null?$():B()},$=()=>{W.current=null,T(null),L()},B=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var E,I;(E=e.onSelectionChange)===null||E===void 0||E.call(e,f);var R;let Cu=f!=null&&(R=(I=x.getItem(f))===null||I===void 0?void 0:I.textValue)!==null&&R!==void 0?R:"";O(Cu),L()}else J(),L()};const p=()=>{if(a){var E,I;const R=f!=null&&(I=(E=x.getItem(f))===null||E===void 0?void 0:E.textValue)!==null&&I!==void 0?I:"";D===R?B():$()}else B()};let Z=()=>{F.isOpen&&m.focusedKey!=null?f===m.focusedKey?B():T(m.focusedKey):p()},X=o.useRef(D),_=E=>{E?(X.current=D,l==="focus"&&!e.isReadOnly&&r(null,"focus")):(b&&p(),D!==X.current&&ae.commitValidation()),A(E)},le=o.useMemo(()=>F.isOpen?s?z:k:te,[F.isOpen,z,k,s,te]);var xe;let Ie=(xe=e.defaultSelectedKey)!==null&&xe!==void 0?xe:G;var Ce;return{...ae,...F,focusStrategy:v,toggle:d,open:r,close:p,selectionManager:m,selectedKey:f,defaultSelectedKey:Ie,setSelectedKey:T,disabledKeys:q,isFocused:h,setFocused:_,selectedItem:j,collection:le,inputValue:D,defaultInputValue:(Ce=ke(e.defaultInputValue,Ie,x))!==null&&Ce!==void 0?Ce:H,setInputValue:Y,commit:Z,revert:pe}}function Ou(e,t,u){return new ie.$a02d57049d202695$export$d085fb9e920b5ca7($u(e,e,t,u))}function $u(e,t,u,l){let n=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let b=$u(e,K.$c5a24bc478652b5f$export$1005530eda016c13(a,e),u,l);[...b].some(s=>s.type==="item")&&n.push({...a,childNodes:b})}else a.type==="item"&&l(a.textValue,u)?n.push({...a}):a.type!=="item"&&n.push({...a});return n}function ke(e,t,u){if(e==null){var l,n;if(t!=null)return(n=(l=u.getItem(t))===null||l===void 0?void 0:l.textValue)!==null&&n!==void 0?n:""}return e}const Vu=o.createContext(null),Fe=o.createContext(null),Mu=o.forwardRef(function(t,u){[t,u]=w.$64fa3d84918910a7$export$29f1550f4b0d4415(t,u,Vu);let{children:l,isDisabled:n=!1,isInvalid:a=!1,isRequired:b=!1}=t,s=o.useMemo(()=>{var c;return o.createElement(ie.$eed445e0843c11d0$export$7ff8f37d2d81a48d.Provider,{value:{items:(c=t.items)!==null&&c!==void 0?c:t.defaultItems}},typeof l=="function"?l({isOpen:!1,isDisabled:n,isInvalid:a,isRequired:b,defaultChildren:null}):l)},[l,n,a,b,t.items,t.defaultItems]);return o.createElement(Me.$e1995378a142960e$export$bf788dd355e3a401,{content:s},c=>o.createElement(Gu,{props:t,collection:c,comboBoxRef:u}))}),qu=[Be.$01b77f81d0f07f68$export$75b6ee27786ba447,Ke.$d2b4bc8c273e7be6$export$24d547caef80ccd1,$e.$3985021b0ad6602f$export$37fb8590cf2c088c,Ae.$a049562f99e7db0e$export$f9c6924e160136d1,ge.$514c0188e459b4c0$export$9afb8bc826b033ea];function Gu({props:e,collection:t,comboBoxRef:u}){let{name:l,formValue:n="key",allowsCustomValue:a}=e;a&&(n="text");let{validationBehavior:b}=w.$64fa3d84918910a7$export$fabf2dc03a41866e(Ve.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var s,c;let h=(c=(s=e.validationBehavior)!==null&&s!==void 0?s:b)!==null&&c!==void 0?c:"native",{contains:A}=ze.$bb77f239b46e8c72$export$3274cf84b703fff({sensitivity:"base"}),v=Ku({defaultFilter:e.defaultFilter||A,...e,items:e.items,children:void 0,collection:t,validationBehavior:h}),g=o.useRef(null),C=o.useRef(null),S=o.useRef(null),x=o.useRef(null),[m,f]=w.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:T,inputProps:j,listBoxProps:q,labelProps:D,descriptionProps:Y,errorMessageProps:G,...H}=Lu({...w.$64fa3d84918910a7$export$ef03459518577ad4(e),label:f,inputRef:C,buttonRef:g,listBoxRef:S,popoverRef:x,name:n==="text"?l:void 0,validationBehavior:h},v),[z,k]=o.useState(null),te=o.useCallback(()=>{if(C.current){var r;let d=(r=g.current)===null||r===void 0?void 0:r.getBoundingClientRect(),y=C.current.getBoundingClientRect(),M=d?Math.min(d.left,y.left):y.left,L=d?Math.max(d.right,y.right):y.right;k(L-M+"px")}},[g,C,k]);Ge.$9daab02d461809db$export$683480f191c0e3ea({ref:C,onResize:te});let V=o.useMemo(()=>({isOpen:v.isOpen,isDisabled:e.isDisabled||!1,isInvalid:H.isInvalid||!1,isRequired:e.isRequired||!1}),[v.isOpen,e.isDisabled,H.isInvalid,e.isRequired]),N=w.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:V,defaultClassName:"react-aria-ComboBox"}),U=qe.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});delete U.id;var F;return o.createElement(w.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Fe,v],[Be.$01b77f81d0f07f68$export$75b6ee27786ba447,{...D,ref:m}],[Ke.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{...T,ref:g,isPressed:v.isOpen}],[$e.$3985021b0ad6602f$export$37fb8590cf2c088c,{...j,ref:C}],[oe.$de32f1b87079253c$export$d2f961adcb0afbe,v],[oe.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{ref:x,triggerRef:C,scrollRef:S,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":z},clearContexts:qu}],[ie.$eed445e0843c11d0$export$7ff8f37d2d81a48d,{...q,ref:S}],[ie.$eed445e0843c11d0$export$7c5906fe4f1f2af2,v],[ge.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:Y,errorMessage:G}}],[Ae.$a049562f99e7db0e$export$f9c6924e160136d1,{isInvalid:H.isInvalid,isDisabled:e.isDisabled||!1}],[Oe.$ee014567cb39d3f0$export$ff05c3ac10437e03,H]]},o.createElement("div",{...U,...N,ref:u,slot:e.slot||void 0,"data-focused":v.isFocused||void 0,"data-open":v.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":H.isInvalid||void 0,"data-required":e.isRequired||void 0}),l&&n==="key"&&o.createElement("input",{type:"hidden",name:l,form:e.form,value:(F=v.selectedKey)!==null&&F!==void 0?F:""}))}const zu=o.createContext(null),Nu=gu.$f39a9eba43920ace$export$86427a43e3e48ebb(function(t,u){[t,u]=w.$64fa3d84918910a7$export$29f1550f4b0d4415(t,u,zu);let{validationBehavior:l}=w.$64fa3d84918910a7$export$fabf2dc03a41866e(Ve.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var n,a;let b=(a=(n=t.validationBehavior)!==null&&n!==void 0?n:l)!==null&&a!==void 0?a:"native",s=o.useRef(null);[t,s]=w.$64fa3d84918910a7$export$29f1550f4b0d4415(t,s,K.$8e6cc465cc68f603$export$698f465ec27e93df);let[c,h]=w.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!t["aria-label"]&&!t["aria-labelledby"]),[A,v]=o.useState("input"),{labelProps:g,inputProps:C,descriptionProps:S,errorMessageProps:x,...m}=Je.$2d73ec29415bd339$export$712718f7aec83d5({...w.$64fa3d84918910a7$export$ef03459518577ad4(t),inputElementType:A,label:h,validationBehavior:b},s),f=o.useCallback(q=>{s.current=q,q&&v(q instanceof HTMLTextAreaElement?"textarea":"input")},[s]),T=w.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:m.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),j=qe.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{global:!0});return delete j.id,o.createElement("div",{...j,...T,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":m.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(w.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Be.$01b77f81d0f07f68$export$75b6ee27786ba447,{...g,ref:c}],[$e.$3985021b0ad6602f$export$37fb8590cf2c088c,{...C,ref:f}],[Bu.$216918bed6669f72$export$2dc6166a7e65358c,{...C,ref:f}],[Ae.$a049562f99e7db0e$export$f9c6924e160136d1,{role:"presentation",isInvalid:m.isInvalid,isDisabled:t.isDisabled||!1}],[ge.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:S,errorMessage:x}}],[Oe.$ee014567cb39d3f0$export$ff05c3ac10437e03,m]]},T.children))}),{withProvider:Uu,withContext:ne}=we.createSlotRecipeContext({recipe:je.comboBoxSlotRecipe}),Wu=Uu("div","root"),Hu=ne("div","leadingElement"),bu=ne("div","value"),fu=ne("div","buttonGroup"),Ju=ne("div","popover"),Zu=ne("input","multiSelectInput"),Xu=ne("div","options"),Yu=ne("div","optionGroup"),Qu=ne("div","option"),_u=ne("span","optionIndicator"),eo=ne("span","optionContent"),to=e=>{const{placeholder:t,inputValue:u,allowsCustomValue:l,onSubmitCustomValue:n,onInputChange:a,ref:b}=e,[s,c]=w.$64fa3d84918910a7$export$29f1550f4b0d4415({},b||null,$e.$3985021b0ad6602f$export$37fb8590cf2c088c),h=o.useContext(Fe),A=o.useCallback(v=>{if(h?.selectedKey&&c.current&&c.current.selectionStart===0&&c.current.selectionEnd===0&&c.current.value.length>0&&v.key.length===1&&!v.ctrlKey&&!v.metaKey&&!v.altKey){v.preventDefault(),v.stopPropagation(),h.setInputValue(v.key);return}if(v.key==="Enter"&&u&&u?.trim()!==""&&a&&l&&n&&h)if(h.collection){const C=Array.from(h.collection).find(S=>S.textValue.toLowerCase()===u.toLowerCase());C?h.setSelectedKey(C.key):n(u)}else n(u)},[u,a,l,n,h]);return i.jsx(bu,{asChild:!0,children:i.jsx($e.$3985021b0ad6602f$export$f5b8910cec6cf069,{ref:c,...s,onKeyDown:A,placeholder:t})})},Te=({children:e,ref:t,...u})=>{const[l,n]=Se.extractStyleProps(u);return i.jsx(Xu,{...l,asChild:!0,children:i.jsx(ie.$eed445e0843c11d0$export$41f133550aa26f48,{ref:t,...n,children:e})})};Te.displayName="ComboBox.Options";const uo=({isDisabled:e,isReadOnly:t,isLoading:u})=>{const l=o.useContext(Fe);return i.jsxs(fu,{children:[l?.selectedKey&&i.jsx(Ee.IconButton,{pointerEvents:"all",slot:null,size:"2xs",variant:"ghost",tone:"primary","aria-label":"Clear Selection",isDisabled:e||t,_expanded:{bg:"transparent"},onPress:()=>l?.setSelectedKey(null),my:"auto",children:i.jsx(de.Close,{})}),u?i.jsx(Ze.Flex,{my:"auto",w:"600",h:"600",children:i.jsx(fe.Box,{color:"neutral.11",asChild:!0,m:"auto",w:"400",h:"400",children:i.jsx(fe.Box,{asChild:!0,animation:"spin",animationDuration:"slowest","data-testid":"nimbus-combobox-loading",children:i.jsx(de.Loop,{})})})}):i.jsx(Ee.IconButton,{size:"2xs",variant:"ghost","aria-label":"toggle combobox",tone:"neutral",my:"auto",isDisabled:e||t,_expanded:{bg:"transparent"},children:i.jsx(de.KeyboardArrowDown,{})})]})},xu=({children:e})=>{const t=o.useRef(null);return o.useEffect(()=>{const u=t.current;if(!u)return;const l=()=>{const a=u.offsetWidth,b=u.closest(".nimbus-combobox__root");b instanceof HTMLElement&&b.style.setProperty("--leading-element-width",`${a}px`)};l();const n=new ResizeObserver(l);return n.observe(u),()=>{n.disconnect()}},[]),i.jsx(Hu,{ref:t,children:e})},oo=({children:e,inputValue:t,onInputChange:u,placeholder:l,allowsCustomValue:n,onSubmitCustomValue:a,renderEmptyState:b,shouldFocusWrap:s=!0,isLoading:c,leadingElement:h,ref:A,...v})=>{if(a&&(t===void 0||!u))throw new Error('ComboBox: When "onSubmitCustomValue" is provided, "inputValue" must be controlled with "onInputChange"');const g=o.useRef(null),C=o.useCallback(()=>{g.current&&g.current.value&&requestAnimationFrame(()=>g.current?.setSelectionRange(0,0))},[g]);return i.jsxs(Mu,{inputValue:t,onInputChange:u,onFocus:C,allowsCustomValue:n,menuTrigger:"focus",shouldFocusWrap:s,...v,ref:A,children:[h&&i.jsx(xu,{children:h}),i.jsx(to,{ref:g,placeholder:l,inputValue:t,allowsCustomValue:n,onSubmitCustomValue:a,onInputChange:u}),i.jsx(uo,{isLoading:c,isDisabled:v.isDisabled,isReadOnly:v.isReadOnly}),i.jsx(oe.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:i.jsx(Te,{renderEmptyState:b,children:e})})]})};function Re(e){return e!=null&&typeof e=="object"&&"children"in e&&Array.isArray(e.children)}function me(e,t,u){if(e){if(!Object.prototype.hasOwnProperty.call(e,"id")&&t==="id")throw new Error("ComboBox: if items do not have an `id` key, you must specify which key uniquely identifies items using the `itemId` prop");if(!Object.prototype.hasOwnProperty.call(e,"name")&&u==="name")throw new Error("ComboBox: if items do not have a `name` key, you must specify which key can be used as a text value using the `itemValue` prop")}}const no=({selectedKeys:e=new Set,items:t,itemId:u="id",itemValue:l="name",placeholder:n,onSelectionChange:a,isDisabled:b,isReadOnly:s,size:c,containerRef:h,ref:A})=>{const v=o.useMemo(()=>{if(!t)return[];const C=Array.from(e);if(Array.isArray(t)){const x=t[0];if(x&&Re(x)){const f=[];return t.forEach(T=>{Re(T)&&f.push(...T.children)}),me(f?.[0],u,l),C.map(T=>f.find(j=>j[u]===T)).filter(T=>T!==void 0)}const m=t;return me(m?.[0],u,l),C.map(f=>m.find(T=>T[u]===f)).filter(f=>f!==void 0)}const S=C.map(x=>Array.from(t).find(m=>m[u]===x)).filter(x=>x!==void 0);return me(S?.[0],u,l),S},[t,e,u]),g=o.useCallback(C=>{if(!(b||s)&&e instanceof Set){const S=e,x=new Set([...S].filter(m=>!C.has(m)));a?.(x),h?.current&&h.current.focus()}},[b,s,e,a]);return i.jsx(oe.$f1ab8c75478c6f73$export$cf75428e0b9ed1ea,{children:i.jsx(bu,{asChild:!0,alignItems:"space-between",justifyContent:"center",ref:A,children:i.jsx(ve.TagGroup.Root,{size:c,onRemove:g,"aria-label":"Selected values",selectionMode:"none",disabledKeys:b||s?e:void 0,"data-disabled":b,children:i.jsx(ve.TagGroup.TagList,{items:v,dependencies:[u],maxW:"100%",tabIndex:v.length===0||b||s?-1:void 0,renderEmptyState:()=>n&&i.jsx("div",{"data-placeholder":"true",style:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis"},children:n}),children:C=>i.jsx(ve.TagGroup.Tag,{id:C[u],maxW:"100%",children:C[l]})})})})})},lo=({selectedKeys:e,onSelectionChange:t,onInputChange:u,containerRef:l,isDisabled:n,isReadOnly:a,isLoading:b})=>{const s=o.useCallback(()=>{t?.(new Set),u?.(""),l?.current&&l.current.focus()},[]);return i.jsxs(fu,{children:[i.jsx(oe.$f1ab8c75478c6f73$export$cf75428e0b9ed1ea,{children:e instanceof Set&&e.size>0&&i.jsx(Ee.IconButton,{pointerEvents:"all",slot:null,size:"2xs",variant:"ghost",tone:"primary","aria-label":"Clear Selection",isDisabled:n||a,onPress:s,my:"auto",children:i.jsx(de.Close,{})})}),i.jsx(Ze.Flex,{my:"auto",w:"600",h:"600",color:"neutral.11",opacity:a||n?"0.5":void 0,cursor:a||n?"not-allowed":void 0,children:i.jsx(fe.Box,{pointerEvents:"none",asChild:!0,m:"auto",w:"400",h:"400",children:b?i.jsx(fe.Box,{asChild:!0,animation:"spin",animationDuration:"slowest","data-testid":"nimbus-combobox-loading",children:i.jsx(de.Loop,{})}):i.jsx(de.KeyboardArrowDown,{})})})]})};function io(e){let t;for(t of e);return t}const co=({children:e,defaultFilter:t,inputValue:u,defaultInputValue:l,onInputChange:n,defaultSelectedKeys:a=new Set,selectedKeys:b,onSelectionChange:s,onOpenChange:c,disabledKeys:h,items:A,defaultItems:v,itemId:g="id",itemValue:C="name",isLoading:S,isDisabled:x,isReadOnly:m,isRequired:f,isInvalid:T,className:j,placeholder:q,size:D="md",allowsCustomValue:Y,onSubmitCustomValue:G,renderEmptyState:H,ref:z,leadingElement:k,...te})=>{const[V,N]=o.useState(!1),U=o.useRef(!1),[F,r]=o.useState(),d=b??F??a,y=s??r,[M,L]=o.useState(""),P=u??M??l,O=n??L,J=A??v,Q=ze.$bb77f239b46e8c72$export$3274cf84b703fff({sensitivity:"base"}),ce=(...p)=>Q.contains.apply(void 0,p),W=o.useCallback(p=>{if(x||m){V&&N(!1);return}c&&c?.(p),N(p),p||(U.current=!0,requestAnimationFrame(()=>{setTimeout(()=>{U.current=!1},50)}))},[x,m,c,V]);o.useEffect(()=>{(x||m)&&W(!1)},[x,m]);const ue=o.useCallback(p=>{x||m||p.target===p.currentTarget&&!V&&!U.current&&W(!0)},[V]),re=o.useCallback(()=>{if(d!=="all"&&d instanceof Set){const p=io(d);if(p!=null){const Z=new Set(d);Z.delete(p),y(Z)}}},[d,y]),ae=o.useCallback(p=>{(p.key==="ArrowDown"||p.key==="ArrowUp"||p.key==="Enter")&&p.target===$.current&&(p.preventDefault(),W(!0))},[]),pe=o.useCallback(p=>{if(p.key==="Backspace"&&P===""){re();return}if(p.key==="Escape"){W(!1),$.current&&$.current.focus();return}if(p.key==="Enter"&&P.trim()!==""&&Y&&G)if(p.stopPropagation(),J){const Z=P.trim(),X=Array.from(J).find(_=>(typeof _=="object"&&_!==null&&C in _?String(_[C]):JSON.stringify(_)).toLowerCase()===Z.toLowerCase());if(X){const _=typeof X=="object"&&X!==null&&g in X?X[g]:X,le=new Set(d);le.add(_),y(le),O("")}else G(P),O("")}else G(P),O("")},[P,re,Y,G,J,C,g,d,y,O]),$=o.useRef(null),B=yu.mergeRefs(z,$);return i.jsxs(oe.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:V,onOpenChange:W,children:[i.jsx(Tu,{allowTextSelectionOnPress:!0,children:i.jsxs("div",{className:j,tabIndex:x?-1:0,ref:B,role:"combobox",onKeyDown:ae,onFocus:ue,"aria-expanded":V,"aria-haspopup":"dialog","aria-disabled":x,"aria-readonly":m,"aria-required":f,"aria-invalid":T,"data-disabled":x,"data-invalid":T,"data-required":f,"data-open":V,...te,children:[k&&i.jsx(xu,{children:k}),i.jsx(no,{items:J,selectedKeys:d,onSelectionChange:y,itemId:g,itemValue:C,placeholder:q,size:D,containerRef:$,isDisabled:x,isReadOnly:m}),i.jsx(lo,{selectedKeys:d,onSelectionChange:y,onInputChange:O,containerRef:$,isDisabled:x,isReadOnly:m,isLoading:S})]})}),i.jsx(Ju,{asChild:!0,children:i.jsx(oe.$07b14b47974efb58$export$5b6b19405a83ff9d,{triggerRef:$,placement:"bottom start",children:i.jsx(oe.$de32f1b87079253c$export$3ddf2d174ce01153,{"aria-label":"combobox dialog",children:i.jsxs(ju,{filter:t??ce,inputValue:P,onInputChange:O,children:[i.jsx(Zu,{asChild:!0,children:i.jsx(Nu,{autoFocus:!0,isDisabled:x,isReadOnly:m,isRequired:f,"aria-label":"filter combobox options",children:i.jsx($e.$3985021b0ad6602f$export$f5b8910cec6cf069,{onKeyDownCapture:pe,placeholder:q})})}),i.jsx(Te,{items:J,selectionMode:"multiple",onSelectionChange:y,selectedKeys:d,shouldFocusWrap:!0,disabledKeys:x?"all":h,escapeKeyBehavior:"none","aria-label":"combobox options",renderEmptyState:H,children:e})]})})})})]})},De=({children:e,ref:t,...u})=>{const l=we.useSlotRecipe({recipe:je.comboBoxSlotRecipe}),[n,a]=l.splitVariantProps(u),[b,s]=Se.extractStyleProps(a),c="selectionMode"in u&&u.selectionMode==="multiple"?co:oo;return i.jsx(Wu,{asChild:!0,selectionMode:u.selectionMode,...n,...b,children:i.jsx(c,{ref:t,size:n.size,...s,children:e})})};De.displayName="ComboBox.Root";const Le=({children:e,label:t,items:u,ref:l,...n})=>{if(u&&typeof e!="function")throw new Error('ComboBoxOptionGroup: When "items" is provided, "children" must be a function');return i.jsxs(ie.$eed445e0843c11d0$export$dca12b0bb56e4fc,{ref:l,...n,children:[i.jsx(Yu,{asChild:!0,children:i.jsx(We.$72a5793c14baf454$export$8b251419efc915eb,{children:t})}),u?i.jsx(Me.$e1995378a142960e$export$fb8073518f34e6ec,{items:u,children:a=>typeof e=="function"?e(a):null}):e]})};Le.displayName="ComboBox.OptionGroup";const Pe=({children:e,ref:t,...u})=>{const[l,n]=Se.extractStyleProps(u),a=typeof e=="string"?e:void 0;return i.jsx(Qu,{...l,asChild:!0,children:i.jsx(ie.$eed445e0843c11d0$export$a11e76429ed99b4,{ref:t,textValue:u.textValue??a,"aria-label":u.textValue??a,...n,children:b=>{const s=typeof e=="function"?e({...b}):e;return b.selectionMode==="multiple"?i.jsxs(i.Fragment,{children:[i.jsx(_u,{children:i.jsx("span",{"data-selected":b.isSelected,children:b.isSelected&&i.jsx(de.Check,{})})}),i.jsx(eo,{children:s})]}):i.jsx(i.Fragment,{children:s})}})})};Pe.displayName="ComboBox.Option";const ro={Root:De,OptionGroup:Le,Option:Pe};exports.ComboBox=ro;exports.ComboBoxOption=Pe;exports.ComboBoxOptionGroup=Le;exports.ComboBoxRoot=De;
2
- //# sourceMappingURL=combobox-C9pPDZQn.cjs.js.map
1
+ "use strict";const i=require("react/jsx-runtime"),we=require("@chakra-ui/react/styled-system"),je=require("./index-DX8-EG6B.cjs.js"),o=require("react"),Ke=require("./Button-BtJHe9xY.cjs.js"),j=require("./utils-BHdR5Nww.cjs.js"),Oe=require("./FieldError-DyGFfqST.cjs.js"),Ve=require("./Form-BuOomA4T.cjs.js"),Ae=require("./Group-MdeByg6t.cjs.js"),$e=require("./Input-HBDt7LmM.cjs.js"),Be=require("./Label-BgrYyYXn.cjs.js"),ie=require("./ListBox-DW2g6DgQ.cjs.js"),oe=require("./Dialog-32GmWneq.cjs.js"),ge=require("./Text-BWSfeB9p.cjs.js"),Me=require("./Separator-DQ53Zxpp.cjs.js"),qe=require("./filterDOMProps-WUskt27c.cjs.js"),Ge=require("./OverlayArrow-CYjyBtg8.cjs.js"),ze=require("./useFilter-CG8lxfCP.cjs.js"),Ne=require("./useFormValidation-BEaCuNx1.cjs.js"),K=require("./SelectionManager-CZSEfn4s.cjs.js"),hu=require("./useSingleSelectListState-BjYKH0pH.cjs.js"),Ue=require("./useControlledState-D0L6S_5r.cjs.js"),he=require("./LiveAnnouncer-BkrEjKY8.cjs.js"),ee=require("./mergeProps-BA5Cwf5w.cjs.js"),se=require("./utils-BGHwK7fd.cjs.js"),vu=require("./openLink-DkCJYbzq.cjs.js"),ye=require("./useLabel-Y8tWagLu.cjs.js"),mu=require("./useUpdateEffect-C5YQs_1w.cjs.js"),be=require("./platform-BDLy2vDY.cjs.js"),We=require("./Header-C0mOQKWH.cjs.js"),He=require("./useLocalizedStringFormatter-sB0mFYtL.cjs.js"),Je=require("./useTextField-BcthGRd8.cjs.js"),Se=require("./extractStyleProps-CgqRiEwd.cjs.js"),de=require("@commercetools/nimbus-icons"),fe=require("./box-CWni3A32.cjs.js"),Ee=require("./icon-button-0GLW7WtL.cjs.js"),Ze=require("@chakra-ui/react/flex"),yu=require("@chakra-ui/react"),Xe=require("./useObjectRef-dXOJdONs.cjs.js"),Eu=require("./useEvent-CuUOU5WV.cjs.js"),Au=require("./useFocusVisible-Co0C61s7.cjs.js"),Bu=require("./TextArea-D3FFXnUy.cjs.js"),gu=require("./Hidden-CNJIJ63M.cjs.js"),ve=require("./tag-group-3ESWulAU.cjs.js"),Su=require("./usePress-C8-hLXJw.cjs.js"),Fu=require("./useFocusable-DCgmQxS1.cjs.js"),Tu=o.forwardRef(({children:e,...t},u)=>{u=Xe.$df56164dff5785e2$export$4338b53315abf666(u);let{pressProps:l}=Su.$f6c31cce2adf654f$export$45712eceda6fad21({...t,ref:u}),{focusableProps:n}=Fu.$f645667febf57a63$export$4c014de7c8940b4c(t,u),a=o.Children.only(e);o.useEffect(()=>{if(process.env.NODE_ENV==="production")return;let s=u.current;if(!s||!(s instanceof se.$431fbd86ca7dc216$export$f21a1ffae260145a(s).Element)){console.error("<Pressable> child must forward its ref to a DOM element.");return}if(!t.isDisabled&&!se.$b4b717babfbb907b$export$4c063cf1350e6fed(s)){console.warn("<Pressable> child must be focusable. Please ensure the tabIndex prop is passed through.");return}if(s.localName!=="button"&&s.localName!=="input"&&s.localName!=="select"&&s.localName!=="textarea"&&s.localName!=="a"&&s.localName!=="area"&&s.localName!=="summary"){let c=s.getAttribute("role");c?c!=="application"&&c!=="button"&&c!=="checkbox"&&c!=="combobox"&&c!=="gridcell"&&c!=="link"&&c!=="menuitem"&&c!=="menuitemcheckbox"&&c!=="menuitemradio"&&c!=="option"&&c!=="radio"&&c!=="searchbox"&&c!=="separator"&&c!=="slider"&&c!=="spinbutton"&&c!=="switch"&&c!=="tab"&&c!=="textbox"&&c!=="treeitem"&&console.warn(`<Pressable> child must have an interactive ARIA role. Got "${c}".`):console.warn("<Pressable> child must have an interactive ARIA role.")}},[u,t.isDisabled]);let b=parseInt(o.version,10)<19?a.ref:a.props.ref;return o.cloneElement(a,{...ee.$3ef42575df84b30b$export$9d1611c77c2fe928(l,n,a.props),ref:j.$5dc95899b306f630$export$c9058316764c140e(b,u)})});var Ye={};Ye={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var Qe={};Qe={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var _e={};_e={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var et={};et={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var tt={};tt={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var ut={};ut={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var ot={};ot={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var nt={};nt={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var lt={};lt={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var it={};it={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var ct={};ct={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var rt={};rt={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var at={};at={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var st={};st={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var dt={};dt={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var pt={};pt={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var $t={};$t={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var bt={};bt={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var ft={};ft={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var xt={};xt={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var Ct={};Ct={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var ht={};ht={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var vt={};vt={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var mt={};mt={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var yt={};yt={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var Et={};Et={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var At={};At={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var Bt={};Bt={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var gt={};gt={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var St={};St={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var Ft={};Ft={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var Tt={};Tt={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var Dt={};Dt={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var Lt={};Lt={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var Pt={};Pt={"ar-AE":Ye,"bg-BG":Qe,"cs-CZ":_e,"da-DK":et,"de-DE":tt,"el-GR":ut,"en-US":ot,"es-ES":nt,"et-EE":lt,"fi-FI":it,"fr-FR":ct,"he-IL":rt,"hr-HR":at,"hu-HU":st,"it-IT":dt,"ja-JP":pt,"ko-KR":$t,"lt-LT":bt,"lv-LV":ft,"nb-NO":xt,"nl-NL":Ct,"pl-PL":ht,"pt-BR":vt,"pt-PT":mt,"ro-RO":yt,"ru-RU":Et,"sk-SK":At,"sl-SI":Bt,"sr-SP":gt,"sv-SE":St,"tr-TR":Ft,"uk-UA":Tt,"zh-CN":Dt,"zh-TW":Lt};function Du(e){return e&&e.__esModule?e.default:e}function Lu(e,t){let{buttonRef:u,popoverRef:l,inputRef:n,listBoxRef:a,keyboardDelegate:b,layoutDelegate:s,shouldFocusWrap:c,isReadOnly:h,isDisabled:E}=e,v=o.useRef(null);u=u??v;let g=He.$fca6afa0e843324b$export$f12b703ca79dfbb1(Du(Pt),"@react-aria/combobox"),{menuTriggerProps:C,menuProps:S}=oe.$168583247155ddda$export$dc9c12ed27dd1b49({type:"listbox",isDisabled:E||h},t,u);ie.$b1f0cad8af73213b$export$3585ede4d035bf14.set(t,{id:S.id});let{collection:x}=t,{disabledKeys:m}=t.selectionManager,f=o.useMemo(()=>b||new K.$2a25aae57d74318e$export$a05409b8bb224a5a({collection:x,disabledKeys:m,ref:a,layoutDelegate:s}),[b,s,x,m,a]),{collectionProps:T}=K.$ae20dd8cbca75726$export$d6daf82dcd84e87c({selectionManager:t.selectionManager,keyboardDelegate:f,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:c,ref:n,isVirtualized:!0}),R=vu.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),q=$=>{if(!$.nativeEvent.isComposing)switch($.key){case"Enter":case"Tab":if(t.isOpen&&$.key==="Enter"&&$.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let B=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if($.key==="Enter"&&B instanceof HTMLAnchorElement){let p=t.collection.getItem(t.selectionManager.focusedKey);p&&R.open(B,$,p.props.href,p.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&$.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},L=$=>{var B;let p=u?.current&&u.current===$.relatedTarget,Z=(B=l.current)===null||B===void 0?void 0:B.contains($.relatedTarget);p||Z||(e.onBlur&&e.onBlur($),t.setFocused(!1))},Y=$=>{t.isFocused||(e.onFocus&&e.onFocus($),t.setFocused(!0))},{isInvalid:G,validationErrors:H,validationDetails:z}=t.displayValidation,{labelProps:k,inputProps:te,descriptionProps:V,errorMessageProps:N}=Je.$2d73ec29415bd339$export$712718f7aec83d5({...e,onChange:t.setInputValue,onKeyDown:h?e.onKeyDown:ee.$ff5963eb1fccf552$export$e08e3b67e392101e(t.isOpen&&T.onKeyDown,q,e.onKeyDown),onBlur:L,value:t.inputValue,defaultValue:t.defaultInputValue,onFocus:Y,autoComplete:"off",validate:void 0,[Ne.$e5be200c675c3b3a$export$a763b9476acd3eb]:t},n),U=$=>{if($.pointerType==="touch"){var B;(B=n.current)===null||B===void 0||B.focus(),t.toggle(null,"manual")}},F=$=>{if($.pointerType!=="touch"){var B;(B=n.current)===null||B===void 0||B.focus(),t.toggle($.pointerType==="keyboard"||$.pointerType==="virtual"?"first":null,"manual")}},r=ye.$313b98861ee5dd6c$export$d6875122194c7b44({id:C.id,"aria-label":g.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||k.id}),d=ye.$313b98861ee5dd6c$export$d6875122194c7b44({id:S.id,"aria-label":g.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||k.id}),y=o.useRef(0),M=$=>{if(E||h)return;if($.timeStamp-y.current<500){var B;$.preventDefault(),(B=n.current)===null||B===void 0||B.focus();return}let p=$.target.getBoundingClientRect(),Z=$.changedTouches[0],X=Math.ceil(p.left+.5*p.width),_=Math.ceil(p.top+.5*p.height);if(Z.clientX===X&&Z.clientY===_){var le;$.preventDefault(),(le=n.current)===null||le===void 0||le.focus(),t.toggle(null,"manual"),y.current=$.timeStamp}},P=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var D;let O=(D=P?.parentKey)!==null&&D!==void 0?D:null;var J;let Q=(J=t.selectionManager.focusedKey)!==null&&J!==void 0?J:null,ce=o.useRef(O),W=o.useRef(Q);o.useEffect(()=>{if(be.$c87311424ea30a05$export$e1865c3bedcd822b()&&P!=null&&Q!=null&&Q!==W.current){let B=t.selectionManager.isSelected(Q),p=O!=null?t.collection.getItem(O):null,Z=p?.["aria-label"]||(typeof p?.rendered=="string"?p.rendered:"")||"";var $;let X=g.format("focusAnnouncement",{isGroupChange:($=p&&O!==ce.current)!==null&&$!==void 0?$:!1,groupTitle:Z,groupCount:p?[...K.$c5a24bc478652b5f$export$1005530eda016c13(p,t.collection)].length:0,optionText:P["aria-label"]||P.textValue||"",isSelected:B});he.$319e236875307eab$export$a9b970dcc4ae71a9(X)}ce.current=O,W.current=Q});let ue=We.$453cc9f0df89c0a5$export$77d5aafae4e095b2(t.collection),re=o.useRef(ue),ae=o.useRef(t.isOpen);o.useEffect(()=>{let $=t.isOpen!==ae.current&&(t.selectionManager.focusedKey==null||be.$c87311424ea30a05$export$e1865c3bedcd822b());if(t.isOpen&&($||ue!==re.current)){let B=g.format("countAnnouncement",{optionCount:ue});he.$319e236875307eab$export$a9b970dcc4ae71a9(B)}re.current=ue,ae.current=t.isOpen});let pe=o.useRef(t.selectedKey);return o.useEffect(()=>{if(be.$c87311424ea30a05$export$e1865c3bedcd822b()&&t.isFocused&&t.selectedItem&&t.selectedKey!==pe.current){let $=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",B=g.format("selectedAnnouncement",{optionText:$});he.$319e236875307eab$export$a9b970dcc4ae71a9(B)}pe.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return oe.$5e3802645cc19319$export$1c3ebcada18427bf([n.current,l.current].filter($=>$!=null))},[t.isOpen,n,l]),mu.$4f58c5f72bcf79f7$export$496315a1608d9602(()=>{!P&&n.current&&se.$d4ee10de306f2510$export$cd4e5573fbe2b576(se.$431fbd86ca7dc216$export$b204af158042fbac(n.current))===n.current&&K.$55f9b1ae81f22853$export$2b35b76d2e30e129(n.current,null)},[P]),{labelProps:k,buttonProps:{...C,...r,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:U,onPressStart:F,isDisabled:E||h},inputProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(te,{role:"combobox","aria-expanded":C["aria-expanded"],"aria-controls":t.isOpen?S.id:void 0,"aria-autocomplete":"list","aria-activedescendant":P?ie.$b1f0cad8af73213b$export$9145995848b05025(t,P.key):void 0,onTouchEnd:M,autoCorrect:"off",spellCheck:"false"}),listBoxProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(S,d,{autoFocus:t.focusStrategy||!0,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:V,errorMessageProps:N,isInvalid:G,validationErrors:H,validationDetails:z}}var It={};It={collectionLabel:"مقترحات"};var kt={};kt={collectionLabel:"Предложения"};var Rt={};Rt={collectionLabel:"Návrhy"};var wt={};wt={collectionLabel:"Forslag"};var jt={};jt={collectionLabel:"Empfehlungen"};var Kt={};Kt={collectionLabel:"Προτάσεις"};var Ot={};Ot={collectionLabel:"Suggestions"};var Vt={};Vt={collectionLabel:"Sugerencias"};var Mt={};Mt={collectionLabel:"Soovitused"};var qt={};qt={collectionLabel:"Ehdotukset"};var Gt={};Gt={collectionLabel:"Suggestions"};var zt={};zt={collectionLabel:"הצעות"};var Nt={};Nt={collectionLabel:"Prijedlozi"};var Ut={};Ut={collectionLabel:"Javaslatok"};var Wt={};Wt={collectionLabel:"Suggerimenti"};var Ht={};Ht={collectionLabel:"候補"};var Jt={};Jt={collectionLabel:"제안"};var Zt={};Zt={collectionLabel:"Pasiūlymai"};var Xt={};Xt={collectionLabel:"Ieteikumi"};var Yt={};Yt={collectionLabel:"Forslag"};var Qt={};Qt={collectionLabel:"Suggesties"};var _t={};_t={collectionLabel:"Sugestie"};var eu={};eu={collectionLabel:"Sugestões"};var tu={};tu={collectionLabel:"Sugestões"};var uu={};uu={collectionLabel:"Sugestii"};var ou={};ou={collectionLabel:"Предложения"};var nu={};nu={collectionLabel:"Návrhy"};var lu={};lu={collectionLabel:"Predlogi"};var iu={};iu={collectionLabel:"Predlozi"};var cu={};cu={collectionLabel:"Förslag"};var ru={};ru={collectionLabel:"Öneriler"};var au={};au={collectionLabel:"Пропозиції"};var su={};su={collectionLabel:"建议"};var du={};du={collectionLabel:"建議"};var pu={};pu={"ar-AE":It,"bg-BG":kt,"cs-CZ":Rt,"da-DK":wt,"de-DE":jt,"el-GR":Kt,"en-US":Ot,"es-ES":Vt,"et-EE":Mt,"fi-FI":qt,"fr-FR":Gt,"he-IL":zt,"hr-HR":Nt,"hu-HU":Ut,"it-IT":Wt,"ja-JP":Ht,"ko-KR":Jt,"lt-LT":Zt,"lv-LV":Xt,"nb-NO":Yt,"nl-NL":Qt,"pl-PL":_t,"pt-BR":eu,"pt-PT":tu,"ro-RO":uu,"ru-RU":ou,"sk-SK":nu,"sl-SI":lu,"sr-SP":iu,"sv-SE":cu,"tr-TR":ru,"uk-UA":au,"zh-CN":su,"zh-TW":du};function Pu(e){return e&&e.__esModule?e.default:e}function Iu(e,t){let{inputRef:u,collectionRef:l,filter:n,disableAutoFocusFirst:a=!1,disableVirtualFocus:b=!1}=e,s=ee.$bdb11010cef70236$export$b4cc09c592e8fdb8(),c=o.useRef(void 0),h=o.useRef(!1),E=o.useRef(null),v=o.useRef(null),C=!(Au.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="virtual"&&(be.$c87311424ea30a05$export$fedb369cb70207f1()||be.$c87311424ea30a05$export$a11b0059900ceec8()))&&!b;o.useEffect(()=>()=>clearTimeout(c.current),[]);let S=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(r=>{!r.isTrusted&&C&&u.current&&se.$d4ee10de306f2510$export$cd4e5573fbe2b576(se.$431fbd86ca7dc216$export$b204af158042fbac(u.current))!==u.current&&u.current.focus();let d=r.target;r.isTrusted||!d||E.current===d.id||(clearTimeout(c.current),d!==l.current?h.current?(E.current=d.id,c.current=setTimeout(()=>{t.setFocusedNodeId(d.id)},500)):(E.current=d.id,t.setFocusedNodeId(d.id)):E.current&&!document.getElementById(E.current)&&(E.current=null,t.setFocusedNodeId(null)),h.current=!1)}),x=o.useCallback(r=>{var d;if(r!=null){var y;(y=v.current)===null||y===void 0||y.removeEventListener("focusin",S),v.current=r,r.addEventListener("focusin",S)}else(d=v.current)===null||d===void 0||d.removeEventListener("focusin",S)},[S]),m=Xe.$df56164dff5785e2$export$4338b53315abf666(o.useMemo(()=>j.$5dc95899b306f630$export$c9058316764c140e(l,x),[l,x])),f=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(()=>{var r;h.current=!0,(r=l.current)===null||r===void 0||r.dispatchEvent(new CustomEvent(K.$5671b20cf9b562b2$export$831c820ad60f9d12,{cancelable:!0,bubbles:!0,detail:{focusStrategy:"first"}}))}),T=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(r=>{var d;K.$55f9b1ae81f22853$export$76e4e37e5339496d(se.$d4ee10de306f2510$export$cd4e5573fbe2b576()),E.current=null,t.setFocusedNodeId(null);let y=new CustomEvent(K.$5671b20cf9b562b2$export$447a38995de2c711,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:r}});clearTimeout(c.current),h.current=!1,(d=l.current)===null||d===void 0||d.dispatchEvent(y)}),R=o.useRef("");Eu.$e9faafb641e167db$export$90fc3a17d93f704c(u,"input",r=>{let{inputType:d}=r;R.current=d});let q=r=>{R.current==="insertText"&&!a?f():R.current&&(R.current.includes("insert")||R.current.includes("delete")||R.current.includes("history"))&&(T(!0),K.$55f9b1ae81f22853$export$759df0d867455a91(document)===u.current&&K.$55f9b1ae81f22853$export$2b35b76d2e30e129(u.current,null)),t.setInputValue(r)},L=o.useRef(null),Y=r=>{if(L.current=r.target,r.nativeEvent.isComposing)return;let d=E.current;switch(r.key){case"a":if(K.$21f1aa98acb08317$export$16792effe837dba3(r))return;break;case"Escape":if(r.isDefaultPrevented())return;break;case" ":return;case"Tab":"continuePropagation"in r&&r.continuePropagation();return;case"Home":case"End":case"PageDown":case"PageUp":case"ArrowUp":case"ArrowDown":{var y;if((r.key==="Home"||r.key==="End")&&d==null&&r.shiftKey)return;r.preventDefault();let D=new CustomEvent(K.$5671b20cf9b562b2$export$831c820ad60f9d12,{cancelable:!0,bubbles:!0});(y=l.current)===null||y===void 0||y.dispatchEvent(D);break}}r.isPropagationStopped()||r.stopPropagation();let M=!0;if(l.current!==null){var P;if(d==null)M=((P=l.current)===null||P===void 0?void 0:P.dispatchEvent(new KeyboardEvent(r.nativeEvent.type,r.nativeEvent)))||!1;else{let D=document.getElementById(d);D&&(M=D?.dispatchEvent(new KeyboardEvent(r.nativeEvent.type,r.nativeEvent))||!1)}}if(M)switch(r.key){case"ArrowLeft":case"ArrowRight":T();break;case"Enter":if(d!=null){let D=document.getElementById(d);D?.click()}break}else r.preventDefault()},G=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(r=>{if(r.target===L.current){var d;r.stopImmediatePropagation();let y=E.current;if(y==null)(d=l.current)===null||d===void 0||d.dispatchEvent(new KeyboardEvent(r.type,r));else{let M=document.getElementById(y);M?.dispatchEvent(new KeyboardEvent(r.type,r))}}});o.useEffect(()=>(document.addEventListener("keyup",G,!0),()=>{document.removeEventListener("keyup",G,!0)}),[G]);let H=He.$fca6afa0e843324b$export$f12b703ca79dfbb1(Pu(pu),"@react-aria/autocomplete"),z=ye.$313b98861ee5dd6c$export$d6875122194c7b44({id:s,"aria-label":H.format("collectionLabel")}),k=o.useCallback((r,d)=>n?n(r,t.inputValue,d):!0,[t.inputValue,n]),te=r=>{if(!r.isTrusted)return;let d=E.current?document.getElementById(E.current):null;d&&K.$55f9b1ae81f22853$export$6c5dc7e81d2cc29a(d,r.relatedTarget)},V=r=>{if(!r.isTrusted)return;if(E.current?document.getElementById(E.current):null){let y=r.target;queueMicrotask(()=>{K.$55f9b1ae81f22853$export$6c5dc7e81d2cc29a(y,l.current),K.$55f9b1ae81f22853$export$2b35b76d2e30e129(l.current,y)})}},N={value:t.inputValue,onChange:q};var U;let F={onKeyDown:Y,"aria-activedescendant":(U=t.focusedNodeId)!==null&&U!==void 0?U:void 0,onBlur:te,onFocus:V};return s&&(N={...N,...C&&F,enterKeyHint:"go","aria-controls":s,"aria-autocomplete":"list",autoCorrect:"off",spellCheck:"false",autoComplete:"off"}),{inputProps:N,collectionProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(z,{shouldUseVirtualFocus:C,disallowTypeAhead:!0}),collectionRef:m,filter:n!=null?k:void 0}}function ku(e){let{onInputChange:t,inputValue:u,defaultInputValue:l=""}=e,n=h=>{t&&t(h)},[a,b]=o.useState(null),[s,c]=Ue.$458b0a5536c1a7cf$export$40bfa8c7b0832715(u,l,n);return{inputValue:s,setInputValue:c,focusedNodeId:a,setFocusedNodeId:b}}const Ru=o.createContext(null),wu=o.createContext(null);function ju(e){let t=j.$64fa3d84918910a7$export$fabf2dc03a41866e(Ru,e.slot);e=ee.$3ef42575df84b30b$export$9d1611c77c2fe928(t,e);let{filter:u,disableAutoFocusFirst:l}=e,n=ku(e),a=o.useRef(null),b=o.useRef(null),{inputProps:s,collectionProps:c,collectionRef:h,filter:E}=Iu({...j.$64fa3d84918910a7$export$ef03459518577ad4(e),filter:u,disableAutoFocusFirst:l,inputRef:a,collectionRef:b},n);return o.createElement(j.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[wu,n],[K.$8e6cc465cc68f603$export$698f465ec27e93df,{...s,ref:a}],[K.$8e6cc465cc68f603$export$b0d3ecf7112093a7,{...c,filter:E,ref:h}]]},e.children)}function Ku(e){var t;let{defaultFilter:u,menuTrigger:l="input",allowsEmptyCollection:n=!1,allowsCustomValue:a,shouldCloseOnBlur:b=!0}=e,[s,c]=o.useState(!1),[h,E]=o.useState(!1),[v,g]=o.useState(null),C=A=>{e.onSelectionChange&&e.onSelectionChange(A),A===f&&(J(),P())};var S;let{collection:x,selectionManager:m,selectedKey:f,setSelectedKey:T,selectedItem:R,disabledKeys:q}=hu.$a0d645289fe9b86b$export$e7f05e985daf4b5f({...e,onSelectionChange:C,items:(S=e.items)!==null&&S!==void 0?S:e.defaultItems}),[L,Y]=Ue.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.inputValue,ke(e.defaultInputValue,f,x)||"",e.onInputChange),[G]=o.useState(f),[H]=o.useState(L),z=x,k=o.useMemo(()=>e.items!=null||!u?x:Ou(x,L,u),[x,L,u,e.items]),[te,V]=o.useState(k),N=o.useRef("focus"),U=A=>{e.onOpenChange&&e.onOpenChange(A,A?N.current:void 0),m.setFocused(A),A||m.setFocusedKey(null)},F=Ge.$fc909762b330b746$export$61c6a8c84e605fb6({...e,onOpenChange:U,isOpen:void 0,defaultOpen:void 0}),r=(A=null,I)=>{let w=I==="manual"||I==="focus"&&l==="focus";(n||k.size>0||w&&z.size>0||e.items)&&(w&&!F.isOpen&&e.items===void 0&&c(!0),N.current=I,g(A),F.open())},d=(A=null,I)=>{let w=I==="manual"||I==="focus"&&l==="focus";!(n||k.size>0||w&&z.size>0||e.items)&&!F.isOpen||(w&&!F.isOpen&&e.items===void 0&&c(!0),F.isOpen||(N.current=I),M(A))},y=o.useCallback(()=>{V(s?z:k)},[s,z,k]),M=o.useCallback((A=null)=>{F.isOpen&&y(),g(A),F.toggle()},[F,y]),P=o.useCallback(()=>{F.isOpen&&(y(),F.close())},[F,y]),[D,O]=o.useState(L),J=()=>{var A,I;let w=f!=null&&(I=(A=x.getItem(f))===null||A===void 0?void 0:A.textValue)!==null&&I!==void 0?I:"";O(w),Y(w)};var Q,ce;let W=o.useRef((ce=(Q=e.selectedKey)!==null&&Q!==void 0?Q:e.defaultSelectedKey)!==null&&ce!==void 0?ce:null);var ue;let re=o.useRef(f!=null&&(ue=(t=x.getItem(f))===null||t===void 0?void 0:t.textValue)!==null&&ue!==void 0?ue:"");o.useEffect(()=>{var A;h&&(k.size>0||n)&&!F.isOpen&&L!==D&&l!=="manual"&&r(null,"input"),!s&&!n&&F.isOpen&&k.size===0&&P(),f!=null&&f!==W.current&&P(),L!==D&&(m.setFocusedKey(null),c(!1),L===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&T(null)),f!==W.current&&(e.inputValue===void 0||e.selectedKey===void 0)?J():D!==L&&O(L);var I;let w=f!=null&&(I=(A=x.getItem(f))===null||A===void 0?void 0:A.textValue)!==null&&I!==void 0?I:"";!h&&f!=null&&e.inputValue===void 0&&f===W.current&&re.current!==w&&(O(w),Y(w)),W.current=f,re.current=w});let ae=Ne.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:o.useMemo(()=>({inputValue:L,selectedKey:f}),[L,f])}),pe=()=>{a&&f==null?$():B()},$=()=>{W.current=null,T(null),P()},B=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var A,I;(A=e.onSelectionChange)===null||A===void 0||A.call(e,f);var w;let Cu=f!=null&&(w=(I=x.getItem(f))===null||I===void 0?void 0:I.textValue)!==null&&w!==void 0?w:"";O(Cu),P()}else J(),P()};const p=()=>{if(a){var A,I;const w=f!=null&&(I=(A=x.getItem(f))===null||A===void 0?void 0:A.textValue)!==null&&I!==void 0?I:"";L===w?B():$()}else B()};let Z=()=>{F.isOpen&&m.focusedKey!=null?f===m.focusedKey?B():T(m.focusedKey):p()},X=o.useRef(L),_=A=>{A?(X.current=L,l==="focus"&&!e.isReadOnly&&r(null,"focus")):(b&&p(),L!==X.current&&ae.commitValidation()),E(A)},le=o.useMemo(()=>F.isOpen?s?z:k:te,[F.isOpen,z,k,s,te]);var xe;let Ie=(xe=e.defaultSelectedKey)!==null&&xe!==void 0?xe:G;var Ce;return{...ae,...F,focusStrategy:v,toggle:d,open:r,close:p,selectionManager:m,selectedKey:f,defaultSelectedKey:Ie,setSelectedKey:T,disabledKeys:q,isFocused:h,setFocused:_,selectedItem:R,collection:le,inputValue:L,defaultInputValue:(Ce=ke(e.defaultInputValue,Ie,x))!==null&&Ce!==void 0?Ce:H,setInputValue:Y,commit:Z,revert:pe}}function Ou(e,t,u){return new ie.$a02d57049d202695$export$d085fb9e920b5ca7($u(e,e,t,u))}function $u(e,t,u,l){let n=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let b=$u(e,K.$c5a24bc478652b5f$export$1005530eda016c13(a,e),u,l);[...b].some(s=>s.type==="item")&&n.push({...a,childNodes:b})}else a.type==="item"&&l(a.textValue,u)?n.push({...a}):a.type!=="item"&&n.push({...a});return n}function ke(e,t,u){if(e==null){var l,n;if(t!=null)return(n=(l=u.getItem(t))===null||l===void 0?void 0:l.textValue)!==null&&n!==void 0?n:""}return e}const Vu=o.createContext(null),Fe=o.createContext(null),Mu=o.forwardRef(function(t,u){[t,u]=j.$64fa3d84918910a7$export$29f1550f4b0d4415(t,u,Vu);let{children:l,isDisabled:n=!1,isInvalid:a=!1,isRequired:b=!1}=t,s=o.useMemo(()=>{var c;return o.createElement(ie.$eed445e0843c11d0$export$7ff8f37d2d81a48d.Provider,{value:{items:(c=t.items)!==null&&c!==void 0?c:t.defaultItems}},typeof l=="function"?l({isOpen:!1,isDisabled:n,isInvalid:a,isRequired:b,defaultChildren:null}):l)},[l,n,a,b,t.items,t.defaultItems]);return o.createElement(Me.$e1995378a142960e$export$bf788dd355e3a401,{content:s},c=>o.createElement(Gu,{props:t,collection:c,comboBoxRef:u}))}),qu=[Be.$01b77f81d0f07f68$export$75b6ee27786ba447,Ke.$d2b4bc8c273e7be6$export$24d547caef80ccd1,$e.$3985021b0ad6602f$export$37fb8590cf2c088c,Ae.$a049562f99e7db0e$export$f9c6924e160136d1,ge.$514c0188e459b4c0$export$9afb8bc826b033ea];function Gu({props:e,collection:t,comboBoxRef:u}){let{name:l,formValue:n="key",allowsCustomValue:a}=e;a&&(n="text");let{validationBehavior:b}=j.$64fa3d84918910a7$export$fabf2dc03a41866e(Ve.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var s,c;let h=(c=(s=e.validationBehavior)!==null&&s!==void 0?s:b)!==null&&c!==void 0?c:"native",{contains:E}=ze.$bb77f239b46e8c72$export$3274cf84b703fff({sensitivity:"base"}),v=Ku({defaultFilter:e.defaultFilter||E,...e,items:e.items,children:void 0,collection:t,validationBehavior:h}),g=o.useRef(null),C=o.useRef(null),S=o.useRef(null),x=o.useRef(null),[m,f]=j.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:T,inputProps:R,listBoxProps:q,labelProps:L,descriptionProps:Y,errorMessageProps:G,...H}=Lu({...j.$64fa3d84918910a7$export$ef03459518577ad4(e),label:f,inputRef:C,buttonRef:g,listBoxRef:S,popoverRef:x,name:n==="text"?l:void 0,validationBehavior:h},v),[z,k]=o.useState(null),te=o.useCallback(()=>{if(C.current){var r;let d=(r=g.current)===null||r===void 0?void 0:r.getBoundingClientRect(),y=C.current.getBoundingClientRect(),M=d?Math.min(d.left,y.left):y.left,P=d?Math.max(d.right,y.right):y.right;k(P-M+"px")}},[g,C,k]);Ge.$9daab02d461809db$export$683480f191c0e3ea({ref:C,onResize:te});let V=o.useMemo(()=>({isOpen:v.isOpen,isDisabled:e.isDisabled||!1,isInvalid:H.isInvalid||!1,isRequired:e.isRequired||!1}),[v.isOpen,e.isDisabled,H.isInvalid,e.isRequired]),N=j.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:V,defaultClassName:"react-aria-ComboBox"}),U=qe.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});delete U.id;var F;return o.createElement(j.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Fe,v],[Be.$01b77f81d0f07f68$export$75b6ee27786ba447,{...L,ref:m}],[Ke.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{...T,ref:g,isPressed:v.isOpen}],[$e.$3985021b0ad6602f$export$37fb8590cf2c088c,{...R,ref:C}],[oe.$de32f1b87079253c$export$d2f961adcb0afbe,v],[oe.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{ref:x,triggerRef:C,scrollRef:S,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":z},clearContexts:qu}],[ie.$eed445e0843c11d0$export$7ff8f37d2d81a48d,{...q,ref:S}],[ie.$eed445e0843c11d0$export$7c5906fe4f1f2af2,v],[ge.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:Y,errorMessage:G}}],[Ae.$a049562f99e7db0e$export$f9c6924e160136d1,{isInvalid:H.isInvalid,isDisabled:e.isDisabled||!1}],[Oe.$ee014567cb39d3f0$export$ff05c3ac10437e03,H]]},o.createElement("div",{...U,...N,ref:u,slot:e.slot||void 0,"data-focused":v.isFocused||void 0,"data-open":v.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":H.isInvalid||void 0,"data-required":e.isRequired||void 0}),l&&n==="key"&&o.createElement("input",{type:"hidden",name:l,form:e.form,value:(F=v.selectedKey)!==null&&F!==void 0?F:""}))}const zu=o.createContext(null),Nu=gu.$f39a9eba43920ace$export$86427a43e3e48ebb(function(t,u){[t,u]=j.$64fa3d84918910a7$export$29f1550f4b0d4415(t,u,zu);let{validationBehavior:l}=j.$64fa3d84918910a7$export$fabf2dc03a41866e(Ve.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var n,a;let b=(a=(n=t.validationBehavior)!==null&&n!==void 0?n:l)!==null&&a!==void 0?a:"native",s=o.useRef(null);[t,s]=j.$64fa3d84918910a7$export$29f1550f4b0d4415(t,s,K.$8e6cc465cc68f603$export$698f465ec27e93df);let[c,h]=j.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!t["aria-label"]&&!t["aria-labelledby"]),[E,v]=o.useState("input"),{labelProps:g,inputProps:C,descriptionProps:S,errorMessageProps:x,...m}=Je.$2d73ec29415bd339$export$712718f7aec83d5({...j.$64fa3d84918910a7$export$ef03459518577ad4(t),inputElementType:E,label:h,validationBehavior:b},s),f=o.useCallback(q=>{s.current=q,q&&v(q instanceof HTMLTextAreaElement?"textarea":"input")},[s]),T=j.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:m.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),R=qe.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{global:!0});return delete R.id,o.createElement("div",{...R,...T,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":m.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(j.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Be.$01b77f81d0f07f68$export$75b6ee27786ba447,{...g,ref:c}],[$e.$3985021b0ad6602f$export$37fb8590cf2c088c,{...C,ref:f}],[Bu.$216918bed6669f72$export$2dc6166a7e65358c,{...C,ref:f}],[Ae.$a049562f99e7db0e$export$f9c6924e160136d1,{role:"presentation",isInvalid:m.isInvalid,isDisabled:t.isDisabled||!1}],[ge.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:S,errorMessage:x}}],[Oe.$ee014567cb39d3f0$export$ff05c3ac10437e03,m]]},T.children))}),{withProvider:Uu,withContext:ne}=we.createSlotRecipeContext({recipe:je.comboBoxSlotRecipe}),Wu=Uu("div","root"),Hu=ne("div","leadingElement"),bu=ne("div","value"),fu=ne("div","buttonGroup"),Ju=ne("div","popover"),Zu=ne("input","multiSelectInput"),Xu=ne("div","options"),Yu=ne("div","optionGroup"),Qu=ne("div","option"),_u=ne("span","optionIndicator"),eo=ne("span","optionContent"),to=e=>{const{placeholder:t,inputValue:u,allowsCustomValue:l,onSubmitCustomValue:n,onInputChange:a,ref:b}=e,[s,c]=j.$64fa3d84918910a7$export$29f1550f4b0d4415({},b||null,$e.$3985021b0ad6602f$export$37fb8590cf2c088c),h=o.useContext(Fe),E=o.useCallback(v=>{if(h?.selectedKey&&c.current&&c.current.selectionStart===0&&c.current.selectionEnd===0&&c.current.value.length>0&&v.key.length===1&&!v.ctrlKey&&!v.metaKey&&!v.altKey){v.preventDefault(),v.stopPropagation(),h.setInputValue(v.key);return}if(v.key==="Enter"&&u&&u?.trim()!==""&&a&&l&&n&&h)if(h.collection){const C=Array.from(h.collection).find(S=>S.textValue.toLowerCase()===u.toLowerCase());C?h.setSelectedKey(C.key):n(u)}else n(u)},[u,a,l,n,h]);return i.jsx(bu,{asChild:!0,children:i.jsx($e.$3985021b0ad6602f$export$f5b8910cec6cf069,{ref:c,...s,onKeyDown:E,placeholder:t})})},Te=({children:e,ref:t,...u})=>{const[l,n]=Se.extractStyleProps(u);return i.jsx(Xu,{...l,asChild:!0,children:i.jsx(ie.$eed445e0843c11d0$export$41f133550aa26f48,{ref:t,...n,children:e})})};Te.displayName="ComboBox.Options";const uo=({isDisabled:e,isReadOnly:t,isLoading:u})=>{const l=o.useContext(Fe);return i.jsxs(fu,{children:[l?.selectedKey&&i.jsx(Ee.IconButton,{pointerEvents:"all",slot:null,size:"2xs",variant:"ghost",tone:"primary","aria-label":"Clear Selection",isDisabled:e||t,_expanded:{bg:"transparent"},onPress:()=>l?.setSelectedKey(null),my:"auto",children:i.jsx(de.Close,{})}),u?i.jsx(Ze.Flex,{my:"auto",w:"600",h:"600",children:i.jsx(fe.Box,{color:"neutral.11",asChild:!0,m:"auto",w:"400",h:"400",children:i.jsx(fe.Box,{asChild:!0,animation:"spin",animationDuration:"slowest","data-testid":"nimbus-combobox-loading",children:i.jsx(de.Loop,{})})})}):i.jsx(Ee.IconButton,{size:"2xs",variant:"ghost","aria-label":"toggle combobox",tone:"neutral",my:"auto",isDisabled:e||t,_expanded:{bg:"transparent"},children:i.jsx(de.KeyboardArrowDown,{})})]})},xu=({children:e})=>{const t=o.useRef(null);return o.useEffect(()=>{const u=t.current;if(!u)return;const l=()=>{const a=u.offsetWidth,b=u.closest(".nimbus-combobox__root");b instanceof HTMLElement&&b.style.setProperty("--leading-element-width",`${a}px`)};l();const n=new ResizeObserver(l);return n.observe(u),()=>{n.disconnect()}},[]),i.jsx(Hu,{ref:t,children:e})},oo=({children:e,inputValue:t,onInputChange:u,placeholder:l,allowsCustomValue:n,onSubmitCustomValue:a,renderEmptyState:b,shouldFocusWrap:s=!0,isLoading:c,leadingElement:h,ref:E,...v})=>{if(a&&(t===void 0||!u))throw new Error('ComboBox: When "onSubmitCustomValue" is provided, "inputValue" must be controlled with "onInputChange"');const g=o.useRef(null),C=o.useCallback(()=>{g.current&&g.current.value&&requestAnimationFrame(()=>g.current?.setSelectionRange(0,0))},[g]);return i.jsxs(Mu,{inputValue:t,onInputChange:u,onFocus:C,allowsCustomValue:n,menuTrigger:"focus",shouldFocusWrap:s,...v,ref:E,children:[h&&i.jsx(xu,{children:h}),i.jsx(to,{ref:g,placeholder:l,inputValue:t,allowsCustomValue:n,onSubmitCustomValue:a,onInputChange:u}),i.jsx(uo,{isLoading:c,isDisabled:v.isDisabled,isReadOnly:v.isReadOnly}),i.jsx(oe.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:i.jsx(Te,{renderEmptyState:b,children:e})})]})};function Re(e){return e!=null&&typeof e=="object"&&"children"in e&&Array.isArray(e.children)}function me(e,t,u){if(e){if(!Object.prototype.hasOwnProperty.call(e,"id")&&t==="id")throw new Error("ComboBox: if items do not have an `id` key, you must specify which key uniquely identifies items using the `itemId` prop");if(!Object.prototype.hasOwnProperty.call(e,"name")&&u==="name")throw new Error("ComboBox: if items do not have a `name` key, you must specify which key can be used as a text value using the `itemValue` prop")}}const no=({selectedKeys:e=new Set,items:t,itemId:u="id",itemValue:l="name",placeholder:n,onSelectionChange:a,isDisabled:b,isReadOnly:s,size:c,containerRef:h,ref:E})=>{const v=o.useMemo(()=>{if(!t)return[];const C=Array.from(e);if(Array.isArray(t)){const x=t[0];if(x&&Re(x)){const f=[];return t.forEach(T=>{Re(T)&&f.push(...T.children)}),me(f?.[0],u,l),C.map(T=>f.find(R=>R[u]===T)).filter(T=>T!==void 0)}const m=t;return me(m?.[0],u,l),C.map(f=>m.find(T=>T[u]===f)).filter(f=>f!==void 0)}const S=C.map(x=>Array.from(t).find(m=>m[u]===x)).filter(x=>x!==void 0);return me(S?.[0],u,l),S},[t,e,u]),g=o.useCallback(C=>{if(!(b||s)&&e instanceof Set){const S=e,x=new Set([...S].filter(m=>!C.has(m)));a?.(x),h?.current&&h.current.focus()}},[b,s,e,a]);return i.jsx(oe.$f1ab8c75478c6f73$export$cf75428e0b9ed1ea,{children:i.jsx(bu,{asChild:!0,alignItems:"space-between",justifyContent:"center",ref:E,children:i.jsx(ve.TagGroup.Root,{size:c,onRemove:g,"aria-label":"Selected values",selectionMode:"none",disabledKeys:b||s?e:void 0,"data-disabled":b,children:i.jsx(ve.TagGroup.TagList,{items:v,dependencies:[u],maxW:"100%",tabIndex:v.length===0||b||s?-1:void 0,renderEmptyState:()=>n&&i.jsx("div",{"data-placeholder":"true",style:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis"},children:n}),children:C=>i.jsx(ve.TagGroup.Tag,{id:C[u],maxW:"100%",children:C[l]})})})})})},lo=({selectedKeys:e,onSelectionChange:t,onInputChange:u,containerRef:l,isDisabled:n,isReadOnly:a,isLoading:b})=>{const s=o.useCallback(()=>{t?.(new Set),u?.(""),l?.current&&l.current.focus()},[]);return i.jsxs(fu,{children:[i.jsx(oe.$f1ab8c75478c6f73$export$cf75428e0b9ed1ea,{children:e instanceof Set&&e.size>0&&i.jsx(Ee.IconButton,{pointerEvents:"all",slot:null,size:"2xs",variant:"ghost",tone:"primary","aria-label":"Clear Selection",isDisabled:n||a,onPress:s,my:"auto",children:i.jsx(de.Close,{})})}),i.jsx(Ze.Flex,{my:"auto",w:"600",h:"600",color:"neutral.11",opacity:a||n?"0.5":void 0,cursor:a||n?"not-allowed":void 0,children:i.jsx(fe.Box,{pointerEvents:"none",asChild:!0,m:"auto",w:"400",h:"400",children:b?i.jsx(fe.Box,{asChild:!0,animation:"spin",animationDuration:"slowest","data-testid":"nimbus-combobox-loading",children:i.jsx(de.Loop,{})}):i.jsx(de.KeyboardArrowDown,{})})})]})};function io(e){let t;for(t of e);return t}const co=({children:e,defaultFilter:t,inputValue:u,defaultInputValue:l,onInputChange:n,defaultSelectedKeys:a=new Set,selectedKeys:b,onSelectionChange:s,onOpenChange:c,disabledKeys:h,items:E,defaultItems:v,itemId:g="id",itemValue:C="name",isLoading:S,isDisabled:x,isReadOnly:m,isRequired:f,isInvalid:T,className:R,placeholder:q,size:L="md",allowsCustomValue:Y,onSubmitCustomValue:G,renderEmptyState:H,ref:z,leadingElement:k,...te})=>{const[V,N]=o.useState(!1),U=o.useRef(!1),[F,r]=o.useState(),d=b??F??a,y=s??r,[M,P]=o.useState(""),D=u??M??l,O=n??P,J=E??v,Q=ze.$bb77f239b46e8c72$export$3274cf84b703fff({sensitivity:"base"}),ce=(...p)=>Q.contains.apply(void 0,p),W=o.useCallback(p=>{if(x||m){V&&N(!1);return}c&&c?.(p),N(p),p||(U.current=!0,requestAnimationFrame(()=>{setTimeout(()=>{U.current=!1},50)}))},[x,m,c,V]);o.useEffect(()=>{(x||m)&&W(!1)},[x,m]);const ue=o.useCallback(p=>{x||m||p.target===p.currentTarget&&!V&&!U.current&&W(!0)},[V]),re=o.useCallback(()=>{if(d!=="all"&&d instanceof Set){const p=io(d);if(p!=null){const Z=new Set(d);Z.delete(p),y(Z)}}},[d,y]),ae=o.useCallback(p=>{(p.key==="ArrowDown"||p.key==="ArrowUp"||p.key==="Enter")&&p.target===$.current&&(p.preventDefault(),W(!0))},[]),pe=o.useCallback(p=>{if(p.key==="Backspace"&&D===""){re();return}if(p.key==="Escape"){W(!1),$.current&&$.current.focus();return}if(p.key==="Enter"&&D.trim()!==""&&Y&&G)if(p.stopPropagation(),J){const Z=D.trim(),X=Array.from(J).find(_=>(typeof _=="object"&&_!==null&&C in _?String(_[C]):JSON.stringify(_)).toLowerCase()===Z.toLowerCase());if(X){const _=typeof X=="object"&&X!==null&&g in X?X[g]:X,le=new Set(d);le.add(_),y(le),O("")}else G(D),O("")}else G(D),O("")},[D,re,Y,G,J,C,g,d,y,O]),$=o.useRef(null),B=yu.mergeRefs(z,$);return i.jsxs(oe.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:V,onOpenChange:W,children:[i.jsx(Tu,{allowTextSelectionOnPress:!0,children:i.jsxs("div",{className:R,tabIndex:x?-1:0,ref:B,role:"combobox",onKeyDown:ae,onFocus:ue,"aria-expanded":V,"aria-haspopup":"dialog","aria-disabled":x,"aria-readonly":m,"aria-required":f,"aria-invalid":T,"data-disabled":x,"data-invalid":T,"data-required":f,"data-open":V,...te,children:[k&&i.jsx(xu,{children:k}),i.jsx(no,{items:J,selectedKeys:d,onSelectionChange:y,itemId:g,itemValue:C,placeholder:q,size:L,containerRef:$,isDisabled:x,isReadOnly:m}),i.jsx(lo,{selectedKeys:d,onSelectionChange:y,onInputChange:O,containerRef:$,isDisabled:x,isReadOnly:m,isLoading:S})]})}),i.jsx(Ju,{asChild:!0,children:i.jsx(oe.$07b14b47974efb58$export$5b6b19405a83ff9d,{triggerRef:$,placement:"bottom start",children:i.jsx(oe.$de32f1b87079253c$export$3ddf2d174ce01153,{"aria-label":"combobox dialog",children:i.jsxs(ju,{filter:t??ce,inputValue:D,onInputChange:O,children:[i.jsx(Zu,{asChild:!0,children:i.jsx(Nu,{autoFocus:!0,isDisabled:x,isReadOnly:m,isRequired:f,"aria-label":"filter combobox options",children:i.jsx($e.$3985021b0ad6602f$export$f5b8910cec6cf069,{onKeyDownCapture:pe,placeholder:q})})}),i.jsx(Te,{items:J,selectionMode:"multiple",onSelectionChange:y,selectedKeys:d,shouldFocusWrap:!0,disabledKeys:x?"all":h,escapeKeyBehavior:"none","aria-label":"combobox options",renderEmptyState:H,children:e})]})})})})]})},De=({children:e,ref:t,...u})=>{const l=we.useSlotRecipe({recipe:je.comboBoxSlotRecipe}),[n,a]=l.splitVariantProps(u),[b,s]=Se.extractStyleProps(a),c="selectionMode"in u&&u.selectionMode==="multiple"?co:oo;return i.jsx(Wu,{asChild:!0,selectionMode:u.selectionMode,...n,...b,children:i.jsx(c,{ref:t,size:n.size,...s,children:e})})};De.displayName="ComboBox.Root";const Le=({children:e,label:t,items:u,ref:l,...n})=>{if(u&&typeof e!="function")throw new Error('ComboBoxOptionGroup: When "items" is provided, "children" must be a function');return i.jsxs(ie.$eed445e0843c11d0$export$dca12b0bb56e4fc,{ref:l,...n,children:[i.jsx(Yu,{asChild:!0,children:i.jsx(We.$72a5793c14baf454$export$8b251419efc915eb,{children:t})}),u?i.jsx(Me.$e1995378a142960e$export$fb8073518f34e6ec,{items:u,children:a=>typeof e=="function"?e(a):null}):e]})};Le.displayName="ComboBox.OptionGroup";const Pe=({children:e,ref:t,...u})=>{const[l,n]=Se.extractStyleProps(u),a=typeof e=="string"?e:void 0;return i.jsx(Qu,{...l,asChild:!0,children:i.jsx(ie.$eed445e0843c11d0$export$a11e76429ed99b4,{ref:t,textValue:u.textValue??a,"aria-label":u.textValue??a,...n,children:b=>{const s=typeof e=="function"?e({...b}):e;return b.selectionMode==="multiple"?i.jsxs(i.Fragment,{children:[i.jsx(_u,{children:i.jsx("span",{"data-selected":b.isSelected,children:b.isSelected&&i.jsx(de.Check,{})})}),i.jsx(eo,{children:s})]}):i.jsx(i.Fragment,{children:s})}})})};Pe.displayName="ComboBox.Option";const ro={Root:De,OptionGroup:Le,Option:Pe};exports.ComboBox=ro;exports.ComboBoxOption=Pe;exports.ComboBoxOptionGroup=Le;exports.ComboBoxRoot=De;
2
+ //# sourceMappingURL=combobox-uCNxpE7-.cjs.js.map