@cloudflare/kumo 1.19.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/CHANGELOG.md +248 -0
  2. package/ai/component-registry.json +764 -131
  3. package/ai/component-registry.md +1161 -163
  4. package/ai/schemas.ts +42 -14
  5. package/dist/.build-complete +1 -1
  6. package/dist/ai/schemas.d.ts +153 -21
  7. package/dist/ai/schemas.d.ts.map +1 -1
  8. package/dist/ai/schemas.js +1994 -1956
  9. package/dist/ai/schemas.js.map +1 -1
  10. package/dist/blocks-source/resource-list/resource-list.tsx +1 -1
  11. package/dist/chunks/Legend-ibjxhfm9pn2vrb6f.js +430 -0
  12. package/dist/chunks/Legend-ibjxhfm9pn2vrb6f.js.map +1 -0
  13. package/dist/chunks/autocomplete-48aq0d244bs2e8zv.js +174 -0
  14. package/dist/chunks/autocomplete-48aq0d244bs2e8zv.js.map +1 -0
  15. package/dist/chunks/{breadcrumbs-ge20hcb3o5spswrk.js → breadcrumbs-cxcwf2l1ki3ffg5d.js} +2 -2
  16. package/dist/chunks/{breadcrumbs-ge20hcb3o5spswrk.js.map → breadcrumbs-cxcwf2l1ki3ffg5d.js.map} +1 -1
  17. package/dist/chunks/{button-oaqi7ykdisyskoos.js → button-6by9ntsa3nj553mq.js} +23 -24
  18. package/dist/chunks/button-6by9ntsa3nj553mq.js.map +1 -0
  19. package/dist/chunks/checkbox-hvxfvhtx1qjo2mww.js +210 -0
  20. package/dist/chunks/checkbox-hvxfvhtx1qjo2mww.js.map +1 -0
  21. package/dist/chunks/{clipboard-text-dxczqon3d27xp6f0.js → clipboard-text-hswydzx3iql369sd.js} +45 -41
  22. package/dist/chunks/{clipboard-text-dxczqon3d27xp6f0.js.map → clipboard-text-hswydzx3iql369sd.js.map} +1 -1
  23. package/dist/chunks/{code-cz0w1y5z4h29a9eg.js → code-f9v1ikwhekqw274q.js} +4 -4
  24. package/dist/chunks/{code-cz0w1y5z4h29a9eg.js.map → code-f9v1ikwhekqw274q.js.map} +1 -1
  25. package/dist/chunks/collapsible-k8urhi16pg90jvxa.js +71 -0
  26. package/dist/chunks/collapsible-k8urhi16pg90jvxa.js.map +1 -0
  27. package/dist/chunks/{combobox-eaowwt1xr4d23gsn.js → combobox-fq36ye0hstote16x.js} +90 -78
  28. package/dist/chunks/combobox-fq36ye0hstote16x.js.map +1 -0
  29. package/dist/chunks/{command-palette-maqtbmpfev9mysqd.js → command-palette-md65owxt5hv4rt9r.js} +68 -68
  30. package/dist/chunks/command-palette-md65owxt5hv4rt9r.js.map +1 -0
  31. package/dist/chunks/{date-range-picker-j318zxjyqz4o3dak.js → date-range-picker-o8uyril1kogvhoei.js} +11 -11
  32. package/dist/chunks/{date-range-picker-j318zxjyqz4o3dak.js.map → date-range-picker-o8uyril1kogvhoei.js.map} +1 -1
  33. package/dist/chunks/{dialog-e3m5bhs7fds26p9y.js → dialog-k3f1fbam6nt96k8x.js} +3 -3
  34. package/dist/chunks/{dialog-e3m5bhs7fds26p9y.js.map → dialog-k3f1fbam6nt96k8x.js.map} +1 -1
  35. package/dist/chunks/{dropdown-ewte287db3vyt8t5.js → dropdown-zbax0zowy6m9zhmt.js} +87 -87
  36. package/dist/chunks/dropdown-zbax0zowy6m9zhmt.js.map +1 -0
  37. package/dist/chunks/{empty-dr1eckm2z40euns6.js → empty-b82oer7npkhtkx7k.js} +14 -14
  38. package/dist/chunks/{empty-dr1eckm2z40euns6.js.map → empty-b82oer7npkhtkx7k.js.map} +1 -1
  39. package/dist/chunks/{field-bo5gmna16odrrb1q.js → field-c0wf94plit2gci59.js} +7 -7
  40. package/dist/chunks/{field-bo5gmna16odrrb1q.js.map → field-c0wf94plit2gci59.js.map} +1 -1
  41. package/dist/chunks/{input-area-jkkkjej6luumrqpa.js → input-area-bkyzu6f7gsck479h.js} +4 -4
  42. package/dist/chunks/{input-area-jkkkjej6luumrqpa.js.map → input-area-bkyzu6f7gsck479h.js.map} +1 -1
  43. package/dist/chunks/input-group-bidweffa0zyg8gt0.js +505 -0
  44. package/dist/chunks/input-group-bidweffa0zyg8gt0.js.map +1 -0
  45. package/dist/chunks/{input-cw05pbqdburghkus.js → input-ncfowphv81yq7fyy.js} +44 -44
  46. package/dist/chunks/input-ncfowphv81yq7fyy.js.map +1 -0
  47. package/dist/chunks/{label-cvyvbqmt4mt757ff.js → label-c3h9i3y4wiccelt7.js} +22 -22
  48. package/dist/chunks/{label-cvyvbqmt4mt757ff.js.map → label-c3h9i3y4wiccelt7.js.map} +1 -1
  49. package/dist/chunks/{layer-card-ljqth3yxgnk04v2o.js → layer-card-ikm31xemd70w3lru.js} +5 -5
  50. package/dist/chunks/{layer-card-ljqth3yxgnk04v2o.js.map → layer-card-ikm31xemd70w3lru.js.map} +1 -1
  51. package/dist/chunks/{link-fjnhtxvfe5ieamjf.js → link-kt74pxkud4olmcer.js} +4 -4
  52. package/dist/chunks/{link-fjnhtxvfe5ieamjf.js.map → link-kt74pxkud4olmcer.js.map} +1 -1
  53. package/dist/chunks/menubar-hwev159bm4rw9ixk.js +96 -0
  54. package/dist/chunks/menubar-hwev159bm4rw9ixk.js.map +1 -0
  55. package/dist/chunks/{meter-duj3micor1lqj3y2.js → meter-n34a7yb8c3rim26i.js} +3 -3
  56. package/dist/chunks/{meter-duj3micor1lqj3y2.js.map → meter-n34a7yb8c3rim26i.js.map} +1 -1
  57. package/dist/chunks/{pagination-olaypvwr8swsmn8m.js → pagination-jb3mncivbwsoi1se.js} +56 -56
  58. package/dist/chunks/pagination-jb3mncivbwsoi1se.js.map +1 -0
  59. package/dist/chunks/{popover-nv9cmzbo7mf6bky0.js → popover-iayd9ya5yhujz6ve.js} +5 -5
  60. package/dist/chunks/{popover-nv9cmzbo7mf6bky0.js.map → popover-iayd9ya5yhujz6ve.js.map} +1 -1
  61. package/dist/chunks/{radio-ihxbe37us2jnqtzf.js → radio-datzh3pilz8ojak1.js} +86 -74
  62. package/dist/chunks/radio-datzh3pilz8ojak1.js.map +1 -0
  63. package/dist/chunks/{select-nx6ded5swra74iar.js → select-g261chvosodu22i8.js} +64 -62
  64. package/dist/chunks/select-g261chvosodu22i8.js.map +1 -0
  65. package/dist/chunks/{sensitive-input-00fujb510rrn61v9.js → sensitive-input-cijagk551mesdtk4.js} +42 -42
  66. package/dist/chunks/sensitive-input-cijagk551mesdtk4.js.map +1 -0
  67. package/dist/chunks/{sidebar-ltbfius1eolkl8tb.js → sidebar-kb9kykqfgy5yzqwr.js} +132 -129
  68. package/dist/chunks/sidebar-kb9kykqfgy5yzqwr.js.map +1 -0
  69. package/dist/chunks/{surface-dfgurg5eu3et4vw1.js → surface-k0e8mq1x00b7i8r6.js} +2 -2
  70. package/dist/chunks/{surface-dfgurg5eu3et4vw1.js.map → surface-k0e8mq1x00b7i8r6.js.map} +1 -1
  71. package/dist/chunks/{switch-fbv3iawqo3o3jgap.js → switch-jdfsr3j3oa1qxegw.js} +86 -78
  72. package/dist/chunks/switch-jdfsr3j3oa1qxegw.js.map +1 -0
  73. package/dist/chunks/{table-olwwulga2l3hdwlx.js → table-iudje0lva0z68jto.js} +89 -71
  74. package/dist/chunks/table-iudje0lva0z68jto.js.map +1 -0
  75. package/dist/chunks/table-of-contents-fzyv7uhnnyr13dqu.js +102 -0
  76. package/dist/chunks/table-of-contents-fzyv7uhnnyr13dqu.js.map +1 -0
  77. package/dist/chunks/{tabs-lohcglgppp6gj0hp.js → tabs-mkhf1uemgr3ij0ps.js} +20 -20
  78. package/dist/chunks/{tabs-lohcglgppp6gj0hp.js.map → tabs-mkhf1uemgr3ij0ps.js.map} +1 -1
  79. package/dist/chunks/{text-nmyi1rkwdj37f30f.js → text-f7t467waymhb30sx.js} +8 -8
  80. package/dist/chunks/text-f7t467waymhb30sx.js.map +1 -0
  81. package/dist/chunks/{toast-dg52x89yd231mxhe.js → toast-h573o0tc7tefivk2.js} +11 -11
  82. package/dist/chunks/toast-h573o0tc7tefivk2.js.map +1 -0
  83. package/dist/chunks/{tooltip-hikjvdbg3xghnq1x.js → tooltip-odudhkxe282wxinq.js} +5 -5
  84. package/dist/chunks/{tooltip-hikjvdbg3xghnq1x.js.map → tooltip-odudhkxe282wxinq.js.map} +1 -1
  85. package/dist/chunks/vendor-base-ui-ie71jahf0czyf58j.js +24638 -0
  86. package/dist/chunks/vendor-base-ui-ie71jahf0czyf58j.js.map +1 -0
  87. package/dist/chunks/vendor-floating-ui-dwag5e88viikh2zs.js +1311 -0
  88. package/dist/chunks/vendor-floating-ui-dwag5e88viikh2zs.js.map +1 -0
  89. package/dist/chunks/vendor-utils-ixnhxmehwihk5tr7.js +534 -0
  90. package/dist/chunks/vendor-utils-ixnhxmehwihk5tr7.js.map +1 -0
  91. package/dist/code.js +31 -31
  92. package/dist/code.js.map +1 -1
  93. package/dist/components/autocomplete.js +9 -0
  94. package/dist/components/autocomplete.js.map +1 -0
  95. package/dist/components/breadcrumbs.js +1 -1
  96. package/dist/components/button.js +1 -1
  97. package/dist/components/chart.js +1 -1
  98. package/dist/components/checkbox.js +1 -1
  99. package/dist/components/clipboard-text.js +1 -1
  100. package/dist/components/code.js +1 -1
  101. package/dist/components/collapsible.js +1 -1
  102. package/dist/components/combobox.js +1 -1
  103. package/dist/components/command-palette.js +1 -1
  104. package/dist/components/date-range-picker.js +1 -1
  105. package/dist/components/dialog.js +1 -1
  106. package/dist/components/dropdown.js +1 -1
  107. package/dist/components/empty.js +1 -1
  108. package/dist/components/field.js +1 -1
  109. package/dist/components/input-group.js +8 -0
  110. package/dist/components/input-group.js.map +1 -0
  111. package/dist/components/input.js +9 -7
  112. package/dist/components/label.js +1 -1
  113. package/dist/components/layer-card.js +1 -1
  114. package/dist/components/link.js +1 -1
  115. package/dist/components/menubar.js +1 -1
  116. package/dist/components/meter.js +1 -1
  117. package/dist/components/pagination.js +1 -1
  118. package/dist/components/popover.js +1 -1
  119. package/dist/components/radio.js +1 -1
  120. package/dist/components/select.js +1 -1
  121. package/dist/components/sensitive-input.js +1 -1
  122. package/dist/components/sidebar.js +1 -1
  123. package/dist/components/surface.js +1 -1
  124. package/dist/components/switch.js +1 -1
  125. package/dist/components/table-of-contents.js +1 -1
  126. package/dist/components/table.js +1 -1
  127. package/dist/components/tabs.js +1 -1
  128. package/dist/components/text.js +1 -1
  129. package/dist/components/toast.js +2 -2
  130. package/dist/components/tooltip.js +1 -1
  131. package/dist/index.js +149 -144
  132. package/dist/index.js.map +1 -1
  133. package/dist/primitives/accordion.js +1 -1
  134. package/dist/primitives/alert-dialog.js +1 -1
  135. package/dist/primitives/autocomplete.js +1 -1
  136. package/dist/primitives/avatar.js +1 -1
  137. package/dist/primitives/button.js +1 -1
  138. package/dist/primitives/checkbox-group.js +1 -1
  139. package/dist/primitives/checkbox.js +1 -1
  140. package/dist/primitives/collapsible.js +1 -1
  141. package/dist/primitives/combobox.js +1 -1
  142. package/dist/primitives/context-menu.js +1 -1
  143. package/dist/primitives/csp-provider.js +1 -1
  144. package/dist/primitives/dialog.js +1 -1
  145. package/dist/primitives/direction-provider.js +1 -1
  146. package/dist/primitives/drawer.js +2 -2
  147. package/dist/primitives/field.js +1 -1
  148. package/dist/primitives/fieldset.js +1 -1
  149. package/dist/primitives/form.js +1 -1
  150. package/dist/primitives/input.js +1 -1
  151. package/dist/primitives/menu.js +1 -1
  152. package/dist/primitives/menubar.js +1 -1
  153. package/dist/primitives/meter.js +1 -1
  154. package/dist/primitives/navigation-menu.js +1 -1
  155. package/dist/primitives/number-field.js +1 -1
  156. package/dist/primitives/otp-field.js +6 -0
  157. package/dist/primitives/otp-field.js.map +1 -0
  158. package/dist/primitives/popover.js +1 -1
  159. package/dist/primitives/preview-card.js +2 -2
  160. package/dist/primitives/progress.js +1 -1
  161. package/dist/primitives/radio-group.js +1 -1
  162. package/dist/primitives/radio.js +1 -1
  163. package/dist/primitives/scroll-area.js +1 -1
  164. package/dist/primitives/select.js +1 -1
  165. package/dist/primitives/separator.js +1 -1
  166. package/dist/primitives/slider.js +1 -1
  167. package/dist/primitives/switch.js +1 -1
  168. package/dist/primitives/tabs.js +1 -1
  169. package/dist/primitives/toast.js +1 -1
  170. package/dist/primitives/toggle-group.js +1 -1
  171. package/dist/primitives/toggle.js +1 -1
  172. package/dist/primitives/toolbar.js +1 -1
  173. package/dist/primitives/tooltip.js +1 -1
  174. package/dist/primitives.js +22 -21
  175. package/dist/scripts/theme-generator/config.d.ts.map +1 -1
  176. package/dist/scripts/theme-generator/config.js +21 -4
  177. package/dist/scripts/theme-generator/config.js.map +1 -1
  178. package/dist/src/components/autocomplete/autocomplete.d.ts +180 -0
  179. package/dist/src/components/autocomplete/autocomplete.d.ts.map +1 -0
  180. package/dist/src/components/autocomplete/index.d.ts +2 -0
  181. package/dist/src/components/autocomplete/index.d.ts.map +1 -0
  182. package/dist/src/components/button/button.d.ts +3 -3
  183. package/dist/src/components/button/button.d.ts.map +1 -1
  184. package/dist/src/components/chart/Color.d.ts +36 -52
  185. package/dist/src/components/chart/Color.d.ts.map +1 -1
  186. package/dist/src/components/checkbox/checkbox.d.ts +37 -14
  187. package/dist/src/components/checkbox/checkbox.d.ts.map +1 -1
  188. package/dist/src/components/checkbox/index.d.ts +1 -1
  189. package/dist/src/components/checkbox/index.d.ts.map +1 -1
  190. package/dist/src/components/clipboard-text/clipboard-text.d.ts.map +1 -1
  191. package/dist/src/components/code/code.d.ts +2 -2
  192. package/dist/src/components/collapsible/collapsible.d.ts +77 -40
  193. package/dist/src/components/collapsible/collapsible.d.ts.map +1 -1
  194. package/dist/src/components/collapsible/index.d.ts +1 -1
  195. package/dist/src/components/collapsible/index.d.ts.map +1 -1
  196. package/dist/src/components/combobox/combobox.d.ts +3 -1
  197. package/dist/src/components/combobox/combobox.d.ts.map +1 -1
  198. package/dist/src/components/command-palette/command-palette.d.ts +2 -11
  199. package/dist/src/components/command-palette/command-palette.d.ts.map +1 -1
  200. package/dist/src/components/command-palette/index.d.ts +1 -1
  201. package/dist/src/components/command-palette/index.d.ts.map +1 -1
  202. package/dist/src/components/command-palette/types.d.ts +13 -1
  203. package/dist/src/components/command-palette/types.d.ts.map +1 -1
  204. package/dist/src/components/input/index.d.ts +16 -1
  205. package/dist/src/components/input/index.d.ts.map +1 -1
  206. package/dist/src/components/input/input.d.ts +2 -2
  207. package/dist/src/components/input/input.d.ts.map +1 -1
  208. package/dist/src/components/input-group/context.d.ts +96 -0
  209. package/dist/src/components/input-group/context.d.ts.map +1 -0
  210. package/dist/src/components/input-group/index.d.ts +2 -0
  211. package/dist/src/components/input-group/index.d.ts.map +1 -0
  212. package/dist/src/components/input-group/input-group-addon.d.ts +15 -0
  213. package/dist/src/components/input-group/input-group-addon.d.ts.map +1 -0
  214. package/dist/src/components/input-group/input-group-button.d.ts +36 -0
  215. package/dist/src/components/input-group/input-group-button.d.ts.map +1 -0
  216. package/dist/src/components/input-group/input-group-input.d.ts +9 -0
  217. package/dist/src/components/input-group/input-group-input.d.ts.map +1 -0
  218. package/dist/src/components/input-group/input-group-suffix.d.ts +13 -0
  219. package/dist/src/components/input-group/input-group-suffix.d.ts.map +1 -0
  220. package/dist/src/components/input-group/input-group.d.ts +43 -0
  221. package/dist/src/components/input-group/input-group.d.ts.map +1 -0
  222. package/dist/src/components/menubar/menubar.d.ts.map +1 -1
  223. package/dist/src/components/radio/index.d.ts +1 -1
  224. package/dist/src/components/radio/index.d.ts.map +1 -1
  225. package/dist/src/components/radio/radio.d.ts +43 -7
  226. package/dist/src/components/radio/radio.d.ts.map +1 -1
  227. package/dist/src/components/select/select.d.ts +3 -3
  228. package/dist/src/components/select/select.d.ts.map +1 -1
  229. package/dist/src/components/sensitive-input/sensitive-input.d.ts +2 -2
  230. package/dist/src/components/sidebar/sidebar.d.ts.map +1 -1
  231. package/dist/src/components/switch/index.d.ts +1 -1
  232. package/dist/src/components/switch/index.d.ts.map +1 -1
  233. package/dist/src/components/switch/switch.d.ts +31 -3
  234. package/dist/src/components/switch/switch.d.ts.map +1 -1
  235. package/dist/src/components/table/table.d.ts +17 -2
  236. package/dist/src/components/table/table.d.ts.map +1 -1
  237. package/dist/src/components/table-of-contents/table-of-contents.d.ts +9 -7
  238. package/dist/src/components/table-of-contents/table-of-contents.d.ts.map +1 -1
  239. package/dist/src/components/text/text.d.ts +34 -6
  240. package/dist/src/components/text/text.d.ts.map +1 -1
  241. package/dist/src/components/text/text.type-spec.d.ts +44 -0
  242. package/dist/src/components/text/text.type-spec.d.ts.map +1 -0
  243. package/dist/src/components/toast/toast.d.ts +2 -2
  244. package/dist/src/components/toast/toast.d.ts.map +1 -1
  245. package/dist/src/index.d.ts +8 -6
  246. package/dist/src/index.d.ts.map +1 -1
  247. package/dist/src/primitives/index.d.ts +1 -0
  248. package/dist/src/primitives/index.d.ts.map +1 -1
  249. package/dist/src/primitives/otp-field.d.ts +13 -0
  250. package/dist/src/primitives/otp-field.d.ts.map +1 -0
  251. package/dist/styles/kumo-binding.css +18 -0
  252. package/dist/styles/kumo-standalone.css +1 -1
  253. package/dist/styles/kumo.css +2 -2
  254. package/dist/styles/theme-kumo.css +15 -8
  255. package/package.json +14 -2
  256. package/scripts/component-registry/discovery.ts +1 -0
  257. package/scripts/component-registry/index.test.ts +265 -0
  258. package/scripts/component-registry/index.ts +14 -0
  259. package/scripts/component-registry/metadata.ts +56 -8
  260. package/scripts/component-registry/sub-components.ts +81 -50
  261. package/scripts/component-registry/types.ts +2 -0
  262. package/scripts/theme-generator/config.ts +19 -9
  263. package/dist/chunks/Legend-ks7se6149vsa3tze.js +0 -430
  264. package/dist/chunks/Legend-ks7se6149vsa3tze.js.map +0 -1
  265. package/dist/chunks/button-oaqi7ykdisyskoos.js.map +0 -1
  266. package/dist/chunks/checkbox-mwgmohffm22ut13s.js +0 -211
  267. package/dist/chunks/checkbox-mwgmohffm22ut13s.js.map +0 -1
  268. package/dist/chunks/collapsible-jhzee3ks51d3xowb.js +0 -58
  269. package/dist/chunks/collapsible-jhzee3ks51d3xowb.js.map +0 -1
  270. package/dist/chunks/combobox-eaowwt1xr4d23gsn.js.map +0 -1
  271. package/dist/chunks/command-palette-maqtbmpfev9mysqd.js.map +0 -1
  272. package/dist/chunks/dropdown-ewte287db3vyt8t5.js.map +0 -1
  273. package/dist/chunks/input-cw05pbqdburghkus.js.map +0 -1
  274. package/dist/chunks/input-group-lfugneuz71g42n0w.js +0 -111
  275. package/dist/chunks/input-group-lfugneuz71g42n0w.js.map +0 -1
  276. package/dist/chunks/menubar-e5e4zwfagr0wx023.js +0 -96
  277. package/dist/chunks/menubar-e5e4zwfagr0wx023.js.map +0 -1
  278. package/dist/chunks/pagination-olaypvwr8swsmn8m.js.map +0 -1
  279. package/dist/chunks/radio-ihxbe37us2jnqtzf.js.map +0 -1
  280. package/dist/chunks/select-nx6ded5swra74iar.js.map +0 -1
  281. package/dist/chunks/sensitive-input-00fujb510rrn61v9.js.map +0 -1
  282. package/dist/chunks/sidebar-ltbfius1eolkl8tb.js.map +0 -1
  283. package/dist/chunks/switch-fbv3iawqo3o3jgap.js.map +0 -1
  284. package/dist/chunks/table-of-contents-f813ivi7ta23vqdm.js +0 -88
  285. package/dist/chunks/table-of-contents-f813ivi7ta23vqdm.js.map +0 -1
  286. package/dist/chunks/table-olwwulga2l3hdwlx.js.map +0 -1
  287. package/dist/chunks/text-nmyi1rkwdj37f30f.js.map +0 -1
  288. package/dist/chunks/toast-dg52x89yd231mxhe.js.map +0 -1
  289. package/dist/chunks/vendor-base-ui-m5pz3e8c4grg5qmj.js +0 -22813
  290. package/dist/chunks/vendor-base-ui-m5pz3e8c4grg5qmj.js.map +0 -1
  291. package/dist/chunks/vendor-floating-ui-gr9m6tsa1cpqwn99.js +0 -1286
  292. package/dist/chunks/vendor-floating-ui-gr9m6tsa1cpqwn99.js.map +0 -1
  293. package/dist/chunks/vendor-utils-fxk97j6xi1g42z2v.js +0 -740
  294. package/dist/chunks/vendor-utils-fxk97j6xi1g42z2v.js.map +0 -1
  295. package/dist/src/components/input/input-group.d.ts +0 -39
  296. package/dist/src/components/input/input-group.d.ts.map +0 -1
