@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.cjs.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 ${wa} if no \`max\` prop is set)
83
83
  - \`null\` or \`undefined\` if the progress is indeterminate.
84
84
 
85
- Defaulting to \`null\`.`}var Zg=kc,Jg=zc;const em=te({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"}}}),tm=te({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]"}}}),rm=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(Zg,{ref:i,"data-test-id":o,className:em({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(Jg,{className:tm({variant:n,indeterminateState:e===null})})}));rm.displayName="LoadingBar";function ya(e,[t,r]){return Math.min(r,Math.max(t,e))}function nm(e,t){return p.useReducer((r,n)=>t[r][n]??r,e)}var xa="ScrollArea",[Hc,nx]=H0(xa),[om,X0]=Hc(xa),Dc=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,x]=p.useState(null),[m,v]=p.useState(null),[C,y]=p.useState(0),[_,A]=p.useState(0),[S,I]=p.useState(!1),[H,R]=p.useState(!1),L=c0(t,F=>s(F)),j=Ie(a);return c.jsx(om,{scope:r,type:n,dir:j,scrollHideDelay:o,scrollArea:i,viewport:d,onViewportChange:u,content:f,onContentChange:h,scrollbarX:g,onScrollbarXChange:x,scrollbarXEnabled:S,onScrollbarXEnabledChange:I,scrollbarY:m,onScrollbarYChange:v,scrollbarYEnabled:H,onScrollbarYEnabledChange:R,onCornerWidthChange:y,onCornerHeightChange:A,children:c.jsx(n0.div,{dir:j,...l,ref:L,style:{position:"relative","--radix-scroll-area-corner-width":C+"px","--radix-scroll-area-corner-height":_+"px",...e.style}})})});Dc.displayName=xa;var jc="ScrollAreaViewport",Lc=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:n,nonce:a,...o}=e,l=X0(jc,r),i=p.useRef(null),s=c0(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(n0.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})})]})});Lc.displayName=jc;var c1="ScrollAreaScrollbar",Vc=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=X0(c1,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(am,{...n,ref:t,forceMount:r}):a.type==="scroll"?c.jsx(lm,{...n,ref:t,forceMount:r}):a.type==="auto"?c.jsx($c,{...n,ref:t,forceMount:r}):a.type==="always"?c.jsx(Ca,{...n,ref:t}):null});Vc.displayName=c1;var am=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=X0(c1,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(I0,{present:r||o,children:c.jsx($c,{"data-state":o?"visible":"hidden",...n,ref:t})})}),lm=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=X0(c1,e.__scopeScrollArea),o=e.orientation==="horizontal",l=Nr(()=>s("SCROLL_END"),100),[i,s]=nm("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(I0,{present:r||i!=="hidden",children:c.jsx(Ca,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:Z(e.onPointerEnter,()=>s("POINTER_ENTER")),onPointerLeave:Z(e.onPointerLeave,()=>s("POINTER_LEAVE"))})})}),$c=p.forwardRef((e,t)=>{const r=X0(c1,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,l]=p.useState(!1),i=e.orientation==="horizontal",s=Nr(()=>{if(r.viewport){const d=r.viewport.offsetWidth<r.viewport.scrollWidth,u=r.viewport.offsetHeight<r.viewport.scrollHeight;l(i?d:u)}},10);return Ce(r.viewport,s),Ce(r.content,s),c.jsx(I0,{present:n||o,children:c.jsx(Ca,{"data-state":o?"visible":"hidden",...a,ref:t})})}),Ca=p.forwardRef((e,t)=>{const{orientation:r="vertical",...n}=e,a=X0(c1,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=Kc(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 fm(h,l.current,i,g)}return r==="horizontal"?c.jsx(im,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const h=a.viewport.scrollLeft,g=rl(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(sm,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const h=a.viewport.scrollTop,g=rl(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}),im=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=X0(c1,e.__scopeScrollArea),[l,i]=p.useState(),s=p.useRef(null),d=c0(t,s,o.onScrollbarXChange);return p.useEffect(()=>{s.current&&i(getComputedStyle(s.current))},[s]),c.jsx(Bc,{"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":kr(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),qc(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:lr(l.paddingLeft),paddingEnd:lr(l.paddingRight)}})}})}),sm=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=X0(c1,e.__scopeScrollArea),[l,i]=p.useState(),s=p.useRef(null),d=c0(t,s,o.onScrollbarYChange);return p.useEffect(()=>{s.current&&i(getComputedStyle(s.current))},[s]),c.jsx(Bc,{"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":kr(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),qc(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:lr(l.paddingTop),paddingEnd:lr(l.paddingBottom)}})}})}),[cm,Fc]=Hc(c1),Bc=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=X0(c1,r),[x,m]=p.useState(null),v=c0(t,L=>m(L)),C=p.useRef(null),y=p.useRef(""),_=g.viewport,A=n.content-n.viewport,S=N0(u),I=N0(s),H=Nr(f,10);function R(L){if(C.current){const j=L.clientX-C.current.left,F=L.clientY-C.current.top;d({x:j,y:F})}}return p.useEffect(()=>{const L=j=>{const F=j.target;(x==null?void 0:x.contains(F))&&S(j,A)};return document.addEventListener("wheel",L,{passive:!1}),()=>document.removeEventListener("wheel",L,{passive:!1})},[_,x,A,S]),p.useEffect(I,[n,I]),Ce(x,H),Ce(g.content,H),c.jsx(cm,{scope:r,scrollbar:x,hasThumb:a,onThumbChange:N0(o),onThumbPointerUp:N0(l),onThumbPositionChange:I,onThumbPointerDown:N0(i),children:c.jsx(n0.div,{...h,ref:v,style:{position:"absolute",...h.style},onPointerDown:Z(e.onPointerDown,L=>{L.button===0&&(L.target.setPointerCapture(L.pointerId),C.current=x.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",g.viewport&&(g.viewport.style.scrollBehavior="auto"),R(L))}),onPointerMove:Z(e.onPointerMove,R),onPointerUp:Z(e.onPointerUp,L=>{const j=L.target;j.hasPointerCapture(L.pointerId)&&j.releasePointerCapture(L.pointerId),document.body.style.webkitUserSelect=y.current,g.viewport&&(g.viewport.style.scrollBehavior=""),C.current=null})})})}),ar="ScrollAreaThumb",Uc=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Fc(ar,e.__scopeScrollArea);return c.jsx(I0,{present:r||a.hasThumb,children:c.jsx(dm,{ref:t,...n})})}),dm=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:n,...a}=e,o=X0(ar,r),l=Fc(ar,r),{onThumbPositionChange:i}=l,s=c0(t,f=>l.onThumbChange(f)),d=p.useRef(void 0),u=Nr(()=>{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=hm(f,i);d.current=g,i()}};return i(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[o.viewport,u,i]),c.jsx(n0.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:Z(e.onPointerDownCapture,f=>{const g=f.target.getBoundingClientRect(),x=f.clientX-g.left,m=f.clientY-g.top;l.onThumbPointerDown({x,y:m})}),onPointerUp:Z(e.onPointerUp,l.onThumbPointerUp)})});Uc.displayName=ar;var _a="ScrollAreaCorner",Wc=p.forwardRef((e,t)=>{const r=X0(_a,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?c.jsx(um,{...e,ref:t}):null});Wc.displayName=_a;var um=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,...n}=e,a=X0(_a,r),[o,l]=p.useState(0),[i,s]=p.useState(0),d=!!(o&&i);return Ce(a.scrollbarX,()=>{var f;const u=((f=a.scrollbarX)==null?void 0:f.offsetHeight)||0;a.onCornerHeightChange(u),s(u)}),Ce(a.scrollbarY,()=>{var f;const u=((f=a.scrollbarY)==null?void 0:f.offsetWidth)||0;a.onCornerWidthChange(u),l(u)}),d?c.jsx(n0.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 lr(e){return e?parseInt(e,10):0}function Kc(e,t){const r=e/t;return isNaN(r)?0:r}function kr(e){const t=Kc(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function fm(e,t,r,n="ltr"){const a=kr(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 Gc([s,d],f)(e)}function rl(e,t,r="ltr"){const n=kr(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=ya(e,s);return Gc([0,l],[0,i])(d)}function Gc(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 qc(e,t){return e>0&&e<t}var hm=(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 Nr(e,t){const r=N0(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 Ce(e,t){const r=N0(t);m1(()=>{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 pm=Dc,vm=Lc,nl=Vc,ol=Uc,gm=Wc;const mm="_root_hkznm_4",bm="_viewport_hkznm_12",wm="_scrollbar_hkznm_43",ym="_thumb_hkznm_75",xm="_corner_hkznm_93",$1={root:mm,viewport:bm,scrollbar:wm,thumb:ym,corner:xm},Cm=({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(pm,{type:e,className:$1.root,style:{maxWidth:r},"data-test-id":i,ref:s,children:[c.jsx(vm,{className:$1.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(nl,{className:$1.scrollbar,orientation:"vertical","data-test-id":`${i}-vertical-scrollbar`,children:c.jsx(ol,{className:$1.thumb,"data-test-id":`${i}-vertical-scrollbar-thumb`})}),c.jsx(nl,{className:$1.scrollbar,orientation:"horizontal","data-test-id":`${i}-horizontal-scrollbar`,children:c.jsx(ol,{className:$1.thumb,"data-test-id":`${i}-horizontal-scrollbar-thumb`})}),c.jsx(gm,{className:$1.corner,"data-test-id":`${i}-corner`})]}),Yc=b.forwardRef(Cm);Yc.displayName="ScrollArea";const _m="_root_5sic9_5",Mm={root:_m},Am=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:Mm.root,"data-test-id":e,style:fr(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}));Am.displayName="Section";var Xc="Toggle",Qc=p.forwardRef((e,t)=>{const{pressed:r,defaultPressed:n,onPressedChange:a,...o}=e,[l,i]=Y0({prop:r,onChange:a,defaultProp:n??!1,caller:Xc});return c.jsx(n0.button,{type:"button","aria-pressed":l,"data-state":l?"on":"off","data-disabled":e.disabled?"":void 0,...o,ref:t,onClick:Z(e.onClick,()=>{e.disabled||i(!l)})})});Qc.displayName=Xc;var j1="ToggleGroup",[Zc,ox]=H0(j1,[De]),Jc=De(),Ma=b.forwardRef((e,t)=>{const{type:r,...n}=e;if(r==="single"){const a=n;return c.jsx(Sm,{...a,ref:t})}if(r==="multiple"){const a=n;return c.jsx(Em,{...a,ref:t})}throw new Error(`Missing prop \`type\` expected on \`${j1}\``)});Ma.displayName=j1;var[ed,td]=Zc(j1),Sm=b.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:a=()=>{},...o}=e,[l,i]=Y0({prop:r,defaultProp:n??"",onChange:a,caller:j1});return c.jsx(ed,{scope:e.__scopeToggleGroup,type:"single",value:b.useMemo(()=>l?[l]:[],[l]),onItemActivate:i,onItemDeactivate:b.useCallback(()=>i(""),[i]),children:c.jsx(rd,{...o,ref:t})})}),Em=b.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:a=()=>{},...o}=e,[l,i]=Y0({prop:r,defaultProp:n??[],onChange:a,caller:j1}),s=b.useCallback(u=>i((f=[])=>[...f,u]),[i]),d=b.useCallback(u=>i((f=[])=>f.filter(h=>h!==u)),[i]);return c.jsx(ed,{scope:e.__scopeToggleGroup,type:"multiple",value:l,onItemActivate:s,onItemDeactivate:d,children:c.jsx(rd,{...o,ref:t})})});Ma.displayName=j1;var[Im,Pm]=Zc(j1),rd=b.forwardRef((e,t)=>{const{__scopeToggleGroup:r,disabled:n=!1,rovingFocus:a=!0,orientation:o,dir:l,loop:i=!0,...s}=e,d=Jc(r),u=Ie(l),f={role:"group",dir:u,...s};return c.jsx(Im,{scope:r,rovingFocus:a,disabled:n,children:a?c.jsx(ca,{asChild:!0,...d,orientation:o,dir:u,loop:i,children:c.jsx(n0.div,{...f,ref:t})}):c.jsx(n0.div,{...f,ref:t})})}),ir="ToggleGroupItem",nd=b.forwardRef((e,t)=>{const r=td(ir,e.__scopeToggleGroup),n=Pm(ir,e.__scopeToggleGroup),a=Jc(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(da,{asChild:!0,...a,focusable:!l,active:o,ref:s,children:c.jsx(al,{...i,ref:t})}):c.jsx(al,{...i,ref:t})});nd.displayName=ir;var al=b.forwardRef((e,t)=>{const{__scopeToggleGroup:r,value:n,...a}=e,o=td(ir,r),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},i=o.type==="single"?l:void 0;return c.jsx(Qc,{...i,...a,ref:t,onPressedChange:s=>{s?o.onItemActivate(n):o.onItemDeactivate(n)}})}),Rm=Ma,Tm=nd;const od=({prop:e,defaultProp:t,onChange:r=()=>{}})=>{const[n,a]=km({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]},km=({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]},Nm="_root_1yzu4_5",zm="_item_1yzu4_30",Om="_itemLabel_1yzu4_50",Hm="_itemLabelActive_1yzu4_70",Dm="_itemLabelInactive_1yzu4_100",jm="_activeIndicator_1yzu4_130",Lm="_separator_1yzu4_227",F1={root:Nm,item:zm,itemLabel:Om,itemLabelActive:Hm,itemLabelInactive:Dm,activeIndicator:jm,separator:Lm},ad=({children:e,value:t,defaultValue:r,onValueChange:n,hugWidth:a=!0,...o},l)=>{const[i,s]=od({prop:t,defaultProp:r,onChange:n});return c.jsxs(Rm,{ref:l,...o,className:F1.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:F1.activeIndicator})]})};ad.displayName="SegmentedControl.Root";const ld=({children:e,...t},r)=>c.jsxs(Tm,{ref:r,...t,className:F1.item,asChild:!1,children:[c.jsx("span",{className:F1.separator}),c.jsxs("span",{className:F1.itemLabel,children:[c.jsx("span",{className:F1.itemLabelActive,children:e}),c.jsx("span",{className:F1.itemLabelInactive,children:e})]})]});ld.displayName="SegmentedControl.Item";b.forwardRef(ad),b.forwardRef(ld);var id=["PageUp","PageDown"],sd=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],cd={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},je="Slider",[Vn,Vm,$m]=Jn(je),[dd,ax]=H0(je,[$m]),[Fm,zr]=dd(je),ud=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:x,...m}=e,v=p.useRef(new Set),C=p.useRef(0),_=l==="horizontal"?Bm:Um,[A=[],S]=Y0({prop:u,defaultProp:d,onChange:F=>{var B;(B=[...v.current][C.current])==null||B.focus(),f(F)}}),I=p.useRef(A);function H(F){const P=Ym(A,F);j(F,P)}function R(F){j(F,C.current)}function L(){const F=I.current[C.current];A[C.current]!==F&&h(A)}function j(F,P,{commit:B}={commit:!1}){const z=Jm(o),q=e9(Math.round((F-n)/o)*o+n,z),U=ya(q,[n,a]);S((V=[])=>{const D=Gm(V,U,P);if(Zm(D,s*o)){C.current=D.indexOf(U);const T=String(D)!==String(V);return T&&B&&h(D),T?D:V}else return V})}return c.jsx(Fm,{scope:e.__scopeSlider,name:r,disabled:i,min:n,max:a,valueIndexToChangeRef:C,thumbs:v.current,values:A,orientation:l,form:x,children:c.jsx(Vn.Provider,{scope:e.__scopeSlider,children:c.jsx(Vn.Slot,{scope:e.__scopeSlider,children:c.jsx(_,{"aria-disabled":i,"data-disabled":i?"":void 0,...m,ref:t,onPointerDown:Z(m.onPointerDown,()=>{i||(I.current=A)}),min:n,max:a,inverted:g,onSlideStart:i?void 0:H,onSlideMove:i?void 0:R,onSlideEnd:i?void 0:L,onHomeKeyDown:()=>!i&&j(n,0,{commit:!0}),onEndKeyDown:()=>!i&&j(a,A.length-1,{commit:!0}),onStepKeyDown:({event:F,direction:P})=>{if(!i){const q=id.includes(F.key)||F.shiftKey&&sd.includes(F.key)?10:1,U=C.current,V=A[U],D=o*q*P;j(V+D,U,{commit:!0})}}})})})})});ud.displayName=je;var[fd,hd]=dd(je,{startEdge:"left",endEdge:"right",size:"width",direction:1}),Bm=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=c0(t,_=>h(_)),x=p.useRef(void 0),m=Ie(a),v=m==="ltr",C=v&&!o||!v&&o;function y(_){const A=x.current||f.getBoundingClientRect(),S=[0,A.width],H=Aa(S,C?[r,n]:[n,r]);return x.current=A,H(_-A.left)}return c.jsx(fd,{scope:e.__scopeSlider,startEdge:C?"left":"right",endEdge:C?"right":"left",direction:C?1:-1,size:"width",children:c.jsx(pd,{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:()=>{x.current=void 0,s==null||s()},onStepKeyDown:_=>{const S=cd[C?"from-left":"from-right"].includes(_.key);d==null||d({event:_,direction:S?-1:1})}})})}),Um=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=c0(t,u),h=p.useRef(void 0),g=!a;function x(m){const v=h.current||u.current.getBoundingClientRect(),C=[0,v.height],_=Aa(C,g?[n,r]:[r,n]);return h.current=v,_(m-v.top)}return c.jsx(fd,{scope:e.__scopeSlider,startEdge:g?"bottom":"top",endEdge:g?"top":"bottom",size:"height",direction:g?1:-1,children:c.jsx(pd,{"data-orientation":"vertical",...d,ref:f,style:{...d.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:m=>{const v=x(m.clientY);o==null||o(v)},onSlideMove:m=>{const v=x(m.clientY);l==null||l(v)},onSlideEnd:()=>{h.current=void 0,i==null||i()},onStepKeyDown:m=>{const C=cd[g?"from-bottom":"from-top"].includes(m.key);s==null||s({event:m,direction:C?-1:1})}})})}),pd=p.forwardRef((e,t)=>{const{__scopeSlider:r,onSlideStart:n,onSlideMove:a,onSlideEnd:o,onHomeKeyDown:l,onEndKeyDown:i,onStepKeyDown:s,...d}=e,u=zr(je,r);return c.jsx(n0.span,{...d,ref:t,onKeyDown:Z(e.onKeyDown,f=>{f.key==="Home"?(l(f),f.preventDefault()):f.key==="End"?(i(f),f.preventDefault()):id.concat(sd).includes(f.key)&&(s(f),f.preventDefault())}),onPointerDown:Z(e.onPointerDown,f=>{const h=f.target;h.setPointerCapture(f.pointerId),f.preventDefault(),u.thumbs.has(h)?h.focus():n(f)}),onPointerMove:Z(e.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&a(f)}),onPointerUp:Z(e.onPointerUp,f=>{const h=f.target;h.hasPointerCapture(f.pointerId)&&(h.releasePointerCapture(f.pointerId),o(f))})})}),vd="SliderTrack",gd=p.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,a=zr(vd,r);return c.jsx(n0.span,{"data-disabled":a.disabled?"":void 0,"data-orientation":a.orientation,...n,ref:t})});gd.displayName=vd;var $n="SliderRange",md=p.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,a=zr($n,r),o=hd($n,r),l=p.useRef(null),i=c0(t,l),s=a.values.length,d=a.values.map(h=>yd(h,a.min,a.max)),u=s>1?Math.min(...d):0,f=100-Math.max(...d);return c.jsx(n0.span,{"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,...n,ref:i,style:{...e.style,[o.startEdge]:u+"%",[o.endEdge]:f+"%"}})});md.displayName=$n;var Fn="SliderThumb",bd=p.forwardRef((e,t)=>{const r=Vm(e.__scopeSlider),[n,a]=p.useState(null),o=c0(t,i=>a(i)),l=p.useMemo(()=>n?r().findIndex(i=>i.ref.current===n):-1,[r,n]);return c.jsx(Wm,{...e,ref:o,index:l})}),Wm=p.forwardRef((e,t)=>{const{__scopeSlider:r,index:n,name:a,...o}=e,l=zr(Fn,r),i=hd(Fn,r),[s,d]=p.useState(null),u=c0(t,y=>d(y)),f=s?l.form||!!s.closest("form"):!0,h=hr(s),g=l.values[n],x=g===void 0?0:yd(g,l.min,l.max),m=qm(n,l.values.length),v=h==null?void 0:h[i.size],C=v?Xm(v,x,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(${x}% + ${C}px)`},children:[c.jsx(Vn.ItemSlot,{scope:e.__scopeSlider,children:c.jsx(n0.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:Z(e.onFocus,()=>{l.valueIndexToChangeRef.current=n})})}),f&&c.jsx(wd,{name:a??(l.name?l.name+(l.values.length>1?"[]":""):void 0),form:l.form,value:g},n)]})});bd.displayName=Fn;var Km="RadioBubbleInput",wd=p.forwardRef(({__scopeSlider:e,value:t,...r},n)=>{const a=p.useRef(null),o=c0(a,n),l=ro(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(n0.input,{style:{display:"none"},...r,ref:o,defaultValue:t})});wd.displayName=Km;function Gm(e=[],t,r){const n=[...e];return n[r]=t,n.sort((a,o)=>a-o)}function yd(e,t,r){const o=100/(r-t)*(e-t);return ya(o,[0,100])}function qm(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function Ym(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 Xm(e,t,r){const n=e/2,o=Aa([0,50],[0,n]);return(n-o(t)*r)*r}function Qm(e){return e.slice(0,-1).map((t,r)=>e[r+1]-t)}function Zm(e,t){if(t>0){const r=Qm(e);return Math.min(...r)>=t}return!0}function Aa(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 Jm(e){return(String(e).split(".")[1]||"").length}function e9(e,t){const r=Math.pow(10,t);return Math.round(e*r)/r}var t9=ud,r9=gd,n9=md,o9=bd;const a9="_root_fs3zj_5",l9="_thumb_fs3zj_17",i9="_track_fs3zj_21",s9="_range_fs3zj_28",Tt={root:a9,thumb:l9,track:i9,range:s9},c9=({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(t9,{ref:l,className:Tt.root,value:e,defaultValue:t,onValueChange:r,onValueCommit:n,"data-test-id":a,...o,children:[c.jsx(r9,{onPointerDown:()=>{i.current&&(i.current.dataset.showFocusRing="false")},className:Tt.track,children:c.jsx(n9,{className:Tt.range})}),(e||t).map((s,d)=>c.jsx(o9,{ref:i,className:Tt.thumb,onPointerDown:u=>{u.currentTarget.dataset.showFocusRing="false"},onBlur:u=>{u.currentTarget.dataset.showFocusRing="true"}},d))]})},d9=b.forwardRef(c9);d9.displayName="Slider";var Or="Switch",[u9,lx]=H0(Or),[f9,h9]=u9(Or),xd=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),x=c0(t,_=>g(_)),m=p.useRef(!1),v=h?u||!!h.closest("form"):!0,[C,y]=Y0({prop:a,defaultProp:o??!1,onChange:d,caller:Or});return c.jsxs(f9,{scope:r,checked:C,disabled:i,children:[c.jsx(n0.button,{type:"button",role:"switch","aria-checked":C,"aria-required":l,"data-state":Ad(C),"data-disabled":i?"":void 0,disabled:i,value:s,...f,ref:x,onClick:Z(e.onClick,_=>{y(A=>!A),v&&(m.current=_.isPropagationStopped(),m.current||_.stopPropagation())})}),v&&c.jsx(Md,{control:h,bubbles:!m.current,name:n,value:s,checked:C,required:l,disabled:i,form:u,style:{transform:"translateX(-100%)"}})]})});xd.displayName=Or;var Cd="SwitchThumb",_d=p.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,a=h9(Cd,r);return c.jsx(n0.span,{"data-state":Ad(a.checked),"data-disabled":a.disabled?"":void 0,...n,ref:t})});_d.displayName=Cd;var p9="SwitchBubbleInput",Md=p.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...a},o)=>{const l=p.useRef(null),i=c0(l,o),s=ro(r),d=hr(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 x=new Event("click",{bubbles:n});g.call(u,r),u.dispatchEvent(x)}},[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}})});Md.displayName=p9;function Ad(e){return e?"checked":"unchecked"}var v9=xd,g9=_d;const m9="_root_1g6pz_5",b9="_small_1g6pz_16",w9="_medium_1g6pz_20",y9="_large_1g6pz_24",x9="_thumb_1g6pz_61",pn={root:m9,small:b9,medium:w9,large:y9,thumb:x9},C9=({value:e,defaultValue:t,size:r="medium",onChange:n,"data-test-id":a="fondue-switch","aria-label":o="Switch",...l},i)=>c.jsx(v9,{ref:i,checked:e,defaultChecked:t,className:s1([pn.root,pn[r]]),onCheckedChange:n,"aria-label":o,"data-test-id":a,...l,children:c.jsx(g9,{className:pn.thumb})}),_9=b.forwardRef(C9);_9.displayName="Switch";const Sd=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])},M9="_table_1outv_4",A9="_headerCell_1outv_18",S9="_rowCell_1outv_19",E9="_caption_1outv_46",I9="_cellContent_1outv_71",P9="_sortIndicator_1outv_96",R9="_body_1outv_100",T9="_row_1outv_19",k9="_buttonText_1outv_164",W0={table:M9,headerCell:A9,rowCell:S9,caption:E9,cellContent:I9,sortIndicator:P9,body:R9,row:T9,buttonText:k9};function N9(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 z9(e){const t=e.target,r=t.closest("tr");if(!r||t!==r||!["ArrowUp","ArrowDown"].includes(e.key))return;const n=N9(r,e.key);n&&(e.preventDefault(),n.focus())}const O9=[HTMLButtonElement,HTMLAnchorElement],H9=["button","link"];function D9(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(O9.some(o=>n instanceof o))return!0;const a=n.getAttribute("role");if(a&&H9.includes(a))return!0;n=n.parentElement}return!1}const j9=b.forwardRef(({layout:e="auto",fontSize:t="medium",sticky:r,children:n,...a},o)=>c.jsx("table",{ref:o,className:W0.table,"data-layout":e,"data-font-size":t,"data-sticky":r,onKeyDown:z9,...a,children:n}));j9.displayName="Table.Root";const L9=b.forwardRef(({children:e},t)=>c.jsx("caption",{ref:t,className:W0.caption,children:e}));L9.displayName="Table.Caption";const V9=b.forwardRef(({children:e,"aria-label":t,"aria-busy":r},n)=>c.jsx("thead",{ref:n,className:W0.header,"aria-label":t,"aria-busy":r,children:e}));V9.displayName="Table.Header";const $9=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);ia(g,h),Sd(g);const x=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:W0.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:W0.cellContent,"aria-live":"polite","aria-label":d,children:[typeof f=="string"&&t?c.jsx("span",{className:W0.buttonText,children:f}):f,c.jsx(ze,{"data-test-id":"fondue-loading-circle",size:"xx-small"})]}):u?c.jsxs("button",{className:W0.cellContent,"aria-label":x,"data-active":!!o,onClick:m,type:"button",children:[typeof f=="string"&&t?c.jsx("span",{className:W0.buttonText,children:f}):f,c.jsx(Cl,{width:3,children:o==="ascending"?c.jsx(M7,{size:"12"}):o==="descending"?c.jsx(_7,{size:"12"}):c.jsx(C7,{className:W0.sortIndicator,size:"12"})})]}):f})});$9.displayName="Table.HeaderCell";const F9=b.forwardRef(({children:e,"aria-busy":t},r)=>c.jsx("tbody",{ref:r,className:W0.body,"aria-busy":t,children:e}));F9.displayName="Table.Body";const B9=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||D9(u)||r&&r(t)},d=u=>{i&&(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),s())};return c.jsx("tr",{ref:l,className:W0.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})});B9.displayName="Table.Row";const U9=b.forwardRef(({colSpan:e,truncate:t,align:r="left",children:n,"aria-label":a},o)=>{const l=b.useRef(null);return ia(l,o),Sd(l),c.jsx("td",{ref:l,className:W0.rowCell,colSpan:e,"data-align":r,"data-truncate":t,"aria-label":a,children:n})});U9.displayName="Table.RowCell";const W9=({children:e})=>c.jsx(c.Fragment,{children:e});W9.displayName="Tag.HoverContent";const K9=({children:e})=>c.jsx(c.Fragment,{children:e});K9.displayName="Tag.SecondaryContent";var Hr="Tabs",[G9,ix]=H0(Hr,[De]),Ed=De(),[q9,Sa]=G9(Hr),Id=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]=Y0({prop:n,onChange:a,defaultProp:o??"",caller:Hr});return c.jsx(q9,{scope:r,baseId:v1(),value:f,onValueChange:h,orientation:l,dir:u,activationMode:s,children:c.jsx(n0.div,{dir:u,"data-orientation":l,...d,ref:t})})});Id.displayName=Hr;var Pd="TabsList",Rd=p.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...a}=e,o=Sa(Pd,r),l=Ed(r);return c.jsx(ca,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:n,children:c.jsx(n0.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})});Rd.displayName=Pd;var Td="TabsTrigger",kd=p.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:a=!1,...o}=e,l=Sa(Td,r),i=Ed(r),s=Od(l.baseId,n),d=Hd(l.baseId,n),u=n===l.value;return c.jsx(da,{asChild:!0,...i,focusable:!a,active:u,children:c.jsx(n0.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:Z(e.onMouseDown,f=>{!a&&f.button===0&&f.ctrlKey===!1?l.onValueChange(n):f.preventDefault()}),onKeyDown:Z(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&l.onValueChange(n)}),onFocus:Z(e.onFocus,()=>{const f=l.activationMode!=="manual";!u&&!a&&f&&l.onValueChange(n)})})})});kd.displayName=Td;var Nd="TabsContent",zd=p.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:a,children:o,...l}=e,i=Sa(Nd,r),s=Od(i.baseId,n),d=Hd(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(I0,{present:a||u,children:({present:h})=>c.jsx(n0.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})})});zd.displayName=Nd;function Od(e,t){return`${e}-trigger-${t}`}function Hd(e,t){return`${e}-content-${t}`}var Y9=Id,X9=Rd,Q9=kd,Z9=zd;const J9=(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}),kt=(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`)},eb=({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&&(kt(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){kt(s,r);const u=new MutationObserver(()=>{d.scrollIntoView({behavior:"instant",block:"nearest",inline:"end"}),kt(s,r)});s.parentNode&&u.observe(s.parentNode,{childList:!0});const f=new IntersectionObserver(()=>{l(J9(n,s)),kt(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]})}}},tb="_triggerListWrapper_chl5v_5",rb="_trigger_chl5v_5",nb="_activeIndicator_chl5v_53",ob="_triggerList_chl5v_5",ab="_root_chl5v_143",lb="_content_chl5v_166",se={triggerListWrapper:tb,trigger:rb,activeIndicator:nb,triggerList:ob,root:ab,content:lb},Dr=b.createContext({value:"",disabled:!1});Dr.displayName="TabConfigContext";const Ea=b.createContext({addTrigger:()=>{}});Ea.displayName="TabTriggerContext";const Dd=({padding:e="compact",activeTab:t,defaultActiveTab:r,size:n="medium",onActiveTabChange:a,children:o,variant:l="default",...i},s)=>{var d;const[u,f]=od({prop:t,defaultProp:r,onChange:a}),h=b.useCallback(_=>{f(_)},[f]),{triggerListRef:g,activeIndicatorRef:x,triggers:m,triggersOutOfView:v,addTrigger:C}=eb({activeTab:u}),y=b.useMemo(()=>({addTrigger:C}),[C]);return c.jsx(Ea.Provider,{value:y,children:c.jsxs(Y9,{ref:s,className:se.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:se.triggerListWrapper,children:[c.jsx(X9,{ref:g,"data-size":n,className:se.triggerList,children:m.map(_=>b.createElement(Q9,{..._.props,key:_.value,value:_.value,disabled:_.disabled,className:se.trigger,ref:_.ref},_.element))}),c.jsxs(C0.Root,{children:[v.length>0&&c.jsx(C0.Trigger,{"data-test-id":"overflow-items-dropdown-trigger",children:c.jsx(R1,{emphasis:"default",aspect:"square",size:"small",children:c.jsx(ml,{size:16})})}),c.jsx(C0.Content,{align:"end","data-test-id":"overflow-items-dropdown-content",children:v.map(_=>b.createElement(C0.Item,{..._.props,disabled:_.disabled,onSelect:()=>h(_.value),key:_.value},_.element))})]}),c.jsx("span",{"data-test-id":"active-tab-indicator",ref:x,className:se.activeIndicator})]}),o]})})};Dd.displayName="Tabs.Root";const jd=({children:e,value:t,disabled:r})=>{const n=b.useMemo(()=>({value:t,disabled:r}),[t,r]);return c.jsx(Dr.Provider,{value:n,children:e})};jd.displayName="Tabs.Tab";const Ld=({children:e,...t},r)=>{const{value:n,disabled:a}=b.useContext(Dr),{addTrigger:o}=b.useContext(Ea),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};Ld.displayName="Tabs.Trigger";const Vd=({children:e,...t},r)=>{const{value:n}=b.useContext(Dr);return c.jsx(Z9,{ref:r,...t,className:se.content,value:n??"",children:e})};Vd.displayName="Tabs.Content";b.forwardRef(Dd),b.forwardRef(jd),b.forwardRef(Ld),b.forwardRef(Vd);const ib="_root_1cjgh_2",Nt={root:ib,"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"},sb=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:s1([Nt.root,Nt[`size-${r}`],Nt[`weight-${n}`],Nt[o?`color-box-${o}`:`color-${a}`],l]),ref:s,...i,children:e}));sb.displayName="FondueText";var cb=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"}),db="VisuallyHidden",$d=p.forwardRef((e,t)=>c.jsx(n0.span,{...e,ref:t,style:{...cb,...e.style}}));$d.displayName=db;var ub=$d,[jr,sx]=H0("Tooltip",[Ne]),Lr=Ne(),Fd="TooltipProvider",fb=700,Bn="tooltip.open",[hb,Ia]=jr(Fd),Bd=e=>{const{__scopeTooltip:t,delayDuration:r=fb,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(hb,{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})};Bd.displayName=Fd;var it="Tooltip",[pb,mt]=jr(it),Ud=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:a,onOpenChange:o,disableHoverableContent:l,delayDuration:i}=e,s=Ia(it,e.__scopeTooltip),d=Lr(t),[u,f]=p.useState(null),h=v1(),g=p.useRef(0),x=l??s.disableHoverableContent,m=i??s.delayDuration,v=p.useRef(!1),[C,y]=Y0({prop:n,defaultProp:a??!1,onChange:H=>{H?(s.onOpen(),document.dispatchEvent(new CustomEvent(Bn))):s.onClose(),o==null||o(H)},caller:it}),_=p.useMemo(()=>C?v.current?"delayed-open":"instant-open":"closed",[C]),A=p.useCallback(()=>{window.clearTimeout(g.current),g.current=0,v.current=!1,y(!0)},[y]),S=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(mo,{...d,children:c.jsx(pb,{scope:t,contentId:h,open:C,stateAttribute:_,trigger:u,onTriggerChange:f,onTriggerEnter:p.useCallback(()=>{s.isOpenDelayedRef.current?I():A()},[s.isOpenDelayedRef,I,A]),onTriggerLeave:p.useCallback(()=>{x?S():(window.clearTimeout(g.current),g.current=0)},[S,x]),onOpen:A,onClose:S,disableHoverableContent:x,children:r})})};Ud.displayName=it;var Un="TooltipTrigger",Wd=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=mt(Un,r),o=Ia(Un,r),l=Lr(r),i=p.useRef(null),s=c0(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(yr,{asChild:!0,...l,children:c.jsx(n0.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...n,ref:s,onPointerMove:Z(e.onPointerMove,h=>{h.pointerType!=="touch"&&!u.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),u.current=!0)}),onPointerLeave:Z(e.onPointerLeave,()=>{a.onTriggerLeave(),u.current=!1}),onPointerDown:Z(e.onPointerDown,()=>{a.open&&a.onClose(),d.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Z(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:Z(e.onBlur,a.onClose),onClick:Z(e.onClick,a.onClose)})})});Wd.displayName=Un;var Pa="TooltipPortal",[vb,gb]=jr(Pa,{forceMount:void 0}),Kd=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:a}=e,o=mt(Pa,t);return c.jsx(vb,{scope:t,forceMount:r,children:c.jsx(I0,{present:r||o.open,children:c.jsx(ft,{asChild:!0,container:a,children:n})})})};Kd.displayName=Pa;var _e="TooltipContent",Gd=p.forwardRef((e,t)=>{const r=gb(_e,e.__scopeTooltip),{forceMount:n=r.forceMount,side:a="top",...o}=e,l=mt(_e,e.__scopeTooltip);return c.jsx(I0,{present:n||l.open,children:l.disableHoverableContent?c.jsx(qd,{side:a,...o,ref:t}):c.jsx(mb,{side:a,...o,ref:t})})}),mb=p.forwardRef((e,t)=>{const r=mt(_e,e.__scopeTooltip),n=Ia(_e,e.__scopeTooltip),a=p.useRef(null),o=c0(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((x,m)=>{const v=x.currentTarget,C={x:x.clientX,y:x.clientY},y=xb(C,v.getBoundingClientRect()),_=Cb(C,y),A=_b(m.getBoundingClientRect()),S=Ab([..._,...A]);i(S),f(!0)},[f]);return p.useEffect(()=>()=>h(),[h]),p.useEffect(()=>{if(s&&u){const x=v=>g(v,u),m=v=>g(v,s);return s.addEventListener("pointerleave",x),u.addEventListener("pointerleave",m),()=>{s.removeEventListener("pointerleave",x),u.removeEventListener("pointerleave",m)}}},[s,u,g,h]),p.useEffect(()=>{if(l){const x=m=>{const v=m.target,C={x:m.clientX,y:m.clientY},y=(s==null?void 0:s.contains(v))||(u==null?void 0:u.contains(v)),_=!Mb(C,l);y?h():_&&(h(),d())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[s,u,l,d,h]),c.jsx(qd,{...e,ref:o})}),[bb,wb]=jr(it,{isInside:!1}),yb=z7("TooltipContent"),qd=p.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:l,...i}=e,s=mt(_e,r),d=Lr(r),{onClose:u}=s;return p.useEffect(()=>(document.addEventListener(Bn,u),()=>document.removeEventListener(Bn,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(dt,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:f=>f.preventDefault(),onDismiss:u,children:c.jsxs(bo,{"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(yb,{children:n}),c.jsx(bb,{scope:r,isInside:!0,children:c.jsx(ub,{id:s.contentId,role:"tooltip",children:a||n})})]})})});Gd.displayName=_e;var Yd="TooltipArrow",Xd=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=Lr(r);return wb(Yd,r).isInside?null:c.jsx(wo,{...a,...n,ref:t})});Xd.displayName=Yd;function xb(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 Cb(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 _b(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 Mb(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 Ab(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),Sb(t)}function Sb(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 Eb=Bd,Ib=Ud,Pb=Wd,Rb=Kd,Tb=Gd,kb=Xd;const Nb="_root_13m98_4",zb="_arrow_13m98_25",ll={root:Nb,arrow:zb},Qd=({children:e,enterDelay:t=700,open:r,onOpenChange:n,...a})=>c.jsx(Eb,{children:c.jsx(Ib,{delayDuration:t,open:r,onOpenChange:n,...a,children:e})});Qd.displayName="Tooltip.Root";const Zd=({asChild:e=!1,children:t,"data-test-id":r="fondue-tooltip-trigger"},n)=>c.jsx(Pb,{"data-test-id":r,type:e?void 0:"button",asChild:e,ref:n,children:t});Zd.displayName="Tooltip.Trigger";const Jd=({children:e,className:t,maxWidth:r,"data-test-id":n="fondue-tooltip-content",padding:a="spacious",...o},l)=>{const i=Oe();return c.jsx(Rb,{children:c.jsx(He,{theme:i,children:c.jsxs(Tb,{"data-test-id":n,"data-tooltip-spacing":a,className:s1(ll.root,t),style:{maxWidth:r},collisionPadding:16,sideOffset:8,ref:l,...o,children:[e,c.jsx(kb,{"aria-hidden":"true",className:ll.arrow})]})})})};Jd.displayName="Tooltip.Content";const q0={Root:Qd,Trigger:b.forwardRef(Zd),Content:b.forwardRef(Jd)},l1=e=>e.filter(Boolean).join(" "),Ob=({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),[x,m]=b.useState(),v=b.useRef(null),[C,y]=b.useState(void 0),_=R=>{if(R.preventDefault(),g(!1),!A(R.dataTransfer.files)){y("Invalid"),setTimeout(()=>{y(void 0)},1e3);return}e==null||e(R.dataTransfer.files)},A=R=>{if(!u)return!0;for(let L=0;L<R.length;L++){const j=R[L].name.split(".").pop()??"";if(!G1.FileExtensionSets[u].includes(j))return!1}return!0},S=R=>{if(!v.current||a)return;const{clientX:L,clientY:j}=R,F=L===0&&j===0,{left:P,top:B,width:z,height:q}=v.current.getBoundingClientRect(),U=F?z/2:L-P,V=F?q/2:j-B;m([U,V])},I=b.useCallback(R=>{R(),m(void 0)},[]),H=b.useMemo(()=>{const R=[];return i&&R.push({onSelect:()=>I(i),title:"Upload asset",icon:c.jsx(gl,{size:"20"})}),l&&R.push({onSelect:()=>I(l),title:"Browse asset",icon:c.jsx(bl,{size:"20"})}),R},[l,i,I]);return c.jsxs("button",{ref:v,"data-test-id":"block-inject-button",className:l1(["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",x&&"tw-bg-blank-state-pressed-inverse",h&&"tw-bg-blank-state-weak-inverse",C?"!tw-border-red-50 !tw-cursor-not-allowed":" tw-border-blank-state-line",a||x||h||C?"":"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||x)&&!C?"[&>*]:tw-pointer-events-none tw-border-blank-state-line-hover":"tw-bg-blank-state-shaded-inverse tw-text-blank-state-shaded"]),onDragEnter:e?R=>{var L;if(g(!0),u==="Images")for(const j of Array.from(R.dataTransfer.items))(L=j==null?void 0:j.type)!=null&&L.startsWith("image/")?y(void 0):y("Invalid")}:void 0,onDragLeave:e?()=>{g(!1),y(void 0)}:void 0,onDrop:e?_:void 0,onClick:R=>{s&&!x&&S(R),d==null||d()},children:[a?c.jsx(ze,{}):C?c.jsxs("div",{className:" tw-flex tw-items-center tw-justify-center tw-text-red-60 tw-font-medium",children:[c.jsx(M.IconExclamationMarkTriangle,{}),C]}):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})]})]}),x&&c.jsx("div",{className:"tw-absolute tw-left-0 tw-top-full tw-z-20",style:{left:x[0],top:x[1]},children:c.jsxs(J0.Root,{open:!0,onOpenChange:R=>!R&&m(void 0),children:[c.jsx(J0.Trigger,{children:c.jsx("div",{})}),c.jsx(J0.Content,{triggerOffset:"compact",children:c.jsxs(C0.Root,{open:!0,children:[c.jsx(C0.Trigger,{children:c.jsx("div",{})}),c.jsx(C0.Content,{triggerOffset:"compact",children:H.map(R=>c.jsxs(C0.Item,{onSelect:R.onSelect,children:[R.icon,R.title]},R.title))})]})})]})})]})},ee=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},Hb=e=>typeof e=="object"&&["red","green","blue"].every(r=>e==null?void 0:e.hasOwnProperty(r)),Db=(e,t)=>{const r=Hb(e)?ee(e):e,n=new p1.TinyColor(r);return t?n.getBrightness()<t:n.isDark()||n.getAlpha()>.25&&n.getAlpha()<1},jb=e=>new p1.TinyColor(ee(e)).toHex8String(),Lb=e=>new p1.TinyColor(ee(e)).toHexString(),Ra=e=>new p1.TinyColor(ee(e)).toRgbString(),Vb=(e,t)=>new p1.TinyColor(t).setAlpha(e).toRgbString(),$b=e=>{const{r:t,g:r,b:n,a}=new p1.TinyColor(e);return{red:t,green:r,blue:n,alpha:a}},il=e=>typeof e=="object"&&["red","green","blue"].every(r=>e==null?void 0:e.hasOwnProperty(r)),Fb=(e,t)=>{const r=il(e)?ee(e):e,n=il(t)?ee(t):t;let a=new p1.TinyColor(r);const o=new p1.TinyColor(n);for(;p1.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},Ub=e=>({backgroundColor:Ra(e)}),Wb={red:241,green:241,blue:241,alpha:1},eu={red:234,green:235,blue:235,alpha:1},Kb="1px",Qe="24px",Ze="24px";var o1=(e=>(e.Solid="Solid",e.Dashed="Dashed",e.Dotted="Dotted",e))(o1||{});const tu={Solid:"solid",Dotted:"dotted",Dashed:"dashed"};var P1=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(P1||{});const K1={None:"0px",Small:"2px",Medium:"4px",Large:"12px"};var B1=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(B1||{});const ce={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var U1=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(U1||{});const de={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var Y1=(e=>(e.Global="Global",e.Custom="Custom",e))(Y1||{}),W1=(e=>(e.Auto="Auto",e.S="S",e.M="M",e.L="L",e))(W1||{});const ru={Auto:"4px",S:"10px",M:"30px",L:"50px"},Gb=(e=o1.Solid,t="1px",r=eu)=>({borderStyle:tu[e],borderWidth:t,borderColor:Ra(r)}),qb=(e,t=!1,r)=>({borderRadius:t?r:K1[e]}),Ta=b.createContext(!1);Ta.displayName="DragPreviewContext";const nu=({children:e,isDragPreview:t})=>c.jsx(Ta.Provider,{value:t,children:e}),Le=()=>b.useContext(Ta),ka=b.createContext({openFlyoutIds:[],setOpenFlyoutIds:()=>console.error("No MultiFlyoutContext Provider found")});ka.displayName="MultiFlyoutContext";const ou=({children:e,openFlyoutIds:t,setOpenFlyoutIds:r})=>{const n=b.useMemo(()=>({openFlyoutIds:t,setOpenFlyoutIds:r}),[t,r]);return c.jsx(ka.Provider,{value:n,children:e})},au=()=>b.useContext(ka),Vr=e=>{const{openFlyoutIds:t,setOpenFlyoutIds:r}=au(),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}},Na=(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(x=>x.id===f.id?h.id:x.id);await o(e,g)},onAttachmentsSorted:async f=>{const h=f.map(g=>g.id);await o(e,h)},attachments:l}},lu=(e,t)=>{const{onAttachmentsAdd:r,onAttachmentDelete:n,onAttachmentReplace:a,onAttachmentsSorted:o,attachments:l}=Na(t,G1.useBlockAssets(e));return{onAttachmentsAdd:r,onAttachmentDelete:n,onAttachmentReplace:a,onAttachmentsSorted:o,attachments:l,appBridge:e}},$r=b.createContext(null);$r.displayName="AttachmentsContext";const iu=({appBridge:e,children:t,assetId:r})=>{const n=lu(e,r);return c.jsx($r.Provider,{value:n,children:t})},Yb=({blockAssetBundle:e,appBridge:t,children:r,assetId:n})=>{const a=Na(n,e);return c.jsx($r.Provider,{value:{...a,appBridge:t},children:r})},su=()=>{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},Xb=(e,t)=>{const r=n=>c.jsx(iu,{appBridge:n.appBridge,assetId:t,children:c.jsx(e,{...n})});return r.displayName="withAttachmentsProvider",r},Qb=[_0.KeyboardCode.Down,_0.KeyboardCode.Right,_0.KeyboardCode.Up,_0.KeyboardCode.Left],cu=(e,t)=>(r,{currentCoordinates:n,context:{activeNode:a}})=>{if(r.preventDefault(),Qb.includes(r.code)){const o=(a==null?void 0:a.offsetWidth)??0,l=(a==null?void 0:a.offsetHeight)??0;switch(r.code){case _0.KeyboardCode.Right:return{...n,x:n.x+o+e};case _0.KeyboardCode.Left:return{...n,x:n.x-o-e};case _0.KeyboardCode.Down:return{...n,y:n.y+l+t};case _0.KeyboardCode.Up:return{...n,y:n.y-l-t}}}},Zb={start:["Space","Enter"],cancel:[],end:["Space","Enter","Escape"]},Jb=(e=0,t=0)=>{const r=b.useMemo(()=>({coordinateGetter:cu(e,t),keyboardCodes:Zb}),[e,t]);return _0.useSensors(_0.useSensor(_0.PointerSensor),_0.useSensor(_0.KeyboardSensor,r))},ew=e=>e==="IMAGE"?c.jsx(M.IconImage24,{}):e==="VIDEO"?c.jsx(M.IconPlayFrame24,{}):e==="AUDIO"?c.jsx(M.IconMusicNote24,{}):c.jsx(M.IconDocument24,{}),du=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(),[x,{selectedFiles:m}]=G1.useFileInput({multiple:!0,accept:"image/*"}),[v,{results:C,doneAll:y}]=G1.useAssetUpload(),{focusProps:_,isFocusVisible:A}=fl.useFocusRing();b.useEffect(()=>{m&&v(m[0])},[m]),b.useEffect(()=>{y&&d(C[0])},[y,C]);const S=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:l1(["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:S?c.jsx(ze,{size:"small"}):ew(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:l1(["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:l1([" 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(C0.Root,{open:(h==null?void 0:h.id)===e.id,onOpenChange:I=>g(I?e:void 0),children:[c.jsx(C0.Trigger,{children:c.jsx(R1,{aspect:"square",ref:f,onPress:I=>{I==null||I.stopPropagation(),I==null||I.preventDefault()},emphasis:"default",children:c.jsx(P7,{size:"20"})})}),c.jsxs(C0.Content,{side:"right",children:[c.jsxs(C0.Group,{children:[c.jsxs(C0.Item,{"data-test-id":"menu-item",onSelect:I=>{I==null||I.stopPropagation(),x(),g(void 0)},children:[c.jsx(gl,{size:"20"}),"Replace with upload"]}),c.jsxs(C0.Item,{onSelect:I=>{I==null||I.stopPropagation(),s(),g(void 0)},children:[c.jsx(bl,{size:"20"}),"Replace with asset"]})]}),c.jsx(C0.Group,{children:c.jsxs(C0.Item,{emphasis:"danger",onSelect:I=>{I==null||I.stopPropagation(),i(),g(void 0)},children:[c.jsx(R7,{size:"20"}),"Delete"]})})]})]})})]})]})});du.displayName="AttachmentItem";const tw=e=>{const{attributes:t,listeners:r,setNodeRef:n,transform:a,transition:o,isDragging:l}=zt.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(du,{ref:n,isDragging:l,transformStyle:i,draggableProps:s,...e})},uu=b.forwardRef(({children:e,isFlyoutOpen:t,...r},n)=>c.jsxs("button",{ref:n,className:l1(["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,{})]}));uu.displayName="AttachmentsButtonTrigger";const fu=({items:e=[],onDelete:t,onReplaceWithBrowse:r,onReplaceWithUpload:n,onBrowse:a,onUpload:o,onSorted:l,appBridge:i,triggerComponent:s=uu,isOpen:d,onOpenChange:u})=>{const[f,h]=b.useState(e),[g,x]=b.useState(!1),m=_0.useSensors(_0.useSensor(_0.PointerSensor),_0.useSensor(_0.KeyboardSensor)),[v,C]=b.useState(void 0),[y,_]=b.useState(!1),[A,S]=b.useState([]),[I,H]=b.useState(null),R=G1.useEditorState(i),{openAssetChooser:L,closeAssetChooser:j}=G1.useAssetChooser(i),F=d!==void 0,P=F?d:g,B=f==null?void 0:f.find(k=>k.id===v),[z,{results:q,doneAll:U}]=G1.useAssetUpload({onUploadProgress:()=>!y&&_(!0)}),V=k=>{const W=F?u:x;W==null||W(k)};b.useEffect(()=>{h(e)},[e]),b.useEffect(()=>{I&&(_(!0),z(I))},[I]),b.useEffect(()=>{(async()=>{U&&(await o(q),_(!1))})()},[U,q]);const D=()=>{V(!1),L(k=>{a(k),j(),V(!0)},{multiSelection:!0,selectedValueIds:f.map(k=>k.id)})},T=k=>{V(!1),L(async W=>{V(!0),j(),S([...A,k.id]),await r(k,W[0]),S(A.filter(Y=>Y!==k.id))},{multiSelection:!1,selectedValueIds:f.map(W=>W.id)})},E=async(k,W)=>{S([...A,k.id]),await n(k,W),S(A.filter(Y=>Y!==k.id))},N=k=>{const{active:W}=k;C(W.id)},O=k=>{const{active:W,over:Y}=k;if(Y&&W.id!==Y.id&&f){const X=f.findIndex(r0=>r0.id===W.id),e0=f.findIndex(r0=>r0.id===Y.id),t0=zt.arrayMove(f,X,e0);h(t0),l(t0)}C(void 0)},$={onOpenAutoFocus:k=>{k.preventDefault()},onEscapeKeyDown:k=>{k.stopPropagation(),V(!1)}};return R||((f==null?void 0:f.length)??0)>0?c.jsx("div",{"data-test-id":"attachments-flyout-button",children:c.jsx(J0.Root,{open:P,onOpenChange:k=>V(B?!0:k),children:c.jsxs(q0.Root,{enterDelay:500,children:[c.jsx(q0.Trigger,{asChild:!0,children:c.jsx(J0.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(J0.Content,{side:"bottom",align:"end",...$,children:c.jsxs("div",{className:"tw-w-[300px]","data-test-id":"attachments-flyout-content",children:[f.length>0&&c.jsx(_0.DndContext,{sensors:m,collisionDetection:_0.closestCenter,onDragStart:N,onDragEnd:O,modifiers:[b7.restrictToVerticalAxis],children:c.jsx(zt.SortableContext,{items:f,strategy:zt.rectSortingStrategy,children:c.jsx("div",{className:"tw-border-b tw-border-b-line tw-relative",children:f.map(k=>c.jsx(tw,{isEditing:R,isLoading:A.includes(k.id),item:k,onDelete:()=>t(k),onReplaceWithBrowse:()=>T(k),onReplaceWithUpload:W=>E(k,W),onDownload:()=>i.dispatch({name:"downloadAsset",payload:k})},k.id))})})}),R&&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:k=>H(k),onLibraryClick:D})]})]})}),c.jsx(q0.Content,{side:"top",children:"Attachments"})]})})}):null},rw=(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"),l1(r)},Ve=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:rw(n,r),"data-test-id":a,...o,ref:l,children:t}));Ve.displayName="BaseToolbarButton";const hu=b.forwardRef(({children:e,isFlyoutOpen:t,...r},n)=>c.jsxs(Ve,{forceActiveStyle:t,"data-test-id":"attachments-toolbar-button-trigger",ref:n,...r,children:[c.jsx(M.IconPaperclip16,{}),e,c.jsx(M.IconCaretDown12,{})]}));hu.displayName="AttachmentsToolbarButtonTrigger";const pu="attachments",vu=({flyoutId:e=pu})=>{const t=M.useMemoizedId(e),{appBridge:r,attachments:n,onAttachmentsAdd:a,onAttachmentDelete:o,onAttachmentReplace:l,onAttachmentsSorted:i}=su(),{isOpen:s,onOpenChange:d}=Vr(t),u=Le();return c.jsx(fu,{onUpload:a,onDelete:o,onReplaceWithBrowse:l,onReplaceWithUpload:l,onSorted:i,onBrowse:a,items:n,appBridge:r,triggerComponent:hu,isOpen:s&&!u,onOpenChange:d})},gu="Drag or press ↵ to move",mu="Move with ↑↓←→ and confirm with ↵",za=({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})})]}),bu=({tooltip:e,icon:t,setActivatorNodeRef:r,draggableProps:n})=>{const a=Le();return c.jsx(za,{...a&&{open:a},content:c.jsx("div",{children:a?mu:e??gu}),children:c.jsx(Ve,{ref:r,"data-test-id":"block-item-wrapper-toolbar-btn",forceActiveStyle:a,cursor:"grab",...n,children:t})})},wu=({content:e,icon:t,tooltip:r,flyoutId:n,flyoutFooter:a,flyoutHeader:o})=>{const l=M.useMemoizedId(n),{isOpen:i,onOpenChange:s}=Vr(l),d=Le();return c.jsx(za,{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(J0.Root,{open:i&&!d,onOpenChange:s,children:[c.jsx(J0.Trigger,{asChild:!0,children:c.jsx(Ve,{"data-test-id":"block-item-wrapper-toolbar-flyout",forceActiveStyle:i&&!d,children:t})}),c.jsxs(J0.Content,{side:"bottom",align:"end",children:[o?c.jsx(J0.Header,{children:o}):null,e,a?c.jsx(J0.Footer,{children:a}):null]})]})})})},Oa="menu",yu=({items:e,flyoutId:t=Oa,tooltip:r="Options"})=>{const n=M.useMemoizedId(t),{isOpen:a,onOpenChange:o}=Vr(n),l=Le();return c.jsx(C0.Root,{open:a&&!l,onOpenChange:o,children:c.jsxs(q0.Root,{children:[c.jsx(q0.Trigger,{asChild:!0,children:c.jsx(C0.Trigger,{asChild:!0,children:c.jsx(Ve,{"data-test-id":"block-item-wrapper-toolbar-flyout",children:c.jsx(ml,{size:"16"})})})}),c.jsx(C0.Content,{children:e.map((i,s)=>c.jsx(C0.Group,{children:i.map((d,u)=>c.jsxs(C0.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})]})})},nw=({tooltip:e,icon:t,onClick:r})=>{const n=Le();return c.jsx(za,{disabled:n,content:e??"",children:c.jsx(Ve,{"data-test-id":"block-item-wrapper-toolbar-btn",onClick:r,children:t})})},sl=({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}),xu=({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(sl,{children:c.jsx(vu,{})}),e.length>0&&c.jsx(sl,{children:e.map(r=>{switch(r.type){case"dragHandle":return c.jsx(bu,{...r},r.tooltip+r.type);case"menu":return c.jsx(yu,{...r},r.tooltip+r.type);case"flyout":return c.jsx(wu,{...r},r.tooltip+r.type);default:return c.jsx(nw,{...r},r.tooltip+r.type)}})})]}),Cu=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?[Oa]:[]),f=b.useRef(null);if(r)return c.jsx(c.Fragment,{children:e});const h=t==null?void 0:t.filter(x=>x!==void 0),g=d.length>0||i;return c.jsx(nu,{isDragPreview:a,children:c.jsx(ou,{openFlyoutIds:d,setOpenFlyoutIds:u,children:c.jsxs("div",{ref:f,"data-test-id":"block-item-wrapper",style:{outlineOffset:l},className:l1(["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:l1(["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(xu,{attachments:{isEnabled:s},items:h})}),e]})})})});Cu.displayName="BlockItemWrapper";const ow=({onDownload:e,ariaLabel:t})=>{const{isFocused:r,focusProps:n}=fl.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:l1(["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"})]})},aw=({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])},lw=({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}})},Ha=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=Ha.set,T0=Ha.get,st=()=>Ha.use,_u=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}},iw=(e="p",t="",r)=>_u(t)?t:JSON.stringify([{type:e,children:[{text:t,textStyle:e}],align:r}]),sw=(e,t,r)=>e===Y1.Custom?t:r,cw=e=>e.map(Mu),Mu=e=>({id:e.id,title:e.name,colors:e.colors.map(uw)}),dw=e=>"revision"in e,uw=e=>{if(dw(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??""}},Da=(e,t)=>{const r=M.getAboveNode(e,{match:{type:M.ELEMENT_LINK}});return Array.isArray(r)?t(r[0]):""},fw=e=>Da(e,t=>{var r,n;return((n=(r=t.chosenLink)==null?void 0:r.searchResult)==null?void 0:n.link)||""}),hw=e=>Da(e,t=>t.url||""),ja=e=>{var t,r;return e.url||((r=(t=e.chosenLink)==null?void 0:t.searchResult)==null?void 0:r.link)||""},pw=e=>Da(e,ja),La=/^\/(document|r)\/\S+$/i,Fr=e=>{if(La.test(e))return e;try{return new URL(e),e}catch{return`https://${e}`}},Br=e=>{if(La.test(e))return!0;try{const t=new URL(e);return["http:","https:","mailto:","tel:"].includes(t.protocol)&&t.pathname!==""}catch{return!1}},Me=e=>Br(Fr(e))||e==="",Au=(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,g0)}});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,g0)){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}}))},Su=(e,t,r)=>{M.insertNodes(e,[Ru(e,t)],r)},Va=e=>{if(!e.selection)return;const{isUrl:t,forceSubmit:r}=M.getPluginOptions(e,g0),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(),Eu(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},Ae=(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,g0)}}))return M.splitNodes(e,{at:(n=e.selection)==null?void 0:n.anchor,match:u=>M.isElement(u)&&u.type===M.getPluginType(e,g0)}),Ae(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,g0)}}))return M.splitNodes(e,{at:(l=e.selection)==null?void 0:l.focus,match:u=>M.isElement(u)&&u.type===M.getPluginType(e,g0)}),Ae(e,{at:(i=e.selection)==null?void 0:i.focus}),!0}M.unwrapNodes(e,{match:{type:M.getPluginType(e,g0)},...t})}),Eu=(e,{url:t,text:r,buttonStyle:n,target:a,insertTextInButton:o,insertNodesOptions:l,isUrl:i=M.getPluginOptions(e,g0).isUrl})=>{var C;const s=e.selection;if(!s)return;const d=M.getAboveNode(e,{at:s,match:{type:M.getPluginType(e,g0)}});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 mw(t,e,d,a,n,r),!0;const u=M.findNode(e,{at:s,match:{type:M.getPluginType(e,g0)}}),[f,h]=u??[],g=vw(e,h,r);if(M.isExpanded(s))return gw(d,e,t,n,a,r),!0;g&&M.removeNodes(e,{at:h});const x=M.getNodeProps(f??{}),m=(C=e.selection)==null?void 0:C.focus.path;if(!m)return;const v=M.getNodeLeaf(e,m);return r!=null&&r.length||(r=t),Su(e,{...x,url:t,target:a,children:[{...v,text:r}]},l),!0};function vw(e,t,r){return t&&(r==null?void 0:r.length)&&r!==M.getEditorString(e,t)}function gw(e,t,r,n,a,o){e?Ae(t,{at:e[1]}):Ae(t,{split:!0}),Iu(t,{url:r,buttonStyle:n,target:a}),$a(t,{text:o})}function mw(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]}),$a(t,{text:o})}const $a=(e,{text:t})=>{const r=M.getAboveNode(e,{match:{type:M.getPluginType(e,g0)}});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}})}}},Iu=(e,{url:t,buttonStyle:r,target:n,...a})=>{M.wrapNodes(e,{type:M.getPluginType(e,g0),url:t,buttonStyle:r,target:n,children:[]},{split:!0,...a})},bw=(e,t)=>{const r=M.getAboveNode(e,{match:{type:g0}});return Array.isArray(r)?t(r[0]):""},Pu=e=>bw(e,t=>t.url??""),Ru=(e,{url:t,text:r="",buttonStyle:n="primary",target:a,children:o})=>({type:M.getPluginType(e,g0),url:t,target:a,buttonStyle:n,children:o??[{text:r}]}),Tu=(e,{focused:t}={})=>{if(T0.mode()==="edit"){Ur(e);return}Fa(e,{focused:t})},Ur=e=>{const t=M.findNode(e,{match:{type:M.getPluginType(e,g0)}});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)},Fa=(e,{focused:t}={})=>{T0.mode()||!t||M.isRangeAcrossBlocks(e,{at:e.selection})||M.someNode(e,{match:{type:M.getPluginType(e,g0)}})||(A0.text(M.getEditorString(e,e.selection)),A0.show("insert",e.id))},vn={marginTop:"10px",marginBottom:"10px",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",verticalAlign:"middle",boxSizing:"border-box",overflowWrap:"normal"},Wr={buttonPrimary:{...vn,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:{...vn,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:{...vn,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)"}}},ww=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(yw,{attributes:t,href:n,target:a,styles:Wr[`button${o.charAt(0).toUpperCase()+o.slice(1)}`],children:r})},yw=({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 xw extends M.MarkupElement{constructor(t=g0,r=ww){super(t,r)}}const ku=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:()=>{Tu(r,{focused:!0})},children:c.jsx(M.IconStylingWrapper,{icon:c.jsx(M.IconButton16,{})})})});ku.displayName="ButtonToolbarButton";const Cw=({editorId:e,id:t})=>{const r=M.useEditorState(M.useEventPlateId(e)),n=!!M.isRangeInSameBlock(r,{at:r.selection}),a=M.getPluginType(r,g0),o=!!(r!=null&&r.selection)&&M.someNode(r,{match:{type:a}});return c.jsx("div",{"data-plugin-id":t,children:c.jsx(ku,{pressed:o,disabled:!n,tooltip:M.getTooltip(n?`Button
85
+ Defaulting to \`null\`.`}var Zg=kc,Jg=zc;const em=te({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"}}}),tm=te({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]"}}}),rm=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(Zg,{ref:i,"data-test-id":o,className:em({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(Jg,{className:tm({variant:n,indeterminateState:e===null})})}));rm.displayName="LoadingBar";function ya(e,[t,r]){return Math.min(r,Math.max(t,e))}function nm(e,t){return p.useReducer((r,n)=>t[r][n]??r,e)}var xa="ScrollArea",[Hc,nx]=H0(xa),[om,X0]=Hc(xa),Dc=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,x]=p.useState(null),[m,v]=p.useState(null),[C,y]=p.useState(0),[_,A]=p.useState(0),[S,I]=p.useState(!1),[H,R]=p.useState(!1),L=c0(t,F=>s(F)),j=Ie(a);return c.jsx(om,{scope:r,type:n,dir:j,scrollHideDelay:o,scrollArea:i,viewport:d,onViewportChange:u,content:f,onContentChange:h,scrollbarX:g,onScrollbarXChange:x,scrollbarXEnabled:S,onScrollbarXEnabledChange:I,scrollbarY:m,onScrollbarYChange:v,scrollbarYEnabled:H,onScrollbarYEnabledChange:R,onCornerWidthChange:y,onCornerHeightChange:A,children:c.jsx(n0.div,{dir:j,...l,ref:L,style:{position:"relative","--radix-scroll-area-corner-width":C+"px","--radix-scroll-area-corner-height":_+"px",...e.style}})})});Dc.displayName=xa;var jc="ScrollAreaViewport",Lc=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:n,nonce:a,...o}=e,l=X0(jc,r),i=p.useRef(null),s=c0(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(n0.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})})]})});Lc.displayName=jc;var c1="ScrollAreaScrollbar",Vc=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=X0(c1,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(am,{...n,ref:t,forceMount:r}):a.type==="scroll"?c.jsx(lm,{...n,ref:t,forceMount:r}):a.type==="auto"?c.jsx($c,{...n,ref:t,forceMount:r}):a.type==="always"?c.jsx(Ca,{...n,ref:t}):null});Vc.displayName=c1;var am=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=X0(c1,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(I0,{present:r||o,children:c.jsx($c,{"data-state":o?"visible":"hidden",...n,ref:t})})}),lm=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=X0(c1,e.__scopeScrollArea),o=e.orientation==="horizontal",l=Nr(()=>s("SCROLL_END"),100),[i,s]=nm("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(I0,{present:r||i!=="hidden",children:c.jsx(Ca,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:Z(e.onPointerEnter,()=>s("POINTER_ENTER")),onPointerLeave:Z(e.onPointerLeave,()=>s("POINTER_LEAVE"))})})}),$c=p.forwardRef((e,t)=>{const r=X0(c1,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,l]=p.useState(!1),i=e.orientation==="horizontal",s=Nr(()=>{if(r.viewport){const d=r.viewport.offsetWidth<r.viewport.scrollWidth,u=r.viewport.offsetHeight<r.viewport.scrollHeight;l(i?d:u)}},10);return Ce(r.viewport,s),Ce(r.content,s),c.jsx(I0,{present:n||o,children:c.jsx(Ca,{"data-state":o?"visible":"hidden",...a,ref:t})})}),Ca=p.forwardRef((e,t)=>{const{orientation:r="vertical",...n}=e,a=X0(c1,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=Kc(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 fm(h,l.current,i,g)}return r==="horizontal"?c.jsx(im,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const h=a.viewport.scrollLeft,g=rl(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(sm,{...u,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){const h=a.viewport.scrollTop,g=rl(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}),im=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=X0(c1,e.__scopeScrollArea),[l,i]=p.useState(),s=p.useRef(null),d=c0(t,s,o.onScrollbarXChange);return p.useEffect(()=>{s.current&&i(getComputedStyle(s.current))},[s]),c.jsx(Bc,{"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":kr(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),qc(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:lr(l.paddingLeft),paddingEnd:lr(l.paddingRight)}})}})}),sm=p.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,o=X0(c1,e.__scopeScrollArea),[l,i]=p.useState(),s=p.useRef(null),d=c0(t,s,o.onScrollbarYChange);return p.useEffect(()=>{s.current&&i(getComputedStyle(s.current))},[s]),c.jsx(Bc,{"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":kr(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),qc(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:lr(l.paddingTop),paddingEnd:lr(l.paddingBottom)}})}})}),[cm,Fc]=Hc(c1),Bc=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=X0(c1,r),[x,m]=p.useState(null),v=c0(t,L=>m(L)),C=p.useRef(null),y=p.useRef(""),_=g.viewport,A=n.content-n.viewport,S=N0(u),I=N0(s),H=Nr(f,10);function R(L){if(C.current){const j=L.clientX-C.current.left,F=L.clientY-C.current.top;d({x:j,y:F})}}return p.useEffect(()=>{const L=j=>{const F=j.target;(x==null?void 0:x.contains(F))&&S(j,A)};return document.addEventListener("wheel",L,{passive:!1}),()=>document.removeEventListener("wheel",L,{passive:!1})},[_,x,A,S]),p.useEffect(I,[n,I]),Ce(x,H),Ce(g.content,H),c.jsx(cm,{scope:r,scrollbar:x,hasThumb:a,onThumbChange:N0(o),onThumbPointerUp:N0(l),onThumbPositionChange:I,onThumbPointerDown:N0(i),children:c.jsx(n0.div,{...h,ref:v,style:{position:"absolute",...h.style},onPointerDown:Z(e.onPointerDown,L=>{L.button===0&&(L.target.setPointerCapture(L.pointerId),C.current=x.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",g.viewport&&(g.viewport.style.scrollBehavior="auto"),R(L))}),onPointerMove:Z(e.onPointerMove,R),onPointerUp:Z(e.onPointerUp,L=>{const j=L.target;j.hasPointerCapture(L.pointerId)&&j.releasePointerCapture(L.pointerId),document.body.style.webkitUserSelect=y.current,g.viewport&&(g.viewport.style.scrollBehavior=""),C.current=null})})})}),ar="ScrollAreaThumb",Uc=p.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=Fc(ar,e.__scopeScrollArea);return c.jsx(I0,{present:r||a.hasThumb,children:c.jsx(dm,{ref:t,...n})})}),dm=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:n,...a}=e,o=X0(ar,r),l=Fc(ar,r),{onThumbPositionChange:i}=l,s=c0(t,f=>l.onThumbChange(f)),d=p.useRef(void 0),u=Nr(()=>{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=hm(f,i);d.current=g,i()}};return i(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[o.viewport,u,i]),c.jsx(n0.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:Z(e.onPointerDownCapture,f=>{const g=f.target.getBoundingClientRect(),x=f.clientX-g.left,m=f.clientY-g.top;l.onThumbPointerDown({x,y:m})}),onPointerUp:Z(e.onPointerUp,l.onThumbPointerUp)})});Uc.displayName=ar;var _a="ScrollAreaCorner",Wc=p.forwardRef((e,t)=>{const r=X0(_a,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?c.jsx(um,{...e,ref:t}):null});Wc.displayName=_a;var um=p.forwardRef((e,t)=>{const{__scopeScrollArea:r,...n}=e,a=X0(_a,r),[o,l]=p.useState(0),[i,s]=p.useState(0),d=!!(o&&i);return Ce(a.scrollbarX,()=>{var f;const u=((f=a.scrollbarX)==null?void 0:f.offsetHeight)||0;a.onCornerHeightChange(u),s(u)}),Ce(a.scrollbarY,()=>{var f;const u=((f=a.scrollbarY)==null?void 0:f.offsetWidth)||0;a.onCornerWidthChange(u),l(u)}),d?c.jsx(n0.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 lr(e){return e?parseInt(e,10):0}function Kc(e,t){const r=e/t;return isNaN(r)?0:r}function kr(e){const t=Kc(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function fm(e,t,r,n="ltr"){const a=kr(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 Gc([s,d],f)(e)}function rl(e,t,r="ltr"){const n=kr(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=ya(e,s);return Gc([0,l],[0,i])(d)}function Gc(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 qc(e,t){return e>0&&e<t}var hm=(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 Nr(e,t){const r=N0(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 Ce(e,t){const r=N0(t);m1(()=>{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 pm=Dc,vm=Lc,nl=Vc,ol=Uc,gm=Wc;const mm="_root_hkznm_4",bm="_viewport_hkznm_12",wm="_scrollbar_hkznm_43",ym="_thumb_hkznm_75",xm="_corner_hkznm_93",$1={root:mm,viewport:bm,scrollbar:wm,thumb:ym,corner:xm},Cm=({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(pm,{type:e,className:$1.root,style:{maxWidth:r},"data-test-id":i,ref:s,children:[c.jsx(vm,{className:$1.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(nl,{className:$1.scrollbar,orientation:"vertical","data-test-id":`${i}-vertical-scrollbar`,children:c.jsx(ol,{className:$1.thumb,"data-test-id":`${i}-vertical-scrollbar-thumb`})}),c.jsx(nl,{className:$1.scrollbar,orientation:"horizontal","data-test-id":`${i}-horizontal-scrollbar`,children:c.jsx(ol,{className:$1.thumb,"data-test-id":`${i}-horizontal-scrollbar-thumb`})}),c.jsx(gm,{className:$1.corner,"data-test-id":`${i}-corner`})]}),Yc=b.forwardRef(Cm);Yc.displayName="ScrollArea";const _m="_root_5sic9_5",Mm={root:_m},Am=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:Mm.root,"data-test-id":e,style:fr(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}));Am.displayName="Section";var Xc="Toggle",Qc=p.forwardRef((e,t)=>{const{pressed:r,defaultPressed:n,onPressedChange:a,...o}=e,[l,i]=Y0({prop:r,onChange:a,defaultProp:n??!1,caller:Xc});return c.jsx(n0.button,{type:"button","aria-pressed":l,"data-state":l?"on":"off","data-disabled":e.disabled?"":void 0,...o,ref:t,onClick:Z(e.onClick,()=>{e.disabled||i(!l)})})});Qc.displayName=Xc;var j1="ToggleGroup",[Zc,ox]=H0(j1,[De]),Jc=De(),Ma=b.forwardRef((e,t)=>{const{type:r,...n}=e;if(r==="single"){const a=n;return c.jsx(Sm,{...a,ref:t})}if(r==="multiple"){const a=n;return c.jsx(Em,{...a,ref:t})}throw new Error(`Missing prop \`type\` expected on \`${j1}\``)});Ma.displayName=j1;var[ed,td]=Zc(j1),Sm=b.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:a=()=>{},...o}=e,[l,i]=Y0({prop:r,defaultProp:n??"",onChange:a,caller:j1});return c.jsx(ed,{scope:e.__scopeToggleGroup,type:"single",value:b.useMemo(()=>l?[l]:[],[l]),onItemActivate:i,onItemDeactivate:b.useCallback(()=>i(""),[i]),children:c.jsx(rd,{...o,ref:t})})}),Em=b.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:a=()=>{},...o}=e,[l,i]=Y0({prop:r,defaultProp:n??[],onChange:a,caller:j1}),s=b.useCallback(u=>i((f=[])=>[...f,u]),[i]),d=b.useCallback(u=>i((f=[])=>f.filter(h=>h!==u)),[i]);return c.jsx(ed,{scope:e.__scopeToggleGroup,type:"multiple",value:l,onItemActivate:s,onItemDeactivate:d,children:c.jsx(rd,{...o,ref:t})})});Ma.displayName=j1;var[Im,Pm]=Zc(j1),rd=b.forwardRef((e,t)=>{const{__scopeToggleGroup:r,disabled:n=!1,rovingFocus:a=!0,orientation:o,dir:l,loop:i=!0,...s}=e,d=Jc(r),u=Ie(l),f={role:"group",dir:u,...s};return c.jsx(Im,{scope:r,rovingFocus:a,disabled:n,children:a?c.jsx(ca,{asChild:!0,...d,orientation:o,dir:u,loop:i,children:c.jsx(n0.div,{...f,ref:t})}):c.jsx(n0.div,{...f,ref:t})})}),ir="ToggleGroupItem",nd=b.forwardRef((e,t)=>{const r=td(ir,e.__scopeToggleGroup),n=Pm(ir,e.__scopeToggleGroup),a=Jc(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(da,{asChild:!0,...a,focusable:!l,active:o,ref:s,children:c.jsx(al,{...i,ref:t})}):c.jsx(al,{...i,ref:t})});nd.displayName=ir;var al=b.forwardRef((e,t)=>{const{__scopeToggleGroup:r,value:n,...a}=e,o=td(ir,r),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},i=o.type==="single"?l:void 0;return c.jsx(Qc,{...i,...a,ref:t,onPressedChange:s=>{s?o.onItemActivate(n):o.onItemDeactivate(n)}})}),Rm=Ma,Tm=nd;const od=({prop:e,defaultProp:t,onChange:r=()=>{}})=>{const[n,a]=km({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]},km=({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]},Nm="_root_1yzu4_5",zm="_item_1yzu4_30",Om="_itemLabel_1yzu4_50",Hm="_itemLabelActive_1yzu4_70",Dm="_itemLabelInactive_1yzu4_100",jm="_activeIndicator_1yzu4_130",Lm="_separator_1yzu4_227",F1={root:Nm,item:zm,itemLabel:Om,itemLabelActive:Hm,itemLabelInactive:Dm,activeIndicator:jm,separator:Lm},ad=({children:e,value:t,defaultValue:r,onValueChange:n,hugWidth:a=!0,...o},l)=>{const[i,s]=od({prop:t,defaultProp:r,onChange:n});return c.jsxs(Rm,{ref:l,...o,className:F1.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:F1.activeIndicator})]})};ad.displayName="SegmentedControl.Root";const ld=({children:e,...t},r)=>c.jsxs(Tm,{ref:r,...t,className:F1.item,asChild:!1,children:[c.jsx("span",{className:F1.separator}),c.jsxs("span",{className:F1.itemLabel,children:[c.jsx("span",{className:F1.itemLabelActive,children:e}),c.jsx("span",{className:F1.itemLabelInactive,children:e})]})]});ld.displayName="SegmentedControl.Item";b.forwardRef(ad),b.forwardRef(ld);var id=["PageUp","PageDown"],sd=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],cd={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},je="Slider",[Vn,Vm,$m]=Jn(je),[dd,ax]=H0(je,[$m]),[Fm,zr]=dd(je),ud=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:x,...m}=e,v=p.useRef(new Set),C=p.useRef(0),_=l==="horizontal"?Bm:Um,[A=[],S]=Y0({prop:u,defaultProp:d,onChange:F=>{var B;(B=[...v.current][C.current])==null||B.focus(),f(F)}}),I=p.useRef(A);function H(F){const P=Ym(A,F);j(F,P)}function R(F){j(F,C.current)}function L(){const F=I.current[C.current];A[C.current]!==F&&h(A)}function j(F,P,{commit:B}={commit:!1}){const z=Jm(o),q=e9(Math.round((F-n)/o)*o+n,z),U=ya(q,[n,a]);S((V=[])=>{const D=Gm(V,U,P);if(Zm(D,s*o)){C.current=D.indexOf(U);const T=String(D)!==String(V);return T&&B&&h(D),T?D:V}else return V})}return c.jsx(Fm,{scope:e.__scopeSlider,name:r,disabled:i,min:n,max:a,valueIndexToChangeRef:C,thumbs:v.current,values:A,orientation:l,form:x,children:c.jsx(Vn.Provider,{scope:e.__scopeSlider,children:c.jsx(Vn.Slot,{scope:e.__scopeSlider,children:c.jsx(_,{"aria-disabled":i,"data-disabled":i?"":void 0,...m,ref:t,onPointerDown:Z(m.onPointerDown,()=>{i||(I.current=A)}),min:n,max:a,inverted:g,onSlideStart:i?void 0:H,onSlideMove:i?void 0:R,onSlideEnd:i?void 0:L,onHomeKeyDown:()=>!i&&j(n,0,{commit:!0}),onEndKeyDown:()=>!i&&j(a,A.length-1,{commit:!0}),onStepKeyDown:({event:F,direction:P})=>{if(!i){const q=id.includes(F.key)||F.shiftKey&&sd.includes(F.key)?10:1,U=C.current,V=A[U],D=o*q*P;j(V+D,U,{commit:!0})}}})})})})});ud.displayName=je;var[fd,hd]=dd(je,{startEdge:"left",endEdge:"right",size:"width",direction:1}),Bm=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=c0(t,_=>h(_)),x=p.useRef(void 0),m=Ie(a),v=m==="ltr",C=v&&!o||!v&&o;function y(_){const A=x.current||f.getBoundingClientRect(),S=[0,A.width],H=Aa(S,C?[r,n]:[n,r]);return x.current=A,H(_-A.left)}return c.jsx(fd,{scope:e.__scopeSlider,startEdge:C?"left":"right",endEdge:C?"right":"left",direction:C?1:-1,size:"width",children:c.jsx(pd,{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:()=>{x.current=void 0,s==null||s()},onStepKeyDown:_=>{const S=cd[C?"from-left":"from-right"].includes(_.key);d==null||d({event:_,direction:S?-1:1})}})})}),Um=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=c0(t,u),h=p.useRef(void 0),g=!a;function x(m){const v=h.current||u.current.getBoundingClientRect(),C=[0,v.height],_=Aa(C,g?[n,r]:[r,n]);return h.current=v,_(m-v.top)}return c.jsx(fd,{scope:e.__scopeSlider,startEdge:g?"bottom":"top",endEdge:g?"top":"bottom",size:"height",direction:g?1:-1,children:c.jsx(pd,{"data-orientation":"vertical",...d,ref:f,style:{...d.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:m=>{const v=x(m.clientY);o==null||o(v)},onSlideMove:m=>{const v=x(m.clientY);l==null||l(v)},onSlideEnd:()=>{h.current=void 0,i==null||i()},onStepKeyDown:m=>{const C=cd[g?"from-bottom":"from-top"].includes(m.key);s==null||s({event:m,direction:C?-1:1})}})})}),pd=p.forwardRef((e,t)=>{const{__scopeSlider:r,onSlideStart:n,onSlideMove:a,onSlideEnd:o,onHomeKeyDown:l,onEndKeyDown:i,onStepKeyDown:s,...d}=e,u=zr(je,r);return c.jsx(n0.span,{...d,ref:t,onKeyDown:Z(e.onKeyDown,f=>{f.key==="Home"?(l(f),f.preventDefault()):f.key==="End"?(i(f),f.preventDefault()):id.concat(sd).includes(f.key)&&(s(f),f.preventDefault())}),onPointerDown:Z(e.onPointerDown,f=>{const h=f.target;h.setPointerCapture(f.pointerId),f.preventDefault(),u.thumbs.has(h)?h.focus():n(f)}),onPointerMove:Z(e.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&a(f)}),onPointerUp:Z(e.onPointerUp,f=>{const h=f.target;h.hasPointerCapture(f.pointerId)&&(h.releasePointerCapture(f.pointerId),o(f))})})}),vd="SliderTrack",gd=p.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,a=zr(vd,r);return c.jsx(n0.span,{"data-disabled":a.disabled?"":void 0,"data-orientation":a.orientation,...n,ref:t})});gd.displayName=vd;var $n="SliderRange",md=p.forwardRef((e,t)=>{const{__scopeSlider:r,...n}=e,a=zr($n,r),o=hd($n,r),l=p.useRef(null),i=c0(t,l),s=a.values.length,d=a.values.map(h=>yd(h,a.min,a.max)),u=s>1?Math.min(...d):0,f=100-Math.max(...d);return c.jsx(n0.span,{"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,...n,ref:i,style:{...e.style,[o.startEdge]:u+"%",[o.endEdge]:f+"%"}})});md.displayName=$n;var Fn="SliderThumb",bd=p.forwardRef((e,t)=>{const r=Vm(e.__scopeSlider),[n,a]=p.useState(null),o=c0(t,i=>a(i)),l=p.useMemo(()=>n?r().findIndex(i=>i.ref.current===n):-1,[r,n]);return c.jsx(Wm,{...e,ref:o,index:l})}),Wm=p.forwardRef((e,t)=>{const{__scopeSlider:r,index:n,name:a,...o}=e,l=zr(Fn,r),i=hd(Fn,r),[s,d]=p.useState(null),u=c0(t,y=>d(y)),f=s?l.form||!!s.closest("form"):!0,h=hr(s),g=l.values[n],x=g===void 0?0:yd(g,l.min,l.max),m=qm(n,l.values.length),v=h==null?void 0:h[i.size],C=v?Xm(v,x,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(${x}% + ${C}px)`},children:[c.jsx(Vn.ItemSlot,{scope:e.__scopeSlider,children:c.jsx(n0.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:Z(e.onFocus,()=>{l.valueIndexToChangeRef.current=n})})}),f&&c.jsx(wd,{name:a??(l.name?l.name+(l.values.length>1?"[]":""):void 0),form:l.form,value:g},n)]})});bd.displayName=Fn;var Km="RadioBubbleInput",wd=p.forwardRef(({__scopeSlider:e,value:t,...r},n)=>{const a=p.useRef(null),o=c0(a,n),l=ro(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(n0.input,{style:{display:"none"},...r,ref:o,defaultValue:t})});wd.displayName=Km;function Gm(e=[],t,r){const n=[...e];return n[r]=t,n.sort((a,o)=>a-o)}function yd(e,t,r){const o=100/(r-t)*(e-t);return ya(o,[0,100])}function qm(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function Ym(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 Xm(e,t,r){const n=e/2,o=Aa([0,50],[0,n]);return(n-o(t)*r)*r}function Qm(e){return e.slice(0,-1).map((t,r)=>e[r+1]-t)}function Zm(e,t){if(t>0){const r=Qm(e);return Math.min(...r)>=t}return!0}function Aa(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 Jm(e){return(String(e).split(".")[1]||"").length}function e9(e,t){const r=Math.pow(10,t);return Math.round(e*r)/r}var t9=ud,r9=gd,n9=md,o9=bd;const a9="_root_fs3zj_5",l9="_thumb_fs3zj_17",i9="_track_fs3zj_21",s9="_range_fs3zj_28",Tt={root:a9,thumb:l9,track:i9,range:s9},c9=({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(t9,{ref:l,className:Tt.root,value:e,defaultValue:t,onValueChange:r,onValueCommit:n,"data-test-id":a,...o,children:[c.jsx(r9,{onPointerDown:()=>{i.current&&(i.current.dataset.showFocusRing="false")},className:Tt.track,children:c.jsx(n9,{className:Tt.range})}),(e||t).map((s,d)=>c.jsx(o9,{ref:i,className:Tt.thumb,onPointerDown:u=>{u.currentTarget.dataset.showFocusRing="false"},onBlur:u=>{u.currentTarget.dataset.showFocusRing="true"}},d))]})},d9=b.forwardRef(c9);d9.displayName="Slider";var Or="Switch",[u9,lx]=H0(Or),[f9,h9]=u9(Or),xd=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),x=c0(t,_=>g(_)),m=p.useRef(!1),v=h?u||!!h.closest("form"):!0,[C,y]=Y0({prop:a,defaultProp:o??!1,onChange:d,caller:Or});return c.jsxs(f9,{scope:r,checked:C,disabled:i,children:[c.jsx(n0.button,{type:"button",role:"switch","aria-checked":C,"aria-required":l,"data-state":Ad(C),"data-disabled":i?"":void 0,disabled:i,value:s,...f,ref:x,onClick:Z(e.onClick,_=>{y(A=>!A),v&&(m.current=_.isPropagationStopped(),m.current||_.stopPropagation())})}),v&&c.jsx(Md,{control:h,bubbles:!m.current,name:n,value:s,checked:C,required:l,disabled:i,form:u,style:{transform:"translateX(-100%)"}})]})});xd.displayName=Or;var Cd="SwitchThumb",_d=p.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,a=h9(Cd,r);return c.jsx(n0.span,{"data-state":Ad(a.checked),"data-disabled":a.disabled?"":void 0,...n,ref:t})});_d.displayName=Cd;var p9="SwitchBubbleInput",Md=p.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...a},o)=>{const l=p.useRef(null),i=c0(l,o),s=ro(r),d=hr(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 x=new Event("click",{bubbles:n});g.call(u,r),u.dispatchEvent(x)}},[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}})});Md.displayName=p9;function Ad(e){return e?"checked":"unchecked"}var v9=xd,g9=_d;const m9="_root_1g6pz_5",b9="_small_1g6pz_16",w9="_medium_1g6pz_20",y9="_large_1g6pz_24",x9="_thumb_1g6pz_61",pn={root:m9,small:b9,medium:w9,large:y9,thumb:x9},C9=({value:e,defaultValue:t,size:r="medium",onChange:n,"data-test-id":a="fondue-switch","aria-label":o="Switch",...l},i)=>c.jsx(v9,{ref:i,checked:e,defaultChecked:t,className:s1([pn.root,pn[r]]),onCheckedChange:n,"aria-label":o,"data-test-id":a,...l,children:c.jsx(g9,{className:pn.thumb})}),_9=b.forwardRef(C9);_9.displayName="Switch";const Sd=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])},M9="_table_1outv_4",A9="_headerCell_1outv_18",S9="_rowCell_1outv_19",E9="_caption_1outv_46",I9="_cellContent_1outv_71",P9="_sortIndicator_1outv_96",R9="_body_1outv_100",T9="_row_1outv_19",k9="_buttonText_1outv_164",W0={table:M9,headerCell:A9,rowCell:S9,caption:E9,cellContent:I9,sortIndicator:P9,body:R9,row:T9,buttonText:k9};function N9(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 z9(e){const t=e.target,r=t.closest("tr");if(!r||t!==r||!["ArrowUp","ArrowDown"].includes(e.key))return;const n=N9(r,e.key);n&&(e.preventDefault(),n.focus())}const O9=[HTMLButtonElement,HTMLAnchorElement],H9=["button","link"];function D9(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(O9.some(o=>n instanceof o))return!0;const a=n.getAttribute("role");if(a&&H9.includes(a))return!0;n=n.parentElement}return!1}const j9=b.forwardRef(({layout:e="auto",fontSize:t="medium",sticky:r,children:n,...a},o)=>c.jsx("table",{ref:o,className:W0.table,"data-layout":e,"data-font-size":t,"data-sticky":r,onKeyDown:z9,...a,children:n}));j9.displayName="Table.Root";const L9=b.forwardRef(({children:e},t)=>c.jsx("caption",{ref:t,className:W0.caption,children:e}));L9.displayName="Table.Caption";const V9=b.forwardRef(({children:e,"aria-label":t,"aria-busy":r},n)=>c.jsx("thead",{ref:n,className:W0.header,"aria-label":t,"aria-busy":r,children:e}));V9.displayName="Table.Header";const $9=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);ia(g,h),Sd(g);const x=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:W0.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:W0.cellContent,"aria-live":"polite","aria-label":d,children:[typeof f=="string"&&t?c.jsx("span",{className:W0.buttonText,children:f}):f,c.jsx(ze,{"data-test-id":"fondue-loading-circle",size:"xx-small"})]}):u?c.jsxs("button",{className:W0.cellContent,"aria-label":x,"data-active":!!o,onClick:m,type:"button",children:[typeof f=="string"&&t?c.jsx("span",{className:W0.buttonText,children:f}):f,c.jsx(Cl,{width:3,children:o==="ascending"?c.jsx(M7,{size:"12"}):o==="descending"?c.jsx(_7,{size:"12"}):c.jsx(C7,{className:W0.sortIndicator,size:"12"})})]}):f})});$9.displayName="Table.HeaderCell";const F9=b.forwardRef(({children:e,"aria-busy":t},r)=>c.jsx("tbody",{ref:r,className:W0.body,"aria-busy":t,children:e}));F9.displayName="Table.Body";const B9=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||D9(u)||r&&r(t)},d=u=>{i&&(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),s())};return c.jsx("tr",{ref:l,className:W0.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})});B9.displayName="Table.Row";const U9=b.forwardRef(({colSpan:e,truncate:t,align:r="left",children:n,"aria-label":a},o)=>{const l=b.useRef(null);return ia(l,o),Sd(l),c.jsx("td",{ref:l,className:W0.rowCell,colSpan:e,"data-align":r,"data-truncate":t,"aria-label":a,children:n})});U9.displayName="Table.RowCell";const W9=({children:e})=>c.jsx(c.Fragment,{children:e});W9.displayName="Tag.HoverContent";const K9=({children:e})=>c.jsx(c.Fragment,{children:e});K9.displayName="Tag.SecondaryContent";var Hr="Tabs",[G9,ix]=H0(Hr,[De]),Ed=De(),[q9,Sa]=G9(Hr),Id=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]=Y0({prop:n,onChange:a,defaultProp:o??"",caller:Hr});return c.jsx(q9,{scope:r,baseId:v1(),value:f,onValueChange:h,orientation:l,dir:u,activationMode:s,children:c.jsx(n0.div,{dir:u,"data-orientation":l,...d,ref:t})})});Id.displayName=Hr;var Pd="TabsList",Rd=p.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...a}=e,o=Sa(Pd,r),l=Ed(r);return c.jsx(ca,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:n,children:c.jsx(n0.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})});Rd.displayName=Pd;var Td="TabsTrigger",kd=p.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:a=!1,...o}=e,l=Sa(Td,r),i=Ed(r),s=Od(l.baseId,n),d=Hd(l.baseId,n),u=n===l.value;return c.jsx(da,{asChild:!0,...i,focusable:!a,active:u,children:c.jsx(n0.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:Z(e.onMouseDown,f=>{!a&&f.button===0&&f.ctrlKey===!1?l.onValueChange(n):f.preventDefault()}),onKeyDown:Z(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&l.onValueChange(n)}),onFocus:Z(e.onFocus,()=>{const f=l.activationMode!=="manual";!u&&!a&&f&&l.onValueChange(n)})})})});kd.displayName=Td;var Nd="TabsContent",zd=p.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:a,children:o,...l}=e,i=Sa(Nd,r),s=Od(i.baseId,n),d=Hd(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(I0,{present:a||u,children:({present:h})=>c.jsx(n0.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})})});zd.displayName=Nd;function Od(e,t){return`${e}-trigger-${t}`}function Hd(e,t){return`${e}-content-${t}`}var Y9=Id,X9=Rd,Q9=kd,Z9=zd;const J9=(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}),kt=(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`)},eb=({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&&(kt(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){kt(s,r);const u=new MutationObserver(()=>{d.scrollIntoView({behavior:"instant",block:"nearest",inline:"end"}),kt(s,r)});s.parentNode&&u.observe(s.parentNode,{childList:!0});const f=new IntersectionObserver(()=>{l(J9(n,s)),kt(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]})}}},tb="_triggerListWrapper_chl5v_5",rb="_trigger_chl5v_5",nb="_activeIndicator_chl5v_53",ob="_triggerList_chl5v_5",ab="_root_chl5v_143",lb="_content_chl5v_166",se={triggerListWrapper:tb,trigger:rb,activeIndicator:nb,triggerList:ob,root:ab,content:lb},Dr=b.createContext({value:"",disabled:!1});Dr.displayName="TabConfigContext";const Ea=b.createContext({addTrigger:()=>{}});Ea.displayName="TabTriggerContext";const Dd=({padding:e="compact",activeTab:t,defaultActiveTab:r,size:n="medium",onActiveTabChange:a,children:o,variant:l="default",...i},s)=>{var d;const[u,f]=od({prop:t,defaultProp:r,onChange:a}),h=b.useCallback(_=>{f(_)},[f]),{triggerListRef:g,activeIndicatorRef:x,triggers:m,triggersOutOfView:v,addTrigger:C}=eb({activeTab:u}),y=b.useMemo(()=>({addTrigger:C}),[C]);return c.jsx(Ea.Provider,{value:y,children:c.jsxs(Y9,{ref:s,className:se.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:se.triggerListWrapper,children:[c.jsx(X9,{ref:g,"data-size":n,className:se.triggerList,children:m.map(_=>b.createElement(Q9,{..._.props,key:_.value,value:_.value,disabled:_.disabled,className:se.trigger,ref:_.ref},_.element))}),c.jsxs(C0.Root,{children:[v.length>0&&c.jsx(C0.Trigger,{"data-test-id":"overflow-items-dropdown-trigger",children:c.jsx(R1,{emphasis:"default",aspect:"square",size:"small",children:c.jsx(ml,{size:16})})}),c.jsx(C0.Content,{align:"end","data-test-id":"overflow-items-dropdown-content",children:v.map(_=>b.createElement(C0.Item,{..._.props,disabled:_.disabled,onSelect:()=>h(_.value),key:_.value},_.element))})]}),c.jsx("span",{"data-test-id":"active-tab-indicator",ref:x,className:se.activeIndicator})]}),o]})})};Dd.displayName="Tabs.Root";const jd=({children:e,value:t,disabled:r})=>{const n=b.useMemo(()=>({value:t,disabled:r}),[t,r]);return c.jsx(Dr.Provider,{value:n,children:e})};jd.displayName="Tabs.Tab";const Ld=({children:e,...t},r)=>{const{value:n,disabled:a}=b.useContext(Dr),{addTrigger:o}=b.useContext(Ea),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};Ld.displayName="Tabs.Trigger";const Vd=({children:e,...t},r)=>{const{value:n}=b.useContext(Dr);return c.jsx(Z9,{ref:r,...t,className:se.content,value:n??"",children:e})};Vd.displayName="Tabs.Content";b.forwardRef(Dd),b.forwardRef(jd),b.forwardRef(Ld),b.forwardRef(Vd);const ib="_root_1cjgh_2",Nt={root:ib,"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"},sb=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:s1([Nt.root,Nt[`size-${r}`],Nt[`weight-${n}`],Nt[o?`color-box-${o}`:`color-${a}`],l]),ref:s,...i,children:e}));sb.displayName="FondueText";var cb=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"}),db="VisuallyHidden",$d=p.forwardRef((e,t)=>c.jsx(n0.span,{...e,ref:t,style:{...cb,...e.style}}));$d.displayName=db;var ub=$d,[jr,sx]=H0("Tooltip",[Ne]),Lr=Ne(),Fd="TooltipProvider",fb=700,Bn="tooltip.open",[hb,Ia]=jr(Fd),Bd=e=>{const{__scopeTooltip:t,delayDuration:r=fb,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(hb,{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})};Bd.displayName=Fd;var it="Tooltip",[pb,mt]=jr(it),Ud=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:a,onOpenChange:o,disableHoverableContent:l,delayDuration:i}=e,s=Ia(it,e.__scopeTooltip),d=Lr(t),[u,f]=p.useState(null),h=v1(),g=p.useRef(0),x=l??s.disableHoverableContent,m=i??s.delayDuration,v=p.useRef(!1),[C,y]=Y0({prop:n,defaultProp:a??!1,onChange:H=>{H?(s.onOpen(),document.dispatchEvent(new CustomEvent(Bn))):s.onClose(),o==null||o(H)},caller:it}),_=p.useMemo(()=>C?v.current?"delayed-open":"instant-open":"closed",[C]),A=p.useCallback(()=>{window.clearTimeout(g.current),g.current=0,v.current=!1,y(!0)},[y]),S=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(mo,{...d,children:c.jsx(pb,{scope:t,contentId:h,open:C,stateAttribute:_,trigger:u,onTriggerChange:f,onTriggerEnter:p.useCallback(()=>{s.isOpenDelayedRef.current?I():A()},[s.isOpenDelayedRef,I,A]),onTriggerLeave:p.useCallback(()=>{x?S():(window.clearTimeout(g.current),g.current=0)},[S,x]),onOpen:A,onClose:S,disableHoverableContent:x,children:r})})};Ud.displayName=it;var Un="TooltipTrigger",Wd=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=mt(Un,r),o=Ia(Un,r),l=Lr(r),i=p.useRef(null),s=c0(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(yr,{asChild:!0,...l,children:c.jsx(n0.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...n,ref:s,onPointerMove:Z(e.onPointerMove,h=>{h.pointerType!=="touch"&&!u.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),u.current=!0)}),onPointerLeave:Z(e.onPointerLeave,()=>{a.onTriggerLeave(),u.current=!1}),onPointerDown:Z(e.onPointerDown,()=>{a.open&&a.onClose(),d.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Z(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:Z(e.onBlur,a.onClose),onClick:Z(e.onClick,a.onClose)})})});Wd.displayName=Un;var Pa="TooltipPortal",[vb,gb]=jr(Pa,{forceMount:void 0}),Kd=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:a}=e,o=mt(Pa,t);return c.jsx(vb,{scope:t,forceMount:r,children:c.jsx(I0,{present:r||o.open,children:c.jsx(ft,{asChild:!0,container:a,children:n})})})};Kd.displayName=Pa;var _e="TooltipContent",Gd=p.forwardRef((e,t)=>{const r=gb(_e,e.__scopeTooltip),{forceMount:n=r.forceMount,side:a="top",...o}=e,l=mt(_e,e.__scopeTooltip);return c.jsx(I0,{present:n||l.open,children:l.disableHoverableContent?c.jsx(qd,{side:a,...o,ref:t}):c.jsx(mb,{side:a,...o,ref:t})})}),mb=p.forwardRef((e,t)=>{const r=mt(_e,e.__scopeTooltip),n=Ia(_e,e.__scopeTooltip),a=p.useRef(null),o=c0(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((x,m)=>{const v=x.currentTarget,C={x:x.clientX,y:x.clientY},y=xb(C,v.getBoundingClientRect()),_=Cb(C,y),A=_b(m.getBoundingClientRect()),S=Ab([..._,...A]);i(S),f(!0)},[f]);return p.useEffect(()=>()=>h(),[h]),p.useEffect(()=>{if(s&&u){const x=v=>g(v,u),m=v=>g(v,s);return s.addEventListener("pointerleave",x),u.addEventListener("pointerleave",m),()=>{s.removeEventListener("pointerleave",x),u.removeEventListener("pointerleave",m)}}},[s,u,g,h]),p.useEffect(()=>{if(l){const x=m=>{const v=m.target,C={x:m.clientX,y:m.clientY},y=(s==null?void 0:s.contains(v))||(u==null?void 0:u.contains(v)),_=!Mb(C,l);y?h():_&&(h(),d())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[s,u,l,d,h]),c.jsx(qd,{...e,ref:o})}),[bb,wb]=jr(it,{isInside:!1}),yb=z7("TooltipContent"),qd=p.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:l,...i}=e,s=mt(_e,r),d=Lr(r),{onClose:u}=s;return p.useEffect(()=>(document.addEventListener(Bn,u),()=>document.removeEventListener(Bn,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(dt,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:f=>f.preventDefault(),onDismiss:u,children:c.jsxs(bo,{"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(yb,{children:n}),c.jsx(bb,{scope:r,isInside:!0,children:c.jsx(ub,{id:s.contentId,role:"tooltip",children:a||n})})]})})});Gd.displayName=_e;var Yd="TooltipArrow",Xd=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=Lr(r);return wb(Yd,r).isInside?null:c.jsx(wo,{...a,...n,ref:t})});Xd.displayName=Yd;function xb(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 Cb(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 _b(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 Mb(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 Ab(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),Sb(t)}function Sb(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 Eb=Bd,Ib=Ud,Pb=Wd,Rb=Kd,Tb=Gd,kb=Xd;const Nb="_root_13m98_4",zb="_arrow_13m98_25",ll={root:Nb,arrow:zb},Qd=({children:e,enterDelay:t=700,open:r,onOpenChange:n,...a})=>c.jsx(Eb,{children:c.jsx(Ib,{delayDuration:t,open:r,onOpenChange:n,...a,children:e})});Qd.displayName="Tooltip.Root";const Zd=({asChild:e=!1,children:t,"data-test-id":r="fondue-tooltip-trigger"},n)=>c.jsx(Pb,{"data-test-id":r,type:e?void 0:"button",asChild:e,ref:n,children:t});Zd.displayName="Tooltip.Trigger";const Jd=({children:e,className:t,maxWidth:r,"data-test-id":n="fondue-tooltip-content",padding:a="spacious",...o},l)=>{const i=Oe();return c.jsx(Rb,{children:c.jsx(He,{theme:i,children:c.jsxs(Tb,{"data-test-id":n,"data-tooltip-spacing":a,className:s1(ll.root,t),style:{maxWidth:r},collisionPadding:16,sideOffset:8,ref:l,...o,children:[e,c.jsx(kb,{"aria-hidden":"true",className:ll.arrow})]})})})};Jd.displayName="Tooltip.Content";const q0={Root:Qd,Trigger:b.forwardRef(Zd),Content:b.forwardRef(Jd)},l1=e=>e.filter(Boolean).join(" "),Ob=({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),[x,m]=b.useState(),v=b.useRef(null),[C,y]=b.useState(void 0),_=R=>{if(R.preventDefault(),g(!1),!A(R.dataTransfer.files)){y("Invalid"),setTimeout(()=>{y(void 0)},1e3);return}e==null||e(R.dataTransfer.files)},A=R=>{if(!u)return!0;for(let L=0;L<R.length;L++){const j=R[L].name.split(".").pop()??"";if(!G1.FileExtensionSets[u].includes(j))return!1}return!0},S=R=>{if(!v.current||a)return;const{clientX:L,clientY:j}=R,F=L===0&&j===0,{left:P,top:B,width:z,height:q}=v.current.getBoundingClientRect(),U=F?z/2:L-P,V=F?q/2:j-B;m([U,V])},I=b.useCallback(R=>{R(),m(void 0)},[]),H=b.useMemo(()=>{const R=[];return i&&R.push({onSelect:()=>I(i),title:"Upload asset",icon:c.jsx(gl,{size:"20"})}),l&&R.push({onSelect:()=>I(l),title:"Browse asset",icon:c.jsx(bl,{size:"20"})}),R},[l,i,I]);return c.jsxs("button",{ref:v,"data-test-id":"block-inject-button",className:l1(["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",x&&"tw-bg-blank-state-pressed-inverse",h&&"tw-bg-blank-state-weak-inverse",C?"!tw-border-red-50 !tw-cursor-not-allowed":" tw-border-blank-state-line",a||x||h||C?"":"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||x)&&!C?"[&>*]:tw-pointer-events-none tw-border-blank-state-line-hover":"tw-bg-blank-state-shaded-inverse tw-text-blank-state-shaded"]),onDragEnter:e?R=>{var L;if(g(!0),u==="Images")for(const j of Array.from(R.dataTransfer.items))(L=j==null?void 0:j.type)!=null&&L.startsWith("image/")?y(void 0):y("Invalid")}:void 0,onDragLeave:e?()=>{g(!1),y(void 0)}:void 0,onDrop:e?_:void 0,onClick:R=>{s&&!x&&S(R),d==null||d()},children:[a?c.jsx(ze,{}):C?c.jsxs("div",{className:" tw-flex tw-items-center tw-justify-center tw-text-red-60 tw-font-medium",children:[c.jsx(M.IconExclamationMarkTriangle,{}),C]}):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})]})]}),x&&c.jsx("div",{className:"tw-absolute tw-left-0 tw-top-full tw-z-20",style:{left:x[0],top:x[1]},children:c.jsxs(J0.Root,{open:!0,onOpenChange:R=>!R&&m(void 0),children:[c.jsx(J0.Trigger,{children:c.jsx("div",{})}),c.jsx(J0.Content,{triggerOffset:"compact",children:c.jsxs(C0.Root,{open:!0,children:[c.jsx(C0.Trigger,{children:c.jsx("div",{})}),c.jsx(C0.Content,{triggerOffset:"compact",children:H.map(R=>c.jsxs(C0.Item,{onSelect:R.onSelect,children:[R.icon,R.title]},R.title))})]})})]})})]})},ee=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},Hb=e=>typeof e=="object"&&["red","green","blue"].every(r=>e==null?void 0:e.hasOwnProperty(r)),Db=(e,t)=>{const r=Hb(e)?ee(e):e,n=new p1.TinyColor(r);return t?n.getBrightness()<t:n.isDark()||n.getAlpha()>.25&&n.getAlpha()<1},jb=e=>new p1.TinyColor(ee(e)).toHex8String(),Lb=e=>new p1.TinyColor(ee(e)).toHexString(),Ra=e=>new p1.TinyColor(ee(e)).toRgbString(),Vb=(e,t)=>new p1.TinyColor(t).setAlpha(e).toRgbString(),$b=e=>{const{r:t,g:r,b:n,a}=new p1.TinyColor(e);return{red:t,green:r,blue:n,alpha:a}},il=e=>typeof e=="object"&&["red","green","blue"].every(r=>e==null?void 0:e.hasOwnProperty(r)),Fb=(e,t)=>{const r=il(e)?ee(e):e,n=il(t)?ee(t):t;let a=new p1.TinyColor(r);const o=new p1.TinyColor(n);for(;p1.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},Ub=e=>({backgroundColor:Ra(e)}),Wb={red:241,green:241,blue:241,alpha:1},eu={red:234,green:235,blue:235,alpha:1},Kb="1px",Qe="24px",Ze="24px";var o1=(e=>(e.Solid="Solid",e.Dashed="Dashed",e.Dotted="Dotted",e))(o1||{});const tu={Solid:"solid",Dotted:"dotted",Dashed:"dashed"};var P1=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(P1||{});const K1={None:"0px",Small:"2px",Medium:"4px",Large:"12px"};var B1=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(B1||{});const ce={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var U1=(e=>(e.None="None",e.Small="Small",e.Medium="Medium",e.Large="Large",e))(U1||{});const de={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var Y1=(e=>(e.Global="Global",e.Custom="Custom",e))(Y1||{}),W1=(e=>(e.Auto="Auto",e.S="S",e.M="M",e.L="L",e))(W1||{});const ru={Auto:"4px",S:"10px",M:"30px",L:"50px"},Gb=(e=o1.Solid,t="1px",r=eu)=>({borderStyle:tu[e],borderWidth:t,borderColor:Ra(r)}),qb=(e,t=!1,r)=>({borderRadius:t?r:K1[e]}),Ta=b.createContext(!1);Ta.displayName="DragPreviewContext";const nu=({children:e,isDragPreview:t})=>c.jsx(Ta.Provider,{value:t,children:e}),Le=()=>b.useContext(Ta),ka=b.createContext({openFlyoutIds:[],setOpenFlyoutIds:()=>console.error("No MultiFlyoutContext Provider found")});ka.displayName="MultiFlyoutContext";const ou=({children:e,openFlyoutIds:t,setOpenFlyoutIds:r})=>{const n=b.useMemo(()=>({openFlyoutIds:t,setOpenFlyoutIds:r}),[t,r]);return c.jsx(ka.Provider,{value:n,children:e})},au=()=>b.useContext(ka),Vr=e=>{const{openFlyoutIds:t,setOpenFlyoutIds:r}=au(),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}},Na=(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(x=>x.id===f.id?h.id:x.id);await o(e,g)},onAttachmentsSorted:async f=>{const h=f.map(g=>g.id);await o(e,h)},attachments:l}},lu=(e,t)=>{const{onAttachmentsAdd:r,onAttachmentDelete:n,onAttachmentReplace:a,onAttachmentsSorted:o,attachments:l}=Na(t,G1.useBlockAssets(e));return{onAttachmentsAdd:r,onAttachmentDelete:n,onAttachmentReplace:a,onAttachmentsSorted:o,attachments:l,appBridge:e}},$r=b.createContext(null);$r.displayName="AttachmentsContext";const iu=({appBridge:e,children:t,assetId:r})=>{const n=lu(e,r);return c.jsx($r.Provider,{value:n,children:t})},Yb=({blockAssetBundle:e,appBridge:t,children:r,assetId:n})=>{const a=Na(n,e);return c.jsx($r.Provider,{value:{...a,appBridge:t},children:r})},su=()=>{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},Xb=(e,t)=>{const r=n=>c.jsx(iu,{appBridge:n.appBridge,assetId:t,children:c.jsx(e,{...n})});return r.displayName="withAttachmentsProvider",r},Qb=[_0.KeyboardCode.Down,_0.KeyboardCode.Right,_0.KeyboardCode.Up,_0.KeyboardCode.Left],cu=(e,t)=>(r,{currentCoordinates:n,context:{activeNode:a}})=>{if(r.preventDefault(),Qb.includes(r.code)){const o=(a==null?void 0:a.offsetWidth)??0,l=(a==null?void 0:a.offsetHeight)??0;switch(r.code){case _0.KeyboardCode.Right:return{...n,x:n.x+o+e};case _0.KeyboardCode.Left:return{...n,x:n.x-o-e};case _0.KeyboardCode.Down:return{...n,y:n.y+l+t};case _0.KeyboardCode.Up:return{...n,y:n.y-l-t}}}},Zb={start:["Space","Enter"],cancel:[],end:["Space","Enter","Escape"]},Jb=(e=0,t=0)=>{const r=b.useMemo(()=>({coordinateGetter:cu(e,t),keyboardCodes:Zb}),[e,t]);return _0.useSensors(_0.useSensor(_0.PointerSensor),_0.useSensor(_0.KeyboardSensor,r))},ew=e=>e==="IMAGE"?c.jsx(M.IconImage24,{}):e==="VIDEO"?c.jsx(M.IconPlayFrame24,{}):e==="AUDIO"?c.jsx(M.IconMusicNote24,{}):c.jsx(M.IconDocument24,{}),du=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(),[x,{selectedFiles:m}]=G1.useFileInput({multiple:!0,accept:"image/*"}),[v,{results:C,doneAll:y}]=G1.useAssetUpload(),{focusProps:_,isFocusVisible:A}=fl.useFocusRing();b.useEffect(()=>{m&&v(m[0])},[m]),b.useEffect(()=>{y&&d(C[0])},[y,C]);const S=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:l1(["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:S?c.jsx(ze,{size:"small"}):ew(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:l1(["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:l1([" 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(C0.Root,{open:(h==null?void 0:h.id)===e.id,onOpenChange:I=>g(I?e:void 0),children:[c.jsx(C0.Trigger,{children:c.jsx(R1,{aspect:"square",ref:f,onPress:I=>{I==null||I.stopPropagation(),I==null||I.preventDefault()},emphasis:"default",children:c.jsx(P7,{size:"20"})})}),c.jsxs(C0.Content,{side:"right",children:[c.jsxs(C0.Group,{children:[c.jsxs(C0.Item,{"data-test-id":"menu-item",onSelect:I=>{I==null||I.stopPropagation(),x(),g(void 0)},children:[c.jsx(gl,{size:"20"}),"Replace with upload"]}),c.jsxs(C0.Item,{onSelect:I=>{I==null||I.stopPropagation(),s(),g(void 0)},children:[c.jsx(bl,{size:"20"}),"Replace with asset"]})]}),c.jsx(C0.Group,{children:c.jsxs(C0.Item,{emphasis:"danger",onSelect:I=>{I==null||I.stopPropagation(),i(),g(void 0)},children:[c.jsx(R7,{size:"20"}),"Delete"]})})]})]})})]})]})});du.displayName="AttachmentItem";const tw=e=>{const{attributes:t,listeners:r,setNodeRef:n,transform:a,transition:o,isDragging:l}=zt.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(du,{ref:n,isDragging:l,transformStyle:i,draggableProps:s,...e})},uu=b.forwardRef(({children:e,isFlyoutOpen:t,...r},n)=>c.jsxs("button",{ref:n,className:l1(["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,{})]}));uu.displayName="AttachmentsButtonTrigger";const fu=({items:e=[],onDelete:t,onReplaceWithBrowse:r,onReplaceWithUpload:n,onBrowse:a,onUpload:o,onSorted:l,appBridge:i,triggerComponent:s=uu,isOpen:d,onOpenChange:u})=>{const[f,h]=b.useState(e),[g,x]=b.useState(!1),m=_0.useSensors(_0.useSensor(_0.PointerSensor),_0.useSensor(_0.KeyboardSensor)),[v,C]=b.useState(void 0),[y,_]=b.useState(!1),[A,S]=b.useState([]),[I,H]=b.useState(null),R=G1.useEditorState(i),{openAssetChooser:L,closeAssetChooser:j}=G1.useAssetChooser(i),F=d!==void 0,P=F?d:g,B=f==null?void 0:f.find(k=>k.id===v),[z,{results:q,doneAll:U}]=G1.useAssetUpload({onUploadProgress:()=>!y&&_(!0)}),V=k=>{const W=F?u:x;W==null||W(k)};b.useEffect(()=>{h(e)},[e]),b.useEffect(()=>{I&&(_(!0),z(I))},[I]),b.useEffect(()=>{(async()=>{U&&(await o(q),_(!1))})()},[U,q]);const D=()=>{V(!1),L(k=>{a(k),j(),V(!0)},{multiSelection:!0,selectedValueIds:f.map(k=>k.id)})},T=k=>{V(!1),L(async W=>{V(!0),j(),S([...A,k.id]),await r(k,W[0]),S(A.filter(Y=>Y!==k.id))},{multiSelection:!1,selectedValueIds:f.map(W=>W.id)})},E=async(k,W)=>{S([...A,k.id]),await n(k,W),S(A.filter(Y=>Y!==k.id))},N=k=>{const{active:W}=k;C(W.id)},O=k=>{const{active:W,over:Y}=k;if(Y&&W.id!==Y.id&&f){const X=f.findIndex(r0=>r0.id===W.id),e0=f.findIndex(r0=>r0.id===Y.id),t0=zt.arrayMove(f,X,e0);h(t0),l(t0)}C(void 0)},$={onOpenAutoFocus:k=>{k.preventDefault()},onEscapeKeyDown:k=>{k.stopPropagation(),V(!1)}};return R||((f==null?void 0:f.length)??0)>0?c.jsx("div",{"data-test-id":"attachments-flyout-button",children:c.jsx(J0.Root,{open:P,onOpenChange:k=>V(B?!0:k),children:c.jsxs(q0.Root,{enterDelay:500,children:[c.jsx(q0.Trigger,{asChild:!0,children:c.jsx(J0.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(J0.Content,{side:"bottom",align:"end",...$,children:c.jsxs("div",{className:"tw-w-[300px]","data-test-id":"attachments-flyout-content",children:[f.length>0&&c.jsx(_0.DndContext,{sensors:m,collisionDetection:_0.closestCenter,onDragStart:N,onDragEnd:O,modifiers:[b7.restrictToVerticalAxis],children:c.jsx(zt.SortableContext,{items:f,strategy:zt.rectSortingStrategy,children:c.jsx("div",{className:"tw-border-b tw-border-b-line tw-relative",children:f.map(k=>c.jsx(tw,{isEditing:R,isLoading:A.includes(k.id),item:k,onDelete:()=>t(k),onReplaceWithBrowse:()=>T(k),onReplaceWithUpload:W=>E(k,W),onDownload:()=>i.dispatch({name:"downloadAsset",payload:k})},k.id))})})}),R&&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:k=>H(k),onLibraryClick:D})]})]})}),c.jsx(q0.Content,{side:"top",children:"Attachments"})]})})}):null},rw=(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"),l1(r)},Ve=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:rw(n,r),"data-test-id":a,...o,ref:l,children:t}));Ve.displayName="BaseToolbarButton";const hu=b.forwardRef(({children:e,isFlyoutOpen:t,...r},n)=>c.jsxs(Ve,{forceActiveStyle:t,"data-test-id":"attachments-toolbar-button-trigger",ref:n,...r,children:[c.jsx(M.IconPaperclip16,{}),e,c.jsx(M.IconCaretDown12,{})]}));hu.displayName="AttachmentsToolbarButtonTrigger";const pu="attachments",vu=({flyoutId:e=pu})=>{const t=M.useMemoizedId(e),{appBridge:r,attachments:n,onAttachmentsAdd:a,onAttachmentDelete:o,onAttachmentReplace:l,onAttachmentsSorted:i}=su(),{isOpen:s,onOpenChange:d}=Vr(t),u=Le();return c.jsx(fu,{onUpload:a,onDelete:o,onReplaceWithBrowse:l,onReplaceWithUpload:l,onSorted:i,onBrowse:a,items:n,appBridge:r,triggerComponent:hu,isOpen:s&&!u,onOpenChange:d})},gu="Drag or press ↵ to move",mu="Move with ↑↓←→ and confirm with ↵",za=({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})})]}),bu=({tooltip:e,icon:t,setActivatorNodeRef:r,draggableProps:n})=>{const a=Le();return c.jsx(za,{...a&&{open:a},content:c.jsx("div",{children:a?mu:e??gu}),children:c.jsx(Ve,{ref:r,"data-test-id":"block-item-wrapper-toolbar-btn",forceActiveStyle:a,cursor:"grab",...n,children:t})})},wu=({content:e,icon:t,tooltip:r,flyoutId:n,flyoutFooter:a,flyoutHeader:o})=>{const l=M.useMemoizedId(n),{isOpen:i,onOpenChange:s}=Vr(l),d=Le();return c.jsx(za,{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(J0.Root,{open:i&&!d,onOpenChange:s,children:[c.jsx(J0.Trigger,{asChild:!0,children:c.jsx(Ve,{"data-test-id":"block-item-wrapper-toolbar-flyout",forceActiveStyle:i&&!d,children:t})}),c.jsxs(J0.Content,{side:"bottom",align:"end",padding:"comfortable",children:[o?c.jsx(J0.Header,{children:o}):null,e,a?c.jsx(J0.Footer,{children:a}):null]})]})})})},Oa="menu",yu=({items:e,flyoutId:t=Oa,tooltip:r="Options"})=>{const n=M.useMemoizedId(t),{isOpen:a,onOpenChange:o}=Vr(n),l=Le();return c.jsx(C0.Root,{open:a&&!l,onOpenChange:o,children:c.jsxs(q0.Root,{children:[c.jsx(q0.Trigger,{asChild:!0,children:c.jsx(C0.Trigger,{asChild:!0,children:c.jsx(Ve,{"data-test-id":"block-item-wrapper-toolbar-flyout",children:c.jsx(ml,{size:"16"})})})}),c.jsx(C0.Content,{children:e.map((i,s)=>c.jsx(C0.Group,{children:i.map((d,u)=>c.jsxs(C0.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})]})})},nw=({tooltip:e,icon:t,onClick:r})=>{const n=Le();return c.jsx(za,{disabled:n,content:e??"",children:c.jsx(Ve,{"data-test-id":"block-item-wrapper-toolbar-btn",onClick:r,children:t})})},sl=({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}),xu=({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(sl,{children:c.jsx(vu,{})}),e.length>0&&c.jsx(sl,{children:e.map(r=>{switch(r.type){case"dragHandle":return c.jsx(bu,{...r},r.tooltip+r.type);case"menu":return c.jsx(yu,{...r},r.tooltip+r.type);case"flyout":return c.jsx(wu,{...r},r.tooltip+r.type);default:return c.jsx(nw,{...r},r.tooltip+r.type)}})})]}),Cu=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?[Oa]:[]),f=b.useRef(null);if(r)return c.jsx(c.Fragment,{children:e});const h=t==null?void 0:t.filter(x=>x!==void 0),g=d.length>0||i;return c.jsx(nu,{isDragPreview:a,children:c.jsx(ou,{openFlyoutIds:d,setOpenFlyoutIds:u,children:c.jsxs("div",{ref:f,"data-test-id":"block-item-wrapper",style:{outlineOffset:l},className:l1(["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:l1(["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(xu,{attachments:{isEnabled:s},items:h})}),e]})})})});Cu.displayName="BlockItemWrapper";const ow=({onDownload:e,ariaLabel:t})=>{const{isFocused:r,focusProps:n}=fl.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:l1(["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"})]})},aw=({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])},lw=({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}})},Ha=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=Ha.set,T0=Ha.get,st=()=>Ha.use,_u=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}},iw=(e="p",t="",r)=>_u(t)?t:JSON.stringify([{type:e,children:[{text:t,textStyle:e}],align:r}]),sw=(e,t,r)=>e===Y1.Custom?t:r,cw=e=>e.map(Mu),Mu=e=>({id:e.id,title:e.name,colors:e.colors.map(uw)}),dw=e=>"revision"in e,uw=e=>{if(dw(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??""}},Da=(e,t)=>{const r=M.getAboveNode(e,{match:{type:M.ELEMENT_LINK}});return Array.isArray(r)?t(r[0]):""},fw=e=>Da(e,t=>{var r,n;return((n=(r=t.chosenLink)==null?void 0:r.searchResult)==null?void 0:n.link)||""}),hw=e=>Da(e,t=>t.url||""),ja=e=>{var t,r;return e.url||((r=(t=e.chosenLink)==null?void 0:t.searchResult)==null?void 0:r.link)||""},pw=e=>Da(e,ja),La=/^\/(document|r)\/\S+$/i,Fr=e=>{if(La.test(e))return e;try{return new URL(e),e}catch{return`https://${e}`}},Br=e=>{if(La.test(e))return!0;try{const t=new URL(e);return["http:","https:","mailto:","tel:"].includes(t.protocol)&&t.pathname!==""}catch{return!1}},Me=e=>Br(Fr(e))||e==="",Au=(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,g0)}});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,g0)){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}}))},Su=(e,t,r)=>{M.insertNodes(e,[Ru(e,t)],r)},Va=e=>{if(!e.selection)return;const{isUrl:t,forceSubmit:r}=M.getPluginOptions(e,g0),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(),Eu(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},Ae=(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,g0)}}))return M.splitNodes(e,{at:(n=e.selection)==null?void 0:n.anchor,match:u=>M.isElement(u)&&u.type===M.getPluginType(e,g0)}),Ae(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,g0)}}))return M.splitNodes(e,{at:(l=e.selection)==null?void 0:l.focus,match:u=>M.isElement(u)&&u.type===M.getPluginType(e,g0)}),Ae(e,{at:(i=e.selection)==null?void 0:i.focus}),!0}M.unwrapNodes(e,{match:{type:M.getPluginType(e,g0)},...t})}),Eu=(e,{url:t,text:r,buttonStyle:n,target:a,insertTextInButton:o,insertNodesOptions:l,isUrl:i=M.getPluginOptions(e,g0).isUrl})=>{var C;const s=e.selection;if(!s)return;const d=M.getAboveNode(e,{at:s,match:{type:M.getPluginType(e,g0)}});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 mw(t,e,d,a,n,r),!0;const u=M.findNode(e,{at:s,match:{type:M.getPluginType(e,g0)}}),[f,h]=u??[],g=vw(e,h,r);if(M.isExpanded(s))return gw(d,e,t,n,a,r),!0;g&&M.removeNodes(e,{at:h});const x=M.getNodeProps(f??{}),m=(C=e.selection)==null?void 0:C.focus.path;if(!m)return;const v=M.getNodeLeaf(e,m);return r!=null&&r.length||(r=t),Su(e,{...x,url:t,target:a,children:[{...v,text:r}]},l),!0};function vw(e,t,r){return t&&(r==null?void 0:r.length)&&r!==M.getEditorString(e,t)}function gw(e,t,r,n,a,o){e?Ae(t,{at:e[1]}):Ae(t,{split:!0}),Iu(t,{url:r,buttonStyle:n,target:a}),$a(t,{text:o})}function mw(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]}),$a(t,{text:o})}const $a=(e,{text:t})=>{const r=M.getAboveNode(e,{match:{type:M.getPluginType(e,g0)}});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}})}}},Iu=(e,{url:t,buttonStyle:r,target:n,...a})=>{M.wrapNodes(e,{type:M.getPluginType(e,g0),url:t,buttonStyle:r,target:n,children:[]},{split:!0,...a})},bw=(e,t)=>{const r=M.getAboveNode(e,{match:{type:g0}});return Array.isArray(r)?t(r[0]):""},Pu=e=>bw(e,t=>t.url??""),Ru=(e,{url:t,text:r="",buttonStyle:n="primary",target:a,children:o})=>({type:M.getPluginType(e,g0),url:t,target:a,buttonStyle:n,children:o??[{text:r}]}),Tu=(e,{focused:t}={})=>{if(T0.mode()==="edit"){Ur(e);return}Fa(e,{focused:t})},Ur=e=>{const t=M.findNode(e,{match:{type:M.getPluginType(e,g0)}});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)},Fa=(e,{focused:t}={})=>{T0.mode()||!t||M.isRangeAcrossBlocks(e,{at:e.selection})||M.someNode(e,{match:{type:M.getPluginType(e,g0)}})||(A0.text(M.getEditorString(e,e.selection)),A0.show("insert",e.id))},vn={marginTop:"10px",marginBottom:"10px",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",verticalAlign:"middle",boxSizing:"border-box",overflowWrap:"normal"},Wr={buttonPrimary:{...vn,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:{...vn,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:{...vn,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)"}}},ww=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(yw,{attributes:t,href:n,target:a,styles:Wr[`button${o.charAt(0).toUpperCase()+o.slice(1)}`],children:r})},yw=({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 xw extends M.MarkupElement{constructor(t=g0,r=ww){super(t,r)}}const ku=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:()=>{Tu(r,{focused:!0})},children:c.jsx(M.IconStylingWrapper,{icon:c.jsx(M.IconButton16,{})})})});ku.displayName="ButtonToolbarButton";const Cw=({editorId:e,id:t})=>{const r=M.useEditorState(M.useEventPlateId(e)),n=!!M.isRangeInSameBlock(r,{at:r.selection}),a=M.getPluginType(r,g0),o=!!(r!=null&&r.selection)&&M.someNode(r,{match:{type:a}});return c.jsx("div",{"data-plugin-id":t,children:c.jsx(ku,{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.")})})},Se="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)"},[Se]:{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)"},...Wr},_w=()=>{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[Se],className:"tw-break-all",children:T0.url()}),c.jsxs("span",{className:"tw-flex tw-gap-2",children:[c.jsx("button",{onClick:()=>{Ur(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:()=>{Ae(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,{})})]})]})})},Nu=e=>e.filter(t=>{var r;return!!((r=t.title)!=null&&r.trim())}),zu=()=>c.jsx("div",{className:"tw-flex tw-justify-center tw-h-10 tw-items-center",children:c.jsx(ze,{size:"small"})}),Mw=({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"})]})})},Aw=({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=Nu(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(Mw,{section:f,selectedUrl:t,onSelectUrl:r},f.id))]})},Sw=({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),x=h.filter(m=>!m.category).sort((m,v)=>m.sort-v.sort);i([...g,...x])}).finally(()=>{d(!1)})},[]),s?c.jsx(zu,{}):f?c.jsx(c.Fragment,{children:u.map(h=>c.jsx(Aw,{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."})},Ew=({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(Sw,{documentId:e.id,selectedUrl:t,onSelectUrl:r,itemsToExpandInitially:n,getDocumentSectionsByDocumentPageId:a,getDocumentPagesByDocumentId:o})]})},Iw=({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(x=>x.permanentLink===e))return h;for(const x of i){const m=await n(x.id);if(!!m.find(C=>C.permanentLink===e))return h.documentId=x.id,h;for(const C of m){const y=await a(C.id);if(!!Nu(y).find(S=>S.permanentLink===e))return h.documentId=x.id,h.pageId=C.id,h}}return h};return o?c.jsx(zu,{}):c.jsx(c.Fragment,{children:i.map(h=>c.jsx(Ew,{document:h,selectedUrl:e,onSelectUrl:t,itemsToExpandInitially:d,getDocumentSectionsByDocumentPageId:a,getDocumentPagesByDocumentId:n},h.id))})},Ou=({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=x=>{d(x)},f=x=>{x.key==="Enter"&&(x.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:x=>x.preventDefault(),"data-test-id":"internal-link-selector",onKeyDown:f,children:c.jsxs(V1.Root,{modal:!0,open:l,onOpenChange:i,children:[c.jsx(V1.Trigger,{asChild:!0,children:c.jsxs(R1,{size:r,emphasis:"default",children:[c.jsx(E7,{size:"20"}),"Internal link"]})}),c.jsxs(V1.Content,{...g,children:[c.jsx(V1.Header,{children:c.jsx(V1.Title,{children:"Select internal link"})}),c.jsx(V1.Body,{padding:"none",children:c.jsx(Yc,{padding:"compact",children:c.jsx(Iw,{selectedUrl:s,onSelectUrl:u,getAllDocuments:n,getDocumentPagesByDocumentId:a,getDocumentSectionsByDocumentPageId:o})})}),c.jsxs(V1.Footer,{children:[c.jsx(R1,{size:r,emphasis:"default",onPress:()=>i(!1),children:"Cancel"}),c.jsx(R1,{size:r,disabled:!s,emphasis:"strong",onPress:()=>h(),children:"Choose"})]})]})]})})},Hu=({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):Me(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(z0,{"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(Ou,{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(Gl,{id:"new-tab",value:o,onChange:()=>t==null?void 0:t(!o)}),c.jsx(Tc,{id:"new-tab-label",htmlFor:"new-tab",children:"Open in new tab"})]})]})},Du=({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(z0,{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(Hu,{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(R1,{"data-test-id":"button",onPress:a,size:"medium",emphasis:"default",children:"Cancel"}),c.jsxs(R1,{"data-test-id":"button",onPress:o,size:"medium",disabled:!l(e==null?void 0:e.url)||!i,children:[c.jsx(Ee,{size:"20"}),"Save"]})]})})]}),Pw=e=>{var r;const t=M.getAboveNode(e,{match:{type:g0}});return Array.isArray(t)&&((r=t[0])==null?void 0:r.buttonStyle)||"primary"},Rw={url:"",text:"",buttonStyle:"primary",newTab:!1},Tw=()=>{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}},Rw);return[e,t]},kw=()=>{const e=M.useEditorRef(),[t,r]=Tw();b.useEffect(()=>{const f=Pw(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(!Me(t.url)||!d)return;const h=Fr(t.url);A0.text(t.text),A0.url(h),A0.buttonStyle(t.buttonStyle),A0.newTab(t.newTab),Va(e)&&(f==null||f.preventDefault())},d=t.url!==""&&t.text!=="",{appBridge:u}=M.getPluginOptions(e,g0);return M.useHotkeys("enter",s,{enableOnFormTags:["INPUT"]},[]),{state:t,onTextChange:n,onButtonStyleChange:a,onUrlChange:o,onToggleTab:l,onCancel:i,onSave:s,hasValues:d,isValidUrlOrEmpty:Me,appBridge:u}},Nw=()=>{const e=kw(),{state:t,onButtonStyleChange:r}=e;return c.jsx(Du,{...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(gn,{id:"primary",styles:x0.buttonPrimary,isActive:t.buttonStyle==="primary",onClick:()=>r("primary"),children:t.text||"Primary Button"}),c.jsx(gn,{id:"secondary",styles:x0.buttonSecondary,isActive:t.buttonStyle==="secondary",onClick:()=>r("secondary"),children:t.text||"Secondary Button"}),c.jsx(gn,{id:"tertiary",styles:x0.buttonTertiary,isActive:t.buttonStyle==="tertiary",onClick:()=>r("tertiary"),children:t.text||"Tertiary Button"})]})})})},gn=({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})},cl={placement:"bottom-start",strategy:"absolute",middleware:[M.offset(12),M.flip({padding:12,fallbackPlacements:["bottom-end","top-start","top-end"]})]},zw=()=>{const{ref:e,...t}=Dw(cl),{ref:r,...n}=Ow(cl),a=M.useEditorRef(),o=st(),l=o.isOpen(a.id),i=o.isEditing(),s=o.mode(),d=c.jsx(Nw,{}),u=i?d:c.jsx(_w,{});return c.jsxs(c.Fragment,{children:[l&&s==="insert"&&me.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"&&me.createPortal(c.jsx("div",{"data-is-underlay":!0,ref:r,...n,style:{...n.style,...x0[M.TextStyles.p]},children:u}),document.body)]})},g0="button",ju="button-plugin",Lu=e=>M.createPluginFactory({key:g0,isElement:!0,isInline:!0,props:({element:t})=>({nodeProps:{href:t==null?void 0:t.url,target:t==null?void 0:t.target}}),withOverrides:Au,renderAfterEditable:zw,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 Vu extends M.Plugin{constructor({styles:r=Wr,...n}){super(ju,{button:Cw,markupElement:new xw,...n});M0(this,"styles",{});M0(this,"appBridge");this.styles=r,this.appBridge=n==null?void 0:n.appBridge}plugins(){return[Lu(this.appBridge)]}}const Ow=e=>{const t=M.useEditorRef(),r=st().mode(),n=st().isOpen(t.id),a=M.useEditorVersion(),{triggerFloatingButtonHotkeys:o}=M.getPluginOptions(t,g0),l=b.useCallback(()=>{const f=M.getAboveNode(t,{match:{type:M.getPluginType(t,g0)}});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}=Fu({open:i,getBoundingClientRect:l,...e});return b.useEffect(()=>{const f=Pu(t);if(f&&A0.url(f),t.selection&&M.someNode(t,{match:{type:M.getPluginType(t,g0)}})){A0.show("edit",t.id),s();return}T0.mode()==="edit"&&A0.reset()},[t,a,s]),M.useHotkeys(o,f=>{f.preventDefault(),T0.mode()==="edit"&&Ur(t)},{enableOnContentEditable:!0},[]),Hw(),$u(),{style:{...d,zIndex:1e3},ref:M.useComposedRef(u)}},Hw=()=>{const e=M.useEditorRef();M.useHotkeys("*",t=>{t.key==="Enter"&&Va(e)&&t.preventDefault()},{enableOnFormTags:["INPUT"]},[])},$u=()=>{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},[])},Dw=e=>{const t=M.useEditorRef(),r=M.useFocused(),n=st().mode(),a=st().isOpen(t.id),{triggerFloatingButtonHotkeys:o}=M.getPluginOptions(t,g0);M.useHotkeys(o,d=>{d.preventDefault(),Fa(t,{focused:r})},{enableOnContentEditable:!0},[r]);const{update:l,style:i,floating:s}=Fu({open:a&&n==="insert",getBoundingClientRect:M.getSelectionBoundingClientRect,whileElementsMounted:void 0,...e});return b.useEffect(()=>{a&&l(),A0.updated(a)},[a,l]),$u(),{style:{...i,zIndex:1e3},ref:M.useComposedRef(s)}},jw=12,Lw=-22,Vw=96,Fu=e=>M.useVirtualFloating({placement:"bottom-start",middleware:[M.offset({mainAxis:jw,alignmentAxis:Lw}),M.flip({padding:Vw})],...e}),mn="[&_.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",$w="[&_.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",dl={1:"tw-columns-1",2:`tw-columns-1 @sm:!tw-columns-2 ${$w}`,3:`tw-columns-1 @md:!tw-columns-3 ${mn}`,4:`tw-columns-1 @md:!tw-columns-4 ${mn}`,5:`tw-columns-1 @md:!tw-columns-5 ${mn}`},Bu=e=>e?dl[e]||dl[1]:"",Fw=e=>{T0.isOpen(e)&&A0.reset()},Uu=b.memo(({isEnabled:e,value:t,columns:r,gap:n,placeholder:a,plugins:o,onTextChange:l,showSerializedText:i})=>{const s=Bu(r),[d,u]=b.useState(!1),f=b.useId(),h=b.useCallback(x=>{x!==t&&(l==null||l(x)),u(!1)},[l,t]),g=b.useCallback(()=>u(!0),[]);return b.useEffect(()=>{const x=m=>{m.preventDefault(),m.returnValue="Unprocessed changes"};return d&&window.addEventListener("beforeunload",x),()=>window.removeEventListener("beforeunload",x)},[d]),e?c.jsx(M.RichTextEditor,{id:f,value:t,border:!1,placeholder:a,plugins:o,onValueChanged:g,onTextChange:h,hideExternalFloatingModals:Fw,placeholderOpacity:"high"}):c.jsx(lw,{value:t,gap:n,customClass:s,show:i,plugins:o})});Uu.displayName="InternalRichTextEditor";const Bw=e=>{const t=b.useRef(null),[r,n]=b.useState(!1),{isEditing:a,...o}=e,l=b.useCallback(i=>{i&&n(!0)},[]);return aw({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(Uu,{...o,isEnabled:a&&r})})},Uw=({editButtonProps:e,unlinkButtonProps:t})=>{const{element:r}=M.useLinkOpenButtonState(),n=r?ja(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[Se],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,{})})]})]})})},Wu=(e,t)=>{const r=M.getAboveNode(e,{match:{type:M.ELEMENT_LINK}});return Array.isArray(r)?t(r[0]):""},Ww=e=>Wu(e,t=>{var r,n;return((n=(r=t.chosenLink)==null?void 0:r.searchResult)==null?void 0:n.link)||""}),Kw=e=>Wu(e,t=>t.url||""),Gw={url:"",text:"",newTab:!1},qw=()=>{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}},Gw);return[e,t]},Yw=()=>{const e=M.useEditorRef(),[t,r]=qw();b.useEffect(()=>{const u=Ww(e),f=Kw(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=>{!Me(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:Me,appBridge:d}},Xw=()=>c.jsx(Du,{...Yw(),testId:"floating-link-insert"}),ul={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:ul}),{props:t,ref:r,hidden:n}=M.useFloatingLinkInsert(e),a=M.useFloatingLinkEditState({floatingOptions:ul}),{props:o,ref:l,editButtonProps:i,unlinkButtonProps:s}=M.useFloatingLinkEdit(a);if(n)return null;const d=c.jsx(Xw,{}),u=a.isEditing?d:c.jsx(Uw,{editButtonProps:i,unlinkButtonProps:s});return c.jsxs(c.Fragment,{children:[e.isOpen&&!a.isOpen&&me.createPortal(c.jsx("div",{"data-is-underlay":!0,ref:r,...t,style:{...t.style,...x0[s0.p]},children:d}),document.body),a.isOpen&&me.createPortal(c.jsx("div",{"data-is-underlay":!0,ref:l,...o,style:{...o.style,...x0[s0.p]},children:u}),document.body)]})},Ku=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,{})})})});Ku.displayName="LinkToolbarButton";const Zw=({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(Ku,{disabled:!n,tooltip:M.getTooltip(n?`Link
87
87
  ${M.getHotkeyByPlatform("Ctrl+K")}`:"Links can only be set for a single text block.")})})},Jw=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[Se],children:r})};class ey extends M.MarkupElement{constructor(t=M.ELEMENT_LINK,r=Jw){super(t,r)}}const Gu=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 qu extends M.Plugin{constructor({styles:r=x0[Se],...n}){super(Se,{button:Zw,markupElement:new ey,...n});M0(this,"styles",{});M0(this,"appBridge");this.styles=r,this.appBridge=n.appBridge}plugins(){return[Gu(this.appBridge)]}}const ty="breakAfterColumn",Yu="normal";class ry extends M.Plugin{constructor(r){super("break-after-plugin",{button:M.ColumnBreakButton,...r});M0(this,"columns");M0(this,"gap");M0(this,"customClass");this.columns=(r==null?void 0:r.columns)??1,this.gap=(r==null?void 0:r.gap)??Yu,this.customClass=Bu(this.columns)}plugins(){return[M.createColumnBreakPlugin(this.columns,this.gap,this.customClass)]}}const ny="textstyle-custom1-plugin";class Xu extends M.Plugin{constructor({styles:r=x0.custom1,...n}={}){super(s0.custom1,{label:"Custom 1",markupElement:new oy,...n});M0(this,"styles",{});this.styles=r}plugins(){return[ay(this.styles)]}}class oy extends M.MarkupElement{constructor(t=ny,r=Qu){super(t,r)}}const Qu=({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})},ay=e=>M.createPluginFactory({key:s0.custom1,isElement:!0,deserializeHtml:{rules:[{validClassName:s0.custom1}]}})({component:t=>c.jsx(Qu,{...t,styles:e})}),ly="textstyle-custom2-plugin";class Zu extends M.Plugin{constructor({styles:r=x0.custom2,...n}={}){super(s0.custom2,{label:"Custom 2",markupElement:new iy,...n});M0(this,"styles",{});this.styles=r}plugins(){return[sy(this.styles)]}}class iy extends M.MarkupElement{constructor(t=ly,r=Ju){super(t,r)}}const Ju=({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:s0.custom2,isElement:!0,deserializeHtml:{rules:[{validClassName:s0.custom2}]}})({component:t=>c.jsx(Ju,{...t,styles:e})}),cy="textstyle-custom3-plugin";class e7 extends M.Plugin{constructor({styles:r=x0.custom3,...n}={}){super(M.TextStyles.custom3,{label:"Custom 3",markupElement:new dy,...n});M0(this,"styles",{});this.styles=r}plugins(){return[uy(this.styles)]}}class dy extends M.MarkupElement{constructor(t=cy,r=t7){super(t,r)}}const t7=({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})},uy=e=>M.createPluginFactory({key:M.TextStyles.custom3,isElement:!0,deserializeHtml:{rules:[{validClassName:M.TextStyles.custom3}]}})({component:t=>c.jsx(t7,{...t,styles:e})}),fy="textstyle-heading1-plugin";class r7 extends M.Plugin{constructor({styles:r=x0.heading1,...n}={}){super(s0.heading1,{label:"Heading 1",markupElement:new hy,...n});M0(this,"styles",{});this.styles=r}plugins(){return[py(this.styles)]}}class hy extends M.MarkupElement{constructor(t=fy,r=Wn){super(t,r)}}const Wn=({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})},py=e=>M.createPluginFactory({key:s0.heading1,isElement:!0,component:Wn,deserializeHtml:{rules:[{validNodeName:["h1","H1"]}]}})({component:t=>c.jsx(Wn,{...t,styles:e})}),vy="textstyle-heading2-plugin";class n7 extends M.Plugin{constructor({styles:r=x0.heading2,...n}={}){super(s0.heading2,{label:"Heading 2",markupElement:new gy,...n});M0(this,"styles",{});this.styles=r}plugins(){return[my(this.styles)]}}class gy extends M.MarkupElement{constructor(t=vy,r=Kn){super(t,r)}}const Kn=({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})},my=e=>M.createPluginFactory({key:s0.heading2,isElement:!0,component:Kn,deserializeHtml:{rules:[{validNodeName:["h2","H2"]}]}})({component:t=>c.jsx(Kn,{...t,styles:e})}),by="textstyle-heading3-plugin";class o7 extends M.Plugin{constructor({styles:r=x0.heading3,...n}={}){super(s0.heading3,{label:"Heading 3",markupElement:new wy,...n});M0(this,"styles",{});this.styles=r}plugins(){return[yy(this.styles)]}}class wy extends M.MarkupElement{constructor(t=by,r=Gn){super(t,r)}}const Gn=({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})},yy=e=>M.createPluginFactory({key:s0.heading3,isElement:!0,component:Gn,deserializeHtml:{rules:[{validNodeName:["h3","H3"]}]}})({component:t=>c.jsx(Gn,{...t,styles:e})}),xy="textstyle-heading4-plugin";class a7 extends M.Plugin{constructor({styles:r=x0.heading4,...n}={}){super(s0.heading4,{label:"Heading 4",markupElement:new Cy,...n});M0(this,"styles",{});this.styles=r}plugins(){return[_y(this.styles)]}}class Cy extends M.MarkupElement{constructor(t=xy,r=qn){super(t,r)}}const qn=({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})},_y=e=>M.createPluginFactory({key:s0.heading4,isElement:!0,component:qn,deserializeHtml:{rules:[{validNodeName:["h4","H4"]}]}})({component:t=>c.jsx(qn,{...t,styles:e})}),My="textstyle-imageCaption-plugin";class l7 extends M.Plugin{constructor({styles:r=x0.imageCaption,...n}={}){super(s0.imageCaption,{label:"Image Caption",markupElement:new Ay,...n});M0(this,"styles",{});this.styles=r}plugins(){return[Sy(this.styles)]}}class Ay extends M.MarkupElement{constructor(t=My,r=Yn){super(t,r)}}const Yn=({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:s0.imageCaption,isElement:!0,component:Yn,deserializeHtml:{rules:[{validClassName:s0.imageCaption}]}})({component:t=>c.jsx(Yn,{...t,styles:e})}),Ey="textstyle-imageTitle-plugin";class i7 extends M.Plugin{constructor({styles:r=x0.imageTitle,...n}={}){super(s0.imageTitle,{label:"Image Title",markupElement:new Iy,...n});M0(this,"styles",{});this.styles=r}plugins(){return[Py(this.styles)]}}class Iy extends M.MarkupElement{constructor(t=Ey,r=Xn){super(t,r)}}const Xn=({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})},Py=e=>M.createPluginFactory({key:s0.imageTitle,isElement:!0,component:Xn,deserializeHtml:{rules:[{validClassName:s0.imageTitle}]}})({component:t=>c.jsx(Xn,{...t,styles:e})});class s7 extends M.Plugin{constructor({styles:r=x0.p,...n}={}){super(s0.p,{markupElement:new d7,label:"Body Text",...n});M0(this,"styles",{});this.styles=r}plugins(){return[u7(this.styles)]}}const c7="tw-m-0 tw-px-0 tw-py-0",sr=({element:e,attributes:t,children:r,styles:n})=>{const a=e.align,o=M.merge([a&&M.alignmentClassnames[a],c7,M.getColumnBreakClasses(e)]);return c.jsx("p",{...t,className:o,style:n,children:r})};class d7 extends M.MarkupElement{constructor(t=s0.p,r=sr){super(t,r)}}const u7=e=>M.createPluginFactory({...M.createParagraphPlugin(),key:s0.p,isElement:!0,component:sr})({component:t=>c.jsx(sr,{...t,styles:e})}),Ry="textstyle-quote-plugin";class f7 extends M.Plugin{constructor({styles:r=x0.quote,...n}={}){super(s0.quote,{label:"Quote",markupElement:new Ty,...n});M0(this,"styles",{});this.styles=r}plugins(){return[h7(this.styles)]}}class Ty extends M.MarkupElement{constructor(t=Ry,r=cr){super(t,r)}}const cr=({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})},h7=e=>M.createPluginFactory({key:s0.quote,isElement:!0,component:cr,deserializeHtml:{rules:[{validNodeName:["blockquote","BLOCKQUOTE"]}]}})({component:t=>c.jsx(cr,{...t,styles:e})}),Ba=[new r7,new n7,new o7,new a7,new Xu,new Zu,new e7,new f7,new s7],ue=[s0.heading1,s0.heading2,s0.heading3,s0.heading4,s0.custom1,s0.custom2,s0.custom3,s0.quote,s0.p],ky=[...Ba,new l7,new i7],Ny=[...ue,s0.imageCaption,s0.imageTitle],zy=e=>new M.PluginComposer().setPlugin(new M.SoftBreakPlugin,new M.TextStylePlugin({textStyles:Ba})).setPlugin([new M.BoldPlugin,new M.ItalicPlugin,new M.UnderlinePlugin,new M.StrikethroughPlugin,new qu({appBridge:e}),new Vu({appBridge:e}),new M.CodePlugin],[new M.AlignLeftPlugin({validTypes:ue}),new M.AlignCenterPlugin({validTypes:ue}),new M.AlignRightPlugin({validTypes:ue}),new M.AlignJustifyPlugin({validTypes:ue}),new M.UnorderedListPlugin,new M.CheckboxListPlugin,new M.OrderedListPlugin,new M.ResetFormattingPlugin,new M.AutoformatPlugin]),Oy="--f-theme-settings-",Hy=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)||Wb,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"}]}},Dy=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)||eu,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:J.MultiInputLayout.Columns,lastItemFullWidth:!0,blocks:[{id:n,type:"dropdown",defaultValue:o1.Solid,choices:[{value:o1.Solid,label:o1.Solid},{value:o1.Dotted,label:o1.Dotted},{value:o1.Dashed,label:o1.Dashed}]},{id:a,type:"input",defaultValue:Kb,rules:[J.numericalOrPixelRule,J.minimumNumericalOrPixelRule(0),J.maximumNumericalOrPixelOrAutoRule(500)],placeholder:"e.g. 3px",onChange:s=>J.appendUnit(s,a)},{id:o,type:"colorInput",defaultValue:l}]}],off:[]}},Ua=(e,t=P1.None)=>({id:e,type:"segmentedControls",defaultValue:t,choices:[{value:P1.None,label:"None"},{value:P1.Small,label:"S"},{value:P1.Medium,label:"M"},{value:P1.Large,label:"L"}]}),jy=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)||P1.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=>J.presetCustomValue(o,n,r,(e==null?void 0:e.radiusStyleMap)||K1),on:[{id:r,type:"input",placeholder:"e.g. 10px",rules:[J.numericalOrPixelRule],onChange:o=>J.appendUnit(o,r)}],off:[Ua(n,a)]}},Ly=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=>{J.presetCustomValue(s,n,a,K1),J.presetCustomValue(s,n,o,K1),J.presetCustomValue(s,n,l,K1),J.presetCustomValue(s,n,i,K1)},on:[{id:r,type:"multiInput",layout:J.MultiInputLayout.Columns,blocks:[{id:a,type:"input",label:"Top Left",rules:[J.numericalOrPixelRule],onChange:s=>J.appendUnit(s,a)},{id:o,type:"input",label:"Top Right",rules:[J.numericalOrPixelRule],onChange:s=>J.appendUnit(s,o)},{id:l,type:"input",label:"Bottom Left",rules:[J.numericalOrPixelRule],onChange:s=>J.appendUnit(s,l)},{id:i,type:"input",label:"Bottom Right",rules:[J.numericalOrPixelRule],onChange:s=>J.appendUnit(s,i)}]}],off:[Ua(n,e==null?void 0:e.defaultValue)]}},Vy=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:W1.M;return{id:t,type:"switch",defaultValue:!1,switchLabel:"Custom",label:"Gutter",info:"An official nerds term for ‘gap’",onChange:l=>J.presetCustomValue(l,n,a,ru),show:l=>{var i;return((i=l.getBlock(r))==null?void 0:i.value)!=="1"},on:[{id:a,type:"input",rules:[J.numericalOrPixelRule],onChange:l=>J.appendUnit(l,a)}],off:[{id:n,type:"slider",defaultValue:o,choices:[{value:W1.Auto,label:"Auto"},{value:W1.S,label:"S"},{value:W1.M,label:"M"},{value:W1.L,label:"L"}]}]}},Wa=e=>({id:e,type:"segmentedControls",defaultValue:U1.None,choices:[{value:U1.None,label:"None"},{value:U1.Small,label:"S"},{value:U1.Medium,label:"M"},{value:U1.Large,label:"L"}]}),$y=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=>J.presetCustomValue(a,n,r,(e==null?void 0:e.marginStyleMap)||de),on:[{id:r,type:"input",placeholder:Ze,rules:[J.numericalOrPixelRule,J.maximumNumericalOrPixelOrAutoRule(500)],onChange:a=>J.appendUnit(a,r)}],off:[Wa(n)]}},Fy=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=>{J.presetCustomValue(s,n,a,de),J.presetCustomValue(s,n,o,de),J.presetCustomValue(s,n,l,de),J.presetCustomValue(s,n,i,de)},on:[{id:r,type:"multiInput",layout:J.MultiInputLayout.Spider,blocks:[{id:a,type:"input",label:"Top",placeholder:Ze,onChange:s=>J.appendUnit(s,a),rules:[J.numericalOrPixelRule,J.maximumNumericalOrPixelOrAutoRule(500)]},{id:o,type:"input",label:"Left",placeholder:Ze,onChange:s=>J.appendUnit(s,o),rules:[J.numericalOrPixelRule,J.maximumNumericalOrPixelOrAutoRule(500)]},{id:l,type:"input",label:"Right",placeholder:Ze,onChange:s=>J.appendUnit(s,l),rules:[J.numericalOrPixelRule,J.maximumNumericalOrPixelOrAutoRule(500)]},{id:i,type:"input",label:"Bottom",placeholder:Ze,onChange:s=>J.appendUnit(s,i),rules:[J.numericalOrPixelRule,J.maximumNumericalOrPixelOrAutoRule(500)]}]}],off:[Wa(n)]}},Ka=e=>({id:e,type:"segmentedControls",defaultValue:B1.Small,choices:[{value:B1.None,label:"None"},{value:B1.Small,label:"S"},{value:B1.Medium,label:"M"},{value:B1.Large,label:"L"}]}),By=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=>J.presetCustomValue(a,n,r,(e==null?void 0:e.paddingStyleMap)||ce),on:[{id:r,type:"input",placeholder:Qe,rules:[J.numericalOrPixelRule,J.maximumNumericalOrPixelOrAutoRule(500)],onChange:a=>J.appendUnit(a,r)}],off:[Ka(n)]}},Uy=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=>{J.presetCustomValue(s,n,a,ce),J.presetCustomValue(s,n,o,ce),J.presetCustomValue(s,n,l,ce),J.presetCustomValue(s,n,i,ce)},on:[{id:r,type:"multiInput",layout:J.MultiInputLayout.Spider,blocks:[{id:a,type:"input",label:"Top",placeholder:Qe,onChange:s=>J.appendUnit(s,a),rules:[J.numericalOrPixelRule,J.maximumNumericalOrPixelOrAutoRule(500)]},{id:o,type:"input",label:"Left",placeholder:Qe,onChange:s=>J.appendUnit(s,o),rules:[J.numericalOrPixelRule,J.maximumNumericalOrPixelOrAutoRule(500)]},{id:l,type:"input",label:"Right",placeholder:Qe,onChange:s=>J.appendUnit(s,l),rules:[J.numericalOrPixelRule,J.maximumNumericalOrPixelOrAutoRule(500)]},{id:i,type:"input",label:"Bottom",placeholder:Qe,onChange:s=>J.appendUnit(s,i),rules:[J.numericalOrPixelRule,J.maximumNumericalOrPixelOrAutoRule(500)]}]}],off:[Ka(n)]}},Wy=e=>{const t=Ga(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)===Y1.Custom}}},Ga=e=>e||"security",Ky=e=>[{id:Ga(e),type:"segmentedControls",defaultValue:Y1.Global,choices:[{value:Y1.Global,label:"Global Settings"},{value:Y1.Custom,label:"Custom"}]},{id:"globalSettingsInfo",type:"notification",footer:J.createFooter({label:"Change global settings [here].",replace:{here:{event:"general-settings.open"}}})}];var p7=(e=>(e.Main="main",e.Basics="basics",e.Layout="layout",e.Style="style",e.Security="security",e.Targets="targets",e))(p7||{});const Gy=e=>e,qy=e=>e;exports.AllTextStylePlugins=ky;exports.AllTextStyles=Ny;exports.AttachmentOperationsProvider=Yb;exports.Attachments=fu;exports.AttachmentsProvider=iu;exports.AttachmentsToolbarButton=vu;exports.BUTTON_PLUGIN=ju;exports.BlockButtonStyles=Wr;exports.BlockInjectButton=Ob;exports.BlockItemWrapper=Cu;exports.BlockStyles=x0;exports.BorderStyle=o1;exports.BreakAfterPlugin=ry;exports.ButtonPlugin=Vu;exports.Custom1Plugin=Xu;exports.Custom2Plugin=Zu;exports.Custom3Plugin=e7;exports.DEFAULT_ATTACHMENTS_BUTTON_ID=pu;exports.DEFAULT_DRAGGING_TOOLTIP=mu;exports.DEFAULT_DRAG_TOOLTIP=gu;exports.DEFAULT_MENU_BUTTON_ID=Oa;exports.DownloadButton=ow;exports.DragHandleToolbarButton=bu;exports.DragPreviewContextProvider=nu;exports.ELEMENT_BUTTON=g0;exports.FlyoutToolbarButton=wu;exports.GAP_DEFAULT=Yu;exports.GutterSpacing=W1;exports.Heading1Plugin=r7;exports.Heading2Plugin=n7;exports.Heading3Plugin=o7;exports.Heading4Plugin=a7;exports.ImageCaptionPlugin=l7;exports.ImageTitlePlugin=i7;exports.KEY_ELEMENT_BREAK_AFTER_COLUMN=ty;exports.LinkInput=Hu;exports.LinkPlugin=qu;exports.LinkSelector=Ou;exports.Margin=U1;exports.MenuToolbarButton=yu;exports.MultiFlyoutContextProvider=ou;exports.PARAGRAPH_CLASSES=c7;exports.Padding=B1;exports.ParagraphMarkupElement=d7;exports.ParagraphMarkupElementNode=sr;exports.ParagraphPlugin=s7;exports.QuoteMarkupElementNode=cr;exports.QuotePlugin=f7;exports.Radius=P1;exports.RichTextEditor=Bw;exports.Sections=p7;exports.Security=Y1;exports.THEME_PREFIX=Oy;exports.TextStylePluginsWithoutImage=Ba;exports.TextStyles=s0;exports.TextStylesWithoutImage=ue;exports.Toolbar=xu;exports.addHttps=Fr;exports.borderStyleMap=tu;exports.convertToRteValue=iw;exports.createButtonNode=Ru;exports.createButtonPlugin=Lu;exports.createLinkPlugin=Gu;exports.createParagraphPlugin=u7;exports.createQuotePlugin=h7;exports.customCoordinatesGetterFactory=cu;exports.defineBlock=Gy;exports.defineSettings=qy;exports.getBackgroundColorStyles=Ub;exports.getBackgroundSettings=Hy;exports.getBorderRadiusSettings=jy;exports.getBorderRadiusSlider=Ua;exports.getBorderSettings=Dy;exports.getBorderStyles=Gb;exports.getDefaultPluginsWithLinkChooser=zy;exports.getExtendedBorderRadiusSettings=Ly;exports.getGutterSettings=Vy;exports.getLegacyUrl=fw;exports.getLinkFromEditor=pw;exports.getMarginExtendedSettings=Fy;exports.getMarginSettings=$y;exports.getMarginSlider=Wa;exports.getPaddingExtendedSettings=Uy;exports.getPaddingSettings=By;exports.getPaddingSlider=Ka;exports.getRadiusStyles=qb;exports.getReadableColor=Fb;exports.getSecurityDownloadableSetting=Wy;exports.getSecurityGlobalControlId=Ga;exports.getSecurityGlobalControlSetting=Ky;exports.getUrl=hw;exports.getUrlFromEditor=Pu;exports.getUrlFromLinkOrLegacyLink=ja;exports.gutterSpacingStyleMap=ru;exports.hasRichTextValue=_u;exports.insertButton=Su;exports.isDark=Db;exports.isDownloadable=sw;exports.isValidUrl=Br;exports.isValidUrlOrEmpty=Me;exports.joinClassNames=l1;exports.mapAppBridgeColorPaletteToFonduePalette=Mu;exports.mapAppBridgeColorPalettesToFonduePalettes=cw;exports.marginStyleMap=de;exports.moveItemInArray=Bb;exports.paddingStyleMap=ce;exports.radiusStyleMap=K1;exports.relativeUrlRegex=La;exports.setAlpha=Vb;exports.submitFloatingButton=Va;exports.toColorObject=$b;exports.toHex8String=jb;exports.toHexString=Lb;exports.toRgbaString=Ra;exports.toShortRgba=ee;exports.triggerFloatingButton=Tu;exports.triggerFloatingButtonEdit=Ur;exports.triggerFloatingButtonInsert=Fa;exports.unwrapButton=Ae;exports.upsertButton=Eu;exports.upsertButtonText=$a;exports.useAttachmentOperations=Na;exports.useAttachments=lu;exports.useAttachmentsContext=su;exports.useDndSensors=Jb;exports.useDragPreviewContext=Le;exports.useMultiFlyoutContext=au;exports.useMultiFlyoutState=Vr;exports.withAttachmentsProvider=Xb;exports.withButton=Au;exports.wrapButton=Iu;Object.keys(J).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>J[e]})});
88
88
  //# sourceMappingURL=index.cjs.js.map