@frontify/guideline-blocks-settings 1.0.8 → 1.0.9

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 (285) hide show
  1. package/dist/components/Attachments/AttachmentItem.es.js +28 -28
  2. package/dist/components/Attachments/Attachments.es.js +28 -28
  3. package/dist/components/BlockInjectButton/BlockInjectButton.es.js +28 -28
  4. package/dist/components/BlockItemWrapper/Toolbar/FlyoutToolbarButton/FlyoutToolbarButton.es.js +11 -11
  5. package/dist/components/BlockItemWrapper/Toolbar/FlyoutToolbarButton/FlyoutToolbarButton.es.js.map +1 -1
  6. package/dist/components/BlockItemWrapper/Toolbar/MenuToolbarButton/MenuToolbarButton.es.js +2 -2
  7. package/dist/components/BlockItemWrapper/Toolbar/ToolbarButtonTooltip.es.js +1 -1
  8. package/dist/components/DownloadButton/DownloadButton.es.js +1 -1
  9. package/dist/components/Link/LinkInput.es.js +28 -28
  10. package/dist/components/Link/LinkSelector/LinkSelector.es.js +28 -28
  11. package/dist/components/Link/LinkSelector/LoadingIndicator.es.js +1 -1
  12. package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertModal.es.js +2 -2
  13. package/dist/index.cjs.js +1 -1
  14. package/dist/index.cjs.js.map +1 -1
  15. package/dist/index.umd.js +1 -1
  16. package/dist/index.umd.js.map +1 -1
  17. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components10.es.js +1 -1
  18. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components10.es.js.map +1 -1
  19. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components11.es.js +1 -1
  20. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components11.es.js.map +1 -1
  21. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components12.es.js.map +1 -1
  22. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components13.es.js +1 -1
  23. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components13.es.js.map +1 -1
  24. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components14.es.js.map +1 -1
  25. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components15.es.js.map +1 -1
  26. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components16.es.js +1 -1
  27. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components16.es.js.map +1 -1
  28. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components17.es.js +1 -1
  29. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components17.es.js.map +1 -1
  30. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components18.es.js.map +1 -1
  31. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components19.es.js +1 -1
  32. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components19.es.js.map +1 -1
  33. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components20.es.js.map +1 -1
  34. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components21.es.js +1 -1
  35. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components21.es.js.map +1 -1
  36. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components22.es.js +2 -2
  37. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components22.es.js.map +1 -1
  38. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components23.es.js +1 -1
  39. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components23.es.js.map +1 -1
  40. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components24.es.js +1 -1
  41. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components24.es.js.map +1 -1
  42. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components25.es.js.map +1 -1
  43. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components26.es.js.map +1 -1
  44. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components27.es.js +1 -1
  45. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components27.es.js.map +1 -1
  46. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components28.es.js.map +1 -1
  47. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components29.es.js.map +1 -1
  48. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components3.es.js.map +1 -1
  49. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components31.es.js +1 -1
  50. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components31.es.js.map +1 -1
  51. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components32.es.js +1 -1
  52. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components32.es.js.map +1 -1
  53. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components33.es.js.map +1 -1
  54. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components36.es.js.map +1 -1
  55. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components37.es.js.map +1 -1
  56. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components38.es.js.map +1 -1
  57. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components39.es.js.map +1 -1
  58. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components40.es.js.map +1 -1
  59. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components41.es.js.map +1 -1
  60. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components42.es.js.map +1 -1
  61. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components43.es.js.map +1 -1
  62. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components44.es.js.map +1 -1
  63. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components45.es.js.map +1 -1
  64. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components46.es.js.map +1 -1
  65. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components47.es.js.map +1 -1
  66. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components48.es.js.map +1 -1
  67. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components49.es.js.map +1 -1
  68. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components5.es.js.map +1 -1
  69. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components50.es.js.map +1 -1
  70. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components51.es.js.map +1 -1
  71. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components52.es.js.map +1 -1
  72. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components53.es.js.map +1 -1
  73. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components54.es.js.map +1 -1
  74. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components55.es.js.map +1 -1
  75. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components56.es.js.map +1 -1
  76. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components57.es.js.map +1 -1
  77. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components58.es.js.map +1 -1
  78. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components59.es.js.map +1 -1
  79. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components6.es.js.map +1 -1
  80. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components60.es.js.map +1 -1
  81. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components61.es.js.map +1 -1
  82. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components62.es.js.map +1 -1
  83. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components63.es.js.map +1 -1
  84. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components64.es.js.map +1 -1
  85. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components65.es.js.map +1 -1
  86. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components66.es.js +2 -2
  87. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components66.es.js.map +1 -1
  88. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components67.es.js.map +1 -1
  89. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components68.es.js +2 -2
  90. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components68.es.js.map +1 -1
  91. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components69.es.js.map +1 -1
  92. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components7.es.js +1 -1
  93. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components7.es.js.map +1 -1
  94. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components70.es.js.map +1 -1
  95. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components71.es.js.map +1 -1
  96. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components72.es.js.map +1 -1
  97. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components73.es.js.map +1 -1
  98. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components74.es.js.map +1 -1
  99. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components75.es.js.map +1 -1
  100. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components76.es.js.map +1 -1
  101. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components78.es.js.map +1 -1
  102. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components79.es.js.map +1 -1
  103. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components8.es.js +1 -1
  104. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components8.es.js.map +1 -1
  105. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components80.es.js.map +1 -1
  106. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components81.es.js.map +1 -1
  107. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components83.es.js.map +1 -1
  108. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components84.es.js.map +1 -1
  109. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components87.es.js.map +1 -1
  110. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components88.es.js.map +1 -1
  111. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components89.es.js.map +1 -1
  112. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components9.es.js +1 -1
  113. package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components9.es.js.map +1 -1
  114. package/dist/node_modules/.pnpm/{@radix-ui_react-arrow@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react@_03abf0c19a7e15d0f49d3c298994fe66 → @radix-ui_react-arrow@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react@_e71e0ab60989d64dcd423f893d298c57}/node_modules/@radix-ui/react-arrow/dist/index.es.js +1 -1
  115. package/dist/node_modules/.pnpm/{@radix-ui_react-arrow@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react@_03abf0c19a7e15d0f49d3c298994fe66 → @radix-ui_react-arrow@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react@_e71e0ab60989d64dcd423f893d298c57}/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +1 -1
  116. package/dist/node_modules/.pnpm/{@radix-ui_react-checkbox@1.3.3_@types_react-dom@18.3.7_@types_react@18.3.24__@types_rea_63ec1ef3290ca9d9054094836d144f19 → @radix-ui_react-checkbox@1.3.3_@types_react-dom@18.3.7_@types_react@18.3.25__@types_rea_22df6154130b5cd5638f7c407597121f}/node_modules/@radix-ui/react-checkbox/dist/index.es.js +7 -7
  117. package/dist/node_modules/.pnpm/{@radix-ui_react-checkbox@1.3.3_@types_react-dom@18.3.7_@types_react@18.3.24__@types_rea_63ec1ef3290ca9d9054094836d144f19 → @radix-ui_react-checkbox@1.3.3_@types_react-dom@18.3.7_@types_react@18.3.25__@types_rea_22df6154130b5cd5638f7c407597121f}/node_modules/@radix-ui/react-checkbox/dist/index.es.js.map +1 -1
  118. package/dist/node_modules/.pnpm/{@radix-ui_react-collection@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types_r_f63b526ed7a485ded2aacff44a4a4cfa → @radix-ui_react-collection@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types_r_2f409b9025bac134557d58463c37981a}/node_modules/@radix-ui/react-collection/dist/index.es.js +3 -3
  119. package/dist/node_modules/.pnpm/{@radix-ui_react-collection@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types_r_f63b526ed7a485ded2aacff44a4a4cfa → @radix-ui_react-collection@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types_r_2f409b9025bac134557d58463c37981a}/node_modules/@radix-ui/react-collection/dist/index.es.js.map +1 -1
  120. package/dist/node_modules/.pnpm/{@radix-ui_react-compose-refs@1.1.2_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-compose-refs@1.1.2_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -1
  121. package/dist/node_modules/.pnpm/{@radix-ui_react-context@1.1.2_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-context@1.1.2_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -1
  122. package/dist/node_modules/.pnpm/{@radix-ui_react-dialog@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.24__@types_reac_540191b8f82d06ef6be17d3eb1401047 → @radix-ui_react-dialog@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.25__@types_reac_bf20ace65efba5704b54d0cb1af8bbe5}/node_modules/@radix-ui/react-dialog/dist/index.es.js +12 -12
  123. package/dist/node_modules/.pnpm/{@radix-ui_react-dialog@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.24__@types_reac_540191b8f82d06ef6be17d3eb1401047 → @radix-ui_react-dialog@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.25__@types_reac_bf20ace65efba5704b54d0cb1af8bbe5}/node_modules/@radix-ui/react-dialog/dist/index.es.js.map +1 -1
  124. package/dist/node_modules/.pnpm/{@radix-ui_react-direction@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-direction@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-direction/dist/index.es.js.map +1 -1
  125. package/dist/node_modules/.pnpm/{@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.24___e43810d9173c1a58fb3edc9860798aa3 → @radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.25___07491b0252a64a85e2b02e1deb0ac1ec}/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +4 -4
  126. package/dist/node_modules/.pnpm/{@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.24___e43810d9173c1a58fb3edc9860798aa3 → @radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.25___07491b0252a64a85e2b02e1deb0ac1ec}/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -1
  127. package/dist/node_modules/.pnpm/{@radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.24__@typ_68fa520be3cbed3a684ec33777dd410d → @radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.25__@typ_fc6a175101d529c08fec599d717e1c54}/node_modules/@radix-ui/react-dropdown-menu/dist/index.es.js +6 -6
  128. package/dist/node_modules/.pnpm/{@radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.24__@typ_68fa520be3cbed3a684ec33777dd410d → @radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.25__@typ_fc6a175101d529c08fec599d717e1c54}/node_modules/@radix-ui/react-dropdown-menu/dist/index.es.js.map +1 -1
  129. package/dist/node_modules/.pnpm/{@radix-ui_react-focus-guards@1.1.3_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-focus-guards@1.1.3_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-focus-guards/dist/index.es.js.map +1 -1
  130. package/dist/node_modules/.pnpm/{@radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types__4acf729825e1a3a13e63714a585f7f8a → @radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types__63845b7b56d68ee3651e97ddc22127fa}/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +3 -3
  131. package/dist/node_modules/.pnpm/{@radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types__4acf729825e1a3a13e63714a585f7f8a → @radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types__63845b7b56d68ee3651e97ddc22127fa}/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -1
  132. package/dist/node_modules/.pnpm/{@radix-ui_react-id@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-id@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-id/dist/index.es.js +1 -1
  133. package/dist/node_modules/.pnpm/{@radix-ui_react-id@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-id@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -1
  134. package/dist/node_modules/.pnpm/{@radix-ui_react-label@2.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react@_ae014cd239ea17f6105056d4f5ae1d72 → @radix-ui_react-label@2.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react@_1e23a1d0870bb54d119b921befb6e1f1}/node_modules/@radix-ui/react-label/dist/index.es.js +1 -1
  135. package/dist/node_modules/.pnpm/{@radix-ui_react-label@2.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react@_ae014cd239ea17f6105056d4f5ae1d72 → @radix-ui_react-label@2.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react@_1e23a1d0870bb54d119b921befb6e1f1}/node_modules/@radix-ui/react-label/dist/index.es.js.map +1 -1
  136. package/dist/node_modules/.pnpm/{@radix-ui_react-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react@_33bda88a45acdfadd26edfa0356bf9c2 → @radix-ui_react-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react@_b8885c8fda438a89f7f57fb5eaa39793}/node_modules/@radix-ui/react-menu/dist/index.es.js +15 -15
  137. package/dist/node_modules/.pnpm/{@radix-ui_react-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react@_33bda88a45acdfadd26edfa0356bf9c2 → @radix-ui_react-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react@_b8885c8fda438a89f7f57fb5eaa39793}/node_modules/@radix-ui/react-menu/dist/index.es.js.map +1 -1
  138. package/dist/node_modules/.pnpm/{@radix-ui_react-popover@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.24__@types_rea_b83ca576aa6d35ce16f19b17141a23a7 → @radix-ui_react-popover@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.25__@types_rea_e67035f84faf1693d2ddea5547fba202}/node_modules/@radix-ui/react-popover/dist/index.es.js +13 -13
  139. package/dist/node_modules/.pnpm/{@radix-ui_react-popover@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.24__@types_rea_b83ca576aa6d35ce16f19b17141a23a7 → @radix-ui_react-popover@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.25__@types_rea_e67035f84faf1693d2ddea5547fba202}/node_modules/@radix-ui/react-popover/dist/index.es.js.map +1 -1
  140. package/dist/node_modules/.pnpm/{@radix-ui_react-popper@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react_04cde58b3d846085f3f2720dc0de6249 → @radix-ui_react-popper@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react_76b12e165852ecdbb8a6094dffbacd92}/node_modules/@radix-ui/react-popper/dist/index.es.js +7 -7
  141. package/dist/node_modules/.pnpm/{@radix-ui_react-popper@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react_04cde58b3d846085f3f2720dc0de6249 → @radix-ui_react-popper@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react_76b12e165852ecdbb8a6094dffbacd92}/node_modules/@radix-ui/react-popper/dist/index.es.js.map +1 -1
  142. package/dist/node_modules/.pnpm/{@radix-ui_react-portal@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react_29877306b40b7f55f107a6226a92701d → @radix-ui_react-portal@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react_705f4247ef14196629f3546964a6c2b6}/node_modules/@radix-ui/react-portal/dist/index.es.js +2 -2
  143. package/dist/node_modules/.pnpm/{@radix-ui_react-portal@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react_29877306b40b7f55f107a6226a92701d → @radix-ui_react-portal@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react_705f4247ef14196629f3546964a6c2b6}/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -1
  144. package/dist/node_modules/.pnpm/{@radix-ui_react-presence@1.1.5_@types_react-dom@18.3.7_@types_react@18.3.24__@types_rea_1785b347c4fa26533da42613cd03cd30 → @radix-ui_react-presence@1.1.5_@types_react-dom@18.3.7_@types_react@18.3.25__@types_rea_403a3824d7bd7194780174f7dd9f4931}/node_modules/@radix-ui/react-presence/dist/index.es.js +2 -2
  145. package/dist/node_modules/.pnpm/{@radix-ui_react-presence@1.1.5_@types_react-dom@18.3.7_@types_react@18.3.24__@types_rea_1785b347c4fa26533da42613cd03cd30 → @radix-ui_react-presence@1.1.5_@types_react-dom@18.3.7_@types_react@18.3.25__@types_rea_403a3824d7bd7194780174f7dd9f4931}/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -1
  146. package/dist/node_modules/.pnpm/{@radix-ui_react-primitive@2.1.3_@types_react-dom@18.3.7_@types_react@18.3.24__@types_re_b761f4feaff2952997da7e4c73a29536 → @radix-ui_react-primitive@2.1.3_@types_react-dom@18.3.7_@types_react@18.3.25__@types_re_117354dde67678cc08159e8f09678817}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
  147. package/dist/node_modules/.pnpm/{@radix-ui_react-primitive@2.1.3_@types_react-dom@18.3.7_@types_react@18.3.24__@types_re_b761f4feaff2952997da7e4c73a29536 → @radix-ui_react-primitive@2.1.3_@types_react-dom@18.3.7_@types_react@18.3.25__@types_re_117354dde67678cc08159e8f09678817}/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -1
  148. package/dist/node_modules/.pnpm/{@radix-ui_react-progress@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types_rea_974eb7ecd20b597a092aaf89d1565ffc → @radix-ui_react-progress@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types_rea_89f3a6ad4f3bdd44e3bbf1f9b2c24ed4}/node_modules/@radix-ui/react-progress/dist/index.es.js +2 -2
  149. package/dist/node_modules/.pnpm/{@radix-ui_react-progress@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types_rea_974eb7ecd20b597a092aaf89d1565ffc → @radix-ui_react-progress@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types_rea_89f3a6ad4f3bdd44e3bbf1f9b2c24ed4}/node_modules/@radix-ui/react-progress/dist/index.es.js.map +1 -1
  150. package/dist/node_modules/.pnpm/{@radix-ui_react-roving-focus@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.24__@type_6d0f9c5b62556d2cb57bf1ddd0ae6abe → @radix-ui_react-roving-focus@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.25__@type_c9e49eefc5c99b4e507aebd4df8f8d77}/node_modules/@radix-ui/react-roving-focus/dist/index.es.js +8 -8
  151. package/dist/node_modules/.pnpm/{@radix-ui_react-roving-focus@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.24__@type_6d0f9c5b62556d2cb57bf1ddd0ae6abe → @radix-ui_react-roving-focus@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.25__@type_c9e49eefc5c99b4e507aebd4df8f8d77}/node_modules/@radix-ui/react-roving-focus/dist/index.es.js.map +1 -1
  152. package/dist/node_modules/.pnpm/{@radix-ui_react-scroll-area@1.2.10_@types_react-dom@18.3.7_@types_react@18.3.24__@types_cb7f36d9c18d14e73f54cf99694d6292 → @radix-ui_react-scroll-area@1.2.10_@types_react-dom@18.3.7_@types_react@18.3.25__@types_5b7eb96b138e022562d5e19e82f5fcf6}/node_modules/@radix-ui/react-scroll-area/dist/index.es.js +7 -7
  153. package/dist/node_modules/.pnpm/{@radix-ui_react-scroll-area@1.2.10_@types_react-dom@18.3.7_@types_react@18.3.24__@types_cb7f36d9c18d14e73f54cf99694d6292 → @radix-ui_react-scroll-area@1.2.10_@types_react-dom@18.3.7_@types_react@18.3.25__@types_5b7eb96b138e022562d5e19e82f5fcf6}/node_modules/@radix-ui/react-scroll-area/dist/index.es.js.map +1 -1
  154. package/dist/node_modules/.pnpm/{@radix-ui_react-separator@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types_re_e0c21bebb5eee01252835eae65cfac66 → @radix-ui_react-separator@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types_re_2b14c7e34575653b0cc7f2b1ed87cfe1}/node_modules/@radix-ui/react-separator/dist/index.es.js +1 -1
  155. package/dist/node_modules/.pnpm/{@radix-ui_react-separator@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.24__@types_re_e0c21bebb5eee01252835eae65cfac66 → @radix-ui_react-separator@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.25__@types_re_2b14c7e34575653b0cc7f2b1ed87cfe1}/node_modules/@radix-ui/react-separator/dist/index.es.js.map +1 -1
  156. package/dist/node_modules/.pnpm/{@radix-ui_react-slider@1.3.6_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react_b67a5d566f44f176e08ad056534a1140 → @radix-ui_react-slider@1.3.6_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react_0bd952e50792f9cc11778245e69e0d59}/node_modules/@radix-ui/react-slider/dist/index.es.js +8 -8
  157. package/dist/node_modules/.pnpm/{@radix-ui_react-slider@1.3.6_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react_b67a5d566f44f176e08ad056534a1140 → @radix-ui_react-slider@1.3.6_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react_0bd952e50792f9cc11778245e69e0d59}/node_modules/@radix-ui/react-slider/dist/index.es.js.map +1 -1
  158. package/dist/node_modules/.pnpm/{@radix-ui_react-slot@1.2.3_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-slot@1.2.3_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-slot/dist/index.es.js +1 -1
  159. package/dist/node_modules/.pnpm/{@radix-ui_react-slot@1.2.3_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-slot@1.2.3_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -1
  160. package/dist/node_modules/.pnpm/{@radix-ui_react-switch@1.2.6_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react_29019fcdef998895ea482be6e534606b → @radix-ui_react-switch@1.2.6_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react_e6aa4f5f5e2ecc845f4e10887f79a160}/node_modules/@radix-ui/react-switch/dist/index.es.js +6 -6
  161. package/dist/node_modules/.pnpm/{@radix-ui_react-switch@1.2.6_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react_29019fcdef998895ea482be6e534606b → @radix-ui_react-switch@1.2.6_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react_e6aa4f5f5e2ecc845f4e10887f79a160}/node_modules/@radix-ui/react-switch/dist/index.es.js.map +1 -1
  162. package/dist/node_modules/.pnpm/{@radix-ui_react-tabs@1.1.13_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react@_1409706194d23bdbce8b905d7da58ada → @radix-ui_react-tabs@1.1.13_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react@_676294c368bef5b3ca968753916d06ad}/node_modules/@radix-ui/react-tabs/dist/index.es.js +7 -7
  163. package/dist/node_modules/.pnpm/{@radix-ui_react-tabs@1.1.13_@types_react-dom@18.3.7_@types_react@18.3.24__@types_react@_1409706194d23bdbce8b905d7da58ada → @radix-ui_react-tabs@1.1.13_@types_react-dom@18.3.7_@types_react@18.3.25__@types_react@_676294c368bef5b3ca968753916d06ad}/node_modules/@radix-ui/react-tabs/dist/index.es.js.map +1 -1
  164. package/dist/node_modules/.pnpm/{@radix-ui_react-toggle-group@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.24__@type_2137275b32f7c28dba09e161cfa75331 → @radix-ui_react-toggle-group@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.25__@type_dca4875f65ea487754ccc86bccbe36b1}/node_modules/@radix-ui/react-toggle-group/dist/index.es.js +6 -6
  165. package/dist/node_modules/.pnpm/{@radix-ui_react-toggle-group@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.24__@type_2137275b32f7c28dba09e161cfa75331 → @radix-ui_react-toggle-group@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.25__@type_dca4875f65ea487754ccc86bccbe36b1}/node_modules/@radix-ui/react-toggle-group/dist/index.es.js.map +1 -1
  166. package/dist/node_modules/.pnpm/{@radix-ui_react-toggle@1.1.10_@types_react-dom@18.3.7_@types_react@18.3.24__@types_reac_cdafbceac2ae18d081a73bb66d816ec4 → @radix-ui_react-toggle@1.1.10_@types_react-dom@18.3.7_@types_react@18.3.25__@types_reac_127505847ffe6dbe66814dcdccffb39d}/node_modules/@radix-ui/react-toggle/dist/index.es.js +2 -2
  167. package/dist/node_modules/.pnpm/{@radix-ui_react-toggle@1.1.10_@types_react-dom@18.3.7_@types_react@18.3.24__@types_reac_cdafbceac2ae18d081a73bb66d816ec4 → @radix-ui_react-toggle@1.1.10_@types_react-dom@18.3.7_@types_react@18.3.25__@types_reac_127505847ffe6dbe66814dcdccffb39d}/node_modules/@radix-ui/react-toggle/dist/index.es.js.map +1 -1
  168. package/dist/node_modules/.pnpm/{@radix-ui_react-tooltip@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.24__@types_reac_2ba3d52a7d0a54769b9508a93cc9aa17 → @radix-ui_react-tooltip@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.25__@types_reac_22e35c0794796149070231919ee248a3}/node_modules/@radix-ui/react-tooltip/dist/index.es.js +11 -11
  169. package/dist/node_modules/.pnpm/{@radix-ui_react-tooltip@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.24__@types_reac_2ba3d52a7d0a54769b9508a93cc9aa17 → @radix-ui_react-tooltip@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.25__@types_reac_22e35c0794796149070231919ee248a3}/node_modules/@radix-ui/react-tooltip/dist/index.es.js.map +1 -1
  170. package/dist/node_modules/.pnpm/{@radix-ui_react-use-callback-ref@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-callback-ref@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -1
  171. package/dist/node_modules/.pnpm/{@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-controllable-state@1.2.2_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +1 -1
  172. package/dist/node_modules/.pnpm/{@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-controllable-state@1.2.2_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -1
  173. package/dist/node_modules/.pnpm/{@radix-ui_react-use-escape-keydown@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-escape-keydown@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js +1 -1
  174. package/dist/node_modules/.pnpm/{@radix-ui_react-use-escape-keydown@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-escape-keydown@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js.map +1 -1
  175. package/dist/node_modules/.pnpm/{@radix-ui_react-use-layout-effect@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-layout-effect@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +1 -1
  176. package/dist/node_modules/.pnpm/{@radix-ui_react-use-previous@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-previous@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-previous/dist/index.es.js.map +1 -1
  177. package/dist/node_modules/.pnpm/{@radix-ui_react-use-size@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-size@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-size/dist/index.es.js +1 -1
  178. package/dist/node_modules/.pnpm/{@radix-ui_react-use-size@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-size@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-size/dist/index.es.js.map +1 -1
  179. package/dist/node_modules/.pnpm/{@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.3.7_@types_react@18.3.24__@ty_451fdd210482c2d9ebc060eaa70c2d9c → @radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.3.7_@types_react@18.3.25__@ty_e58d865855209aca6536fa4ccc328f12}/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js +1 -1
  180. package/dist/node_modules/.pnpm/{@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.3.7_@types_react@18.3.24__@ty_451fdd210482c2d9ebc060eaa70c2d9c → @radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.3.7_@types_react@18.3.25__@ty_e58d865855209aca6536fa4ccc328f12}/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js.map +1 -1
  181. package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.24_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/component.es.js +1 -1
  182. package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.24_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/component.es.js.map +1 -1
  183. package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.24_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/constants.es.js.map +1 -1
  184. package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.24_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/utils.es.js.map +1 -1
  185. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/Combination.es.js.map +1 -1
  186. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js +2 -2
  187. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js.map +1 -1
  188. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/UI.es.js +2 -2
  189. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/UI.es.js.map +1 -1
  190. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.es.js.map +1 -1
  191. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/handleScroll.es.js.map +1 -1
  192. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/medium.es.js +1 -1
  193. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/medium.es.js.map +1 -1
  194. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/sidecar.es.js +1 -1
  195. package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/sidecar.es.js.map +1 -1
  196. package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.24_react@18.3.1 → react-style-singleton@2.2.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-style-singleton/dist/es2015/component.es.js.map +1 -1
  197. package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.24_react@18.3.1 → react-style-singleton@2.2.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-style-singleton/dist/es2015/hook.es.js.map +1 -1
  198. package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.24_react@18.3.1 → react-style-singleton@2.2.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-style-singleton/dist/es2015/singleton.es.js.map +1 -1
  199. package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.24_react@18.3.1 → use-callback-ref@1.3.3_@types_react@18.3.25_react@18.3.1}/node_modules/use-callback-ref/dist/es2015/assignRef.es.js.map +1 -1
  200. package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.24_react@18.3.1 → use-callback-ref@1.3.3_@types_react@18.3.25_react@18.3.1}/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js.map +1 -1
  201. package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.24_react@18.3.1 → use-callback-ref@1.3.3_@types_react@18.3.25_react@18.3.1}/node_modules/use-callback-ref/dist/es2015/useRef.es.js.map +1 -1
  202. package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@18.3.24_react@18.3.1 → use-sidecar@1.1.3_@types_react@18.3.25_react@18.3.1}/node_modules/use-sidecar/dist/es2015/exports.es.js.map +1 -1
  203. package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@18.3.24_react@18.3.1 → use-sidecar@1.1.3_@types_react@18.3.25_react@18.3.1}/node_modules/use-sidecar/dist/es2015/medium.es.js.map +1 -1
  204. package/package.json +1 -1
  205. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components12.es.js +0 -0
  206. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components14.es.js +0 -0
  207. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components15.es.js +0 -0
  208. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components18.es.js +0 -0
  209. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components20.es.js +0 -0
  210. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components25.es.js +0 -0
  211. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components26.es.js +0 -0
  212. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components28.es.js +0 -0
  213. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components29.es.js +0 -0
  214. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components3.es.js +0 -0
  215. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components33.es.js +0 -0
  216. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components36.es.js +0 -0
  217. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components37.es.js +0 -0
  218. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components38.es.js +0 -0
  219. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components39.es.js +0 -0
  220. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components40.es.js +0 -0
  221. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components41.es.js +0 -0
  222. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components42.es.js +0 -0
  223. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components43.es.js +0 -0
  224. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components44.es.js +0 -0
  225. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components45.es.js +0 -0
  226. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components46.es.js +0 -0
  227. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components47.es.js +0 -0
  228. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components48.es.js +0 -0
  229. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components49.es.js +0 -0
  230. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components5.es.js +0 -0
  231. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components50.es.js +0 -0
  232. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components51.es.js +0 -0
  233. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components52.es.js +0 -0
  234. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components53.es.js +0 -0
  235. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components54.es.js +0 -0
  236. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components55.es.js +0 -0
  237. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components56.es.js +0 -0
  238. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components57.es.js +0 -0
  239. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components58.es.js +0 -0
  240. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components59.es.js +0 -0
  241. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components6.es.js +0 -0
  242. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components60.es.js +0 -0
  243. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components61.es.js +0 -0
  244. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components62.es.js +0 -0
  245. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components63.es.js +0 -0
  246. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components64.es.js +0 -0
  247. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components65.es.js +0 -0
  248. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components67.es.js +0 -0
  249. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components69.es.js +0 -0
  250. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components70.es.js +0 -0
  251. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components71.es.js +0 -0
  252. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components72.es.js +0 -0
  253. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components73.es.js +0 -0
  254. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components74.es.js +0 -0
  255. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components75.es.js +0 -0
  256. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components76.es.js +0 -0
  257. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components78.es.js +0 -0
  258. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components79.es.js +0 -0
  259. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components80.es.js +0 -0
  260. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components81.es.js +0 -0
  261. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components83.es.js +0 -0
  262. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components84.es.js +0 -0
  263. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components87.es.js +0 -0
  264. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components88.es.js +0 -0
  265. /package/dist/node_modules/.pnpm/{@frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_ef5f4348b965f84dccb69fbb773017a5 → @frontify_fondue-components@19.6.0_@frontify_fondue-icons@0.17.1_react@18.3.1__@frontif_fd20888bc23627b33749584605a74df2}/node_modules/@frontify/fondue-components/dist/fondue-components89.es.js +0 -0
  266. /package/dist/node_modules/.pnpm/{@radix-ui_react-compose-refs@1.1.2_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-compose-refs@1.1.2_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -0
  267. /package/dist/node_modules/.pnpm/{@radix-ui_react-context@1.1.2_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-context@1.1.2_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-context/dist/index.es.js +0 -0
  268. /package/dist/node_modules/.pnpm/{@radix-ui_react-direction@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-direction@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-direction/dist/index.es.js +0 -0
  269. /package/dist/node_modules/.pnpm/{@radix-ui_react-focus-guards@1.1.3_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-focus-guards@1.1.3_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-focus-guards/dist/index.es.js +0 -0
  270. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-callback-ref@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-callback-ref@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -0
  271. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-layout-effect@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-layout-effect@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js +0 -0
  272. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-previous@1.1.1_@types_react@18.3.24_react@18.3.1 → @radix-ui_react-use-previous@1.1.1_@types_react@18.3.25_react@18.3.1}/node_modules/@radix-ui/react-use-previous/dist/index.es.js +0 -0
  273. /package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.24_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/constants.es.js +0 -0
  274. /package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.24_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/utils.es.js +0 -0
  275. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/Combination.es.js +0 -0
  276. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.es.js +0 -0
  277. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.6.3_@types_react@18.3.24_react@18.3.1 → react-remove-scroll@2.6.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/handleScroll.es.js +0 -0
  278. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.24_react@18.3.1 → react-style-singleton@2.2.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-style-singleton/dist/es2015/component.es.js +0 -0
  279. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.24_react@18.3.1 → react-style-singleton@2.2.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-style-singleton/dist/es2015/hook.es.js +0 -0
  280. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.24_react@18.3.1 → react-style-singleton@2.2.3_@types_react@18.3.25_react@18.3.1}/node_modules/react-style-singleton/dist/es2015/singleton.es.js +0 -0
  281. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.24_react@18.3.1 → use-callback-ref@1.3.3_@types_react@18.3.25_react@18.3.1}/node_modules/use-callback-ref/dist/es2015/assignRef.es.js +0 -0
  282. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.24_react@18.3.1 → use-callback-ref@1.3.3_@types_react@18.3.25_react@18.3.1}/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js +0 -0
  283. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.24_react@18.3.1 → use-callback-ref@1.3.3_@types_react@18.3.25_react@18.3.1}/node_modules/use-callback-ref/dist/es2015/useRef.es.js +0 -0
  284. /package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@18.3.24_react@18.3.1 → use-sidecar@1.1.3_@types_react@18.3.25_react@18.3.1}/node_modules/use-sidecar/dist/es2015/exports.es.js +0 -0
  285. /package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@18.3.24_react@18.3.1 → use-sidecar@1.1.3_@types_react@18.3.25_react@18.3.1}/node_modules/use-sidecar/dist/es2015/medium.es.js +0 -0
package/dist/index.umd.js CHANGED
@@ -82,7 +82,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
82
82
  - less than the value passed to \`max\` (or ${aa} if no \`max\` prop is set)
83
83
  - \`null\` or \`undefined\` if the progress is indeterminate.
84
84
 
85
- Defaulting to \`null\`.`}var Xg=Cc,Qg=_c;const Zg=R1({base:"tw-relative tw-w-full tw-overflow-hidden",variants:{rounded:{true:"tw-rounded"},size:{small:"tw-h-1",medium:"tw-h-2",large:"tw-h-3","x-large":"tw-h-4"},variant:{default:"tw-bg-box-selected",positive:"tw-bg-box-positive",negative:"tw-bg-box-negative"}}}),Jg=R1({base:"tw-h-full tw-w-full",variants:{variant:{default:"tw-bg-text-interactive",positive:"tw-bg-text-positive",negative:"tw-bg-text-negative"},indeterminateState:{true:"tw-animate-loading-bar-infinite tw-origin-left-right",false:"tw-transition-all tw-origin-left tw-scale-x-[--loading-bar-proportion]"}}}),e9=b.forwardRef(({value:e,max:t=100,rounded:r=!0,variant:n="default",size:a="medium","data-test-id":o="fondue-loading-bar",...l},i)=>c.jsx(Xg,{ref:i,"data-test-id":o,className:Zg({rounded:r,size:a,variant:n}),"aria-busy":e!==t,value:e,max:t,style:{"--loading-bar-value":e,"--loading-bar-max":t,"--loading-bar-proportion":"calc(var(--loading-bar-value) / var(--loading-bar-max))"},...l,children:c.jsx(Qg,{className:Jg({variant:n,indeterminateState:e===null})})}));e9.displayName="LoadingBar";function la(e,[t,r]){return Math.min(r,Math.max(t,e))}function t9(e,t){return p.useReducer((r,n)=>t[r][n]??r,e)}var ia="ScrollArea",[Sc,rC]=H0(ia),[r9,Y0]=Sc(ia),Ic=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...l}=e,[i,s]=p.useState(null),[d,u]=p.useState(null),[f,h]=p.useState(null),[g,C]=p.useState(null),[m,v]=p.useState(null),[x,y]=p.useState(0),[_,A]=p.useState(0),[E,I]=p.useState(!1),[L,k]=p.useState(!1),F=d0(t,U=>s(U)),$=ie(a);return c.jsx(r9,{scope:r,type:n,dir:$,scrollHideDelay:o,scrollArea:i,viewport:d,onViewportChange:u,content:f,onContentChange:h,scrollbarX:g,onScrollbarXChange:C,scrollbarXEnabled:E,onScrollbarXEnabledChange:I,scrollbarY:m,onScrollbarYChange:v,scrollbarYEnabled:L,onScrollbarYEnabledChange:k,onCornerWidthChange:y,onCornerHeightChange:A,children:c.jsx(o0.div,{dir:$,...l,ref:F,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":_+"px",...e.style}})})});Ic.displayName=ia;var Pc="ScrollAreaViewport",Tc=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:n,nonce:a,...o}=e,l=Y0(Pc,r),i=p.useRef(null),s=d0(t,i,l.onViewportChange);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),c.jsx(o0.div,{"data-radix-scroll-area-viewport":"",...o,ref:s,style:{overflowX:l.scrollbarXEnabled?"scroll":"hidden",overflowY:l.scrollbarYEnabled?"scroll":"hidden",...e.style},children:c.jsx("div",{ref:l.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});Tc.displayName=Pc;var s1="ScrollAreaScrollbar",kc=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Y0(s1,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:l}=a,i=e.orientation==="horizontal";return p.useEffect(()=>(i?o(!0):l(!0),()=>{i?o(!1):l(!1)}),[i,o,l]),a.type==="hover"?c.jsx(n9,{...n,ref:t,forceMount:r}):a.type==="scroll"?c.jsx(o9,{...n,ref:t,forceMount:r}):a.type==="auto"?c.jsx(Nc,{...n,ref:t,forceMount:r}):a.type==="always"?c.jsx(sa,{...n,ref:t}):null});kc.displayName=s1;var n9=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Y0(s1,e.__scopeScrollArea),[o,l]=p.useState(!1);return p.useEffect(()=>{const i=a.scrollArea;let s=0;if(i){const d=()=>{window.clearTimeout(s),l(!0)},u=()=>{s=window.setTimeout(()=>l(!1),a.scrollHideDelay)};return i.addEventListener("pointerenter",d),i.addEventListener("pointerleave",u),()=>{window.clearTimeout(s),i.removeEventListener("pointerenter",d),i.removeEventListener("pointerleave",u)}}},[a.scrollArea,a.scrollHideDelay]),c.jsx(S0,{present:r||o,children:c.jsx(Nc,{"data-state":o?"visible":"hidden",...n,ref:t})})}),o9=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Y0(s1,e.__scopeScrollArea),o=e.orientation==="horizontal",l=Sr(()=>s("SCROLL_END"),100),[i,s]=t9("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return p.useEffect(()=>{if(i==="idle"){const d=window.setTimeout(()=>s("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[i,a.scrollHideDelay,s]),p.useEffect(()=>{const d=a.viewport,u=o?"scrollLeft":"scrollTop";if(d){let f=d[u];const h=()=>{const g=d[u];f!==g&&(s("SCROLL"),l()),f=g};return d.addEventListener("scroll",h),()=>d.removeEventListener("scroll",h)}},[a.viewport,o,s,l]),c.jsx(S0,{present:r||i!=="hidden",children:c.jsx(sa,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:e0(e.onPointerEnter,()=>s("POINTER_ENTER")),onPointerLeave:e0(e.onPointerLeave,()=>s("POINTER_LEAVE"))})})}),Nc=p.forwardRef((e,t)=>{const r=Y0(s1,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,l]=p.useState(!1),i=e.orientation==="horizontal",s=Sr(()=>{if(r.viewport){const d=r.viewport.offsetWidth<r.viewport.scrollWidth,u=r.viewport.offsetHeight<r.viewport.scrollHeight;l(i?d:u)}},10);return Te(r.viewport,s),Te(r.content,s),c.jsx(S0,{present:n||o,children:c.jsx(sa,{"data-state":o?"visible":"hidden",...a,ref:t})})}),sa=p.forwardRef((e,t)=>{const{orientation:r="vertical",...n}=e,a=Y0(s1,e.__scopeScrollArea),o=p.useRef(null),l=p.useRef(0),[i,s]=p.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=Lc(i.viewport,i.content),u={...n,sizes:i,onSizesChange:s,hasThumb:d>0&&d<1,onThumbChange:h=>o.current=h,onThumbPointerUp:()=>l.current=0,onThumbPointerDown:h=>l.current=h};function f(h,g){return d9(h,l.current,i,g)}return r==="horizontal"?c.jsx(a9,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const h=a.viewport.scrollLeft,g=Vc(h,i,a.dir);o.current.style.transform=`translate3d(${g}px, 0, 0)`}},onWheelScroll:h=>{a.viewport&&(a.viewport.scrollLeft=h)},onDragScroll:h=>{a.viewport&&(a.viewport.scrollLeft=f(h,a.dir))}}):r==="vertical"?c.jsx(l9,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const h=a.viewport.scrollTop,g=Vc(h,i);o.current.style.transform=`translate3d(0, ${g}px, 0)`}},onWheelScroll:h=>{a.viewport&&(a.viewport.scrollTop=h)},onDragScroll:h=>{a.viewport&&(a.viewport.scrollTop=f(h))}}):null}),a9=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=Y0(s1,e.__scopeScrollArea),[l,i]=p.useState(),s=p.useRef(null),d=d0(t,s,o.onScrollbarXChange);return p.useEffect(()=>{s.current&&i(getComputedStyle(s.current))},[s]),c.jsx(Oc,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Er(r)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,f)=>{if(o.viewport){const h=o.viewport.scrollLeft+u.deltaX;e.onWheelScroll(h),Fc(h,f)&&u.preventDefault()}},onResize:()=>{s.current&&o.viewport&&l&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:s.current.clientWidth,paddingStart:Ar(l.paddingLeft),paddingEnd:Ar(l.paddingRight)}})}})}),l9=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=Y0(s1,e.__scopeScrollArea),[l,i]=p.useState(),s=p.useRef(null),d=d0(t,s,o.onScrollbarYChange);return p.useEffect(()=>{s.current&&i(getComputedStyle(s.current))},[s]),c.jsx(Oc,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Er(r)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,f)=>{if(o.viewport){const h=o.viewport.scrollTop+u.deltaY;e.onWheelScroll(h),Fc(h,f)&&u.preventDefault()}},onResize:()=>{s.current&&o.viewport&&l&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:s.current.clientHeight,paddingStart:Ar(l.paddingTop),paddingEnd:Ar(l.paddingBottom)}})}})}),[i9,zc]=Sc(s1),Oc=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:l,onThumbPointerDown:i,onThumbPositionChange:s,onDragScroll:d,onWheelScroll:u,onResize:f,...h}=e,g=Y0(s1,r),[C,m]=p.useState(null),v=d0(t,F=>m(F)),x=p.useRef(null),y=p.useRef(""),_=g.viewport,A=n.content-n.viewport,E=z0(u),I=z0(s),L=Sr(f,10);function k(F){if(x.current){const $=F.clientX-x.current.left,U=F.clientY-x.current.top;d({x:$,y:U})}}return p.useEffect(()=>{const F=$=>{const U=$.target;(C==null?void 0:C.contains(U))&&E($,A)};return document.addEventListener("wheel",F,{passive:!1}),()=>document.removeEventListener("wheel",F,{passive:!1})},[_,C,A,E]),p.useEffect(I,[n,I]),Te(C,L),Te(g.content,L),c.jsx(i9,{scope:r,scrollbar:C,hasThumb:a,onThumbChange:z0(o),onThumbPointerUp:z0(l),onThumbPositionChange:I,onThumbPointerDown:z0(i),children:c.jsx(o0.div,{...h,ref:v,style:{position:"absolute",...h.style},onPointerDown:e0(e.onPointerDown,F=>{F.button===0&&(F.target.setPointerCapture(F.pointerId),x.current=C.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",g.viewport&&(g.viewport.style.scrollBehavior="auto"),k(F))}),onPointerMove:e0(e.onPointerMove,k),onPointerUp:e0(e.onPointerUp,F=>{const $=F.target;$.hasPointerCapture(F.pointerId)&&$.releasePointerCapture(F.pointerId),document.body.style.webkitUserSelect=y.current,g.viewport&&(g.viewport.style.scrollBehavior=""),x.current=null})})})}),Mr="ScrollAreaThumb",Hc=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=zc(Mr,e.__scopeScrollArea);return c.jsx(S0,{present:r||a.hasThumb,children:c.jsx(s9,{ref:t,...n})})}),s9=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:n,...a}=e,o=Y0(Mr,r),l=zc(Mr,r),{onThumbPositionChange:i}=l,s=d0(t,f=>l.onThumbChange(f)),d=p.useRef(void 0),u=Sr(()=>{d.current&&(d.current(),d.current=void 0)},100);return p.useEffect(()=>{const f=o.viewport;if(f){const h=()=>{if(u(),!d.current){const g=u9(f,i);d.current=g,i()}};return i(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[o.viewport,u,i]),c.jsx(o0.div,{"data-state":l.hasThumb?"visible":"hidden",...a,ref:s,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:e0(e.onPointerDownCapture,f=>{const g=f.target.getBoundingClientRect(),C=f.clientX-g.left,m=f.clientY-g.top;l.onThumbPointerDown({x:C,y:m})}),onPointerUp:e0(e.onPointerUp,l.onThumbPointerUp)})});Hc.displayName=Mr;var ca="ScrollAreaCorner",Dc=p.forwardRef((e,t)=>{const r=Y0(ca,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?c.jsx(c9,{...e,ref:t}):null});Dc.displayName=ca;var c9=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,...n}=e,a=Y0(ca,r),[o,l]=p.useState(0),[i,s]=p.useState(0),d=!!(o&&i);return Te(a.scrollbarX,()=>{var f;const u=((f=a.scrollbarX)==null?void 0:f.offsetHeight)||0;a.onCornerHeightChange(u),s(u)}),Te(a.scrollbarY,()=>{var f;const u=((f=a.scrollbarY)==null?void 0:f.offsetWidth)||0;a.onCornerWidthChange(u),l(u)}),d?c.jsx(o0.div,{...n,ref:t,style:{width:o,height:i,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function Ar(e){return e?parseInt(e,10):0}function Lc(e,t){const r=e/t;return isNaN(r)?0:r}function Er(e){const t=Lc(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function d9(e,t,r,n="ltr"){const a=Er(r),o=a/2,l=t||o,i=a-l,s=r.scrollbar.paddingStart+l,d=r.scrollbar.size-r.scrollbar.paddingEnd-i,u=r.content-r.viewport,f=n==="ltr"?[0,u]:[u*-1,0];return $c([s,d],f)(e)}function Vc(e,t,r="ltr"){const n=Er(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,l=t.content-t.viewport,i=o-n,s=r==="ltr"?[0,l]:[l*-1,0],d=la(e,s);return $c([0,l],[0,i])(d)}function $c(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Fc(e,t){return e>0&&e<t}var u9=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function a(){const o={left:e.scrollLeft,top:e.scrollTop},l=r.left!==o.left,i=r.top!==o.top;(l||i)&&t(),r=o,n=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(n)};function Sr(e,t){const r=z0(e),n=p.useRef(0);return p.useEffect(()=>()=>window.clearTimeout(n.current),[]),p.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Te(e,t){const r=z0(t);f1(()=>{let n=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}var f9=Ic,h9=Tc,Bc=kc,Rc=Hc,p9=Dc;const v9="_root_hkznm_4",g9="_viewport_hkznm_12",m9="_scrollbar_hkznm_43",b9="_thumb_hkznm_75",w9="_corner_hkznm_93",X1={root:v9,viewport:g9,scrollbar:m9,thumb:b9,corner:w9},y9=({type:e="hover",maxHeight:t="100%",maxWidth:r="100%",showShadow:n=!1,scrollbarGutter:a="auto",padding:o,children:l,"data-test-id":i="fondue-scroll-area"},s)=>c.jsxs(f9,{type:e,className:X1.root,style:{maxWidth:r},"data-test-id":i,ref:s,children:[c.jsx(h9,{className:X1.viewport,style:{maxHeight:t},"data-scroll-padding":o,"data-show-shadow":n,"data-scrollbar-type":e,"data-scrollbar-gutter":a,"data-test-id":`${i}-viewport`,children:l}),c.jsx(Bc,{className:X1.scrollbar,orientation:"vertical","data-test-id":`${i}-vertical-scrollbar`,children:c.jsx(Rc,{className:X1.thumb,"data-test-id":`${i}-vertical-scrollbar-thumb`})}),c.jsx(Bc,{className:X1.scrollbar,orientation:"horizontal","data-test-id":`${i}-horizontal-scrollbar`,children:c.jsx(Rc,{className:X1.thumb,"data-test-id":`${i}-horizontal-scrollbar-thumb`})}),c.jsx(p9,{className:X1.corner,"data-test-id":`${i}-corner`})]}),Uc=b.forwardRef(y9);Uc.displayName="ScrollArea";const C9="_root_5sic9_5",x9={root:C9},_9=b.forwardRef(({"data-test-id":e="fondue-section",children:t,role:r,"aria-label":n,"aria-hidden":a,"aria-describedby":o,"aria-labelledby":l,"aria-expanded":i,"aria-haspopup":s,...d},u)=>c.jsx("section",{className:x9.root,"data-test-id":e,style:Mt(d),role:r,"aria-label":n,"aria-hidden":a,"aria-describedby":o,"aria-labelledby":l,"aria-expanded":i,"aria-haspopup":s,ref:u,children:t}));_9.displayName="Section";var Wc="Toggle",Kc=p.forwardRef((e,t)=>{const{pressed:r,defaultPressed:n,onPressedChange:a,...o}=e,[l,i]=j0({prop:r,onChange:a,defaultProp:n??!1,caller:Wc});return c.jsx(o0.button,{type:"button","aria-pressed":l,"data-state":l?"on":"off","data-disabled":e.disabled?"":void 0,...o,ref:t,onClick:e0(e.onClick,()=>{e.disabled||i(!l)})})});Kc.displayName=Wc;var D1="ToggleGroup",[jc,nC]=H0(D1,[Ie]),Gc=Ie(),da=b.forwardRef((e,t)=>{const{type:r,...n}=e;if(r==="single"){const a=n;return c.jsx(M9,{...a,ref:t})}if(r==="multiple"){const a=n;return c.jsx(A9,{...a,ref:t})}throw new Error(`Missing prop \`type\` expected on \`${D1}\``)});da.displayName=D1;var[qc,Yc]=jc(D1),M9=b.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:a=()=>{},...o}=e,[l,i]=j0({prop:r,defaultProp:n??"",onChange:a,caller:D1});return c.jsx(qc,{scope:e.__scopeToggleGroup,type:"single",value:b.useMemo(()=>l?[l]:[],[l]),onItemActivate:i,onItemDeactivate:b.useCallback(()=>i(""),[i]),children:c.jsx(Xc,{...o,ref:t})})}),A9=b.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:a=()=>{},...o}=e,[l,i]=j0({prop:r,defaultProp:n??[],onChange:a,caller:D1}),s=b.useCallback(u=>i((f=[])=>[...f,u]),[i]),d=b.useCallback(u=>i((f=[])=>f.filter(h=>h!==u)),[i]);return c.jsx(qc,{scope:e.__scopeToggleGroup,type:"multiple",value:l,onItemActivate:s,onItemDeactivate:d,children:c.jsx(Xc,{...o,ref:t})})});da.displayName=D1;var[E9,S9]=jc(D1),Xc=b.forwardRef((e,t)=>{const{__scopeToggleGroup:r,disabled:n=!1,rovingFocus:a=!0,orientation:o,dir:l,loop:i=!0,...s}=e,d=Gc(r),u=ie(l),f={role:"group",dir:u,...s};return c.jsx(E9,{scope:r,rovingFocus:a,disabled:n,children:a?c.jsx(Go,{asChild:!0,...d,orientation:o,dir:u,loop:i,children:c.jsx(o0.div,{...f,ref:t})}):c.jsx(o0.div,{...f,ref:t})})}),Ir="ToggleGroupItem",Qc=b.forwardRef((e,t)=>{const r=Yc(Ir,e.__scopeToggleGroup),n=S9(Ir,e.__scopeToggleGroup),a=Gc(e.__scopeToggleGroup),o=r.value.includes(e.value),l=n.disabled||e.disabled,i={...e,pressed:o,disabled:l},s=b.useRef(null);return n.rovingFocus?c.jsx(qo,{asChild:!0,...a,focusable:!l,active:o,ref:s,children:c.jsx(Zc,{...i,ref:t})}):c.jsx(Zc,{...i,ref:t})});Qc.displayName=Ir;var Zc=b.forwardRef((e,t)=>{const{__scopeToggleGroup:r,value:n,...a}=e,o=Yc(Ir,r),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},i=o.type==="single"?l:void 0;return c.jsx(Kc,{...i,...a,ref:t,onPressedChange:s=>{s?o.onItemActivate(n):o.onItemDeactivate(n)}})}),I9=da,P9=Qc;const Jc=({prop:e,defaultProp:t,onChange:r=()=>{}})=>{const[n,a]=T9({defaultProp:t,onChange:r}),o=e!==void 0,l=o?e:n,i=b.useMemo(()=>r,[r]),s=b.useCallback(d=>{if(o){const u=typeof d=="function"?d(e):d;u!==e&&i(u)}else a(d)},[o,e,a,i]);return[l,s]},T9=({defaultProp:e,onChange:t})=>{const[r,n]=b.useState(e),a=b.useRef(r),o=b.useMemo(()=>t,[t]);return b.useEffect(()=>{a.current!==r&&(o==null||o(r),a.current=r)},[r,a,o]),[r,n]},k9="_root_1yzu4_5",N9="_item_1yzu4_30",z9="_itemLabel_1yzu4_50",O9="_itemLabelActive_1yzu4_70",H9="_itemLabelInactive_1yzu4_100",D9="_activeIndicator_1yzu4_130",L9="_separator_1yzu4_227",Q1={root:k9,item:N9,itemLabel:z9,itemLabelActive:O9,itemLabelInactive:H9,activeIndicator:D9,separator:L9},e7=({children:e,value:t,defaultValue:r,onValueChange:n,hugWidth:a=!0,...o},l)=>{const[i,s]=Jc({prop:t,defaultProp:r,onChange:n});return c.jsxs(I9,{ref:l,...o,className:Q1.root,onValueChange:d=>{d&&s(d)},value:i,type:"single",asChild:!1,"data-hug-width":a,"aria-disabled":o.disabled,children:[e,c.jsx("div",{className:Q1.activeIndicator})]})};e7.displayName="SegmentedControl.Root";const t7=({children:e,...t},r)=>c.jsxs(P9,{ref:r,...t,className:Q1.item,asChild:!1,children:[c.jsx("span",{className:Q1.separator}),c.jsxs("span",{className:Q1.itemLabel,children:[c.jsx("span",{className:Q1.itemLabelActive,children:e}),c.jsx("span",{className:Q1.itemLabelInactive,children:e})]})]});t7.displayName="SegmentedControl.Item",b.forwardRef(e7),b.forwardRef(t7);var r7=["PageUp","PageDown"],n7=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],o7={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},ke="Slider",[ua,V9,$9]=Yr(ke),[a7,oC]=H0(ke,[$9]),[F9,Pr]=a7(ke),l7=p.forwardRef((e,t)=>{const{name:r,min:n=0,max:a=100,step:o=1,orientation:l="horizontal",disabled:i=!1,minStepsBetweenThumbs:s=0,defaultValue:d=[n],value:u,onValueChange:f=()=>{},onValueCommit:h=()=>{},inverted:g=!1,form:C,...m}=e,v=p.useRef(new Set),x=p.useRef(0),_=l==="horizontal"?B9:R9,[A=[],E]=j0({prop:u,defaultProp:d,onChange:U=>{var W;(W=[...v.current][x.current])==null||W.focus(),f(U)}}),I=p.useRef(A);function L(U){const P=G9(A,U);$(U,P)}function k(U){$(U,x.current)}function F(){const U=I.current[x.current];A[x.current]!==U&&h(A)}function $(U,P,{commit:W}={commit:!1}){const H=Q9(o),Y=Z9(Math.round((U-n)/o)*o+n,H),K=la(Y,[n,a]);E((B=[])=>{const V=K9(B,K,P);if(X9(V,s*o)){x.current=V.indexOf(K);const N=String(V)!==String(B);return N&&W&&h(V),N?V:B}else return B})}return c.jsx(F9,{scope:e.__scopeSlider,name:r,disabled:i,min:n,max:a,valueIndexToChangeRef:x,thumbs:v.current,values:A,orientation:l,form:C,children:c.jsx(ua.Provider,{scope:e.__scopeSlider,children:c.jsx(ua.Slot,{scope:e.__scopeSlider,children:c.jsx(_,{"aria-disabled":i,"data-disabled":i?"":void 0,...m,ref:t,onPointerDown:e0(m.onPointerDown,()=>{i||(I.current=A)}),min:n,max:a,inverted:g,onSlideStart:i?void 0:L,onSlideMove:i?void 0:k,onSlideEnd:i?void 0:F,onHomeKeyDown:()=>!i&&$(n,0,{commit:!0}),onEndKeyDown:()=>!i&&$(a,A.length-1,{commit:!0}),onStepKeyDown:({event:U,direction:P})=>{if(!i){const Y=r7.includes(U.key)||U.shiftKey&&n7.includes(U.key)?10:1,K=x.current,B=A[K],V=o*Y*P;$(B+V,K,{commit:!0})}}})})})})});l7.displayName=ke;var[i7,s7]=a7(ke,{startEdge:"left",endEdge:"right",size:"width",direction:1}),B9=p.forwardRef((e,t)=>{const{min:r,max:n,dir:a,inverted:o,onSlideStart:l,onSlideMove:i,onSlideEnd:s,onStepKeyDown:d,...u}=e,[f,h]=p.useState(null),g=d0(t,_=>h(_)),C=p.useRef(void 0),m=ie(a),v=m==="ltr",x=v&&!o||!v&&o;function y(_){const A=C.current||f.getBoundingClientRect(),E=[0,A.width],L=pa(E,x?[r,n]:[n,r]);return C.current=A,L(_-A.left)}return c.jsx(i7,{scope:e.__scopeSlider,startEdge:x?"left":"right",endEdge:x?"right":"left",direction:x?1:-1,size:"width",children:c.jsx(c7,{dir:m,"data-orientation":"horizontal",...u,ref:g,style:{...u.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:_=>{const A=y(_.clientX);l==null||l(A)},onSlideMove:_=>{const A=y(_.clientX);i==null||i(A)},onSlideEnd:()=>{C.current=void 0,s==null||s()},onStepKeyDown:_=>{const E=o7[x?"from-left":"from-right"].includes(_.key);d==null||d({event:_,direction:E?-1:1})}})})}),R9=p.forwardRef((e,t)=>{const{min:r,max:n,inverted:a,onSlideStart:o,onSlideMove:l,onSlideEnd:i,onStepKeyDown:s,...d}=e,u=p.useRef(null),f=d0(t,u),h=p.useRef(void 0),g=!a;function C(m){const v=h.current||u.current.getBoundingClientRect(),x=[0,v.height],_=pa(x,g?[n,r]:[r,n]);return h.current=v,_(m-v.top)}return c.jsx(i7,{scope:e.__scopeSlider,startEdge:g?"bottom":"top",endEdge:g?"top":"bottom",size:"height",direction:g?1:-1,children:c.jsx(c7,{"data-orientation":"vertical",...d,ref:f,style:{...d.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:m=>{const v=C(m.clientY);o==null||o(v)},onSlideMove:m=>{const v=C(m.clientY);l==null||l(v)},onSlideEnd:()=>{h.current=void 0,i==null||i()},onStepKeyDown:m=>{const x=o7[g?"from-bottom":"from-top"].includes(m.key);s==null||s({event:m,direction:x?-1:1})}})})}),c7=p.forwardRef((e,t)=>{const{__scopeSlider:r,onSlideStart:n,onSlideMove:a,onSlideEnd:o,onHomeKeyDown:l,onEndKeyDown:i,onStepKeyDown:s,...d}=e,u=Pr(ke,r);return c.jsx(o0.span,{...d,ref:t,onKeyDown:e0(e.onKeyDown,f=>{f.key==="Home"?(l(f),f.preventDefault()):f.key==="End"?(i(f),f.preventDefault()):r7.concat(n7).includes(f.key)&&(s(f),f.preventDefault())}),onPointerDown:e0(e.onPointerDown,f=>{const h=f.target;h.setPointerCapture(f.pointerId),f.preventDefault(),u.thumbs.has(h)?h.focus():n(f)}),onPointerMove:e0(e.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&a(f)}),onPointerUp:e0(e.onPointerUp,f=>{const h=f.target;h.hasPointerCapture(f.pointerId)&&(h.releasePointerCapture(f.pointerId),o(f))})})}),d7="SliderTrack",u7=p.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,a=Pr(d7,r);return c.jsx(o0.span,{"data-disabled":a.disabled?"":void 0,"data-orientation":a.orientation,...n,ref:t})});u7.displayName=d7;var fa="SliderRange",f7=p.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,a=Pr(fa,r),o=s7(fa,r),l=p.useRef(null),i=d0(t,l),s=a.values.length,d=a.values.map(h=>v7(h,a.min,a.max)),u=s>1?Math.min(...d):0,f=100-Math.max(...d);return c.jsx(o0.span,{"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,...n,ref:i,style:{...e.style,[o.startEdge]:u+"%",[o.endEdge]:f+"%"}})});f7.displayName=fa;var ha="SliderThumb",h7=p.forwardRef((e,t)=>{const r=V9(e.__scopeSlider),[n,a]=p.useState(null),o=d0(t,i=>a(i)),l=p.useMemo(()=>n?r().findIndex(i=>i.ref.current===n):-1,[r,n]);return c.jsx(U9,{...e,ref:o,index:l})}),U9=p.forwardRef((e,t)=>{const{__scopeSlider:r,index:n,name:a,...o}=e,l=Pr(ha,r),i=s7(ha,r),[s,d]=p.useState(null),u=d0(t,y=>d(y)),f=s?l.form||!!s.closest("form"):!0,h=At(s),g=l.values[n],C=g===void 0?0:v7(g,l.min,l.max),m=j9(n,l.values.length),v=h==null?void 0:h[i.size],x=v?q9(v,C,i.direction):0;return p.useEffect(()=>{if(s)return l.thumbs.add(s),()=>{l.thumbs.delete(s)}},[s,l.thumbs]),c.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[i.startEdge]:`calc(${C}% + ${x}px)`},children:[c.jsx(ua.ItemSlot,{scope:e.__scopeSlider,children:c.jsx(o0.span,{role:"slider","aria-label":e["aria-label"]||m,"aria-valuemin":l.min,"aria-valuenow":g,"aria-valuemax":l.max,"aria-orientation":l.orientation,"data-orientation":l.orientation,"data-disabled":l.disabled?"":void 0,tabIndex:l.disabled?void 0:0,...o,ref:u,style:g===void 0?{display:"none"}:e.style,onFocus:e0(e.onFocus,()=>{l.valueIndexToChangeRef.current=n})})}),f&&c.jsx(p7,{name:a??(l.name?l.name+(l.values.length>1?"[]":""):void 0),form:l.form,value:g},n)]})});h7.displayName=ha;var W9="RadioBubbleInput",p7=p.forwardRef(({__scopeSlider:e,value:t,...r},n)=>{const a=p.useRef(null),o=d0(a,n),l=ln(t);return p.useEffect(()=>{const i=a.current;if(!i)return;const s=window.HTMLInputElement.prototype,u=Object.getOwnPropertyDescriptor(s,"value").set;if(l!==t&&u){const f=new Event("input",{bubbles:!0});u.call(i,t),i.dispatchEvent(f)}},[l,t]),c.jsx(o0.input,{style:{display:"none"},...r,ref:o,defaultValue:t})});p7.displayName=W9;function K9(e=[],t,r){const n=[...e];return n[r]=t,n.sort((a,o)=>a-o)}function v7(e,t,r){const o=100/(r-t)*(e-t);return la(o,[0,100])}function j9(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function G9(e,t){if(e.length===1)return 0;const r=e.map(a=>Math.abs(a-t)),n=Math.min(...r);return r.indexOf(n)}function q9(e,t,r){const n=e/2,o=pa([0,50],[0,n]);return(n-o(t)*r)*r}function Y9(e){return e.slice(0,-1).map((t,r)=>e[r+1]-t)}function X9(e,t){if(t>0){const r=Y9(e);return Math.min(...r)>=t}return!0}function pa(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Q9(e){return(String(e).split(".")[1]||"").length}function Z9(e,t){const r=Math.pow(10,t);return Math.round(e*r)/r}var J9=l7,em=u7,tm=f7,rm=h7;const nm="_root_fs3zj_5",om="_thumb_fs3zj_17",am="_track_fs3zj_21",lm="_range_fs3zj_28",Tr={root:nm,thumb:om,track:am,range:lm},im=({value:e,defaultValue:t=[0],onChange:r,onCommit:n,"data-test-id":a="fondue-slider",...o},l)=>{const i=b.useRef(null);return c.jsxs(J9,{ref:l,className:Tr.root,value:e,defaultValue:t,onValueChange:r,onValueCommit:n,"data-test-id":a,...o,children:[c.jsx(em,{onPointerDown:()=>{i.current&&(i.current.dataset.showFocusRing="false")},className:Tr.track,children:c.jsx(tm,{className:Tr.range})}),(e||t).map((s,d)=>c.jsx(rm,{ref:i,className:Tr.thumb,onPointerDown:u=>{u.currentTarget.dataset.showFocusRing="false"},onBlur:u=>{u.currentTarget.dataset.showFocusRing="true"}},d))]})},sm=b.forwardRef(im);sm.displayName="Slider";var kr="Switch",[cm,aC]=H0(kr),[dm,um]=cm(kr),g7=p.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:a,defaultChecked:o,required:l,disabled:i,value:s="on",onCheckedChange:d,form:u,...f}=e,[h,g]=p.useState(null),C=d0(t,_=>g(_)),m=p.useRef(!1),v=h?u||!!h.closest("form"):!0,[x,y]=j0({prop:a,defaultProp:o??!1,onChange:d,caller:kr});return c.jsxs(dm,{scope:r,checked:x,disabled:i,children:[c.jsx(o0.button,{type:"button",role:"switch","aria-checked":x,"aria-required":l,"data-state":y7(x),"data-disabled":i?"":void 0,disabled:i,value:s,...f,ref:C,onClick:e0(e.onClick,_=>{y(A=>!A),v&&(m.current=_.isPropagationStopped(),m.current||_.stopPropagation())})}),v&&c.jsx(w7,{control:h,bubbles:!m.current,name:n,value:s,checked:x,required:l,disabled:i,form:u,style:{transform:"translateX(-100%)"}})]})});g7.displayName=kr;var m7="SwitchThumb",b7=p.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,a=um(m7,r);return c.jsx(o0.span,{"data-state":y7(a.checked),"data-disabled":a.disabled?"":void 0,...n,ref:t})});b7.displayName=m7;var fm="SwitchBubbleInput",w7=p.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...a},o)=>{const l=p.useRef(null),i=d0(l,o),s=ln(r),d=At(t);return p.useEffect(()=>{const u=l.current;if(!u)return;const f=window.HTMLInputElement.prototype,g=Object.getOwnPropertyDescriptor(f,"checked").set;if(s!==r&&g){const C=new Event("click",{bubbles:n});g.call(u,r),u.dispatchEvent(C)}},[s,r,n]),c.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...a,tabIndex:-1,ref:i,style:{...a.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});w7.displayName=fm;function y7(e){return e?"checked":"unchecked"}var hm=g7,pm=b7;const vm="_root_1g6pz_5",gm="_small_1g6pz_16",mm="_medium_1g6pz_20",bm="_large_1g6pz_24",wm="_thumb_1g6pz_61",va={root:vm,small:gm,medium:mm,large:bm,thumb:wm},ym=({value:e,defaultValue:t,size:r="medium",onChange:n,"data-test-id":a="fondue-switch","aria-label":o="Switch",...l},i)=>c.jsx(hm,{ref:i,checked:e,defaultChecked:t,className:a1([va.root,va[r]]),onCheckedChange:n,"aria-label":o,"data-test-id":a,...l,children:c.jsx(pm,{className:va.thumb})}),Cm=b.forwardRef(ym);Cm.displayName="Switch";const C7=e=>{b.useEffect(()=>{if(!e.current)return;const t=e.current,r=new ResizeObserver(()=>{const n=t.scrollWidth>t.clientWidth;t.title=n&&t.textContent||""});return r.observe(t),()=>r.disconnect()},[e])},xm="_table_1outv_4",_m="_headerCell_1outv_18",Mm="_rowCell_1outv_19",Am="_caption_1outv_46",Em="_cellContent_1outv_71",Sm="_sortIndicator_1outv_96",Im="_body_1outv_100",Pm="_row_1outv_19",Tm="_buttonText_1outv_164",X0={table:xm,headerCell:_m,rowCell:Mm,caption:Am,cellContent:Em,sortIndicator:Sm,body:Im,row:Pm,buttonText:Tm};function km(e,t){const r='tr[tabindex="0"]',n=e.closest("table");if(!n)return null;const a=Array.from(n.querySelectorAll(r)),o=a.indexOf(e)+(t==="ArrowUp"?-1:1);return o>=0&&o<a.length?a[o]:null}function Nm(e){const t=e.target,r=t.closest("tr");if(!r||t!==r||!["ArrowUp","ArrowDown"].includes(e.key))return;const n=km(r,e.key);n&&(e.preventDefault(),n.focus())}const zm=[HTMLButtonElement,HTMLAnchorElement],Om=["button","link"];function Hm(e){if(!e)return!1;const{target:t,currentTarget:r}=e;let n=t instanceof Element?t:null;if(!r.contains(n))return!0;for(;n&&!(n instanceof HTMLTableRowElement);){if(zm.some(o=>n instanceof o))return!0;const a=n.getAttribute("role");if(a&&Om.includes(a))return!0;n=n.parentElement}return!1}const Dm=b.forwardRef(({layout:e="auto",fontSize:t="medium",sticky:r,children:n,...a},o)=>c.jsx("table",{ref:o,className:X0.table,"data-layout":e,"data-font-size":t,"data-sticky":r,onKeyDown:Nm,...a,children:n}));Dm.displayName="Table.Root";const Lm=b.forwardRef(({children:e},t)=>c.jsx("caption",{ref:t,className:X0.caption,children:e}));Lm.displayName="Table.Caption";const Vm=b.forwardRef(({children:e,"aria-label":t,"aria-busy":r},n)=>c.jsx("thead",{ref:n,className:X0.header,"aria-label":t,"aria-busy":r,children:e}));Vm.displayName="Table.Header";const $m=b.forwardRef(({noShrink:e=!1,truncate:t=!1,align:r="left",scope:n="col",sortTranslations:a,sortDirection:o,colSpan:l,width:i,state:s="idle",loadingStateAriaLabel:d,onSortChange:u,children:f},h)=>{const g=b.useRef(null);Uo(g,h),C7(g);const C=b.useMemo(()=>typeof f=="string"?o==="ascending"?(a==null?void 0:a.sortDescending)??`Sort by ${f} descending`:(a==null?void 0:a.sortAscending)??`Sort by ${f} ascending`:o==="ascending"?"Sort descending":"Sort ascending",[f,o,a]),m=()=>{u&&u(o===void 0||o==="descending"?"ascending":"descending")};return c.jsx("th",{ref:g,style:{width:i},className:X0.headerCell,scope:n,colSpan:l,"data-align":r,"data-truncate":t,"data-no-shrink":e,"data-sortable":!!u,"aria-sort":u?o||"none":void 0,children:s==="loading"?c.jsxs("div",{className:X0.cellContent,"aria-live":"polite","aria-label":d,children:[typeof f=="string"&&t?c.jsx("span",{className:X0.buttonText,children:f}):f,c.jsx(Me,{"data-test-id":"fondue-loading-circle",size:"xx-small"})]}):u?c.jsxs("button",{className:X0.cellContent,"aria-label":C,"data-active":!!o,onClick:m,type:"button",children:[typeof f=="string"&&t?c.jsx("span",{className:X0.buttonText,children:f}):f,c.jsx(c5,{width:3,children:o==="ascending"?c.jsx(xu,{size:"12"}):o==="descending"?c.jsx(Cu,{size:"12"}):c.jsx(yu,{className:X0.sortIndicator,size:"12"})})]}):f})});$m.displayName="Table.HeaderCell";const Fm=b.forwardRef(({children:e,"aria-busy":t},r)=>c.jsx("tbody",{ref:r,className:X0.body,"aria-busy":t,children:e}));Fm.displayName="Table.Body";const Bm=b.forwardRef(({disabled:e=!1,selected:t=!1,onClick:r,children:n,"aria-label":a,"data-test-id":o},l)=>{const i=r!==void 0&&!e,s=u=>{e||Hm(u)||r&&r(t)},d=u=>{i&&(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),s())};return c.jsx("tr",{ref:l,className:X0.row,tabIndex:0,role:i?"button":"row","data-disabled":e,"data-interactive":i,"data-selected":i?void 0:t,"aria-disabled":e,"aria-label":a,"aria-selected":i?void 0:t,onClick:i?s:void 0,onKeyDown:i?d:void 0,"data-test-id":o,children:n})});Bm.displayName="Table.Row";const Rm=b.forwardRef(({colSpan:e,truncate:t,align:r="left",children:n,"aria-label":a},o)=>{const l=b.useRef(null);return Uo(l,o),C7(l),c.jsx("td",{ref:l,className:X0.rowCell,colSpan:e,"data-align":r,"data-truncate":t,"aria-label":a,children:n})});Rm.displayName="Table.RowCell";const Um=({children:e})=>c.jsx(c.Fragment,{children:e});Um.displayName="Tag.HoverContent";const Wm=({children:e})=>c.jsx(c.Fragment,{children:e});Wm.displayName="Tag.SecondaryContent";var Nr="Tabs",[Km,lC]=H0(Nr,[Ie]),x7=Ie(),[jm,ga]=Km(Nr),_7=p.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:a,defaultValue:o,orientation:l="horizontal",dir:i,activationMode:s="automatic",...d}=e,u=ie(i),[f,h]=j0({prop:n,onChange:a,defaultProp:o??"",caller:Nr});return c.jsx(jm,{scope:r,baseId:h1(),value:f,onValueChange:h,orientation:l,dir:u,activationMode:s,children:c.jsx(o0.div,{dir:u,"data-orientation":l,...d,ref:t})})});_7.displayName=Nr;var M7="TabsList",A7=p.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...a}=e,o=ga(M7,r),l=x7(r);return c.jsx(Go,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:n,children:c.jsx(o0.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})});A7.displayName=M7;var E7="TabsTrigger",S7=p.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:a=!1,...o}=e,l=ga(E7,r),i=x7(r),s=T7(l.baseId,n),d=k7(l.baseId,n),u=n===l.value;return c.jsx(qo,{asChild:!0,...i,focusable:!a,active:u,children:c.jsx(o0.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":d,"data-state":u?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:s,...o,ref:t,onMouseDown:e0(e.onMouseDown,f=>{!a&&f.button===0&&f.ctrlKey===!1?l.onValueChange(n):f.preventDefault()}),onKeyDown:e0(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&l.onValueChange(n)}),onFocus:e0(e.onFocus,()=>{const f=l.activationMode!=="manual";!u&&!a&&f&&l.onValueChange(n)})})})});S7.displayName=E7;var I7="TabsContent",P7=p.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:a,children:o,...l}=e,i=ga(I7,r),s=T7(i.baseId,n),d=k7(i.baseId,n),u=n===i.value,f=p.useRef(u);return p.useEffect(()=>{const h=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(h)},[]),c.jsx(S0,{present:a||u,children:({present:h})=>c.jsx(o0.div,{"data-state":u?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":s,hidden:!h,id:d,tabIndex:0,...l,ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0},children:h&&o})})});P7.displayName=I7;function T7(e,t){return`${e}-trigger-${t}`}function k7(e,t){return`${e}-content-${t}`}var Gm=_7,qm=A7,Ym=S7,Xm=P7;const Qm=(e,t)=>e.filter(r=>{var n;const a=(n=r.ref)==null?void 0:n.current;return a?a.offsetLeft+a.offsetWidth>(t==null?void 0:t.scrollLeft)+t.offsetWidth||a.offsetLeft-t.scrollLeft<0:!1}),zr=(e,t)=>{const r=t.current,n=e==null?void 0:e.querySelector('[data-state="active"]');if(!e||!(n instanceof HTMLButtonElement)||!(r instanceof HTMLSpanElement))return;const a=(e==null?void 0:e.scrollLeft)>(n==null?void 0:n.offsetLeft),o=(n==null?void 0:n.offsetLeft)+(n==null?void 0:n.offsetWidth)>(e==null?void 0:e.offsetWidth);a?(e.offsetWidth>n.offsetWidth+n.offsetLeft?r.style.left=`${n.offsetLeft}px`:r.style.left=`${e.offsetWidth-n.offsetWidth}px`,r.style.width=`${n==null?void 0:n.offsetWidth}px`):o?(r.style.left=`${e.clientWidth-n.offsetWidth}px`,r.style.width=`${n.offsetWidth}px`):(r.style.left=`${n.offsetLeft}px`,r.style.width=`${n.offsetWidth}px`)},Zm=({activeTab:e})=>{const t=b.useRef(null),r=b.useRef(null),[n,a]=b.useState([]),[o,l]=b.useState([]);return b.useEffect(()=>{const i=t.current,s=i==null?void 0:i.querySelector('[data-state="active"]');s instanceof HTMLButtonElement&&i instanceof HTMLDivElement&&(zr(i,r),s.scrollIntoView({behavior:"smooth",block:"nearest",inline:"end"}))},[e,r]),b.useLayoutEffect(()=>{var i;const s=t.current,d=s==null?void 0:s.querySelector('[data-state="active"]');if(s instanceof HTMLDivElement&&d instanceof HTMLButtonElement){zr(s,r);const u=new MutationObserver(()=>{d.scrollIntoView({behavior:"instant",block:"nearest",inline:"end"}),zr(s,r)});s.parentNode&&u.observe(s.parentNode,{childList:!0});const f=new IntersectionObserver(()=>{l(Qm(n,s)),zr(s,r)},{root:s,threshold:1});for(const h of n)(i=h.ref)!=null&&i.current&&f.observe(h.ref.current);return()=>{f.disconnect(),u.disconnect()}}},[n,t,r]),{triggerListRef:t,activeIndicatorRef:r,triggersOutOfView:o,triggers:n,addTrigger:i=>{i.previousElement||a(s=>[...s,i]),a(s=>{const d=s.findIndex(u=>u.element===i.previousElement);return s[d]=i,[...s]})}}},Jm="_triggerListWrapper_chl5v_5",eb="_trigger_chl5v_5",tb="_activeIndicator_chl5v_53",rb="_triggerList_chl5v_5",nb="_root_chl5v_143",ob="_content_chl5v_166",Ne={triggerListWrapper:Jm,trigger:eb,activeIndicator:tb,triggerList:rb,root:nb,content:ob},Or=b.createContext({value:"",disabled:!1});Or.displayName="TabConfigContext";const ma=b.createContext({addTrigger:()=>{}});ma.displayName="TabTriggerContext";const N7=({padding:e="compact",activeTab:t,defaultActiveTab:r,size:n="medium",onActiveTabChange:a,children:o,variant:l="default",...i},s)=>{var d;const[u,f]=Jc({prop:t,defaultProp:r,onChange:a}),h=b.useCallback(_=>{f(_)},[f]),{triggerListRef:g,activeIndicatorRef:C,triggers:m,triggersOutOfView:v,addTrigger:x}=Zm({activeTab:u}),y=b.useMemo(()=>({addTrigger:x}),[x]);return c.jsx(ma.Provider,{value:y,children:c.jsxs(Gm,{ref:s,className:Ne.root,onValueChange:h,value:u??((d=m[0])==null?void 0:d.value),"data-tabs-content-padding":e,"data-tabs-variant":l,...i,children:[c.jsxs("div",{className:Ne.triggerListWrapper,children:[c.jsx(qm,{ref:g,"data-size":n,className:Ne.triggerList,children:m.map(_=>b.createElement(Ym,{..._.props,key:_.value,value:_.value,disabled:_.disabled,className:Ne.trigger,ref:_.ref},_.element))}),c.jsxs(_0.Root,{children:[v.length>0&&c.jsx(_0.Trigger,{"data-test-id":"overflow-items-dropdown-trigger",children:c.jsx(E1,{emphasis:"default",aspect:"square",size:"small",children:c.jsx(t5,{size:16})})}),c.jsx(_0.Content,{align:"end","data-test-id":"overflow-items-dropdown-content",children:v.map(_=>b.createElement(_0.Item,{..._.props,disabled:_.disabled,onSelect:()=>h(_.value),key:_.value},_.element))})]}),c.jsx("span",{"data-test-id":"active-tab-indicator",ref:C,className:Ne.activeIndicator})]}),o]})})};N7.displayName="Tabs.Root";const z7=({children:e,value:t,disabled:r})=>{const n=b.useMemo(()=>({value:t,disabled:r}),[t,r]);return c.jsx(Or.Provider,{value:n,children:e})};z7.displayName="Tabs.Tab";const O7=({children:e,...t},r)=>{const{value:n,disabled:a}=b.useContext(Or),{addTrigger:o}=b.useContext(ma),l=b.useRef(null),i=b.useRef();return b.useEffect(()=>{o({ref:l||r,value:n??"",disabled:a,props:t,element:e,previousElement:i.current}),i.current=e},[e]),null};O7.displayName="Tabs.Trigger";const H7=({children:e,...t},r)=>{const{value:n}=b.useContext(Or);return c.jsx(Xm,{ref:r,...t,className:Ne.content,value:n??"",children:e})};H7.displayName="Tabs.Content",b.forwardRef(N7),b.forwardRef(z7),b.forwardRef(O7),b.forwardRef(H7);const ab="_root_1cjgh_2",Hr={root:ab,"weight-default":"_weight-default_1cjgh_7","weight-strong":"_weight-strong_1cjgh_11","weight-x-strong":"_weight-x-strong_1cjgh_15","size-x-small":"_size-x-small_1cjgh_19","size-small":"_size-small_1cjgh_24","size-medium":"_size-medium_1cjgh_29","size-large":"_size-large_1cjgh_34","color-default":"_color-default_1cjgh_39","color-weak":"_color-weak_1cjgh_43","color-x-weak":"_color-x-weak_1cjgh_47","color-disabled":"_color-disabled_1cjgh_51","color-negative":"_color-negative_1cjgh_55","color-positive":"_color-positive_1cjgh_59","color-warning":"_color-warning_1cjgh_63","color-interactive":"_color-interactive_1cjgh_67","color-box-neutral":"_color-box-neutral_1cjgh_71","color-box-selected":"_color-box-selected_1cjgh_75","color-box-disabled":"_color-box-disabled_1cjgh_79","color-box-positive":"_color-box-positive_1cjgh_83","color-box-negative":"_color-box-negative_1cjgh_87","color-box-warning":"_color-box-warning_1cjgh_91"},lb=b.forwardRef(({children:e,as:t="span",size:r="medium",weight:n="default",color:a="default",boxColor:o,className:l,...i},s)=>c.jsx(t,{"data-test-id":"text",className:a1([Hr.root,Hr[`size-${r}`],Hr[`weight-${n}`],Hr[o?`color-box-${o}`:`color-${a}`],l]),ref:s,...i,children:e}));lb.displayName="FondueText";var ib=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),sb="VisuallyHidden",D7=p.forwardRef((e,t)=>c.jsx(o0.span,{...e,ref:t,style:{...ib,...e.style}}));D7.displayName=sb;var cb=D7,[Dr,iC]=H0("Tooltip",[me]),Lr=me(),L7="TooltipProvider",db=700,ba="tooltip.open",[ub,wa]=Dr(L7),V7=e=>{const{__scopeTooltip:t,delayDuration:r=db,skipDelayDuration:n=300,disableHoverableContent:a=!1,children:o}=e,l=p.useRef(!0),i=p.useRef(!1),s=p.useRef(0);return p.useEffect(()=>{const d=s.current;return()=>window.clearTimeout(d)},[]),c.jsx(ub,{scope:t,isOpenDelayedRef:l,delayDuration:r,onOpen:p.useCallback(()=>{window.clearTimeout(s.current),l.current=!1},[]),onClose:p.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>l.current=!0,n)},[n]),isPointerInTransitRef:i,onPointerInTransitChange:p.useCallback(d=>{i.current=d},[]),disableHoverableContent:a,children:o})};V7.displayName=L7;var ft="Tooltip",[fb,ht]=Dr(ft),$7=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:a,onOpenChange:o,disableHoverableContent:l,delayDuration:i}=e,s=wa(ft,e.__scopeTooltip),d=Lr(t),[u,f]=p.useState(null),h=h1(),g=p.useRef(0),C=l??s.disableHoverableContent,m=i??s.delayDuration,v=p.useRef(!1),[x,y]=j0({prop:n,defaultProp:a??!1,onChange:L=>{L?(s.onOpen(),document.dispatchEvent(new CustomEvent(ba))):s.onClose(),o==null||o(L)},caller:ft}),_=p.useMemo(()=>x?v.current?"delayed-open":"instant-open":"closed",[x]),A=p.useCallback(()=>{window.clearTimeout(g.current),g.current=0,v.current=!1,y(!0)},[y]),E=p.useCallback(()=>{window.clearTimeout(g.current),g.current=0,y(!1)},[y]),I=p.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{v.current=!0,y(!0),g.current=0},m)},[m,y]);return p.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),c.jsx(Hn,{...d,children:c.jsx(fb,{scope:t,contentId:h,open:x,stateAttribute:_,trigger:u,onTriggerChange:f,onTriggerEnter:p.useCallback(()=>{s.isOpenDelayedRef.current?I():A()},[s.isOpenDelayedRef,I,A]),onTriggerLeave:p.useCallback(()=>{C?E():(window.clearTimeout(g.current),g.current=0)},[E,C]),onOpen:A,onClose:E,disableHoverableContent:C,children:r})})};$7.displayName=ft;var ya="TooltipTrigger",F7=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=ht(ya,r),o=wa(ya,r),l=Lr(r),i=p.useRef(null),s=d0(t,i,a.onTriggerChange),d=p.useRef(!1),u=p.useRef(!1),f=p.useCallback(()=>d.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),c.jsx($t,{asChild:!0,...l,children:c.jsx(o0.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...n,ref:s,onPointerMove:e0(e.onPointerMove,h=>{h.pointerType!=="touch"&&!u.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),u.current=!0)}),onPointerLeave:e0(e.onPointerLeave,()=>{a.onTriggerLeave(),u.current=!1}),onPointerDown:e0(e.onPointerDown,()=>{a.open&&a.onClose(),d.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:e0(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:e0(e.onBlur,a.onClose),onClick:e0(e.onClick,a.onClose)})})});F7.displayName=ya;var Ca="TooltipPortal",[hb,pb]=Dr(Ca,{forceMount:void 0}),B7=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:a}=e,o=ht(Ca,t);return c.jsx(hb,{scope:t,forceMount:r,children:c.jsx(S0,{present:r||o.open,children:c.jsx(rt,{asChild:!0,container:a,children:n})})})};B7.displayName=Ca;var ze="TooltipContent",R7=p.forwardRef((e,t)=>{const r=pb(ze,e.__scopeTooltip),{forceMount:n=r.forceMount,side:a="top",...o}=e,l=ht(ze,e.__scopeTooltip);return c.jsx(S0,{present:n||l.open,children:l.disableHoverableContent?c.jsx(U7,{side:a,...o,ref:t}):c.jsx(vb,{side:a,...o,ref:t})})}),vb=p.forwardRef((e,t)=>{const r=ht(ze,e.__scopeTooltip),n=wa(ze,e.__scopeTooltip),a=p.useRef(null),o=d0(t,a),[l,i]=p.useState(null),{trigger:s,onClose:d}=r,u=a.current,{onPointerInTransitChange:f}=n,h=p.useCallback(()=>{i(null),f(!1)},[f]),g=p.useCallback((C,m)=>{const v=C.currentTarget,x={x:C.clientX,y:C.clientY},y=wb(x,v.getBoundingClientRect()),_=yb(x,y),A=Cb(m.getBoundingClientRect()),E=_b([..._,...A]);i(E),f(!0)},[f]);return p.useEffect(()=>()=>h(),[h]),p.useEffect(()=>{if(s&&u){const C=v=>g(v,u),m=v=>g(v,s);return s.addEventListener("pointerleave",C),u.addEventListener("pointerleave",m),()=>{s.removeEventListener("pointerleave",C),u.removeEventListener("pointerleave",m)}}},[s,u,g,h]),p.useEffect(()=>{if(l){const C=m=>{const v=m.target,x={x:m.clientX,y:m.clientY},y=(s==null?void 0:s.contains(v))||(u==null?void 0:u.contains(v)),_=!xb(x,l);y?h():_&&(h(),d())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[s,u,l,d,h]),c.jsx(U7,{...e,ref:o})}),[gb,mb]=Dr(ft,{isInside:!1}),bb=Nu("TooltipContent"),U7=p.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:l,...i}=e,s=ht(ze,r),d=Lr(r),{onClose:u}=s;return p.useEffect(()=>(document.addEventListener(ba,u),()=>document.removeEventListener(ba,u)),[u]),p.useEffect(()=>{if(s.trigger){const f=h=>{const g=h.target;g!=null&&g.contains(s.trigger)&&u()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[s.trigger,u]),c.jsx(Ze,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:f=>f.preventDefault(),onDismiss:u,children:c.jsxs(Dn,{"data-state":s.stateAttribute,...d,...i,ref:t,style:{...i.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(bb,{children:n}),c.jsx(gb,{scope:r,isInside:!0,children:c.jsx(cb,{id:s.contentId,role:"tooltip",children:a||n})})]})})});R7.displayName=ze;var W7="TooltipArrow",K7=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=Lr(r);return mb(W7,r).isInside?null:c.jsx(Ln,{...a,...n,ref:t})});K7.displayName=W7;function wb(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,a,o)){case o:return"left";case a:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function yb(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function Cb(e){const{top:t,right:r,bottom:n,left:a}=e;return[{x:a,y:t},{x:r,y:t},{x:r,y:n},{x:a,y:n}]}function xb(e,t){const{x:r,y:n}=e;let a=!1;for(let o=0,l=t.length-1;o<t.length;l=o++){const i=t[o],s=t[l],d=i.x,u=i.y,f=s.x,h=s.y;u>n!=h>n&&r<(f-d)*(n-u)/(h-u)+d&&(a=!a)}return a}function _b(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),Mb(t)}function Mb(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const a=e[n];for(;t.length>=2;){const o=t[t.length-1],l=t[t.length-2];if((o.x-l.x)*(a.y-l.y)>=(o.y-l.y)*(a.x-l.x))t.pop();else break}t.push(a)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const a=e[n];for(;r.length>=2;){const o=r[r.length-1],l=r[r.length-2];if((o.x-l.x)*(a.y-l.y)>=(o.y-l.y)*(a.x-l.x))r.pop();else break}r.push(a)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Ab=V7,Eb=$7,Sb=F7,Ib=B7,Pb=R7,Tb=K7;const kb="_root_13m98_4",Nb="_arrow_13m98_25",j7={root:kb,arrow:Nb},G7=({children:e,enterDelay:t=700,open:r,onOpenChange:n,...a})=>c.jsx(Ab,{children:c.jsx(Eb,{delayDuration:t,open:r,onOpenChange:n,...a,children:e})});G7.displayName="Tooltip.Root";const q7=({asChild:e=!1,children:t,"data-test-id":r="fondue-tooltip-trigger"},n)=>c.jsx(Sb,{"data-test-id":r,type:e?void 0:"button",asChild:e,ref:n,children:t});q7.displayName="Tooltip.Trigger";const Y7=({children:e,className:t,maxWidth:r,"data-test-id":n="fondue-tooltip-content",padding:a="spacious",...o},l)=>{const i=Ae();return c.jsx(Ib,{children:c.jsx(Ee,{theme:i,children:c.jsxs(Pb,{"data-test-id":n,"data-tooltip-spacing":a,className:a1(j7.root,t),style:{maxWidth:r},collisionPadding:16,sideOffset:8,ref:l,...o,children:[e,c.jsx(Tb,{"aria-hidden":"true",className:j7.arrow})]})})})};Y7.displayName="Tooltip.Content";const Q0={Root:G7,Trigger:b.forwardRef(q7),Content:b.forwardRef(Y7)},c1=e=>e.filter(Boolean).join(" "),zb=({onDrop:e,label:t,icon:r,secondaryLabel:n,isLoading:a,fillParentContainer:o,onAssetChooseClick:l,onUploadClick:i,withMenu:s=!0,onClick:d,validFileType:u,verticalLayout:f})=>{const[h,g]=b.useState(!1),[C,m]=b.useState(),v=b.useRef(null),[x,y]=b.useState(void 0),_=k=>{if(k.preventDefault(),g(!1),!A(k.dataTransfer.files)){y("Invalid"),setTimeout(()=>{y(void 0)},1e3);return}e==null||e(k.dataTransfer.files)},A=k=>{if(!u)return!0;for(let F=0;F<k.length;F++){const $=k[F].name.split(".").pop()??"";if(!F1.FileExtensionSets[u].includes($))return!1}return!0},E=k=>{if(!v.current||a)return;const{clientX:F,clientY:$}=k,U=F===0&&$===0,{left:P,top:W,width:H,height:Y}=v.current.getBoundingClientRect(),K=U?H/2:F-P,B=U?Y/2:$-W;m([K,B])},I=b.useCallback(k=>{k(),m(void 0)},[]),L=b.useMemo(()=>{const k=[];return i&&k.push({onSelect:()=>I(i),title:"Upload asset",icon:c.jsx(e5,{size:"20"})}),l&&k.push({onSelect:()=>I(l),title:"Browse asset",icon:c.jsx(r5,{size:"20"})}),k},[l,i,I]);return c.jsxs("button",{ref:v,"data-test-id":"block-inject-button",className:c1(["tw-font-body tw-relative tw-text-sm tw-leading-4 tw-border tw-flex tw-items-center tw-justify-center tw-cursor-pointer tw-gap-3 tw-w-full first:tw-rounded-tl last:tw-rounded-br",f?"[&:not(:first-child)]:tw-border-t-0 first:tw-rounded-tr last:tw-rounded-bl":"[&:not(:first-child)]:tw-border-l-0 first:tw-rounded-bl last:tw-rounded-tr",o?"tw-h-full":"tw-h-[72px]",h&&!a?"tw-border-dashed":"tw-border-solid",C&&"tw-bg-blank-state-pressed-inverse",h&&"tw-bg-blank-state-weak-inverse",x?"!tw-border-red-50 !tw-cursor-not-allowed":" tw-border-blank-state-line",a||C||h||x?"":"tw-text-text-weak hover:tw-text-blank-state-hover hover:tw-bg-blank-state-hover-inverse hover:tw-border-blank-state-line-hover active:tw-text-blank-state-pressed active:tw-bg-blank-state-pressed-inverse active:tw-border-blank-state-line-hover",(h||C)&&!x?"[&>*]:tw-pointer-events-none tw-border-blank-state-line-hover":"tw-bg-blank-state-shaded-inverse tw-text-blank-state-shaded"]),onDragEnter:e?k=>{var F;if(g(!0),u==="Images")for(const $ of Array.from(k.dataTransfer.items))(F=$==null?void 0:$.type)!=null&&F.startsWith("image/")?y(void 0):y("Invalid")}:void 0,onDragLeave:e?()=>{g(!1),y(void 0)}:void 0,onDrop:e?_:void 0,onClick:k=>{s&&!C&&E(k),d==null||d()},children:[a?c.jsx(Me,{}):x?c.jsxs("div",{className:" tw-flex tw-items-center tw-justify-center tw-text-red-60 tw-font-medium",children:[c.jsx(M.IconExclamationMarkTriangle,{}),x]}):c.jsxs(c.Fragment,{children:[r&&c.jsx("div",{children:r}),(t||n)&&c.jsxs("div",{className:"tw-flex tw-flex-col tw-items-start",children:[t&&c.jsx("div",{className:"tw-font-medium",children:t}),n&&c.jsx("div",{className:"tw-font-normal",children:n})]})]}),C&&c.jsx("div",{className:"tw-absolute tw-left-0 tw-top-full tw-z-20",style:{left:C[0],top:C[1]},children:c.jsxs(r1.Root,{open:!0,onOpenChange:k=>!k&&m(void 0),children:[c.jsx(r1.Trigger,{children:c.jsx("div",{})}),c.jsx(r1.Content,{triggerOffset:"compact",children:c.jsxs(_0.Root,{open:!0,children:[c.jsx(_0.Trigger,{children:c.jsx("div",{})}),c.jsx(_0.Content,{triggerOffset:"compact",children:L.map(k=>c.jsxs(_0.Item,{onSelect:k.onSelect,children:[k.icon,k.title]},k.title))})]})})]})})]})},Z1=e=>{const t=n=>typeof n=="object"&&["red","green","blue"].every(o=>n.hasOwnProperty(o)),r=n=>{const a=typeof n.alpha=="number"?n.alpha:1;return{r:n.red,g:n.green,b:n.blue,a}};return t(e)?r(e):e},Ob=e=>typeof e=="object"&&["red","green","blue"].every(r=>e==null?void 0:e.hasOwnProperty(r)),Hb=(e,t)=>{const r=Ob(e)?Z1(e):e,n=new u1.TinyColor(r);return t?n.getBrightness()<t:n.isDark()||n.getAlpha()>.25&&n.getAlpha()<1},Db=e=>new u1.TinyColor(Z1(e)).toHex8String(),Lb=e=>new u1.TinyColor(Z1(e)).toHexString(),xa=e=>new u1.TinyColor(Z1(e)).toRgbString(),Vb=(e,t)=>new u1.TinyColor(t).setAlpha(e).toRgbString(),$b=e=>{const{r:t,g:r,b:n,a}=new u1.TinyColor(e);return{red:t,green:r,blue:n,alpha:a}},X7=e=>typeof e=="object"&&["red","green","blue"].every(r=>e==null?void 0:e.hasOwnProperty(r)),Fb=(e,t)=>{const r=X7(e)?Z1(e):e,n=X7(t)?Z1(t):t;let a=new u1.TinyColor(r);const o=new u1.TinyColor(n);for(;u1.readability(a,o)<4.5;)a=a.darken(1);return a.toRgbString()},Bb=(e,t,r)=>{const n=[...e],a=r<0?n.length+r:r;if(a>=0&&a<n.length){const o=n.splice(t,1)[0];n.splice(a,0,o)}return n},Rb=e=>({backgroundColor:xa(e)}),Ub={red:241,green:241,blue:241,alpha:1},Q7={red:234,green:235,blue:235,alpha:1},Wb="1px",pt="24px",vt="24px";var d1=(e=>(e.Solid="Solid",e.Dashed="Dashed",e.Dotted="Dotted",e))(d1||{});const Z7={Solid:"solid",Dotted:"dotted",Dashed:"dashed"};var L1=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(L1||{});const J1={None:"0px",Small:"2px",Medium:"4px",Large:"12px"};var ee=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(ee||{});const Oe={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var te=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(te||{});const He={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var re=(e=>(e.Global="Global",e.Custom="Custom",e))(re||{}),ne=(e=>(e.Auto="Auto",e.S="S",e.M="M",e.L="L",e))(ne||{});const J7={Auto:"4px",S:"10px",M:"30px",L:"50px"},Kb=(e=d1.Solid,t="1px",r=Q7)=>({borderStyle:Z7[e],borderWidth:t,borderColor:xa(r)}),jb=(e,t=!1,r)=>({borderRadius:t?r:J1[e]}),_a=b.createContext(!1);_a.displayName="DragPreviewContext";const ed=({children:e,isDragPreview:t})=>c.jsx(_a.Provider,{value:t,children:e}),De=()=>b.useContext(_a),Ma=b.createContext({openFlyoutIds:[],setOpenFlyoutIds:()=>console.error("No MultiFlyoutContext Provider found")});Ma.displayName="MultiFlyoutContext";const td=({children:e,openFlyoutIds:t,setOpenFlyoutIds:r})=>{const n=b.useMemo(()=>({openFlyoutIds:t,setOpenFlyoutIds:r}),[t,r]);return c.jsx(Ma.Provider,{value:n,children:e})},rd=()=>b.useContext(Ma),Vr=e=>{const{openFlyoutIds:t,setOpenFlyoutIds:r}=rd(),n=b.useCallback(a=>{r(o=>{const l=o.filter(i=>i!==e);return a?[...l,e]:l})},[e,r]);return{isOpen:t.includes(e),onOpenChange:n}},Aa=(e,t)=>{const{blockAssets:r,addAssetIdsToKey:n,deleteAssetIdsFromKey:a,updateAssetIdsFromKey:o}=t,l=(r==null?void 0:r[e])||[];return{onAttachmentsAdd:async f=>{await n(e,f.map(h=>h.id))},onAttachmentDelete:async f=>{await a(e,[f.id])},onAttachmentReplace:async(f,h)=>{const g=l.map(C=>C.id===f.id?h.id:C.id);await o(e,g)},onAttachmentsSorted:async f=>{const h=f.map(g=>g.id);await o(e,h)},attachments:l}},nd=(e,t)=>{const{onAttachmentsAdd:r,onAttachmentDelete:n,onAttachmentReplace:a,onAttachmentsSorted:o,attachments:l}=Aa(t,F1.useBlockAssets(e));return{onAttachmentsAdd:r,onAttachmentDelete:n,onAttachmentReplace:a,onAttachmentsSorted:o,attachments:l,appBridge:e}},$r=b.createContext(null);$r.displayName="AttachmentsContext";const od=({appBridge:e,children:t,assetId:r})=>{const n=nd(e,r);return c.jsx($r.Provider,{value:n,children:t})},Gb=({blockAssetBundle:e,appBridge:t,children:r,assetId:n})=>{const a=Aa(n,e);return c.jsx($r.Provider,{value:{...a,appBridge:t},children:r})},ad=()=>{const e=b.useContext($r);if(!e)throw new Error("No AttachmentsContext Provided. Component must be wrapped in an 'AttachmentsProvider' or the 'withAttachmentsProvider' HOC");return e},qb=(e,t)=>{const r=n=>c.jsx(od,{appBridge:n.appBridge,assetId:t,children:c.jsx(e,{...n})});return r.displayName="withAttachmentsProvider",r},Yb=[M0.KeyboardCode.Down,M0.KeyboardCode.Right,M0.KeyboardCode.Up,M0.KeyboardCode.Left],ld=(e,t)=>(r,{currentCoordinates:n,context:{activeNode:a}})=>{if(r.preventDefault(),Yb.includes(r.code)){const o=(a==null?void 0:a.offsetWidth)??0,l=(a==null?void 0:a.offsetHeight)??0;switch(r.code){case M0.KeyboardCode.Right:return{...n,x:n.x+o+e};case M0.KeyboardCode.Left:return{...n,x:n.x-o-e};case M0.KeyboardCode.Down:return{...n,y:n.y+l+t};case M0.KeyboardCode.Up:return{...n,y:n.y-l-t}}}},Xb={start:["Space","Enter"],cancel:[],end:["Space","Enter","Escape"]},Qb=(e=0,t=0)=>{const r=b.useMemo(()=>({coordinateGetter:ld(e,t),keyboardCodes:Xb}),[e,t]);return M0.useSensors(M0.useSensor(M0.PointerSensor),M0.useSensor(M0.KeyboardSensor,r))},Zb=e=>e==="IMAGE"?c.jsx(M.IconImage24,{}):e==="VIDEO"?c.jsx(M.IconPlayFrame24,{}):e==="AUDIO"?c.jsx(M.IconMusicNote24,{}):c.jsx(M.IconDocument24,{}),id=b.forwardRef(({item:e,isEditing:t,draggableProps:r,transformStyle:n,isDragging:a,isOverlay:o,isLoading:l,onDelete:i,onReplaceWithBrowse:s,onReplaceWithUpload:d,onDownload:u},f)=>{const[h,g]=b.useState(),[C,{selectedFiles:m}]=F1.useFileInput({multiple:!0,accept:"image/*"}),[v,{results:x,doneAll:y}]=F1.useAssetUpload(),{focusProps:_,isFocusVisible:A}=Ya.useFocusRing();b.useEffect(()=>{m&&v(m[0])},[m]),b.useEffect(()=>{y&&d(x[0])},[y,x]);const E=l||m&&!y;return c.jsxs("button",{"aria-label":"Download attachment","data-test-id":"attachments-item",onClick:()=>!h&&(u==null?void 0:u()),ref:f,style:{...n,opacity:a&&!o?.3:1,fontFamily:"var(-f-theme-settings-body-font-family)"},className:c1(["tw-cursor-pointer tw-text-left tw-w-full tw-relative tw-flex tw-gap-3 tw-px-5 tw-py-3 tw-items-center tw-group hover:tw-bg-box-neutral-hover",a?"tw-bg-box-neutral-hover":""]),children:[c.jsx("div",{className:"tw-text-text-weak group-hover:tw-text-box-neutral-inverse-hover",children:E?c.jsx(Me,{size:"small"}):Zb(e.objectType)}),c.jsxs("div",{className:"tw-text-s tw-flex-1 tw-min-w-0",children:[c.jsx("div",{className:"tw-whitespace-nowrap tw-overflow-hidden tw-text-ellipsis tw-font-bold tw-text-text-weak group-hover:tw-text-box-neutral-inverse-hover",children:e.title}),c.jsx("div",{className:"tw-text-text-weak",children:`${e.fileSizeHumanReadable} - ${e.extension}`})]}),t&&c.jsxs("div",{"data-test-id":"attachments-actionbar",className:c1(["tw-flex tw-gap-0.5 group-focus:tw-opacity-100 focus-visible:tw-opacity-100 focus-within:tw-opacity-100 group-hover:tw-opacity-100",o||(h==null?void 0:h.id)===e.id?"tw-opacity-100":"tw-opacity-0"]),children:[c.jsx("button",{..._,...r,"aria-label":"Drag attachment",className:c1([" tw-border-button-border tw-bg-button-background active:tw-bg-button-background-pressed tw-group tw-border tw-box-box tw-relative tw-flex tw-items-center tw-justify-center tw-outline-none tw-font-medium tw-rounded tw-h-9 tw-w-9 ",a||o?"tw-cursor-grabbing tw-bg-button-background-pressed hover:tw-bg-button-background-pressed":"tw-cursor-grab hover:tw-bg-button-background-hover",A&&M.FOCUS_STYLE,A&&"tw-z-[2]"]),children:c.jsx(M.IconGrabHandle20,{})}),c.jsx("div",{"data-test-id":"attachments-actionbar-flyout",children:c.jsxs(_0.Root,{open:(h==null?void 0:h.id)===e.id,onOpenChange:I=>g(I?e:void 0),children:[c.jsx(_0.Trigger,{children:c.jsx(E1,{aspect:"square",ref:f,onPress:I=>{I==null||I.stopPropagation(),I==null||I.preventDefault()},emphasis:"default",children:c.jsx(Su,{size:"20"})})}),c.jsxs(_0.Content,{side:"right",children:[c.jsxs(_0.Group,{children:[c.jsxs(_0.Item,{"data-test-id":"menu-item",onSelect:I=>{I==null||I.stopPropagation(),C(),g(void 0)},children:[c.jsx(e5,{size:"20"}),"Replace with upload"]}),c.jsxs(_0.Item,{onSelect:I=>{I==null||I.stopPropagation(),s(),g(void 0)},children:[c.jsx(r5,{size:"20"}),"Replace with asset"]})]}),c.jsx(_0.Group,{children:c.jsxs(_0.Item,{emphasis:"danger",onSelect:I=>{I==null||I.stopPropagation(),i(),g(void 0)},children:[c.jsx(Iu,{size:"20"}),"Delete"]})})]})]})})]})]})});id.displayName="AttachmentItem";const Jb=e=>{const{attributes:t,listeners:r,setNodeRef:n,transform:a,transition:o,isDragging:l}=wt.useSortable({id:e.item.id}),i={transform:a?`translate(${a.x}px, ${a.y}px)`:"",transition:o,zIndex:l?2:1},s={...t,...r};return c.jsx(id,{ref:n,isDragging:l,transformStyle:i,draggableProps:s,...e})},sd=b.forwardRef(({children:e,isFlyoutOpen:t,...r},n)=>c.jsxs("button",{ref:n,className:c1(["tw-flex tw-text-xs tw-font-body tw-items-center tw-gap-1 tw-rounded-full tw-outline tw-outline-1 tw-outline-offset-1 tw-p-1.5 tw-outline-line",t?"tw-bg-box-neutral-pressed tw-text-box-neutral-inverse-pressed":"tw-bg-base hover:tw-bg-box-neutral-hover active:tw-bg-box-neutral-pressed tw-text-box-neutral-inverse hover:tw-text-box-neutral-inverse-hover active:tw-text-box-neutral-inverse-pressed"]),"data-test-id":"attachments-button-trigger",...r,children:[c.jsx(M.IconPaperclip16,{}),e,c.jsx(M.IconCaretDown12,{})]}));sd.displayName="AttachmentsButtonTrigger";const cd=({items:e=[],onDelete:t,onReplaceWithBrowse:r,onReplaceWithUpload:n,onBrowse:a,onUpload:o,onSorted:l,appBridge:i,triggerComponent:s=sd,isOpen:d,onOpenChange:u})=>{const[f,h]=b.useState(e),[g,C]=b.useState(!1),m=M0.useSensors(M0.useSensor(M0.PointerSensor),M0.useSensor(M0.KeyboardSensor)),[v,x]=b.useState(void 0),[y,_]=b.useState(!1),[A,E]=b.useState([]),[I,L]=b.useState(null),k=F1.useEditorState(i),{openAssetChooser:F,closeAssetChooser:$}=F1.useAssetChooser(i),U=d!==void 0,P=U?d:g,W=f==null?void 0:f.find(z=>z.id===v),[H,{results:Y,doneAll:K}]=F1.useAssetUpload({onUploadProgress:()=>!y&&_(!0)}),B=z=>{const j=U?u:C;j==null||j(z)};b.useEffect(()=>{h(e)},[e]),b.useEffect(()=>{I&&(_(!0),H(I))},[I]),b.useEffect(()=>{(async()=>{K&&(await o(Y),_(!1))})()},[K,Y]);const V=()=>{B(!1),F(z=>{a(z),$(),B(!0)},{multiSelection:!0,selectedValueIds:f.map(z=>z.id)})},N=z=>{B(!1),F(async j=>{B(!0),$(),E([...A,z.id]),await r(z,j[0]),E(A.filter(X=>X!==z.id))},{multiSelection:!1,selectedValueIds:f.map(j=>j.id)})},S=async(z,j)=>{E([...A,z.id]),await n(z,j),E(A.filter(X=>X!==z.id))},O=z=>{const{active:j}=z;x(j.id)},D=z=>{const{active:j,over:X}=z;if(X&&j.id!==X.id&&f){const Z=f.findIndex(n0=>n0.id===j.id),t0=f.findIndex(n0=>n0.id===X.id),r0=wt.arrayMove(f,Z,t0);h(r0),l(r0)}x(void 0)},R={onOpenAutoFocus:z=>{z.preventDefault()},onEscapeKeyDown:z=>{z.stopPropagation(),B(!1)}};return k||((f==null?void 0:f.length)??0)>0?c.jsx("div",{"data-test-id":"attachments-flyout-button",children:c.jsx(r1.Root,{open:P,onOpenChange:z=>B(W?!0:z),children:c.jsxs(Q0.Root,{enterDelay:500,children:[c.jsx(Q0.Trigger,{asChild:!0,children:c.jsx(r1.Trigger,{asChild:!0,"data-test-id":"attachments-button-trigger",children:c.jsx(s,{isFlyoutOpen:P,children:c.jsx("div",{children:e.length>0?e.length:"Add"})})})}),c.jsx(r1.Content,{side:"bottom",align:"end",...R,children:c.jsxs("div",{className:"tw-w-[300px]","data-test-id":"attachments-flyout-content",children:[f.length>0&&c.jsx(M0.DndContext,{sensors:m,collisionDetection:M0.closestCenter,onDragStart:O,onDragEnd:D,modifiers:[gu.restrictToVerticalAxis],children:c.jsx(wt.SortableContext,{items:f,strategy:wt.rectSortingStrategy,children:c.jsx("div",{className:"tw-border-b tw-border-b-line tw-relative",children:f.map(z=>c.jsx(Jb,{isEditing:k,isLoading:A.includes(z.id),item:z,onDelete:()=>t(z),onReplaceWithBrowse:()=>N(z),onReplaceWithUpload:j=>S(z,j),onDownload:()=>i.dispatch({name:"downloadAsset",payload:z})},z.id))})})}),k&&c.jsxs("div",{className:"tw-px-5 tw-py-3",children:[c.jsx("div",{className:"tw-font-body tw-font-medium tw-text-text tw-text-s tw-my-4",children:"Add attachments"}),c.jsx(M.AssetInput,{isLoading:y,size:M.AssetInputSize.Small,onUploadClick:z=>L(z),onLibraryClick:V})]})]})}),c.jsx(Q0.Content,{side:"top",children:"Attachments"})]})})}):null},ew=(e,t)=>{const r=[M.FOCUS_VISIBLE_STYLE,"tw-relative tw-inline-flex tw-items-center tw-justify-center","tw-h-6 tw-p-1","tw-rounded","tw-text-xs tw-font-medium","tw-gap-0.5","focus-visible:tw-z-10"];return t?r.push("tw-bg-box-neutral-pressed","tw-text-box-neutral-inverse-pressed",e==="grab"?"tw-cursor-grabbing":"tw-cursor-pointer"):r.push("hover:tw-bg-box-neutral-hover active:tw-bg-box-neutral-pressed","tw-text-text-weak hover:tw-text-box-neutral-inverse-hover active:tw-text-box-neutral-inverse-pressed",e==="grab"?"!tw-cursor-grab active:tw-cursor-grabbing":"tw-cursor-pointer"),c1(r)},Le=b.forwardRef(({onClick:e,children:t,forceActiveStyle:r,cursor:n="pointer","data-test-id":a="base-toolbar-button",...o},l)=>c.jsx("button",{onClick:e,className:ew(n,r),"data-test-id":a,...o,ref:l,children:t}));Le.displayName="BaseToolbarButton";const dd=b.forwardRef(({children:e,isFlyoutOpen:t,...r},n)=>c.jsxs(Le,{forceActiveStyle:t,"data-test-id":"attachments-toolbar-button-trigger",ref:n,...r,children:[c.jsx(M.IconPaperclip16,{}),e,c.jsx(M.IconCaretDown12,{})]}));dd.displayName="AttachmentsToolbarButtonTrigger";const ud="attachments",fd=({flyoutId:e=ud})=>{const t=M.useMemoizedId(e),{appBridge:r,attachments:n,onAttachmentsAdd:a,onAttachmentDelete:o,onAttachmentReplace:l,onAttachmentsSorted:i}=ad(),{isOpen:s,onOpenChange:d}=Vr(t),u=De();return c.jsx(cd,{onUpload:a,onDelete:o,onReplaceWithBrowse:l,onReplaceWithUpload:l,onSorted:i,onBrowse:a,items:n,appBridge:r,triggerComponent:dd,isOpen:s&&!u,onOpenChange:d})},hd="Drag or press ↵ to move",pd="Move with ↑↓←→ and confirm with ↵",Ea=({content:e,children:t,open:r,disabled:n})=>n?t:c.jsxs(Q0.Root,{enterDelay:300,open:r,children:[c.jsx(Q0.Trigger,{asChild:!0,children:t}),c.jsx(Q0.Content,{side:"top",children:c.jsx("div",{children:e})})]}),vd=({tooltip:e,icon:t,setActivatorNodeRef:r,draggableProps:n})=>{const a=De();return c.jsx(Ea,{...a&&{open:a},content:c.jsx("div",{children:a?pd:e??hd}),children:c.jsx(Le,{ref:r,"data-test-id":"block-item-wrapper-toolbar-btn",forceActiveStyle:a,cursor:"grab",...n,children:t})})},gd=({content:e,icon:t,tooltip:r,flyoutId:n,flyoutFooter:a,flyoutHeader:o})=>{const l=M.useMemoizedId(n),{isOpen:i,onOpenChange:s}=Vr(l),d=De();return c.jsx(Ea,{disabled:d||i,content:r,children:c.jsx("div",{className:"tw-flex tw-flex-shrink-0 tw-flex-1 tw-h-6 tw-relative",children:c.jsxs(r1.Root,{open:i&&!d,onOpenChange:s,children:[c.jsx(r1.Trigger,{asChild:!0,children:c.jsx(Le,{"data-test-id":"block-item-wrapper-toolbar-flyout",forceActiveStyle:i&&!d,children:t})}),c.jsxs(r1.Content,{side:"bottom",align:"end",children:[o?c.jsx(r1.Header,{children:o}):null,e,a?c.jsx(r1.Footer,{children:a}):null]})]})})})},Sa="menu",md=({items:e,flyoutId:t=Sa,tooltip:r="Options"})=>{const n=M.useMemoizedId(t),{isOpen:a,onOpenChange:o}=Vr(n),l=De();return c.jsx(_0.Root,{open:a&&!l,onOpenChange:o,children:c.jsxs(Q0.Root,{children:[c.jsx(Q0.Trigger,{asChild:!0,children:c.jsx(_0.Trigger,{asChild:!0,children:c.jsx(Le,{"data-test-id":"block-item-wrapper-toolbar-flyout",children:c.jsx(t5,{size:"16"})})})}),c.jsx(_0.Content,{children:e.map((i,s)=>c.jsx(_0.Group,{children:i.map((d,u)=>c.jsxs(_0.Item,{"data-test-id":"menu-item",onSelect:()=>{o(!1),d.onClick()},emphasis:d.style||"default",children:[c.jsx("div",{className:"tw-mr-2",children:d.icon}),c.jsx("span",{children:d.title})]},`${s}-${u}`))},s))}),c.jsx(Q0.Content,{children:r})]})})},tw=({tooltip:e,icon:t,onClick:r})=>{const n=De();return c.jsx(Ea,{disabled:n,content:e??"",children:c.jsx(Le,{"data-test-id":"block-item-wrapper-toolbar-btn",onClick:r,children:t})})},bd=({children:e})=>c.jsx("div",{"data-test-id":"block-item-wrapper-toolbar-segment",className:"tw-pointer-events-auto tw-flex tw-flex-shrink-0 tw-gap-px tw-px-px tw-h-[26px] tw-items-center tw-self-start tw-leading-none",children:e}),wd=({items:e,attachments:t})=>c.jsxs("div",{"data-test-id":"block-item-wrapper-toolbar",className:"tw-rounded-md tw-bg-base tw-border tw-border-line-strong tw-divide-x tw-divide-line-strong tw-shadow-lg tw-flex tw-flex-none tw-items-center tw-isolate",children:[t.isEnabled&&c.jsx(bd,{children:c.jsx(fd,{})}),e.length>0&&c.jsx(bd,{children:e.map(r=>{switch(r.type){case"dragHandle":return c.jsx(vd,{...r},r.tooltip+r.type);case"menu":return c.jsx(md,{...r},r.tooltip+r.type);case"flyout":return c.jsx(gd,{...r},r.tooltip+r.type);default:return c.jsx(tw,{...r},r.tooltip+r.type)}})})]}),yd=b.memo(({children:e,toolbarItems:t,shouldHideWrapper:r,shouldHideComponent:n=!1,isDragging:a=!1,shouldFillContainer:o,outlineOffset:l=0,shouldBeShown:i=!1,showAttachments:s=!1})=>{const[d,u]=b.useState(i?[Sa]:[]),f=b.useRef(null);if(r)return c.jsx(c.Fragment,{children:e});const h=t==null?void 0:t.filter(C=>C!==void 0),g=d.length>0||i;return c.jsx(ed,{isDragPreview:a,children:c.jsx(td,{openFlyoutIds:d,setOpenFlyoutIds:u,children:c.jsxs("div",{ref:f,"data-test-id":"block-item-wrapper",style:{outlineOffset:l},className:c1(["tw-relative tw-group tw-outline-1 tw-outline-box-selected-inverse",o&&"tw-flex-1 tw-h-full tw-w-full","hover:tw-outline focus-within:tw-outline",g&&"tw-outline",n&&"tw-opacity-0"]),children:[c.jsx("div",{style:{right:-1-l,bottom:`calc(100% - ${2+l}px)`},className:c1(["tw-pointer-events-none tw-absolute tw-bottom-[calc(100%-4px)] tw-right-[-3px] tw-w-full tw-opacity-0 tw-z-[60]","group-hover:tw-opacity-100 group-focus:tw-opacity-100 focus-within:tw-opacity-100","tw-flex tw-justify-end",g&&"tw-opacity-100"]),children:c.jsx(wd,{attachments:{isEnabled:s},items:h})}),e]})})})});yd.displayName="BlockItemWrapper";const rw=({onDownload:e,ariaLabel:t})=>{const{isFocused:r,focusProps:n}=Ya.useFocusRing();return c.jsxs(Q0.Root,{enterDelay:500,children:[c.jsx(Q0.Trigger,{asChild:!0,children:c.jsx("button",{tabIndex:0,"aria-label":t??"Download",...n,className:c1(["tw-outline-none tw-rounded",r&&M.FOCUS_STYLE]),onClick:e,onPointerDown:a=>a.preventDefault(),"data-test-id":"download-button",children:c.jsx("span",{className:"tw-flex tw-text-xs tw-font-body tw-items-center tw-gap-1 tw-rounded-full tw-bg-box-neutral-strong-inverse hover:tw-bg-box-neutral-strong-inverse-hover active:tw-bg-box-neutral-strong-inverse-pressed tw-text-box-neutral-strong tw-outline tw-outline-1 tw-outline-offset-1 tw-p-1.5 tw-outline-line",children:c.jsx(M.IconArrowCircleDown16,{})})})}),c.jsx(Q0.Content,{side:"top",children:"Download"})]})},nw=({ref:e,disabled:t,onChange:r})=>{b.useEffect(()=>{if(t||!e.current)return;let n=!1;const a=new IntersectionObserver(([o])=>{o.isIntersecting!==n&&(n=o.isIntersecting,r(o.isIntersecting))});return a.observe(e.current),()=>{a.disconnect()}},[e,t,r])},ow=({value:e="",gap:t,customClass:r,show:n=!0,plugins:a})=>{const[o,l]=b.useState(null),i=b.useCallback(async()=>{const s=await M.serializeRawToHtmlAsync(e,a,void 0,t,r);l(s)},[e,t,a,r]);return b.useEffect(()=>{i().catch(console.error)},[i]),!n||o==="<br />"||o===null?null:c.jsx("div",{className:"tw-w-full tw-whitespace-pre-wrap","data-test-id":"rte-content-html",dangerouslySetInnerHTML:{__html:o}})},Ia=M.createStore("floatingButton")({openEditorId:null,mouseDown:!1,updated:!1,url:"",text:"",buttonStyle:"primary",newTab:!1,mode:"",isEditing:!1}).extendActions(e=>({reset:()=>{e.url(""),e.text(""),e.buttonStyle("primary"),e.newTab(!1),e.mode(""),e.isEditing(!1)}})).extendActions(e=>({show:(t,r)=>{e.mode(t),e.isEditing(!1),e.openEditorId(r)},hide:()=>{e.reset(),e.openEditorId(null)}})).extendSelectors(e=>({isOpen:t=>e.openEditorId===t})),A0=Ia.set,T0=Ia.get,gt=()=>Ia.use,Cd=e=>{if(!e)return!1;const t=r=>r.some(n=>n.text?n.text!=="":n.children?t(n.children):!1);try{const r=JSON.parse(e);return t(r)}catch{return!1}},aw=(e="p",t="",r)=>Cd(t)?t:JSON.stringify([{type:e,children:[{text:t,textStyle:e}],align:r}]),lw=(e,t,r)=>e===re.Custom?t:r,iw=e=>e.map(xd),xd=e=>({id:e.id,title:e.name,colors:e.colors.map(cw)}),sw=e=>"revision"in e,cw=e=>{if(sw(e)){const{title:t,revision:r}=e;return{alpha:r.rgba.alpha?r.rgba.alpha/255:1,red:r.rgba.red??0,green:r.rgba.green??0,blue:r.rgba.blue??0,name:t??""}}return{alpha:e.alpha?e.alpha/255:1,red:e.red??0,green:e.green??0,blue:e.blue??0,name:e.name??""}},Pa=(e,t)=>{const r=M.getAboveNode(e,{match:{type:M.ELEMENT_LINK}});return Array.isArray(r)?t(r[0]):""},dw=e=>Pa(e,t=>{var r,n;return((n=(r=t.chosenLink)==null?void 0:r.searchResult)==null?void 0:n.link)||""}),uw=e=>Pa(e,t=>t.url||""),Ta=e=>{var t,r;return e.url||((r=(t=e.chosenLink)==null?void 0:t.searchResult)==null?void 0:r.link)||""},fw=e=>Pa(e,Ta),ka=/^\/(document|r)\/\S+$/i,Fr=e=>{if(ka.test(e))return e;try{return new URL(e),e}catch{return`https://${e}`}},Br=e=>{if(ka.test(e))return!0;try{const t=new URL(e);return["http:","https:","mailto:","tel:"].includes(t.protocol)&&t.pathname!==""}catch{return!1}},Ve=e=>Br(Fr(e))||e==="",_d=(e,{type:t})=>{const{apply:r,normalizeNode:n}=e;return e.apply=a=>{if(a.type!=="set_selection"){r(a);return}const o=a.newProperties;if(!(o!=null&&o.focus)||!o.anchor||!M.isCollapsed(o)){r(a);return}const l=M.getAboveNode(e,{at:o,match:{type:M.getPluginType(e,m0)}});if(l){const[,i]=l;let s;M.isStartPoint(e,o.focus,i)&&(s=M.getPreviousNodeEndPoint(e,i)),M.isEndPoint(e,o.focus,i)&&(s=M.getNextNodeStartPoint(e,i)),s&&(a.newProperties={anchor:s,focus:s})}r(a)},e.normalizeNode=([a,o])=>{if(a.type===M.getPluginType(e,m0)){const l=e.selection;if(l&&M.isCollapsed(l)&&M.isEndPoint(e,l.focus,o)){const i=M.getNextNodeStartPoint(e,o);if(i)M.select(e,i);else{const s=M.Path.next(o);M.insertNodes(e,{text:""},{at:s}),M.select(e,s)}}}n([a,o])},M.withRemoveEmptyNodes(e,M.mockPlugin({options:{types:t}}))},Md=(e,t,r)=>{M.insertNodes(e,[Id(e,t)],r)},Na=e=>{if(!e.selection)return;const{isUrl:t,forceSubmit:r}=M.getPluginOptions(e,m0),n=T0.url();if(!((t==null?void 0:t(n))||r))return;const o=T0.text(),l=T0.buttonStyle(),i=T0.newTab()?void 0:"_self";return A0.reset(),Ad(e,{url:n,text:o,buttonStyle:l,target:i,isUrl:s=>r||!t?!0:t(s)}),setTimeout(()=>{M.focusEditor(e,e.selection??void 0)},0),!0},$e=(e,t)=>M.withoutNormalizing(e,()=>{var r,n,a,o,l,i;if(t!=null&&t.split){if(M.getAboveNode(e,{at:(r=e.selection)==null?void 0:r.anchor,match:{type:M.getPluginType(e,m0)}}))return M.splitNodes(e,{at:(n=e.selection)==null?void 0:n.anchor,match:u=>M.isElement(u)&&u.type===M.getPluginType(e,m0)}),$e(e,{at:(a=e.selection)==null?void 0:a.anchor}),!0;if(M.getAboveNode(e,{at:(o=e.selection)==null?void 0:o.focus,match:{type:M.getPluginType(e,m0)}}))return M.splitNodes(e,{at:(l=e.selection)==null?void 0:l.focus,match:u=>M.isElement(u)&&u.type===M.getPluginType(e,m0)}),$e(e,{at:(i=e.selection)==null?void 0:i.focus}),!0}M.unwrapNodes(e,{match:{type:M.getPluginType(e,m0)},...t})}),Ad=(e,{url:t,text:r,buttonStyle:n,target:a,insertTextInButton:o,insertNodesOptions:l,isUrl:i=M.getPluginOptions(e,m0).isUrl})=>{var x;const s=e.selection;if(!s)return;const d=M.getAboveNode(e,{at:s,match:{type:M.getPluginType(e,m0)}});if(o&&d)return e.insertText(t),!0;if(!(i!=null&&i(t)))return;if(M.isDefined(r)&&r.length===0&&(r=t),d)return vw(t,e,d,a,n,r),!0;const u=M.findNode(e,{at:s,match:{type:M.getPluginType(e,m0)}}),[f,h]=u??[],g=hw(e,h,r);if(M.isExpanded(s))return pw(d,e,t,n,a,r),!0;g&&M.removeNodes(e,{at:h});const C=M.getNodeProps(f??{}),m=(x=e.selection)==null?void 0:x.focus.path;if(!m)return;const v=M.getNodeLeaf(e,m);return r!=null&&r.length||(r=t),Md(e,{...C,url:t,target:a,children:[{...v,text:r}]},l),!0};function hw(e,t,r){return t&&(r==null?void 0:r.length)&&r!==M.getEditorString(e,t)}function pw(e,t,r,n,a,o){e?$e(t,{at:e[1]}):$e(t,{split:!0}),Ed(t,{url:r,buttonStyle:n,target:a}),za(t,{text:o})}function vw(e,t,r,n,a,o){var l,i,s;(e!==((l=r[0])==null?void 0:l.url)||n!==((i=r[0])==null?void 0:i.target)||a!==((s=r[0])==null?void 0:s.buttonStyle))&&M.setNodes(t,{url:e,target:n,buttonStyle:a},{at:r[1]}),za(t,{text:o})}const za=(e,{text:t})=>{const r=M.getAboveNode(e,{match:{type:M.getPluginType(e,m0)}});if(r){const[n,a]=r;if(t!=null&&t.length&&t!==M.getEditorString(e,a)){const o=n.children[0];M.replaceNodeChildren(e,{at:a,nodes:{...o,text:t},insertOptions:{select:!0}})}}},Ed=(e,{url:t,buttonStyle:r,target:n,...a})=>{M.wrapNodes(e,{type:M.getPluginType(e,m0),url:t,buttonStyle:r,target:n,children:[]},{split:!0,...a})},gw=(e,t)=>{const r=M.getAboveNode(e,{match:{type:m0}});return Array.isArray(r)?t(r[0]):""},Sd=e=>gw(e,t=>t.url??""),Id=(e,{url:t,text:r="",buttonStyle:n="primary",target:a,children:o})=>({type:M.getPluginType(e,m0),url:t,target:a,buttonStyle:n,children:o??[{text:r}]}),Pd=(e,{focused:t}={})=>{if(T0.mode()==="edit"){Rr(e);return}Oa(e,{focused:t})},Rr=e=>{const t=M.findNode(e,{match:{type:M.getPluginType(e,m0)}});if(!t)return;const[r,n]=t;let a=M.getEditorString(e,n);A0.url(r.url),A0.newTab(r.target===void 0),a===r.url&&(a=""),A0.text(a),A0.isEditing(!0)},Oa=(e,{focused:t}={})=>{T0.mode()||!t||M.isRangeAcrossBlocks(e,{at:e.selection})||M.someNode(e,{match:{type:M.getPluginType(e,m0)}})||(A0.text(M.getEditorString(e,e.selection)),A0.show("insert",e.id))},Ha={marginTop:"10px",marginBottom:"10px",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",verticalAlign:"middle",boxSizing:"border-box",overflowWrap:"normal"},Ur={buttonPrimary:{...Ha,fontFamily:"var(--f-theme-settings-button-primary-font-family)",fontSize:"var(--f-theme-settings-button-primary-font-size)",fontWeight:"var(--f-theme-settings-button-primary-font-weight)",lineHeight:"var(--f-theme-settings-button-primary-line-height)",paddingTop:"var(--f-theme-settings-button-primary-padding-top)",paddingRight:"var(--f-theme-settings-button-primary-padding-right)",paddingBottom:"var(--f-theme-settings-button-primary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-primary-padding-left)",fontStyle:"var(--f-theme-settings-button-primary-font-style)",textTransform:"var(--f-theme-settings-button-primary-text-transform)",backgroundColor:"var(--f-theme-settings-button-primary-background-color)",borderColor:"var(--f-theme-settings-button-primary-border-color)",borderRadius:"var(--f-theme-settings-button-primary-border-radius)",borderWidth:"var(--f-theme-settings-button-primary-border-width)",color:"var(--f-theme-settings-button-primary-color)",hover:{backgroundColor:"var(--f-theme-settings-button-primary-background-color-hover)",borderColor:"var(--f-theme-settings-button-primary-border-color-hover)",color:"var(--f-theme-settings-button-primary-color-hover)"}},buttonSecondary:{...Ha,fontFamily:"var(--f-theme-settings-button-secondary-font-family)",fontSize:"var(--f-theme-settings-button-secondary-font-size)",fontWeight:"var(--f-theme-settings-button-secondary-font-weight)",lineHeight:"var(--f-theme-settings-button-secondary-line-height)",paddingTop:"var(--f-theme-settings-button-secondary-padding-top)",paddingRight:"var(--f-theme-settings-button-secondary-padding-right)",paddingBottom:"var(--f-theme-settings-button-secondary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-secondary-padding-left)",fontStyle:"var(--f-theme-settings-button-secondary-font-style)",textTransform:"var(--f-theme-settings-button-secondary-text-transform)",backgroundColor:"var(--f-theme-settings-button-secondary-background-color)",borderColor:"var(--f-theme-settings-button-secondary-border-color)",borderRadius:"var(--f-theme-settings-button-secondary-border-radius)",borderWidth:"var(--f-theme-settings-button-secondary-border-width)",color:"var(--f-theme-settings-button-secondary-color)",hover:{backgroundColor:"var(--f-theme-settings-button-secondary-background-color-hover)",borderColor:"var(--f-theme-settings-button-secondary-border-color-hover)",color:"var(--f-theme-settings-button-secondary-color-hover)"}},buttonTertiary:{...Ha,fontFamily:"var(--f-theme-settings-button-tertiary-font-family)",fontSize:"var(--f-theme-settings-button-tertiary-font-size)",fontWeight:"var(--f-theme-settings-button-tertiary-font-weight)",lineHeight:"var(--f-theme-settings-button-tertiary-line-height)",paddingTop:"var(--f-theme-settings-button-tertiary-padding-top)",paddingRight:"var(--f-theme-settings-button-tertiary-padding-right)",paddingBottom:"var(--f-theme-settings-button-tertiary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-tertiary-padding-left)",fontStyle:"var(--f-theme-settings-button-tertiary-font-style)",textTransform:"var(--f-theme-settings-button-tertiary-text-transform)",backgroundColor:"var(--f-theme-settings-button-tertiary-background-color)",borderColor:"var(--f-theme-settings-button-tertiary-border-color)",borderRadius:"var(--f-theme-settings-button-tertiary-border-radius)",borderWidth:"var(--f-theme-settings-button-tertiary-border-width)",color:"var(--f-theme-settings-button-tertiary-color)",hover:{backgroundColor:"var(--f-theme-settings-button-tertiary-background-color-hover)",borderColor:"var(--f-theme-settings-button-tertiary-border-color-hover)",color:"var(--f-theme-settings-button-tertiary-color-hover)"}}},mw=e=>{var l,i;const{attributes:t,children:r}=e,n=e.element.url||((i=(l=e.element.chosenLink)==null?void 0:l.searchResult)==null?void 0:i.link)||"",a=e.element.target||"_self",o=String(e.element.buttonStyle)||"primary";return c.jsx(bw,{attributes:t,href:n,target:a,styles:Ur[`button${o.charAt(0).toUpperCase()+o.slice(1)}`],children:r})},bw=({attributes:e,styles:t={hover:{}},children:r,href:n="#",target:a})=>{const[o,l]=b.useState(!1);return c.jsx("a",{...e,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),href:n,target:a,style:o?{...t,...t.hover}:t,children:r})};class ww extends M.MarkupElement{constructor(t=m0,r=mw){super(t,r)}}const Td=b.forwardRef((e,t)=>{const r=M.useEditorRef();return c.jsx(M.ToolbarButton,{ref:t,...e,onMouseDown:n=>{n.preventDefault(),M.focusEditor(r,r.selection??r.prevSelection??void 0)},onClick:()=>{Pd(r,{focused:!0})},children:c.jsx(M.IconStylingWrapper,{icon:c.jsx(M.IconButton16,{})})})});Td.displayName="ButtonToolbarButton";const yw=({editorId:e,id:t})=>{const r=M.useEditorState(M.useEventPlateId(e)),n=!!M.isRangeInSameBlock(r,{at:r.selection}),a=M.getPluginType(r,m0),o=!!(r!=null&&r.selection)&&M.someNode(r,{match:{type:a}});return c.jsx("div",{"data-plugin-id":t,children:c.jsx(Td,{pressed:o,disabled:!n,tooltip:M.getTooltip(n?`Button
85
+ Defaulting to \`null\`.`}var Xg=Cc,Qg=_c;const Zg=R1({base:"tw-relative tw-w-full tw-overflow-hidden",variants:{rounded:{true:"tw-rounded"},size:{small:"tw-h-1",medium:"tw-h-2",large:"tw-h-3","x-large":"tw-h-4"},variant:{default:"tw-bg-box-selected",positive:"tw-bg-box-positive",negative:"tw-bg-box-negative"}}}),Jg=R1({base:"tw-h-full tw-w-full",variants:{variant:{default:"tw-bg-text-interactive",positive:"tw-bg-text-positive",negative:"tw-bg-text-negative"},indeterminateState:{true:"tw-animate-loading-bar-infinite tw-origin-left-right",false:"tw-transition-all tw-origin-left tw-scale-x-[--loading-bar-proportion]"}}}),e9=b.forwardRef(({value:e,max:t=100,rounded:r=!0,variant:n="default",size:a="medium","data-test-id":o="fondue-loading-bar",...l},i)=>c.jsx(Xg,{ref:i,"data-test-id":o,className:Zg({rounded:r,size:a,variant:n}),"aria-busy":e!==t,value:e,max:t,style:{"--loading-bar-value":e,"--loading-bar-max":t,"--loading-bar-proportion":"calc(var(--loading-bar-value) / var(--loading-bar-max))"},...l,children:c.jsx(Qg,{className:Jg({variant:n,indeterminateState:e===null})})}));e9.displayName="LoadingBar";function la(e,[t,r]){return Math.min(r,Math.max(t,e))}function t9(e,t){return p.useReducer((r,n)=>t[r][n]??r,e)}var ia="ScrollArea",[Sc,rC]=H0(ia),[r9,Y0]=Sc(ia),Ic=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...l}=e,[i,s]=p.useState(null),[d,u]=p.useState(null),[f,h]=p.useState(null),[g,C]=p.useState(null),[m,v]=p.useState(null),[x,y]=p.useState(0),[_,A]=p.useState(0),[E,I]=p.useState(!1),[L,k]=p.useState(!1),F=d0(t,U=>s(U)),$=ie(a);return c.jsx(r9,{scope:r,type:n,dir:$,scrollHideDelay:o,scrollArea:i,viewport:d,onViewportChange:u,content:f,onContentChange:h,scrollbarX:g,onScrollbarXChange:C,scrollbarXEnabled:E,onScrollbarXEnabledChange:I,scrollbarY:m,onScrollbarYChange:v,scrollbarYEnabled:L,onScrollbarYEnabledChange:k,onCornerWidthChange:y,onCornerHeightChange:A,children:c.jsx(o0.div,{dir:$,...l,ref:F,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":_+"px",...e.style}})})});Ic.displayName=ia;var Pc="ScrollAreaViewport",Tc=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:n,nonce:a,...o}=e,l=Y0(Pc,r),i=p.useRef(null),s=d0(t,i,l.onViewportChange);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),c.jsx(o0.div,{"data-radix-scroll-area-viewport":"",...o,ref:s,style:{overflowX:l.scrollbarXEnabled?"scroll":"hidden",overflowY:l.scrollbarYEnabled?"scroll":"hidden",...e.style},children:c.jsx("div",{ref:l.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});Tc.displayName=Pc;var s1="ScrollAreaScrollbar",kc=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Y0(s1,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:l}=a,i=e.orientation==="horizontal";return p.useEffect(()=>(i?o(!0):l(!0),()=>{i?o(!1):l(!1)}),[i,o,l]),a.type==="hover"?c.jsx(n9,{...n,ref:t,forceMount:r}):a.type==="scroll"?c.jsx(o9,{...n,ref:t,forceMount:r}):a.type==="auto"?c.jsx(Nc,{...n,ref:t,forceMount:r}):a.type==="always"?c.jsx(sa,{...n,ref:t}):null});kc.displayName=s1;var n9=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Y0(s1,e.__scopeScrollArea),[o,l]=p.useState(!1);return p.useEffect(()=>{const i=a.scrollArea;let s=0;if(i){const d=()=>{window.clearTimeout(s),l(!0)},u=()=>{s=window.setTimeout(()=>l(!1),a.scrollHideDelay)};return i.addEventListener("pointerenter",d),i.addEventListener("pointerleave",u),()=>{window.clearTimeout(s),i.removeEventListener("pointerenter",d),i.removeEventListener("pointerleave",u)}}},[a.scrollArea,a.scrollHideDelay]),c.jsx(S0,{present:r||o,children:c.jsx(Nc,{"data-state":o?"visible":"hidden",...n,ref:t})})}),o9=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Y0(s1,e.__scopeScrollArea),o=e.orientation==="horizontal",l=Sr(()=>s("SCROLL_END"),100),[i,s]=t9("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return p.useEffect(()=>{if(i==="idle"){const d=window.setTimeout(()=>s("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[i,a.scrollHideDelay,s]),p.useEffect(()=>{const d=a.viewport,u=o?"scrollLeft":"scrollTop";if(d){let f=d[u];const h=()=>{const g=d[u];f!==g&&(s("SCROLL"),l()),f=g};return d.addEventListener("scroll",h),()=>d.removeEventListener("scroll",h)}},[a.viewport,o,s,l]),c.jsx(S0,{present:r||i!=="hidden",children:c.jsx(sa,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:e0(e.onPointerEnter,()=>s("POINTER_ENTER")),onPointerLeave:e0(e.onPointerLeave,()=>s("POINTER_LEAVE"))})})}),Nc=p.forwardRef((e,t)=>{const r=Y0(s1,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,l]=p.useState(!1),i=e.orientation==="horizontal",s=Sr(()=>{if(r.viewport){const d=r.viewport.offsetWidth<r.viewport.scrollWidth,u=r.viewport.offsetHeight<r.viewport.scrollHeight;l(i?d:u)}},10);return Te(r.viewport,s),Te(r.content,s),c.jsx(S0,{present:n||o,children:c.jsx(sa,{"data-state":o?"visible":"hidden",...a,ref:t})})}),sa=p.forwardRef((e,t)=>{const{orientation:r="vertical",...n}=e,a=Y0(s1,e.__scopeScrollArea),o=p.useRef(null),l=p.useRef(0),[i,s]=p.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=Lc(i.viewport,i.content),u={...n,sizes:i,onSizesChange:s,hasThumb:d>0&&d<1,onThumbChange:h=>o.current=h,onThumbPointerUp:()=>l.current=0,onThumbPointerDown:h=>l.current=h};function f(h,g){return d9(h,l.current,i,g)}return r==="horizontal"?c.jsx(a9,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const h=a.viewport.scrollLeft,g=Vc(h,i,a.dir);o.current.style.transform=`translate3d(${g}px, 0, 0)`}},onWheelScroll:h=>{a.viewport&&(a.viewport.scrollLeft=h)},onDragScroll:h=>{a.viewport&&(a.viewport.scrollLeft=f(h,a.dir))}}):r==="vertical"?c.jsx(l9,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const h=a.viewport.scrollTop,g=Vc(h,i);o.current.style.transform=`translate3d(0, ${g}px, 0)`}},onWheelScroll:h=>{a.viewport&&(a.viewport.scrollTop=h)},onDragScroll:h=>{a.viewport&&(a.viewport.scrollTop=f(h))}}):null}),a9=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=Y0(s1,e.__scopeScrollArea),[l,i]=p.useState(),s=p.useRef(null),d=d0(t,s,o.onScrollbarXChange);return p.useEffect(()=>{s.current&&i(getComputedStyle(s.current))},[s]),c.jsx(Oc,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Er(r)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,f)=>{if(o.viewport){const h=o.viewport.scrollLeft+u.deltaX;e.onWheelScroll(h),Fc(h,f)&&u.preventDefault()}},onResize:()=>{s.current&&o.viewport&&l&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:s.current.clientWidth,paddingStart:Ar(l.paddingLeft),paddingEnd:Ar(l.paddingRight)}})}})}),l9=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=Y0(s1,e.__scopeScrollArea),[l,i]=p.useState(),s=p.useRef(null),d=d0(t,s,o.onScrollbarYChange);return p.useEffect(()=>{s.current&&i(getComputedStyle(s.current))},[s]),c.jsx(Oc,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Er(r)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,f)=>{if(o.viewport){const h=o.viewport.scrollTop+u.deltaY;e.onWheelScroll(h),Fc(h,f)&&u.preventDefault()}},onResize:()=>{s.current&&o.viewport&&l&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:s.current.clientHeight,paddingStart:Ar(l.paddingTop),paddingEnd:Ar(l.paddingBottom)}})}})}),[i9,zc]=Sc(s1),Oc=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:l,onThumbPointerDown:i,onThumbPositionChange:s,onDragScroll:d,onWheelScroll:u,onResize:f,...h}=e,g=Y0(s1,r),[C,m]=p.useState(null),v=d0(t,F=>m(F)),x=p.useRef(null),y=p.useRef(""),_=g.viewport,A=n.content-n.viewport,E=z0(u),I=z0(s),L=Sr(f,10);function k(F){if(x.current){const $=F.clientX-x.current.left,U=F.clientY-x.current.top;d({x:$,y:U})}}return p.useEffect(()=>{const F=$=>{const U=$.target;(C==null?void 0:C.contains(U))&&E($,A)};return document.addEventListener("wheel",F,{passive:!1}),()=>document.removeEventListener("wheel",F,{passive:!1})},[_,C,A,E]),p.useEffect(I,[n,I]),Te(C,L),Te(g.content,L),c.jsx(i9,{scope:r,scrollbar:C,hasThumb:a,onThumbChange:z0(o),onThumbPointerUp:z0(l),onThumbPositionChange:I,onThumbPointerDown:z0(i),children:c.jsx(o0.div,{...h,ref:v,style:{position:"absolute",...h.style},onPointerDown:e0(e.onPointerDown,F=>{F.button===0&&(F.target.setPointerCapture(F.pointerId),x.current=C.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",g.viewport&&(g.viewport.style.scrollBehavior="auto"),k(F))}),onPointerMove:e0(e.onPointerMove,k),onPointerUp:e0(e.onPointerUp,F=>{const $=F.target;$.hasPointerCapture(F.pointerId)&&$.releasePointerCapture(F.pointerId),document.body.style.webkitUserSelect=y.current,g.viewport&&(g.viewport.style.scrollBehavior=""),x.current=null})})})}),Mr="ScrollAreaThumb",Hc=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=zc(Mr,e.__scopeScrollArea);return c.jsx(S0,{present:r||a.hasThumb,children:c.jsx(s9,{ref:t,...n})})}),s9=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:n,...a}=e,o=Y0(Mr,r),l=zc(Mr,r),{onThumbPositionChange:i}=l,s=d0(t,f=>l.onThumbChange(f)),d=p.useRef(void 0),u=Sr(()=>{d.current&&(d.current(),d.current=void 0)},100);return p.useEffect(()=>{const f=o.viewport;if(f){const h=()=>{if(u(),!d.current){const g=u9(f,i);d.current=g,i()}};return i(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[o.viewport,u,i]),c.jsx(o0.div,{"data-state":l.hasThumb?"visible":"hidden",...a,ref:s,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:e0(e.onPointerDownCapture,f=>{const g=f.target.getBoundingClientRect(),C=f.clientX-g.left,m=f.clientY-g.top;l.onThumbPointerDown({x:C,y:m})}),onPointerUp:e0(e.onPointerUp,l.onThumbPointerUp)})});Hc.displayName=Mr;var ca="ScrollAreaCorner",Dc=p.forwardRef((e,t)=>{const r=Y0(ca,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?c.jsx(c9,{...e,ref:t}):null});Dc.displayName=ca;var c9=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,...n}=e,a=Y0(ca,r),[o,l]=p.useState(0),[i,s]=p.useState(0),d=!!(o&&i);return Te(a.scrollbarX,()=>{var f;const u=((f=a.scrollbarX)==null?void 0:f.offsetHeight)||0;a.onCornerHeightChange(u),s(u)}),Te(a.scrollbarY,()=>{var f;const u=((f=a.scrollbarY)==null?void 0:f.offsetWidth)||0;a.onCornerWidthChange(u),l(u)}),d?c.jsx(o0.div,{...n,ref:t,style:{width:o,height:i,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function Ar(e){return e?parseInt(e,10):0}function Lc(e,t){const r=e/t;return isNaN(r)?0:r}function Er(e){const t=Lc(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function d9(e,t,r,n="ltr"){const a=Er(r),o=a/2,l=t||o,i=a-l,s=r.scrollbar.paddingStart+l,d=r.scrollbar.size-r.scrollbar.paddingEnd-i,u=r.content-r.viewport,f=n==="ltr"?[0,u]:[u*-1,0];return $c([s,d],f)(e)}function Vc(e,t,r="ltr"){const n=Er(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,l=t.content-t.viewport,i=o-n,s=r==="ltr"?[0,l]:[l*-1,0],d=la(e,s);return $c([0,l],[0,i])(d)}function $c(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Fc(e,t){return e>0&&e<t}var u9=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function a(){const o={left:e.scrollLeft,top:e.scrollTop},l=r.left!==o.left,i=r.top!==o.top;(l||i)&&t(),r=o,n=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(n)};function Sr(e,t){const r=z0(e),n=p.useRef(0);return p.useEffect(()=>()=>window.clearTimeout(n.current),[]),p.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Te(e,t){const r=z0(t);f1(()=>{let n=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}var f9=Ic,h9=Tc,Bc=kc,Rc=Hc,p9=Dc;const v9="_root_hkznm_4",g9="_viewport_hkznm_12",m9="_scrollbar_hkznm_43",b9="_thumb_hkznm_75",w9="_corner_hkznm_93",X1={root:v9,viewport:g9,scrollbar:m9,thumb:b9,corner:w9},y9=({type:e="hover",maxHeight:t="100%",maxWidth:r="100%",showShadow:n=!1,scrollbarGutter:a="auto",padding:o,children:l,"data-test-id":i="fondue-scroll-area"},s)=>c.jsxs(f9,{type:e,className:X1.root,style:{maxWidth:r},"data-test-id":i,ref:s,children:[c.jsx(h9,{className:X1.viewport,style:{maxHeight:t},"data-scroll-padding":o,"data-show-shadow":n,"data-scrollbar-type":e,"data-scrollbar-gutter":a,"data-test-id":`${i}-viewport`,children:l}),c.jsx(Bc,{className:X1.scrollbar,orientation:"vertical","data-test-id":`${i}-vertical-scrollbar`,children:c.jsx(Rc,{className:X1.thumb,"data-test-id":`${i}-vertical-scrollbar-thumb`})}),c.jsx(Bc,{className:X1.scrollbar,orientation:"horizontal","data-test-id":`${i}-horizontal-scrollbar`,children:c.jsx(Rc,{className:X1.thumb,"data-test-id":`${i}-horizontal-scrollbar-thumb`})}),c.jsx(p9,{className:X1.corner,"data-test-id":`${i}-corner`})]}),Uc=b.forwardRef(y9);Uc.displayName="ScrollArea";const C9="_root_5sic9_5",x9={root:C9},_9=b.forwardRef(({"data-test-id":e="fondue-section",children:t,role:r,"aria-label":n,"aria-hidden":a,"aria-describedby":o,"aria-labelledby":l,"aria-expanded":i,"aria-haspopup":s,...d},u)=>c.jsx("section",{className:x9.root,"data-test-id":e,style:Mt(d),role:r,"aria-label":n,"aria-hidden":a,"aria-describedby":o,"aria-labelledby":l,"aria-expanded":i,"aria-haspopup":s,ref:u,children:t}));_9.displayName="Section";var Wc="Toggle",Kc=p.forwardRef((e,t)=>{const{pressed:r,defaultPressed:n,onPressedChange:a,...o}=e,[l,i]=j0({prop:r,onChange:a,defaultProp:n??!1,caller:Wc});return c.jsx(o0.button,{type:"button","aria-pressed":l,"data-state":l?"on":"off","data-disabled":e.disabled?"":void 0,...o,ref:t,onClick:e0(e.onClick,()=>{e.disabled||i(!l)})})});Kc.displayName=Wc;var D1="ToggleGroup",[jc,nC]=H0(D1,[Ie]),Gc=Ie(),da=b.forwardRef((e,t)=>{const{type:r,...n}=e;if(r==="single"){const a=n;return c.jsx(M9,{...a,ref:t})}if(r==="multiple"){const a=n;return c.jsx(A9,{...a,ref:t})}throw new Error(`Missing prop \`type\` expected on \`${D1}\``)});da.displayName=D1;var[qc,Yc]=jc(D1),M9=b.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:a=()=>{},...o}=e,[l,i]=j0({prop:r,defaultProp:n??"",onChange:a,caller:D1});return c.jsx(qc,{scope:e.__scopeToggleGroup,type:"single",value:b.useMemo(()=>l?[l]:[],[l]),onItemActivate:i,onItemDeactivate:b.useCallback(()=>i(""),[i]),children:c.jsx(Xc,{...o,ref:t})})}),A9=b.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:a=()=>{},...o}=e,[l,i]=j0({prop:r,defaultProp:n??[],onChange:a,caller:D1}),s=b.useCallback(u=>i((f=[])=>[...f,u]),[i]),d=b.useCallback(u=>i((f=[])=>f.filter(h=>h!==u)),[i]);return c.jsx(qc,{scope:e.__scopeToggleGroup,type:"multiple",value:l,onItemActivate:s,onItemDeactivate:d,children:c.jsx(Xc,{...o,ref:t})})});da.displayName=D1;var[E9,S9]=jc(D1),Xc=b.forwardRef((e,t)=>{const{__scopeToggleGroup:r,disabled:n=!1,rovingFocus:a=!0,orientation:o,dir:l,loop:i=!0,...s}=e,d=Gc(r),u=ie(l),f={role:"group",dir:u,...s};return c.jsx(E9,{scope:r,rovingFocus:a,disabled:n,children:a?c.jsx(Go,{asChild:!0,...d,orientation:o,dir:u,loop:i,children:c.jsx(o0.div,{...f,ref:t})}):c.jsx(o0.div,{...f,ref:t})})}),Ir="ToggleGroupItem",Qc=b.forwardRef((e,t)=>{const r=Yc(Ir,e.__scopeToggleGroup),n=S9(Ir,e.__scopeToggleGroup),a=Gc(e.__scopeToggleGroup),o=r.value.includes(e.value),l=n.disabled||e.disabled,i={...e,pressed:o,disabled:l},s=b.useRef(null);return n.rovingFocus?c.jsx(qo,{asChild:!0,...a,focusable:!l,active:o,ref:s,children:c.jsx(Zc,{...i,ref:t})}):c.jsx(Zc,{...i,ref:t})});Qc.displayName=Ir;var Zc=b.forwardRef((e,t)=>{const{__scopeToggleGroup:r,value:n,...a}=e,o=Yc(Ir,r),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},i=o.type==="single"?l:void 0;return c.jsx(Kc,{...i,...a,ref:t,onPressedChange:s=>{s?o.onItemActivate(n):o.onItemDeactivate(n)}})}),I9=da,P9=Qc;const Jc=({prop:e,defaultProp:t,onChange:r=()=>{}})=>{const[n,a]=T9({defaultProp:t,onChange:r}),o=e!==void 0,l=o?e:n,i=b.useMemo(()=>r,[r]),s=b.useCallback(d=>{if(o){const u=typeof d=="function"?d(e):d;u!==e&&i(u)}else a(d)},[o,e,a,i]);return[l,s]},T9=({defaultProp:e,onChange:t})=>{const[r,n]=b.useState(e),a=b.useRef(r),o=b.useMemo(()=>t,[t]);return b.useEffect(()=>{a.current!==r&&(o==null||o(r),a.current=r)},[r,a,o]),[r,n]},k9="_root_1yzu4_5",N9="_item_1yzu4_30",z9="_itemLabel_1yzu4_50",O9="_itemLabelActive_1yzu4_70",H9="_itemLabelInactive_1yzu4_100",D9="_activeIndicator_1yzu4_130",L9="_separator_1yzu4_227",Q1={root:k9,item:N9,itemLabel:z9,itemLabelActive:O9,itemLabelInactive:H9,activeIndicator:D9,separator:L9},e7=({children:e,value:t,defaultValue:r,onValueChange:n,hugWidth:a=!0,...o},l)=>{const[i,s]=Jc({prop:t,defaultProp:r,onChange:n});return c.jsxs(I9,{ref:l,...o,className:Q1.root,onValueChange:d=>{d&&s(d)},value:i,type:"single",asChild:!1,"data-hug-width":a,"aria-disabled":o.disabled,children:[e,c.jsx("div",{className:Q1.activeIndicator})]})};e7.displayName="SegmentedControl.Root";const t7=({children:e,...t},r)=>c.jsxs(P9,{ref:r,...t,className:Q1.item,asChild:!1,children:[c.jsx("span",{className:Q1.separator}),c.jsxs("span",{className:Q1.itemLabel,children:[c.jsx("span",{className:Q1.itemLabelActive,children:e}),c.jsx("span",{className:Q1.itemLabelInactive,children:e})]})]});t7.displayName="SegmentedControl.Item",b.forwardRef(e7),b.forwardRef(t7);var r7=["PageUp","PageDown"],n7=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],o7={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},ke="Slider",[ua,V9,$9]=Yr(ke),[a7,oC]=H0(ke,[$9]),[F9,Pr]=a7(ke),l7=p.forwardRef((e,t)=>{const{name:r,min:n=0,max:a=100,step:o=1,orientation:l="horizontal",disabled:i=!1,minStepsBetweenThumbs:s=0,defaultValue:d=[n],value:u,onValueChange:f=()=>{},onValueCommit:h=()=>{},inverted:g=!1,form:C,...m}=e,v=p.useRef(new Set),x=p.useRef(0),_=l==="horizontal"?B9:R9,[A=[],E]=j0({prop:u,defaultProp:d,onChange:U=>{var W;(W=[...v.current][x.current])==null||W.focus(),f(U)}}),I=p.useRef(A);function L(U){const P=G9(A,U);$(U,P)}function k(U){$(U,x.current)}function F(){const U=I.current[x.current];A[x.current]!==U&&h(A)}function $(U,P,{commit:W}={commit:!1}){const H=Q9(o),Y=Z9(Math.round((U-n)/o)*o+n,H),K=la(Y,[n,a]);E((B=[])=>{const V=K9(B,K,P);if(X9(V,s*o)){x.current=V.indexOf(K);const N=String(V)!==String(B);return N&&W&&h(V),N?V:B}else return B})}return c.jsx(F9,{scope:e.__scopeSlider,name:r,disabled:i,min:n,max:a,valueIndexToChangeRef:x,thumbs:v.current,values:A,orientation:l,form:C,children:c.jsx(ua.Provider,{scope:e.__scopeSlider,children:c.jsx(ua.Slot,{scope:e.__scopeSlider,children:c.jsx(_,{"aria-disabled":i,"data-disabled":i?"":void 0,...m,ref:t,onPointerDown:e0(m.onPointerDown,()=>{i||(I.current=A)}),min:n,max:a,inverted:g,onSlideStart:i?void 0:L,onSlideMove:i?void 0:k,onSlideEnd:i?void 0:F,onHomeKeyDown:()=>!i&&$(n,0,{commit:!0}),onEndKeyDown:()=>!i&&$(a,A.length-1,{commit:!0}),onStepKeyDown:({event:U,direction:P})=>{if(!i){const Y=r7.includes(U.key)||U.shiftKey&&n7.includes(U.key)?10:1,K=x.current,B=A[K],V=o*Y*P;$(B+V,K,{commit:!0})}}})})})})});l7.displayName=ke;var[i7,s7]=a7(ke,{startEdge:"left",endEdge:"right",size:"width",direction:1}),B9=p.forwardRef((e,t)=>{const{min:r,max:n,dir:a,inverted:o,onSlideStart:l,onSlideMove:i,onSlideEnd:s,onStepKeyDown:d,...u}=e,[f,h]=p.useState(null),g=d0(t,_=>h(_)),C=p.useRef(void 0),m=ie(a),v=m==="ltr",x=v&&!o||!v&&o;function y(_){const A=C.current||f.getBoundingClientRect(),E=[0,A.width],L=pa(E,x?[r,n]:[n,r]);return C.current=A,L(_-A.left)}return c.jsx(i7,{scope:e.__scopeSlider,startEdge:x?"left":"right",endEdge:x?"right":"left",direction:x?1:-1,size:"width",children:c.jsx(c7,{dir:m,"data-orientation":"horizontal",...u,ref:g,style:{...u.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:_=>{const A=y(_.clientX);l==null||l(A)},onSlideMove:_=>{const A=y(_.clientX);i==null||i(A)},onSlideEnd:()=>{C.current=void 0,s==null||s()},onStepKeyDown:_=>{const E=o7[x?"from-left":"from-right"].includes(_.key);d==null||d({event:_,direction:E?-1:1})}})})}),R9=p.forwardRef((e,t)=>{const{min:r,max:n,inverted:a,onSlideStart:o,onSlideMove:l,onSlideEnd:i,onStepKeyDown:s,...d}=e,u=p.useRef(null),f=d0(t,u),h=p.useRef(void 0),g=!a;function C(m){const v=h.current||u.current.getBoundingClientRect(),x=[0,v.height],_=pa(x,g?[n,r]:[r,n]);return h.current=v,_(m-v.top)}return c.jsx(i7,{scope:e.__scopeSlider,startEdge:g?"bottom":"top",endEdge:g?"top":"bottom",size:"height",direction:g?1:-1,children:c.jsx(c7,{"data-orientation":"vertical",...d,ref:f,style:{...d.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:m=>{const v=C(m.clientY);o==null||o(v)},onSlideMove:m=>{const v=C(m.clientY);l==null||l(v)},onSlideEnd:()=>{h.current=void 0,i==null||i()},onStepKeyDown:m=>{const x=o7[g?"from-bottom":"from-top"].includes(m.key);s==null||s({event:m,direction:x?-1:1})}})})}),c7=p.forwardRef((e,t)=>{const{__scopeSlider:r,onSlideStart:n,onSlideMove:a,onSlideEnd:o,onHomeKeyDown:l,onEndKeyDown:i,onStepKeyDown:s,...d}=e,u=Pr(ke,r);return c.jsx(o0.span,{...d,ref:t,onKeyDown:e0(e.onKeyDown,f=>{f.key==="Home"?(l(f),f.preventDefault()):f.key==="End"?(i(f),f.preventDefault()):r7.concat(n7).includes(f.key)&&(s(f),f.preventDefault())}),onPointerDown:e0(e.onPointerDown,f=>{const h=f.target;h.setPointerCapture(f.pointerId),f.preventDefault(),u.thumbs.has(h)?h.focus():n(f)}),onPointerMove:e0(e.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&a(f)}),onPointerUp:e0(e.onPointerUp,f=>{const h=f.target;h.hasPointerCapture(f.pointerId)&&(h.releasePointerCapture(f.pointerId),o(f))})})}),d7="SliderTrack",u7=p.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,a=Pr(d7,r);return c.jsx(o0.span,{"data-disabled":a.disabled?"":void 0,"data-orientation":a.orientation,...n,ref:t})});u7.displayName=d7;var fa="SliderRange",f7=p.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,a=Pr(fa,r),o=s7(fa,r),l=p.useRef(null),i=d0(t,l),s=a.values.length,d=a.values.map(h=>v7(h,a.min,a.max)),u=s>1?Math.min(...d):0,f=100-Math.max(...d);return c.jsx(o0.span,{"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,...n,ref:i,style:{...e.style,[o.startEdge]:u+"%",[o.endEdge]:f+"%"}})});f7.displayName=fa;var ha="SliderThumb",h7=p.forwardRef((e,t)=>{const r=V9(e.__scopeSlider),[n,a]=p.useState(null),o=d0(t,i=>a(i)),l=p.useMemo(()=>n?r().findIndex(i=>i.ref.current===n):-1,[r,n]);return c.jsx(U9,{...e,ref:o,index:l})}),U9=p.forwardRef((e,t)=>{const{__scopeSlider:r,index:n,name:a,...o}=e,l=Pr(ha,r),i=s7(ha,r),[s,d]=p.useState(null),u=d0(t,y=>d(y)),f=s?l.form||!!s.closest("form"):!0,h=At(s),g=l.values[n],C=g===void 0?0:v7(g,l.min,l.max),m=j9(n,l.values.length),v=h==null?void 0:h[i.size],x=v?q9(v,C,i.direction):0;return p.useEffect(()=>{if(s)return l.thumbs.add(s),()=>{l.thumbs.delete(s)}},[s,l.thumbs]),c.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[i.startEdge]:`calc(${C}% + ${x}px)`},children:[c.jsx(ua.ItemSlot,{scope:e.__scopeSlider,children:c.jsx(o0.span,{role:"slider","aria-label":e["aria-label"]||m,"aria-valuemin":l.min,"aria-valuenow":g,"aria-valuemax":l.max,"aria-orientation":l.orientation,"data-orientation":l.orientation,"data-disabled":l.disabled?"":void 0,tabIndex:l.disabled?void 0:0,...o,ref:u,style:g===void 0?{display:"none"}:e.style,onFocus:e0(e.onFocus,()=>{l.valueIndexToChangeRef.current=n})})}),f&&c.jsx(p7,{name:a??(l.name?l.name+(l.values.length>1?"[]":""):void 0),form:l.form,value:g},n)]})});h7.displayName=ha;var W9="RadioBubbleInput",p7=p.forwardRef(({__scopeSlider:e,value:t,...r},n)=>{const a=p.useRef(null),o=d0(a,n),l=ln(t);return p.useEffect(()=>{const i=a.current;if(!i)return;const s=window.HTMLInputElement.prototype,u=Object.getOwnPropertyDescriptor(s,"value").set;if(l!==t&&u){const f=new Event("input",{bubbles:!0});u.call(i,t),i.dispatchEvent(f)}},[l,t]),c.jsx(o0.input,{style:{display:"none"},...r,ref:o,defaultValue:t})});p7.displayName=W9;function K9(e=[],t,r){const n=[...e];return n[r]=t,n.sort((a,o)=>a-o)}function v7(e,t,r){const o=100/(r-t)*(e-t);return la(o,[0,100])}function j9(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function G9(e,t){if(e.length===1)return 0;const r=e.map(a=>Math.abs(a-t)),n=Math.min(...r);return r.indexOf(n)}function q9(e,t,r){const n=e/2,o=pa([0,50],[0,n]);return(n-o(t)*r)*r}function Y9(e){return e.slice(0,-1).map((t,r)=>e[r+1]-t)}function X9(e,t){if(t>0){const r=Y9(e);return Math.min(...r)>=t}return!0}function pa(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Q9(e){return(String(e).split(".")[1]||"").length}function Z9(e,t){const r=Math.pow(10,t);return Math.round(e*r)/r}var J9=l7,em=u7,tm=f7,rm=h7;const nm="_root_fs3zj_5",om="_thumb_fs3zj_17",am="_track_fs3zj_21",lm="_range_fs3zj_28",Tr={root:nm,thumb:om,track:am,range:lm},im=({value:e,defaultValue:t=[0],onChange:r,onCommit:n,"data-test-id":a="fondue-slider",...o},l)=>{const i=b.useRef(null);return c.jsxs(J9,{ref:l,className:Tr.root,value:e,defaultValue:t,onValueChange:r,onValueCommit:n,"data-test-id":a,...o,children:[c.jsx(em,{onPointerDown:()=>{i.current&&(i.current.dataset.showFocusRing="false")},className:Tr.track,children:c.jsx(tm,{className:Tr.range})}),(e||t).map((s,d)=>c.jsx(rm,{ref:i,className:Tr.thumb,onPointerDown:u=>{u.currentTarget.dataset.showFocusRing="false"},onBlur:u=>{u.currentTarget.dataset.showFocusRing="true"}},d))]})},sm=b.forwardRef(im);sm.displayName="Slider";var kr="Switch",[cm,aC]=H0(kr),[dm,um]=cm(kr),g7=p.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:a,defaultChecked:o,required:l,disabled:i,value:s="on",onCheckedChange:d,form:u,...f}=e,[h,g]=p.useState(null),C=d0(t,_=>g(_)),m=p.useRef(!1),v=h?u||!!h.closest("form"):!0,[x,y]=j0({prop:a,defaultProp:o??!1,onChange:d,caller:kr});return c.jsxs(dm,{scope:r,checked:x,disabled:i,children:[c.jsx(o0.button,{type:"button",role:"switch","aria-checked":x,"aria-required":l,"data-state":y7(x),"data-disabled":i?"":void 0,disabled:i,value:s,...f,ref:C,onClick:e0(e.onClick,_=>{y(A=>!A),v&&(m.current=_.isPropagationStopped(),m.current||_.stopPropagation())})}),v&&c.jsx(w7,{control:h,bubbles:!m.current,name:n,value:s,checked:x,required:l,disabled:i,form:u,style:{transform:"translateX(-100%)"}})]})});g7.displayName=kr;var m7="SwitchThumb",b7=p.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,a=um(m7,r);return c.jsx(o0.span,{"data-state":y7(a.checked),"data-disabled":a.disabled?"":void 0,...n,ref:t})});b7.displayName=m7;var fm="SwitchBubbleInput",w7=p.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...a},o)=>{const l=p.useRef(null),i=d0(l,o),s=ln(r),d=At(t);return p.useEffect(()=>{const u=l.current;if(!u)return;const f=window.HTMLInputElement.prototype,g=Object.getOwnPropertyDescriptor(f,"checked").set;if(s!==r&&g){const C=new Event("click",{bubbles:n});g.call(u,r),u.dispatchEvent(C)}},[s,r,n]),c.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...a,tabIndex:-1,ref:i,style:{...a.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});w7.displayName=fm;function y7(e){return e?"checked":"unchecked"}var hm=g7,pm=b7;const vm="_root_1g6pz_5",gm="_small_1g6pz_16",mm="_medium_1g6pz_20",bm="_large_1g6pz_24",wm="_thumb_1g6pz_61",va={root:vm,small:gm,medium:mm,large:bm,thumb:wm},ym=({value:e,defaultValue:t,size:r="medium",onChange:n,"data-test-id":a="fondue-switch","aria-label":o="Switch",...l},i)=>c.jsx(hm,{ref:i,checked:e,defaultChecked:t,className:a1([va.root,va[r]]),onCheckedChange:n,"aria-label":o,"data-test-id":a,...l,children:c.jsx(pm,{className:va.thumb})}),Cm=b.forwardRef(ym);Cm.displayName="Switch";const C7=e=>{b.useEffect(()=>{if(!e.current)return;const t=e.current,r=new ResizeObserver(()=>{const n=t.scrollWidth>t.clientWidth;t.title=n&&t.textContent||""});return r.observe(t),()=>r.disconnect()},[e])},xm="_table_1outv_4",_m="_headerCell_1outv_18",Mm="_rowCell_1outv_19",Am="_caption_1outv_46",Em="_cellContent_1outv_71",Sm="_sortIndicator_1outv_96",Im="_body_1outv_100",Pm="_row_1outv_19",Tm="_buttonText_1outv_164",X0={table:xm,headerCell:_m,rowCell:Mm,caption:Am,cellContent:Em,sortIndicator:Sm,body:Im,row:Pm,buttonText:Tm};function km(e,t){const r='tr[tabindex="0"]',n=e.closest("table");if(!n)return null;const a=Array.from(n.querySelectorAll(r)),o=a.indexOf(e)+(t==="ArrowUp"?-1:1);return o>=0&&o<a.length?a[o]:null}function Nm(e){const t=e.target,r=t.closest("tr");if(!r||t!==r||!["ArrowUp","ArrowDown"].includes(e.key))return;const n=km(r,e.key);n&&(e.preventDefault(),n.focus())}const zm=[HTMLButtonElement,HTMLAnchorElement],Om=["button","link"];function Hm(e){if(!e)return!1;const{target:t,currentTarget:r}=e;let n=t instanceof Element?t:null;if(!r.contains(n))return!0;for(;n&&!(n instanceof HTMLTableRowElement);){if(zm.some(o=>n instanceof o))return!0;const a=n.getAttribute("role");if(a&&Om.includes(a))return!0;n=n.parentElement}return!1}const Dm=b.forwardRef(({layout:e="auto",fontSize:t="medium",sticky:r,children:n,...a},o)=>c.jsx("table",{ref:o,className:X0.table,"data-layout":e,"data-font-size":t,"data-sticky":r,onKeyDown:Nm,...a,children:n}));Dm.displayName="Table.Root";const Lm=b.forwardRef(({children:e},t)=>c.jsx("caption",{ref:t,className:X0.caption,children:e}));Lm.displayName="Table.Caption";const Vm=b.forwardRef(({children:e,"aria-label":t,"aria-busy":r},n)=>c.jsx("thead",{ref:n,className:X0.header,"aria-label":t,"aria-busy":r,children:e}));Vm.displayName="Table.Header";const $m=b.forwardRef(({noShrink:e=!1,truncate:t=!1,align:r="left",scope:n="col",sortTranslations:a,sortDirection:o,colSpan:l,width:i,state:s="idle",loadingStateAriaLabel:d,onSortChange:u,children:f},h)=>{const g=b.useRef(null);Uo(g,h),C7(g);const C=b.useMemo(()=>typeof f=="string"?o==="ascending"?(a==null?void 0:a.sortDescending)??`Sort by ${f} descending`:(a==null?void 0:a.sortAscending)??`Sort by ${f} ascending`:o==="ascending"?"Sort descending":"Sort ascending",[f,o,a]),m=()=>{u&&u(o===void 0||o==="descending"?"ascending":"descending")};return c.jsx("th",{ref:g,style:{width:i},className:X0.headerCell,scope:n,colSpan:l,"data-align":r,"data-truncate":t,"data-no-shrink":e,"data-sortable":!!u,"aria-sort":u?o||"none":void 0,children:s==="loading"?c.jsxs("div",{className:X0.cellContent,"aria-live":"polite","aria-label":d,children:[typeof f=="string"&&t?c.jsx("span",{className:X0.buttonText,children:f}):f,c.jsx(Me,{"data-test-id":"fondue-loading-circle",size:"xx-small"})]}):u?c.jsxs("button",{className:X0.cellContent,"aria-label":C,"data-active":!!o,onClick:m,type:"button",children:[typeof f=="string"&&t?c.jsx("span",{className:X0.buttonText,children:f}):f,c.jsx(c5,{width:3,children:o==="ascending"?c.jsx(xu,{size:"12"}):o==="descending"?c.jsx(Cu,{size:"12"}):c.jsx(yu,{className:X0.sortIndicator,size:"12"})})]}):f})});$m.displayName="Table.HeaderCell";const Fm=b.forwardRef(({children:e,"aria-busy":t},r)=>c.jsx("tbody",{ref:r,className:X0.body,"aria-busy":t,children:e}));Fm.displayName="Table.Body";const Bm=b.forwardRef(({disabled:e=!1,selected:t=!1,onClick:r,children:n,"aria-label":a,"data-test-id":o},l)=>{const i=r!==void 0&&!e,s=u=>{e||Hm(u)||r&&r(t)},d=u=>{i&&(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),s())};return c.jsx("tr",{ref:l,className:X0.row,tabIndex:0,role:i?"button":"row","data-disabled":e,"data-interactive":i,"data-selected":i?void 0:t,"aria-disabled":e,"aria-label":a,"aria-selected":i?void 0:t,onClick:i?s:void 0,onKeyDown:i?d:void 0,"data-test-id":o,children:n})});Bm.displayName="Table.Row";const Rm=b.forwardRef(({colSpan:e,truncate:t,align:r="left",children:n,"aria-label":a},o)=>{const l=b.useRef(null);return Uo(l,o),C7(l),c.jsx("td",{ref:l,className:X0.rowCell,colSpan:e,"data-align":r,"data-truncate":t,"aria-label":a,children:n})});Rm.displayName="Table.RowCell";const Um=({children:e})=>c.jsx(c.Fragment,{children:e});Um.displayName="Tag.HoverContent";const Wm=({children:e})=>c.jsx(c.Fragment,{children:e});Wm.displayName="Tag.SecondaryContent";var Nr="Tabs",[Km,lC]=H0(Nr,[Ie]),x7=Ie(),[jm,ga]=Km(Nr),_7=p.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:a,defaultValue:o,orientation:l="horizontal",dir:i,activationMode:s="automatic",...d}=e,u=ie(i),[f,h]=j0({prop:n,onChange:a,defaultProp:o??"",caller:Nr});return c.jsx(jm,{scope:r,baseId:h1(),value:f,onValueChange:h,orientation:l,dir:u,activationMode:s,children:c.jsx(o0.div,{dir:u,"data-orientation":l,...d,ref:t})})});_7.displayName=Nr;var M7="TabsList",A7=p.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...a}=e,o=ga(M7,r),l=x7(r);return c.jsx(Go,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:n,children:c.jsx(o0.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})});A7.displayName=M7;var E7="TabsTrigger",S7=p.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:a=!1,...o}=e,l=ga(E7,r),i=x7(r),s=T7(l.baseId,n),d=k7(l.baseId,n),u=n===l.value;return c.jsx(qo,{asChild:!0,...i,focusable:!a,active:u,children:c.jsx(o0.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":d,"data-state":u?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:s,...o,ref:t,onMouseDown:e0(e.onMouseDown,f=>{!a&&f.button===0&&f.ctrlKey===!1?l.onValueChange(n):f.preventDefault()}),onKeyDown:e0(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&l.onValueChange(n)}),onFocus:e0(e.onFocus,()=>{const f=l.activationMode!=="manual";!u&&!a&&f&&l.onValueChange(n)})})})});S7.displayName=E7;var I7="TabsContent",P7=p.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:a,children:o,...l}=e,i=ga(I7,r),s=T7(i.baseId,n),d=k7(i.baseId,n),u=n===i.value,f=p.useRef(u);return p.useEffect(()=>{const h=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(h)},[]),c.jsx(S0,{present:a||u,children:({present:h})=>c.jsx(o0.div,{"data-state":u?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":s,hidden:!h,id:d,tabIndex:0,...l,ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0},children:h&&o})})});P7.displayName=I7;function T7(e,t){return`${e}-trigger-${t}`}function k7(e,t){return`${e}-content-${t}`}var Gm=_7,qm=A7,Ym=S7,Xm=P7;const Qm=(e,t)=>e.filter(r=>{var n;const a=(n=r.ref)==null?void 0:n.current;return a?a.offsetLeft+a.offsetWidth>(t==null?void 0:t.scrollLeft)+t.offsetWidth||a.offsetLeft-t.scrollLeft<0:!1}),zr=(e,t)=>{const r=t.current,n=e==null?void 0:e.querySelector('[data-state="active"]');if(!e||!(n instanceof HTMLButtonElement)||!(r instanceof HTMLSpanElement))return;const a=(e==null?void 0:e.scrollLeft)>(n==null?void 0:n.offsetLeft),o=(n==null?void 0:n.offsetLeft)+(n==null?void 0:n.offsetWidth)>(e==null?void 0:e.offsetWidth);a?(e.offsetWidth>n.offsetWidth+n.offsetLeft?r.style.left=`${n.offsetLeft}px`:r.style.left=`${e.offsetWidth-n.offsetWidth}px`,r.style.width=`${n==null?void 0:n.offsetWidth}px`):o?(r.style.left=`${e.clientWidth-n.offsetWidth}px`,r.style.width=`${n.offsetWidth}px`):(r.style.left=`${n.offsetLeft}px`,r.style.width=`${n.offsetWidth}px`)},Zm=({activeTab:e})=>{const t=b.useRef(null),r=b.useRef(null),[n,a]=b.useState([]),[o,l]=b.useState([]);return b.useEffect(()=>{const i=t.current,s=i==null?void 0:i.querySelector('[data-state="active"]');s instanceof HTMLButtonElement&&i instanceof HTMLDivElement&&(zr(i,r),s.scrollIntoView({behavior:"smooth",block:"nearest",inline:"end"}))},[e,r]),b.useLayoutEffect(()=>{var i;const s=t.current,d=s==null?void 0:s.querySelector('[data-state="active"]');if(s instanceof HTMLDivElement&&d instanceof HTMLButtonElement){zr(s,r);const u=new MutationObserver(()=>{d.scrollIntoView({behavior:"instant",block:"nearest",inline:"end"}),zr(s,r)});s.parentNode&&u.observe(s.parentNode,{childList:!0});const f=new IntersectionObserver(()=>{l(Qm(n,s)),zr(s,r)},{root:s,threshold:1});for(const h of n)(i=h.ref)!=null&&i.current&&f.observe(h.ref.current);return()=>{f.disconnect(),u.disconnect()}}},[n,t,r]),{triggerListRef:t,activeIndicatorRef:r,triggersOutOfView:o,triggers:n,addTrigger:i=>{i.previousElement||a(s=>[...s,i]),a(s=>{const d=s.findIndex(u=>u.element===i.previousElement);return s[d]=i,[...s]})}}},Jm="_triggerListWrapper_chl5v_5",eb="_trigger_chl5v_5",tb="_activeIndicator_chl5v_53",rb="_triggerList_chl5v_5",nb="_root_chl5v_143",ob="_content_chl5v_166",Ne={triggerListWrapper:Jm,trigger:eb,activeIndicator:tb,triggerList:rb,root:nb,content:ob},Or=b.createContext({value:"",disabled:!1});Or.displayName="TabConfigContext";const ma=b.createContext({addTrigger:()=>{}});ma.displayName="TabTriggerContext";const N7=({padding:e="compact",activeTab:t,defaultActiveTab:r,size:n="medium",onActiveTabChange:a,children:o,variant:l="default",...i},s)=>{var d;const[u,f]=Jc({prop:t,defaultProp:r,onChange:a}),h=b.useCallback(_=>{f(_)},[f]),{triggerListRef:g,activeIndicatorRef:C,triggers:m,triggersOutOfView:v,addTrigger:x}=Zm({activeTab:u}),y=b.useMemo(()=>({addTrigger:x}),[x]);return c.jsx(ma.Provider,{value:y,children:c.jsxs(Gm,{ref:s,className:Ne.root,onValueChange:h,value:u??((d=m[0])==null?void 0:d.value),"data-tabs-content-padding":e,"data-tabs-variant":l,...i,children:[c.jsxs("div",{className:Ne.triggerListWrapper,children:[c.jsx(qm,{ref:g,"data-size":n,className:Ne.triggerList,children:m.map(_=>b.createElement(Ym,{..._.props,key:_.value,value:_.value,disabled:_.disabled,className:Ne.trigger,ref:_.ref},_.element))}),c.jsxs(_0.Root,{children:[v.length>0&&c.jsx(_0.Trigger,{"data-test-id":"overflow-items-dropdown-trigger",children:c.jsx(E1,{emphasis:"default",aspect:"square",size:"small",children:c.jsx(t5,{size:16})})}),c.jsx(_0.Content,{align:"end","data-test-id":"overflow-items-dropdown-content",children:v.map(_=>b.createElement(_0.Item,{..._.props,disabled:_.disabled,onSelect:()=>h(_.value),key:_.value},_.element))})]}),c.jsx("span",{"data-test-id":"active-tab-indicator",ref:C,className:Ne.activeIndicator})]}),o]})})};N7.displayName="Tabs.Root";const z7=({children:e,value:t,disabled:r})=>{const n=b.useMemo(()=>({value:t,disabled:r}),[t,r]);return c.jsx(Or.Provider,{value:n,children:e})};z7.displayName="Tabs.Tab";const O7=({children:e,...t},r)=>{const{value:n,disabled:a}=b.useContext(Or),{addTrigger:o}=b.useContext(ma),l=b.useRef(null),i=b.useRef();return b.useEffect(()=>{o({ref:l||r,value:n??"",disabled:a,props:t,element:e,previousElement:i.current}),i.current=e},[e]),null};O7.displayName="Tabs.Trigger";const H7=({children:e,...t},r)=>{const{value:n}=b.useContext(Or);return c.jsx(Xm,{ref:r,...t,className:Ne.content,value:n??"",children:e})};H7.displayName="Tabs.Content",b.forwardRef(N7),b.forwardRef(z7),b.forwardRef(O7),b.forwardRef(H7);const ab="_root_1cjgh_2",Hr={root:ab,"weight-default":"_weight-default_1cjgh_7","weight-strong":"_weight-strong_1cjgh_11","weight-x-strong":"_weight-x-strong_1cjgh_15","size-x-small":"_size-x-small_1cjgh_19","size-small":"_size-small_1cjgh_24","size-medium":"_size-medium_1cjgh_29","size-large":"_size-large_1cjgh_34","color-default":"_color-default_1cjgh_39","color-weak":"_color-weak_1cjgh_43","color-x-weak":"_color-x-weak_1cjgh_47","color-disabled":"_color-disabled_1cjgh_51","color-negative":"_color-negative_1cjgh_55","color-positive":"_color-positive_1cjgh_59","color-warning":"_color-warning_1cjgh_63","color-interactive":"_color-interactive_1cjgh_67","color-box-neutral":"_color-box-neutral_1cjgh_71","color-box-selected":"_color-box-selected_1cjgh_75","color-box-disabled":"_color-box-disabled_1cjgh_79","color-box-positive":"_color-box-positive_1cjgh_83","color-box-negative":"_color-box-negative_1cjgh_87","color-box-warning":"_color-box-warning_1cjgh_91"},lb=b.forwardRef(({children:e,as:t="span",size:r="medium",weight:n="default",color:a="default",boxColor:o,className:l,...i},s)=>c.jsx(t,{"data-test-id":"text",className:a1([Hr.root,Hr[`size-${r}`],Hr[`weight-${n}`],Hr[o?`color-box-${o}`:`color-${a}`],l]),ref:s,...i,children:e}));lb.displayName="FondueText";var ib=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),sb="VisuallyHidden",D7=p.forwardRef((e,t)=>c.jsx(o0.span,{...e,ref:t,style:{...ib,...e.style}}));D7.displayName=sb;var cb=D7,[Dr,iC]=H0("Tooltip",[me]),Lr=me(),L7="TooltipProvider",db=700,ba="tooltip.open",[ub,wa]=Dr(L7),V7=e=>{const{__scopeTooltip:t,delayDuration:r=db,skipDelayDuration:n=300,disableHoverableContent:a=!1,children:o}=e,l=p.useRef(!0),i=p.useRef(!1),s=p.useRef(0);return p.useEffect(()=>{const d=s.current;return()=>window.clearTimeout(d)},[]),c.jsx(ub,{scope:t,isOpenDelayedRef:l,delayDuration:r,onOpen:p.useCallback(()=>{window.clearTimeout(s.current),l.current=!1},[]),onClose:p.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>l.current=!0,n)},[n]),isPointerInTransitRef:i,onPointerInTransitChange:p.useCallback(d=>{i.current=d},[]),disableHoverableContent:a,children:o})};V7.displayName=L7;var ft="Tooltip",[fb,ht]=Dr(ft),$7=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:a,onOpenChange:o,disableHoverableContent:l,delayDuration:i}=e,s=wa(ft,e.__scopeTooltip),d=Lr(t),[u,f]=p.useState(null),h=h1(),g=p.useRef(0),C=l??s.disableHoverableContent,m=i??s.delayDuration,v=p.useRef(!1),[x,y]=j0({prop:n,defaultProp:a??!1,onChange:L=>{L?(s.onOpen(),document.dispatchEvent(new CustomEvent(ba))):s.onClose(),o==null||o(L)},caller:ft}),_=p.useMemo(()=>x?v.current?"delayed-open":"instant-open":"closed",[x]),A=p.useCallback(()=>{window.clearTimeout(g.current),g.current=0,v.current=!1,y(!0)},[y]),E=p.useCallback(()=>{window.clearTimeout(g.current),g.current=0,y(!1)},[y]),I=p.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{v.current=!0,y(!0),g.current=0},m)},[m,y]);return p.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),c.jsx(Hn,{...d,children:c.jsx(fb,{scope:t,contentId:h,open:x,stateAttribute:_,trigger:u,onTriggerChange:f,onTriggerEnter:p.useCallback(()=>{s.isOpenDelayedRef.current?I():A()},[s.isOpenDelayedRef,I,A]),onTriggerLeave:p.useCallback(()=>{C?E():(window.clearTimeout(g.current),g.current=0)},[E,C]),onOpen:A,onClose:E,disableHoverableContent:C,children:r})})};$7.displayName=ft;var ya="TooltipTrigger",F7=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=ht(ya,r),o=wa(ya,r),l=Lr(r),i=p.useRef(null),s=d0(t,i,a.onTriggerChange),d=p.useRef(!1),u=p.useRef(!1),f=p.useCallback(()=>d.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),c.jsx($t,{asChild:!0,...l,children:c.jsx(o0.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...n,ref:s,onPointerMove:e0(e.onPointerMove,h=>{h.pointerType!=="touch"&&!u.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),u.current=!0)}),onPointerLeave:e0(e.onPointerLeave,()=>{a.onTriggerLeave(),u.current=!1}),onPointerDown:e0(e.onPointerDown,()=>{a.open&&a.onClose(),d.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:e0(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:e0(e.onBlur,a.onClose),onClick:e0(e.onClick,a.onClose)})})});F7.displayName=ya;var Ca="TooltipPortal",[hb,pb]=Dr(Ca,{forceMount:void 0}),B7=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:a}=e,o=ht(Ca,t);return c.jsx(hb,{scope:t,forceMount:r,children:c.jsx(S0,{present:r||o.open,children:c.jsx(rt,{asChild:!0,container:a,children:n})})})};B7.displayName=Ca;var ze="TooltipContent",R7=p.forwardRef((e,t)=>{const r=pb(ze,e.__scopeTooltip),{forceMount:n=r.forceMount,side:a="top",...o}=e,l=ht(ze,e.__scopeTooltip);return c.jsx(S0,{present:n||l.open,children:l.disableHoverableContent?c.jsx(U7,{side:a,...o,ref:t}):c.jsx(vb,{side:a,...o,ref:t})})}),vb=p.forwardRef((e,t)=>{const r=ht(ze,e.__scopeTooltip),n=wa(ze,e.__scopeTooltip),a=p.useRef(null),o=d0(t,a),[l,i]=p.useState(null),{trigger:s,onClose:d}=r,u=a.current,{onPointerInTransitChange:f}=n,h=p.useCallback(()=>{i(null),f(!1)},[f]),g=p.useCallback((C,m)=>{const v=C.currentTarget,x={x:C.clientX,y:C.clientY},y=wb(x,v.getBoundingClientRect()),_=yb(x,y),A=Cb(m.getBoundingClientRect()),E=_b([..._,...A]);i(E),f(!0)},[f]);return p.useEffect(()=>()=>h(),[h]),p.useEffect(()=>{if(s&&u){const C=v=>g(v,u),m=v=>g(v,s);return s.addEventListener("pointerleave",C),u.addEventListener("pointerleave",m),()=>{s.removeEventListener("pointerleave",C),u.removeEventListener("pointerleave",m)}}},[s,u,g,h]),p.useEffect(()=>{if(l){const C=m=>{const v=m.target,x={x:m.clientX,y:m.clientY},y=(s==null?void 0:s.contains(v))||(u==null?void 0:u.contains(v)),_=!xb(x,l);y?h():_&&(h(),d())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[s,u,l,d,h]),c.jsx(U7,{...e,ref:o})}),[gb,mb]=Dr(ft,{isInside:!1}),bb=Nu("TooltipContent"),U7=p.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:l,...i}=e,s=ht(ze,r),d=Lr(r),{onClose:u}=s;return p.useEffect(()=>(document.addEventListener(ba,u),()=>document.removeEventListener(ba,u)),[u]),p.useEffect(()=>{if(s.trigger){const f=h=>{const g=h.target;g!=null&&g.contains(s.trigger)&&u()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[s.trigger,u]),c.jsx(Ze,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:f=>f.preventDefault(),onDismiss:u,children:c.jsxs(Dn,{"data-state":s.stateAttribute,...d,...i,ref:t,style:{...i.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(bb,{children:n}),c.jsx(gb,{scope:r,isInside:!0,children:c.jsx(cb,{id:s.contentId,role:"tooltip",children:a||n})})]})})});R7.displayName=ze;var W7="TooltipArrow",K7=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=Lr(r);return mb(W7,r).isInside?null:c.jsx(Ln,{...a,...n,ref:t})});K7.displayName=W7;function wb(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,a,o)){case o:return"left";case a:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function yb(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function Cb(e){const{top:t,right:r,bottom:n,left:a}=e;return[{x:a,y:t},{x:r,y:t},{x:r,y:n},{x:a,y:n}]}function xb(e,t){const{x:r,y:n}=e;let a=!1;for(let o=0,l=t.length-1;o<t.length;l=o++){const i=t[o],s=t[l],d=i.x,u=i.y,f=s.x,h=s.y;u>n!=h>n&&r<(f-d)*(n-u)/(h-u)+d&&(a=!a)}return a}function _b(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),Mb(t)}function Mb(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const a=e[n];for(;t.length>=2;){const o=t[t.length-1],l=t[t.length-2];if((o.x-l.x)*(a.y-l.y)>=(o.y-l.y)*(a.x-l.x))t.pop();else break}t.push(a)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const a=e[n];for(;r.length>=2;){const o=r[r.length-1],l=r[r.length-2];if((o.x-l.x)*(a.y-l.y)>=(o.y-l.y)*(a.x-l.x))r.pop();else break}r.push(a)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Ab=V7,Eb=$7,Sb=F7,Ib=B7,Pb=R7,Tb=K7;const kb="_root_13m98_4",Nb="_arrow_13m98_25",j7={root:kb,arrow:Nb},G7=({children:e,enterDelay:t=700,open:r,onOpenChange:n,...a})=>c.jsx(Ab,{children:c.jsx(Eb,{delayDuration:t,open:r,onOpenChange:n,...a,children:e})});G7.displayName="Tooltip.Root";const q7=({asChild:e=!1,children:t,"data-test-id":r="fondue-tooltip-trigger"},n)=>c.jsx(Sb,{"data-test-id":r,type:e?void 0:"button",asChild:e,ref:n,children:t});q7.displayName="Tooltip.Trigger";const Y7=({children:e,className:t,maxWidth:r,"data-test-id":n="fondue-tooltip-content",padding:a="spacious",...o},l)=>{const i=Ae();return c.jsx(Ib,{children:c.jsx(Ee,{theme:i,children:c.jsxs(Pb,{"data-test-id":n,"data-tooltip-spacing":a,className:a1(j7.root,t),style:{maxWidth:r},collisionPadding:16,sideOffset:8,ref:l,...o,children:[e,c.jsx(Tb,{"aria-hidden":"true",className:j7.arrow})]})})})};Y7.displayName="Tooltip.Content";const Q0={Root:G7,Trigger:b.forwardRef(q7),Content:b.forwardRef(Y7)},c1=e=>e.filter(Boolean).join(" "),zb=({onDrop:e,label:t,icon:r,secondaryLabel:n,isLoading:a,fillParentContainer:o,onAssetChooseClick:l,onUploadClick:i,withMenu:s=!0,onClick:d,validFileType:u,verticalLayout:f})=>{const[h,g]=b.useState(!1),[C,m]=b.useState(),v=b.useRef(null),[x,y]=b.useState(void 0),_=k=>{if(k.preventDefault(),g(!1),!A(k.dataTransfer.files)){y("Invalid"),setTimeout(()=>{y(void 0)},1e3);return}e==null||e(k.dataTransfer.files)},A=k=>{if(!u)return!0;for(let F=0;F<k.length;F++){const $=k[F].name.split(".").pop()??"";if(!F1.FileExtensionSets[u].includes($))return!1}return!0},E=k=>{if(!v.current||a)return;const{clientX:F,clientY:$}=k,U=F===0&&$===0,{left:P,top:W,width:H,height:Y}=v.current.getBoundingClientRect(),K=U?H/2:F-P,B=U?Y/2:$-W;m([K,B])},I=b.useCallback(k=>{k(),m(void 0)},[]),L=b.useMemo(()=>{const k=[];return i&&k.push({onSelect:()=>I(i),title:"Upload asset",icon:c.jsx(e5,{size:"20"})}),l&&k.push({onSelect:()=>I(l),title:"Browse asset",icon:c.jsx(r5,{size:"20"})}),k},[l,i,I]);return c.jsxs("button",{ref:v,"data-test-id":"block-inject-button",className:c1(["tw-font-body tw-relative tw-text-sm tw-leading-4 tw-border tw-flex tw-items-center tw-justify-center tw-cursor-pointer tw-gap-3 tw-w-full first:tw-rounded-tl last:tw-rounded-br",f?"[&:not(:first-child)]:tw-border-t-0 first:tw-rounded-tr last:tw-rounded-bl":"[&:not(:first-child)]:tw-border-l-0 first:tw-rounded-bl last:tw-rounded-tr",o?"tw-h-full":"tw-h-[72px]",h&&!a?"tw-border-dashed":"tw-border-solid",C&&"tw-bg-blank-state-pressed-inverse",h&&"tw-bg-blank-state-weak-inverse",x?"!tw-border-red-50 !tw-cursor-not-allowed":" tw-border-blank-state-line",a||C||h||x?"":"tw-text-text-weak hover:tw-text-blank-state-hover hover:tw-bg-blank-state-hover-inverse hover:tw-border-blank-state-line-hover active:tw-text-blank-state-pressed active:tw-bg-blank-state-pressed-inverse active:tw-border-blank-state-line-hover",(h||C)&&!x?"[&>*]:tw-pointer-events-none tw-border-blank-state-line-hover":"tw-bg-blank-state-shaded-inverse tw-text-blank-state-shaded"]),onDragEnter:e?k=>{var F;if(g(!0),u==="Images")for(const $ of Array.from(k.dataTransfer.items))(F=$==null?void 0:$.type)!=null&&F.startsWith("image/")?y(void 0):y("Invalid")}:void 0,onDragLeave:e?()=>{g(!1),y(void 0)}:void 0,onDrop:e?_:void 0,onClick:k=>{s&&!C&&E(k),d==null||d()},children:[a?c.jsx(Me,{}):x?c.jsxs("div",{className:" tw-flex tw-items-center tw-justify-center tw-text-red-60 tw-font-medium",children:[c.jsx(M.IconExclamationMarkTriangle,{}),x]}):c.jsxs(c.Fragment,{children:[r&&c.jsx("div",{children:r}),(t||n)&&c.jsxs("div",{className:"tw-flex tw-flex-col tw-items-start",children:[t&&c.jsx("div",{className:"tw-font-medium",children:t}),n&&c.jsx("div",{className:"tw-font-normal",children:n})]})]}),C&&c.jsx("div",{className:"tw-absolute tw-left-0 tw-top-full tw-z-20",style:{left:C[0],top:C[1]},children:c.jsxs(r1.Root,{open:!0,onOpenChange:k=>!k&&m(void 0),children:[c.jsx(r1.Trigger,{children:c.jsx("div",{})}),c.jsx(r1.Content,{triggerOffset:"compact",children:c.jsxs(_0.Root,{open:!0,children:[c.jsx(_0.Trigger,{children:c.jsx("div",{})}),c.jsx(_0.Content,{triggerOffset:"compact",children:L.map(k=>c.jsxs(_0.Item,{onSelect:k.onSelect,children:[k.icon,k.title]},k.title))})]})})]})})]})},Z1=e=>{const t=n=>typeof n=="object"&&["red","green","blue"].every(o=>n.hasOwnProperty(o)),r=n=>{const a=typeof n.alpha=="number"?n.alpha:1;return{r:n.red,g:n.green,b:n.blue,a}};return t(e)?r(e):e},Ob=e=>typeof e=="object"&&["red","green","blue"].every(r=>e==null?void 0:e.hasOwnProperty(r)),Hb=(e,t)=>{const r=Ob(e)?Z1(e):e,n=new u1.TinyColor(r);return t?n.getBrightness()<t:n.isDark()||n.getAlpha()>.25&&n.getAlpha()<1},Db=e=>new u1.TinyColor(Z1(e)).toHex8String(),Lb=e=>new u1.TinyColor(Z1(e)).toHexString(),xa=e=>new u1.TinyColor(Z1(e)).toRgbString(),Vb=(e,t)=>new u1.TinyColor(t).setAlpha(e).toRgbString(),$b=e=>{const{r:t,g:r,b:n,a}=new u1.TinyColor(e);return{red:t,green:r,blue:n,alpha:a}},X7=e=>typeof e=="object"&&["red","green","blue"].every(r=>e==null?void 0:e.hasOwnProperty(r)),Fb=(e,t)=>{const r=X7(e)?Z1(e):e,n=X7(t)?Z1(t):t;let a=new u1.TinyColor(r);const o=new u1.TinyColor(n);for(;u1.readability(a,o)<4.5;)a=a.darken(1);return a.toRgbString()},Bb=(e,t,r)=>{const n=[...e],a=r<0?n.length+r:r;if(a>=0&&a<n.length){const o=n.splice(t,1)[0];n.splice(a,0,o)}return n},Rb=e=>({backgroundColor:xa(e)}),Ub={red:241,green:241,blue:241,alpha:1},Q7={red:234,green:235,blue:235,alpha:1},Wb="1px",pt="24px",vt="24px";var d1=(e=>(e.Solid="Solid",e.Dashed="Dashed",e.Dotted="Dotted",e))(d1||{});const Z7={Solid:"solid",Dotted:"dotted",Dashed:"dashed"};var L1=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(L1||{});const J1={None:"0px",Small:"2px",Medium:"4px",Large:"12px"};var ee=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(ee||{});const Oe={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var te=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(te||{});const He={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var re=(e=>(e.Global="Global",e.Custom="Custom",e))(re||{}),ne=(e=>(e.Auto="Auto",e.S="S",e.M="M",e.L="L",e))(ne||{});const J7={Auto:"4px",S:"10px",M:"30px",L:"50px"},Kb=(e=d1.Solid,t="1px",r=Q7)=>({borderStyle:Z7[e],borderWidth:t,borderColor:xa(r)}),jb=(e,t=!1,r)=>({borderRadius:t?r:J1[e]}),_a=b.createContext(!1);_a.displayName="DragPreviewContext";const ed=({children:e,isDragPreview:t})=>c.jsx(_a.Provider,{value:t,children:e}),De=()=>b.useContext(_a),Ma=b.createContext({openFlyoutIds:[],setOpenFlyoutIds:()=>console.error("No MultiFlyoutContext Provider found")});Ma.displayName="MultiFlyoutContext";const td=({children:e,openFlyoutIds:t,setOpenFlyoutIds:r})=>{const n=b.useMemo(()=>({openFlyoutIds:t,setOpenFlyoutIds:r}),[t,r]);return c.jsx(Ma.Provider,{value:n,children:e})},rd=()=>b.useContext(Ma),Vr=e=>{const{openFlyoutIds:t,setOpenFlyoutIds:r}=rd(),n=b.useCallback(a=>{r(o=>{const l=o.filter(i=>i!==e);return a?[...l,e]:l})},[e,r]);return{isOpen:t.includes(e),onOpenChange:n}},Aa=(e,t)=>{const{blockAssets:r,addAssetIdsToKey:n,deleteAssetIdsFromKey:a,updateAssetIdsFromKey:o}=t,l=(r==null?void 0:r[e])||[];return{onAttachmentsAdd:async f=>{await n(e,f.map(h=>h.id))},onAttachmentDelete:async f=>{await a(e,[f.id])},onAttachmentReplace:async(f,h)=>{const g=l.map(C=>C.id===f.id?h.id:C.id);await o(e,g)},onAttachmentsSorted:async f=>{const h=f.map(g=>g.id);await o(e,h)},attachments:l}},nd=(e,t)=>{const{onAttachmentsAdd:r,onAttachmentDelete:n,onAttachmentReplace:a,onAttachmentsSorted:o,attachments:l}=Aa(t,F1.useBlockAssets(e));return{onAttachmentsAdd:r,onAttachmentDelete:n,onAttachmentReplace:a,onAttachmentsSorted:o,attachments:l,appBridge:e}},$r=b.createContext(null);$r.displayName="AttachmentsContext";const od=({appBridge:e,children:t,assetId:r})=>{const n=nd(e,r);return c.jsx($r.Provider,{value:n,children:t})},Gb=({blockAssetBundle:e,appBridge:t,children:r,assetId:n})=>{const a=Aa(n,e);return c.jsx($r.Provider,{value:{...a,appBridge:t},children:r})},ad=()=>{const e=b.useContext($r);if(!e)throw new Error("No AttachmentsContext Provided. Component must be wrapped in an 'AttachmentsProvider' or the 'withAttachmentsProvider' HOC");return e},qb=(e,t)=>{const r=n=>c.jsx(od,{appBridge:n.appBridge,assetId:t,children:c.jsx(e,{...n})});return r.displayName="withAttachmentsProvider",r},Yb=[M0.KeyboardCode.Down,M0.KeyboardCode.Right,M0.KeyboardCode.Up,M0.KeyboardCode.Left],ld=(e,t)=>(r,{currentCoordinates:n,context:{activeNode:a}})=>{if(r.preventDefault(),Yb.includes(r.code)){const o=(a==null?void 0:a.offsetWidth)??0,l=(a==null?void 0:a.offsetHeight)??0;switch(r.code){case M0.KeyboardCode.Right:return{...n,x:n.x+o+e};case M0.KeyboardCode.Left:return{...n,x:n.x-o-e};case M0.KeyboardCode.Down:return{...n,y:n.y+l+t};case M0.KeyboardCode.Up:return{...n,y:n.y-l-t}}}},Xb={start:["Space","Enter"],cancel:[],end:["Space","Enter","Escape"]},Qb=(e=0,t=0)=>{const r=b.useMemo(()=>({coordinateGetter:ld(e,t),keyboardCodes:Xb}),[e,t]);return M0.useSensors(M0.useSensor(M0.PointerSensor),M0.useSensor(M0.KeyboardSensor,r))},Zb=e=>e==="IMAGE"?c.jsx(M.IconImage24,{}):e==="VIDEO"?c.jsx(M.IconPlayFrame24,{}):e==="AUDIO"?c.jsx(M.IconMusicNote24,{}):c.jsx(M.IconDocument24,{}),id=b.forwardRef(({item:e,isEditing:t,draggableProps:r,transformStyle:n,isDragging:a,isOverlay:o,isLoading:l,onDelete:i,onReplaceWithBrowse:s,onReplaceWithUpload:d,onDownload:u},f)=>{const[h,g]=b.useState(),[C,{selectedFiles:m}]=F1.useFileInput({multiple:!0,accept:"image/*"}),[v,{results:x,doneAll:y}]=F1.useAssetUpload(),{focusProps:_,isFocusVisible:A}=Ya.useFocusRing();b.useEffect(()=>{m&&v(m[0])},[m]),b.useEffect(()=>{y&&d(x[0])},[y,x]);const E=l||m&&!y;return c.jsxs("button",{"aria-label":"Download attachment","data-test-id":"attachments-item",onClick:()=>!h&&(u==null?void 0:u()),ref:f,style:{...n,opacity:a&&!o?.3:1,fontFamily:"var(-f-theme-settings-body-font-family)"},className:c1(["tw-cursor-pointer tw-text-left tw-w-full tw-relative tw-flex tw-gap-3 tw-px-5 tw-py-3 tw-items-center tw-group hover:tw-bg-box-neutral-hover",a?"tw-bg-box-neutral-hover":""]),children:[c.jsx("div",{className:"tw-text-text-weak group-hover:tw-text-box-neutral-inverse-hover",children:E?c.jsx(Me,{size:"small"}):Zb(e.objectType)}),c.jsxs("div",{className:"tw-text-s tw-flex-1 tw-min-w-0",children:[c.jsx("div",{className:"tw-whitespace-nowrap tw-overflow-hidden tw-text-ellipsis tw-font-bold tw-text-text-weak group-hover:tw-text-box-neutral-inverse-hover",children:e.title}),c.jsx("div",{className:"tw-text-text-weak",children:`${e.fileSizeHumanReadable} - ${e.extension}`})]}),t&&c.jsxs("div",{"data-test-id":"attachments-actionbar",className:c1(["tw-flex tw-gap-0.5 group-focus:tw-opacity-100 focus-visible:tw-opacity-100 focus-within:tw-opacity-100 group-hover:tw-opacity-100",o||(h==null?void 0:h.id)===e.id?"tw-opacity-100":"tw-opacity-0"]),children:[c.jsx("button",{..._,...r,"aria-label":"Drag attachment",className:c1([" tw-border-button-border tw-bg-button-background active:tw-bg-button-background-pressed tw-group tw-border tw-box-box tw-relative tw-flex tw-items-center tw-justify-center tw-outline-none tw-font-medium tw-rounded tw-h-9 tw-w-9 ",a||o?"tw-cursor-grabbing tw-bg-button-background-pressed hover:tw-bg-button-background-pressed":"tw-cursor-grab hover:tw-bg-button-background-hover",A&&M.FOCUS_STYLE,A&&"tw-z-[2]"]),children:c.jsx(M.IconGrabHandle20,{})}),c.jsx("div",{"data-test-id":"attachments-actionbar-flyout",children:c.jsxs(_0.Root,{open:(h==null?void 0:h.id)===e.id,onOpenChange:I=>g(I?e:void 0),children:[c.jsx(_0.Trigger,{children:c.jsx(E1,{aspect:"square",ref:f,onPress:I=>{I==null||I.stopPropagation(),I==null||I.preventDefault()},emphasis:"default",children:c.jsx(Su,{size:"20"})})}),c.jsxs(_0.Content,{side:"right",children:[c.jsxs(_0.Group,{children:[c.jsxs(_0.Item,{"data-test-id":"menu-item",onSelect:I=>{I==null||I.stopPropagation(),C(),g(void 0)},children:[c.jsx(e5,{size:"20"}),"Replace with upload"]}),c.jsxs(_0.Item,{onSelect:I=>{I==null||I.stopPropagation(),s(),g(void 0)},children:[c.jsx(r5,{size:"20"}),"Replace with asset"]})]}),c.jsx(_0.Group,{children:c.jsxs(_0.Item,{emphasis:"danger",onSelect:I=>{I==null||I.stopPropagation(),i(),g(void 0)},children:[c.jsx(Iu,{size:"20"}),"Delete"]})})]})]})})]})]})});id.displayName="AttachmentItem";const Jb=e=>{const{attributes:t,listeners:r,setNodeRef:n,transform:a,transition:o,isDragging:l}=wt.useSortable({id:e.item.id}),i={transform:a?`translate(${a.x}px, ${a.y}px)`:"",transition:o,zIndex:l?2:1},s={...t,...r};return c.jsx(id,{ref:n,isDragging:l,transformStyle:i,draggableProps:s,...e})},sd=b.forwardRef(({children:e,isFlyoutOpen:t,...r},n)=>c.jsxs("button",{ref:n,className:c1(["tw-flex tw-text-xs tw-font-body tw-items-center tw-gap-1 tw-rounded-full tw-outline tw-outline-1 tw-outline-offset-1 tw-p-1.5 tw-outline-line",t?"tw-bg-box-neutral-pressed tw-text-box-neutral-inverse-pressed":"tw-bg-base hover:tw-bg-box-neutral-hover active:tw-bg-box-neutral-pressed tw-text-box-neutral-inverse hover:tw-text-box-neutral-inverse-hover active:tw-text-box-neutral-inverse-pressed"]),"data-test-id":"attachments-button-trigger",...r,children:[c.jsx(M.IconPaperclip16,{}),e,c.jsx(M.IconCaretDown12,{})]}));sd.displayName="AttachmentsButtonTrigger";const cd=({items:e=[],onDelete:t,onReplaceWithBrowse:r,onReplaceWithUpload:n,onBrowse:a,onUpload:o,onSorted:l,appBridge:i,triggerComponent:s=sd,isOpen:d,onOpenChange:u})=>{const[f,h]=b.useState(e),[g,C]=b.useState(!1),m=M0.useSensors(M0.useSensor(M0.PointerSensor),M0.useSensor(M0.KeyboardSensor)),[v,x]=b.useState(void 0),[y,_]=b.useState(!1),[A,E]=b.useState([]),[I,L]=b.useState(null),k=F1.useEditorState(i),{openAssetChooser:F,closeAssetChooser:$}=F1.useAssetChooser(i),U=d!==void 0,P=U?d:g,W=f==null?void 0:f.find(z=>z.id===v),[H,{results:Y,doneAll:K}]=F1.useAssetUpload({onUploadProgress:()=>!y&&_(!0)}),B=z=>{const j=U?u:C;j==null||j(z)};b.useEffect(()=>{h(e)},[e]),b.useEffect(()=>{I&&(_(!0),H(I))},[I]),b.useEffect(()=>{(async()=>{K&&(await o(Y),_(!1))})()},[K,Y]);const V=()=>{B(!1),F(z=>{a(z),$(),B(!0)},{multiSelection:!0,selectedValueIds:f.map(z=>z.id)})},N=z=>{B(!1),F(async j=>{B(!0),$(),E([...A,z.id]),await r(z,j[0]),E(A.filter(X=>X!==z.id))},{multiSelection:!1,selectedValueIds:f.map(j=>j.id)})},S=async(z,j)=>{E([...A,z.id]),await n(z,j),E(A.filter(X=>X!==z.id))},O=z=>{const{active:j}=z;x(j.id)},D=z=>{const{active:j,over:X}=z;if(X&&j.id!==X.id&&f){const Z=f.findIndex(n0=>n0.id===j.id),t0=f.findIndex(n0=>n0.id===X.id),r0=wt.arrayMove(f,Z,t0);h(r0),l(r0)}x(void 0)},R={onOpenAutoFocus:z=>{z.preventDefault()},onEscapeKeyDown:z=>{z.stopPropagation(),B(!1)}};return k||((f==null?void 0:f.length)??0)>0?c.jsx("div",{"data-test-id":"attachments-flyout-button",children:c.jsx(r1.Root,{open:P,onOpenChange:z=>B(W?!0:z),children:c.jsxs(Q0.Root,{enterDelay:500,children:[c.jsx(Q0.Trigger,{asChild:!0,children:c.jsx(r1.Trigger,{asChild:!0,"data-test-id":"attachments-button-trigger",children:c.jsx(s,{isFlyoutOpen:P,children:c.jsx("div",{children:e.length>0?e.length:"Add"})})})}),c.jsx(r1.Content,{side:"bottom",align:"end",...R,children:c.jsxs("div",{className:"tw-w-[300px]","data-test-id":"attachments-flyout-content",children:[f.length>0&&c.jsx(M0.DndContext,{sensors:m,collisionDetection:M0.closestCenter,onDragStart:O,onDragEnd:D,modifiers:[gu.restrictToVerticalAxis],children:c.jsx(wt.SortableContext,{items:f,strategy:wt.rectSortingStrategy,children:c.jsx("div",{className:"tw-border-b tw-border-b-line tw-relative",children:f.map(z=>c.jsx(Jb,{isEditing:k,isLoading:A.includes(z.id),item:z,onDelete:()=>t(z),onReplaceWithBrowse:()=>N(z),onReplaceWithUpload:j=>S(z,j),onDownload:()=>i.dispatch({name:"downloadAsset",payload:z})},z.id))})})}),k&&c.jsxs("div",{className:"tw-px-5 tw-py-3",children:[c.jsx("div",{className:"tw-font-body tw-font-medium tw-text-text tw-text-s tw-my-4",children:"Add attachments"}),c.jsx(M.AssetInput,{isLoading:y,size:M.AssetInputSize.Small,onUploadClick:z=>L(z),onLibraryClick:V})]})]})}),c.jsx(Q0.Content,{side:"top",children:"Attachments"})]})})}):null},ew=(e,t)=>{const r=[M.FOCUS_VISIBLE_STYLE,"tw-relative tw-inline-flex tw-items-center tw-justify-center","tw-h-6 tw-p-1","tw-rounded","tw-text-xs tw-font-medium","tw-gap-0.5","focus-visible:tw-z-10"];return t?r.push("tw-bg-box-neutral-pressed","tw-text-box-neutral-inverse-pressed",e==="grab"?"tw-cursor-grabbing":"tw-cursor-pointer"):r.push("hover:tw-bg-box-neutral-hover active:tw-bg-box-neutral-pressed","tw-text-text-weak hover:tw-text-box-neutral-inverse-hover active:tw-text-box-neutral-inverse-pressed",e==="grab"?"!tw-cursor-grab active:tw-cursor-grabbing":"tw-cursor-pointer"),c1(r)},Le=b.forwardRef(({onClick:e,children:t,forceActiveStyle:r,cursor:n="pointer","data-test-id":a="base-toolbar-button",...o},l)=>c.jsx("button",{onClick:e,className:ew(n,r),"data-test-id":a,...o,ref:l,children:t}));Le.displayName="BaseToolbarButton";const dd=b.forwardRef(({children:e,isFlyoutOpen:t,...r},n)=>c.jsxs(Le,{forceActiveStyle:t,"data-test-id":"attachments-toolbar-button-trigger",ref:n,...r,children:[c.jsx(M.IconPaperclip16,{}),e,c.jsx(M.IconCaretDown12,{})]}));dd.displayName="AttachmentsToolbarButtonTrigger";const ud="attachments",fd=({flyoutId:e=ud})=>{const t=M.useMemoizedId(e),{appBridge:r,attachments:n,onAttachmentsAdd:a,onAttachmentDelete:o,onAttachmentReplace:l,onAttachmentsSorted:i}=ad(),{isOpen:s,onOpenChange:d}=Vr(t),u=De();return c.jsx(cd,{onUpload:a,onDelete:o,onReplaceWithBrowse:l,onReplaceWithUpload:l,onSorted:i,onBrowse:a,items:n,appBridge:r,triggerComponent:dd,isOpen:s&&!u,onOpenChange:d})},hd="Drag or press ↵ to move",pd="Move with ↑↓←→ and confirm with ↵",Ea=({content:e,children:t,open:r,disabled:n})=>n?t:c.jsxs(Q0.Root,{enterDelay:300,open:r,children:[c.jsx(Q0.Trigger,{asChild:!0,children:t}),c.jsx(Q0.Content,{side:"top",children:c.jsx("div",{children:e})})]}),vd=({tooltip:e,icon:t,setActivatorNodeRef:r,draggableProps:n})=>{const a=De();return c.jsx(Ea,{...a&&{open:a},content:c.jsx("div",{children:a?pd:e??hd}),children:c.jsx(Le,{ref:r,"data-test-id":"block-item-wrapper-toolbar-btn",forceActiveStyle:a,cursor:"grab",...n,children:t})})},gd=({content:e,icon:t,tooltip:r,flyoutId:n,flyoutFooter:a,flyoutHeader:o})=>{const l=M.useMemoizedId(n),{isOpen:i,onOpenChange:s}=Vr(l),d=De();return c.jsx(Ea,{disabled:d||i,content:r,children:c.jsx("div",{className:"tw-flex tw-flex-shrink-0 tw-flex-1 tw-h-6 tw-relative",children:c.jsxs(r1.Root,{open:i&&!d,onOpenChange:s,children:[c.jsx(r1.Trigger,{asChild:!0,children:c.jsx(Le,{"data-test-id":"block-item-wrapper-toolbar-flyout",forceActiveStyle:i&&!d,children:t})}),c.jsxs(r1.Content,{side:"bottom",align:"end",padding:"comfortable",children:[o?c.jsx(r1.Header,{children:o}):null,e,a?c.jsx(r1.Footer,{children:a}):null]})]})})})},Sa="menu",md=({items:e,flyoutId:t=Sa,tooltip:r="Options"})=>{const n=M.useMemoizedId(t),{isOpen:a,onOpenChange:o}=Vr(n),l=De();return c.jsx(_0.Root,{open:a&&!l,onOpenChange:o,children:c.jsxs(Q0.Root,{children:[c.jsx(Q0.Trigger,{asChild:!0,children:c.jsx(_0.Trigger,{asChild:!0,children:c.jsx(Le,{"data-test-id":"block-item-wrapper-toolbar-flyout",children:c.jsx(t5,{size:"16"})})})}),c.jsx(_0.Content,{children:e.map((i,s)=>c.jsx(_0.Group,{children:i.map((d,u)=>c.jsxs(_0.Item,{"data-test-id":"menu-item",onSelect:()=>{o(!1),d.onClick()},emphasis:d.style||"default",children:[c.jsx("div",{className:"tw-mr-2",children:d.icon}),c.jsx("span",{children:d.title})]},`${s}-${u}`))},s))}),c.jsx(Q0.Content,{children:r})]})})},tw=({tooltip:e,icon:t,onClick:r})=>{const n=De();return c.jsx(Ea,{disabled:n,content:e??"",children:c.jsx(Le,{"data-test-id":"block-item-wrapper-toolbar-btn",onClick:r,children:t})})},bd=({children:e})=>c.jsx("div",{"data-test-id":"block-item-wrapper-toolbar-segment",className:"tw-pointer-events-auto tw-flex tw-flex-shrink-0 tw-gap-px tw-px-px tw-h-[26px] tw-items-center tw-self-start tw-leading-none",children:e}),wd=({items:e,attachments:t})=>c.jsxs("div",{"data-test-id":"block-item-wrapper-toolbar",className:"tw-rounded-md tw-bg-base tw-border tw-border-line-strong tw-divide-x tw-divide-line-strong tw-shadow-lg tw-flex tw-flex-none tw-items-center tw-isolate",children:[t.isEnabled&&c.jsx(bd,{children:c.jsx(fd,{})}),e.length>0&&c.jsx(bd,{children:e.map(r=>{switch(r.type){case"dragHandle":return c.jsx(vd,{...r},r.tooltip+r.type);case"menu":return c.jsx(md,{...r},r.tooltip+r.type);case"flyout":return c.jsx(gd,{...r},r.tooltip+r.type);default:return c.jsx(tw,{...r},r.tooltip+r.type)}})})]}),yd=b.memo(({children:e,toolbarItems:t,shouldHideWrapper:r,shouldHideComponent:n=!1,isDragging:a=!1,shouldFillContainer:o,outlineOffset:l=0,shouldBeShown:i=!1,showAttachments:s=!1})=>{const[d,u]=b.useState(i?[Sa]:[]),f=b.useRef(null);if(r)return c.jsx(c.Fragment,{children:e});const h=t==null?void 0:t.filter(C=>C!==void 0),g=d.length>0||i;return c.jsx(ed,{isDragPreview:a,children:c.jsx(td,{openFlyoutIds:d,setOpenFlyoutIds:u,children:c.jsxs("div",{ref:f,"data-test-id":"block-item-wrapper",style:{outlineOffset:l},className:c1(["tw-relative tw-group tw-outline-1 tw-outline-box-selected-inverse",o&&"tw-flex-1 tw-h-full tw-w-full","hover:tw-outline focus-within:tw-outline",g&&"tw-outline",n&&"tw-opacity-0"]),children:[c.jsx("div",{style:{right:-1-l,bottom:`calc(100% - ${2+l}px)`},className:c1(["tw-pointer-events-none tw-absolute tw-bottom-[calc(100%-4px)] tw-right-[-3px] tw-w-full tw-opacity-0 tw-z-[60]","group-hover:tw-opacity-100 group-focus:tw-opacity-100 focus-within:tw-opacity-100","tw-flex tw-justify-end",g&&"tw-opacity-100"]),children:c.jsx(wd,{attachments:{isEnabled:s},items:h})}),e]})})})});yd.displayName="BlockItemWrapper";const rw=({onDownload:e,ariaLabel:t})=>{const{isFocused:r,focusProps:n}=Ya.useFocusRing();return c.jsxs(Q0.Root,{enterDelay:500,children:[c.jsx(Q0.Trigger,{asChild:!0,children:c.jsx("button",{tabIndex:0,"aria-label":t??"Download",...n,className:c1(["tw-outline-none tw-rounded",r&&M.FOCUS_STYLE]),onClick:e,onPointerDown:a=>a.preventDefault(),"data-test-id":"download-button",children:c.jsx("span",{className:"tw-flex tw-text-xs tw-font-body tw-items-center tw-gap-1 tw-rounded-full tw-bg-box-neutral-strong-inverse hover:tw-bg-box-neutral-strong-inverse-hover active:tw-bg-box-neutral-strong-inverse-pressed tw-text-box-neutral-strong tw-outline tw-outline-1 tw-outline-offset-1 tw-p-1.5 tw-outline-line",children:c.jsx(M.IconArrowCircleDown16,{})})})}),c.jsx(Q0.Content,{side:"top",children:"Download"})]})},nw=({ref:e,disabled:t,onChange:r})=>{b.useEffect(()=>{if(t||!e.current)return;let n=!1;const a=new IntersectionObserver(([o])=>{o.isIntersecting!==n&&(n=o.isIntersecting,r(o.isIntersecting))});return a.observe(e.current),()=>{a.disconnect()}},[e,t,r])},ow=({value:e="",gap:t,customClass:r,show:n=!0,plugins:a})=>{const[o,l]=b.useState(null),i=b.useCallback(async()=>{const s=await M.serializeRawToHtmlAsync(e,a,void 0,t,r);l(s)},[e,t,a,r]);return b.useEffect(()=>{i().catch(console.error)},[i]),!n||o==="<br />"||o===null?null:c.jsx("div",{className:"tw-w-full tw-whitespace-pre-wrap","data-test-id":"rte-content-html",dangerouslySetInnerHTML:{__html:o}})},Ia=M.createStore("floatingButton")({openEditorId:null,mouseDown:!1,updated:!1,url:"",text:"",buttonStyle:"primary",newTab:!1,mode:"",isEditing:!1}).extendActions(e=>({reset:()=>{e.url(""),e.text(""),e.buttonStyle("primary"),e.newTab(!1),e.mode(""),e.isEditing(!1)}})).extendActions(e=>({show:(t,r)=>{e.mode(t),e.isEditing(!1),e.openEditorId(r)},hide:()=>{e.reset(),e.openEditorId(null)}})).extendSelectors(e=>({isOpen:t=>e.openEditorId===t})),A0=Ia.set,T0=Ia.get,gt=()=>Ia.use,Cd=e=>{if(!e)return!1;const t=r=>r.some(n=>n.text?n.text!=="":n.children?t(n.children):!1);try{const r=JSON.parse(e);return t(r)}catch{return!1}},aw=(e="p",t="",r)=>Cd(t)?t:JSON.stringify([{type:e,children:[{text:t,textStyle:e}],align:r}]),lw=(e,t,r)=>e===re.Custom?t:r,iw=e=>e.map(xd),xd=e=>({id:e.id,title:e.name,colors:e.colors.map(cw)}),sw=e=>"revision"in e,cw=e=>{if(sw(e)){const{title:t,revision:r}=e;return{alpha:r.rgba.alpha?r.rgba.alpha/255:1,red:r.rgba.red??0,green:r.rgba.green??0,blue:r.rgba.blue??0,name:t??""}}return{alpha:e.alpha?e.alpha/255:1,red:e.red??0,green:e.green??0,blue:e.blue??0,name:e.name??""}},Pa=(e,t)=>{const r=M.getAboveNode(e,{match:{type:M.ELEMENT_LINK}});return Array.isArray(r)?t(r[0]):""},dw=e=>Pa(e,t=>{var r,n;return((n=(r=t.chosenLink)==null?void 0:r.searchResult)==null?void 0:n.link)||""}),uw=e=>Pa(e,t=>t.url||""),Ta=e=>{var t,r;return e.url||((r=(t=e.chosenLink)==null?void 0:t.searchResult)==null?void 0:r.link)||""},fw=e=>Pa(e,Ta),ka=/^\/(document|r)\/\S+$/i,Fr=e=>{if(ka.test(e))return e;try{return new URL(e),e}catch{return`https://${e}`}},Br=e=>{if(ka.test(e))return!0;try{const t=new URL(e);return["http:","https:","mailto:","tel:"].includes(t.protocol)&&t.pathname!==""}catch{return!1}},Ve=e=>Br(Fr(e))||e==="",_d=(e,{type:t})=>{const{apply:r,normalizeNode:n}=e;return e.apply=a=>{if(a.type!=="set_selection"){r(a);return}const o=a.newProperties;if(!(o!=null&&o.focus)||!o.anchor||!M.isCollapsed(o)){r(a);return}const l=M.getAboveNode(e,{at:o,match:{type:M.getPluginType(e,m0)}});if(l){const[,i]=l;let s;M.isStartPoint(e,o.focus,i)&&(s=M.getPreviousNodeEndPoint(e,i)),M.isEndPoint(e,o.focus,i)&&(s=M.getNextNodeStartPoint(e,i)),s&&(a.newProperties={anchor:s,focus:s})}r(a)},e.normalizeNode=([a,o])=>{if(a.type===M.getPluginType(e,m0)){const l=e.selection;if(l&&M.isCollapsed(l)&&M.isEndPoint(e,l.focus,o)){const i=M.getNextNodeStartPoint(e,o);if(i)M.select(e,i);else{const s=M.Path.next(o);M.insertNodes(e,{text:""},{at:s}),M.select(e,s)}}}n([a,o])},M.withRemoveEmptyNodes(e,M.mockPlugin({options:{types:t}}))},Md=(e,t,r)=>{M.insertNodes(e,[Id(e,t)],r)},Na=e=>{if(!e.selection)return;const{isUrl:t,forceSubmit:r}=M.getPluginOptions(e,m0),n=T0.url();if(!((t==null?void 0:t(n))||r))return;const o=T0.text(),l=T0.buttonStyle(),i=T0.newTab()?void 0:"_self";return A0.reset(),Ad(e,{url:n,text:o,buttonStyle:l,target:i,isUrl:s=>r||!t?!0:t(s)}),setTimeout(()=>{M.focusEditor(e,e.selection??void 0)},0),!0},$e=(e,t)=>M.withoutNormalizing(e,()=>{var r,n,a,o,l,i;if(t!=null&&t.split){if(M.getAboveNode(e,{at:(r=e.selection)==null?void 0:r.anchor,match:{type:M.getPluginType(e,m0)}}))return M.splitNodes(e,{at:(n=e.selection)==null?void 0:n.anchor,match:u=>M.isElement(u)&&u.type===M.getPluginType(e,m0)}),$e(e,{at:(a=e.selection)==null?void 0:a.anchor}),!0;if(M.getAboveNode(e,{at:(o=e.selection)==null?void 0:o.focus,match:{type:M.getPluginType(e,m0)}}))return M.splitNodes(e,{at:(l=e.selection)==null?void 0:l.focus,match:u=>M.isElement(u)&&u.type===M.getPluginType(e,m0)}),$e(e,{at:(i=e.selection)==null?void 0:i.focus}),!0}M.unwrapNodes(e,{match:{type:M.getPluginType(e,m0)},...t})}),Ad=(e,{url:t,text:r,buttonStyle:n,target:a,insertTextInButton:o,insertNodesOptions:l,isUrl:i=M.getPluginOptions(e,m0).isUrl})=>{var x;const s=e.selection;if(!s)return;const d=M.getAboveNode(e,{at:s,match:{type:M.getPluginType(e,m0)}});if(o&&d)return e.insertText(t),!0;if(!(i!=null&&i(t)))return;if(M.isDefined(r)&&r.length===0&&(r=t),d)return vw(t,e,d,a,n,r),!0;const u=M.findNode(e,{at:s,match:{type:M.getPluginType(e,m0)}}),[f,h]=u??[],g=hw(e,h,r);if(M.isExpanded(s))return pw(d,e,t,n,a,r),!0;g&&M.removeNodes(e,{at:h});const C=M.getNodeProps(f??{}),m=(x=e.selection)==null?void 0:x.focus.path;if(!m)return;const v=M.getNodeLeaf(e,m);return r!=null&&r.length||(r=t),Md(e,{...C,url:t,target:a,children:[{...v,text:r}]},l),!0};function hw(e,t,r){return t&&(r==null?void 0:r.length)&&r!==M.getEditorString(e,t)}function pw(e,t,r,n,a,o){e?$e(t,{at:e[1]}):$e(t,{split:!0}),Ed(t,{url:r,buttonStyle:n,target:a}),za(t,{text:o})}function vw(e,t,r,n,a,o){var l,i,s;(e!==((l=r[0])==null?void 0:l.url)||n!==((i=r[0])==null?void 0:i.target)||a!==((s=r[0])==null?void 0:s.buttonStyle))&&M.setNodes(t,{url:e,target:n,buttonStyle:a},{at:r[1]}),za(t,{text:o})}const za=(e,{text:t})=>{const r=M.getAboveNode(e,{match:{type:M.getPluginType(e,m0)}});if(r){const[n,a]=r;if(t!=null&&t.length&&t!==M.getEditorString(e,a)){const o=n.children[0];M.replaceNodeChildren(e,{at:a,nodes:{...o,text:t},insertOptions:{select:!0}})}}},Ed=(e,{url:t,buttonStyle:r,target:n,...a})=>{M.wrapNodes(e,{type:M.getPluginType(e,m0),url:t,buttonStyle:r,target:n,children:[]},{split:!0,...a})},gw=(e,t)=>{const r=M.getAboveNode(e,{match:{type:m0}});return Array.isArray(r)?t(r[0]):""},Sd=e=>gw(e,t=>t.url??""),Id=(e,{url:t,text:r="",buttonStyle:n="primary",target:a,children:o})=>({type:M.getPluginType(e,m0),url:t,target:a,buttonStyle:n,children:o??[{text:r}]}),Pd=(e,{focused:t}={})=>{if(T0.mode()==="edit"){Rr(e);return}Oa(e,{focused:t})},Rr=e=>{const t=M.findNode(e,{match:{type:M.getPluginType(e,m0)}});if(!t)return;const[r,n]=t;let a=M.getEditorString(e,n);A0.url(r.url),A0.newTab(r.target===void 0),a===r.url&&(a=""),A0.text(a),A0.isEditing(!0)},Oa=(e,{focused:t}={})=>{T0.mode()||!t||M.isRangeAcrossBlocks(e,{at:e.selection})||M.someNode(e,{match:{type:M.getPluginType(e,m0)}})||(A0.text(M.getEditorString(e,e.selection)),A0.show("insert",e.id))},Ha={marginTop:"10px",marginBottom:"10px",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",verticalAlign:"middle",boxSizing:"border-box",overflowWrap:"normal"},Ur={buttonPrimary:{...Ha,fontFamily:"var(--f-theme-settings-button-primary-font-family)",fontSize:"var(--f-theme-settings-button-primary-font-size)",fontWeight:"var(--f-theme-settings-button-primary-font-weight)",lineHeight:"var(--f-theme-settings-button-primary-line-height)",paddingTop:"var(--f-theme-settings-button-primary-padding-top)",paddingRight:"var(--f-theme-settings-button-primary-padding-right)",paddingBottom:"var(--f-theme-settings-button-primary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-primary-padding-left)",fontStyle:"var(--f-theme-settings-button-primary-font-style)",textTransform:"var(--f-theme-settings-button-primary-text-transform)",backgroundColor:"var(--f-theme-settings-button-primary-background-color)",borderColor:"var(--f-theme-settings-button-primary-border-color)",borderRadius:"var(--f-theme-settings-button-primary-border-radius)",borderWidth:"var(--f-theme-settings-button-primary-border-width)",color:"var(--f-theme-settings-button-primary-color)",hover:{backgroundColor:"var(--f-theme-settings-button-primary-background-color-hover)",borderColor:"var(--f-theme-settings-button-primary-border-color-hover)",color:"var(--f-theme-settings-button-primary-color-hover)"}},buttonSecondary:{...Ha,fontFamily:"var(--f-theme-settings-button-secondary-font-family)",fontSize:"var(--f-theme-settings-button-secondary-font-size)",fontWeight:"var(--f-theme-settings-button-secondary-font-weight)",lineHeight:"var(--f-theme-settings-button-secondary-line-height)",paddingTop:"var(--f-theme-settings-button-secondary-padding-top)",paddingRight:"var(--f-theme-settings-button-secondary-padding-right)",paddingBottom:"var(--f-theme-settings-button-secondary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-secondary-padding-left)",fontStyle:"var(--f-theme-settings-button-secondary-font-style)",textTransform:"var(--f-theme-settings-button-secondary-text-transform)",backgroundColor:"var(--f-theme-settings-button-secondary-background-color)",borderColor:"var(--f-theme-settings-button-secondary-border-color)",borderRadius:"var(--f-theme-settings-button-secondary-border-radius)",borderWidth:"var(--f-theme-settings-button-secondary-border-width)",color:"var(--f-theme-settings-button-secondary-color)",hover:{backgroundColor:"var(--f-theme-settings-button-secondary-background-color-hover)",borderColor:"var(--f-theme-settings-button-secondary-border-color-hover)",color:"var(--f-theme-settings-button-secondary-color-hover)"}},buttonTertiary:{...Ha,fontFamily:"var(--f-theme-settings-button-tertiary-font-family)",fontSize:"var(--f-theme-settings-button-tertiary-font-size)",fontWeight:"var(--f-theme-settings-button-tertiary-font-weight)",lineHeight:"var(--f-theme-settings-button-tertiary-line-height)",paddingTop:"var(--f-theme-settings-button-tertiary-padding-top)",paddingRight:"var(--f-theme-settings-button-tertiary-padding-right)",paddingBottom:"var(--f-theme-settings-button-tertiary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-tertiary-padding-left)",fontStyle:"var(--f-theme-settings-button-tertiary-font-style)",textTransform:"var(--f-theme-settings-button-tertiary-text-transform)",backgroundColor:"var(--f-theme-settings-button-tertiary-background-color)",borderColor:"var(--f-theme-settings-button-tertiary-border-color)",borderRadius:"var(--f-theme-settings-button-tertiary-border-radius)",borderWidth:"var(--f-theme-settings-button-tertiary-border-width)",color:"var(--f-theme-settings-button-tertiary-color)",hover:{backgroundColor:"var(--f-theme-settings-button-tertiary-background-color-hover)",borderColor:"var(--f-theme-settings-button-tertiary-border-color-hover)",color:"var(--f-theme-settings-button-tertiary-color-hover)"}}},mw=e=>{var l,i;const{attributes:t,children:r}=e,n=e.element.url||((i=(l=e.element.chosenLink)==null?void 0:l.searchResult)==null?void 0:i.link)||"",a=e.element.target||"_self",o=String(e.element.buttonStyle)||"primary";return c.jsx(bw,{attributes:t,href:n,target:a,styles:Ur[`button${o.charAt(0).toUpperCase()+o.slice(1)}`],children:r})},bw=({attributes:e,styles:t={hover:{}},children:r,href:n="#",target:a})=>{const[o,l]=b.useState(!1);return c.jsx("a",{...e,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),href:n,target:a,style:o?{...t,...t.hover}:t,children:r})};class ww extends M.MarkupElement{constructor(t=m0,r=mw){super(t,r)}}const Td=b.forwardRef((e,t)=>{const r=M.useEditorRef();return c.jsx(M.ToolbarButton,{ref:t,...e,onMouseDown:n=>{n.preventDefault(),M.focusEditor(r,r.selection??r.prevSelection??void 0)},onClick:()=>{Pd(r,{focused:!0})},children:c.jsx(M.IconStylingWrapper,{icon:c.jsx(M.IconButton16,{})})})});Td.displayName="ButtonToolbarButton";const yw=({editorId:e,id:t})=>{const r=M.useEditorState(M.useEventPlateId(e)),n=!!M.isRangeInSameBlock(r,{at:r.selection}),a=M.getPluginType(r,m0),o=!!(r!=null&&r.selection)&&M.someNode(r,{match:{type:a}});return c.jsx("div",{"data-plugin-id":t,children:c.jsx(Td,{pressed:o,disabled:!n,tooltip:M.getTooltip(n?`Button
86
86
  ${M.getHotkeyByPlatform("Ctrl+Shift+K")}`:"Buttons can only be set for a single text block.")})})},Fe="link-plugin";var s0=(e=>(e.heading1="heading1",e.heading2="heading2",e.heading3="heading3",e.heading4="heading4",e.custom1="custom1",e.custom2="custom2",e.custom3="custom3",e.quote="quote",e.imageCaption="imageCaption",e.imageTitle="imageTitle",e.p="p",e))(s0||{});const x0={heading1:{fontSize:"var(--f-theme-settings-heading1-font-size)",lineHeight:"var(--f-theme-settings-heading1-line-height)",marginTop:"var(--f-theme-settings-heading1-margin-top)",marginBottom:"var(--f-theme-settings-heading1-margin-bottom)",textDecoration:"var(--f-theme-settings-heading1-text-decoration)",fontStyle:"var(--f-theme-settings-heading1-font-style)",textTransform:"var(--f-theme-settings-heading1-text-transform)",letterSpacing:"var(--f-theme-settings-heading1-letter-spacing)",fontWeight:"var(--f-theme-settings-heading1-font-weight)",fontFamily:"var(--f-theme-settings-heading1-font-family)",color:"var(--f-theme-settings-heading1-color)"},heading2:{fontSize:"var(--f-theme-settings-heading2-font-size)",lineHeight:"var(--f-theme-settings-heading2-line-height)",marginTop:"var(--f-theme-settings-heading2-margin-top)",marginBottom:"var(--f-theme-settings-heading2-margin-bottom)",textDecoration:"var(--f-theme-settings-heading2-text-decoration)",fontStyle:"var(--f-theme-settings-heading2-font-style)",textTransform:"var(--f-theme-settings-heading2-text-transform)",letterSpacing:"var(--f-theme-settings-heading2-letter-spacing)",fontWeight:"var(--f-theme-settings-heading2-font-weight)",fontFamily:"var(--f-theme-settings-heading2-font-family)",color:"var(--f-theme-settings-heading2-color)"},heading3:{fontSize:"var(--f-theme-settings-heading3-font-size)",lineHeight:"var(--f-theme-settings-heading3-line-height)",marginTop:"var(--f-theme-settings-heading3-margin-top)",marginBottom:"var(--f-theme-settings-heading3-margin-bottom)",textDecoration:"var(--f-theme-settings-heading3-text-decoration)",fontStyle:"var(--f-theme-settings-heading3-font-style)",textTransform:"var(--f-theme-settings-heading3-text-transform)",letterSpacing:"var(--f-theme-settings-heading3-letter-spacing)",fontWeight:"var(--f-theme-settings-heading3-font-weight)",fontFamily:"var(--f-theme-settings-heading3-font-family)",color:"var(--f-theme-settings-heading3-color)"},heading4:{fontSize:"var(--f-theme-settings-heading4-font-size)",lineHeight:"var(--f-theme-settings-heading4-line-height)",marginTop:"var(--f-theme-settings-heading4-margin-top)",marginBottom:"var(--f-theme-settings-heading4-margin-bottom)",textDecoration:"var(--f-theme-settings-heading4-text-decoration)",fontStyle:"var(--f-theme-settings-heading4-font-style)",textTransform:"var(--f-theme-settings-heading4-text-transform)",letterSpacing:"var(--f-theme-settings-heading4-letter-spacing)",fontWeight:"var(--f-theme-settings-heading4-font-weight)",fontFamily:"var(--f-theme-settings-heading4-font-family)",color:"var(--f-theme-settings-heading4-color)"},custom1:{fontSize:"var(--f-theme-settings-custom1-font-size)",lineHeight:"var(--f-theme-settings-custom1-line-height)",marginTop:"var(--f-theme-settings-custom1-margin-top)",marginBottom:"var(--f-theme-settings-custom1-margin-bottom)",textDecoration:"var(--f-theme-settings-custom1-text-decoration)",fontStyle:"var(--f-theme-settings-custom1-font-style)",textTransform:"var(--f-theme-settings-custom1-text-transform)",letterSpacing:"var(--f-theme-settings-custom1-letter-spacing)",fontWeight:"var(--f-theme-settings-custom1-font-weight)",fontFamily:"var(--f-theme-settings-custom1-font-family)",color:"var(--f-theme-settings-custom1-color)"},custom2:{fontSize:"var(--f-theme-settings-custom2-font-size)",lineHeight:"var(--f-theme-settings-custom2-line-height)",marginTop:"var(--f-theme-settings-custom2-margin-top)",marginBottom:"var(--f-theme-settings-custom2-margin-bottom)",textDecoration:"var(--f-theme-settings-custom2-text-decoration)",fontStyle:"var(--f-theme-settings-custom2-font-style)",textTransform:"var(--f-theme-settings-custom2-text-transform)",letterSpacing:"var(--f-theme-settings-custom2-letter-spacing)",fontWeight:"var(--f-theme-settings-custom2-font-weight)",fontFamily:"var(--f-theme-settings-custom2-font-family)",color:"var(--f-theme-settings-custom2-color)"},custom3:{fontSize:"var(--f-theme-settings-custom3-font-size)",lineHeight:"var(--f-theme-settings-custom3-line-height)",marginTop:"var(--f-theme-settings-custom3-margin-top)",marginBottom:"var(--f-theme-settings-custom3-margin-bottom)",textDecoration:"var(--f-theme-settings-custom3-text-decoration)",fontStyle:"var(--f-theme-settings-custom3-font-style)",textTransform:"var(--f-theme-settings-custom3-text-transform)",letterSpacing:"var(--f-theme-settings-custom3-letter-spacing)",fontWeight:"var(--f-theme-settings-custom3-font-weight)",fontFamily:"var(--f-theme-settings-custom3-font-family)",color:"var(--f-theme-settings-custom3-color)"},p:{fontSize:"var(--f-theme-settings-body-font-size)",lineHeight:"var(--f-theme-settings-body-line-height)",marginTop:"var(--f-theme-settings-body-margin-top)",marginBottom:"var(--f-theme-settings-body-margin-bottom)",textDecoration:"var(--f-theme-settings-body-text-decoration)",fontStyle:"var(--f-theme-settings-body-font-style)",textTransform:"var(--f-theme-settings-body-text-transform)",letterSpacing:"var(--f-theme-settings-body-letter-spacing)",fontWeight:"var(--f-theme-settings-body-font-weight)",fontFamily:"var(--f-theme-settings-body-font-family)",color:"var(--f-theme-settings-body-color)"},quote:{fontSize:"var(--f-theme-settings-quote-font-size)",lineHeight:"var(--f-theme-settings-quote-line-height)",marginTop:"var(--f-theme-settings-quote-margin-top)",marginBottom:"var(--f-theme-settings-quote-margin-bottom)",textDecoration:"var(--f-theme-settings-quote-text-decoration)",fontStyle:"var(--f-theme-settings-quote-font-style)",textTransform:"var(--f-theme-settings-quote-text-transform)",letterSpacing:"var(--f-theme-settings-quote-letter-spacing)",fontWeight:"var(--f-theme-settings-quote-font-weight)",fontFamily:"var(--f-theme-settings-quote-font-family)",color:"var(--f-theme-settings-quote-color)"},imageCaption:{fontSize:"var(--f-theme-settings-image-caption-font-size)",lineHeight:"var(--f-theme-settings-image-caption-line-height)",marginTop:"var(--f-theme-settings-image-caption-margin-top)",marginBottom:"var(--f-theme-settings-image-caption-margin-bottom)",textDecoration:"var(--f-theme-settings-image-caption-text-decoration)",fontStyle:"var(--f-theme-settings-image-caption-font-style)",textTransform:"var(--f-theme-settings-image-caption-text-transform)",letterSpacing:"var(--f-theme-settings-image-caption-letter-spacing)",fontWeight:"var(--f-theme-settings-image-caption-font-weight)",fontFamily:"var(--f-theme-settings-image-caption-font-family)",color:"var(--f-theme-settings-image-caption-color)"},imageTitle:{fontSize:"var(--f-theme-settings-image-title-font-size)",lineHeight:"var(--f-theme-settings-image-title-line-height)",marginTop:"var(--f-theme-settings-image-title-margin-top)",marginBottom:"var(--f-theme-settings-image-title-margin-bottom)",textDecoration:"var(--f-theme-settings-image-title-text-decoration)",fontStyle:"var(--f-theme-settings-image-title-font-style)",textTransform:"var(--f-theme-settings-image-title-text-transform)",letterSpacing:"var(--f-theme-settings-image-title-letter-spacing)",fontWeight:"var(--f-theme-settings-image-title-font-weight)",fontFamily:"var(--f-theme-settings-image-title-font-family)",color:"var(--f-theme-settings-image-title-color)"},[Fe]:{fontSize:"var(--f-theme-settings-link-font-size)",lineHeight:"var(--f-theme-settings-link-line-height)",marginTop:"var(--f-theme-settings-link-margin-top)",marginBottom:"var(--f-theme-settings-link-margin-bottom)",textDecoration:"var(--f-theme-settings-link-text-decoration)",fontStyle:"var(--f-theme-settings-link-font-style)",textTransform:"var(--f-theme-settings-link-text-transform)",letterSpacing:"var(--f-theme-settings-link-letter-spacing)",fontWeight:"var(--f-theme-settings-link-font-weight)",fontFamily:"var(--f-theme-settings-link-font-family)",color:"var(--f-theme-settings-link-color)"},...Ur},Cw=()=>{const e=M.useEditorRef();return c.jsx(M.FloatingModalWrapper,{padding:"16px",minWidth:"400px","data-test-id":"floating-button-edit",children:c.jsxs("span",{"data-test-id":"preview-button-flyout",className:"tw-flex tw-justify-between tw-items-center tw-gap-2",children:[c.jsx("a",{"data-test-id":"floating-button-edit-url",href:T0.url(),target:"_blank",rel:"noopener noreferrer",style:x0[Fe],className:"tw-break-all",children:T0.url()}),c.jsxs("span",{className:"tw-flex tw-gap-2",children:[c.jsx("button",{onClick:()=>{Rr(e)},tabIndex:0,"data-test-id":"edit-button-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",children:c.jsx(M.IconPen16,{})}),c.jsx("button",{onClick:()=>{$e(e),M.focusEditor(e,e.selection??void 0)},tabIndex:0,"data-test-id":"remove-button-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",children:c.jsx(M.IconTrashBin16,{})})]})]})})},kd=e=>e.filter(t=>{var r;return!!((r=t.title)!=null&&r.trim())}),Nd=()=>c.jsx("div",{className:"tw-flex tw-justify-center tw-h-10 tw-items-center",children:c.jsx(Me,{size:"small"})}),xw=({section:e,selectedUrl:t,onSelectUrl:r})=>{const n=e.permanentLink===t;return c.jsx("button",{"data-test-id":"internal-link-selector-section-link",className:M.merge(["tw-py-2 tw-pr-2.5 tw-pl-14 tw-leading-5 tw-cursor-pointer tw-w-full",n?"tw-bg-box-selected-strong tw-text-box-selected-strong-inverse hover:tw-bg-box-selected-strong-hover:hover hover:tw-text-box-selected-strong-inverse-hover:hover":"hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover"]),onClick:()=>r(e.permanentLink),children:c.jsxs("div",{className:"tw-flex tw-flex-1 tw-space-x-2 tw-items-center tw-h-6",children:[c.jsx(M.IconDocumentText16,{}),c.jsx("span",{className:"tw-text-s",children:e.title}),c.jsx("span",{className:"tw-flex-auto tw-font-sans tw-text-xs tw-text-right",children:"Section"})]})})},_w=({page:e,selectedUrl:t,onSelectUrl:r,itemsToExpandInitially:n,getDocumentSectionsByDocumentPageId:a})=>{const[o,l]=b.useState(e.id===n.documentId),[i,s]=b.useState([]),d=e.permanentLink===t;b.useEffect(()=>{(async()=>{const h=await a(e.id),g=kd(h);s(g)})()},[e.id,a]),b.useEffect(()=>{e.id===n.pageId&&l(!0)},[n,e.id]);const u=i.length>0;return c.jsxs(c.Fragment,{children:[c.jsx("button",{"data-test-id":"internal-link-selector-page-link",className:M.merge(["tw-py-2 tw-pr-2.5 tw-leading-5 tw-cursor-pointer tw-flex tw-w-full",u?"tw-pl-7":"tw-pl-12",d?"tw-bg-box-selected-strong tw-text-box-selected-strong-inverse hover:tw-bg-box-selected-strong-hover:hover hover:tw-text-box-selected-strong-inverse-hover:hover":"hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover"]),onClick:()=>r(e.permanentLink),children:c.jsxs("div",{className:"tw-flex tw-flex-1 tw-space-x-1 tw-items-center tw-h-6",children:[u&&c.jsx("button",{"data-test-id":"tree-item-toggle",className:"tw-flex tw-items-center tw-justify-center -tw-mr-2 tw-pr-3.5 tw-pt-1.5 tw-pb-1.5 tw-pl-3.5 tw-cursor-pointer",onClick:()=>l(!o),onKeyDown:f=>f.key==="Enter"&&f.stopPropagation(),children:c.jsx("div",{className:M.merge(["tw-transition-transform tw-w-0 tw-h-0 tw-font-normal tw-border-t-4 tw-border-t-transparent tw-border-b-4 tw-border-b-transparent tw-border-l-4 tw-border-l-x-strong",o?"tw-rotate-90":""])})}),c.jsx("span",{className:"tw-text-s",children:e.title}),c.jsx("span",{className:"tw-flex-auto tw-font-sans tw-text-xs tw-text-right",children:"Page"})]},e.id)}),o&&i.length>0&&i.map(f=>c.jsx(xw,{section:f,selectedUrl:t,onSelectUrl:r},f.id))]})},Mw=({documentId:e,selectedUrl:t,onSelectUrl:r,itemsToExpandInitially:n,getDocumentSectionsByDocumentPageId:a,getDocumentPagesByDocumentId:o})=>{const[l,i]=b.useState([]),[s,d]=b.useState(!0),u=[...l.values()],f=!s&&u.length>0;return b.useEffect(()=>{o(e).then(h=>{const g=h.filter(m=>!!m.category).sort((m,v)=>m.category.sort===v.category.sort?m.sort-v.sort:m.category.sort-v.category.sort),C=h.filter(m=>!m.category).sort((m,v)=>m.sort-v.sort);i([...g,...C])}).finally(()=>{d(!1)})},[]),s?c.jsx(Nd,{}):f?c.jsx(c.Fragment,{children:u.map(h=>c.jsx(_w,{page:h,selectedUrl:t,onSelectUrl:r,itemsToExpandInitially:n,getDocumentSectionsByDocumentPageId:a},h.id))}):c.jsx("div",{className:"tw-h-10 tw-flex tw-items-center tw-pr-2.5 tw-pl-7 tw-leading-5 tw-text-s tw-text-text-weak",children:"This document does not contain any pages."})},Aw=({document:e,selectedUrl:t,onSelectUrl:r,itemsToExpandInitially:n,getDocumentSectionsByDocumentPageId:a,getDocumentPagesByDocumentId:o})=>{const[l,i]=b.useState(e.id===n.documentId),s=e.permanentLink===t;return b.useEffect(()=>{e.id===n.documentId&&i(!0)},[n,e.id]),c.jsxs(c.Fragment,{children:[c.jsxs("button",{"data-test-id":"internal-link-selector-document-link",className:M.merge(["tw-flex tw-flex-1 tw-space-x-2 tw-items-center tw-py-2 tw-pr-2.5 tw-leading-5 tw-cursor-pointer tw-w-full",s?"tw-bg-box-selected-strong tw-text-box-selected-strong-inverse hover:tw-bg-box-selected-strong-hover:hover hover:tw-text-box-selected-strong-inverse-hover:hover":"hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover"]),onClick:()=>r(e.permanentLink),children:[c.jsx("button",{role:"button",tabIndex:0,"data-test-id":"tree-item-toggle",className:"tw-flex tw-items-center tw-justify-center -tw-mr-2 tw-pr-3.5 tw-pt-1.5 tw-pb-1.5 tw-pl-3.5 tw-cursor-pointer",onClick:()=>i(!l),onKeyDown:d=>d.key==="Enter"&&d.stopPropagation(),children:c.jsx("div",{className:M.merge(["tw-transition-transform tw-w-0 tw-h-0 tw-font-normal tw-border-t-4 tw-border-t-transparent tw-border-b-4 tw-border-b-transparent tw-border-l-4 tw-border-l-x-strong",l?"tw-rotate-90":""])})}),c.jsx(M.IconColorFan16,{}),c.jsx("span",{className:"tw-text-s",children:e.title}),c.jsx("span",{className:"tw-flex-auto tw-font-sans tw-text-xs tw-text-right",children:"Document"})]}),l&&c.jsx(Mw,{documentId:e.id,selectedUrl:t,onSelectUrl:r,itemsToExpandInitially:n,getDocumentSectionsByDocumentPageId:a,getDocumentPagesByDocumentId:o})]})},Ew=({selectedUrl:e,onSelectUrl:t,getAllDocuments:r,getDocumentPagesByDocumentId:n,getDocumentSectionsByDocumentPageId:a})=>{const[o,l]=b.useState(!0),[i,s]=b.useState([]),[d,u]=b.useState({documentId:void 0,pageId:void 0});b.useEffect(()=>{e&&i.length>0&&f().then(h=>{u(h)})},[i.length]),b.useEffect(()=>{r().then(h=>{s(h)}).finally(()=>{l(!1)})},[]);const f=async()=>{const h={documentId:void 0,pageId:void 0};if(i.find(C=>C.permanentLink===e))return h;for(const C of i){const m=await n(C.id);if(!!m.find(x=>x.permanentLink===e))return h.documentId=C.id,h;for(const x of m){const y=await a(x.id);if(!!kd(y).find(E=>E.permanentLink===e))return h.documentId=C.id,h.pageId=x.id,h}}return h};return o?c.jsx(Nd,{}):c.jsx(c.Fragment,{children:i.map(h=>c.jsx(Aw,{document:h,selectedUrl:e,onSelectUrl:t,itemsToExpandInitially:d,getDocumentSectionsByDocumentPageId:a,getDocumentPagesByDocumentId:n},h.id))})},zd=({url:e,onUrlChange:t,buttonSize:r="medium",getAllDocuments:n,getDocumentPagesByDocumentId:a,getDocumentSectionsByDocumentPageId:o})=>{const[l,i]=b.useState(!1),[s,d]=b.useState(e),u=C=>{d(C)},f=C=>{C.key==="Enter"&&(C.preventDefault(),h())};b.useEffect(()=>{e&&!s&&d(e)},[e,s]);const h=()=>{t==null||t(s),i(!1)},g={onOpenAutoFocus:()=>{},showUnderlay:!0,"data-is-underlay":!0,minWidth:"800px"};return c.jsx("div",{onPointerDown:C=>C.preventDefault(),"data-test-id":"internal-link-selector",onKeyDown:f,children:c.jsxs(G1.Root,{modal:!0,open:l,onOpenChange:i,children:[c.jsx(G1.Trigger,{asChild:!0,children:c.jsxs(E1,{size:r,emphasis:"default",children:[c.jsx(Au,{size:"20"}),"Internal link"]})}),c.jsxs(G1.Content,{...g,children:[c.jsx(G1.Header,{children:c.jsx(G1.Title,{children:"Select internal link"})}),c.jsx(G1.Body,{padding:"none",children:c.jsx(Uc,{padding:"compact",children:c.jsx(Ew,{selectedUrl:s,onSelectUrl:u,getAllDocuments:n,getDocumentPagesByDocumentId:a,getDocumentSectionsByDocumentPageId:o})})}),c.jsxs(G1.Footer,{children:[c.jsx(E1,{size:r,emphasis:"default",onPress:()=>i(!1),children:"Cancel"}),c.jsx(E1,{size:r,disabled:!s,emphasis:"strong",onPress:()=>h(),children:"Choose"})]})]})]})})},Od=({onUrlChange:e,onToggleTab:t,isValidUrlOrEmpty:r,appBridge:n,placeholder:a,newTab:o,url:l="",required:i,info:s,label:d,buttonSize:u,hideInternalLinkButton:f})=>{const h=r?r(l):Ve(l);return c.jsxs("div",{"data-test-id":"link-input",children:[c.jsx(M.FormControl,{label:{children:d,htmlFor:"url",required:i,tooltip:s?{content:s,position:"top"}:void 0},children:c.jsx(L0,{"data-test-id":"text-input",id:"url",value:l,onChange:g=>e==null?void 0:e(g.target.value),placeholder:a??"https://example.com"})}),!h&&c.jsx("div",{className:"tw-text-text-negative tw-mt-1 tw-text-s",children:"Please enter a valid URL."}),!f&&c.jsx("div",{className:"tw-mt-3",children:c.jsx(zd,{url:l,onUrlChange:e,buttonSize:u??"medium",getAllDocuments:()=>n.getAllDocuments(),getDocumentPagesByDocumentId:g=>n.getDocumentPagesByDocumentId(g),getDocumentSectionsByDocumentPageId:g=>n.getDocumentSectionsByDocumentPageId(g)})}),c.jsxs("div",{className:"tw-mt-3 tw-flex tw-items-center tw-gap-1.5",children:[c.jsx(U5,{id:"new-tab",value:o,onChange:()=>t==null?void 0:t(!o)}),c.jsx(yc,{id:"new-tab-label",htmlFor:"new-tab",children:"Open in new tab"})]})]})},Hd=({state:e,onTextChange:t,onUrlChange:r,onToggleTab:n,onCancel:a,onSave:o,isValidUrlOrEmpty:l,hasValues:i,testId:s,appBridge:d,children:u})=>c.jsxs(M.FloatingModalWrapper,{"data-test-id":s,padding:"28px",minWidth:"400px",children:[c.jsx(M.FormControl,{label:{children:"Text",htmlFor:"linkText",required:!0},children:c.jsx(L0,{id:"linkText",value:e.text,placeholder:"Link Text",onChange:f=>t(f.target.value)})}),u,c.jsx("div",{className:"tw-mt-5",children:c.jsx(Od,{url:e.url,newTab:e.newTab,onUrlChange:r,onToggleTab:n,isValidUrlOrEmpty:l,appBridge:d})}),c.jsx("div",{className:"tw-mt-3",children:c.jsxs("div",{className:"tw-pt-5 tw-flex tw-gap-x-3 tw-justify-end tw-border-t tw-border-t-black-10",children:[c.jsx(E1,{"data-test-id":"button",onPress:a,size:"medium",emphasis:"default",children:"Cancel"}),c.jsxs(E1,{"data-test-id":"button",onPress:o,size:"medium",disabled:!l(e==null?void 0:e.url)||!i,children:[c.jsx(le,{size:"20"}),"Save"]})]})})]}),Sw=e=>{var r;const t=M.getAboveNode(e,{match:{type:m0}});return Array.isArray(t)&&((r=t[0])==null?void 0:r.buttonStyle)||"primary"},Iw={url:"",text:"",buttonStyle:"primary",newTab:!1},Pw=()=>{const[e,t]=b.useReducer((r,n)=>{const{type:a,payload:o}=n;switch(a){case"NEW_TAB":return{...r,newTab:!0};case"SAME_TAB":return{...r,newTab:!1};case"URL":case"TEXT":case"BUTTON_STYLE":case"INIT":return{...r,...o};default:return r}},Iw);return[e,t]},Tw=()=>{const e=M.useEditorRef(),[t,r]=Pw();b.useEffect(()=>{const f=Sw(e);r({type:"INIT",payload:{text:T0.text()||T0.url(),buttonStyle:f,newTab:!!T0.newTab(),url:T0.url()}})},[r,e]);const n=f=>{r({type:"TEXT",payload:{text:f}})},a=f=>{r({type:"BUTTON_STYLE",payload:{buttonStyle:f}})},o=f=>{r({type:"URL",payload:{url:f}})},l=f=>{r(f?{type:"NEW_TAB"}:{type:"SAME_TAB"})},i=()=>{A0.reset()},s=f=>{if(!Ve(t.url)||!d)return;const h=Fr(t.url);A0.text(t.text),A0.url(h),A0.buttonStyle(t.buttonStyle),A0.newTab(t.newTab),Na(e)&&(f==null||f.preventDefault())},d=t.url!==""&&t.text!=="",{appBridge:u}=M.getPluginOptions(e,m0);return M.useHotkeys("enter",s,{enableOnFormTags:["INPUT"]},[]),{state:t,onTextChange:n,onButtonStyleChange:a,onUrlChange:o,onToggleTab:l,onCancel:i,onSave:s,hasValues:d,isValidUrlOrEmpty:Ve,appBridge:u}},kw=()=>{const e=Tw(),{state:t,onButtonStyleChange:r}=e;return c.jsx(Hd,{...e,testId:"floating-button-insert",children:c.jsx("div",{className:"tw-pt-5",children:c.jsxs(M.FormControl,{label:{children:"Button Style",htmlFor:"buttonStyle",required:!0},children:[c.jsx(Da,{id:"primary",styles:x0.buttonPrimary,isActive:t.buttonStyle==="primary",onClick:()=>r("primary"),children:t.text||"Primary Button"}),c.jsx(Da,{id:"secondary",styles:x0.buttonSecondary,isActive:t.buttonStyle==="secondary",onClick:()=>r("secondary"),children:t.text||"Secondary Button"}),c.jsx(Da,{id:"tertiary",styles:x0.buttonTertiary,isActive:t.buttonStyle==="tertiary",onClick:()=>r("tertiary"),children:t.text||"Tertiary Button"})]})})})},Da=({id:e,styles:t,isActive:r,onClick:n,children:a})=>{const[o,l]=b.useState(!1),i=()=>t&&t.hover&&o?{...t,...t.hover}:t;return c.jsx("button",{"data-test-id":`floating-button-insert-${e}`,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),onClick:n,style:{...i(),marginTop:0,marginBottom:0},className:r?"tw-outline tw-outline-1 tw-outline-violet-60 tw-outline-offset-2 tw-w-fit":"tw-w-fit",children:a})},Dd={placement:"bottom-start",strategy:"absolute",middleware:[M.offset(12),M.flip({padding:12,fallbackPlacements:["bottom-end","top-start","top-end"]})]},Nw=()=>{const{ref:e,...t}=Hw(Dd),{ref:r,...n}=zw(Dd),a=M.useEditorRef(),o=gt(),l=o.isOpen(a.id),i=o.isEditing(),s=o.mode(),d=c.jsx(kw,{}),u=i?d:c.jsx(Cw,{});return c.jsxs(c.Fragment,{children:[l&&s==="insert"&&ae.createPortal(c.jsx("div",{"data-is-underlay":!0,ref:e,...t,style:{...t.style,...x0[M.TextStyles.p]},children:d}),document.body),l&&s==="edit"&&ae.createPortal(c.jsx("div",{"data-is-underlay":!0,ref:r,...n,style:{...n.style,...x0[M.TextStyles.p]},children:u}),document.body)]})},m0="button",Ld="button-plugin",Vd=e=>M.createPluginFactory({key:m0,isElement:!0,isInline:!0,props:({element:t})=>({nodeProps:{href:t==null?void 0:t.url,target:t==null?void 0:t.target}}),withOverrides:_d,renderAfterEditable:Nw,options:{isUrl:Br,rangeBeforeOptions:{matchString:" ",skipInvalid:!0,afterMatch:!0},triggerFloatingButtonHotkeys:"command+shift+k, ctrl+shift+k",appBridge:e},then:(t,{type:r})=>({deserializeHtml:{rules:[{validNodeName:"A",validClassName:"btn"}],getNode:n=>({type:r,url:n.getAttribute("href"),target:n.getAttribute("target")||"_blank"})}})})();class $d extends M.Plugin{constructor({styles:r=Ur,...n}){super(Ld,{button:yw,markupElement:new ww,...n});E0(this,"styles",{});E0(this,"appBridge");this.styles=r,this.appBridge=n==null?void 0:n.appBridge}plugins(){return[Vd(this.appBridge)]}}const zw=e=>{const t=M.useEditorRef(),r=gt().mode(),n=gt().isOpen(t.id),a=M.useEditorVersion(),{triggerFloatingButtonHotkeys:o}=M.getPluginOptions(t,m0),l=b.useCallback(()=>{const f=M.getAboveNode(t,{match:{type:M.getPluginType(t,m0)}});if(f){const[,h]=f;return M.getRangeBoundingClientRect(t,{anchor:M.getStartPoint(t,h),focus:M.getEndPoint(t,h)})}return M.getDefaultBoundingClientRect()},[t]),i=n&&r==="edit",{update:s,style:d,floating:u}=Bd({open:i,getBoundingClientRect:l,...e});return b.useEffect(()=>{const f=Sd(t);if(f&&A0.url(f),t.selection&&M.someNode(t,{match:{type:M.getPluginType(t,m0)}})){A0.show("edit",t.id),s();return}T0.mode()==="edit"&&A0.reset()},[t,a,s]),M.useHotkeys(o,f=>{f.preventDefault(),T0.mode()==="edit"&&Rr(t)},{enableOnContentEditable:!0},[]),Ow(),Fd(),{style:{...d,zIndex:1e3},ref:M.useComposedRef(u)}},Ow=()=>{const e=M.useEditorRef();M.useHotkeys("*",t=>{t.key==="Enter"&&Na(e)&&t.preventDefault()},{enableOnFormTags:["INPUT"]},[])},Fd=()=>{const e=M.useEditorRef();M.useHotkeys("escape",()=>{if(T0.mode()==="edit"){if(T0.isEditing()){A0.show("edit",e.id),M.focusEditor(e,e.selection??void 0);return}A0.reset()}},{enableOnFormTags:["INPUT"],enableOnContentEditable:!0},[])},Hw=e=>{const t=M.useEditorRef(),r=M.useFocused(),n=gt().mode(),a=gt().isOpen(t.id),{triggerFloatingButtonHotkeys:o}=M.getPluginOptions(t,m0);M.useHotkeys(o,d=>{d.preventDefault(),Oa(t,{focused:r})},{enableOnContentEditable:!0},[r]);const{update:l,style:i,floating:s}=Bd({open:a&&n==="insert",getBoundingClientRect:M.getSelectionBoundingClientRect,whileElementsMounted:void 0,...e});return b.useEffect(()=>{a&&l(),A0.updated(a)},[a,l]),Fd(),{style:{...i,zIndex:1e3},ref:M.useComposedRef(s)}},Dw=12,Lw=-22,Vw=96,Bd=e=>M.useVirtualFloating({placement:"bottom-start",middleware:[M.offset({mainAxis:Dw,alignmentAxis:Lw}),M.flip({padding:Vw})],...e}),La="[&_.tw-break-after-column]:tw-break-after-auto [&_.tw-break-inside-avoid-column]:tw-break-inside-auto [&_.tw-break-after-column.tw-pb-5]:tw-pb-0 @md:[&_.tw-break-after-column.tw-pb-5]:!tw-pb-5 @md:[&_.tw-break-after-column]:!tw-break-after-column @md:[&_.tw-break-inside-avoid-column]:!tw-break-inside-avoid-column",Rd={1:"tw-columns-1",2:"tw-columns-1 @sm:!tw-columns-2 [&_.tw-break-after-column]:tw-break-after-auto [&_.tw-break-inside-avoid-column]:tw-break-inside-auto [&_.tw-break-after-column.tw-pb-5]:tw-pb-0 @sm:[&_.tw-break-after-column.tw-pb-5]:!tw-pb-5 @sm:[&_.tw-break-after-column]:!tw-break-after-column @sm:[&_.tw-break-inside-avoid-column]:!tw-break-inside-avoid-column",3:`tw-columns-1 @md:!tw-columns-3 ${La}`,4:`tw-columns-1 @md:!tw-columns-4 ${La}`,5:`tw-columns-1 @md:!tw-columns-5 ${La}`},Ud=e=>e?Rd[e]||Rd[1]:"",$w=e=>{T0.isOpen(e)&&A0.reset()},Wd=b.memo(({isEnabled:e,value:t,columns:r,gap:n,placeholder:a,plugins:o,onTextChange:l,showSerializedText:i})=>{const s=Ud(r),[d,u]=b.useState(!1),f=b.useId(),h=b.useCallback(C=>{C!==t&&(l==null||l(C)),u(!1)},[l,t]),g=b.useCallback(()=>u(!0),[]);return b.useEffect(()=>{const C=m=>{m.preventDefault(),m.returnValue="Unprocessed changes"};return d&&window.addEventListener("beforeunload",C),()=>window.removeEventListener("beforeunload",C)},[d]),e?c.jsx(M.RichTextEditor,{id:f,value:t,border:!1,placeholder:a,plugins:o,onValueChanged:g,onTextChange:h,hideExternalFloatingModals:$w,placeholderOpacity:"high"}):c.jsx(ow,{value:t,gap:n,customClass:s,show:i,plugins:o})});Wd.displayName="InternalRichTextEditor";const Fw=e=>{const t=b.useRef(null),[r,n]=b.useState(!1),{isEditing:a,...o}=e,l=b.useCallback(i=>{i&&n(!0)},[]);return nw({ref:t,disabled:!a,onChange:l}),b.useEffect(()=>{a||n(!1)},[a]),c.jsx("div",{"data-test-id":"rich-text-editor-container",className:"tw-block tw-w-full tw-@container",ref:t,children:c.jsx(Wd,{...o,isEnabled:a&&r})})},Bw=({editButtonProps:e,unlinkButtonProps:t})=>{const{element:r}=M.useLinkOpenButtonState(),n=r?Ta(r):"";return c.jsx(M.FloatingModalWrapper,{"data-test-id":"floating-link-edit",padding:"16px",minWidth:"400px",children:c.jsxs("span",{"data-test-id":"preview-link-flyout",className:"tw-flex tw-justify-between tw-items-center tw-gap-2",children:[c.jsx("a",{"data-test-id":"floating-link-edit-url",href:n,target:"_blank",rel:"noopener noreferrer",style:x0[Fe],className:"tw-break-all",children:n}),c.jsxs("span",{className:"tw-flex tw-gap-2",children:[c.jsx("button",{tabIndex:0,"data-test-id":"edit-link-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",...e,children:c.jsx(M.IconPen16,{})}),c.jsx("button",{tabIndex:0,"data-test-id":"remove-link-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",...t,children:c.jsx(M.IconTrashBin16,{})})]})]})})},Kd=(e,t)=>{const r=M.getAboveNode(e,{match:{type:M.ELEMENT_LINK}});return Array.isArray(r)?t(r[0]):""},Rw=e=>Kd(e,t=>{var r,n;return((n=(r=t.chosenLink)==null?void 0:r.searchResult)==null?void 0:n.link)||""}),Uw=e=>Kd(e,t=>t.url||""),Ww={url:"",text:"",newTab:!1},Kw=()=>{const[e,t]=b.useReducer((r,n)=>{const{type:a,payload:o}=n;switch(a){case"NEW_TAB":return{...r,newTab:!0};case"SAME_TAB":return{...r,newTab:!1};case"URL":case"TEXT":case"INIT":return{...r,...o};default:return r}},Ww);return[e,t]},jw=()=>{const e=M.useEditorRef(),[t,r]=Kw();b.useEffect(()=>{const u=Rw(e),f=Uw(e),h=M.floatingLinkSelectors.newTab();r({type:"INIT",payload:{text:M.floatingLinkSelectors.text()||M.floatingLinkSelectors.url(),newTab:h,url:u&&f===""?u:M.floatingLinkSelectors.url()}})},[r,e]);const n=u=>{r({type:"TEXT",payload:{text:u}})},a=u=>{r({type:"URL",payload:{url:u}})},o=u=>{r(u?{type:"NEW_TAB"}:{type:"SAME_TAB"})},l=()=>{M.floatingLinkActions.reset()},i=u=>{!Ve(t.url)||!s||(M.floatingLinkActions.text(t.text),M.floatingLinkActions.url(Fr(t.url)),M.floatingLinkActions.newTab(t.newTab),M.submitFloatingLink(e)&&(u==null||u.preventDefault()))},s=t.url!==""&&t.text!=="",{appBridge:d}=M.getPluginOptions(e,M.ELEMENT_LINK);return M.useHotkeys("enter",i,{enableOnFormTags:["INPUT"]},[]),{state:t,onTextChange:n,onUrlChange:a,onToggleTab:o,onCancel:l,onSave:i,hasValues:s,isValidUrlOrEmpty:Ve,appBridge:d}},Gw=()=>c.jsx(Hd,{...jw(),testId:"floating-link-insert"}),jd={placement:"bottom-start",strategy:"absolute",middleware:[M.offset(12),M.flip({padding:12,fallbackPlacements:["bottom-end","top-start","top-end"]})]},qw=()=>{const e=M.useFloatingLinkInsertState({floatingOptions:jd}),{props:t,ref:r,hidden:n}=M.useFloatingLinkInsert(e),a=M.useFloatingLinkEditState({floatingOptions:jd}),{props:o,ref:l,editButtonProps:i,unlinkButtonProps:s}=M.useFloatingLinkEdit(a);if(n)return null;const d=c.jsx(Gw,{}),u=a.isEditing?d:c.jsx(Bw,{editButtonProps:i,unlinkButtonProps:s});return c.jsxs(c.Fragment,{children:[e.isOpen&&!a.isOpen&&ae.createPortal(c.jsx("div",{"data-is-underlay":!0,ref:r,...t,style:{...t.style,...x0[s0.p]},children:d}),document.body),a.isOpen&&ae.createPortal(c.jsx("div",{"data-is-underlay":!0,ref:l,...o,style:{...o.style,...x0[s0.p]},children:u}),document.body)]})},Gd=b.forwardRef((e,t)=>{const r=M.useEditorRef(),n=M.useLinkToolbarButtonState(),{props:a}=M.useLinkToolbarButton(n);return c.jsx(M.ToolbarButton,{onMouseDown:o=>{o.preventDefault(),M.focusEditor(r,r.selection??r.prevSelection??void 0)},ref:t,...a,...e,children:c.jsx(M.IconStylingWrapper,{icon:c.jsx(M.IconLink16,{})})})});Gd.displayName="LinkToolbarButton";const Yw=({id:e,editorId:t})=>{const r=M.useEditorState(M.useEventPlateId(t)),n=!!M.isRangeInSameBlock(r,{at:r.selection});return c.jsx("div",{"data-plugin-id":e,children:c.jsx(Gd,{disabled:!n,tooltip:M.getTooltip(n?`Link
87
87
  ${M.getHotkeyByPlatform("Ctrl+K")}`:"Links can only be set for a single text block.")})})},Xw=e=>{var l,i;const{attributes:t,children:r}=e,{styles:n}=M.useRichTextEditorContext(),a=e.element.url||((i=(l=e.element.chosenLink)==null?void 0:l.searchResult)==null?void 0:i.link)||"",o=e.element.target||"_self";return c.jsx("a",{...t,href:a,target:o,style:n[Fe],children:r})};class Qw extends M.MarkupElement{constructor(t=M.ELEMENT_LINK,r=Xw){super(t,r)}}const qd=e=>M.createPluginFactory({...M.createLinkPlugin(),renderAfterEditable:qw,options:{isUrl:Br,rangeBeforeOptions:{matchString:" ",skipInvalid:!0,afterMatch:!0},triggerFloatingLinkHotkeys:"meta+k, ctrl+k",keepSelectedTextOnPaste:!0,appBridge:e}})();class Yd extends M.Plugin{constructor({styles:r=x0[Fe],...n}){super(Fe,{button:Yw,markupElement:new Qw,...n});E0(this,"styles",{});E0(this,"appBridge");this.styles=r,this.appBridge=n.appBridge}plugins(){return[qd(this.appBridge)]}}const Zw="breakAfterColumn",Xd="normal";class Jw extends M.Plugin{constructor(r){super("break-after-plugin",{button:M.ColumnBreakButton,...r});E0(this,"columns");E0(this,"gap");E0(this,"customClass");this.columns=(r==null?void 0:r.columns)??1,this.gap=(r==null?void 0:r.gap)??Xd,this.customClass=Ud(this.columns)}plugins(){return[M.createColumnBreakPlugin(this.columns,this.gap,this.customClass)]}}const ey="textstyle-custom1-plugin";class Qd extends M.Plugin{constructor({styles:r=x0.custom1,...n}={}){super(s0.custom1,{label:"Custom 1",markupElement:new ty,...n});E0(this,"styles",{});this.styles=r}plugins(){return[ry(this.styles)]}}class ty extends M.MarkupElement{constructor(t=ey,r=Zd){super(t,r)}}const Zd=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align;return c.jsx("p",{...t,style:n,className:M.merge([a&&M.alignmentClassnames[a],M.getColumnBreakClasses(e)]),children:r})},ry=e=>M.createPluginFactory({key:s0.custom1,isElement:!0,deserializeHtml:{rules:[{validClassName:s0.custom1}]}})({component:t=>c.jsx(Zd,{...t,styles:e})}),ny="textstyle-custom2-plugin";class Jd extends M.Plugin{constructor({styles:r=x0.custom2,...n}={}){super(s0.custom2,{label:"Custom 2",markupElement:new oy,...n});E0(this,"styles",{});this.styles=r}plugins(){return[ay(this.styles)]}}class oy extends M.MarkupElement{constructor(t=ny,r=eu){super(t,r)}}const eu=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align;return c.jsx("p",{...t,className:M.merge([a&&M.alignmentClassnames[a],M.getColumnBreakClasses(e)]),style:n,children:r})},ay=e=>M.createPluginFactory({key:s0.custom2,isElement:!0,deserializeHtml:{rules:[{validClassName:s0.custom2}]}})({component:t=>c.jsx(eu,{...t,styles:e})}),ly="textstyle-custom3-plugin";class tu extends M.Plugin{constructor({styles:r=x0.custom3,...n}={}){super(M.TextStyles.custom3,{label:"Custom 3",markupElement:new iy,...n});E0(this,"styles",{});this.styles=r}plugins(){return[sy(this.styles)]}}class iy extends M.MarkupElement{constructor(t=ly,r=ru){super(t,r)}}const ru=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align;return c.jsx("p",{...t,className:M.merge([a&&M.alignmentClassnames[a],M.getColumnBreakClasses(e)]),style:n,children:r})},sy=e=>M.createPluginFactory({key:M.TextStyles.custom3,isElement:!0,deserializeHtml:{rules:[{validClassName:M.TextStyles.custom3}]}})({component:t=>c.jsx(ru,{...t,styles:e})}),cy="textstyle-heading1-plugin";class nu extends M.Plugin{constructor({styles:r=x0.heading1,...n}={}){super(s0.heading1,{label:"Heading 1",markupElement:new dy,...n});E0(this,"styles",{});this.styles=r}plugins(){return[uy(this.styles)]}}class dy extends M.MarkupElement{constructor(t=cy,r=Va){super(t,r)}}const Va=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align;return c.jsx("h1",{...t,className:M.merge([a&&M.alignmentClassnames[a],M.getColumnBreakClasses(e)]),style:n,children:r})},uy=e=>M.createPluginFactory({key:s0.heading1,isElement:!0,component:Va,deserializeHtml:{rules:[{validNodeName:["h1","H1"]}]}})({component:t=>c.jsx(Va,{...t,styles:e})}),fy="textstyle-heading2-plugin";class ou extends M.Plugin{constructor({styles:r=x0.heading2,...n}={}){super(s0.heading2,{label:"Heading 2",markupElement:new hy,...n});E0(this,"styles",{});this.styles=r}plugins(){return[py(this.styles)]}}class hy extends M.MarkupElement{constructor(t=fy,r=$a){super(t,r)}}const $a=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align;return c.jsx("h2",{...t,className:M.merge([a&&M.alignmentClassnames[a],M.getColumnBreakClasses(e)]),style:n,children:r})},py=e=>M.createPluginFactory({key:s0.heading2,isElement:!0,component:$a,deserializeHtml:{rules:[{validNodeName:["h2","H2"]}]}})({component:t=>c.jsx($a,{...t,styles:e})}),vy="textstyle-heading3-plugin";class au extends M.Plugin{constructor({styles:r=x0.heading3,...n}={}){super(s0.heading3,{label:"Heading 3",markupElement:new gy,...n});E0(this,"styles",{});this.styles=r}plugins(){return[my(this.styles)]}}class gy extends M.MarkupElement{constructor(t=vy,r=Fa){super(t,r)}}const Fa=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align;return c.jsx("h3",{...t,className:M.merge([a&&M.alignmentClassnames[a],M.getColumnBreakClasses(e)]),style:n,children:r})},my=e=>M.createPluginFactory({key:s0.heading3,isElement:!0,component:Fa,deserializeHtml:{rules:[{validNodeName:["h3","H3"]}]}})({component:t=>c.jsx(Fa,{...t,styles:e})}),by="textstyle-heading4-plugin";class lu extends M.Plugin{constructor({styles:r=x0.heading4,...n}={}){super(s0.heading4,{label:"Heading 4",markupElement:new wy,...n});E0(this,"styles",{});this.styles=r}plugins(){return[yy(this.styles)]}}class wy extends M.MarkupElement{constructor(t=by,r=Ba){super(t,r)}}const Ba=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align;return c.jsx("h4",{...t,className:M.merge([a&&M.alignmentClassnames[a],M.getColumnBreakClasses(e)]),style:n,children:r})},yy=e=>M.createPluginFactory({key:s0.heading4,isElement:!0,component:Ba,deserializeHtml:{rules:[{validNodeName:["h4","H4"]}]}})({component:t=>c.jsx(Ba,{...t,styles:e})}),Cy="textstyle-imageCaption-plugin";class iu extends M.Plugin{constructor({styles:r=x0.imageCaption,...n}={}){super(s0.imageCaption,{label:"Image Caption",markupElement:new xy,...n});E0(this,"styles",{});this.styles=r}plugins(){return[_y(this.styles)]}}class xy extends M.MarkupElement{constructor(t=Cy,r=Ra){super(t,r)}}const Ra=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align;return c.jsx("p",{...t,className:M.merge([a&&M.alignmentClassnames[a],M.getColumnBreakClasses(e)]),style:n,children:r})},_y=e=>M.createPluginFactory({key:s0.imageCaption,isElement:!0,component:Ra,deserializeHtml:{rules:[{validClassName:s0.imageCaption}]}})({component:t=>c.jsx(Ra,{...t,styles:e})}),My="textstyle-imageTitle-plugin";class su extends M.Plugin{constructor({styles:r=x0.imageTitle,...n}={}){super(s0.imageTitle,{label:"Image Title",markupElement:new Ay,...n});E0(this,"styles",{});this.styles=r}plugins(){return[Ey(this.styles)]}}class Ay extends M.MarkupElement{constructor(t=My,r=Ua){super(t,r)}}const Ua=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align;return c.jsx("p",{...t,className:M.merge([a&&M.alignmentClassnames[a],M.getColumnBreakClasses(e)]),style:n,children:r})},Ey=e=>M.createPluginFactory({key:s0.imageTitle,isElement:!0,component:Ua,deserializeHtml:{rules:[{validClassName:s0.imageTitle}]}})({component:t=>c.jsx(Ua,{...t,styles:e})});class cu extends M.Plugin{constructor({styles:r=x0.p,...n}={}){super(s0.p,{markupElement:new uu,label:"Body Text",...n});E0(this,"styles",{});this.styles=r}plugins(){return[fu(this.styles)]}}const du="tw-m-0 tw-px-0 tw-py-0",Wr=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align,o=M.merge([a&&M.alignmentClassnames[a],du,M.getColumnBreakClasses(e)]);return c.jsx("p",{...t,className:o,style:n,children:r})};class uu extends M.MarkupElement{constructor(t=s0.p,r=Wr){super(t,r)}}const fu=e=>M.createPluginFactory({...M.createParagraphPlugin(),key:s0.p,isElement:!0,component:Wr})({component:t=>c.jsx(Wr,{...t,styles:e})}),Sy="textstyle-quote-plugin";class hu extends M.Plugin{constructor({styles:r=x0.quote,...n}={}){super(s0.quote,{label:"Quote",markupElement:new Iy,...n});E0(this,"styles",{});this.styles=r}plugins(){return[pu(this.styles)]}}class Iy extends M.MarkupElement{constructor(t=Sy,r=Kr){super(t,r)}}const Kr=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align;return c.jsx("blockquote",{...t,className:M.merge([a&&M.alignmentClassnames[a],M.getColumnBreakClasses(e)]),style:n,children:r})},pu=e=>M.createPluginFactory({key:s0.quote,isElement:!0,component:Kr,deserializeHtml:{rules:[{validNodeName:["blockquote","BLOCKQUOTE"]}]}})({component:t=>c.jsx(Kr,{...t,styles:e})}),Wa=[new nu,new ou,new au,new lu,new Qd,new Jd,new tu,new hu,new cu],Be=[s0.heading1,s0.heading2,s0.heading3,s0.heading4,s0.custom1,s0.custom2,s0.custom3,s0.quote,s0.p],Py=[...Wa,new iu,new su],Ty=[...Be,s0.imageCaption,s0.imageTitle],ky=e=>new M.PluginComposer().setPlugin(new M.SoftBreakPlugin,new M.TextStylePlugin({textStyles:Wa})).setPlugin([new M.BoldPlugin,new M.ItalicPlugin,new M.UnderlinePlugin,new M.StrikethroughPlugin,new Yd({appBridge:e}),new $d({appBridge:e}),new M.CodePlugin],[new M.AlignLeftPlugin({validTypes:Be}),new M.AlignCenterPlugin({validTypes:Be}),new M.AlignRightPlugin({validTypes:Be}),new M.AlignJustifyPlugin({validTypes:Be}),new M.UnorderedListPlugin,new M.CheckboxListPlugin,new M.OrderedListPlugin,new M.ResetFormattingPlugin,new M.AutoformatPlugin]),Ny="--f-theme-settings-",zy=e=>{const t=e!=null&&e.id?`hasBackground${e.id}`:"hasBackground",r=e!=null&&e.id?`backgroundColor${e.id}`:"backgroundColor",n=e!=null&&e.preventDefaultColor?void 0:(e==null?void 0:e.defaultColor)||Ub,a=e!=null&&e.label?e.label:"Background",o=e!=null&&e.switchLabel?e.switchLabel:void 0;return{id:t,label:a,type:"switch",switchLabel:o,defaultValue:!!(e!=null&&e.defaultValue),on:[{id:r,defaultValue:n,type:"colorInput"}]}},Oy=e=>{const t=e!=null&&e.id?`hasBorder_${e.id}`:"hasBorder",r=e!=null&&e.id?`borderSelection_${e.id}`:"borderSelection",n=e!=null&&e.id?`borderStyle_${e.id}`:"borderStyle",a=e!=null&&e.id?`borderWidth_${e.id}`:"borderWidth",o=e!=null&&e.id?`borderColor_${e.id}`:"borderColor",l=(e==null?void 0:e.defaultColor)||Q7,i=e!=null&&e.switchLabel?e.switchLabel:void 0;return{id:t,label:"Border",type:"switch",switchLabel:i,defaultValue:!!(e!=null&&e.defaultValue),on:[{id:r,type:"multiInput",layout:Q.MultiInputLayout.Columns,lastItemFullWidth:!0,blocks:[{id:n,type:"dropdown",defaultValue:d1.Solid,choices:[{value:d1.Solid,label:d1.Solid},{value:d1.Dotted,label:d1.Dotted},{value:d1.Dashed,label:d1.Dashed}]},{id:a,type:"input",defaultValue:Wb,rules:[Q.numericalOrPixelRule,Q.minimumNumericalOrPixelRule(0),Q.maximumNumericalOrPixelOrAutoRule(500)],placeholder:"e.g. 3px",onChange:s=>Q.appendUnit(s,a)},{id:o,type:"colorInput",defaultValue:l}]}],off:[]}},Ka=(e,t=L1.None)=>({id:e,type:"segmentedControls",defaultValue:t,choices:[{value:L1.None,label:"None"},{value:L1.Small,label:"S"},{value:L1.Medium,label:"M"},{value:L1.Large,label:"L"}]}),Hy=e=>{const t=e!=null&&e.id?`hasRadius_${e.id}`:"hasRadius",r=e!=null&&e.id?`radiusValue_${e.id}`:"radiusValue",n=e!=null&&e.id?`radiusChoice_${e.id}`:"radiusChoice",a=(e==null?void 0:e.defaultRadius)||L1.None;return{id:t,label:"Corner radius",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"Determining how rounded the corners are.",show:o=>{var l;return e!=null&&e.dependentSettingId?!!((l=o.getBlock(e.dependentSettingId))!=null&&l.value):!0},onChange:o=>Q.presetCustomValue(o,n,r,(e==null?void 0:e.radiusStyleMap)||J1),on:[{id:r,type:"input",placeholder:"e.g. 10px",rules:[Q.numericalOrPixelRule],onChange:o=>Q.appendUnit(o,r)}],off:[Ka(n,a)]}},Dy=e=>{const t=e!=null&&e.id?`hasExtendedCustomRadius_${e.id}`:"hasExtendedCustomRadius",r=e!=null&&e.id?`extendedRadiusValue_${e.id}`:"extendedRadiusValue",n=e!=null&&e.id?`extendedRadiusChoice_${e.id}`:"extendedRadiusChoice",a=e!=null&&e.id?`extendedRadiusTopLeft_${e.id}`:"extendedRadiusTopLeft",o=e!=null&&e.id?`extendedRadiusTopRight_${e.id}`:"extendedRadiusTopRight",l=e!=null&&e.id?`extendedRadiusBottomLeft_${e.id}`:"extendedRadiusBottomLeft",i=e!=null&&e.id?`extendedRadiusBottomRight_${e.id}`:"extendedRadiusBottomRight";return{id:t,label:"Corner radius",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"Determining how rounded the corners are.",show:s=>{var d;return e!=null&&e.dependentSettingId?!!((d=s.getBlock(e.dependentSettingId))!=null&&d.value):!0},onChange:s=>{Q.presetCustomValue(s,n,a,J1),Q.presetCustomValue(s,n,o,J1),Q.presetCustomValue(s,n,l,J1),Q.presetCustomValue(s,n,i,J1)},on:[{id:r,type:"multiInput",layout:Q.MultiInputLayout.Columns,blocks:[{id:a,type:"input",label:"Top Left",rules:[Q.numericalOrPixelRule],onChange:s=>Q.appendUnit(s,a)},{id:o,type:"input",label:"Top Right",rules:[Q.numericalOrPixelRule],onChange:s=>Q.appendUnit(s,o)},{id:l,type:"input",label:"Bottom Left",rules:[Q.numericalOrPixelRule],onChange:s=>Q.appendUnit(s,l)},{id:i,type:"input",label:"Bottom Right",rules:[Q.numericalOrPixelRule],onChange:s=>Q.appendUnit(s,i)}]}],off:[Ka(n,e==null?void 0:e.defaultValue)]}},Ly=e=>{const t=e!=null&&e.id?e.id:"hasCustomSpacing",r=e!=null&&e.dependentSettingId?e.dependentSettingId:"columns",n=e!=null&&e.spacingChoiceId?e.spacingChoiceId:"spacingChoice",a=e!=null&&e.spacingCustomId?e.spacingCustomId:"spacingCustom",o=e!=null&&e.defaultValueChoices?e.defaultValueChoices:ne.M;return{id:t,type:"switch",defaultValue:!1,switchLabel:"Custom",label:"Gutter",info:"An official nerds term for ‘gap’",onChange:l=>Q.presetCustomValue(l,n,a,J7),show:l=>{var i;return((i=l.getBlock(r))==null?void 0:i.value)!=="1"},on:[{id:a,type:"input",rules:[Q.numericalOrPixelRule],onChange:l=>Q.appendUnit(l,a)}],off:[{id:n,type:"slider",defaultValue:o,choices:[{value:ne.Auto,label:"Auto"},{value:ne.S,label:"S"},{value:ne.M,label:"M"},{value:ne.L,label:"L"}]}]}},ja=e=>({id:e,type:"segmentedControls",defaultValue:te.None,choices:[{value:te.None,label:"None"},{value:te.Small,label:"S"},{value:te.Medium,label:"M"},{value:te.Large,label:"L"}]}),Vy=e=>{const t=e!=null&&e.id?`hasCustomMarginValue_${e==null?void 0:e.id}`:"hasCustomMarginValue",r=e!=null&&e.id?`marginValue_${e==null?void 0:e.id}`:"marginValue",n=e!=null&&e.id?`marginChoice_${e==null?void 0:e.id}`:"marginChoice";return{id:t,label:"Margin",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more space",onChange:a=>Q.presetCustomValue(a,n,r,(e==null?void 0:e.marginStyleMap)||He),on:[{id:r,type:"input",placeholder:vt,rules:[Q.numericalOrPixelRule,Q.maximumNumericalOrPixelOrAutoRule(500)],onChange:a=>Q.appendUnit(a,r)}],off:[ja(n)]}},$y=e=>{const t=e!=null&&e.id?`hasExtendedCustomMargin_${e==null?void 0:e.id}`:"hasExtendedCustomMargin",r=e!=null&&e.id?`extendedMarginValues_${e==null?void 0:e.id}`:"extendedMarginValues",n=e!=null&&e.id?`extendedMarginChoice_${e==null?void 0:e.id}`:"extendedMarginChoice",a=e!=null&&e.id?`extendedMarginTop_${e==null?void 0:e.id}`:"extendedMarginTop",o=e!=null&&e.id?`extendedMarginLeft_${e==null?void 0:e.id}`:"extendedMarginLeft",l=e!=null&&e.id?`extendedMarginRight_${e==null?void 0:e.id}`:"extendedMarginRight",i=e!=null&&e.id?`extendedMarginBottom_${e==null?void 0:e.id}`:"extendedMarginBottom";return{id:t,label:"Margin",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more negative space",onChange:s=>{Q.presetCustomValue(s,n,a,He),Q.presetCustomValue(s,n,o,He),Q.presetCustomValue(s,n,l,He),Q.presetCustomValue(s,n,i,He)},on:[{id:r,type:"multiInput",layout:Q.MultiInputLayout.Spider,blocks:[{id:a,type:"input",label:"Top",placeholder:vt,onChange:s=>Q.appendUnit(s,a),rules:[Q.numericalOrPixelRule,Q.maximumNumericalOrPixelOrAutoRule(500)]},{id:o,type:"input",label:"Left",placeholder:vt,onChange:s=>Q.appendUnit(s,o),rules:[Q.numericalOrPixelRule,Q.maximumNumericalOrPixelOrAutoRule(500)]},{id:l,type:"input",label:"Right",placeholder:vt,onChange:s=>Q.appendUnit(s,l),rules:[Q.numericalOrPixelRule,Q.maximumNumericalOrPixelOrAutoRule(500)]},{id:i,type:"input",label:"Bottom",placeholder:vt,onChange:s=>Q.appendUnit(s,i),rules:[Q.numericalOrPixelRule,Q.maximumNumericalOrPixelOrAutoRule(500)]}]}],off:[ja(n)]}},Ga=e=>({id:e,type:"segmentedControls",defaultValue:ee.Small,choices:[{value:ee.None,label:"None"},{value:ee.Small,label:"S"},{value:ee.Medium,label:"M"},{value:ee.Large,label:"L"}]}),Fy=e=>{const t=e!=null&&e.id?`hasCustomPaddingValue_${e==null?void 0:e.id}`:"hasCustomPaddingValue",r=e!=null&&e.id?`paddingValue_${e==null?void 0:e.id}`:"paddingValue",n=e!=null&&e.id?`paddingChoice_${e==null?void 0:e.id}`:"paddingChoice";return{id:t,label:"Padding",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more negative space",onChange:a=>Q.presetCustomValue(a,n,r,(e==null?void 0:e.paddingStyleMap)||Oe),on:[{id:r,type:"input",placeholder:pt,rules:[Q.numericalOrPixelRule,Q.maximumNumericalOrPixelOrAutoRule(500)],onChange:a=>Q.appendUnit(a,r)}],off:[Ga(n)]}},By=e=>{const t=e!=null&&e.id?`hasExtendedCustomPadding_${e==null?void 0:e.id}`:"hasExtendedCustomPadding",r=e!=null&&e.id?`extendedPaddingValues_${e==null?void 0:e.id}`:"extendedPaddingValues",n=e!=null&&e.id?`extendedPaddingChoice_${e==null?void 0:e.id}`:"extendedPaddingChoice",a=e!=null&&e.id?`extendedPaddingTop_${e==null?void 0:e.id}`:"extendedPaddingTop",o=e!=null&&e.id?`extendedPaddingLeft_${e==null?void 0:e.id}`:"extendedPaddingLeft",l=e!=null&&e.id?`extendedPaddingRight_${e==null?void 0:e.id}`:"extendedPaddingRight",i=e!=null&&e.id?`extendedPaddingBottom_${e==null?void 0:e.id}`:"extendedPaddingBottom";return{id:t,label:"Padding",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more negative space",onChange:s=>{Q.presetCustomValue(s,n,a,Oe),Q.presetCustomValue(s,n,o,Oe),Q.presetCustomValue(s,n,l,Oe),Q.presetCustomValue(s,n,i,Oe)},on:[{id:r,type:"multiInput",layout:Q.MultiInputLayout.Spider,blocks:[{id:a,type:"input",label:"Top",placeholder:pt,onChange:s=>Q.appendUnit(s,a),rules:[Q.numericalOrPixelRule,Q.maximumNumericalOrPixelOrAutoRule(500)]},{id:o,type:"input",label:"Left",placeholder:pt,onChange:s=>Q.appendUnit(s,o),rules:[Q.numericalOrPixelRule,Q.maximumNumericalOrPixelOrAutoRule(500)]},{id:l,type:"input",label:"Right",placeholder:pt,onChange:s=>Q.appendUnit(s,l),rules:[Q.numericalOrPixelRule,Q.maximumNumericalOrPixelOrAutoRule(500)]},{id:i,type:"input",label:"Bottom",placeholder:pt,onChange:s=>Q.appendUnit(s,i),rules:[Q.numericalOrPixelRule,Q.maximumNumericalOrPixelOrAutoRule(500)]}]}],off:[Ga(n)]}},Ry=e=>{const t=qa(e==null?void 0:e.globalControlId);return{id:e!=null&&e.id?e.id:"downloadable",type:"switch",defaultValue:!1,label:"Downloadable",show:r=>{var n;return((n=r.getBlock(t))==null?void 0:n.value)===re.Custom}}},qa=e=>e||"security",Uy=e=>[{id:qa(e),type:"segmentedControls",defaultValue:re.Global,choices:[{value:re.Global,label:"Global Settings"},{value:re.Custom,label:"Custom"}]},{id:"globalSettingsInfo",type:"notification",footer:Q.createFooter({label:"Change global settings [here].",replace:{here:{event:"general-settings.open"}}})}];var vu=(e=>(e.Main="main",e.Basics="basics",e.Layout="layout",e.Style="style",e.Security="security",e.Targets="targets",e))(vu||{});const Wy=e=>e,Ky=e=>e;T.AllTextStylePlugins=Py,T.AllTextStyles=Ty,T.AttachmentOperationsProvider=Gb,T.Attachments=cd,T.AttachmentsProvider=od,T.AttachmentsToolbarButton=fd,T.BUTTON_PLUGIN=Ld,T.BlockButtonStyles=Ur,T.BlockInjectButton=zb,T.BlockItemWrapper=yd,T.BlockStyles=x0,T.BorderStyle=d1,T.BreakAfterPlugin=Jw,T.ButtonPlugin=$d,T.Custom1Plugin=Qd,T.Custom2Plugin=Jd,T.Custom3Plugin=tu,T.DEFAULT_ATTACHMENTS_BUTTON_ID=ud,T.DEFAULT_DRAGGING_TOOLTIP=pd,T.DEFAULT_DRAG_TOOLTIP=hd,T.DEFAULT_MENU_BUTTON_ID=Sa,T.DownloadButton=rw,T.DragHandleToolbarButton=vd,T.DragPreviewContextProvider=ed,T.ELEMENT_BUTTON=m0,T.FlyoutToolbarButton=gd,T.GAP_DEFAULT=Xd,T.GutterSpacing=ne,T.Heading1Plugin=nu,T.Heading2Plugin=ou,T.Heading3Plugin=au,T.Heading4Plugin=lu,T.ImageCaptionPlugin=iu,T.ImageTitlePlugin=su,T.KEY_ELEMENT_BREAK_AFTER_COLUMN=Zw,T.LinkInput=Od,T.LinkPlugin=Yd,T.LinkSelector=zd,T.Margin=te,T.MenuToolbarButton=md,T.MultiFlyoutContextProvider=td,T.PARAGRAPH_CLASSES=du,T.Padding=ee,T.ParagraphMarkupElement=uu,T.ParagraphMarkupElementNode=Wr,T.ParagraphPlugin=cu,T.QuoteMarkupElementNode=Kr,T.QuotePlugin=hu,T.Radius=L1,T.RichTextEditor=Fw,T.Sections=vu,T.Security=re,T.THEME_PREFIX=Ny,T.TextStylePluginsWithoutImage=Wa,T.TextStyles=s0,T.TextStylesWithoutImage=Be,T.Toolbar=wd,T.addHttps=Fr,T.borderStyleMap=Z7,T.convertToRteValue=aw,T.createButtonNode=Id,T.createButtonPlugin=Vd,T.createLinkPlugin=qd,T.createParagraphPlugin=fu,T.createQuotePlugin=pu,T.customCoordinatesGetterFactory=ld,T.defineBlock=Wy,T.defineSettings=Ky,T.getBackgroundColorStyles=Rb,T.getBackgroundSettings=zy,T.getBorderRadiusSettings=Hy,T.getBorderRadiusSlider=Ka,T.getBorderSettings=Oy,T.getBorderStyles=Kb,T.getDefaultPluginsWithLinkChooser=ky,T.getExtendedBorderRadiusSettings=Dy,T.getGutterSettings=Ly,T.getLegacyUrl=dw,T.getLinkFromEditor=fw,T.getMarginExtendedSettings=$y,T.getMarginSettings=Vy,T.getMarginSlider=ja,T.getPaddingExtendedSettings=By,T.getPaddingSettings=Fy,T.getPaddingSlider=Ga,T.getRadiusStyles=jb,T.getReadableColor=Fb,T.getSecurityDownloadableSetting=Ry,T.getSecurityGlobalControlId=qa,T.getSecurityGlobalControlSetting=Uy,T.getUrl=uw,T.getUrlFromEditor=Sd,T.getUrlFromLinkOrLegacyLink=Ta,T.gutterSpacingStyleMap=J7,T.hasRichTextValue=Cd,T.insertButton=Md,T.isDark=Hb,T.isDownloadable=lw,T.isValidUrl=Br,T.isValidUrlOrEmpty=Ve,T.joinClassNames=c1,T.mapAppBridgeColorPaletteToFonduePalette=xd,T.mapAppBridgeColorPalettesToFonduePalettes=iw,T.marginStyleMap=He,T.moveItemInArray=Bb,T.paddingStyleMap=Oe,T.radiusStyleMap=J1,T.relativeUrlRegex=ka,T.setAlpha=Vb,T.submitFloatingButton=Na,T.toColorObject=$b,T.toHex8String=Db,T.toHexString=Lb,T.toRgbaString=xa,T.toShortRgba=Z1,T.triggerFloatingButton=Pd,T.triggerFloatingButtonEdit=Rr,T.triggerFloatingButtonInsert=Oa,T.unwrapButton=$e,T.upsertButton=Ad,T.upsertButtonText=za,T.useAttachmentOperations=Aa,T.useAttachments=nd,T.useAttachmentsContext=ad,T.useDndSensors=Qb,T.useDragPreviewContext=De,T.useMultiFlyoutContext=rd,T.useMultiFlyoutState=Vr,T.withAttachmentsProvider=qb,T.withButton=_d,T.wrapButton=Ed,Object.keys(Q).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(T,e)&&Object.defineProperty(T,e,{enumerable:!0,get:()=>Q[e]})}),Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});
88
88
  //# sourceMappingURL=index.umd.js.map