@@ -1,740 +0,0 @@
1
- "use client";
2
- import x from "react";
3
- var oe = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert] *)", "textarea:not([inert]):not([inert] *)", "a[href]:not([inert]):not([inert] *)", "button:not([inert]):not([inert] *)", "[tabindex]:not(slot):not([inert]):not([inert] *)", "audio[controls]:not([inert]):not([inert] *)", "video[controls]:not([inert]):not([inert] *)", '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', "details>summary:first-of-type:not([inert]):not([inert] *)", "details:not([inert]):not([inert] *)"], A = /* @__PURE__ */ oe.join(","), Q = typeof Element > "u", w = Q ? function() {
4
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, L = !Q && Element.prototype.getRootNode ? function(n) {
5
- var e;
6
- return n == null || (e = n.getRootNode) === null || e === void 0 ? void 0 : e.call(n);
7
- } : function(n) {
8
- return n?.ownerDocument;
9
- }, N = function(e, t) {
10
- var r;
11
- t === void 0 && (t = !0);
12
- var i = e == null || (r = e.getAttribute) === null || r === void 0 ? void 0 : r.call(e, "inert"), o = i === "" || i === "true", u = o || t && e && // closest does not exist on shadow roots, so we fall back to a manual
13
- // lookup upward, in case it is not defined.
14
- (typeof e.closest == "function" ? e.closest("[inert]") : N(e.parentNode));
15
- return u;
16
- }, se = function(e) {
17
- var t, r = e == null || (t = e.getAttribute) === null || t === void 0 ? void 0 : t.call(e, "contenteditable");
18
- return r === "" || r === "true";
19
- }, ee = function(e, t, r) {
20
- if (N(e))
21
- return [];
22
- var i = Array.prototype.slice.apply(e.querySelectorAll(A));
23
- return t && w.call(e, A) && i.unshift(e), i = i.filter(r), i;
24
- }, D = function(e, t, r) {
25
- for (var i = [], o = Array.from(e); o.length; ) {
26
- var u = o.shift();
27
- if (!N(u, !1))
28
- if (u.tagName === "SLOT") {
29
- var s = u.assignedElements(), v = s.length ? s : u.children, a = D(v, !0, r);
30
- r.flatten ? i.push.apply(i, a) : i.push({
31
- scopeParent: u,
32
- candidates: a
33
- });
34
- } else {
35
- var l = w.call(u, A);
36
- l && r.filter(u) && (t || !e.includes(u)) && i.push(u);
37
- var f = u.shadowRoot || // check for an undisclosed shadow
38
- typeof r.getShadowRoot == "function" && r.getShadowRoot(u), h = !N(f, !1) && (!r.shadowRootFilter || r.shadowRootFilter(u));
39
- if (f && h) {
40
- var c = D(f === !0 ? u.children : f.children, !0, r);
41
- r.flatten ? i.push.apply(i, c) : i.push({
42
- scopeParent: u,
43
- candidates: c
44
- });
45
- } else
46
- o.unshift.apply(o, u.children);
47
- }
48
- }
49
- return i;
50
- }, te = function(e) {
51
- return !isNaN(parseInt(e.getAttribute("tabindex"), 10));
52
- }, re = function(e) {
53
- if (!e)
54
- throw new Error("No node provided");
55
- return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || se(e)) && !te(e) ? 0 : e.tabIndex;
56
- }, le = function(e, t) {
57
- var r = re(e);
58
- return r < 0 && t && !te(e) ? 0 : r;
59
- }, ce = function(e, t) {
60
- return e.tabIndex === t.tabIndex ? e.documentOrder - t.documentOrder : e.tabIndex - t.tabIndex;
61
- }, ne = function(e) {
62
- return e.tagName === "INPUT";
63
- }, fe = function(e) {
64
- return ne(e) && e.type === "hidden";
65
- }, de = function(e) {
66
- var t = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(r) {
67
- return r.tagName === "SUMMARY";
68
- });
69
- return t;
70
- }, ve = function(e, t) {
71
- for (var r = 0; r < e.length; r++)
72
- if (e[r].checked && e[r].form === t)
73
- return e[r];
74
- }, pe = function(e) {
75
- if (!e.name)
76
- return !0;
77
- var t = e.form || L(e), r = function(s) {
78
- return t.querySelectorAll('input[type="radio"][name="' + s + '"]');
79
- }, i;
80
- if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
81
- i = r(window.CSS.escape(e.name));
82
- else
83
- try {
84
- i = r(e.name);
85
- } catch (u) {
86
- return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", u.message), !1;
87
- }
88
- var o = ve(i, e.form);
89
- return !o || o === e;
90
- }, he = function(e) {
91
- return ne(e) && e.type === "radio";
92
- }, ye = function(e) {
93
- return he(e) && !pe(e);
94
- }, Se = function(e) {
95
- var t, r = e && L(e), i = (t = r) === null || t === void 0 ? void 0 : t.host, o = !1;
96
- if (r && r !== e) {
97
- var u, s, v;
98
- for (o = !!((u = i) !== null && u !== void 0 && (s = u.ownerDocument) !== null && s !== void 0 && s.contains(i) || e != null && (v = e.ownerDocument) !== null && v !== void 0 && v.contains(e)); !o && i; ) {
99
- var a, l, f;
100
- r = L(i), i = (a = r) === null || a === void 0 ? void 0 : a.host, o = !!((l = i) !== null && l !== void 0 && (f = l.ownerDocument) !== null && f !== void 0 && f.contains(i));
101
- }
102
- }
103
- return o;
104
- }, q = function(e) {
105
- var t = e.getBoundingClientRect(), r = t.width, i = t.height;
106
- return r === 0 && i === 0;
107
- }, me = function(e, t) {
108
- var r = t.displayCheck, i = t.getShadowRoot;
109
- if (r === "full-native" && "checkVisibility" in e) {
110
- var o = e.checkVisibility({
111
- // Checking opacity might be desirable for some use cases, but natively,
112
- // opacity zero elements _are_ focusable and tabbable.
113
- checkOpacity: !1,
114
- opacityProperty: !1,
115
- contentVisibilityAuto: !0,
116
- visibilityProperty: !0,
117
- // This is an alias for `visibilityProperty`. Contemporary browsers
118
- // support both. However, this alias has wider browser support (Chrome
119
- // >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so
120
- // we include it anyway.
121
- checkVisibilityCSS: !0
122
- });
123
- return !o;
124
- }
125
- if (getComputedStyle(e).visibility === "hidden")
126
- return !0;
127
- var u = w.call(e, "details>summary:first-of-type"), s = u ? e.parentElement : e;
128
- if (w.call(s, "details:not([open]) *"))
129
- return !0;
130
- if (!r || r === "full" || // full-native can run this branch when it falls through in case
131
- // Element#checkVisibility is unsupported
132
- r === "full-native" || r === "legacy-full") {
133
- if (typeof i == "function") {
134
- for (var v = e; e; ) {
135
- var a = e.parentElement, l = L(e);
136
- if (a && !a.shadowRoot && i(a) === !0)
137
- return q(e);
138
- e.assignedSlot ? e = e.assignedSlot : !a && l !== e.ownerDocument ? e = l.host : e = a;
139
- }
140
- e = v;
141
- }
142
- if (Se(e))
143
- return !e.getClientRects().length;
144
- if (r !== "legacy-full")
145
- return !0;
146
- } else if (r === "non-zero-area")
147
- return q(e);
148
- return !1;
149
- }, be = function(e) {
150
- if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
151
- for (var t = e.parentElement; t; ) {
152
- if (t.tagName === "FIELDSET" && t.disabled) {
153
- for (var r = 0; r < t.children.length; r++) {
154
- var i = t.children.item(r);
155
- if (i.tagName === "LEGEND")
156
- return w.call(t, "fieldset[disabled] *") ? !0 : !i.contains(e);
157
- }
158
- return !0;
159
- }
160
- t = t.parentElement;
161
- }
162
- return !1;
163
- }, F = function(e, t) {
164
- return !(t.disabled || fe(t) || me(t, e) || // For a details element with a summary, the summary element gets the focus
165
- de(t) || be(t));
166
- }, G = function(e, t) {
167
- return !(ye(t) || re(t) < 0 || !F(e, t));
168
- }, ge = function(e) {
169
- var t = parseInt(e.getAttribute("tabindex"), 10);
170
- return !!(isNaN(t) || t >= 0);
171
- }, ie = function(e) {
172
- var t = [], r = [];
173
- return e.forEach(function(i, o) {
174
- var u = !!i.scopeParent, s = u ? i.scopeParent : i, v = le(s, u), a = u ? ie(i.candidates) : s;
175
- v === 0 ? u ? t.push.apply(t, a) : t.push(s) : r.push({
176
- documentOrder: o,
177
- tabIndex: v,
178
- item: i,
179
- isScope: u,
180
- content: a
181
- });
182
- }), r.sort(ce).reduce(function(i, o) {
183
- return o.isScope ? i.push.apply(i, o.content) : i.push(o.content), i;
184
- }, []).concat(t);
185
- }, Ke = function(e, t) {
186
- t = t || {};
187
- var r;
188
- return t.getShadowRoot ? r = D([e], t.includeContainer, {
189
- filter: G.bind(null, t),
190
- flatten: !1,
191
- getShadowRoot: t.getShadowRoot,
192
- shadowRootFilter: ge
193
- }) : r = ee(e, t.includeContainer, G.bind(null, t)), ie(r);
194
- }, $e = function(e, t) {
195
- t = t || {};
196
- var r;
197
- return t.getShadowRoot ? r = D([e], t.includeContainer, {
198
- filter: F.bind(null, t),
199
- flatten: !0,
200
- getShadowRoot: t.getShadowRoot
201
- }) : r = ee(e, t.includeContainer, F.bind(null, t)), r;
202
- }, He = function(e, t) {
203
- if (t = t || {}, !e)
204
- throw new Error("No node provided");
205
- return w.call(e, A) === !1 ? !1 : G(t, e);
206
- }, Ee = (n, e, t) => {
207
- if (e.length === 1 && e[0] === t) {
208
- let r = !1;
209
- try {
210
- const i = {};
211
- n(i) === i && (r = !0);
212
- } catch {
213
- }
214
- if (r) {
215
- let i;
216
- try {
217
- throw new Error();
218
- } catch (o) {
219
- ({ stack: i } = o);
220
- }
221
- console.warn(
222
- `The result function returned its own inputs without modification. e.g
223
- \`createSelector([state => state.todos], todos => todos)\`
224
- This could lead to inefficient memoization and unnecessary re-renders.
225
- Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`,
226
- { stack: i }
227
- );
228
- }
229
- }
230
- }, Oe = (n, e, t) => {
231
- const { memoize: r, memoizeOptions: i } = e, { inputSelectorResults: o, inputSelectorResultsCopy: u } = n, s = r(() => ({}), ...i);
232
- if (!(s.apply(null, o) === s.apply(null, u))) {
233
- let a;
234
- try {
235
- throw new Error();
236
- } catch (l) {
237
- ({ stack: a } = l);
238
- }
239
- console.warn(
240
- `An input selector returned a different result when passed same arguments.
241
- This means your output selector will likely run more frequently than intended.
242
- Avoid returning a new reference inside your input selector, e.g.
243
- \`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``,
244
- {
245
- arguments: t,
246
- firstInputs: o,
247
- secondInputs: u,
248
- stack: a
249
- }
250
- );
251
- }
252
- }, _e = {
253
- inputStabilityCheck: "once",
254
- identityFunctionCheck: "once"
255
- }, k = /* @__PURE__ */ Symbol("NOT_FOUND");
256
- function Re(n, e = `expected a function, instead received ${typeof n}`) {
257
- if (typeof n != "function")
258
- throw new TypeError(e);
259
- }
260
- function we(n, e = `expected an object, instead received ${typeof n}`) {
261
- if (typeof n != "object")
262
- throw new TypeError(e);
263
- }
264
- function Ce(n, e = "expected all items to be functions, instead received the following types: ") {
265
- if (!n.every((t) => typeof t == "function")) {
266
- const t = n.map(
267
- (r) => typeof r == "function" ? `function ${r.name || "unnamed"}()` : typeof r
268
- ).join(", ");
269
- throw new TypeError(`${e}[${t}]`);
270
- }
271
- }
272
- var U = (n) => Array.isArray(n) ? n : [n];
273
- function Te(n) {
274
- const e = Array.isArray(n[0]) ? n[0] : n;
275
- return Ce(
276
- e,
277
- "createSelector expects all input-selectors to be functions, but received the following types: "
278
- ), e;
279
- }
280
- function K(n, e) {
281
- const t = [], { length: r } = n;
282
- for (let i = 0; i < r; i++)
283
- t.push(n[i].apply(null, e));
284
- return t;
285
- }
286
- var Ie = (n, e) => {
287
- const { identityFunctionCheck: t, inputStabilityCheck: r } = {
288
- ..._e,
289
- ...e
290
- };
291
- return {
292
- identityFunctionCheck: {
293
- shouldRun: t === "always" || t === "once" && n,
294
- run: Ee
295
- },
296
- inputStabilityCheck: {
297
- shouldRun: r === "always" || r === "once" && n,
298
- run: Oe
299
- }
300
- };
301
- };
302
- function Ae(n) {
303
- let e;
304
- return {
305
- get(t) {
306
- return e && n(e.key, t) ? e.value : k;
307
- },
308
- put(t, r) {
309
- e = { key: t, value: r };
310
- },
311
- getEntries() {
312
- return e ? [e] : [];
313
- },
314
- clear() {
315
- e = void 0;
316
- }
317
- };
318
- }
319
- function Le(n, e) {
320
- let t = [];
321
- function r(s) {
322
- const v = t.findIndex((a) => e(s, a.key));
323
- if (v > -1) {
324
- const a = t[v];
325
- return v > 0 && (t.splice(v, 1), t.unshift(a)), a.value;
326
- }
327
- return k;
328
- }
329
- function i(s, v) {
330
- r(s) === k && (t.unshift({ key: s, value: v }), t.length > n && t.pop());
331
- }
332
- function o() {
333
- return t;
334
- }
335
- function u() {
336
- t = [];
337
- }
338
- return { get: r, put: i, getEntries: o, clear: u };
339
- }
340
- var Ne = (n, e) => n === e;
341
- function De(n) {
342
- return function(t, r) {
343
- if (t === null || r === null || t.length !== r.length)
344
- return !1;
345
- const { length: i } = t;
346
- for (let o = 0; o < i; o++)
347
- if (!n(t[o], r[o]))
348
- return !1;
349
- return !0;
350
- };
351
- }
352
- function Pe(n, e) {
353
- const t = typeof e == "object" ? e : { equalityCheck: e }, {
354
- equalityCheck: r = Ne,
355
- maxSize: i = 1,
356
- resultEqualityCheck: o
357
- } = t, u = De(r);
358
- let s = 0;
359
- const v = i <= 1 ? Ae(u) : Le(i, u);
360
- function a() {
361
- let l = v.get(arguments);
362
- if (l === k) {
363
- if (l = n.apply(null, arguments), s++, o) {
364
- const h = v.getEntries().find(
365
- (c) => o(c.value, l)
366
- );
367
- h && (l = h.value, s !== 0 && s--);
368
- }
369
- v.put(arguments, l);
370
- }
371
- return l;
372
- }
373
- return a.clearCache = () => {
374
- v.clear(), a.resetResultsCount();
375
- }, a.resultsCount = () => s, a.resetResultsCount = () => {
376
- s = 0;
377
- }, a;
378
- }
379
- var ke = class {
380
- constructor(n) {
381
- this.value = n;
382
- }
383
- deref() {
384
- return this.value;
385
- }
386
- }, xe = typeof WeakRef < "u" ? WeakRef : ke, Me = 0, $ = 1;
387
- function C() {
388
- return {
389
- s: Me,
390
- v: void 0,
391
- o: null,
392
- p: null
393
- };
394
- }
395
- function ue(n, e = {}) {
396
- let t = C();
397
- const { resultEqualityCheck: r } = e;
398
- let i, o = 0;
399
- function u() {
400
- let s = t;
401
- const { length: v } = arguments;
402
- for (let f = 0, h = v; f < h; f++) {
403
- const c = arguments[f];
404
- if (typeof c == "function" || typeof c == "object" && c !== null) {
405
- let d = s.o;
406
- d === null && (s.o = d = /* @__PURE__ */ new WeakMap());
407
- const p = d.get(c);
408
- p === void 0 ? (s = C(), d.set(c, s)) : s = p;
409
- } else {
410
- let d = s.p;
411
- d === null && (s.p = d = /* @__PURE__ */ new Map());
412
- const p = d.get(c);
413
- p === void 0 ? (s = C(), d.set(c, s)) : s = p;
414
- }
415
- }
416
- const a = s;
417
- let l;
418
- if (s.s === $)
419
- l = s.v;
420
- else if (l = n.apply(null, arguments), o++, r) {
421
- const f = i?.deref?.() ?? i;
422
- f != null && r(f, l) && (l = f, o !== 0 && o--), i = typeof l == "object" && l !== null || typeof l == "function" ? new xe(l) : l;
423
- }
424
- return a.s = $, a.v = l, l;
425
- }
426
- return u.clearCache = () => {
427
- t = C(), u.resetResultsCount();
428
- }, u.resultsCount = () => o, u.resetResultsCount = () => {
429
- o = 0;
430
- }, u;
431
- }
432
- function Ve(n, ...e) {
433
- const t = typeof n == "function" ? {
434
- memoize: n,
435
- memoizeOptions: e
436
- } : n, r = (...i) => {
437
- let o = 0, u = 0, s, v = {}, a = i.pop();
438
- typeof a == "object" && (v = a, a = i.pop()), Re(
439
- a,
440
- `createSelector expects an output function after the inputs, but received: [${typeof a}]`
441
- );
442
- const l = {
443
- ...t,
444
- ...v
445
- }, {
446
- memoize: f,
447
- memoizeOptions: h = [],
448
- argsMemoize: c = ue,
449
- argsMemoizeOptions: d = [],
450
- devModeChecks: p = {}
451
- } = l, y = U(h), b = U(d), g = Te(i), O = f(function() {
452
- return o++, a.apply(
453
- null,
454
- arguments
455
- );
456
- }, ...y);
457
- let E = !0;
458
- const R = c(function() {
459
- u++;
460
- const m = K(
461
- g,
462
- arguments
463
- );
464
- if (s = O.apply(null, m), process.env.NODE_ENV !== "production") {
465
- const { identityFunctionCheck: _, inputStabilityCheck: B } = Ie(E, p);
466
- if (_.shouldRun && _.run(
467
- a,
468
- m,
469
- s
470
- ), B.shouldRun) {
471
- const ae = K(
472
- g,
473
- arguments
474
- );
475
- B.run(
476
- { inputSelectorResults: m, inputSelectorResultsCopy: ae },
477
- { memoize: f, memoizeOptions: y },
478
- arguments
479
- );
480
- }
481
- E && (E = !1);
482
- }
483
- return s;
484
- }, ...b);
485
- return Object.assign(R, {
486
- resultFunc: a,
487
- memoizedResultFunc: O,
488
- dependencies: g,
489
- dependencyRecomputations: () => u,
490
- resetDependencyRecomputations: () => {
491
- u = 0;
492
- },
493
- lastResult: () => s,
494
- recomputations: () => o,
495
- resetRecomputations: () => {
496
- o = 0;
497
- },
498
- memoize: f,
499
- argsMemoize: c
500
- });
501
- };
502
- return Object.assign(r, {
503
- withTypes: () => r
504
- }), r;
505
- }
506
- var je = /* @__PURE__ */ Ve(ue), ze = Object.assign(
507
- (n, e = je) => {
508
- we(
509
- n,
510
- `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof n}`
511
- );
512
- const t = Object.keys(n), r = t.map(
513
- (o) => n[o]
514
- );
515
- return e(
516
- r,
517
- (...o) => o.reduce((u, s, v) => (u[t[v]] = s, u), {})
518
- );
519
- },
520
- { withTypes: () => ze }
521
- ), T = { exports: {} }, M = {};
522
- var H;
523
- function Fe() {
524
- if (H) return M;
525
- H = 1;
526
- var n = x;
527
- function e(f, h) {
528
- return f === h && (f !== 0 || 1 / f === 1 / h) || f !== f && h !== h;
529
- }
530
- var t = typeof Object.is == "function" ? Object.is : e, r = n.useState, i = n.useEffect, o = n.useLayoutEffect, u = n.useDebugValue;
531
- function s(f, h) {
532
- var c = h(), d = r({ inst: { value: c, getSnapshot: h } }), p = d[0].inst, y = d[1];
533
- return o(
534
- function() {
535
- p.value = c, p.getSnapshot = h, v(p) && y({ inst: p });
536
- },
537
- [f, c, h]
538
- ), i(
539
- function() {
540
- return v(p) && y({ inst: p }), f(function() {
541
- v(p) && y({ inst: p });
542
- });
543
- },
544
- [f]
545
- ), u(c), c;
546
- }
547
- function v(f) {
548
- var h = f.getSnapshot;
549
- f = f.value;
550
- try {
551
- var c = h();
552
- return !t(f, c);
553
- } catch {
554
- return !0;
555
- }
556
- }
557
- function a(f, h) {
558
- return h();
559
- }
560
- var l = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? a : s;
561
- return M.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : l, M;
562
- }
563
- var V = {};
564
- var P;
565
- function Ge() {
566
- return P || (P = 1, process.env.NODE_ENV !== "production" && (function() {
567
- function n(c, d) {
568
- return c === d && (c !== 0 || 1 / c === 1 / d) || c !== c && d !== d;
569
- }
570
- function e(c, d) {
571
- l || i.startTransition === void 0 || (l = !0, console.error(
572
- "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
573
- ));
574
- var p = d();
575
- if (!f) {
576
- var y = d();
577
- o(p, y) || (console.error(
578
- "The result of getSnapshot should be cached to avoid an infinite loop"
579
- ), f = !0);
580
- }
581
- y = u({
582
- inst: { value: p, getSnapshot: d }
583
- });
584
- var b = y[0].inst, g = y[1];
585
- return v(
586
- function() {
587
- b.value = p, b.getSnapshot = d, t(b) && g({ inst: b });
588
- },
589
- [c, p, d]
590
- ), s(
591
- function() {
592
- return t(b) && g({ inst: b }), c(function() {
593
- t(b) && g({ inst: b });
594
- });
595
- },
596
- [c]
597
- ), a(p), p;
598
- }
599
- function t(c) {
600
- var d = c.getSnapshot;
601
- c = c.value;
602
- try {
603
- var p = d();
604
- return !o(c, p);
605
- } catch {
606
- return !0;
607
- }
608
- }
609
- function r(c, d) {
610
- return d();
611
- }
612
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
613
- var i = x, o = typeof Object.is == "function" ? Object.is : n, u = i.useState, s = i.useEffect, v = i.useLayoutEffect, a = i.useDebugValue, l = !1, f = !1, h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : e;
614
- V.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : h, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
615
- })()), V;
616
- }
617
- var Y;
618
- function W() {
619
- return Y || (Y = 1, process.env.NODE_ENV === "production" ? T.exports = Fe() : T.exports = Ge()), T.exports;
620
- }
621
- var Ye = W(), I = { exports: {} }, j = {};
622
- var Z;
623
- function We() {
624
- if (Z) return j;
625
- Z = 1;
626
- var n = x, e = W();
627
- function t(a, l) {
628
- return a === l && (a !== 0 || 1 / a === 1 / l) || a !== a && l !== l;
629
- }
630
- var r = typeof Object.is == "function" ? Object.is : t, i = e.useSyncExternalStore, o = n.useRef, u = n.useEffect, s = n.useMemo, v = n.useDebugValue;
631
- return j.useSyncExternalStoreWithSelector = function(a, l, f, h, c) {
632
- var d = o(null);
633
- if (d.current === null) {
634
- var p = { hasValue: !1, value: null };
635
- d.current = p;
636
- } else p = d.current;
637
- d = s(
638
- function() {
639
- function b(S) {
640
- if (!g) {
641
- if (g = !0, O = S, S = h(S), c !== void 0 && p.hasValue) {
642
- var m = p.value;
643
- if (c(m, S))
644
- return E = m;
645
- }
646
- return E = S;
647
- }
648
- if (m = E, r(O, S)) return m;
649
- var _ = h(S);
650
- return c !== void 0 && c(m, _) ? (O = S, m) : (O = S, E = _);
651
- }
652
- var g = !1, O, E, R = f === void 0 ? null : f;
653
- return [
654
- function() {
655
- return b(l());
656
- },
657
- R === null ? void 0 : function() {
658
- return b(R());
659
- }
660
- ];
661
- },
662
- [l, f, h, c]
663
- );
664
- var y = i(a, d[0], d[1]);
665
- return u(
666
- function() {
667
- p.hasValue = !0, p.value = y;
668
- },
669
- [y]
670
- ), v(y), y;
671
- }, j;
672
- }
673
- var z = {};
674
- var X;
675
- function Be() {
676
- return X || (X = 1, process.env.NODE_ENV !== "production" && (function() {
677
- function n(a, l) {
678
- return a === l && (a !== 0 || 1 / a === 1 / l) || a !== a && l !== l;
679
- }
680
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
681
- var e = x, t = W(), r = typeof Object.is == "function" ? Object.is : n, i = t.useSyncExternalStore, o = e.useRef, u = e.useEffect, s = e.useMemo, v = e.useDebugValue;
682
- z.useSyncExternalStoreWithSelector = function(a, l, f, h, c) {
683
- var d = o(null);
684
- if (d.current === null) {
685
- var p = { hasValue: !1, value: null };
686
- d.current = p;
687
- } else p = d.current;
688
- d = s(
689
- function() {
690
- function b(S) {
691
- if (!g) {
692
- if (g = !0, O = S, S = h(S), c !== void 0 && p.hasValue) {
693
- var m = p.value;
694
- if (c(m, S))
695
- return E = m;
696
- }
697
- return E = S;
698
- }
699
- if (m = E, r(O, S))
700
- return m;
701
- var _ = h(S);
702
- return c !== void 0 && c(m, _) ? (O = S, m) : (O = S, E = _);
703
- }
704
- var g = !1, O, E, R = f === void 0 ? null : f;
705
- return [
706
- function() {
707
- return b(l());
708
- },
709
- R === null ? void 0 : function() {
710
- return b(R());
711
- }
712
- ];
713
- },
714
- [l, f, h, c]
715
- );
716
- var y = i(a, d[0], d[1]);
717
- return u(
718
- function() {
719
- p.hasValue = !0, p.value = y;
720
- },
721
- [y]
722
- ), v(y), y;
723
- }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
724
- })()), z;
725
- }
726
- var J;
727
- function qe() {
728
- return J || (J = 1, process.env.NODE_ENV === "production" ? I.exports = We() : I.exports = Be()), I.exports;
729
- }
730
- var Ze = qe();
731
- export {
732
- Ve as c,
733
- $e as f,
734
- He as i,
735
- Pe as l,
736
- Ye as s,
737
- Ke as t,
738
- Ze as w
739
- };
740
- //# sourceMappingURL=vendor-utils-fxk97j6xi1g42z2v.js.map