@btst/stack 4.6.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1671) hide show
  1. package/dist/_virtual/index2.cjs +1 -1
  2. package/dist/_virtual/index2.mjs +1 -1
  3. package/dist/_virtual/index3.cjs +1 -1
  4. package/dist/_virtual/index3.mjs +1 -1
  5. package/dist/_virtual/with-selector.cjs +1 -1
  6. package/dist/_virtual/with-selector.mjs +1 -1
  7. package/dist/_virtual/with-selector2.cjs +1 -1
  8. package/dist/_virtual/with-selector2.mjs +1 -1
  9. package/dist/api/index.d.cts +2 -2
  10. package/dist/api/index.d.mts +2 -2
  11. package/dist/api/index.d.ts +2 -2
  12. package/dist/api/index.mjs +1 -1
  13. package/dist/authorization/client.d.cts +1 -1
  14. package/dist/authorization/client.d.mts +1 -1
  15. package/dist/authorization/client.d.ts +1 -1
  16. package/dist/client/components/index.d.cts +16 -16
  17. package/dist/client/components/index.d.mts +16 -16
  18. package/dist/client/components/index.d.ts +16 -16
  19. package/dist/client/hooks/index.d.cts +2 -2
  20. package/dist/client/hooks/index.d.mts +2 -2
  21. package/dist/client/hooks/index.d.ts +2 -2
  22. package/dist/client/index.d.cts +3 -3
  23. package/dist/client/index.d.mts +3 -3
  24. package/dist/client/index.d.ts +3 -3
  25. package/dist/components/auto-form/index.d.cts +7 -8
  26. package/dist/components/auto-form/index.d.mts +7 -8
  27. package/dist/components/auto-form/index.d.ts +7 -8
  28. package/dist/components/empty/index.d.cts +7 -7
  29. package/dist/components/empty/index.d.mts +7 -7
  30. package/dist/components/empty/index.d.ts +7 -7
  31. package/dist/components/form-builder/index.cjs +2 -2
  32. package/dist/components/form-builder/index.d.cts +4 -3
  33. package/dist/components/form-builder/index.d.mts +4 -3
  34. package/dist/components/form-builder/index.d.ts +4 -3
  35. package/dist/components/form-builder/index.mjs +1 -1
  36. package/dist/components/markdown/index.d.cts +3 -3
  37. package/dist/components/markdown/index.d.mts +3 -3
  38. package/dist/components/markdown/index.d.ts +3 -3
  39. package/dist/components/multi-select/index.d.cts +7 -8
  40. package/dist/components/multi-select/index.d.mts +7 -8
  41. package/dist/components/multi-select/index.d.ts +7 -8
  42. package/dist/components/search-select/index.d.cts +2 -2
  43. package/dist/components/search-select/index.d.mts +2 -2
  44. package/dist/components/search-select/index.d.ts +2 -2
  45. package/dist/components/stepped-auto-form/index.cjs +1 -1
  46. package/dist/components/stepped-auto-form/index.d.cts +6 -7
  47. package/dist/components/stepped-auto-form/index.d.mts +6 -7
  48. package/dist/components/stepped-auto-form/index.d.ts +6 -7
  49. package/dist/components/stepped-auto-form/index.mjs +1 -1
  50. package/dist/context/index.d.cts +6 -6
  51. package/dist/context/index.d.mts +6 -6
  52. package/dist/context/index.d.ts +6 -6
  53. package/dist/index.d.cts +2 -2
  54. package/dist/index.d.mts +2 -2
  55. package/dist/index.d.ts +2 -2
  56. package/dist/next/index.d.cts +5 -4
  57. package/dist/next/index.d.mts +5 -4
  58. package/dist/next/index.d.ts +5 -4
  59. package/dist/next/server.d.cts +3 -3
  60. package/dist/next/server.d.mts +3 -3
  61. package/dist/next/server.d.ts +3 -3
  62. package/dist/node_modules/.pnpm/@babel_runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +16 -0
  63. package/dist/node_modules/.pnpm/@babel_runtime@7.29.10/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +14 -0
  64. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/mini.cjs +452 -0
  65. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/mini.mjs +450 -0
  66. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzOffset/index.cjs +58 -0
  67. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzOffset/index.mjs +56 -0
  68. package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@dnd-kit/core/dist/core.esm.cjs +3999 -0
  69. package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@dnd-kit/core/dist/core.esm.mjs +3968 -0
  70. package/dist/node_modules/.pnpm/@dnd-kit_modifiers@9.0.0_@dnd-kit_core@6.3.1_react-dom@19.3.1_react@19.3.1__react@19.3.1__react@19.3.1/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.cjs +30 -0
  71. package/dist/node_modules/.pnpm/@dnd-kit_modifiers@9.0.0_@dnd-kit_core@6.3.1_react-dom@19.3.1_react@19.3.1__react@19.3.1__react@19.3.1/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.mjs +28 -0
  72. package/dist/node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.3.1_react@19.3.1__react@19.3.1__react@19.3.1/node_modules/@dnd-kit/sortable/dist/sortable.esm.cjs +752 -0
  73. package/dist/node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.3.1_react@19.3.1__react@19.3.1__react@19.3.1/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs +737 -0
  74. package/dist/node_modules/.pnpm/@dnd-kit_utilities@3.2.2_react@19.3.1/node_modules/@dnd-kit/utilities/dist/utilities.esm.mjs +332 -0
  75. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1050 -0
  76. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1037 -0
  77. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +792 -0
  78. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +778 -0
  79. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +402 -0
  80. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +377 -0
  81. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.20_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react/dist/floating-ui.react.cjs +270 -0
  82. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.20_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react/dist/floating-ui.react.mjs +244 -0
  83. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +161 -0
  84. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +186 -0
  85. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +165 -0
  86. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +136 -0
  87. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs +12 -0
  88. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.mjs +10 -0
  89. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.2.0/node_modules/@radix-ui/primitive/dist/index.cjs +61 -0
  90. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.2.0/node_modules/@radix-ui/primitive/dist/index.mjs +54 -0
  91. package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1.3.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_5c7d962b3fe73107d038e39b4f324168/node_modules/@radix-ui/react-accordion/dist/index.cjs +350 -0
  92. package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1.3.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_5c7d962b3fe73107d038e39b4f324168/node_modules/@radix-ui/react-accordion/dist/index.mjs +324 -0
  93. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types__9fb8ed36b898ecb69373e4d64f11612c/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +132 -0
  94. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types__9fb8ed36b898ecb69373e4d64f11612c/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs +98 -0
  95. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_42c166494782f9339172e39dfcc4494e/node_modules/@radix-ui/react-arrow/dist/index.cjs +43 -0
  96. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_42c166494782f9339172e39dfcc4494e/node_modules/@radix-ui/react-arrow/dist/index.mjs +26 -0
  97. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.3.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_088d45f3964609d655869437dae40c68/node_modules/@radix-ui/react-avatar/dist/index.cjs +155 -0
  98. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.3.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_088d45f3964609d655869437dae40c68/node_modules/@radix-ui/react-avatar/dist/index.mjs +133 -0
  99. package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.4.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_630633f10999d131c84963aa64950d79/node_modules/@radix-ui/react-checkbox/dist/index.cjs +335 -0
  100. package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.4.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_630633f10999d131c84963aa64950d79/node_modules/@radix-ui/react-checkbox/dist/index.mjs +309 -0
  101. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_f8634540a4e1e40b51592c3777d0d653/node_modules/@radix-ui/react-collapsible/dist/index.cjs +167 -0
  102. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_f8634540a4e1e40b51592c3777d0d653/node_modules/@radix-ui/react-collapsible/dist/index.mjs +145 -0
  103. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.2.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_6acb2d8ed0d1a5e2d86fa68fa86b38fc/node_modules/@radix-ui/react-collection/dist/index.cjs +654 -0
  104. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.2.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_6acb2d8ed0d1a5e2d86fa68fa86b38fc/node_modules/@radix-ui/react-collection/dist/index.mjs +637 -0
  105. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +60 -0
  106. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +43 -0
  107. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.3.0_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +111 -0
  108. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.3.0_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.mjs +94 -0
  109. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.2.0_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +32 -0
  110. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.2.0_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.mjs +16 -0
  111. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@t_aa9a2defeade16af3bdfd2945af978c3/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +357 -0
  112. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@t_aa9a2defeade16af3bdfd2945af978c3/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs +339 -0
  113. package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_59087697bb8d70fe27e0ede367aec154/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs +180 -0
  114. package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_59087697bb8d70fe27e0ede367aec154/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs +152 -0
  115. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.2.0_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +67 -0
  116. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.2.0_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.mjs +49 -0
  117. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.3.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_6d7db95e6b4b16578fd42789685673fa/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +297 -0
  118. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.3.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_6d7db95e6b4b16578fd42789685673fa/node_modules/@radix-ui/react-focus-scope/dist/index.mjs +277 -0
  119. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +33 -0
  120. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.mjs +17 -0
  121. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19_5b19b71a44c52a23e68bd8126ace118c/node_modules/@radix-ui/react-menu/dist/index.cjs +594 -0
  122. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19_5b19b71a44c52a23e68bd8126ace118c/node_modules/@radix-ui/react-menu/dist/index.mjs +566 -0
  123. package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.3.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_a4e3e92f6d86b7f7d356e52440504610/node_modules/@radix-ui/react-popover/dist/index.cjs +324 -0
  124. package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.3.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_a4e3e92f6d86b7f7d356e52440504610/node_modules/@radix-ui/react-popover/dist/index.mjs +300 -0
  125. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.4.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_8afc6f49a39cf3de4250aed01ab9dae8/node_modules/@radix-ui/react-popper/dist/index.cjs +373 -0
  126. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.4.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_8afc6f49a39cf3de4250aed01ab9dae8/node_modules/@radix-ui/react-popper/dist/index.mjs +349 -0
  127. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.2.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_058d94c3625e9af8e54f0154a66c0818/node_modules/@radix-ui/react-portal/dist/index.cjs +38 -0
  128. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.2.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_058d94c3625e9af8e54f0154a66c0818/node_modules/@radix-ui/react-portal/dist/index.mjs +20 -0
  129. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.11_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_f62c16392ef5c0f7dddc17b4112d7eab/node_modules/@radix-ui/react-presence/dist/index.cjs +200 -0
  130. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.11_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_f62c16392ef5c0f7dddc17b4112d7eab/node_modules/@radix-ui/react-presence/dist/index.mjs +183 -0
  131. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.2.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_8110221bfe749bbb617b2ef4d8402995/node_modules/@radix-ui/react-primitive/dist/index.cjs +65 -0
  132. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.2.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_8110221bfe749bbb617b2ef4d8402995/node_modules/@radix-ui/react-primitive/dist/index.mjs +46 -0
  133. package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.5.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_ae0ff636ebae498d6158983d1b2a7fd8/node_modules/@radix-ui/react-radio-group/dist/index.cjs +448 -0
  134. package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.5.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_ae0ff636ebae498d6158983d1b2a7fd8/node_modules/@radix-ui/react-radio-group/dist/index.mjs +420 -0
  135. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types__bed290ae4c554285fceef8952991064b/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +270 -0
  136. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types__bed290ae4c554285fceef8952991064b/node_modules/@radix-ui/react-roving-focus/dist/index.mjs +250 -0
  137. package/dist/node_modules/.pnpm/@radix-ui_react-scroll-area@1.4.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_c71009d6a4948c5f397c5b9e212ddcbc/node_modules/@radix-ui/react-scroll-area/dist/index.cjs +828 -0
  138. package/dist/node_modules/.pnpm/@radix-ui_react-scroll-area@1.4.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_c71009d6a4948c5f397c5b9e212ddcbc/node_modules/@radix-ui/react-scroll-area/dist/index.mjs +800 -0
  139. package/dist/node_modules/.pnpm/@radix-ui_react-select@2.4.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_e8fd14f43f640bf7754c8314026f8b0b/node_modules/@radix-ui/react-select/dist/index.cjs +1265 -0
  140. package/dist/node_modules/.pnpm/@radix-ui_react-select@2.4.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_e8fd14f43f640bf7754c8314026f8b0b/node_modules/@radix-ui/react-select/dist/index.mjs +1220 -0
  141. package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.2.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_6a3f0072f69e5ed10ca7be85e9ca6c3c/node_modules/@radix-ui/react-separator/dist/index.cjs +53 -0
  142. package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.2.0_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_6a3f0072f69e5ed10ca7be85e9ca6c3c/node_modules/@radix-ui/react-separator/dist/index.mjs +36 -0
  143. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19_519fe3e24f3d946c91e5ee8267015a1e/node_modules/@radix-ui/react-tabs/dist/index.cjs +220 -0
  144. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19_519fe3e24f3d946c91e5ee8267015a1e/node_modules/@radix-ui/react-tabs/dist/index.mjs +196 -0
  145. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types__708bc0e1d21164fdee5bfe89ab2f4b8c/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +193 -0
  146. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types__708bc0e1d21164fdee5bfe89ab2f4b8c/node_modules/@radix-ui/react-toggle-group/dist/index.mjs +173 -0
  147. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_de7c9f81d6808adaa4fa45c6bd828d6f/node_modules/@radix-ui/react-toggle/dist/index.cjs +56 -0
  148. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.2.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_de7c9f81d6808adaa4fa45c6bd828d6f/node_modules/@radix-ui/react-toggle/dist/index.mjs +39 -0
  149. package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.4.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_29b7207499ca9b573eabeaa0eb3894bd/node_modules/@radix-ui/react-tooltip/dist/index.cjs +543 -0
  150. package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.4.1_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_29b7207499ca9b573eabeaa0eb3894bd/node_modules/@radix-ui/react-tooltip/dist/index.mjs +515 -0
  151. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +38 -0
  152. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs +22 -0
  153. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.3.0_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +125 -0
  154. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.3.0_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs +108 -0
  155. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +44 -0
  156. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.mjs +28 -0
  157. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +51 -0
  158. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs +35 -0
  159. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +23 -0
  160. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs +7 -0
  161. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +65 -0
  162. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.mjs +49 -0
  163. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.13_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_703f89cfbdd73455c4bf03a3c2fc4305/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +52 -0
  164. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.13_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_703f89cfbdd73455c4bf03a3c2fc4305/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs +34 -0
  165. package/dist/node_modules/.pnpm/@tiptap_core@3.32.0_@tiptap_pm@3.32.0/node_modules/@tiptap/core/dist/index.cjs +7116 -0
  166. package/dist/node_modules/.pnpm/@tiptap_core@3.32.0_@tiptap_pm@3.32.0/node_modules/@tiptap/core/dist/index.mjs +7007 -0
  167. package/dist/node_modules/.pnpm/@tiptap_core@3.32.0_@tiptap_pm@3.32.0/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.cjs +58 -0
  168. package/dist/node_modules/.pnpm/@tiptap_core@3.32.0_@tiptap_pm@3.32.0/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.mjs +54 -0
  169. package/dist/node_modules/.pnpm/@tiptap_core@3.32.0_@tiptap_pm@3.32.0/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.cjs +15 -0
  170. package/dist/node_modules/.pnpm/@tiptap_core@3.32.0_@tiptap_pm@3.32.0/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.mjs +13 -0
  171. package/dist/node_modules/.pnpm/@tiptap_extension-blockquote@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-blockquote/dist/index.cjs +125 -0
  172. package/dist/node_modules/.pnpm/@tiptap_extension-blockquote@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-blockquote/dist/index.mjs +122 -0
  173. package/dist/node_modules/.pnpm/@tiptap_extension-bold@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-bold/dist/index.cjs +110 -0
  174. package/dist/node_modules/.pnpm/@tiptap_extension-bold@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-bold/dist/index.mjs +104 -0
  175. package/dist/node_modules/.pnpm/@tiptap_extension-bubble-menu@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-bubble-menu/dist/index.cjs +325 -0
  176. package/dist/node_modules/.pnpm/@tiptap_extension-bubble-menu@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-bubble-menu/dist/index.mjs +322 -0
  177. package/dist/node_modules/.pnpm/@tiptap_extension-code-block-lowlight@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@ti_9b1eb53f3b53abb69975d1c1992cd453/node_modules/@tiptap/extension-code-block-lowlight/dist/index.cjs +122 -0
  178. package/dist/node_modules/.pnpm/@tiptap_extension-code-block-lowlight@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@ti_9b1eb53f3b53abb69975d1c1992cd453/node_modules/@tiptap/extension-code-block-lowlight/dist/index.mjs +116 -0
  179. package/dist/node_modules/.pnpm/@tiptap_extension-code-block@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-code-block/dist/index.cjs +248 -0
  180. package/dist/node_modules/.pnpm/@tiptap_extension-code-block@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-code-block/dist/index.mjs +244 -0
  181. package/dist/node_modules/.pnpm/@tiptap_extension-code@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-code/dist/index.cjs +114 -0
  182. package/dist/node_modules/.pnpm/@tiptap_extension-code@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-code/dist/index.mjs +110 -0
  183. package/dist/node_modules/.pnpm/@tiptap_extension-document@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-document/dist/index.cjs +20 -0
  184. package/dist/node_modules/.pnpm/@tiptap_extension-document@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-document/dist/index.mjs +18 -0
  185. package/dist/node_modules/.pnpm/@tiptap_extension-floating-menu@3.32.0_@floating-ui_dom@1.8.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-floating-menu/dist/index.cjs +264 -0
  186. package/dist/node_modules/.pnpm/@tiptap_extension-floating-menu@3.32.0_@floating-ui_dom@1.8.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-floating-menu/dist/index.mjs +261 -0
  187. package/dist/node_modules/.pnpm/@tiptap_extension-hard-break@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-hard-break/dist/index.cjs +62 -0
  188. package/dist/node_modules/.pnpm/@tiptap_extension-hard-break@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-hard-break/dist/index.mjs +60 -0
  189. package/dist/node_modules/.pnpm/@tiptap_extension-heading@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-heading/dist/index.cjs +86 -0
  190. package/dist/node_modules/.pnpm/@tiptap_extension-heading@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-heading/dist/index.mjs +84 -0
  191. package/dist/node_modules/.pnpm/@tiptap_extension-horizontal-rule@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-horizontal-rule/dist/index.cjs +71 -0
  192. package/dist/node_modules/.pnpm/@tiptap_extension-horizontal-rule@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-horizontal-rule/dist/index.mjs +69 -0
  193. package/dist/node_modules/.pnpm/@tiptap_extension-image@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-image/dist/index.cjs +174 -0
  194. package/dist/node_modules/.pnpm/@tiptap_extension-image@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-image/dist/index.mjs +171 -0
  195. package/dist/node_modules/.pnpm/@tiptap_extension-italic@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-italic/dist/index.cjs +106 -0
  196. package/dist/node_modules/.pnpm/@tiptap_extension-italic@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-italic/dist/index.mjs +100 -0
  197. package/dist/node_modules/.pnpm/@tiptap_extension-link@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-link/dist/index.cjs +549 -0
  198. package/dist/node_modules/.pnpm/@tiptap_extension-link@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-link/dist/index.mjs +546 -0
  199. package/dist/node_modules/.pnpm/@tiptap_extension-list@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-list/dist/index.cjs +1505 -0
  200. package/dist/node_modules/.pnpm/@tiptap_extension-list@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-list/dist/index.mjs +1485 -0
  201. package/dist/node_modules/.pnpm/@tiptap_extension-paragraph@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-paragraph/dist/index.cjs +66 -0
  202. package/dist/node_modules/.pnpm/@tiptap_extension-paragraph@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-paragraph/dist/index.mjs +64 -0
  203. package/dist/node_modules/.pnpm/@tiptap_extension-strike@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-strike/dist/index.cjs +81 -0
  204. package/dist/node_modules/.pnpm/@tiptap_extension-strike@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-strike/dist/index.mjs +77 -0
  205. package/dist/node_modules/.pnpm/@tiptap_extension-table@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-table/dist/index.cjs +827 -0
  206. package/dist/node_modules/.pnpm/@tiptap_extension-table@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extension-table/dist/index.mjs +814 -0
  207. package/dist/node_modules/.pnpm/@tiptap_extension-text-style@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-text-style/dist/index.cjs +297 -0
  208. package/dist/node_modules/.pnpm/@tiptap_extension-text-style@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-text-style/dist/index.mjs +290 -0
  209. package/dist/node_modules/.pnpm/@tiptap_extension-text@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-text/dist/index.cjs +22 -0
  210. package/dist/node_modules/.pnpm/@tiptap_extension-text@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-text/dist/index.mjs +20 -0
  211. package/dist/node_modules/.pnpm/@tiptap_extension-typography@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-typography/dist/index.cjs +196 -0
  212. package/dist/node_modules/.pnpm/@tiptap_extension-typography@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-typography/dist/index.mjs +172 -0
  213. package/dist/node_modules/.pnpm/@tiptap_extension-underline@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-underline/dist/index.cjs +74 -0
  214. package/dist/node_modules/.pnpm/@tiptap_extension-underline@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0_/node_modules/@tiptap/extension-underline/dist/index.mjs +72 -0
  215. package/dist/node_modules/.pnpm/@tiptap_extensions@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extensions/dist/index.cjs +705 -0
  216. package/dist/node_modules/.pnpm/@tiptap_extensions@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/extensions/dist/index.mjs +695 -0
  217. package/dist/node_modules/.pnpm/@tiptap_markdown@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/markdown/dist/index.cjs +1469 -0
  218. package/dist/node_modules/.pnpm/@tiptap_markdown@3.32.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tiptap_pm@3.32.0/node_modules/@tiptap/markdown/dist/index.mjs +1457 -0
  219. package/dist/node_modules/.pnpm/@tiptap_react@3.32.0_@floating-ui_dom@1.8.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tip_8215e90eae23fe6dcd148429648d62d6/node_modules/@tiptap/react/dist/index.cjs +1303 -0
  220. package/dist/node_modules/.pnpm/@tiptap_react@3.32.0_@floating-ui_dom@1.8.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tip_8215e90eae23fe6dcd148429648d62d6/node_modules/@tiptap/react/dist/index.mjs +1173 -0
  221. package/dist/node_modules/.pnpm/@tiptap_react@3.32.0_@floating-ui_dom@1.8.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tip_8215e90eae23fe6dcd148429648d62d6/node_modules/@tiptap/react/dist/menus/index.cjs +449 -0
  222. package/dist/node_modules/.pnpm/@tiptap_react@3.32.0_@floating-ui_dom@1.8.0_@tiptap_core@3.32.0_@tiptap_pm@3.32.0__@tip_8215e90eae23fe6dcd148429648d62d6/node_modules/@tiptap/react/dist/menus/index.mjs +443 -0
  223. package/dist/node_modules/.pnpm/@tiptap_starter-kit@3.32.0/node_modules/@tiptap/starter-kit/dist/index.cjs +69 -0
  224. package/dist/node_modules/.pnpm/@tiptap_starter-kit@3.32.0/node_modules/@tiptap/starter-kit/dist/index.mjs +67 -0
  225. package/dist/node_modules/.pnpm/@use-gesture_core@10.3.1/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +1 -1
  226. package/dist/node_modules/.pnpm/fast-equals@5.4.5/node_modules/fast-equals/dist/es/index.cjs +788 -0
  227. package/dist/node_modules/.pnpm/fast-equals@5.4.5/node_modules/fast-equals/dist/es/index.mjs +784 -0
  228. package/dist/node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/create-h.cjs +2 -2
  229. package/dist/node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/create-h.mjs +2 -2
  230. package/dist/node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/index.cjs +1 -1
  231. package/dist/node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/index.mjs +1 -1
  232. package/dist/node_modules/.pnpm/he-tree-react@1.3.1_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/he-tree-react/dist/index.cjs +807 -0
  233. package/dist/node_modules/.pnpm/he-tree-react@1.3.1_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/he-tree-react/dist/index.mjs +799 -0
  234. package/dist/node_modules/.pnpm/helper-js@3.1.7/node_modules/helper-js/dist/index.esm.cjs +103 -0
  235. package/dist/node_modules/.pnpm/helper-js@3.1.7/node_modules/helper-js/dist/index.esm.mjs +95 -0
  236. package/dist/node_modules/.pnpm/immer@11.2.9/node_modules/immer/dist/immer.cjs +881 -0
  237. package/dist/node_modules/.pnpm/immer@11.2.9/node_modules/immer/dist/immer.mjs +872 -0
  238. package/dist/node_modules/.pnpm/linkifyjs@4.4.0/node_modules/linkifyjs/dist/linkify.cjs +1828 -0
  239. package/dist/node_modules/.pnpm/linkifyjs@4.4.0/node_modules/linkifyjs/dist/linkify.mjs +1816 -0
  240. package/dist/node_modules/.pnpm/lowlight@3.3.0/node_modules/lowlight/lib/common.cjs +105 -105
  241. package/dist/node_modules/.pnpm/lowlight@3.3.0/node_modules/lowlight/lib/common.mjs +70 -70
  242. package/dist/node_modules/.pnpm/lowlight@3.3.0/node_modules/lowlight/lib/index.cjs +3 -3
  243. package/dist/node_modules/.pnpm/lowlight@3.3.0/node_modules/lowlight/lib/index.mjs +5 -5
  244. package/dist/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.cjs +83 -0
  245. package/dist/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.mjs +73 -0
  246. package/dist/node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.cjs +10 -10
  247. package/dist/node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.mjs +9 -9
  248. package/dist/node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/lib/index.cjs +15 -15
  249. package/dist/node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/lib/index.mjs +1 -1
  250. package/dist/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/html.cjs +329 -0
  251. package/dist/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/html.mjs +327 -0
  252. package/dist/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/svg.cjs +567 -0
  253. package/dist/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/svg.mjs +565 -0
  254. package/dist/node_modules/.pnpm/prosemirror-commands@1.7.2/node_modules/prosemirror-commands/dist/index.cjs +675 -0
  255. package/dist/node_modules/.pnpm/prosemirror-commands@1.7.2/node_modules/prosemirror-commands/dist/index.mjs +652 -0
  256. package/dist/node_modules/.pnpm/prosemirror-dropcursor@1.8.4/node_modules/prosemirror-dropcursor/dist/index.cjs +165 -0
  257. package/dist/node_modules/.pnpm/prosemirror-dropcursor@1.8.4/node_modules/prosemirror-dropcursor/dist/index.mjs +163 -0
  258. package/dist/node_modules/.pnpm/prosemirror-gapcursor@1.4.1/node_modules/prosemirror-gapcursor/dist/index.cjs +242 -0
  259. package/dist/node_modules/.pnpm/prosemirror-gapcursor@1.4.1/node_modules/prosemirror-gapcursor/dist/index.mjs +239 -0
  260. package/dist/node_modules/.pnpm/prosemirror-history@1.5.1/node_modules/prosemirror-history/dist/index.cjs +436 -0
  261. package/dist/node_modules/.pnpm/prosemirror-history@1.5.1/node_modules/prosemirror-history/dist/index.mjs +430 -0
  262. package/dist/node_modules/.pnpm/prosemirror-model@1.25.12/node_modules/prosemirror-model/dist/index.cjs +3477 -0
  263. package/dist/node_modules/.pnpm/prosemirror-model@1.25.12/node_modules/prosemirror-model/dist/index.mjs +3463 -0
  264. package/dist/node_modules/.pnpm/prosemirror-schema-list@1.5.1/node_modules/prosemirror-schema-list/dist/index.cjs +2 -2
  265. package/dist/node_modules/.pnpm/prosemirror-schema-list@1.5.1/node_modules/prosemirror-schema-list/dist/index.mjs +2 -2
  266. package/dist/node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.cjs +2 -2
  267. package/dist/node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.mjs +2 -2
  268. package/dist/node_modules/.pnpm/prosemirror-tables@1.8.5/node_modules/prosemirror-tables/dist/index.cjs +2056 -0
  269. package/dist/node_modules/.pnpm/prosemirror-tables@1.8.5/node_modules/prosemirror-tables/dist/index.mjs +2006 -0
  270. package/dist/node_modules/.pnpm/prosemirror-transform@1.12.4/node_modules/prosemirror-transform/dist/index.cjs +2295 -0
  271. package/dist/node_modules/.pnpm/prosemirror-transform@1.12.4/node_modules/prosemirror-transform/dist/index.mjs +2272 -0
  272. package/dist/node_modules/.pnpm/prosemirror-view@1.42.8/node_modules/prosemirror-view/dist/index.cjs +6050 -0
  273. package/dist/node_modules/.pnpm/prosemirror-view@1.42.8/node_modules/prosemirror-view/dist/index.mjs +6046 -0
  274. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/DayPicker.cjs +338 -0
  275. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/DayPicker.mjs +332 -0
  276. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/UI.cjs +122 -0
  277. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/UI.mjs +122 -0
  278. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/classes/DateLib.cjs +577 -0
  279. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/classes/DateLib.mjs +573 -0
  280. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/noonDateLib.cjs +162 -0
  281. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/noonDateLib.mjs +160 -0
  282. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/selection/useRange.cjs +65 -0
  283. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/selection/useRange.mjs +63 -0
  284. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.cjs +63 -0
  285. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.mjs +61 -0
  286. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/utils/toTimeZone.cjs +18 -0
  287. package/dist/node_modules/.pnpm/react-day-picker@9.14.0_react@19.3.1/node_modules/react-day-picker/dist/esm/utils/toTimeZone.mjs +16 -0
  288. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/controlled.cjs +464 -0
  289. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/controlled.mjs +457 -0
  290. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/adjust-svg-ids.cjs +56 -0
  291. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/adjust-svg-ids.mjs +54 -0
  292. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/compute-positioned-style.cjs +27 -0
  293. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/compute-positioned-style.mjs +25 -0
  294. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/element-tests.cjs +18 -0
  295. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/element-tests.mjs +13 -0
  296. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-div-img-style.cjs +52 -0
  297. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-div-img-style.mjs +50 -0
  298. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-alt.cjs +16 -0
  299. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-alt.mjs +14 -0
  300. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-object-fit-style.cjs +68 -0
  301. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-object-fit-style.mjs +66 -0
  302. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.cjs +23 -0
  303. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.mjs +21 -0
  304. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-src.cjs +20 -0
  305. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-src.mjs +18 -0
  306. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.cjs +27 -0
  307. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.mjs +25 -0
  308. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-scale.cjs +34 -0
  309. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-scale.mjs +32 -0
  310. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.cjs +40 -0
  311. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.mjs +38 -0
  312. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.cjs +79 -0
  313. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.mjs +77 -0
  314. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.cjs +5 -0
  315. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.mjs +3 -0
  316. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/parse-position.cjs +10 -0
  317. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/parse-position.mjs +8 -0
  318. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.cjs +9 -0
  319. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.mjs +7 -0
  320. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +74 -0
  321. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs +56 -0
  322. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +185 -0
  323. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs +167 -0
  324. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +54 -0
  325. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.mjs +38 -0
  326. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +7 -0
  327. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.mjs +5 -0
  328. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +9 -0
  329. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs +7 -0
  330. package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.esm.cjs +2427 -0
  331. package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.esm.mjs +2402 -0
  332. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/a11y-dark.cjs +166 -0
  333. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/a11y-dark.mjs +164 -0
  334. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/atom-dark.cjs +173 -0
  335. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/atom-dark.mjs +171 -0
  336. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/base16-ateliersulphurpool.light.cjs +217 -0
  337. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/base16-ateliersulphurpool.light.mjs +215 -0
  338. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/cb.cjs +181 -0
  339. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/cb.mjs +179 -0
  340. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-cold.cjs +406 -0
  341. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-cold.mjs +404 -0
  342. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-dark.cjs +406 -0
  343. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-dark.mjs +404 -0
  344. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy-without-shadows.cjs +202 -0
  345. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy-without-shadows.mjs +200 -0
  346. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy.cjs +269 -0
  347. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy.mjs +267 -0
  348. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/darcula.cjs +221 -0
  349. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/darcula.mjs +219 -0
  350. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dark.cjs +174 -0
  351. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dark.mjs +172 -0
  352. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dracula.cjs +174 -0
  353. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dracula.mjs +172 -0
  354. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-dark.cjs +238 -0
  355. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-dark.mjs +236 -0
  356. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-earth.cjs +238 -0
  357. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-earth.mjs +236 -0
  358. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-forest.cjs +238 -0
  359. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-forest.mjs +236 -0
  360. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-light.cjs +238 -0
  361. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-light.mjs +236 -0
  362. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-sea.cjs +238 -0
  363. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-sea.mjs +236 -0
  364. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-space.cjs +238 -0
  365. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-space.mjs +236 -0
  366. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/funky.cjs +181 -0
  367. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/funky.mjs +179 -0
  368. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/ghcolors.cjs +198 -0
  369. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/ghcolors.mjs +196 -0
  370. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-dark.cjs +197 -0
  371. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-dark.mjs +195 -0
  372. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-light.cjs +197 -0
  373. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-light.mjs +195 -0
  374. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/holi-theme.cjs +214 -0
  375. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/holi-theme.mjs +212 -0
  376. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/hopscotch.cjs +168 -0
  377. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/hopscotch.mjs +166 -0
  378. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.cjs +373 -0
  379. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.mjs +371 -0
  380. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/lucario.cjs +174 -0
  381. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/lucario.mjs +172 -0
  382. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-dark.cjs +215 -0
  383. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-dark.mjs +213 -0
  384. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-light.cjs +223 -0
  385. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-light.mjs +221 -0
  386. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-oceanic.cjs +219 -0
  387. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-oceanic.mjs +217 -0
  388. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/night-owl.cjs +212 -0
  389. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/night-owl.mjs +210 -0
  390. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/nord.cjs +172 -0
  391. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/nord.mjs +170 -0
  392. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/okaidia.cjs +176 -0
  393. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/okaidia.mjs +174 -0
  394. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-dark.cjs +521 -0
  395. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-dark.mjs +519 -0
  396. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-light.cjs +509 -0
  397. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-light.mjs +507 -0
  398. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/pojoaque.cjs +181 -0
  399. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/pojoaque.mjs +179 -0
  400. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/prism.cjs +212 -0
  401. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/prism.mjs +210 -0
  402. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/shades-of-purple.cjs +254 -0
  403. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/shades-of-purple.mjs +252 -0
  404. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarized-dark-atom.cjs +173 -0
  405. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarized-dark-atom.mjs +171 -0
  406. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarizedlight.cjs +188 -0
  407. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarizedlight.mjs +186 -0
  408. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/synthwave84.cjs +203 -0
  409. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/synthwave84.mjs +201 -0
  410. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/tomorrow.cjs +173 -0
  411. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/tomorrow.mjs +171 -0
  412. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/twilight.cjs +234 -0
  413. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/twilight.mjs +232 -0
  414. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vs.cjs +226 -0
  415. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vs.mjs +224 -0
  416. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vsc-dark-plus.cjs +302 -0
  417. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vsc-dark-plus.mjs +300 -0
  418. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/xonokai.cjs +200 -0
  419. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/xonokai.mjs +198 -0
  420. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/z-touch.cjs +216 -0
  421. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/z-touch.mjs +214 -0
  422. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/create-element.cjs +121 -0
  423. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +110 -0
  424. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/highlight.cjs +394 -0
  425. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.2_react@19.3.1/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +388 -0
  426. package/dist/node_modules/.pnpm/use-sync-external-store@1.2.2_react@19.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs +254 -0
  427. package/dist/node_modules/.pnpm/use-sync-external-store@1.2.2_react@19.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +248 -0
  428. package/dist/node_modules/.pnpm/use-sync-external-store@1.7.0_react@19.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.cjs +115 -0
  429. package/dist/node_modules/.pnpm/use-sync-external-store@1.7.0_react@19.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +109 -0
  430. package/dist/node_modules/.pnpm/zundo@2.3.0_zustand@4.5.5_@types_react@19.3.0_immer@11.2.9_react@19.3.1_/node_modules/zundo/dist/index.cjs +112 -0
  431. package/dist/node_modules/.pnpm/zundo@2.3.0_zustand@4.5.5_@types_react@19.3.0_immer@11.2.9_react@19.3.1_/node_modules/zundo/dist/index.mjs +110 -0
  432. package/dist/packages/stack/src/context/i18n.mjs +1 -1
  433. package/dist/packages/stack/src/context/notify.mjs +1 -1
  434. package/dist/packages/stack/src/context/provider.mjs +1 -1
  435. package/dist/packages/stack/src/plugins/ai-chat/api/compaction.cjs +19 -13
  436. package/dist/packages/stack/src/plugins/ai-chat/api/compaction.mjs +20 -14
  437. package/dist/packages/stack/src/plugins/ai-chat/api/operations.cjs +16 -8
  438. package/dist/packages/stack/src/plugins/ai-chat/api/operations.mjs +17 -9
  439. package/dist/packages/stack/src/plugins/ai-chat/api/plugin.mjs +1 -1
  440. package/dist/packages/stack/src/plugins/ai-chat/client/components/tool-call-display.cjs +14 -5
  441. package/dist/packages/stack/src/plugins/ai-chat/client/components/tool-call-display.mjs +14 -5
  442. package/dist/packages/stack/src/plugins/ai-chat/client/context/chat-analytics.mjs +1 -1
  443. package/dist/packages/stack/src/plugins/ai-chat/client/hooks/chat-hooks.mjs +1 -1
  444. package/dist/packages/stack/src/plugins/blog/api/plugin.mjs +1 -1
  445. package/dist/packages/stack/src/plugins/blog/client/components/forms/markdown-editor.cjs +5 -0
  446. package/dist/packages/stack/src/plugins/blog/client/components/forms/markdown-editor.mjs +5 -0
  447. package/dist/packages/stack/src/plugins/blog/client/components/forms/post-forms.mjs +1 -1
  448. package/dist/packages/stack/src/plugins/client/resource/use-form.mjs +1 -1
  449. package/dist/packages/stack/src/plugins/cms/api/getters.cjs +142 -6
  450. package/dist/packages/stack/src/plugins/cms/api/getters.mjs +139 -8
  451. package/dist/packages/stack/src/plugins/cms/api/operations.cjs +67 -61
  452. package/dist/packages/stack/src/plugins/cms/api/operations.mjs +69 -63
  453. package/dist/packages/stack/src/plugins/cms/api/plugin.cjs +26 -8
  454. package/dist/packages/stack/src/plugins/cms/api/plugin.mjs +28 -10
  455. package/dist/packages/stack/src/plugins/cms/api/query-key-defs.cjs +15 -1
  456. package/dist/packages/stack/src/plugins/cms/api/query-key-defs.mjs +14 -2
  457. package/dist/packages/stack/src/plugins/cms/client/components/forms/content-form.cjs +1 -1
  458. package/dist/packages/stack/src/plugins/cms/client/components/forms/content-form.mjs +1 -1
  459. package/dist/packages/stack/src/plugins/cms/client/hooks/cms-hooks.cjs +45 -24
  460. package/dist/packages/stack/src/plugins/cms/client/hooks/cms-hooks.mjs +45 -24
  461. package/dist/packages/stack/src/plugins/cms/schemas.cjs +22 -0
  462. package/dist/packages/stack/src/plugins/cms/schemas.mjs +20 -1
  463. package/dist/packages/stack/src/plugins/comments/api/plugin.mjs +1 -1
  464. package/dist/packages/stack/src/plugins/comments/client/hooks/use-comments.mjs +1 -1
  465. package/dist/packages/stack/src/plugins/form-builder/api/plugin.mjs +1 -1
  466. package/dist/packages/stack/src/plugins/form-builder/client/components/forms/form-renderer.cjs +1 -1
  467. package/dist/packages/stack/src/plugins/form-builder/client/components/forms/form-renderer.mjs +1 -1
  468. package/dist/packages/stack/src/plugins/kanban/api/plugin.mjs +1 -1
  469. package/dist/packages/stack/src/plugins/kanban/client/components/shared/column-content.cjs +2 -2
  470. package/dist/packages/stack/src/plugins/kanban/client/components/shared/column-content.mjs +1 -1
  471. package/dist/packages/stack/src/plugins/kanban/client/components/shared/kanban-board.cjs +1 -1
  472. package/dist/packages/stack/src/plugins/kanban/client/components/shared/kanban-board.mjs +1 -1
  473. package/dist/packages/stack/src/plugins/kanban/client/components/shared/task-card.cjs +2 -2
  474. package/dist/packages/stack/src/plugins/kanban/client/components/shared/task-card.mjs +1 -1
  475. package/dist/packages/stack/src/plugins/media/api/plugin.mjs +1 -1
  476. package/dist/packages/stack/src/plugins/media/client/components/media-picker/index.cjs +1 -1
  477. package/dist/packages/stack/src/plugins/media/client/components/media-picker/index.mjs +2 -2
  478. package/dist/packages/stack/src/plugins/media/client/hooks/use-media.mjs +1 -1
  479. package/dist/packages/ui/src/components/accordion.cjs +6 -6
  480. package/dist/packages/ui/src/components/accordion.mjs +6 -6
  481. package/dist/packages/ui/src/components/alert-dialog.cjs +9 -9
  482. package/dist/packages/ui/src/components/alert-dialog.mjs +10 -10
  483. package/dist/packages/ui/src/components/auto-form/stepped-auto-form.cjs +0 -3
  484. package/dist/packages/ui/src/components/auto-form/stepped-auto-form.mjs +1 -1
  485. package/dist/packages/ui/src/components/avatar.cjs +4 -4
  486. package/dist/packages/ui/src/components/avatar.mjs +4 -4
  487. package/dist/packages/ui/src/components/calendar.cjs +2 -2
  488. package/dist/packages/ui/src/components/calendar.mjs +2 -2
  489. package/dist/packages/ui/src/components/carousel.cjs +1 -1
  490. package/dist/packages/ui/src/components/carousel.mjs +1 -1
  491. package/dist/packages/ui/src/components/checkbox.cjs +1 -1
  492. package/dist/packages/ui/src/components/checkbox.mjs +1 -1
  493. package/dist/packages/ui/src/components/date-picker.cjs +1 -1
  494. package/dist/packages/ui/src/components/date-picker.mjs +1 -1
  495. package/dist/packages/ui/src/components/dropdown-menu.cjs +6 -6
  496. package/dist/packages/ui/src/components/dropdown-menu.mjs +7 -7
  497. package/dist/packages/ui/src/components/form-builder/canvas.cjs +2 -2
  498. package/dist/packages/ui/src/components/form-builder/canvas.mjs +2 -2
  499. package/dist/packages/ui/src/components/form-builder/components/index.mjs +1 -1
  500. package/dist/packages/ui/src/components/form-builder/form-preview.cjs +1 -1
  501. package/dist/packages/ui/src/components/form-builder/form-preview.mjs +1 -1
  502. package/dist/packages/ui/src/components/form-builder/index.cjs +2 -5
  503. package/dist/packages/ui/src/components/form-builder/index.mjs +3 -3
  504. package/dist/packages/ui/src/components/form-builder/nested-field-editor-dialog.cjs +3 -3
  505. package/dist/packages/ui/src/components/form-builder/nested-field-editor-dialog.mjs +3 -3
  506. package/dist/packages/ui/src/components/form-builder/palette.cjs +1 -1
  507. package/dist/packages/ui/src/components/form-builder/palette.mjs +1 -1
  508. package/dist/packages/ui/src/components/form-builder/sortable-field.cjs +2 -2
  509. package/dist/packages/ui/src/components/form-builder/sortable-field.mjs +2 -2
  510. package/dist/packages/ui/src/components/kanban.cjs +3 -3
  511. package/dist/packages/ui/src/components/kanban.mjs +3 -3
  512. package/dist/packages/ui/src/components/markdown-content.mjs +1 -1
  513. package/dist/packages/ui/src/components/minimal-tiptap/components/bubble-menu/link-bubble-menu.cjs +1 -1
  514. package/dist/packages/ui/src/components/minimal-tiptap/components/bubble-menu/link-bubble-menu.mjs +1 -1
  515. package/dist/packages/ui/src/components/minimal-tiptap/components/image/image-edit-block.cjs +0 -3
  516. package/dist/packages/ui/src/components/minimal-tiptap/components/image/image-edit-block.mjs +1 -1
  517. package/dist/packages/ui/src/components/minimal-tiptap/components/image/image-edit-dialog.cjs +1 -1
  518. package/dist/packages/ui/src/components/minimal-tiptap/components/image/image-edit-dialog.mjs +1 -1
  519. package/dist/packages/ui/src/components/minimal-tiptap/components/link/link-edit-block.cjs +0 -3
  520. package/dist/packages/ui/src/components/minimal-tiptap/components/link/link-edit-block.mjs +1 -1
  521. package/dist/packages/ui/src/components/minimal-tiptap/components/link/link-edit-popover.cjs +1 -1
  522. package/dist/packages/ui/src/components/minimal-tiptap/components/link/link-edit-popover.mjs +1 -1
  523. package/dist/packages/ui/src/components/minimal-tiptap/components/link/link-popover-block.cjs +1 -1
  524. package/dist/packages/ui/src/components/minimal-tiptap/components/link/link-popover-block.mjs +1 -1
  525. package/dist/packages/ui/src/components/minimal-tiptap/components/section/five.cjs +1 -4
  526. package/dist/packages/ui/src/components/minimal-tiptap/components/section/five.mjs +2 -2
  527. package/dist/packages/ui/src/components/minimal-tiptap/components/section/four.cjs +1 -4
  528. package/dist/packages/ui/src/components/minimal-tiptap/components/section/four.mjs +2 -2
  529. package/dist/packages/ui/src/components/minimal-tiptap/components/section/one.cjs +1 -4
  530. package/dist/packages/ui/src/components/minimal-tiptap/components/section/one.mjs +2 -2
  531. package/dist/packages/ui/src/components/minimal-tiptap/components/section/three.cjs +1 -4
  532. package/dist/packages/ui/src/components/minimal-tiptap/components/section/three.mjs +2 -2
  533. package/dist/packages/ui/src/components/minimal-tiptap/components/section/two.cjs +1 -4
  534. package/dist/packages/ui/src/components/minimal-tiptap/components/section/two.mjs +2 -2
  535. package/dist/packages/ui/src/components/minimal-tiptap/components/toolbar-button.cjs +0 -3
  536. package/dist/packages/ui/src/components/minimal-tiptap/components/toolbar-button.mjs +1 -1
  537. package/dist/packages/ui/src/components/minimal-tiptap/components/toolbar-section.cjs +1 -4
  538. package/dist/packages/ui/src/components/minimal-tiptap/components/toolbar-section.mjs +2 -2
  539. package/dist/packages/ui/src/components/minimal-tiptap/extensions/code-block-lowlight/code-block-lowlight.cjs +2 -4
  540. package/dist/packages/ui/src/components/minimal-tiptap/extensions/code-block-lowlight/code-block-lowlight.mjs +3 -2
  541. package/dist/packages/ui/src/components/minimal-tiptap/extensions/color/color.cjs +1 -1
  542. package/dist/packages/ui/src/components/minimal-tiptap/extensions/color/color.mjs +1 -1
  543. package/dist/packages/ui/src/components/minimal-tiptap/extensions/file-handler/index.cjs +1 -1
  544. package/dist/packages/ui/src/components/minimal-tiptap/extensions/file-handler/index.mjs +1 -1
  545. package/dist/packages/ui/src/components/minimal-tiptap/extensions/horizontal-rule/horizontal-rule.cjs +1 -4
  546. package/dist/packages/ui/src/components/minimal-tiptap/extensions/horizontal-rule/horizontal-rule.mjs +2 -2
  547. package/dist/packages/ui/src/components/minimal-tiptap/extensions/image/components/image-actions.cjs +1 -1
  548. package/dist/packages/ui/src/components/minimal-tiptap/extensions/image/components/image-actions.mjs +1 -1
  549. package/dist/packages/ui/src/components/minimal-tiptap/extensions/image/components/image-view-block.cjs +4 -4
  550. package/dist/packages/ui/src/components/minimal-tiptap/extensions/image/components/image-view-block.mjs +3 -3
  551. package/dist/packages/ui/src/components/minimal-tiptap/extensions/image/image.cjs +3 -3
  552. package/dist/packages/ui/src/components/minimal-tiptap/extensions/image/image.mjs +3 -3
  553. package/dist/packages/ui/src/components/minimal-tiptap/extensions/markdown-paste/markdown-paste.cjs +1 -4
  554. package/dist/packages/ui/src/components/minimal-tiptap/extensions/markdown-paste/markdown-paste.mjs +2 -2
  555. package/dist/packages/ui/src/components/minimal-tiptap/extensions/reset-marks-on-enter/reset-marks-on-enter.cjs +1 -1
  556. package/dist/packages/ui/src/components/minimal-tiptap/extensions/reset-marks-on-enter/reset-marks-on-enter.mjs +1 -1
  557. package/dist/packages/ui/src/components/minimal-tiptap/extensions/unset-all-marks/unset-all-marks.cjs +1 -1
  558. package/dist/packages/ui/src/components/minimal-tiptap/extensions/unset-all-marks/unset-all-marks.mjs +1 -1
  559. package/dist/packages/ui/src/components/minimal-tiptap/hooks/use-minimal-tiptap.cjs +15 -18
  560. package/dist/packages/ui/src/components/minimal-tiptap/hooks/use-minimal-tiptap.mjs +9 -9
  561. package/dist/packages/ui/src/components/minimal-tiptap/hooks/use-theme.cjs +0 -3
  562. package/dist/packages/ui/src/components/minimal-tiptap/hooks/use-theme.mjs +1 -1
  563. package/dist/packages/ui/src/components/minimal-tiptap/hooks/use-tiptap-editor.cjs +1 -1
  564. package/dist/packages/ui/src/components/minimal-tiptap/hooks/use-tiptap-editor.mjs +1 -1
  565. package/dist/packages/ui/src/components/minimal-tiptap/minimal-tiptap.cjs +1 -4
  566. package/dist/packages/ui/src/components/minimal-tiptap/minimal-tiptap.mjs +2 -2
  567. package/dist/packages/ui/src/components/popover.cjs +4 -4
  568. package/dist/packages/ui/src/components/popover.mjs +5 -5
  569. package/dist/packages/ui/src/components/radio-group.cjs +2 -2
  570. package/dist/packages/ui/src/components/radio-group.mjs +4 -4
  571. package/dist/packages/ui/src/components/resizable.cjs +1 -1
  572. package/dist/packages/ui/src/components/resizable.mjs +1 -1
  573. package/dist/packages/ui/src/components/scroll-area.cjs +2 -2
  574. package/dist/packages/ui/src/components/scroll-area.mjs +4 -4
  575. package/dist/packages/ui/src/components/search-select.cjs +1 -1
  576. package/dist/packages/ui/src/components/search-select.mjs +2 -2
  577. package/dist/packages/ui/src/components/select.cjs +4 -4
  578. package/dist/packages/ui/src/components/select.mjs +13 -13
  579. package/dist/packages/ui/src/components/separator.cjs +1 -1
  580. package/dist/packages/ui/src/components/separator.mjs +2 -2
  581. package/dist/packages/ui/src/components/sonner.cjs +1 -1
  582. package/dist/packages/ui/src/components/sonner.mjs +1 -1
  583. package/dist/packages/ui/src/components/tabs.cjs +2 -2
  584. package/dist/packages/ui/src/components/tabs.mjs +5 -5
  585. package/dist/packages/ui/src/components/toggle-group.cjs +1 -1
  586. package/dist/packages/ui/src/components/toggle-group.mjs +3 -3
  587. package/dist/packages/ui/src/components/toggle.cjs +1 -1
  588. package/dist/packages/ui/src/components/toggle.mjs +2 -2
  589. package/dist/packages/ui/src/components/tooltip.cjs +2 -2
  590. package/dist/packages/ui/src/components/tooltip.mjs +7 -7
  591. package/dist/packages/ui/src/components/ui-builder/components/codeblock.cjs +1 -1
  592. package/dist/packages/ui/src/components/ui-builder/components/codeblock.mjs +1 -1
  593. package/dist/packages/ui/src/components/ui-builder/index.cjs +1 -1
  594. package/dist/packages/ui/src/components/ui-builder/index.mjs +1 -1
  595. package/dist/packages/ui/src/components/ui-builder/internal/canvas/auto-frame.mjs +1 -1
  596. package/dist/packages/ui/src/components/ui-builder/internal/canvas/resizable-wrapper.cjs +1 -1
  597. package/dist/packages/ui/src/components/ui-builder/internal/canvas/resizable-wrapper.mjs +1 -1
  598. package/dist/packages/ui/src/components/ui-builder/internal/components/add-component-popover.mjs +3 -3
  599. package/dist/packages/ui/src/components/ui-builder/internal/components/element-selector.cjs +5 -5
  600. package/dist/packages/ui/src/components/ui-builder/internal/components/element-selector.mjs +5 -5
  601. package/dist/packages/ui/src/components/ui-builder/internal/components/layer-context-menu-portal.cjs +3 -3
  602. package/dist/packages/ui/src/components/ui-builder/internal/components/layer-context-menu-portal.mjs +3 -3
  603. package/dist/packages/ui/src/components/ui-builder/internal/components/nav.cjs +2 -2
  604. package/dist/packages/ui/src/components/ui-builder/internal/components/nav.mjs +2 -2
  605. package/dist/packages/ui/src/components/ui-builder/internal/config-panel.cjs +0 -3
  606. package/dist/packages/ui/src/components/ui-builder/internal/config-panel.mjs +1 -1
  607. package/dist/packages/ui/src/components/ui-builder/internal/dnd/drag-handle.cjs +2 -2
  608. package/dist/packages/ui/src/components/ui-builder/internal/dnd/drag-handle.mjs +2 -2
  609. package/dist/packages/ui/src/components/ui-builder/internal/dnd/draggable-new-component.cjs +1 -4
  610. package/dist/packages/ui/src/components/ui-builder/internal/dnd/draggable-new-component.mjs +2 -2
  611. package/dist/packages/ui/src/components/ui-builder/internal/dnd/drop-zone.cjs +1 -1
  612. package/dist/packages/ui/src/components/ui-builder/internal/dnd/drop-zone.mjs +1 -1
  613. package/dist/packages/ui/src/components/ui-builder/internal/editor-panel.cjs +1 -1
  614. package/dist/packages/ui/src/components/ui-builder/internal/editor-panel.mjs +1 -1
  615. package/dist/packages/ui/src/components/ui-builder/internal/layers-panel.cjs +1 -1
  616. package/dist/packages/ui/src/components/ui-builder/internal/layers-panel.mjs +2 -2
  617. package/dist/packages/ui/src/components/ui-builder/internal/props-panel.mjs +1 -1
  618. package/dist/packages/ui/src/components/ui-builder/internal/utils/render-utils.cjs +1 -1
  619. package/dist/packages/ui/src/components/ui-builder/internal/utils/render-utils.mjs +1 -1
  620. package/dist/packages/ui/src/lib/ui-builder/context/dnd-context-colission-utils.cjs +1 -1
  621. package/dist/packages/ui/src/lib/ui-builder/context/dnd-context-colission-utils.mjs +1 -1
  622. package/dist/packages/ui/src/lib/ui-builder/context/dnd-context.cjs +1 -1
  623. package/dist/packages/ui/src/lib/ui-builder/context/dnd-context.mjs +1 -1
  624. package/dist/packages/ui/src/lib/ui-builder/context/dnd-contexts.mjs +1 -1
  625. package/dist/packages/ui/src/lib/ui-builder/context/drag-overlay.cjs +1 -1
  626. package/dist/packages/ui/src/lib/ui-builder/context/drag-overlay.mjs +1 -1
  627. package/dist/packages/ui/src/lib/ui-builder/hooks/use-auto-scroll.mjs +1 -1
  628. package/dist/packages/ui/src/lib/ui-builder/hooks/use-dnd-sensors.cjs +1 -1
  629. package/dist/packages/ui/src/lib/ui-builder/hooks/use-dnd-sensors.mjs +1 -1
  630. package/dist/packages/ui/src/lib/ui-builder/store/editor-store.cjs +1 -1
  631. package/dist/packages/ui/src/lib/ui-builder/store/editor-store.mjs +1 -1
  632. package/dist/packages/ui/src/lib/ui-builder/store/layer-store.cjs +4 -4
  633. package/dist/packages/ui/src/lib/ui-builder/store/layer-store.mjs +4 -4
  634. package/dist/plugins/ai-chat/api/index.cjs +2 -2
  635. package/dist/plugins/ai-chat/api/index.d.cts +2 -2
  636. package/dist/plugins/ai-chat/api/index.d.mts +2 -2
  637. package/dist/plugins/ai-chat/api/index.d.ts +2 -2
  638. package/dist/plugins/ai-chat/api/index.mjs +1 -1
  639. package/dist/plugins/ai-chat/client/components/index.d.cts +8 -9
  640. package/dist/plugins/ai-chat/client/components/index.d.mts +8 -9
  641. package/dist/plugins/ai-chat/client/components/index.d.ts +8 -9
  642. package/dist/plugins/ai-chat/client/context/page-ai-context.d.cts +3 -4
  643. package/dist/plugins/ai-chat/client/context/page-ai-context.d.mts +3 -4
  644. package/dist/plugins/ai-chat/client/context/page-ai-context.d.ts +3 -4
  645. package/dist/plugins/ai-chat/client/hooks/index.d.cts +3 -2
  646. package/dist/plugins/ai-chat/client/hooks/index.d.mts +3 -2
  647. package/dist/plugins/ai-chat/client/hooks/index.d.ts +3 -2
  648. package/dist/plugins/ai-chat/client/index.d.cts +6 -5
  649. package/dist/plugins/ai-chat/client/index.d.mts +6 -5
  650. package/dist/plugins/ai-chat/client/index.d.ts +6 -5
  651. package/dist/plugins/ai-chat/query-keys.d.cts +1 -1
  652. package/dist/plugins/ai-chat/query-keys.d.mts +1 -1
  653. package/dist/plugins/ai-chat/query-keys.d.ts +1 -1
  654. package/dist/plugins/api/index.d.cts +2 -2
  655. package/dist/plugins/api/index.d.mts +2 -2
  656. package/dist/plugins/api/index.d.ts +2 -2
  657. package/dist/plugins/blog/api/index.cjs +2 -2
  658. package/dist/plugins/blog/api/index.d.cts +1 -1
  659. package/dist/plugins/blog/api/index.d.mts +1 -1
  660. package/dist/plugins/blog/api/index.d.ts +1 -1
  661. package/dist/plugins/blog/api/index.mjs +1 -1
  662. package/dist/plugins/blog/client/components/index.d.cts +12 -12
  663. package/dist/plugins/blog/client/components/index.d.mts +12 -12
  664. package/dist/plugins/blog/client/components/index.d.ts +12 -12
  665. package/dist/plugins/blog/client/hooks/index.d.cts +1 -1
  666. package/dist/plugins/blog/client/hooks/index.d.mts +1 -1
  667. package/dist/plugins/blog/client/hooks/index.d.ts +1 -1
  668. package/dist/plugins/blog/client/index.d.cts +8 -8
  669. package/dist/plugins/blog/client/index.d.mts +8 -8
  670. package/dist/plugins/blog/client/index.d.ts +8 -8
  671. package/dist/plugins/blog/client/pages/post.d.cts +2 -2
  672. package/dist/plugins/blog/client/pages/post.d.mts +2 -2
  673. package/dist/plugins/blog/client/pages/post.d.ts +2 -2
  674. package/dist/plugins/blog/client/pages/posts.d.cts +2 -2
  675. package/dist/plugins/blog/client/pages/posts.d.mts +2 -2
  676. package/dist/plugins/blog/client/pages/posts.d.ts +2 -2
  677. package/dist/plugins/blog/client/pages/tag.d.cts +2 -2
  678. package/dist/plugins/blog/client/pages/tag.d.mts +2 -2
  679. package/dist/plugins/blog/client/pages/tag.d.ts +2 -2
  680. package/dist/plugins/blog/query-keys.d.cts +1 -1
  681. package/dist/plugins/blog/query-keys.d.mts +1 -1
  682. package/dist/plugins/blog/query-keys.d.ts +1 -1
  683. package/dist/plugins/client/hooks/index.d.cts +1 -1
  684. package/dist/plugins/client/hooks/index.d.mts +1 -1
  685. package/dist/plugins/client/hooks/index.d.ts +1 -1
  686. package/dist/plugins/client/index.d.cts +3 -3
  687. package/dist/plugins/client/index.d.mts +3 -3
  688. package/dist/plugins/client/index.d.ts +3 -3
  689. package/dist/plugins/cms/api/index.cjs +1 -0
  690. package/dist/plugins/cms/api/index.d.cts +43 -11
  691. package/dist/plugins/cms/api/index.d.mts +43 -11
  692. package/dist/plugins/cms/api/index.d.ts +43 -11
  693. package/dist/plugins/cms/api/index.mjs +1 -1
  694. package/dist/plugins/cms/client/components/index.d.cts +4 -4
  695. package/dist/plugins/cms/client/components/index.d.mts +4 -4
  696. package/dist/plugins/cms/client/components/index.d.ts +4 -4
  697. package/dist/plugins/cms/client/hooks/index.d.cts +90 -45
  698. package/dist/plugins/cms/client/hooks/index.d.mts +90 -45
  699. package/dist/plugins/cms/client/hooks/index.d.ts +90 -45
  700. package/dist/plugins/cms/client/index.d.cts +11 -11
  701. package/dist/plugins/cms/client/index.d.mts +11 -11
  702. package/dist/plugins/cms/client/index.d.ts +11 -11
  703. package/dist/plugins/cms/query-keys.cjs +69 -13
  704. package/dist/plugins/cms/query-keys.d.cts +90 -212
  705. package/dist/plugins/cms/query-keys.d.mts +90 -212
  706. package/dist/plugins/cms/query-keys.d.ts +90 -212
  707. package/dist/plugins/cms/query-keys.mjs +70 -14
  708. package/dist/plugins/comments/api/index.d.cts +3 -3
  709. package/dist/plugins/comments/api/index.d.mts +3 -3
  710. package/dist/plugins/comments/api/index.d.ts +3 -3
  711. package/dist/plugins/comments/client/components/index.d.cts +7 -7
  712. package/dist/plugins/comments/client/components/index.d.mts +7 -7
  713. package/dist/plugins/comments/client/components/index.d.ts +7 -7
  714. package/dist/plugins/comments/client/hooks/index.d.cts +1 -1
  715. package/dist/plugins/comments/client/hooks/index.d.mts +1 -1
  716. package/dist/plugins/comments/client/hooks/index.d.ts +1 -1
  717. package/dist/plugins/comments/client/index.d.cts +7 -7
  718. package/dist/plugins/comments/client/index.d.mts +7 -7
  719. package/dist/plugins/comments/client/index.d.ts +7 -7
  720. package/dist/plugins/comments/query-keys.d.cts +2 -1
  721. package/dist/plugins/comments/query-keys.d.mts +2 -1
  722. package/dist/plugins/comments/query-keys.d.ts +2 -1
  723. package/dist/plugins/form-builder/api/index.d.cts +3 -3
  724. package/dist/plugins/form-builder/api/index.d.mts +3 -3
  725. package/dist/plugins/form-builder/api/index.d.ts +3 -3
  726. package/dist/plugins/form-builder/client/components/index.cjs +2 -2
  727. package/dist/plugins/form-builder/client/components/index.d.cts +13 -13
  728. package/dist/plugins/form-builder/client/components/index.d.mts +13 -13
  729. package/dist/plugins/form-builder/client/components/index.d.ts +13 -13
  730. package/dist/plugins/form-builder/client/components/index.mjs +1 -1
  731. package/dist/plugins/form-builder/client/hooks/index.d.cts +3 -2
  732. package/dist/plugins/form-builder/client/hooks/index.d.mts +3 -2
  733. package/dist/plugins/form-builder/client/hooks/index.d.ts +3 -2
  734. package/dist/plugins/form-builder/client/index.d.cts +8 -9
  735. package/dist/plugins/form-builder/client/index.d.mts +8 -9
  736. package/dist/plugins/form-builder/client/index.d.ts +8 -9
  737. package/dist/plugins/form-builder/query-keys.d.cts +3 -2
  738. package/dist/plugins/form-builder/query-keys.d.mts +3 -2
  739. package/dist/plugins/form-builder/query-keys.d.ts +3 -2
  740. package/dist/plugins/kanban/api/index.d.cts +3 -3
  741. package/dist/plugins/kanban/api/index.d.mts +3 -3
  742. package/dist/plugins/kanban/api/index.d.ts +3 -3
  743. package/dist/plugins/kanban/client/components/index.cjs +2 -2
  744. package/dist/plugins/kanban/client/components/index.d.cts +19 -20
  745. package/dist/plugins/kanban/client/components/index.d.mts +19 -20
  746. package/dist/plugins/kanban/client/components/index.d.ts +19 -20
  747. package/dist/plugins/kanban/client/components/index.mjs +1 -1
  748. package/dist/plugins/kanban/client/hooks/index.d.cts +4 -3
  749. package/dist/plugins/kanban/client/hooks/index.d.mts +4 -3
  750. package/dist/plugins/kanban/client/hooks/index.d.ts +4 -3
  751. package/dist/plugins/kanban/client/index.d.cts +11 -11
  752. package/dist/plugins/kanban/client/index.d.mts +11 -11
  753. package/dist/plugins/kanban/client/index.d.ts +11 -11
  754. package/dist/plugins/kanban/query-keys.d.cts +4 -2
  755. package/dist/plugins/kanban/query-keys.d.mts +4 -2
  756. package/dist/plugins/kanban/query-keys.d.ts +4 -2
  757. package/dist/plugins/media/api/adapters/local.cjs +3 -3
  758. package/dist/plugins/media/api/adapters/local.d.cts +1 -1
  759. package/dist/plugins/media/api/adapters/local.d.mts +1 -1
  760. package/dist/plugins/media/api/adapters/local.d.ts +1 -1
  761. package/dist/plugins/media/api/adapters/local.mjs +2 -2
  762. package/dist/plugins/media/api/adapters/s3.d.cts +1 -1
  763. package/dist/plugins/media/api/adapters/s3.d.mts +1 -1
  764. package/dist/plugins/media/api/adapters/s3.d.ts +1 -1
  765. package/dist/plugins/media/api/adapters/vercel-blob.d.cts +1 -1
  766. package/dist/plugins/media/api/adapters/vercel-blob.d.mts +1 -1
  767. package/dist/plugins/media/api/adapters/vercel-blob.d.ts +1 -1
  768. package/dist/plugins/media/api/index.d.cts +3 -3
  769. package/dist/plugins/media/api/index.d.mts +3 -3
  770. package/dist/plugins/media/api/index.d.ts +3 -3
  771. package/dist/plugins/media/client/components/index.d.cts +4 -4
  772. package/dist/plugins/media/client/components/index.d.mts +4 -4
  773. package/dist/plugins/media/client/components/index.d.ts +4 -4
  774. package/dist/plugins/media/client/hooks/index.d.cts +5 -5
  775. package/dist/plugins/media/client/hooks/index.d.mts +5 -5
  776. package/dist/plugins/media/client/hooks/index.d.ts +5 -5
  777. package/dist/plugins/media/client/index.d.cts +4 -5
  778. package/dist/plugins/media/client/index.d.mts +4 -5
  779. package/dist/plugins/media/client/index.d.ts +4 -5
  780. package/dist/plugins/media/query-keys.d.cts +4 -3
  781. package/dist/plugins/media/query-keys.d.mts +4 -3
  782. package/dist/plugins/media/query-keys.d.ts +4 -3
  783. package/dist/plugins/open-api/api/index.d.cts +1 -1
  784. package/dist/plugins/open-api/api/index.d.mts +1 -1
  785. package/dist/plugins/open-api/api/index.d.ts +1 -1
  786. package/dist/plugins/route-docs/client/index.d.cts +7 -7
  787. package/dist/plugins/route-docs/client/index.d.mts +7 -7
  788. package/dist/plugins/route-docs/client/index.d.ts +7 -7
  789. package/dist/plugins/ui-builder/client/components/index.d.cts +6 -5
  790. package/dist/plugins/ui-builder/client/components/index.d.mts +6 -5
  791. package/dist/plugins/ui-builder/client/components/index.d.ts +6 -5
  792. package/dist/plugins/ui-builder/client/hooks/index.d.cts +5 -6
  793. package/dist/plugins/ui-builder/client/hooks/index.d.mts +5 -6
  794. package/dist/plugins/ui-builder/client/hooks/index.d.ts +5 -6
  795. package/dist/plugins/ui-builder/client/index.d.cts +23 -23
  796. package/dist/plugins/ui-builder/client/index.d.mts +23 -23
  797. package/dist/plugins/ui-builder/client/index.d.ts +23 -23
  798. package/dist/plugins/ui-builder/index.d.cts +4 -5
  799. package/dist/plugins/ui-builder/index.d.mts +4 -5
  800. package/dist/plugins/ui-builder/index.d.ts +4 -5
  801. package/dist/plugins/ui-builder/query-keys.d.cts +7 -6
  802. package/dist/plugins/ui-builder/query-keys.d.mts +7 -6
  803. package/dist/plugins/ui-builder/query-keys.d.ts +7 -6
  804. package/dist/react-router/index.d.cts +7 -6
  805. package/dist/react-router/index.d.mts +7 -6
  806. package/dist/react-router/index.d.ts +7 -6
  807. package/dist/shared/stack.29zv4pIu.d.cts +250 -0
  808. package/dist/shared/stack.29zv4pIu.d.mts +250 -0
  809. package/dist/shared/stack.29zv4pIu.d.ts +250 -0
  810. package/dist/shared/stack.611-G_G_.d.cts +65 -0
  811. package/dist/shared/stack.611-G_G_.d.mts +65 -0
  812. package/dist/shared/stack.611-G_G_.d.ts +65 -0
  813. package/dist/shared/stack.8By8qKPz.d.cts +148 -0
  814. package/dist/shared/stack.8By8qKPz.d.mts +148 -0
  815. package/dist/shared/stack.8By8qKPz.d.ts +148 -0
  816. package/dist/shared/stack.B0SKgE_M.d.ts +707 -0
  817. package/dist/shared/stack.B2jlVVhD.d.mts +248 -0
  818. package/dist/shared/stack.B4bjgdj0.d.cts +75 -0
  819. package/dist/shared/stack.BB9tubJJ.d.ts +619 -0
  820. package/dist/shared/stack.BGITA2tR.d.cts +5 -0
  821. package/dist/shared/stack.BGITA2tR.d.mts +5 -0
  822. package/dist/shared/stack.BGITA2tR.d.ts +5 -0
  823. package/dist/shared/stack.BIqpKxdg.d.mts +351 -0
  824. package/dist/shared/stack.BWduIMKG.d.cts +1184 -0
  825. package/dist/shared/stack.BtPARxVB.d.mts +539 -0
  826. package/dist/shared/stack.BvScfXNV.d.cts +425 -0
  827. package/dist/shared/stack.Bw09Lg2z.d.ts +1420 -0
  828. package/dist/shared/stack.C0k6F4FE.d.ts +118 -0
  829. package/dist/shared/stack.C2Pvl-RS.d.mts +619 -0
  830. package/dist/shared/stack.CGNR93ov.d.mts +215 -0
  831. package/dist/shared/stack.CJKwq4f4.d.ts +408 -0
  832. package/dist/shared/stack.CPWAjBMS.d.mts +533 -0
  833. package/dist/shared/stack.C_M5E2GI.d.cts +5 -0
  834. package/dist/shared/stack.C_M5E2GI.d.mts +5 -0
  835. package/dist/shared/stack.C_M5E2GI.d.ts +5 -0
  836. package/dist/shared/stack.CbrKVhym.d.cts +117 -0
  837. package/dist/shared/stack.CbrKVhym.d.mts +117 -0
  838. package/dist/shared/stack.CbrKVhym.d.ts +117 -0
  839. package/dist/shared/stack.Ch9-ppmQ.d.ts +1184 -0
  840. package/dist/shared/stack.CoRAvur1.d.ts +331 -0
  841. package/dist/shared/stack.CyetYoMl.d.ts +533 -0
  842. package/dist/shared/stack.D17yFglU.d.cts +248 -0
  843. package/dist/shared/stack.D1xZ8jQs.d.cts +331 -0
  844. package/dist/shared/stack.D26sFqSV.d.cts +44 -0
  845. package/dist/shared/stack.D26sFqSV.d.mts +44 -0
  846. package/dist/shared/stack.D26sFqSV.d.ts +44 -0
  847. package/dist/shared/stack.D3F7whdW.d.cts +707 -0
  848. package/dist/shared/stack.D4iBIjk6.d.mts +436 -0
  849. package/dist/shared/stack.D6fPBfYe.d.mts +1184 -0
  850. package/dist/shared/stack.D7R2rXmX.d.mts +118 -0
  851. package/dist/shared/stack.DA5isGwz.d.cts +5 -0
  852. package/dist/shared/stack.DA5isGwz.d.mts +5 -0
  853. package/dist/shared/stack.DA5isGwz.d.ts +5 -0
  854. package/dist/shared/stack.DDbN5AEo.d.cts +408 -0
  855. package/dist/shared/stack.DDsVU85b.d.ts +215 -0
  856. package/dist/shared/stack.DFGj0gb7.d.mts +1420 -0
  857. package/dist/shared/stack.DJZaL4Ez.d.cts +351 -0
  858. package/dist/shared/stack.DMT5a6QX.d.mts +331 -0
  859. package/dist/shared/stack.DN5Pefk4.d.cts +436 -0
  860. package/dist/shared/stack.Dcfg4GNN.d.ts +248 -0
  861. package/dist/shared/stack.Dda1_xQ7.d.mts +425 -0
  862. package/dist/shared/stack.DkS7Ep5O.d.cts +215 -0
  863. package/dist/shared/stack.DlMUJW4X.d.ts +351 -0
  864. package/dist/shared/stack.DqHumKbl.d.cts +118 -0
  865. package/dist/shared/stack.DrB3L7Ih.d.cts +330 -0
  866. package/dist/shared/stack.DrB3L7Ih.d.mts +330 -0
  867. package/dist/shared/stack.DrB3L7Ih.d.ts +330 -0
  868. package/dist/shared/stack.Dv_IYqqI.d.ts +75 -0
  869. package/dist/shared/stack.DwYPRuWC.d.cts +7 -0
  870. package/dist/shared/stack.DwYPRuWC.d.mts +7 -0
  871. package/dist/shared/stack.DwYPRuWC.d.ts +7 -0
  872. package/dist/shared/stack.IWIKQJ2Z.d.mts +707 -0
  873. package/dist/shared/stack.KnyMi5xW.d.cts +5 -0
  874. package/dist/shared/stack.KnyMi5xW.d.mts +5 -0
  875. package/dist/shared/stack.KnyMi5xW.d.ts +5 -0
  876. package/dist/shared/stack.L3nY6Shv.d.ts +436 -0
  877. package/dist/shared/stack.NNrBKBkM.d.cts +1420 -0
  878. package/dist/shared/stack.Rb87lHqK.d.cts +619 -0
  879. package/dist/shared/stack.SHdEmyr1.d.mts +75 -0
  880. package/dist/shared/stack.SLfCDhpo.d.cts +539 -0
  881. package/dist/shared/stack.TOEmfBQ4.d.cts +291 -0
  882. package/dist/shared/stack.TOEmfBQ4.d.mts +291 -0
  883. package/dist/shared/stack.TOEmfBQ4.d.ts +291 -0
  884. package/dist/shared/stack.ldGLEWx0.d.ts +539 -0
  885. package/dist/shared/stack.rnzek-35.d.cts +533 -0
  886. package/dist/shared/stack.tuysG0r-.d.mts +408 -0
  887. package/dist/shared/stack.y7TTw1We.d.ts +425 -0
  888. package/dist/tanstack/index.d.cts +5 -5
  889. package/dist/tanstack/index.d.mts +5 -5
  890. package/dist/tanstack/index.d.ts +5 -5
  891. package/package.json +22 -22
  892. package/src/__tests__/cms-query-keys.test.ts +57 -0
  893. package/src/__tests__/package-metadata.test.ts +4 -4
  894. package/src/__tests__/resource-factory.test.tsx +1 -1
  895. package/src/__tests__/resource-use-form.test.tsx +7 -6
  896. package/src/__tests__/resource-use-select.test.tsx +3 -2
  897. package/src/plugins/ai-chat/__tests__/authorization.test.ts +14 -6
  898. package/src/plugins/ai-chat/__tests__/client-sweep.test.tsx +2 -2
  899. package/src/plugins/ai-chat/__tests__/compaction.test.ts +205 -13
  900. package/src/plugins/ai-chat/__tests__/hooks.test.tsx +3 -3
  901. package/src/plugins/ai-chat/__tests__/page-content.test.ts +35 -9
  902. package/src/plugins/ai-chat/__tests__/persisted-compaction.test.ts +57 -13
  903. package/src/plugins/ai-chat/__tests__/streaming.test.ts +124 -0
  904. package/src/plugins/ai-chat/api/compaction.ts +32 -18
  905. package/src/plugins/ai-chat/api/operations.ts +22 -11
  906. package/src/plugins/ai-chat/api/page-tools.ts +3 -1
  907. package/src/plugins/ai-chat/client/components/chat-interface.tsx +1 -1
  908. package/src/plugins/ai-chat/client/components/chat-message.tsx +1 -1
  909. package/src/plugins/ai-chat/client/components/tool-call-display.tsx +25 -5
  910. package/src/plugins/ai-chat/client/localization/index.ts +6 -0
  911. package/src/plugins/ai-chat/client/overrides.ts +4 -1
  912. package/src/plugins/api/index.ts +1 -0
  913. package/src/plugins/api/operation.ts +16 -3
  914. package/src/plugins/blog/client/components/forms/markdown-editor.tsx +6 -0
  915. package/src/plugins/cms/__tests__/authorization.test.ts +652 -187
  916. package/src/plugins/cms/__tests__/client-runtime.browser.test.tsx +655 -0
  917. package/src/plugins/cms/__tests__/content-read.typecheck.ts +351 -0
  918. package/src/plugins/cms/__tests__/getters.test.ts +286 -0
  919. package/src/plugins/cms/api/getters.ts +270 -12
  920. package/src/plugins/cms/api/index.ts +10 -0
  921. package/src/plugins/cms/api/operations.ts +163 -75
  922. package/src/plugins/cms/api/plugin.ts +50 -12
  923. package/src/plugins/cms/api/query-key-defs.ts +29 -2
  924. package/src/plugins/cms/client/hooks/cms-hooks.tsx +400 -91
  925. package/src/plugins/cms/client/index.ts +9 -0
  926. package/src/plugins/cms/query-keys.ts +171 -16
  927. package/src/plugins/cms/schemas.ts +30 -0
  928. package/src/plugins/cms/types.ts +49 -2
  929. package/src/plugins/comments/__tests__/client-sweep.test.tsx +4 -4
  930. package/src/plugins/form-builder/__tests__/client-sweep.test.tsx +4 -4
  931. package/src/plugins/kanban/__tests__/getters.test.ts +1 -0
  932. package/src/plugins/media/__tests__/identity-partition.test.tsx +26 -16
  933. package/src/plugins/media/__tests__/storage-adapters.test.ts +9 -9
  934. package/src/plugins/media/client/components/media-picker/index.tsx +2 -1
  935. package/src/plugins/ui-builder/__tests__/client-sweep.test.tsx +2 -2
  936. package/src/react-router/router.tsx +1 -1
  937. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +0 -16
  938. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +0 -14
  939. package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/mini.cjs +0 -237
  940. package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/mini.mjs +0 -235
  941. package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/tzOffset/index.cjs +0 -46
  942. package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/tzOffset/index.mjs +0 -44
  943. package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@dnd-kit/core/dist/core.esm.cjs +0 -3999
  944. package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@dnd-kit/core/dist/core.esm.mjs +0 -3968
  945. package/dist/node_modules/.pnpm/@dnd-kit_modifiers@9.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.7_react@19.2.7__react@19.2.7__react@19.2.7/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.cjs +0 -30
  946. package/dist/node_modules/.pnpm/@dnd-kit_modifiers@9.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.7_react@19.2.7__react@19.2.7__react@19.2.7/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.mjs +0 -28
  947. package/dist/node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.7_react@19.2.7__react@19.2.7__react@19.2.7/node_modules/@dnd-kit/sortable/dist/sortable.esm.cjs +0 -752
  948. package/dist/node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.7_react@19.2.7__react@19.2.7__react@19.2.7/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs +0 -737
  949. package/dist/node_modules/.pnpm/@dnd-kit_utilities@3.2.2_react@19.2.7/node_modules/@dnd-kit/utilities/dist/utilities.esm.mjs +0 -332
  950. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +0 -1070
  951. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +0 -1057
  952. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +0 -784
  953. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +0 -770
  954. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +0 -402
  955. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +0 -377
  956. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.cjs +0 -269
  957. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.mjs +0 -243
  958. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +0 -161
  959. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +0 -186
  960. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +0 -165
  961. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +0 -136
  962. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.1/node_modules/@radix-ui/number/dist/index.cjs +0 -8
  963. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.1/node_modules/@radix-ui/number/dist/index.mjs +0 -6
  964. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.cjs +0 -13
  965. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.mjs +0 -11
  966. package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1.2.12_@types_react-dom@19.2.3_@types_react@19.2.14__@types_r_d3e4cb8cbdda0907706e3a01fbee2f8a/node_modules/@radix-ui/react-accordion/dist/index.cjs +0 -321
  967. package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1.2.12_@types_react-dom@19.2.3_@types_react@19.2.14__@types_r_d3e4cb8cbdda0907706e3a01fbee2f8a/node_modules/@radix-ui/react-accordion/dist/index.mjs +0 -306
  968. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@type_efce6bfc853a45ecf3286e95d0b83ef8/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +0 -182
  969. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@type_efce6bfc853a45ecf3286e95d0b83ef8/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs +0 -149
  970. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_d62890c567682a598b3e026b4a1be435/node_modules/@radix-ui/react-arrow/dist/index.cjs +0 -42
  971. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_d62890c567682a598b3e026b4a1be435/node_modules/@radix-ui/react-arrow/dist/index.mjs +0 -25
  972. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_3f32f53d97352d9b2c79f551e54530d2/node_modules/@radix-ui/react-avatar/dist/index.cjs +0 -140
  973. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_3f32f53d97352d9b2c79f551e54530d2/node_modules/@radix-ui/react-avatar/dist/index.mjs +0 -119
  974. package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.3_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_33f4d71d2be48b52e04165a709f36beb/node_modules/@radix-ui/react-checkbox/dist/index.cjs +0 -296
  975. package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.3_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_33f4d71d2be48b52e04165a709f36beb/node_modules/@radix-ui/react-checkbox/dist/index.mjs +0 -271
  976. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.12_@types_react-dom@19.2.3_@types_react@19.2.14__@types_9f957414919dddd12fad89e27c9a1490/node_modules/@radix-ui/react-collapsible/dist/index.cjs +0 -168
  977. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.12_@types_react-dom@19.2.3_@types_react@19.2.14__@types_9f957414919dddd12fad89e27c9a1490/node_modules/@radix-ui/react-collapsible/dist/index.mjs +0 -146
  978. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types_r_4fb09693843e1dddd86a3a2e9767284a/node_modules/@radix-ui/react-collection/dist/index.cjs +0 -77
  979. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types_r_4fb09693843e1dddd86a3a2e9767284a/node_modules/@radix-ui/react-collection/dist/index.mjs +0 -71
  980. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -56
  981. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +0 -39
  982. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-context/dist/index.cjs +0 -79
  983. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-context/dist/index.mjs +0 -63
  984. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.3_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-context/dist/index.cjs +0 -80
  985. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.3_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-context/dist/index.mjs +0 -64
  986. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-direction/dist/index.cjs +0 -27
  987. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-direction/dist/index.mjs +0 -11
  988. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14___79ac7923fbbaa70dde2128695a66e4d1/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -229
  989. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14___79ac7923fbbaa70dde2128695a66e4d1/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs +0 -212
  990. package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@19.2.3_@types_react@19.2.14__@typ_6cd9b771d1286a070fa3179e8cb914be/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs +0 -284
  991. package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@19.2.3_@types_react@19.2.14__@typ_6cd9b771d1286a070fa3179e8cb914be/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs +0 -248
  992. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +0 -46
  993. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-focus-guards/dist/index.mjs +0 -30
  994. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types__07eb8840b0faf9d9959e59dd270a4cf7/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +0 -224
  995. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types__07eb8840b0faf9d9959e59dd270a4cf7/node_modules/@radix-ui/react-focus-scope/dist/index.mjs +0 -208
  996. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-id/dist/index.cjs +0 -31
  997. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-id/dist/index.mjs +0 -15
  998. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.16_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_d69fe6d7c13da483b04d9ee39f060823/node_modules/@radix-ui/react-menu/dist/index.cjs +0 -845
  999. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.16_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_d69fe6d7c13da483b04d9ee39f060823/node_modules/@radix-ui/react-menu/dist/index.mjs +0 -799
  1000. package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_12e0ee98c2c94a5667b44af9194ea9e1/node_modules/@radix-ui/react-popover/dist/index.cjs +0 -325
  1001. package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_12e0ee98c2c94a5667b44af9194ea9e1/node_modules/@radix-ui/react-popover/dist/index.mjs +0 -299
  1002. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_8fba32ba52522a8383d9c6e1d4587da6/node_modules/@radix-ui/react-popper/dist/index.cjs +0 -308
  1003. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_8fba32ba52522a8383d9c6e1d4587da6/node_modules/@radix-ui/react-popper/dist/index.mjs +0 -284
  1004. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_92e223af8b4a901db213297dcfb30a72/node_modules/@radix-ui/react-portal/dist/index.cjs +0 -37
  1005. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_92e223af8b4a901db213297dcfb30a72/node_modules/@radix-ui/react-portal/dist/index.mjs +0 -18
  1006. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_b0fb3a84d7d9ee8e6a4b5e4cb53ac68e/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -147
  1007. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_b0fb3a84d7d9ee8e6a4b5e4cb53ac68e/node_modules/@radix-ui/react-presence/dist/index.mjs +0 -131
  1008. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_09e6e0ccf209aa4bd9af72ae117fe802/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -61
  1009. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_09e6e0ccf209aa4bd9af72ae117fe802/node_modules/@radix-ui/react-primitive/dist/index.mjs +0 -43
  1010. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.4_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_79f9cc29726bbcca5df2cac469f5e931/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -56
  1011. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.4_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_79f9cc29726bbcca5df2cac469f5e931/node_modules/@radix-ui/react-primitive/dist/index.mjs +0 -40
  1012. package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types__88e81963960cd8667b724bd10df18cda/node_modules/@radix-ui/react-radio-group/dist/index.cjs +0 -304
  1013. package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types__88e81963960cd8667b724bd10df18cda/node_modules/@radix-ui/react-radio-group/dist/index.mjs +0 -283
  1014. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14__@type_9d797d2bb0e1cabb88451b302d91a28f/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +0 -244
  1015. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14__@type_9d797d2bb0e1cabb88451b302d91a28f/node_modules/@radix-ui/react-roving-focus/dist/index.mjs +0 -224
  1016. package/dist/node_modules/.pnpm/@radix-ui_react-scroll-area@1.2.10_@types_react-dom@19.2.3_@types_react@19.2.14__@types_9425d0cb1b50c8772d37d4357f03bad7/node_modules/@radix-ui/react-scroll-area/dist/index.cjs +0 -742
  1017. package/dist/node_modules/.pnpm/@radix-ui_react-scroll-area@1.2.10_@types_react-dom@19.2.3_@types_react@19.2.14__@types_9425d0cb1b50c8772d37d4357f03bad7/node_modules/@radix-ui/react-scroll-area/dist/index.mjs +0 -719
  1018. package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.6_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_96fd28d0ecd291ba74019e1d2a4857c5/node_modules/@radix-ui/react-select/dist/index.cjs +0 -1198
  1019. package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.6_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_96fd28d0ecd291ba74019e1d2a4857c5/node_modules/@radix-ui/react-select/dist/index.mjs +0 -1154
  1020. package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_35c53c555750bc91a5b469d5f137708e/node_modules/@radix-ui/react-separator/dist/index.cjs +0 -47
  1021. package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_35c53c555750bc91a5b469d5f137708e/node_modules/@radix-ui/react-separator/dist/index.mjs +0 -30
  1022. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.13_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_e131709c36765d28938ce8660ced468c/node_modules/@radix-ui/react-tabs/dist/index.cjs +0 -211
  1023. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.13_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_e131709c36765d28938ce8660ced468c/node_modules/@radix-ui/react-tabs/dist/index.mjs +0 -188
  1024. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14__@type_67be5b56b565ffded4942ad0ff14ef83/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +0 -178
  1025. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14__@type_67be5b56b565ffded4942ad0ff14ef83/node_modules/@radix-ui/react-toggle-group/dist/index.mjs +0 -169
  1026. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.10_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_dff5d789a9c4f2cb53dcdc079af5435e/node_modules/@radix-ui/react-toggle/dist/index.cjs +0 -54
  1027. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.10_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_dff5d789a9c4f2cb53dcdc079af5435e/node_modules/@radix-ui/react-toggle/dist/index.mjs +0 -37
  1028. package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_c11abd87b741576dd78c968e2f900814/node_modules/@radix-ui/react-tooltip/dist/index.cjs +0 -519
  1029. package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_c11abd87b741576dd78c968e2f900814/node_modules/@radix-ui/react-tooltip/dist/index.mjs +0 -492
  1030. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -28
  1031. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs +0 -12
  1032. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -86
  1033. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs +0 -70
  1034. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +0 -34
  1035. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs +0 -18
  1036. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +0 -18
  1037. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs +0 -16
  1038. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +0 -23
  1039. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs +0 -7
  1040. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-previous/dist/index.cjs +0 -31
  1041. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-previous/dist/index.mjs +0 -15
  1042. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-size/dist/index.cjs +0 -56
  1043. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@19.2.14_react@19.2.7/node_modules/@radix-ui/react-use-size/dist/index.mjs +0 -40
  1044. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.14__@ty_e259c0452f588d18e39ec76b2bae3d97/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +0 -53
  1045. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.14__@ty_e259c0452f588d18e39ec76b2bae3d97/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs +0 -35
  1046. package/dist/node_modules/.pnpm/@tiptap_core@3.20.0_@tiptap_pm@3.15.3/node_modules/@tiptap/core/dist/index.cjs +0 -6470
  1047. package/dist/node_modules/.pnpm/@tiptap_core@3.20.0_@tiptap_pm@3.15.3/node_modules/@tiptap/core/dist/index.mjs +0 -6365
  1048. package/dist/node_modules/.pnpm/@tiptap_core@3.20.0_@tiptap_pm@3.15.3/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.cjs +0 -22
  1049. package/dist/node_modules/.pnpm/@tiptap_core@3.20.0_@tiptap_pm@3.15.3/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.mjs +0 -16
  1050. package/dist/node_modules/.pnpm/@tiptap_extension-blockquote@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-blockquote/dist/index.cjs +0 -77
  1051. package/dist/node_modules/.pnpm/@tiptap_extension-blockquote@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-blockquote/dist/index.mjs +0 -74
  1052. package/dist/node_modules/.pnpm/@tiptap_extension-bold@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-bold/dist/index.cjs +0 -96
  1053. package/dist/node_modules/.pnpm/@tiptap_extension-bold@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-bold/dist/index.mjs +0 -90
  1054. package/dist/node_modules/.pnpm/@tiptap_extension-bubble-menu@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-bubble-menu/dist/index.cjs +0 -375
  1055. package/dist/node_modules/.pnpm/@tiptap_extension-bubble-menu@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-bubble-menu/dist/index.mjs +0 -372
  1056. package/dist/node_modules/.pnpm/@tiptap_extension-code-block-lowlight@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@ti_360e739196c451ebf408f4af5a9f3f24/node_modules/@tiptap/extension-code-block-lowlight/dist/index.cjs +0 -150
  1057. package/dist/node_modules/.pnpm/@tiptap_extension-code-block-lowlight@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@ti_360e739196c451ebf408f4af5a9f3f24/node_modules/@tiptap/extension-code-block-lowlight/dist/index.mjs +0 -144
  1058. package/dist/node_modules/.pnpm/@tiptap_extension-code-block@3.20.0_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-code-block/dist/index.cjs +0 -325
  1059. package/dist/node_modules/.pnpm/@tiptap_extension-code-block@3.20.0_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-code-block/dist/index.mjs +0 -318
  1060. package/dist/node_modules/.pnpm/@tiptap_extension-code@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-code/dist/index.cjs +0 -72
  1061. package/dist/node_modules/.pnpm/@tiptap_extension-code@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-code/dist/index.mjs +0 -68
  1062. package/dist/node_modules/.pnpm/@tiptap_extension-document@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-document/dist/index.cjs +0 -18
  1063. package/dist/node_modules/.pnpm/@tiptap_extension-document@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-document/dist/index.mjs +0 -16
  1064. package/dist/node_modules/.pnpm/@tiptap_extension-floating-menu@3.15.3_@floating-ui_dom@1.7.6_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-floating-menu/dist/index.cjs +0 -246
  1065. package/dist/node_modules/.pnpm/@tiptap_extension-floating-menu@3.15.3_@floating-ui_dom@1.7.6_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-floating-menu/dist/index.mjs +0 -243
  1066. package/dist/node_modules/.pnpm/@tiptap_extension-hard-break@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-hard-break/dist/index.cjs +0 -68
  1067. package/dist/node_modules/.pnpm/@tiptap_extension-hard-break@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-hard-break/dist/index.mjs +0 -66
  1068. package/dist/node_modules/.pnpm/@tiptap_extension-heading@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-heading/dist/index.cjs +0 -88
  1069. package/dist/node_modules/.pnpm/@tiptap_extension-heading@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-heading/dist/index.mjs +0 -86
  1070. package/dist/node_modules/.pnpm/@tiptap_extension-horizontal-rule@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-horizontal-rule/dist/index.cjs +0 -82
  1071. package/dist/node_modules/.pnpm/@tiptap_extension-horizontal-rule@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-horizontal-rule/dist/index.mjs +0 -80
  1072. package/dist/node_modules/.pnpm/@tiptap_extension-image@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-image/dist/index.cjs +0 -156
  1073. package/dist/node_modules/.pnpm/@tiptap_extension-image@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-image/dist/index.mjs +0 -153
  1074. package/dist/node_modules/.pnpm/@tiptap_extension-italic@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-italic/dist/index.cjs +0 -94
  1075. package/dist/node_modules/.pnpm/@tiptap_extension-italic@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-italic/dist/index.mjs +0 -88
  1076. package/dist/node_modules/.pnpm/@tiptap_extension-link@3.20.0_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-link/dist/index.cjs +0 -427
  1077. package/dist/node_modules/.pnpm/@tiptap_extension-link@3.20.0_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-link/dist/index.mjs +0 -424
  1078. package/dist/node_modules/.pnpm/@tiptap_extension-list@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-list/dist/index.cjs +0 -1060
  1079. package/dist/node_modules/.pnpm/@tiptap_extension-list@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-list/dist/index.mjs +0 -1049
  1080. package/dist/node_modules/.pnpm/@tiptap_extension-paragraph@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-paragraph/dist/index.cjs +0 -54
  1081. package/dist/node_modules/.pnpm/@tiptap_extension-paragraph@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-paragraph/dist/index.mjs +0 -52
  1082. package/dist/node_modules/.pnpm/@tiptap_extension-strike@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-strike/dist/index.cjs +0 -81
  1083. package/dist/node_modules/.pnpm/@tiptap_extension-strike@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-strike/dist/index.mjs +0 -77
  1084. package/dist/node_modules/.pnpm/@tiptap_extension-table@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-table/dist/index.cjs +0 -580
  1085. package/dist/node_modules/.pnpm/@tiptap_extension-table@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-table/dist/index.mjs +0 -568
  1086. package/dist/node_modules/.pnpm/@tiptap_extension-text-style@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-text-style/dist/index.cjs +0 -346
  1087. package/dist/node_modules/.pnpm/@tiptap_extension-text-style@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-text-style/dist/index.mjs +0 -339
  1088. package/dist/node_modules/.pnpm/@tiptap_extension-text@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-text/dist/index.cjs +0 -18
  1089. package/dist/node_modules/.pnpm/@tiptap_extension-text@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-text/dist/index.mjs +0 -16
  1090. package/dist/node_modules/.pnpm/@tiptap_extension-typography@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-typography/dist/index.cjs +0 -216
  1091. package/dist/node_modules/.pnpm/@tiptap_extension-typography@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-typography/dist/index.mjs +0 -192
  1092. package/dist/node_modules/.pnpm/@tiptap_extension-underline@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-underline/dist/index.cjs +0 -76
  1093. package/dist/node_modules/.pnpm/@tiptap_extension-underline@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-underline/dist/index.mjs +0 -74
  1094. package/dist/node_modules/.pnpm/@tiptap_extensions@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extensions/dist/index.cjs +0 -364
  1095. package/dist/node_modules/.pnpm/@tiptap_extensions@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extensions/dist/index.mjs +0 -357
  1096. package/dist/node_modules/.pnpm/@tiptap_markdown@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/markdown/dist/index.cjs +0 -958
  1097. package/dist/node_modules/.pnpm/@tiptap_markdown@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/markdown/dist/index.mjs +0 -947
  1098. package/dist/node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.6_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_6bfb1538b9439e8df3174a0edf414387/node_modules/@tiptap/react/dist/index.cjs +0 -1030
  1099. package/dist/node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.6_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_6bfb1538b9439e8df3174a0edf414387/node_modules/@tiptap/react/dist/index.mjs +0 -909
  1100. package/dist/node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.6_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_6bfb1538b9439e8df3174a0edf414387/node_modules/@tiptap/react/dist/menus/index.cjs +0 -122
  1101. package/dist/node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.6_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_6bfb1538b9439e8df3174a0edf414387/node_modules/@tiptap/react/dist/menus/index.mjs +0 -116
  1102. package/dist/node_modules/.pnpm/@tiptap_starter-kit@3.15.3/node_modules/@tiptap/starter-kit/dist/index.cjs +0 -97
  1103. package/dist/node_modules/.pnpm/@tiptap_starter-kit@3.15.3/node_modules/@tiptap/starter-kit/dist/index.mjs +0 -95
  1104. package/dist/node_modules/.pnpm/fast-equals@5.4.0/node_modules/fast-equals/dist/es/index.cjs +0 -645
  1105. package/dist/node_modules/.pnpm/fast-equals@5.4.0/node_modules/fast-equals/dist/es/index.mjs +0 -641
  1106. package/dist/node_modules/.pnpm/he-tree-react@1.2.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/he-tree-react/dist/index.cjs +0 -541
  1107. package/dist/node_modules/.pnpm/he-tree-react@1.2.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/he-tree-react/dist/index.mjs +0 -533
  1108. package/dist/node_modules/.pnpm/helper-js@3.1.6/node_modules/helper-js/dist/index.esm.cjs +0 -153
  1109. package/dist/node_modules/.pnpm/helper-js@3.1.6/node_modules/helper-js/dist/index.esm.mjs +0 -145
  1110. package/dist/node_modules/.pnpm/immer@11.1.3/node_modules/immer/dist/immer.cjs +0 -868
  1111. package/dist/node_modules/.pnpm/immer@11.1.3/node_modules/immer/dist/immer.mjs +0 -859
  1112. package/dist/node_modules/.pnpm/linkifyjs@4.3.2/node_modules/linkifyjs/dist/linkify.cjs +0 -1753
  1113. package/dist/node_modules/.pnpm/linkifyjs@4.3.2/node_modules/linkifyjs/dist/linkify.mjs +0 -1742
  1114. package/dist/node_modules/.pnpm/marked@15.0.12/node_modules/marked/lib/marked.esm.cjs +0 -2177
  1115. package/dist/node_modules/.pnpm/marked@15.0.12/node_modules/marked/lib/marked.esm.mjs +0 -2167
  1116. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.cjs +0 -319
  1117. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.mjs +0 -317
  1118. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/svg.cjs +0 -565
  1119. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/svg.mjs +0 -563
  1120. package/dist/node_modules/.pnpm/prosemirror-commands@1.7.1/node_modules/prosemirror-commands/dist/index.cjs +0 -673
  1121. package/dist/node_modules/.pnpm/prosemirror-commands@1.7.1/node_modules/prosemirror-commands/dist/index.mjs +0 -650
  1122. package/dist/node_modules/.pnpm/prosemirror-dropcursor@1.8.2/node_modules/prosemirror-dropcursor/dist/index.cjs +0 -148
  1123. package/dist/node_modules/.pnpm/prosemirror-dropcursor@1.8.2/node_modules/prosemirror-dropcursor/dist/index.mjs +0 -146
  1124. package/dist/node_modules/.pnpm/prosemirror-gapcursor@1.4.0/node_modules/prosemirror-gapcursor/dist/index.cjs +0 -242
  1125. package/dist/node_modules/.pnpm/prosemirror-gapcursor@1.4.0/node_modules/prosemirror-gapcursor/dist/index.mjs +0 -239
  1126. package/dist/node_modules/.pnpm/prosemirror-history@1.5.0/node_modules/prosemirror-history/dist/index.cjs +0 -418
  1127. package/dist/node_modules/.pnpm/prosemirror-history@1.5.0/node_modules/prosemirror-history/dist/index.mjs +0 -414
  1128. package/dist/node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.cjs +0 -3478
  1129. package/dist/node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.mjs +0 -3464
  1130. package/dist/node_modules/.pnpm/prosemirror-tables@1.8.1/node_modules/prosemirror-tables/dist/index.cjs +0 -2211
  1131. package/dist/node_modules/.pnpm/prosemirror-tables@1.8.1/node_modules/prosemirror-tables/dist/index.mjs +0 -2161
  1132. package/dist/node_modules/.pnpm/prosemirror-transform@1.10.5/node_modules/prosemirror-transform/dist/index.cjs +0 -2183
  1133. package/dist/node_modules/.pnpm/prosemirror-transform@1.10.5/node_modules/prosemirror-transform/dist/index.mjs +0 -2160
  1134. package/dist/node_modules/.pnpm/prosemirror-view@1.41.3/node_modules/prosemirror-view/dist/index.cjs +0 -5817
  1135. package/dist/node_modules/.pnpm/prosemirror-view@1.41.3/node_modules/prosemirror-view/dist/index.mjs +0 -5813
  1136. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/DayPicker.cjs +0 -338
  1137. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/DayPicker.mjs +0 -332
  1138. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/UI.cjs +0 -122
  1139. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/UI.mjs +0 -122
  1140. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/classes/DateLib.cjs +0 -577
  1141. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/classes/DateLib.mjs +0 -573
  1142. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/noonDateLib.cjs +0 -162
  1143. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/noonDateLib.mjs +0 -160
  1144. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/selection/useRange.cjs +0 -47
  1145. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/selection/useRange.mjs +0 -45
  1146. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.cjs +0 -63
  1147. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.mjs +0 -61
  1148. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/utils/toTimeZone.cjs +0 -18
  1149. package/dist/node_modules/.pnpm/react-day-picker@9.13.2_react@19.2.7/node_modules/react-day-picker/dist/esm/utils/toTimeZone.mjs +0 -16
  1150. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/index.cjs +0 -807
  1151. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/index.mjs +0 -800
  1152. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.14_react@19.2.7/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +0 -74
  1153. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.14_react@19.2.7/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs +0 -56
  1154. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +0 -178
  1155. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs +0 -160
  1156. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7/node_modules/react-remove-scroll/dist/es2015/UI.cjs +0 -54
  1157. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7/node_modules/react-remove-scroll/dist/es2015/UI.mjs +0 -38
  1158. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7/node_modules/react-remove-scroll/dist/es2015/medium.cjs +0 -7
  1159. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7/node_modules/react-remove-scroll/dist/es2015/medium.mjs +0 -5
  1160. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +0 -9
  1161. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs +0 -7
  1162. package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-resizable-panels/dist/react-resizable-panels.esm.cjs +0 -2418
  1163. package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-resizable-panels/dist/react-resizable-panels.esm.mjs +0 -2393
  1164. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/a11y-dark.cjs +0 -166
  1165. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/a11y-dark.mjs +0 -164
  1166. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/atom-dark.cjs +0 -173
  1167. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/atom-dark.mjs +0 -171
  1168. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/base16-ateliersulphurpool.light.cjs +0 -217
  1169. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/base16-ateliersulphurpool.light.mjs +0 -215
  1170. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/cb.cjs +0 -181
  1171. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/cb.mjs +0 -179
  1172. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-cold.cjs +0 -406
  1173. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-cold.mjs +0 -404
  1174. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-dark.cjs +0 -406
  1175. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-dark.mjs +0 -404
  1176. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy-without-shadows.cjs +0 -202
  1177. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy-without-shadows.mjs +0 -200
  1178. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy.cjs +0 -269
  1179. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy.mjs +0 -267
  1180. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/darcula.cjs +0 -221
  1181. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/darcula.mjs +0 -219
  1182. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dark.cjs +0 -174
  1183. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dark.mjs +0 -172
  1184. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dracula.cjs +0 -174
  1185. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dracula.mjs +0 -172
  1186. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-dark.cjs +0 -238
  1187. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-dark.mjs +0 -236
  1188. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-earth.cjs +0 -238
  1189. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-earth.mjs +0 -236
  1190. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-forest.cjs +0 -238
  1191. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-forest.mjs +0 -236
  1192. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-light.cjs +0 -238
  1193. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-light.mjs +0 -236
  1194. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-sea.cjs +0 -238
  1195. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-sea.mjs +0 -236
  1196. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-space.cjs +0 -238
  1197. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-space.mjs +0 -236
  1198. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/funky.cjs +0 -181
  1199. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/funky.mjs +0 -179
  1200. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/ghcolors.cjs +0 -198
  1201. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/ghcolors.mjs +0 -196
  1202. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-dark.cjs +0 -197
  1203. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-dark.mjs +0 -195
  1204. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-light.cjs +0 -197
  1205. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-light.mjs +0 -195
  1206. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/holi-theme.cjs +0 -214
  1207. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/holi-theme.mjs +0 -212
  1208. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/hopscotch.cjs +0 -168
  1209. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/hopscotch.mjs +0 -166
  1210. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.cjs +0 -373
  1211. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.mjs +0 -371
  1212. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/lucario.cjs +0 -174
  1213. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/lucario.mjs +0 -172
  1214. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-dark.cjs +0 -215
  1215. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-dark.mjs +0 -213
  1216. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-light.cjs +0 -223
  1217. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-light.mjs +0 -221
  1218. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-oceanic.cjs +0 -219
  1219. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-oceanic.mjs +0 -217
  1220. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/night-owl.cjs +0 -212
  1221. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/night-owl.mjs +0 -210
  1222. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/nord.cjs +0 -172
  1223. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/nord.mjs +0 -170
  1224. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/okaidia.cjs +0 -176
  1225. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/okaidia.mjs +0 -174
  1226. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-dark.cjs +0 -521
  1227. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-dark.mjs +0 -519
  1228. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-light.cjs +0 -509
  1229. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-light.mjs +0 -507
  1230. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/pojoaque.cjs +0 -181
  1231. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/pojoaque.mjs +0 -179
  1232. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/prism.cjs +0 -212
  1233. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/prism.mjs +0 -210
  1234. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/shades-of-purple.cjs +0 -254
  1235. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/shades-of-purple.mjs +0 -252
  1236. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarized-dark-atom.cjs +0 -173
  1237. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarized-dark-atom.mjs +0 -171
  1238. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarizedlight.cjs +0 -188
  1239. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarizedlight.mjs +0 -186
  1240. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/synthwave84.cjs +0 -203
  1241. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/synthwave84.mjs +0 -201
  1242. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/tomorrow.cjs +0 -173
  1243. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/tomorrow.mjs +0 -171
  1244. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/twilight.cjs +0 -234
  1245. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/twilight.mjs +0 -232
  1246. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vs.cjs +0 -226
  1247. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vs.mjs +0 -224
  1248. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vsc-dark-plus.cjs +0 -302
  1249. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vsc-dark-plus.mjs +0 -300
  1250. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/xonokai.cjs +0 -200
  1251. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/xonokai.mjs +0 -198
  1252. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/z-touch.cjs +0 -216
  1253. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/z-touch.mjs +0 -214
  1254. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/esm/create-element.cjs +0 -121
  1255. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +0 -110
  1256. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/esm/highlight.cjs +0 -394
  1257. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.7/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +0 -388
  1258. package/dist/node_modules/.pnpm/use-sync-external-store@1.2.2_react@19.2.7/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs +0 -254
  1259. package/dist/node_modules/.pnpm/use-sync-external-store@1.2.2_react@19.2.7/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +0 -248
  1260. package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.7/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.cjs +0 -115
  1261. package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.7/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +0 -109
  1262. package/dist/node_modules/.pnpm/zundo@2.3.0_zustand@4.5.5_@types_react@19.2.14_immer@11.1.3_react@19.2.7_/node_modules/zundo/dist/index.cjs +0 -112
  1263. package/dist/node_modules/.pnpm/zundo@2.3.0_zustand@4.5.5_@types_react@19.2.14_immer@11.1.3_react@19.2.7_/node_modules/zundo/dist/index.mjs +0 -110
  1264. package/dist/shared/stack.0O62uXqP.d.ts +0 -613
  1265. package/dist/shared/stack.0y6iTP03.d.ts +0 -533
  1266. package/dist/shared/stack.1ukVJym7.d.cts +0 -250
  1267. package/dist/shared/stack.1ukVJym7.d.mts +0 -250
  1268. package/dist/shared/stack.1ukVJym7.d.ts +0 -250
  1269. package/dist/shared/stack.B1UrNoVl.d.mts +0 -533
  1270. package/dist/shared/stack.B1srlBud.d.mts +0 -75
  1271. package/dist/shared/stack.B3_aDcYL.d.cts +0 -281
  1272. package/dist/shared/stack.B3_aDcYL.d.mts +0 -281
  1273. package/dist/shared/stack.B3_aDcYL.d.ts +0 -281
  1274. package/dist/shared/stack.BFP_9pRX.d.cts +0 -707
  1275. package/dist/shared/stack.BGzgFx3R.d.cts +0 -248
  1276. package/dist/shared/stack.BJx1ZXrN.d.cts +0 -118
  1277. package/dist/shared/stack.BK9Z2dcL.d.ts +0 -75
  1278. package/dist/shared/stack.BMHoxAn7.d.mts +0 -707
  1279. package/dist/shared/stack.BMlTZnZp.d.ts +0 -764
  1280. package/dist/shared/stack.BMmvEBH_.d.ts +0 -118
  1281. package/dist/shared/stack.BOZRaVpu.d.cts +0 -1184
  1282. package/dist/shared/stack.BPLykw4s.d.ts +0 -436
  1283. package/dist/shared/stack.BV0uNV4f.d.cts +0 -764
  1284. package/dist/shared/stack.Bt8hfw9o.d.ts +0 -707
  1285. package/dist/shared/stack.Bu2IPOLi.d.cts +0 -117
  1286. package/dist/shared/stack.Bu2IPOLi.d.mts +0 -117
  1287. package/dist/shared/stack.Bu2IPOLi.d.ts +0 -117
  1288. package/dist/shared/stack.Bz-YPsuX.d.cts +0 -5
  1289. package/dist/shared/stack.Bz-YPsuX.d.mts +0 -5
  1290. package/dist/shared/stack.Bz-YPsuX.d.ts +0 -5
  1291. package/dist/shared/stack.BzWGB5MG.d.cts +0 -436
  1292. package/dist/shared/stack.C3bU9w6L.d.ts +0 -351
  1293. package/dist/shared/stack.CGmh-Lpe.d.ts +0 -408
  1294. package/dist/shared/stack.Cbd7sD5M.d.mts +0 -118
  1295. package/dist/shared/stack.CcjENrr4.d.cts +0 -215
  1296. package/dist/shared/stack.Cei2T2gc.d.cts +0 -422
  1297. package/dist/shared/stack.CfK5NKlK.d.mts +0 -613
  1298. package/dist/shared/stack.CjCSDfWy.d.mts +0 -248
  1299. package/dist/shared/stack.Cmg7lzzy.d.cts +0 -44
  1300. package/dist/shared/stack.Cmg7lzzy.d.mts +0 -44
  1301. package/dist/shared/stack.Cmg7lzzy.d.ts +0 -44
  1302. package/dist/shared/stack.Co034Fpm.d.cts +0 -65
  1303. package/dist/shared/stack.Co034Fpm.d.mts +0 -65
  1304. package/dist/shared/stack.Co034Fpm.d.ts +0 -65
  1305. package/dist/shared/stack.CpE1mS3p.d.ts +0 -331
  1306. package/dist/shared/stack.CvlC5kqe.d.cts +0 -331
  1307. package/dist/shared/stack.DDQTbADz.d.ts +0 -539
  1308. package/dist/shared/stack.DIZh2qIJ.d.cts +0 -5
  1309. package/dist/shared/stack.DIZh2qIJ.d.mts +0 -5
  1310. package/dist/shared/stack.DIZh2qIJ.d.ts +0 -5
  1311. package/dist/shared/stack.DVEjWKCT.d.cts +0 -148
  1312. package/dist/shared/stack.DVEjWKCT.d.mts +0 -148
  1313. package/dist/shared/stack.DVEjWKCT.d.ts +0 -148
  1314. package/dist/shared/stack.DZRZAzcx.d.mts +0 -422
  1315. package/dist/shared/stack.Db7crl9u.d.cts +0 -5
  1316. package/dist/shared/stack.Db7crl9u.d.mts +0 -5
  1317. package/dist/shared/stack.Db7crl9u.d.ts +0 -5
  1318. package/dist/shared/stack.DbbvHbhn.d.mts +0 -215
  1319. package/dist/shared/stack.Dg_m1SkT.d.cts +0 -5
  1320. package/dist/shared/stack.Dg_m1SkT.d.mts +0 -5
  1321. package/dist/shared/stack.Dg_m1SkT.d.ts +0 -5
  1322. package/dist/shared/stack.DiuRuzIs.d.cts +0 -613
  1323. package/dist/shared/stack.DlBoNqYu.d.ts +0 -1184
  1324. package/dist/shared/stack.DlCycSM-.d.mts +0 -331
  1325. package/dist/shared/stack.DmpPDPxA.d.cts +0 -75
  1326. package/dist/shared/stack.Doy2_wgl.d.mts +0 -408
  1327. package/dist/shared/stack.Dpg_JjIo.d.ts +0 -248
  1328. package/dist/shared/stack.Dvy7FmaA.d.mts +0 -1184
  1329. package/dist/shared/stack.DxHPKr2R.d.mts +0 -436
  1330. package/dist/shared/stack.IY-ngxuw.d.cts +0 -539
  1331. package/dist/shared/stack.Mak7pzIV.d.cts +0 -533
  1332. package/dist/shared/stack.OYT8WU4n.d.mts +0 -351
  1333. package/dist/shared/stack.VEqnNtYQ.d.cts +0 -7
  1334. package/dist/shared/stack.VEqnNtYQ.d.mts +0 -7
  1335. package/dist/shared/stack.VEqnNtYQ.d.ts +0 -7
  1336. package/dist/shared/stack.byjorQi5.d.ts +0 -422
  1337. package/dist/shared/stack.fdi94T4S.d.cts +0 -291
  1338. package/dist/shared/stack.fdi94T4S.d.mts +0 -291
  1339. package/dist/shared/stack.fdi94T4S.d.ts +0 -291
  1340. package/dist/shared/stack.kaCV7vEL.d.ts +0 -215
  1341. package/dist/shared/stack.lsbdKRj7.d.mts +0 -764
  1342. package/dist/shared/stack.mU9iMF2j.d.mts +0 -539
  1343. package/dist/shared/stack.v2O65JqF.d.cts +0 -351
  1344. package/dist/shared/stack.zch70Loj.d.cts +0 -408
  1345. /package/dist/_virtual/{use-sync-external-store-shim.development2.cjs → use-sync-external-store-shim2.development.cjs} +0 -0
  1346. /package/dist/_virtual/{use-sync-external-store-shim.development2.mjs → use-sync-external-store-shim2.development.mjs} +0 -0
  1347. /package/dist/_virtual/{with-selector.development2.cjs → with-selector2.development.cjs} +0 -0
  1348. /package/dist/_virtual/{with-selector.development2.mjs → with-selector2.development.mjs} +0 -0
  1349. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.cjs +0 -0
  1350. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +0 -0
  1351. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.cjs +0 -0
  1352. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +0 -0
  1353. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +0 -0
  1354. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +0 -0
  1355. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/extends.cjs +0 -0
  1356. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/extends.mjs +0 -0
  1357. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/iterableToArray.cjs +0 -0
  1358. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +0 -0
  1359. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.cjs +0 -0
  1360. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +0 -0
  1361. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.cjs +0 -0
  1362. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +0 -0
  1363. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.cjs +0 -0
  1364. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +0 -0
  1365. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/toConsumableArray.cjs +0 -0
  1366. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +0 -0
  1367. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +0 -0
  1368. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +0 -0
  1369. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/typeof.cjs +0 -0
  1370. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/typeof.mjs +0 -0
  1371. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.cjs +0 -0
  1372. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +0 -0
  1373. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/interopRequireDefault.cjs +0 -0
  1374. /package/dist/node_modules/.pnpm/{@babel_runtime@7.29.2 → @babel_runtime@7.29.10}/node_modules/@babel/runtime/helpers/interopRequireDefault.mjs +0 -0
  1375. /package/dist/node_modules/.pnpm/{@date-fns_tz@1.4.1 → @date-fns_tz@1.5.0}/node_modules/@date-fns/tz/date/index.cjs +0 -0
  1376. /package/dist/node_modules/.pnpm/{@date-fns_tz@1.4.1 → @date-fns_tz@1.5.0}/node_modules/@date-fns/tz/date/index.mjs +0 -0
  1377. /package/dist/node_modules/.pnpm/{@date-fns_tz@1.4.1 → @date-fns_tz@1.5.0}/node_modules/@date-fns/tz/tzName/index.cjs +0 -0
  1378. /package/dist/node_modules/.pnpm/{@date-fns_tz@1.4.1 → @date-fns_tz@1.5.0}/node_modules/@date-fns/tz/tzName/index.mjs +0 -0
  1379. /package/dist/node_modules/.pnpm/{@dnd-kit_accessibility@3.1.1_react@19.2.7 → @dnd-kit_accessibility@3.1.1_react@19.3.1}/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.cjs +0 -0
  1380. /package/dist/node_modules/.pnpm/{@dnd-kit_accessibility@3.1.1_react@19.2.7 → @dnd-kit_accessibility@3.1.1_react@19.3.1}/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.mjs +0 -0
  1381. /package/dist/node_modules/.pnpm/{@dnd-kit_utilities@3.2.2_react@19.2.7 → @dnd-kit_utilities@3.2.2_react@19.3.1}/node_modules/@dnd-kit/utilities/dist/utilities.esm.cjs +0 -0
  1382. /package/dist/node_modules/.pnpm/{@floating-ui_react@0.27.16_react-dom@19.2.7_react@19.2.7__react@19.2.7 → @floating-ui_react@0.27.20_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@floating-ui/react/dist/floating-ui.react.utils.cjs +0 -0
  1383. /package/dist/node_modules/.pnpm/{@floating-ui_react@0.27.16_react-dom@19.2.7_react@19.2.7__react@19.2.7 → @floating-ui_react@0.27.20_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs +0 -0
  1384. /package/dist/node_modules/.pnpm/{@radix-ui_react-icons@1.3.2_react@19.2.7 → @radix-ui_react-icons@1.3.2_react@19.3.1}/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs +0 -0
  1385. /package/dist/node_modules/.pnpm/{@radix-ui_react-icons@1.3.2_react@19.2.7 → @radix-ui_react-icons@1.3.2_react@19.3.1}/node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs +0 -0
  1386. /package/dist/node_modules/.pnpm/{@use-gesture_react@10.3.1_react@19.2.7 → @use-gesture_react@10.3.1_react@19.3.1}/node_modules/@use-gesture/react/dist/use-gesture-react.esm.cjs +0 -0
  1387. /package/dist/node_modules/.pnpm/{@use-gesture_react@10.3.1_react@19.2.7 → @use-gesture_react@10.3.1_react@19.3.1}/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +0 -0
  1388. /package/dist/node_modules/.pnpm/{decode-named-character-reference@1.2.0 → decode-named-character-reference@1.3.0}/node_modules/decode-named-character-reference/index.cjs +0 -0
  1389. /package/dist/node_modules/.pnpm/{decode-named-character-reference@1.2.0 → decode-named-character-reference@1.3.0}/node_modules/decode-named-character-reference/index.mjs +0 -0
  1390. /package/dist/node_modules/.pnpm/{embla-carousel-react@8.6.0_react@19.2.7 → embla-carousel-react@8.6.0_react@19.3.1}/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +0 -0
  1391. /package/dist/node_modules/.pnpm/{embla-carousel-react@8.6.0_react@19.2.7 → embla-carousel-react@8.6.0_react@19.3.1}/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.mjs +0 -0
  1392. /package/dist/node_modules/.pnpm/{next-themes@0.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7 → next-themes@0.4.6_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/next-themes/dist/index.cjs +0 -0
  1393. /package/dist/node_modules/.pnpm/{next-themes@0.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7 → next-themes@0.4.6_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/next-themes/dist/index.mjs +0 -0
  1394. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/index.cjs +0 -0
  1395. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/index.mjs +0 -0
  1396. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/aria.cjs +0 -0
  1397. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/aria.mjs +0 -0
  1398. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/find.cjs +0 -0
  1399. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/find.mjs +0 -0
  1400. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/normalize.cjs +0 -0
  1401. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/normalize.mjs +0 -0
  1402. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/case-insensitive-transform.cjs +0 -0
  1403. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -0
  1404. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/case-sensitive-transform.cjs +0 -0
  1405. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -0
  1406. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/create.cjs +0 -0
  1407. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/create.mjs +0 -0
  1408. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/defined-info.cjs +0 -0
  1409. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/defined-info.mjs +0 -0
  1410. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/info.cjs +0 -0
  1411. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/info.mjs +0 -0
  1412. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/merge.cjs +0 -0
  1413. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/merge.mjs +0 -0
  1414. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/schema.cjs +0 -0
  1415. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/schema.mjs +0 -0
  1416. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/types.cjs +0 -0
  1417. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/util/types.mjs +0 -0
  1418. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/xlink.cjs +0 -0
  1419. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/xlink.mjs +0 -0
  1420. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/xml.cjs +0 -0
  1421. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/xml.mjs +0 -0
  1422. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/xmlns.cjs +0 -0
  1423. /package/dist/node_modules/.pnpm/{property-information@7.1.0 → property-information@7.2.0}/node_modules/property-information/lib/xmlns.mjs +0 -0
  1424. /package/dist/node_modules/.pnpm/{react-base-virtual-list@1.1.0_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-base-virtual-list@1.2.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-base-virtual-list/dist/index.cjs +0 -0
  1425. /package/dist/node_modules/.pnpm/{react-base-virtual-list@1.1.0_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-base-virtual-list@1.2.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-base-virtual-list/dist/index.mjs +0 -0
  1426. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/classes/CalendarDay.cjs +0 -0
  1427. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/classes/CalendarDay.mjs +0 -0
  1428. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.cjs +0 -0
  1429. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.mjs +0 -0
  1430. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.cjs +0 -0
  1431. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.mjs +0 -0
  1432. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Button.cjs +0 -0
  1433. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Button.mjs +0 -0
  1434. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/CaptionLabel.cjs +0 -0
  1435. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/CaptionLabel.mjs +0 -0
  1436. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Chevron.cjs +0 -0
  1437. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Chevron.mjs +0 -0
  1438. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Day.cjs +0 -0
  1439. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Day.mjs +0 -0
  1440. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/DayButton.cjs +0 -0
  1441. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/DayButton.mjs +0 -0
  1442. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Dropdown.cjs +0 -0
  1443. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Dropdown.mjs +0 -0
  1444. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/DropdownNav.cjs +0 -0
  1445. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/DropdownNav.mjs +0 -0
  1446. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Footer.cjs +0 -0
  1447. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Footer.mjs +0 -0
  1448. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Month.cjs +0 -0
  1449. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Month.mjs +0 -0
  1450. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/MonthCaption.cjs +0 -0
  1451. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/MonthCaption.mjs +0 -0
  1452. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/MonthGrid.cjs +0 -0
  1453. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/MonthGrid.mjs +0 -0
  1454. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Months.cjs +0 -0
  1455. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Months.mjs +0 -0
  1456. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.cjs +0 -0
  1457. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.mjs +0 -0
  1458. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Nav.cjs +0 -0
  1459. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Nav.mjs +0 -0
  1460. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/NextMonthButton.cjs +0 -0
  1461. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/NextMonthButton.mjs +0 -0
  1462. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Option.cjs +0 -0
  1463. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Option.mjs +0 -0
  1464. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.cjs +0 -0
  1465. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.mjs +0 -0
  1466. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Root.cjs +0 -0
  1467. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Root.mjs +0 -0
  1468. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Select.cjs +0 -0
  1469. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Select.mjs +0 -0
  1470. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Week.cjs +0 -0
  1471. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Week.mjs +0 -0
  1472. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/WeekNumber.cjs +0 -0
  1473. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/WeekNumber.mjs +0 -0
  1474. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.cjs +0 -0
  1475. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.mjs +0 -0
  1476. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Weekday.cjs +0 -0
  1477. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Weekday.mjs +0 -0
  1478. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Weekdays.cjs +0 -0
  1479. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Weekdays.mjs +0 -0
  1480. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Weeks.cjs +0 -0
  1481. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/Weeks.mjs +0 -0
  1482. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/YearsDropdown.cjs +0 -0
  1483. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/YearsDropdown.mjs +0 -0
  1484. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/custom-components.cjs +0 -0
  1485. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/components/custom-components.mjs +0 -0
  1486. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatCaption.cjs +0 -0
  1487. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatCaption.mjs +0 -0
  1488. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatDay.cjs +0 -0
  1489. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatDay.mjs +0 -0
  1490. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.cjs +0 -0
  1491. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.mjs +0 -0
  1492. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.cjs +0 -0
  1493. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.mjs +0 -0
  1494. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.cjs +0 -0
  1495. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.mjs +0 -0
  1496. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.cjs +0 -0
  1497. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.mjs +0 -0
  1498. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.cjs +0 -0
  1499. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.mjs +0 -0
  1500. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/index.cjs +0 -0
  1501. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/formatters/index.mjs +0 -0
  1502. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.cjs +0 -0
  1503. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.mjs +0 -0
  1504. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.cjs +0 -0
  1505. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.mjs +0 -0
  1506. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.cjs +0 -0
  1507. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.mjs +0 -0
  1508. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.cjs +0 -0
  1509. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.mjs +0 -0
  1510. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.cjs +0 -0
  1511. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.mjs +0 -0
  1512. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getComponents.cjs +0 -0
  1513. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getComponents.mjs +0 -0
  1514. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.cjs +0 -0
  1515. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.mjs +0 -0
  1516. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getDates.cjs +0 -0
  1517. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getDates.mjs +0 -0
  1518. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getDays.cjs +0 -0
  1519. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getDays.mjs +0 -0
  1520. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.cjs +0 -0
  1521. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.mjs +0 -0
  1522. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.cjs +0 -0
  1523. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.mjs +0 -0
  1524. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.cjs +0 -0
  1525. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.mjs +0 -0
  1526. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getFormatters.cjs +0 -0
  1527. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getFormatters.mjs +0 -0
  1528. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.cjs +0 -0
  1529. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.mjs +0 -0
  1530. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getLabels.cjs +0 -0
  1531. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getLabels.mjs +0 -0
  1532. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.cjs +0 -0
  1533. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.mjs +0 -0
  1534. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getMonths.cjs +0 -0
  1535. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getMonths.mjs +0 -0
  1536. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.cjs +0 -0
  1537. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.mjs +0 -0
  1538. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.cjs +0 -0
  1539. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.mjs +0 -0
  1540. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.cjs +0 -0
  1541. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.mjs +0 -0
  1542. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.cjs +0 -0
  1543. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.mjs +0 -0
  1544. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.cjs +0 -0
  1545. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.mjs +0 -0
  1546. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.cjs +0 -0
  1547. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.mjs +0 -0
  1548. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getWeeks.cjs +0 -0
  1549. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getWeeks.mjs +0 -0
  1550. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.cjs +0 -0
  1551. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.mjs +0 -0
  1552. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.cjs +0 -0
  1553. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.mjs +0 -0
  1554. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.cjs +0 -0
  1555. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.mjs +0 -0
  1556. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/index.cjs +0 -0
  1557. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/index.mjs +0 -0
  1558. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelDayButton.cjs +0 -0
  1559. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelDayButton.mjs +0 -0
  1560. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelGrid.cjs +0 -0
  1561. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelGrid.mjs +0 -0
  1562. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelGridcell.cjs +0 -0
  1563. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelGridcell.mjs +0 -0
  1564. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.cjs +0 -0
  1565. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.mjs +0 -0
  1566. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelNav.cjs +0 -0
  1567. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelNav.mjs +0 -0
  1568. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelNext.cjs +0 -0
  1569. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelNext.mjs +0 -0
  1570. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelPrevious.cjs +0 -0
  1571. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelPrevious.mjs +0 -0
  1572. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.cjs +0 -0
  1573. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.mjs +0 -0
  1574. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.cjs +0 -0
  1575. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.mjs +0 -0
  1576. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelWeekday.cjs +0 -0
  1577. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelWeekday.mjs +0 -0
  1578. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.cjs +0 -0
  1579. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.mjs +0 -0
  1580. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/locale/en-US.cjs +0 -0
  1581. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/locale/en-US.mjs +0 -0
  1582. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/selection/useMulti.cjs +0 -0
  1583. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/selection/useMulti.mjs +0 -0
  1584. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/selection/useSingle.cjs +0 -0
  1585. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/selection/useSingle.mjs +0 -0
  1586. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/useAnimation.cjs +0 -0
  1587. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/useAnimation.mjs +0 -0
  1588. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/useCalendar.cjs +0 -0
  1589. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/useCalendar.mjs +0 -0
  1590. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/useDayPicker.cjs +0 -0
  1591. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/useDayPicker.mjs +0 -0
  1592. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/useFocus.cjs +0 -0
  1593. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/useFocus.mjs +0 -0
  1594. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/useSelection.cjs +0 -0
  1595. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/useSelection.mjs +0 -0
  1596. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/addToRange.cjs +0 -0
  1597. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/addToRange.mjs +0 -0
  1598. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.cjs +0 -0
  1599. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.mjs +0 -0
  1600. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.cjs +0 -0
  1601. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.mjs +0 -0
  1602. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.cjs +0 -0
  1603. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.mjs +0 -0
  1604. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.cjs +0 -0
  1605. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.mjs +0 -0
  1606. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.cjs +0 -0
  1607. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.mjs +0 -0
  1608. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/typeguards.cjs +0 -0
  1609. /package/dist/node_modules/.pnpm/{react-day-picker@9.13.2_react@19.2.7 → react-day-picker@9.14.0_react@19.3.1}/node_modules/react-day-picker/dist/esm/utils/typeguards.mjs +0 -0
  1610. /package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@19.2.14_react@19.2.7 → react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs +0 -0
  1611. /package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@19.2.14_react@19.2.7 → react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs +0 -0
  1612. /package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@19.2.14_react@19.2.7 → react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs +0 -0
  1613. /package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@19.2.14_react@19.2.7 → react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1}/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs +0 -0
  1614. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7 → react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1}/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +0 -0
  1615. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7 → react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1}/node_modules/react-remove-scroll/dist/es2015/Combination.mjs +0 -0
  1616. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7 → react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1}/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +0 -0
  1617. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7 → react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1}/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs +0 -0
  1618. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7 → react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1}/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +0 -0
  1619. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.1_@types_react@19.2.14_react@19.2.7 → react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1}/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs +0 -0
  1620. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@19.2.14_react@19.2.7 → react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1}/node_modules/react-style-singleton/dist/es2015/component.cjs +0 -0
  1621. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@19.2.14_react@19.2.7 → react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1}/node_modules/react-style-singleton/dist/es2015/component.mjs +0 -0
  1622. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@19.2.14_react@19.2.7 → react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1}/node_modules/react-style-singleton/dist/es2015/hook.cjs +0 -0
  1623. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@19.2.14_react@19.2.7 → react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1}/node_modules/react-style-singleton/dist/es2015/hook.mjs +0 -0
  1624. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@19.2.14_react@19.2.7 → react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1}/node_modules/react-style-singleton/dist/es2015/singleton.cjs +0 -0
  1625. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@19.2.14_react@19.2.7 → react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1}/node_modules/react-style-singleton/dist/es2015/singleton.mjs +0 -0
  1626. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.7 → react-syntax-highlighter@16.1.2_react@19.3.1}/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.cjs +0 -0
  1627. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.7 → react-syntax-highlighter@16.1.2_react@19.3.1}/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.mjs +0 -0
  1628. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.7 → react-syntax-highlighter@16.1.2_react@19.3.1}/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.cjs +0 -0
  1629. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.7 → react-syntax-highlighter@16.1.2_react@19.3.1}/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.mjs +0 -0
  1630. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.7 → react-syntax-highlighter@16.1.2_react@19.3.1}/node_modules/react-syntax-highlighter/dist/esm/prism.cjs +0 -0
  1631. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.7 → react-syntax-highlighter@16.1.2_react@19.3.1}/node_modules/react-syntax-highlighter/dist/esm/prism.mjs +0 -0
  1632. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.7 → react-syntax-highlighter@16.1.2_react@19.3.1}/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.cjs +0 -0
  1633. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.7 → react-syntax-highlighter@16.1.2_react@19.3.1}/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.mjs +0 -0
  1634. /package/dist/node_modules/.pnpm/{react-zoom-pan-pinch@3.7.0_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-zoom-pan-pinch@3.7.0_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-zoom-pan-pinch/dist/index.esm.cjs +0 -0
  1635. /package/dist/node_modules/.pnpm/{react-zoom-pan-pinch@3.7.0_react-dom@19.2.7_react@19.2.7__react@19.2.7 → react-zoom-pan-pinch@3.7.0_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-zoom-pan-pinch/dist/index.esm.mjs +0 -0
  1636. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@19.2.14_react@19.2.7 → use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1}/node_modules/use-callback-ref/dist/es2015/assignRef.cjs +0 -0
  1637. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@19.2.14_react@19.2.7 → use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1}/node_modules/use-callback-ref/dist/es2015/assignRef.mjs +0 -0
  1638. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@19.2.14_react@19.2.7 → use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1}/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +0 -0
  1639. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@19.2.14_react@19.2.7 → use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1}/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs +0 -0
  1640. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@19.2.14_react@19.2.7 → use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1}/node_modules/use-callback-ref/dist/es2015/useRef.cjs +0 -0
  1641. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@19.2.14_react@19.2.7 → use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1}/node_modules/use-callback-ref/dist/es2015/useRef.mjs +0 -0
  1642. /package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@19.2.14_react@19.2.7 → use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1}/node_modules/use-sidecar/dist/es2015/exports.cjs +0 -0
  1643. /package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@19.2.14_react@19.2.7 → use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1}/node_modules/use-sidecar/dist/es2015/exports.mjs +0 -0
  1644. /package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@19.2.14_react@19.2.7 → use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1}/node_modules/use-sidecar/dist/es2015/medium.cjs +0 -0
  1645. /package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@19.2.14_react@19.2.7 → use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1}/node_modules/use-sidecar/dist/es2015/medium.mjs +0 -0
  1646. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.2.2_react@19.2.7 → use-sync-external-store@1.2.2_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.cjs +0 -0
  1647. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.2.2_react@19.2.7 → use-sync-external-store@1.2.2_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +0 -0
  1648. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.2.2_react@19.2.7 → use-sync-external-store@1.2.2_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.cjs +0 -0
  1649. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.2.2_react@19.2.7 → use-sync-external-store@1.2.2_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +0 -0
  1650. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.2.2_react@19.2.7 → use-sync-external-store@1.2.2_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.cjs +0 -0
  1651. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.2.2_react@19.2.7 → use-sync-external-store@1.2.2_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +0 -0
  1652. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.2.2_react@19.2.7 → use-sync-external-store@1.2.2_react@19.3.1}/node_modules/use-sync-external-store/shim/index.cjs +0 -0
  1653. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.2.2_react@19.2.7 → use-sync-external-store@1.2.2_react@19.3.1}/node_modules/use-sync-external-store/shim/index.mjs +0 -0
  1654. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.2.2_react@19.2.7 → use-sync-external-store@1.2.2_react@19.3.1}/node_modules/use-sync-external-store/shim/with-selector.cjs +0 -0
  1655. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.2.2_react@19.2.7 → use-sync-external-store@1.2.2_react@19.3.1}/node_modules/use-sync-external-store/shim/with-selector.mjs +0 -0
  1656. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.6.0_react@19.2.7 → use-sync-external-store@1.7.0_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.cjs +0 -0
  1657. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.6.0_react@19.2.7 → use-sync-external-store@1.7.0_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs +0 -0
  1658. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.6.0_react@19.2.7 → use-sync-external-store@1.7.0_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs +0 -0
  1659. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.6.0_react@19.2.7 → use-sync-external-store@1.7.0_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +0 -0
  1660. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.6.0_react@19.2.7 → use-sync-external-store@1.7.0_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs +0 -0
  1661. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.6.0_react@19.2.7 → use-sync-external-store@1.7.0_react@19.3.1}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs +0 -0
  1662. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.6.0_react@19.2.7 → use-sync-external-store@1.7.0_react@19.3.1}/node_modules/use-sync-external-store/shim/index.cjs +0 -0
  1663. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.6.0_react@19.2.7 → use-sync-external-store@1.7.0_react@19.3.1}/node_modules/use-sync-external-store/shim/index.mjs +0 -0
  1664. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.6.0_react@19.2.7 → use-sync-external-store@1.7.0_react@19.3.1}/node_modules/use-sync-external-store/shim/with-selector.cjs +0 -0
  1665. /package/dist/node_modules/.pnpm/{use-sync-external-store@1.6.0_react@19.2.7 → use-sync-external-store@1.7.0_react@19.3.1}/node_modules/use-sync-external-store/shim/with-selector.mjs +0 -0
  1666. /package/dist/node_modules/.pnpm/{zustand@4.5.5_@types_react@19.2.14_immer@11.1.3_react@19.2.7 → zustand@4.5.5_@types_react@19.3.0_immer@11.2.9_react@19.3.1}/node_modules/zustand/esm/index.cjs +0 -0
  1667. /package/dist/node_modules/.pnpm/{zustand@4.5.5_@types_react@19.2.14_immer@11.1.3_react@19.2.7 → zustand@4.5.5_@types_react@19.3.0_immer@11.2.9_react@19.3.1}/node_modules/zustand/esm/index.mjs +0 -0
  1668. /package/dist/node_modules/.pnpm/{zustand@4.5.5_@types_react@19.2.14_immer@11.1.3_react@19.2.7 → zustand@4.5.5_@types_react@19.3.0_immer@11.2.9_react@19.3.1}/node_modules/zustand/esm/middleware.cjs +0 -0
  1669. /package/dist/node_modules/.pnpm/{zustand@4.5.5_@types_react@19.2.14_immer@11.1.3_react@19.2.7 → zustand@4.5.5_@types_react@19.3.0_immer@11.2.9_react@19.3.1}/node_modules/zustand/esm/middleware.mjs +0 -0
  1670. /package/dist/node_modules/.pnpm/{zustand@4.5.5_@types_react@19.2.14_immer@11.1.3_react@19.2.7 → zustand@4.5.5_@types_react@19.3.0_immer@11.2.9_react@19.3.1}/node_modules/zustand/esm/vanilla.cjs +0 -0
  1671. /package/dist/node_modules/.pnpm/{zustand@4.5.5_@types_react@19.2.14_immer@11.1.3_react@19.2.7 → zustand@4.5.5_@types_react@19.3.0_immer@11.2.9_react@19.3.1}/node_modules/zustand/esm/vanilla.mjs +0 -0
@@ -0,0 +1,3477 @@
1
+ 'use strict';
2
+
3
+ const index = require('../../../../orderedmap@2.1.1/node_modules/orderedmap/dist/index.cjs');
4
+
5
+ function findDiffStart(a, b, pos) {
6
+ for (let i = 0;; i++) {
7
+ if (i == a.childCount || i == b.childCount)
8
+ return a.childCount == b.childCount ? null : pos;
9
+ let childA = a.child(i), childB = b.child(i);
10
+ if (childA == childB) {
11
+ pos += childA.nodeSize;
12
+ continue;
13
+ }
14
+ if (!childA.sameMarkup(childB))
15
+ return pos;
16
+ if (childA.isText && childA.text != childB.text) {
17
+ let tA = childA.text, tB = childB.text, j = 0;
18
+ for (; tA[j] == tB[j]; j++)
19
+ pos++;
20
+ if (j && j < tA.length && j < tB.length && surrogateHigh(tA.charCodeAt(j - 1)) && surrogateLow(tA.charCodeAt(j)))
21
+ pos--;
22
+ return pos;
23
+ }
24
+ if (childA.content.size || childB.content.size) {
25
+ let inner = findDiffStart(childA.content, childB.content, pos + 1);
26
+ if (inner != null)
27
+ return inner;
28
+ }
29
+ pos += childA.nodeSize;
30
+ }
31
+ }
32
+ function findDiffEnd(a, b, posA, posB) {
33
+ for (let iA = a.childCount, iB = b.childCount;;) {
34
+ if (iA == 0 || iB == 0)
35
+ return iA == iB ? null : { a: posA, b: posB };
36
+ let childA = a.child(--iA), childB = b.child(--iB), size = childA.nodeSize;
37
+ if (childA == childB) {
38
+ posA -= size;
39
+ posB -= size;
40
+ continue;
41
+ }
42
+ if (!childA.sameMarkup(childB))
43
+ return { a: posA, b: posB };
44
+ if (childA.isText && childA.text != childB.text) {
45
+ let tA = childA.text, tB = childB.text, iA = tA.length, iB = tB.length;
46
+ while (iA > 0 && iB > 0 && tA[iA - 1] == tB[iB - 1]) {
47
+ iA--;
48
+ iB--;
49
+ posA--;
50
+ posB--;
51
+ }
52
+ if (iA && iB && iA < tA.length && surrogateHigh(tA.charCodeAt(iA - 1)) && surrogateLow(tA.charCodeAt(iA))) {
53
+ posA++;
54
+ posB++;
55
+ }
56
+ return { a: posA, b: posB };
57
+ }
58
+ if (childA.content.size || childB.content.size) {
59
+ let inner = findDiffEnd(childA.content, childB.content, posA - 1, posB - 1);
60
+ if (inner)
61
+ return inner;
62
+ }
63
+ posA -= size;
64
+ posB -= size;
65
+ }
66
+ }
67
+ function surrogateLow(ch) { return ch >= 0xDC00 && ch < 0xE000; }
68
+ function surrogateHigh(ch) { return ch >= 0xD800 && ch < 0xDC00; }
69
+
70
+ /**
71
+ A fragment represents a node's collection of child nodes.
72
+
73
+ Like nodes, fragments are persistent data structures, and you
74
+ should not mutate them or their content. Rather, you create new
75
+ instances whenever needed. The API tries to make this easy.
76
+ */
77
+ class Fragment {
78
+ /**
79
+ @internal
80
+ */
81
+ constructor(
82
+ /**
83
+ The child nodes in this fragment.
84
+ */
85
+ content, size) {
86
+ this.content = content;
87
+ this.size = size || 0;
88
+ if (size == null)
89
+ for (let i = 0; i < content.length; i++)
90
+ this.size += content[i].nodeSize;
91
+ }
92
+ /**
93
+ Invoke a callback for all descendant nodes between the given two
94
+ positions (relative to start of this fragment). Doesn't descend
95
+ into a node when the callback returns `false`.
96
+ */
97
+ nodesBetween(from, to, f, nodeStart = 0, parent) {
98
+ for (let i = 0, pos = 0; pos < to; i++) {
99
+ let child = this.content[i], end = pos + child.nodeSize;
100
+ if (end > from && f(child, nodeStart + pos, parent || null, i) !== false && child.content.size) {
101
+ let start = pos + 1;
102
+ child.nodesBetween(Math.max(0, from - start), Math.min(child.content.size, to - start), f, nodeStart + start);
103
+ }
104
+ pos = end;
105
+ }
106
+ }
107
+ /**
108
+ Call the given callback for every descendant node. `pos` will be
109
+ relative to the start of the fragment. The callback may return
110
+ `false` to prevent traversal of a given node's children.
111
+ */
112
+ descendants(f) {
113
+ this.nodesBetween(0, this.size, f);
114
+ }
115
+ /**
116
+ Extract the text between `from` and `to`. See the same method on
117
+ [`Node`](https://prosemirror.net/docs/ref/#model.Node.textBetween).
118
+ */
119
+ textBetween(from, to, blockSeparator, leafText) {
120
+ let text = "", first = true;
121
+ this.nodesBetween(from, to, (node, pos) => {
122
+ let nodeText = node.isText ? node.text.slice(Math.max(from, pos) - pos, to - pos)
123
+ : !node.isLeaf ? ""
124
+ : leafText ? (typeof leafText === "function" ? leafText(node) : leafText)
125
+ : node.type.spec.leafText ? node.type.spec.leafText(node)
126
+ : "";
127
+ if (node.isBlock && (node.isLeaf && nodeText || node.isTextblock) && blockSeparator) {
128
+ if (first)
129
+ first = false;
130
+ else
131
+ text += blockSeparator;
132
+ }
133
+ text += nodeText;
134
+ }, 0);
135
+ return text;
136
+ }
137
+ /**
138
+ Create a new fragment containing the combined content of this
139
+ fragment and the other.
140
+ */
141
+ append(other) {
142
+ if (!other.size)
143
+ return this;
144
+ if (!this.size)
145
+ return other;
146
+ let last = this.lastChild, first = other.firstChild, content = this.content.slice(), i = 0;
147
+ if (last.isText && last.sameMarkup(first)) {
148
+ content[content.length - 1] = last.withText(last.text + first.text);
149
+ i = 1;
150
+ }
151
+ for (; i < other.content.length; i++)
152
+ content.push(other.content[i]);
153
+ return new Fragment(content, this.size + other.size);
154
+ }
155
+ /**
156
+ Cut out the sub-fragment between the two given positions.
157
+ */
158
+ cut(from, to = this.size) {
159
+ if (from == 0 && to == this.size)
160
+ return this;
161
+ let result = [], size = 0;
162
+ if (to > from)
163
+ for (let i = 0, pos = 0; pos < to; i++) {
164
+ let child = this.content[i], end = pos + child.nodeSize;
165
+ if (end > from) {
166
+ if (pos < from || end > to) {
167
+ if (child.isText)
168
+ child = child.cut(Math.max(0, from - pos), Math.min(child.text.length, to - pos));
169
+ else
170
+ child = child.cut(Math.max(0, from - pos - 1), Math.min(child.content.size, to - pos - 1));
171
+ }
172
+ result.push(child);
173
+ size += child.nodeSize;
174
+ }
175
+ pos = end;
176
+ }
177
+ return new Fragment(result, size);
178
+ }
179
+ /**
180
+ @internal
181
+ */
182
+ cutByIndex(from, to) {
183
+ if (from == to)
184
+ return Fragment.empty;
185
+ if (from == 0 && to == this.content.length)
186
+ return this;
187
+ return new Fragment(this.content.slice(from, to));
188
+ }
189
+ /**
190
+ Create a new fragment in which the node at the given index is
191
+ replaced by the given node.
192
+ */
193
+ replaceChild(index, node) {
194
+ let current = this.content[index];
195
+ if (current == node)
196
+ return this;
197
+ let copy = this.content.slice();
198
+ let size = this.size + node.nodeSize - current.nodeSize;
199
+ copy[index] = node;
200
+ return new Fragment(copy, size);
201
+ }
202
+ /**
203
+ Create a new fragment by prepending the given node to this
204
+ fragment.
205
+ */
206
+ addToStart(node) {
207
+ return new Fragment([node].concat(this.content), this.size + node.nodeSize);
208
+ }
209
+ /**
210
+ Create a new fragment by appending the given node to this
211
+ fragment.
212
+ */
213
+ addToEnd(node) {
214
+ return new Fragment(this.content.concat(node), this.size + node.nodeSize);
215
+ }
216
+ /**
217
+ Compare this fragment to another one.
218
+ */
219
+ eq(other) {
220
+ if (this.content.length != other.content.length)
221
+ return false;
222
+ for (let i = 0; i < this.content.length; i++)
223
+ if (!this.content[i].eq(other.content[i]))
224
+ return false;
225
+ return true;
226
+ }
227
+ /**
228
+ The first child of the fragment, or `null` if it is empty.
229
+ */
230
+ get firstChild() { return this.content.length ? this.content[0] : null; }
231
+ /**
232
+ The last child of the fragment, or `null` if it is empty.
233
+ */
234
+ get lastChild() { return this.content.length ? this.content[this.content.length - 1] : null; }
235
+ /**
236
+ The number of child nodes in this fragment.
237
+ */
238
+ get childCount() { return this.content.length; }
239
+ /**
240
+ Get the child node at the given index. Raise an error when the
241
+ index is out of range.
242
+ */
243
+ child(index) {
244
+ let found = this.content[index];
245
+ if (!found)
246
+ throw new RangeError("Index " + index + " out of range for " + this);
247
+ return found;
248
+ }
249
+ /**
250
+ Get the child node at the given index, if it exists.
251
+ */
252
+ maybeChild(index) {
253
+ return this.content[index] || null;
254
+ }
255
+ /**
256
+ Call `f` for every child node, passing the node, its offset
257
+ into this parent node, and its index.
258
+ */
259
+ forEach(f) {
260
+ for (let i = 0, p = 0; i < this.content.length; i++) {
261
+ let child = this.content[i];
262
+ f(child, p, i);
263
+ p += child.nodeSize;
264
+ }
265
+ }
266
+ /**
267
+ Find the first position at which this fragment and another
268
+ fragment differ, or `null` if they are the same.
269
+ */
270
+ findDiffStart(other, pos = 0) {
271
+ return findDiffStart(this, other, pos);
272
+ }
273
+ /**
274
+ Find the first position, searching from the end, at which this
275
+ fragment and the given fragment differ, or `null` if they are
276
+ the same. Since this position will not be the same in both
277
+ nodes, an object with two separate positions is returned.
278
+ */
279
+ findDiffEnd(other, pos = this.size, otherPos = other.size) {
280
+ return findDiffEnd(this, other, pos, otherPos);
281
+ }
282
+ /**
283
+ Find the index and inner offset corresponding to a given relative
284
+ position in this fragment. The result object will be reused
285
+ (overwritten) the next time the function is called. @internal
286
+ */
287
+ findIndex(pos) {
288
+ if (pos == 0)
289
+ return retIndex(0, pos);
290
+ if (pos == this.size)
291
+ return retIndex(this.content.length, pos);
292
+ if (pos > this.size || pos < 0)
293
+ throw new RangeError(`Position ${pos} outside of fragment (${this})`);
294
+ for (let i = 0, curPos = 0;; i++) {
295
+ let cur = this.child(i), end = curPos + cur.nodeSize;
296
+ if (end >= pos) {
297
+ if (end == pos)
298
+ return retIndex(i + 1, end);
299
+ return retIndex(i, curPos);
300
+ }
301
+ curPos = end;
302
+ }
303
+ }
304
+ /**
305
+ Return a debugging string that describes this fragment.
306
+ */
307
+ toString() { return "<" + this.toStringInner() + ">"; }
308
+ /**
309
+ @internal
310
+ */
311
+ toStringInner() { return this.content.join(", "); }
312
+ /**
313
+ Create a JSON-serializeable representation of this fragment.
314
+ */
315
+ toJSON() {
316
+ return this.content.length ? this.content.map(n => n.toJSON()) : null;
317
+ }
318
+ /**
319
+ Deserialize a fragment from its JSON representation.
320
+ */
321
+ static fromJSON(schema, value) {
322
+ if (!value)
323
+ return Fragment.empty;
324
+ if (!Array.isArray(value))
325
+ throw new RangeError("Invalid input for Fragment.fromJSON");
326
+ return Fragment.fromArray(value.map(schema.nodeFromJSON));
327
+ }
328
+ /**
329
+ Build a fragment from an array of nodes. Ensures that adjacent
330
+ text nodes with the same marks are joined together.
331
+ */
332
+ static fromArray(array) {
333
+ if (!array.length)
334
+ return Fragment.empty;
335
+ let joined, size = 0;
336
+ for (let i = 0; i < array.length; i++) {
337
+ let node = array[i];
338
+ size += node.nodeSize;
339
+ if (i && node.isText && array[i - 1].sameMarkup(node)) {
340
+ if (!joined)
341
+ joined = array.slice(0, i);
342
+ joined[joined.length - 1] = node
343
+ .withText(joined[joined.length - 1].text + node.text);
344
+ }
345
+ else if (joined) {
346
+ joined.push(node);
347
+ }
348
+ }
349
+ return new Fragment(joined || array, size);
350
+ }
351
+ /**
352
+ Create a fragment from something that can be interpreted as a
353
+ set of nodes. For `null`, it returns the empty fragment. For a
354
+ fragment, the fragment itself. For a node or array of nodes, a
355
+ fragment containing those nodes.
356
+ */
357
+ static from(nodes) {
358
+ if (!nodes)
359
+ return Fragment.empty;
360
+ if (nodes instanceof Fragment)
361
+ return nodes;
362
+ if (Array.isArray(nodes))
363
+ return this.fromArray(nodes);
364
+ if (nodes.attrs)
365
+ return new Fragment([nodes], nodes.nodeSize);
366
+ throw new RangeError("Can not convert " + nodes + " to a Fragment" +
367
+ (nodes.nodesBetween ? " (looks like multiple versions of prosemirror-model were loaded)" : ""));
368
+ }
369
+ }
370
+ /**
371
+ An empty fragment. Intended to be reused whenever a node doesn't
372
+ contain anything (rather than allocating a new empty fragment for
373
+ each leaf node).
374
+ */
375
+ Fragment.empty = new Fragment([], 0);
376
+ const found = { index: 0, offset: 0 };
377
+ function retIndex(index, offset) {
378
+ found.index = index;
379
+ found.offset = offset;
380
+ return found;
381
+ }
382
+
383
+ function compareDeep(a, b) {
384
+ if (a === b)
385
+ return true;
386
+ if (!(a && typeof a == "object") ||
387
+ !(b && typeof b == "object"))
388
+ return false;
389
+ let array = Array.isArray(a);
390
+ if (Array.isArray(b) != array)
391
+ return false;
392
+ if (array) {
393
+ if (a.length != b.length)
394
+ return false;
395
+ for (let i = 0; i < a.length; i++)
396
+ if (!compareDeep(a[i], b[i]))
397
+ return false;
398
+ }
399
+ else {
400
+ for (let p in a)
401
+ if (!(p in b) || !compareDeep(a[p], b[p]))
402
+ return false;
403
+ for (let p in b)
404
+ if (!(p in a))
405
+ return false;
406
+ }
407
+ return true;
408
+ }
409
+
410
+ /**
411
+ A mark is a piece of information that can be attached to a node,
412
+ such as it being emphasized, in code font, or a link. It has a
413
+ type and optionally a set of attributes that provide further
414
+ information (such as the target of the link). Marks are created
415
+ through a `Schema`, which controls which types exist and which
416
+ attributes they have.
417
+ */
418
+ class Mark {
419
+ /**
420
+ @internal
421
+ */
422
+ constructor(
423
+ /**
424
+ The type of this mark.
425
+ */
426
+ type,
427
+ /**
428
+ The attributes associated with this mark.
429
+ */
430
+ attrs) {
431
+ this.type = type;
432
+ this.attrs = attrs;
433
+ }
434
+ /**
435
+ Given a set of marks, create a new set which contains this one as
436
+ well, in the right position. If this mark is already in the set,
437
+ the set itself is returned. If any marks that are set to be
438
+ [exclusive](https://prosemirror.net/docs/ref/#model.MarkSpec.excludes) with this mark are present,
439
+ those are replaced by this one.
440
+ */
441
+ addToSet(set) {
442
+ let copy, placed = false;
443
+ for (let i = 0; i < set.length; i++) {
444
+ let other = set[i];
445
+ if (this.eq(other))
446
+ return set;
447
+ if (this.type.excludes(other.type)) {
448
+ if (!copy)
449
+ copy = set.slice(0, i);
450
+ }
451
+ else if (other.type.excludes(this.type)) {
452
+ return set;
453
+ }
454
+ else {
455
+ if (!placed && other.type.rank > this.type.rank) {
456
+ if (!copy)
457
+ copy = set.slice(0, i);
458
+ copy.push(this);
459
+ placed = true;
460
+ }
461
+ if (copy)
462
+ copy.push(other);
463
+ }
464
+ }
465
+ if (!copy)
466
+ copy = set.slice();
467
+ if (!placed)
468
+ copy.push(this);
469
+ return copy;
470
+ }
471
+ /**
472
+ Remove this mark from the given set, returning a new set. If this
473
+ mark is not in the set, the set itself is returned.
474
+ */
475
+ removeFromSet(set) {
476
+ for (let i = 0; i < set.length; i++)
477
+ if (this.eq(set[i]))
478
+ return set.slice(0, i).concat(set.slice(i + 1));
479
+ return set;
480
+ }
481
+ /**
482
+ Test whether this mark is in the given set of marks.
483
+ */
484
+ isInSet(set) {
485
+ for (let i = 0; i < set.length; i++)
486
+ if (this.eq(set[i]))
487
+ return true;
488
+ return false;
489
+ }
490
+ /**
491
+ Test whether this mark has the same type and attributes as
492
+ another mark.
493
+ */
494
+ eq(other) {
495
+ return this == other ||
496
+ (this.type == other.type && compareDeep(this.attrs, other.attrs));
497
+ }
498
+ /**
499
+ Convert this mark to a JSON-serializeable representation.
500
+ */
501
+ toJSON() {
502
+ let obj = { type: this.type.name };
503
+ for (let _ in this.attrs) {
504
+ obj.attrs = this.attrs;
505
+ break;
506
+ }
507
+ return obj;
508
+ }
509
+ /**
510
+ Deserialize a mark from JSON.
511
+ */
512
+ static fromJSON(schema, json) {
513
+ if (!json)
514
+ throw new RangeError("Invalid input for Mark.fromJSON");
515
+ let type = schema.marks[json.type];
516
+ if (!type)
517
+ throw new RangeError(`There is no mark type ${json.type} in this schema`);
518
+ let mark = type.create(json.attrs);
519
+ return mark;
520
+ }
521
+ /**
522
+ Test whether two sets of marks are identical.
523
+ */
524
+ static sameSet(a, b) {
525
+ if (a == b)
526
+ return true;
527
+ if (a.length != b.length)
528
+ return false;
529
+ for (let i = 0; i < a.length; i++)
530
+ if (!a[i].eq(b[i]))
531
+ return false;
532
+ return true;
533
+ }
534
+ /**
535
+ Create a properly sorted mark set from null, a single mark, or an
536
+ unsorted array of marks.
537
+ */
538
+ static setFrom(marks) {
539
+ if (!marks || Array.isArray(marks) && marks.length == 0)
540
+ return Mark.none;
541
+ if (marks instanceof Mark)
542
+ return [marks];
543
+ let copy = marks.slice();
544
+ copy.sort((a, b) => a.type.rank - b.type.rank);
545
+ return copy;
546
+ }
547
+ }
548
+ /**
549
+ The empty set of marks.
550
+ */
551
+ Mark.none = [];
552
+
553
+ /**
554
+ Error type raised by [`Node.replace`](https://prosemirror.net/docs/ref/#model.Node.replace) when
555
+ given an invalid replacement.
556
+ */
557
+ class ReplaceError extends Error {
558
+ }
559
+ /**
560
+ A slice represents a piece cut out of a larger document. It
561
+ stores not only a fragment, but also the depth up to which nodes on
562
+ both side are ‘open’ (cut through).
563
+ */
564
+ class Slice {
565
+ /**
566
+ Create a slice. When specifying a non-zero open depth, you must
567
+ make sure that there are nodes of at least that depth at the
568
+ appropriate side of the fragment—i.e. if the fragment is an
569
+ empty paragraph node, `openStart` and `openEnd` can't be greater
570
+ than 1.
571
+
572
+ It is not necessary for the content of open nodes to conform to
573
+ the schema's content constraints, though it should be a valid
574
+ start/end/middle for such a node, depending on which sides are
575
+ open.
576
+ */
577
+ constructor(
578
+ /**
579
+ The slice's content.
580
+ */
581
+ content,
582
+ /**
583
+ The open depth at the start of the fragment.
584
+ */
585
+ openStart,
586
+ /**
587
+ The open depth at the end.
588
+ */
589
+ openEnd) {
590
+ this.content = content;
591
+ this.openStart = openStart;
592
+ this.openEnd = openEnd;
593
+ }
594
+ /**
595
+ The size this slice would add when inserted into a document.
596
+ */
597
+ get size() {
598
+ return this.content.size - this.openStart - this.openEnd;
599
+ }
600
+ /**
601
+ @internal
602
+ */
603
+ insertAt(pos, fragment) {
604
+ let content = insertInto(this.content, pos + this.openStart, fragment, this.openStart + 1, this.openEnd + 1);
605
+ return content && new Slice(content, this.openStart, this.openEnd);
606
+ }
607
+ /**
608
+ @internal
609
+ */
610
+ removeBetween(from, to) {
611
+ return new Slice(removeRange(this.content, from + this.openStart, to + this.openStart), this.openStart, this.openEnd);
612
+ }
613
+ /**
614
+ Tests whether this slice is equal to another slice.
615
+ */
616
+ eq(other) {
617
+ return this.content.eq(other.content) && this.openStart == other.openStart && this.openEnd == other.openEnd;
618
+ }
619
+ /**
620
+ @internal
621
+ */
622
+ toString() {
623
+ return this.content + "(" + this.openStart + "," + this.openEnd + ")";
624
+ }
625
+ /**
626
+ Convert a slice to a JSON-serializable representation.
627
+ */
628
+ toJSON() {
629
+ if (!this.content.size)
630
+ return null;
631
+ let json = { content: this.content.toJSON() };
632
+ if (this.openStart > 0)
633
+ json.openStart = this.openStart;
634
+ if (this.openEnd > 0)
635
+ json.openEnd = this.openEnd;
636
+ return json;
637
+ }
638
+ /**
639
+ Deserialize a slice from its JSON representation.
640
+ */
641
+ static fromJSON(schema, json) {
642
+ if (!json)
643
+ return Slice.empty;
644
+ let openStart = json.openStart || 0, openEnd = json.openEnd || 0;
645
+ if (typeof openStart != "number" || typeof openEnd != "number")
646
+ throw new RangeError("Invalid input for Slice.fromJSON");
647
+ return new Slice(Fragment.fromJSON(schema, json.content), openStart, openEnd);
648
+ }
649
+ /**
650
+ Create a slice from a fragment by taking the maximum possible
651
+ open value on both side of the fragment.
652
+ */
653
+ static maxOpen(fragment, openIsolating = true) {
654
+ let openStart = 0, openEnd = 0;
655
+ for (let n = fragment.firstChild; n && !n.isLeaf && (openIsolating || !n.type.spec.isolating); n = n.firstChild)
656
+ openStart++;
657
+ for (let n = fragment.lastChild; n && !n.isLeaf && (openIsolating || !n.type.spec.isolating); n = n.lastChild)
658
+ openEnd++;
659
+ return new Slice(fragment, openStart, openEnd);
660
+ }
661
+ }
662
+ /**
663
+ The empty slice.
664
+ */
665
+ Slice.empty = new Slice(Fragment.empty, 0, 0);
666
+ function removeRange(content, from, to) {
667
+ let { index, offset } = content.findIndex(from), child = content.maybeChild(index);
668
+ let { index: indexTo, offset: offsetTo } = content.findIndex(to);
669
+ if (offset == from || child.isText) {
670
+ if (offsetTo != to && !content.child(indexTo).isText)
671
+ throw new RangeError("Removing non-flat range");
672
+ return content.cut(0, from).append(content.cut(to));
673
+ }
674
+ if (index != indexTo)
675
+ throw new RangeError("Removing non-flat range");
676
+ return content.replaceChild(index, child.copy(removeRange(child.content, from - offset - 1, to - offset - 1)));
677
+ }
678
+ function insertInto(content, dist, insert, openStart, openEnd, parent) {
679
+ let { index, offset } = content.findIndex(dist), child = content.maybeChild(index);
680
+ if (offset == dist || child.isText) {
681
+ if (parent && openStart <= 0 && openEnd <= 0 && !parent.canReplace(index, index, insert))
682
+ return null;
683
+ return content.cut(0, dist).append(insert).append(content.cut(dist));
684
+ }
685
+ let inner = insertInto(child.content, dist - offset - 1, insert, index == 0 ? openStart - 1 : 0, index == content.childCount - 1 ? openEnd - 1 : 0, child);
686
+ return inner && content.replaceChild(index, child.copy(inner));
687
+ }
688
+ function replace($from, $to, slice) {
689
+ if (slice.openStart > $from.depth)
690
+ throw new ReplaceError("Inserted content deeper than insertion position");
691
+ if ($from.depth - slice.openStart != $to.depth - slice.openEnd)
692
+ throw new ReplaceError("Inconsistent open depths");
693
+ return replaceOuter($from, $to, slice, 0);
694
+ }
695
+ function replaceOuter($from, $to, slice, depth) {
696
+ let index = $from.index(depth), node = $from.node(depth);
697
+ if (index == $to.index(depth) && depth < $from.depth - slice.openStart) {
698
+ let inner = replaceOuter($from, $to, slice, depth + 1);
699
+ return node.copy(node.content.replaceChild(index, inner));
700
+ }
701
+ else if (!slice.content.size) {
702
+ return close(node, replaceTwoWay($from, $to, depth));
703
+ }
704
+ else if (!slice.openStart && !slice.openEnd && $from.depth == depth && $to.depth == depth) { // Simple, flat case
705
+ let parent = $from.parent, content = parent.content;
706
+ return close(parent, content.cut(0, $from.parentOffset).append(slice.content).append(content.cut($to.parentOffset)));
707
+ }
708
+ else {
709
+ let { start, end } = prepareSliceForReplace(slice, $from);
710
+ return close(node, replaceThreeWay($from, start, end, $to, depth));
711
+ }
712
+ }
713
+ function checkJoin(main, sub) {
714
+ if (!sub.type.compatibleContent(main.type))
715
+ throw new ReplaceError("Cannot join " + sub.type.name + " onto " + main.type.name);
716
+ }
717
+ function joinable($before, $after, depth) {
718
+ let node = $before.node(depth);
719
+ checkJoin(node, $after.node(depth));
720
+ return node;
721
+ }
722
+ function addNode(child, target) {
723
+ let last = target.length - 1;
724
+ if (last >= 0 && child.isText && child.sameMarkup(target[last]))
725
+ target[last] = child.withText(target[last].text + child.text);
726
+ else
727
+ target.push(child);
728
+ }
729
+ function addRange($start, $end, depth, target) {
730
+ let node = ($end || $start).node(depth);
731
+ let startIndex = 0, endIndex = $end ? $end.index(depth) : node.childCount;
732
+ if ($start) {
733
+ startIndex = $start.index(depth);
734
+ if ($start.depth > depth) {
735
+ startIndex++;
736
+ }
737
+ else if ($start.textOffset) {
738
+ addNode($start.nodeAfter, target);
739
+ startIndex++;
740
+ }
741
+ }
742
+ for (let i = startIndex; i < endIndex; i++)
743
+ addNode(node.child(i), target);
744
+ if ($end && $end.depth == depth && $end.textOffset)
745
+ addNode($end.nodeBefore, target);
746
+ }
747
+ function close(node, content) {
748
+ if (!node.type.validContent(content))
749
+ throw new ReplaceError("Invalid content for node " + node.type.name);
750
+ return node.copy(content);
751
+ }
752
+ function replaceThreeWay($from, $start, $end, $to, depth) {
753
+ let openStart = $from.depth > depth && joinable($from, $start, depth + 1);
754
+ let openEnd = $to.depth > depth && joinable($end, $to, depth + 1);
755
+ let content = [];
756
+ addRange(null, $from, depth, content);
757
+ if (openStart && openEnd && $start.index(depth) == $end.index(depth)) {
758
+ checkJoin(openStart, openEnd);
759
+ addNode(close(openStart, replaceThreeWay($from, $start, $end, $to, depth + 1)), content);
760
+ }
761
+ else {
762
+ if (openStart)
763
+ addNode(close(openStart, replaceTwoWay($from, $start, depth + 1)), content);
764
+ addRange($start, $end, depth, content);
765
+ if (openEnd)
766
+ addNode(close(openEnd, replaceTwoWay($end, $to, depth + 1)), content);
767
+ }
768
+ addRange($to, null, depth, content);
769
+ return new Fragment(content);
770
+ }
771
+ function replaceTwoWay($from, $to, depth) {
772
+ let content = [];
773
+ addRange(null, $from, depth, content);
774
+ if ($from.depth > depth) {
775
+ let type = joinable($from, $to, depth + 1);
776
+ addNode(close(type, replaceTwoWay($from, $to, depth + 1)), content);
777
+ }
778
+ addRange($to, null, depth, content);
779
+ return new Fragment(content);
780
+ }
781
+ function prepareSliceForReplace(slice, $along) {
782
+ let extra = $along.depth - slice.openStart, parent = $along.node(extra);
783
+ let node = parent.copy(slice.content);
784
+ for (let i = extra - 1; i >= 0; i--)
785
+ node = $along.node(i).copy(Fragment.from(node));
786
+ return { start: node.resolveNoCache(slice.openStart + extra),
787
+ end: node.resolveNoCache(node.content.size - slice.openEnd - extra) };
788
+ }
789
+
790
+ /**
791
+ You can [_resolve_](https://prosemirror.net/docs/ref/#model.Node.resolve) a position to get more
792
+ information about it. Objects of this class represent such a
793
+ resolved position, providing various pieces of context
794
+ information, and some helper methods.
795
+
796
+ Throughout this interface, methods that take an optional `depth`
797
+ parameter will interpret undefined as `this.depth` and negative
798
+ numbers as `this.depth + value`.
799
+ */
800
+ class ResolvedPos {
801
+ /**
802
+ @internal
803
+ */
804
+ constructor(
805
+ /**
806
+ The position that was resolved.
807
+ */
808
+ pos,
809
+ /**
810
+ @internal
811
+ */
812
+ path,
813
+ /**
814
+ The offset this position has into its parent node.
815
+ */
816
+ parentOffset) {
817
+ this.pos = pos;
818
+ this.path = path;
819
+ this.parentOffset = parentOffset;
820
+ this.depth = path.length / 3 - 1;
821
+ }
822
+ /**
823
+ @internal
824
+ */
825
+ resolveDepth(val) {
826
+ if (val == null)
827
+ return this.depth;
828
+ if (val < 0)
829
+ return this.depth + val;
830
+ return val;
831
+ }
832
+ /**
833
+ The parent node that the position points into. Note that even if
834
+ a position points into a text node, that node is not considered
835
+ the parent—text nodes are ‘flat’ in this model, and have no content.
836
+ */
837
+ get parent() { return this.node(this.depth); }
838
+ /**
839
+ The root node in which the position was resolved.
840
+ */
841
+ get doc() { return this.node(0); }
842
+ /**
843
+ The ancestor node at the given level. `p.node(p.depth)` is the
844
+ same as `p.parent`.
845
+ */
846
+ node(depth) { return this.path[this.resolveDepth(depth) * 3]; }
847
+ /**
848
+ The index into the ancestor at the given level. If this points
849
+ at the 3rd node in the 2nd paragraph on the top level, for
850
+ example, `p.index(0)` is 1 and `p.index(1)` is 2.
851
+ */
852
+ index(depth) { return this.path[this.resolveDepth(depth) * 3 + 1]; }
853
+ /**
854
+ The index pointing after this position into the ancestor at the
855
+ given level.
856
+ */
857
+ indexAfter(depth) {
858
+ depth = this.resolveDepth(depth);
859
+ return this.index(depth) + (depth == this.depth && !this.textOffset ? 0 : 1);
860
+ }
861
+ /**
862
+ The (absolute) position at the start of the node at the given
863
+ level.
864
+ */
865
+ start(depth) {
866
+ depth = this.resolveDepth(depth);
867
+ return depth == 0 ? 0 : this.path[depth * 3 - 1] + 1;
868
+ }
869
+ /**
870
+ The (absolute) position at the end of the node at the given
871
+ level.
872
+ */
873
+ end(depth) {
874
+ depth = this.resolveDepth(depth);
875
+ return this.start(depth) + this.node(depth).content.size;
876
+ }
877
+ /**
878
+ The (absolute) position directly before the wrapping node at the
879
+ given level, or, when `depth` is `this.depth + 1`, the original
880
+ position.
881
+ */
882
+ before(depth) {
883
+ depth = this.resolveDepth(depth);
884
+ if (!depth)
885
+ throw new RangeError("There is no position before the top-level node");
886
+ return depth == this.depth + 1 ? this.pos : this.path[depth * 3 - 1];
887
+ }
888
+ /**
889
+ The (absolute) position directly after the wrapping node at the
890
+ given level, or the original position when `depth` is `this.depth + 1`.
891
+ */
892
+ after(depth) {
893
+ depth = this.resolveDepth(depth);
894
+ if (!depth)
895
+ throw new RangeError("There is no position after the top-level node");
896
+ return depth == this.depth + 1 ? this.pos : this.path[depth * 3 - 1] + this.path[depth * 3].nodeSize;
897
+ }
898
+ /**
899
+ When this position points into a text node, this returns the
900
+ distance between the position and the start of the text node.
901
+ Will be zero for positions that point between nodes.
902
+ */
903
+ get textOffset() { return this.pos - this.path[this.path.length - 1]; }
904
+ /**
905
+ Get the node directly after the position, if any. If the position
906
+ points into a text node, only the part of that node after the
907
+ position is returned.
908
+ */
909
+ get nodeAfter() {
910
+ let parent = this.parent, index = this.index(this.depth);
911
+ if (index == parent.childCount)
912
+ return null;
913
+ let dOff = this.pos - this.path[this.path.length - 1], child = parent.child(index);
914
+ return dOff ? parent.child(index).cut(dOff) : child;
915
+ }
916
+ /**
917
+ Get the node directly before the position, if any. If the
918
+ position points into a text node, only the part of that node
919
+ before the position is returned.
920
+ */
921
+ get nodeBefore() {
922
+ let index = this.index(this.depth);
923
+ let dOff = this.pos - this.path[this.path.length - 1];
924
+ if (dOff)
925
+ return this.parent.child(index).cut(0, dOff);
926
+ return index == 0 ? null : this.parent.child(index - 1);
927
+ }
928
+ /**
929
+ Get the position at the given index in the parent node at the
930
+ given depth (which defaults to `this.depth`).
931
+ */
932
+ posAtIndex(index, depth) {
933
+ depth = this.resolveDepth(depth);
934
+ let node = this.path[depth * 3], pos = depth == 0 ? 0 : this.path[depth * 3 - 1] + 1;
935
+ for (let i = 0; i < index; i++)
936
+ pos += node.child(i).nodeSize;
937
+ return pos;
938
+ }
939
+ /**
940
+ Get the marks at this position, factoring in the surrounding
941
+ marks' [`inclusive`](https://prosemirror.net/docs/ref/#model.MarkSpec.inclusive) property. If the
942
+ position is at the start of a non-empty node, the marks of the
943
+ node after it (if any) are returned.
944
+ */
945
+ marks() {
946
+ let parent = this.parent, index = this.index();
947
+ // In an empty parent, return the empty array
948
+ if (parent.content.size == 0)
949
+ return Mark.none;
950
+ // When inside a text node, just return the text node's marks
951
+ if (this.textOffset)
952
+ return parent.child(index).marks;
953
+ let main = parent.maybeChild(index - 1), other = parent.maybeChild(index);
954
+ // If the `after` flag is true of there is no node before, make
955
+ // the node after this position the main reference.
956
+ if (!main) {
957
+ let tmp = main;
958
+ main = other;
959
+ other = tmp;
960
+ }
961
+ // Use all marks in the main node, except those that have
962
+ // `inclusive` set to false and are not present in the other node.
963
+ let marks = main.marks;
964
+ for (var i = 0; i < marks.length; i++)
965
+ if (marks[i].type.spec.inclusive === false && (!other || !marks[i].isInSet(other.marks)))
966
+ marks = marks[i--].removeFromSet(marks);
967
+ return marks;
968
+ }
969
+ /**
970
+ Get the marks after the current position, if any, except those
971
+ that are non-inclusive and not present at position `$end`. This
972
+ is mostly useful for getting the set of marks to preserve after a
973
+ deletion. Will return `null` if this position is at the end of
974
+ its parent node or its parent node isn't a textblock (in which
975
+ case no marks should be preserved).
976
+ */
977
+ marksAcross($end) {
978
+ let after = this.parent.maybeChild(this.index());
979
+ if (!after || !after.isInline)
980
+ return null;
981
+ let marks = after.marks, next = $end.parent.maybeChild($end.index());
982
+ for (var i = 0; i < marks.length; i++)
983
+ if (marks[i].type.spec.inclusive === false && (!next || !marks[i].isInSet(next.marks)))
984
+ marks = marks[i--].removeFromSet(marks);
985
+ return marks;
986
+ }
987
+ /**
988
+ The depth up to which this position and the given (non-resolved)
989
+ position share the same parent nodes.
990
+ */
991
+ sharedDepth(pos) {
992
+ for (let depth = this.depth; depth > 0; depth--)
993
+ if (this.start(depth) <= pos && this.end(depth) >= pos)
994
+ return depth;
995
+ return 0;
996
+ }
997
+ /**
998
+ Returns a range based on the place where this position and the
999
+ given position diverge around block content. If both point into
1000
+ the same textblock, for example, a range around that textblock
1001
+ will be returned. If they point into different blocks, the range
1002
+ around those blocks in their shared ancestor is returned. You can
1003
+ pass in an optional predicate that will be called with a parent
1004
+ node to see if a range into that parent is acceptable.
1005
+ */
1006
+ blockRange(other = this, pred) {
1007
+ if (other.pos < this.pos)
1008
+ return other.blockRange(this);
1009
+ for (let d = this.depth - (this.parent.inlineContent || this.pos == other.pos ? 1 : 0); d >= 0; d--)
1010
+ if (other.pos <= this.end(d) && (!pred || pred(this.node(d))))
1011
+ return new NodeRange(this, other, d);
1012
+ return null;
1013
+ }
1014
+ /**
1015
+ Query whether the given position shares the same parent node.
1016
+ */
1017
+ sameParent(other) {
1018
+ return this.pos - this.parentOffset == other.pos - other.parentOffset;
1019
+ }
1020
+ /**
1021
+ Return the greater of this and the given position.
1022
+ */
1023
+ max(other) {
1024
+ return other.pos > this.pos ? other : this;
1025
+ }
1026
+ /**
1027
+ Return the smaller of this and the given position.
1028
+ */
1029
+ min(other) {
1030
+ return other.pos < this.pos ? other : this;
1031
+ }
1032
+ /**
1033
+ @internal
1034
+ */
1035
+ toString() {
1036
+ let str = "";
1037
+ for (let i = 1; i <= this.depth; i++)
1038
+ str += (str ? "/" : "") + this.node(i).type.name + "_" + this.index(i - 1);
1039
+ return str + ":" + this.parentOffset;
1040
+ }
1041
+ /**
1042
+ @internal
1043
+ */
1044
+ static resolve(doc, pos) {
1045
+ if (!(pos >= 0 && pos <= doc.content.size))
1046
+ throw new RangeError("Position " + pos + " out of range");
1047
+ let path = [];
1048
+ let start = 0, parentOffset = pos;
1049
+ for (let node = doc;;) {
1050
+ let { index, offset } = node.content.findIndex(parentOffset);
1051
+ let rem = parentOffset - offset;
1052
+ path.push(node, index, start + offset);
1053
+ if (!rem)
1054
+ break;
1055
+ node = node.child(index);
1056
+ if (node.isText)
1057
+ break;
1058
+ parentOffset = rem - 1;
1059
+ start += offset + 1;
1060
+ }
1061
+ return new ResolvedPos(pos, path, parentOffset);
1062
+ }
1063
+ /**
1064
+ @internal
1065
+ */
1066
+ static resolveCached(doc, pos) {
1067
+ let cache = resolveCache.get(doc);
1068
+ if (cache) {
1069
+ for (let i = 0; i < cache.elts.length; i++) {
1070
+ let elt = cache.elts[i];
1071
+ if (elt.pos == pos)
1072
+ return elt;
1073
+ }
1074
+ }
1075
+ else {
1076
+ resolveCache.set(doc, cache = new ResolveCache);
1077
+ }
1078
+ let result = cache.elts[cache.i] = ResolvedPos.resolve(doc, pos);
1079
+ cache.i = (cache.i + 1) % resolveCacheSize;
1080
+ return result;
1081
+ }
1082
+ }
1083
+ class ResolveCache {
1084
+ constructor() {
1085
+ this.elts = [];
1086
+ this.i = 0;
1087
+ }
1088
+ }
1089
+ const resolveCacheSize = 12, resolveCache = new WeakMap();
1090
+ /**
1091
+ Represents a flat range of content, i.e. one that starts and
1092
+ ends in the same node.
1093
+ */
1094
+ class NodeRange {
1095
+ /**
1096
+ Construct a node range. `$from` and `$to` should point into the
1097
+ same node until at least the given `depth`, since a node range
1098
+ denotes an adjacent set of nodes in a single parent node.
1099
+ */
1100
+ constructor(
1101
+ /**
1102
+ A resolved position along the start of the content. May have a
1103
+ `depth` greater than this object's `depth` property, since
1104
+ these are the positions that were used to compute the range,
1105
+ not re-resolved positions directly at its boundaries.
1106
+ */
1107
+ $from,
1108
+ /**
1109
+ A position along the end of the content. See
1110
+ caveat for [`$from`](https://prosemirror.net/docs/ref/#model.NodeRange.$from).
1111
+ */
1112
+ $to,
1113
+ /**
1114
+ The depth of the node that this range points into.
1115
+ */
1116
+ depth) {
1117
+ this.$from = $from;
1118
+ this.$to = $to;
1119
+ this.depth = depth;
1120
+ }
1121
+ /**
1122
+ The position at the start of the range.
1123
+ */
1124
+ get start() { return this.$from.before(this.depth + 1); }
1125
+ /**
1126
+ The position at the end of the range.
1127
+ */
1128
+ get end() { return this.$to.after(this.depth + 1); }
1129
+ /**
1130
+ The parent node that the range points into.
1131
+ */
1132
+ get parent() { return this.$from.node(this.depth); }
1133
+ /**
1134
+ The start index of the range in the parent node.
1135
+ */
1136
+ get startIndex() { return this.$from.index(this.depth); }
1137
+ /**
1138
+ The end index of the range in the parent node.
1139
+ */
1140
+ get endIndex() { return this.$to.indexAfter(this.depth); }
1141
+ }
1142
+
1143
+ const emptyAttrs = Object.create(null);
1144
+ /**
1145
+ This class represents a node in the tree that makes up a
1146
+ ProseMirror document. So a document is an instance of `Node`, with
1147
+ children that are also instances of `Node`.
1148
+
1149
+ Nodes are persistent data structures. Instead of changing them, you
1150
+ create new ones with the content you want. Old ones keep pointing
1151
+ at the old document shape. This is made cheaper by sharing
1152
+ structure between the old and new data as much as possible, which a
1153
+ tree shape like this (without back pointers) makes easy.
1154
+
1155
+ **Do not** directly mutate the properties of a `Node` object. See
1156
+ [the guide](https://prosemirror.net/docs/guide/#doc) for more information.
1157
+ */
1158
+ class Node {
1159
+ /**
1160
+ @internal
1161
+ */
1162
+ constructor(
1163
+ /**
1164
+ The type of node that this is.
1165
+ */
1166
+ type,
1167
+ /**
1168
+ An object mapping attribute names to values. The kind of
1169
+ attributes allowed and required are
1170
+ [determined](https://prosemirror.net/docs/ref/#model.NodeSpec.attrs) by the node type.
1171
+ */
1172
+ attrs,
1173
+ // A fragment holding the node's children.
1174
+ content,
1175
+ /**
1176
+ The marks (things like whether it is emphasized or part of a
1177
+ link) applied to this node.
1178
+ */
1179
+ marks = Mark.none) {
1180
+ this.type = type;
1181
+ this.attrs = attrs;
1182
+ this.marks = marks;
1183
+ this.content = content || Fragment.empty;
1184
+ }
1185
+ /**
1186
+ The array of this node's child nodes.
1187
+ */
1188
+ get children() { return this.content.content; }
1189
+ /**
1190
+ The size of this node, as defined by the integer-based [indexing
1191
+ scheme](https://prosemirror.net/docs/guide/#doc.indexing). For text nodes, this is the
1192
+ amount of characters. For other leaf nodes, it is one. For
1193
+ non-leaf nodes, it is the size of the content plus two (the
1194
+ start and end token).
1195
+ */
1196
+ get nodeSize() { return this.isLeaf ? 1 : 2 + this.content.size; }
1197
+ /**
1198
+ The number of children that the node has.
1199
+ */
1200
+ get childCount() { return this.content.childCount; }
1201
+ /**
1202
+ Get the child node at the given index. Raises an error when the
1203
+ index is out of range.
1204
+ */
1205
+ child(index) { return this.content.child(index); }
1206
+ /**
1207
+ Get the child node at the given index, if it exists.
1208
+ */
1209
+ maybeChild(index) { return this.content.maybeChild(index); }
1210
+ /**
1211
+ Call `f` for every child node, passing the node, its offset
1212
+ into this parent node, and its index.
1213
+ */
1214
+ forEach(f) { this.content.forEach(f); }
1215
+ /**
1216
+ Invoke a callback for all descendant nodes recursively overlapping
1217
+ the given two positions that are relative to start of this
1218
+ node's content. This includes all ancestors of the nodes
1219
+ containing the two positions. The callback is invoked with the
1220
+ node, its position relative to the original node (method receiver),
1221
+ its parent node, and its child index. When the callback returns
1222
+ false for a given node, that node's children will not be
1223
+ recursed over. The last parameter can be used to specify a
1224
+ starting position to count from.
1225
+ */
1226
+ nodesBetween(from, to, f, startPos = 0) {
1227
+ this.content.nodesBetween(from, to, f, startPos, this);
1228
+ }
1229
+ /**
1230
+ Call the given callback for every descendant node. Doesn't
1231
+ descend into a node when the callback returns `false`.
1232
+ */
1233
+ descendants(f) {
1234
+ this.nodesBetween(0, this.content.size, f);
1235
+ }
1236
+ /**
1237
+ Concatenates all the text nodes found in this fragment and its
1238
+ children.
1239
+ */
1240
+ get textContent() {
1241
+ return (this.isLeaf && this.type.spec.leafText)
1242
+ ? this.type.spec.leafText(this)
1243
+ : this.textBetween(0, this.content.size, "");
1244
+ }
1245
+ /**
1246
+ Get all text between positions `from` and `to`. When
1247
+ `blockSeparator` is given, it will be inserted to separate text
1248
+ from different block nodes. If `leafText` is given, it'll be
1249
+ inserted for every non-text leaf node encountered, otherwise
1250
+ [`leafText`](https://prosemirror.net/docs/ref/#model.NodeSpec.leafText) will be used.
1251
+ */
1252
+ textBetween(from, to, blockSeparator, leafText) {
1253
+ return this.content.textBetween(from, to, blockSeparator, leafText);
1254
+ }
1255
+ /**
1256
+ Returns this node's first child, or `null` if there are no
1257
+ children.
1258
+ */
1259
+ get firstChild() { return this.content.firstChild; }
1260
+ /**
1261
+ Returns this node's last child, or `null` if there are no
1262
+ children.
1263
+ */
1264
+ get lastChild() { return this.content.lastChild; }
1265
+ /**
1266
+ Test whether two nodes represent the same piece of document.
1267
+ */
1268
+ eq(other) {
1269
+ return this == other || (this.sameMarkup(other) && this.content.eq(other.content));
1270
+ }
1271
+ /**
1272
+ Compare the markup (type, attributes, and marks) of this node to
1273
+ those of another. Returns `true` if both have the same markup.
1274
+ */
1275
+ sameMarkup(other) {
1276
+ return this.hasMarkup(other.type, other.attrs, other.marks);
1277
+ }
1278
+ /**
1279
+ Check whether this node's markup correspond to the given type,
1280
+ attributes, and marks.
1281
+ */
1282
+ hasMarkup(type, attrs, marks) {
1283
+ return this.type == type &&
1284
+ compareDeep(this.attrs, attrs || type.defaultAttrs || emptyAttrs) &&
1285
+ Mark.sameSet(this.marks, marks || Mark.none);
1286
+ }
1287
+ /**
1288
+ Create a new node with the same markup as this node, containing
1289
+ the given content (or empty, if no content is given).
1290
+ */
1291
+ copy(content = null) {
1292
+ if (content == this.content)
1293
+ return this;
1294
+ return new Node(this.type, this.attrs, content, this.marks);
1295
+ }
1296
+ /**
1297
+ Create a copy of this node, with the given set of marks instead
1298
+ of the node's own marks.
1299
+ */
1300
+ mark(marks) {
1301
+ return marks == this.marks ? this : new Node(this.type, this.attrs, this.content, marks);
1302
+ }
1303
+ /**
1304
+ Create a copy of this node with only the content between the
1305
+ given positions. If `to` is not given, it defaults to the end of
1306
+ the node.
1307
+ */
1308
+ cut(from, to = this.content.size) {
1309
+ if (from == 0 && to == this.content.size)
1310
+ return this;
1311
+ return this.copy(this.content.cut(from, to));
1312
+ }
1313
+ /**
1314
+ Cut out the part of the document between the given positions, and
1315
+ return it as a `Slice` object.
1316
+ */
1317
+ slice(from, to = this.content.size, includeParents = false) {
1318
+ if (from == to)
1319
+ return Slice.empty;
1320
+ let $from = this.resolve(from), $to = this.resolve(to);
1321
+ let depth = includeParents ? 0 : $from.sharedDepth(to);
1322
+ let start = $from.start(depth), node = $from.node(depth);
1323
+ let content = node.content.cut($from.pos - start, $to.pos - start);
1324
+ return new Slice(content, $from.depth - depth, $to.depth - depth);
1325
+ }
1326
+ /**
1327
+ Replace the part of the document between the given positions with
1328
+ the given slice. The slice must 'fit', meaning its open sides
1329
+ must be able to connect to the surrounding content, and its
1330
+ content nodes must be valid children for the node they are placed
1331
+ into. If any of this is violated, an error of type
1332
+ [`ReplaceError`](https://prosemirror.net/docs/ref/#model.ReplaceError) is thrown.
1333
+ */
1334
+ replace(from, to, slice) {
1335
+ return replace(this.resolve(from), this.resolve(to), slice);
1336
+ }
1337
+ /**
1338
+ Find the node directly after the given position.
1339
+ */
1340
+ nodeAt(pos) {
1341
+ for (let node = this;;) {
1342
+ let { index, offset } = node.content.findIndex(pos);
1343
+ node = node.maybeChild(index);
1344
+ if (!node)
1345
+ return null;
1346
+ if (offset == pos || node.isText)
1347
+ return node;
1348
+ pos -= offset + 1;
1349
+ }
1350
+ }
1351
+ /**
1352
+ Find the (direct) child node after the given offset, if any,
1353
+ and return it along with its index and offset relative to this
1354
+ node.
1355
+ */
1356
+ childAfter(pos) {
1357
+ let { index, offset } = this.content.findIndex(pos);
1358
+ return { node: this.content.maybeChild(index), index, offset };
1359
+ }
1360
+ /**
1361
+ Find the (direct) child node before the given offset, if any,
1362
+ and return it along with its index and offset relative to this
1363
+ node.
1364
+ */
1365
+ childBefore(pos) {
1366
+ if (pos == 0)
1367
+ return { node: null, index: 0, offset: 0 };
1368
+ let { index, offset } = this.content.findIndex(pos);
1369
+ if (offset < pos)
1370
+ return { node: this.content.child(index), index, offset };
1371
+ let node = this.content.child(index - 1);
1372
+ return { node, index: index - 1, offset: offset - node.nodeSize };
1373
+ }
1374
+ /**
1375
+ Resolve the given position in the document, returning an
1376
+ [object](https://prosemirror.net/docs/ref/#model.ResolvedPos) with information about its context.
1377
+ */
1378
+ resolve(pos) { return ResolvedPos.resolveCached(this, pos); }
1379
+ /**
1380
+ @internal
1381
+ */
1382
+ resolveNoCache(pos) { return ResolvedPos.resolve(this, pos); }
1383
+ /**
1384
+ Test whether a given mark or mark type occurs in this document
1385
+ between the two given positions.
1386
+ */
1387
+ rangeHasMark(from, to, type) {
1388
+ let found = false;
1389
+ if (to > from)
1390
+ this.nodesBetween(from, to, node => {
1391
+ if (type.isInSet(node.marks))
1392
+ found = true;
1393
+ return !found;
1394
+ });
1395
+ return found;
1396
+ }
1397
+ /**
1398
+ True when this is a block (non-inline node)
1399
+ */
1400
+ get isBlock() { return this.type.isBlock; }
1401
+ /**
1402
+ True when this is a textblock node, a block node with inline
1403
+ content.
1404
+ */
1405
+ get isTextblock() { return this.type.isTextblock; }
1406
+ /**
1407
+ True when this node allows inline content.
1408
+ */
1409
+ get inlineContent() { return this.type.inlineContent; }
1410
+ /**
1411
+ True when this is an inline node (a text node or a node that can
1412
+ appear among text).
1413
+ */
1414
+ get isInline() { return this.type.isInline; }
1415
+ /**
1416
+ True when this is a text node.
1417
+ */
1418
+ get isText() { return this.type.isText; }
1419
+ /**
1420
+ True when this is a leaf node.
1421
+ */
1422
+ get isLeaf() { return this.type.isLeaf; }
1423
+ /**
1424
+ True when this is an atom, i.e. when it does not have directly
1425
+ editable content. This is usually the same as `isLeaf`, but can
1426
+ be configured with the [`atom` property](https://prosemirror.net/docs/ref/#model.NodeSpec.atom)
1427
+ on a node's spec (typically used when the node is displayed as
1428
+ an uneditable [node view](https://prosemirror.net/docs/ref/#view.NodeView)).
1429
+ */
1430
+ get isAtom() { return this.type.isAtom; }
1431
+ /**
1432
+ Return a string representation of this node for debugging
1433
+ purposes.
1434
+ */
1435
+ toString() {
1436
+ if (this.type.spec.toDebugString)
1437
+ return this.type.spec.toDebugString(this);
1438
+ let name = this.type.name;
1439
+ if (this.content.size)
1440
+ name += "(" + this.content.toStringInner() + ")";
1441
+ return wrapMarks(this.marks, name);
1442
+ }
1443
+ /**
1444
+ Get the content match in this node at the given index.
1445
+ */
1446
+ contentMatchAt(index) {
1447
+ let match = this.type.contentMatch.matchFragment(this.content, 0, index);
1448
+ if (!match)
1449
+ throw new Error("Called contentMatchAt on a node with invalid content");
1450
+ return match;
1451
+ }
1452
+ /**
1453
+ Test whether replacing the range between `from` and `to` (by
1454
+ child index) with the given replacement fragment (which defaults
1455
+ to the empty fragment) would leave the node's content valid. You
1456
+ can optionally pass `start` and `end` indices into the
1457
+ replacement fragment.
1458
+ */
1459
+ canReplace(from, to, replacement = Fragment.empty, start = 0, end = replacement.childCount) {
1460
+ let one = this.contentMatchAt(from).matchFragment(replacement, start, end);
1461
+ let two = one && one.matchFragment(this.content, to);
1462
+ if (!two || !two.validEnd)
1463
+ return false;
1464
+ for (let i = start; i < end; i++)
1465
+ if (!this.type.allowsMarks(replacement.child(i).marks))
1466
+ return false;
1467
+ return true;
1468
+ }
1469
+ /**
1470
+ Test whether replacing the range `from` to `to` (by index) with
1471
+ a node of the given type would leave the node's content valid.
1472
+ */
1473
+ canReplaceWith(from, to, type, marks) {
1474
+ if (marks && !this.type.allowsMarks(marks))
1475
+ return false;
1476
+ let start = this.contentMatchAt(from).matchType(type);
1477
+ let end = start && start.matchFragment(this.content, to);
1478
+ return end ? end.validEnd : false;
1479
+ }
1480
+ /**
1481
+ Test whether the given node's content could be appended to this
1482
+ node. If that node is empty, this will only return true if there
1483
+ is at least one node type that can appear in both nodes (to avoid
1484
+ merging completely incompatible nodes).
1485
+ */
1486
+ canAppend(other) {
1487
+ if (other.content.size)
1488
+ return this.canReplace(this.childCount, this.childCount, other.content);
1489
+ else
1490
+ return this.type.compatibleContent(other.type);
1491
+ }
1492
+ /**
1493
+ Check whether this node and its descendants conform to the
1494
+ schema, and raise an exception when they do not.
1495
+ */
1496
+ check() {
1497
+ this.type.checkContent(this.content);
1498
+ checkAttrs(this.type.attrs, this.attrs, "node", this.type.name);
1499
+ let copy = Mark.none;
1500
+ for (let i = 0; i < this.marks.length; i++) {
1501
+ let mark = this.marks[i];
1502
+ checkAttrs(mark.type.attrs, mark.attrs, "mark", mark.type.name);
1503
+ copy = mark.addToSet(copy);
1504
+ }
1505
+ if (!Mark.sameSet(copy, this.marks))
1506
+ throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(m => m.type.name)}`);
1507
+ this.content.forEach(node => node.check());
1508
+ }
1509
+ /**
1510
+ Return a JSON-serializeable representation of this node.
1511
+ */
1512
+ toJSON() {
1513
+ let obj = { type: this.type.name };
1514
+ for (let _ in this.attrs) {
1515
+ obj.attrs = this.attrs;
1516
+ break;
1517
+ }
1518
+ if (this.content.size)
1519
+ obj.content = this.content.toJSON();
1520
+ if (this.marks.length)
1521
+ obj.marks = this.marks.map(n => n.toJSON());
1522
+ return obj;
1523
+ }
1524
+ /**
1525
+ Deserialize a node from its JSON representation.
1526
+ */
1527
+ static fromJSON(schema, json) {
1528
+ if (!json)
1529
+ throw new RangeError("Invalid input for Node.fromJSON");
1530
+ let marks = undefined;
1531
+ if (json.marks) {
1532
+ if (!Array.isArray(json.marks))
1533
+ throw new RangeError("Invalid mark data for Node.fromJSON");
1534
+ marks = json.marks.map(schema.markFromJSON);
1535
+ }
1536
+ if (json.type == "text") {
1537
+ if (typeof json.text != "string")
1538
+ throw new RangeError("Invalid text node in JSON");
1539
+ return schema.text(json.text, marks);
1540
+ }
1541
+ let content = Fragment.fromJSON(schema, json.content);
1542
+ let node = schema.nodeType(json.type).create(json.attrs, content, marks);
1543
+ return node;
1544
+ }
1545
+ }
1546
+ Node.prototype.text = undefined;
1547
+ class TextNode extends Node {
1548
+ /**
1549
+ @internal
1550
+ */
1551
+ constructor(type, attrs, content, marks) {
1552
+ super(type, attrs, null, marks);
1553
+ if (!content)
1554
+ throw new RangeError("Empty text nodes are not allowed");
1555
+ this.text = content;
1556
+ }
1557
+ toString() {
1558
+ if (this.type.spec.toDebugString)
1559
+ return this.type.spec.toDebugString(this);
1560
+ return wrapMarks(this.marks, JSON.stringify(this.text));
1561
+ }
1562
+ get textContent() { return this.text; }
1563
+ textBetween(from, to) { return this.text.slice(from, to); }
1564
+ get nodeSize() { return this.text.length; }
1565
+ mark(marks) {
1566
+ return marks == this.marks ? this : new TextNode(this.type, this.attrs, this.text, marks);
1567
+ }
1568
+ withText(text) {
1569
+ if (text == this.text)
1570
+ return this;
1571
+ return new TextNode(this.type, this.attrs, text, this.marks);
1572
+ }
1573
+ cut(from = 0, to = this.text.length) {
1574
+ if (from == 0 && to == this.text.length)
1575
+ return this;
1576
+ return this.withText(this.text.slice(from, to));
1577
+ }
1578
+ eq(other) {
1579
+ return this.sameMarkup(other) && this.text == other.text;
1580
+ }
1581
+ toJSON() {
1582
+ let base = super.toJSON();
1583
+ base.text = this.text;
1584
+ return base;
1585
+ }
1586
+ }
1587
+ function wrapMarks(marks, str) {
1588
+ for (let i = marks.length - 1; i >= 0; i--)
1589
+ str = marks[i].type.name + "(" + str + ")";
1590
+ return str;
1591
+ }
1592
+ function checkAttrs(attrs, values, type, name) {
1593
+ for (let attr in values)
1594
+ if (!(attr in attrs))
1595
+ throw new RangeError(`Unsupported attribute ${attr} for ${type} of type ${name}`);
1596
+ for (let attr in attrs) {
1597
+ if (attrs[attr].validate)
1598
+ attrs[attr].validate(values[attr]);
1599
+ }
1600
+ }
1601
+
1602
+ /**
1603
+ Instances of this class represent a match state of a node type's
1604
+ [content expression](https://prosemirror.net/docs/ref/#model.NodeSpec.content), and can be used to
1605
+ find out whether further content matches here, and whether a given
1606
+ position is a valid end of the node.
1607
+ */
1608
+ class ContentMatch {
1609
+ /**
1610
+ @internal
1611
+ */
1612
+ constructor(
1613
+ /**
1614
+ True when this match state represents a valid end of the node.
1615
+ */
1616
+ validEnd) {
1617
+ this.validEnd = validEnd;
1618
+ /**
1619
+ @internal
1620
+ */
1621
+ this.next = [];
1622
+ /**
1623
+ @internal
1624
+ */
1625
+ this.wrapCache = [];
1626
+ }
1627
+ /**
1628
+ @internal
1629
+ */
1630
+ static parse(string, nodeTypes) {
1631
+ let stream = new TokenStream(string, nodeTypes);
1632
+ if (stream.next == null)
1633
+ return ContentMatch.empty;
1634
+ let expr = parseExpr(stream);
1635
+ if (stream.next)
1636
+ stream.err("Unexpected trailing text");
1637
+ let match = dfa(nfa(expr));
1638
+ checkForDeadEnds(match, stream);
1639
+ return match;
1640
+ }
1641
+ /**
1642
+ Match a node type, returning a match after that node if
1643
+ successful.
1644
+ */
1645
+ matchType(type) {
1646
+ for (let i = 0; i < this.next.length; i++)
1647
+ if (this.next[i].type == type)
1648
+ return this.next[i].next;
1649
+ return null;
1650
+ }
1651
+ /**
1652
+ Try to match a fragment. Returns the resulting match when
1653
+ successful.
1654
+ */
1655
+ matchFragment(frag, start = 0, end = frag.childCount) {
1656
+ let cur = this;
1657
+ for (let i = start; cur && i < end; i++)
1658
+ cur = cur.matchType(frag.child(i).type);
1659
+ return cur;
1660
+ }
1661
+ /**
1662
+ @internal
1663
+ */
1664
+ get inlineContent() {
1665
+ return this.next.length != 0 && this.next[0].type.isInline;
1666
+ }
1667
+ /**
1668
+ Get the first matching node type at this match position that can
1669
+ be generated.
1670
+ */
1671
+ get defaultType() {
1672
+ for (let i = 0; i < this.next.length; i++) {
1673
+ let { type } = this.next[i];
1674
+ if (!(type.isText || type.hasRequiredAttrs()))
1675
+ return type;
1676
+ }
1677
+ return null;
1678
+ }
1679
+ /**
1680
+ @internal
1681
+ */
1682
+ compatible(other) {
1683
+ for (let i = 0; i < this.next.length; i++)
1684
+ for (let j = 0; j < other.next.length; j++)
1685
+ if (this.next[i].type == other.next[j].type)
1686
+ return true;
1687
+ return false;
1688
+ }
1689
+ /**
1690
+ Try to match the given fragment, and if that fails, see if it can
1691
+ be made to match by inserting nodes in front of it. When
1692
+ successful, return a fragment of inserted nodes (which may be
1693
+ empty if nothing had to be inserted). When `toEnd` is true, only
1694
+ return a fragment if the resulting match goes to the end of the
1695
+ content expression.
1696
+ */
1697
+ fillBefore(after, toEnd = false, startIndex = 0) {
1698
+ let seen = [this];
1699
+ function search(match, types) {
1700
+ let finished = match.matchFragment(after, startIndex);
1701
+ if (finished && (!toEnd || finished.validEnd))
1702
+ return Fragment.from(types.map(tp => tp.createAndFill()));
1703
+ for (let i = 0; i < match.next.length; i++) {
1704
+ let { type, next } = match.next[i];
1705
+ if (!(type.isText || type.hasRequiredAttrs()) && seen.indexOf(next) == -1) {
1706
+ seen.push(next);
1707
+ let found = search(next, types.concat(type));
1708
+ if (found)
1709
+ return found;
1710
+ }
1711
+ }
1712
+ return null;
1713
+ }
1714
+ return search(this, []);
1715
+ }
1716
+ /**
1717
+ Find a set of wrapping node types that would allow a node of the
1718
+ given type to appear at this position. The result may be empty
1719
+ (when it fits directly) and will be null when no such wrapping
1720
+ exists.
1721
+ */
1722
+ findWrapping(target) {
1723
+ for (let i = 0; i < this.wrapCache.length; i += 2)
1724
+ if (this.wrapCache[i] == target)
1725
+ return this.wrapCache[i + 1];
1726
+ let computed = this.computeWrapping(target);
1727
+ this.wrapCache.push(target, computed);
1728
+ return computed;
1729
+ }
1730
+ /**
1731
+ @internal
1732
+ */
1733
+ computeWrapping(target) {
1734
+ let seen = Object.create(null), active = [{ match: this, type: null, via: null }];
1735
+ while (active.length) {
1736
+ let current = active.shift(), match = current.match;
1737
+ if (match.matchType(target)) {
1738
+ let result = [];
1739
+ for (let obj = current; obj.type; obj = obj.via)
1740
+ result.push(obj.type);
1741
+ return result.reverse();
1742
+ }
1743
+ for (let i = 0; i < match.next.length; i++) {
1744
+ let { type, next } = match.next[i];
1745
+ if (!type.isLeaf && !type.hasRequiredAttrs() && !(type.name in seen) && (!current.type || next.validEnd)) {
1746
+ active.push({ match: type.contentMatch, type, via: current });
1747
+ seen[type.name] = true;
1748
+ }
1749
+ }
1750
+ }
1751
+ return null;
1752
+ }
1753
+ /**
1754
+ The number of outgoing edges this node has in the finite
1755
+ automaton that describes the content expression.
1756
+ */
1757
+ get edgeCount() {
1758
+ return this.next.length;
1759
+ }
1760
+ /**
1761
+ Get the _n_​th outgoing edge from this node in the finite
1762
+ automaton that describes the content expression.
1763
+ */
1764
+ edge(n) {
1765
+ if (n >= this.next.length)
1766
+ throw new RangeError(`There's no ${n}th edge in this content match`);
1767
+ return this.next[n];
1768
+ }
1769
+ /**
1770
+ @internal
1771
+ */
1772
+ toString() {
1773
+ let seen = [];
1774
+ function scan(m) {
1775
+ seen.push(m);
1776
+ for (let i = 0; i < m.next.length; i++)
1777
+ if (seen.indexOf(m.next[i].next) == -1)
1778
+ scan(m.next[i].next);
1779
+ }
1780
+ scan(this);
1781
+ return seen.map((m, i) => {
1782
+ let out = i + (m.validEnd ? "*" : " ") + " ";
1783
+ for (let i = 0; i < m.next.length; i++)
1784
+ out += (i ? ", " : "") + m.next[i].type.name + "->" + seen.indexOf(m.next[i].next);
1785
+ return out;
1786
+ }).join("\n");
1787
+ }
1788
+ }
1789
+ /**
1790
+ @internal
1791
+ */
1792
+ ContentMatch.empty = new ContentMatch(true);
1793
+ class TokenStream {
1794
+ constructor(string, nodeTypes) {
1795
+ this.string = string;
1796
+ this.nodeTypes = nodeTypes;
1797
+ this.inline = null;
1798
+ this.pos = 0;
1799
+ this.tokens = string.split(/\s*(?=\b|\W|$)/);
1800
+ if (this.tokens[this.tokens.length - 1] == "")
1801
+ this.tokens.pop();
1802
+ if (this.tokens[0] == "")
1803
+ this.tokens.shift();
1804
+ }
1805
+ get next() { return this.tokens[this.pos]; }
1806
+ eat(tok) { return this.next == tok && (this.pos++ || true); }
1807
+ err(str) { throw new SyntaxError(str + " (in content expression '" + this.string + "')"); }
1808
+ }
1809
+ function parseExpr(stream) {
1810
+ let exprs = [];
1811
+ do {
1812
+ exprs.push(parseExprSeq(stream));
1813
+ } while (stream.eat("|"));
1814
+ return exprs.length == 1 ? exprs[0] : { type: "choice", exprs };
1815
+ }
1816
+ function parseExprSeq(stream) {
1817
+ let exprs = [];
1818
+ do {
1819
+ exprs.push(parseExprSubscript(stream));
1820
+ } while (stream.next && stream.next != ")" && stream.next != "|");
1821
+ return exprs.length == 1 ? exprs[0] : { type: "seq", exprs };
1822
+ }
1823
+ function parseExprSubscript(stream) {
1824
+ let expr = parseExprAtom(stream);
1825
+ for (;;) {
1826
+ if (stream.eat("+"))
1827
+ expr = { type: "plus", expr };
1828
+ else if (stream.eat("*"))
1829
+ expr = { type: "star", expr };
1830
+ else if (stream.eat("?"))
1831
+ expr = { type: "opt", expr };
1832
+ else if (stream.eat("{"))
1833
+ expr = parseExprRange(stream, expr);
1834
+ else
1835
+ break;
1836
+ }
1837
+ return expr;
1838
+ }
1839
+ function parseNum(stream) {
1840
+ if (/\D/.test(stream.next))
1841
+ stream.err("Expected number, got '" + stream.next + "'");
1842
+ let result = Number(stream.next);
1843
+ stream.pos++;
1844
+ return result;
1845
+ }
1846
+ function parseExprRange(stream, expr) {
1847
+ let min = parseNum(stream), max = min;
1848
+ if (stream.eat(",")) {
1849
+ if (stream.next != "}")
1850
+ max = parseNum(stream);
1851
+ else
1852
+ max = -1;
1853
+ }
1854
+ if (!stream.eat("}"))
1855
+ stream.err("Unclosed braced range");
1856
+ return { type: "range", min, max, expr };
1857
+ }
1858
+ function resolveName(stream, name) {
1859
+ let types = stream.nodeTypes, type = types[name];
1860
+ if (type)
1861
+ return [type];
1862
+ let result = [];
1863
+ for (let typeName in types) {
1864
+ let type = types[typeName];
1865
+ if (type.isInGroup(name))
1866
+ result.push(type);
1867
+ }
1868
+ if (result.length == 0)
1869
+ stream.err("No node type or group '" + name + "' found");
1870
+ return result;
1871
+ }
1872
+ function parseExprAtom(stream) {
1873
+ if (stream.eat("(")) {
1874
+ let expr = parseExpr(stream);
1875
+ if (!stream.eat(")"))
1876
+ stream.err("Missing closing paren");
1877
+ return expr;
1878
+ }
1879
+ else if (!/\W/.test(stream.next)) {
1880
+ let exprs = resolveName(stream, stream.next).map(type => {
1881
+ if (stream.inline == null)
1882
+ stream.inline = type.isInline;
1883
+ else if (stream.inline != type.isInline)
1884
+ stream.err("Mixing inline and block content");
1885
+ return { type: "name", value: type };
1886
+ });
1887
+ stream.pos++;
1888
+ return exprs.length == 1 ? exprs[0] : { type: "choice", exprs };
1889
+ }
1890
+ else {
1891
+ stream.err("Unexpected token '" + stream.next + "'");
1892
+ }
1893
+ }
1894
+ // Construct an NFA from an expression as returned by the parser. The
1895
+ // NFA is represented as an array of states, which are themselves
1896
+ // arrays of edges, which are `{term, to}` objects. The first state is
1897
+ // the entry state and the last node is the success state.
1898
+ //
1899
+ // Note that unlike typical NFAs, the edge ordering in this one is
1900
+ // significant, in that it is used to contruct filler content when
1901
+ // necessary.
1902
+ function nfa(expr) {
1903
+ let nfa = [[]];
1904
+ connect(compile(expr, 0), node());
1905
+ return nfa;
1906
+ function node() { return nfa.push([]) - 1; }
1907
+ function edge(from, to, term) {
1908
+ let edge = { term, to };
1909
+ nfa[from].push(edge);
1910
+ return edge;
1911
+ }
1912
+ function connect(edges, to) {
1913
+ edges.forEach(edge => edge.to = to);
1914
+ }
1915
+ function compile(expr, from) {
1916
+ if (expr.type == "choice") {
1917
+ return expr.exprs.reduce((out, expr) => out.concat(compile(expr, from)), []);
1918
+ }
1919
+ else if (expr.type == "seq") {
1920
+ for (let i = 0;; i++) {
1921
+ let next = compile(expr.exprs[i], from);
1922
+ if (i == expr.exprs.length - 1)
1923
+ return next;
1924
+ connect(next, from = node());
1925
+ }
1926
+ }
1927
+ else if (expr.type == "star") {
1928
+ let loop = node();
1929
+ edge(from, loop);
1930
+ connect(compile(expr.expr, loop), loop);
1931
+ return [edge(loop)];
1932
+ }
1933
+ else if (expr.type == "plus") {
1934
+ let loop = node();
1935
+ connect(compile(expr.expr, from), loop);
1936
+ connect(compile(expr.expr, loop), loop);
1937
+ return [edge(loop)];
1938
+ }
1939
+ else if (expr.type == "opt") {
1940
+ return [edge(from)].concat(compile(expr.expr, from));
1941
+ }
1942
+ else if (expr.type == "range") {
1943
+ let cur = from;
1944
+ for (let i = 0; i < expr.min; i++) {
1945
+ let next = node();
1946
+ connect(compile(expr.expr, cur), next);
1947
+ cur = next;
1948
+ }
1949
+ if (expr.max == -1) {
1950
+ connect(compile(expr.expr, cur), cur);
1951
+ }
1952
+ else {
1953
+ for (let i = expr.min; i < expr.max; i++) {
1954
+ let next = node();
1955
+ edge(cur, next);
1956
+ connect(compile(expr.expr, cur), next);
1957
+ cur = next;
1958
+ }
1959
+ }
1960
+ return [edge(cur)];
1961
+ }
1962
+ else if (expr.type == "name") {
1963
+ return [edge(from, undefined, expr.value)];
1964
+ }
1965
+ else {
1966
+ throw new Error("Unknown expr type");
1967
+ }
1968
+ }
1969
+ }
1970
+ function cmp(a, b) { return b - a; }
1971
+ // Get the set of nodes reachable by null edges from `node`. Omit
1972
+ // nodes with only a single null-out-edge, since they may lead to
1973
+ // needless duplicated nodes.
1974
+ function nullFrom(nfa, node) {
1975
+ let result = [];
1976
+ scan(node);
1977
+ return result.sort(cmp);
1978
+ function scan(node) {
1979
+ let edges = nfa[node];
1980
+ if (edges.length == 1 && !edges[0].term)
1981
+ return scan(edges[0].to);
1982
+ result.push(node);
1983
+ for (let i = 0; i < edges.length; i++) {
1984
+ let { term, to } = edges[i];
1985
+ if (!term && result.indexOf(to) == -1)
1986
+ scan(to);
1987
+ }
1988
+ }
1989
+ }
1990
+ // Compiles an NFA as produced by `nfa` into a DFA, modeled as a set
1991
+ // of state objects (`ContentMatch` instances) with transitions
1992
+ // between them.
1993
+ function dfa(nfa) {
1994
+ let labeled = Object.create(null);
1995
+ return explore(nullFrom(nfa, 0));
1996
+ function explore(states) {
1997
+ let out = [];
1998
+ states.forEach(node => {
1999
+ nfa[node].forEach(({ term, to }) => {
2000
+ if (!term)
2001
+ return;
2002
+ let set;
2003
+ for (let i = 0; i < out.length; i++)
2004
+ if (out[i][0] == term)
2005
+ set = out[i][1];
2006
+ nullFrom(nfa, to).forEach(node => {
2007
+ if (!set)
2008
+ out.push([term, set = []]);
2009
+ if (set.indexOf(node) == -1)
2010
+ set.push(node);
2011
+ });
2012
+ });
2013
+ });
2014
+ let state = labeled[states.join(",")] = new ContentMatch(states.indexOf(nfa.length - 1) > -1);
2015
+ for (let i = 0; i < out.length; i++) {
2016
+ let states = out[i][1].sort(cmp);
2017
+ state.next.push({ type: out[i][0], next: labeled[states.join(",")] || explore(states) });
2018
+ }
2019
+ return state;
2020
+ }
2021
+ }
2022
+ function checkForDeadEnds(match, stream) {
2023
+ for (let i = 0, work = [match]; i < work.length; i++) {
2024
+ let state = work[i], dead = !state.validEnd, nodes = [];
2025
+ for (let j = 0; j < state.next.length; j++) {
2026
+ let { type, next } = state.next[j];
2027
+ nodes.push(type.name);
2028
+ if (dead && !(type.isText || type.hasRequiredAttrs()))
2029
+ dead = false;
2030
+ if (work.indexOf(next) == -1)
2031
+ work.push(next);
2032
+ }
2033
+ if (dead)
2034
+ stream.err("Only non-generatable nodes (" + nodes.join(", ") + ") in a required position (see https://prosemirror.net/docs/guide/#generatable)");
2035
+ }
2036
+ }
2037
+
2038
+ // For node types where all attrs have a default value (or which don't
2039
+ // have any attributes), build up a single reusable default attribute
2040
+ // object, and use it for all nodes that don't specify specific
2041
+ // attributes.
2042
+ function defaultAttrs(attrs) {
2043
+ let defaults = Object.create(null);
2044
+ for (let attrName in attrs) {
2045
+ let attr = attrs[attrName];
2046
+ if (!attr.hasDefault)
2047
+ return null;
2048
+ defaults[attrName] = attr.default;
2049
+ }
2050
+ return defaults;
2051
+ }
2052
+ function computeAttrs(attrs, value) {
2053
+ let built = Object.create(null);
2054
+ for (let name in attrs) {
2055
+ let attr = attrs[name];
2056
+ let given = value && value[name];
2057
+ if (given === undefined) {
2058
+ if (attr.hasDefault)
2059
+ given = attr.default;
2060
+ else
2061
+ throw new RangeError("No value supplied for attribute " + name);
2062
+ }
2063
+ else if (attr.validate) {
2064
+ attr.validate(given);
2065
+ }
2066
+ built[name] = given;
2067
+ }
2068
+ return built;
2069
+ }
2070
+ function initAttrs(typeName, attrs) {
2071
+ let result = Object.create(null);
2072
+ if (attrs)
2073
+ for (let name in attrs)
2074
+ result[name] = new Attribute(typeName, name, attrs[name]);
2075
+ return result;
2076
+ }
2077
+ /**
2078
+ Node types are objects allocated once per `Schema` and used to
2079
+ [tag](https://prosemirror.net/docs/ref/#model.Node.type) `Node` instances. They contain information
2080
+ about the node type, such as its name and what kind of node it
2081
+ represents.
2082
+ */
2083
+ class NodeType {
2084
+ /**
2085
+ @internal
2086
+ */
2087
+ constructor(
2088
+ /**
2089
+ The name the node type has in this schema.
2090
+ */
2091
+ name,
2092
+ /**
2093
+ A link back to the `Schema` the node type belongs to.
2094
+ */
2095
+ schema,
2096
+ /**
2097
+ The spec that this type is based on
2098
+ */
2099
+ spec) {
2100
+ this.name = name;
2101
+ this.schema = schema;
2102
+ this.spec = spec;
2103
+ /**
2104
+ The set of marks allowed in this node. `null` means all marks
2105
+ are allowed.
2106
+ */
2107
+ this.markSet = null;
2108
+ this.groups = spec.group ? spec.group.split(" ") : [];
2109
+ this.attrs = initAttrs(name, spec.attrs);
2110
+ this.defaultAttrs = defaultAttrs(this.attrs);
2111
+ this.contentMatch = null;
2112
+ this.inlineContent = null;
2113
+ this.isBlock = !(spec.inline || name == "text");
2114
+ this.isText = name == "text";
2115
+ }
2116
+ /**
2117
+ True if this is an inline type.
2118
+ */
2119
+ get isInline() { return !this.isBlock; }
2120
+ /**
2121
+ True if this is a textblock type, a block that contains inline
2122
+ content.
2123
+ */
2124
+ get isTextblock() { return this.isBlock && this.inlineContent; }
2125
+ /**
2126
+ True for node types that allow no content.
2127
+ */
2128
+ get isLeaf() { return this.contentMatch == ContentMatch.empty; }
2129
+ /**
2130
+ True when this node is an atom, i.e. when it does not have
2131
+ directly editable content.
2132
+ */
2133
+ get isAtom() { return this.isLeaf || !!this.spec.atom; }
2134
+ /**
2135
+ Return true when this node type is part of the given
2136
+ [group](https://prosemirror.net/docs/ref/#model.NodeSpec.group).
2137
+ */
2138
+ isInGroup(group) {
2139
+ return this.groups.indexOf(group) > -1;
2140
+ }
2141
+ /**
2142
+ The node type's [whitespace](https://prosemirror.net/docs/ref/#model.NodeSpec.whitespace) option.
2143
+ */
2144
+ get whitespace() {
2145
+ return this.spec.whitespace || (this.spec.code ? "pre" : "normal");
2146
+ }
2147
+ /**
2148
+ Tells you whether this node type has any required attributes.
2149
+ */
2150
+ hasRequiredAttrs() {
2151
+ for (let n in this.attrs)
2152
+ if (this.attrs[n].isRequired)
2153
+ return true;
2154
+ return false;
2155
+ }
2156
+ /**
2157
+ Indicates whether this node allows some of the same content as
2158
+ the given node type.
2159
+ */
2160
+ compatibleContent(other) {
2161
+ return this == other || this.contentMatch.compatible(other.contentMatch);
2162
+ }
2163
+ /**
2164
+ @internal
2165
+ */
2166
+ computeAttrs(attrs) {
2167
+ if (!attrs && this.defaultAttrs)
2168
+ return this.defaultAttrs;
2169
+ else
2170
+ return computeAttrs(this.attrs, attrs);
2171
+ }
2172
+ /**
2173
+ Create a `Node` of this type. The given attributes are
2174
+ checked and defaulted (you can pass `null` to use the type's
2175
+ defaults entirely, if no required attributes exist). `content`
2176
+ may be a `Fragment`, a node, an array of nodes, or
2177
+ `null`. Similarly `marks` may be `null` to default to the empty
2178
+ set of marks.
2179
+ */
2180
+ create(attrs = null, content, marks) {
2181
+ if (this.isText)
2182
+ throw new Error("NodeType.create can't construct text nodes");
2183
+ return new Node(this, this.computeAttrs(attrs), Fragment.from(content), Mark.setFrom(marks));
2184
+ }
2185
+ /**
2186
+ Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
2187
+ against the node type's content restrictions, and throw an error
2188
+ if it doesn't match.
2189
+ */
2190
+ createChecked(attrs = null, content, marks) {
2191
+ content = Fragment.from(content);
2192
+ this.checkContent(content);
2193
+ return new Node(this, this.computeAttrs(attrs), content, Mark.setFrom(marks));
2194
+ }
2195
+ /**
2196
+ Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
2197
+ necessary to add nodes to the start or end of the given fragment
2198
+ to make it fit the node. If no fitting wrapping can be found,
2199
+ return null. Note that, due to the fact that required nodes can
2200
+ always be created, this will always succeed if you pass null or
2201
+ `Fragment.empty` as content.
2202
+ */
2203
+ createAndFill(attrs = null, content, marks) {
2204
+ attrs = this.computeAttrs(attrs);
2205
+ content = Fragment.from(content);
2206
+ if (content.size) {
2207
+ let before = this.contentMatch.fillBefore(content);
2208
+ if (!before)
2209
+ return null;
2210
+ content = before.append(content);
2211
+ }
2212
+ let matched = this.contentMatch.matchFragment(content);
2213
+ let after = matched && matched.fillBefore(Fragment.empty, true);
2214
+ if (!after)
2215
+ return null;
2216
+ return new Node(this, attrs, content.append(after), Mark.setFrom(marks));
2217
+ }
2218
+ /**
2219
+ Returns true if the given fragment is valid content for this node
2220
+ type.
2221
+ */
2222
+ validContent(content) {
2223
+ let result = this.contentMatch.matchFragment(content);
2224
+ if (!result || !result.validEnd)
2225
+ return false;
2226
+ for (let i = 0; i < content.childCount; i++)
2227
+ if (!this.allowsMarks(content.child(i).marks))
2228
+ return false;
2229
+ return true;
2230
+ }
2231
+ /**
2232
+ Throws a RangeError if the given fragment is not valid content for this
2233
+ node type.
2234
+ @internal
2235
+ */
2236
+ checkContent(content) {
2237
+ if (!this.validContent(content))
2238
+ throw new RangeError(`Invalid content for node ${this.name}: ${content.toString().slice(0, 50)}`);
2239
+ }
2240
+ /**
2241
+ @internal no longer useful, but called by old prosemirror-view versions
2242
+ */
2243
+ checkAttrs(attrs) { }
2244
+ /**
2245
+ Check whether the given mark type is allowed in this node.
2246
+ */
2247
+ allowsMarkType(markType) {
2248
+ return this.markSet == null || this.markSet.indexOf(markType) > -1;
2249
+ }
2250
+ /**
2251
+ Test whether the given set of marks are allowed in this node.
2252
+ */
2253
+ allowsMarks(marks) {
2254
+ if (this.markSet == null)
2255
+ return true;
2256
+ for (let i = 0; i < marks.length; i++)
2257
+ if (!this.allowsMarkType(marks[i].type))
2258
+ return false;
2259
+ return true;
2260
+ }
2261
+ /**
2262
+ Removes the marks that are not allowed in this node from the given set.
2263
+ */
2264
+ allowedMarks(marks) {
2265
+ if (this.markSet == null)
2266
+ return marks;
2267
+ let copy;
2268
+ for (let i = 0; i < marks.length; i++) {
2269
+ if (!this.allowsMarkType(marks[i].type)) {
2270
+ if (!copy)
2271
+ copy = marks.slice(0, i);
2272
+ }
2273
+ else if (copy) {
2274
+ copy.push(marks[i]);
2275
+ }
2276
+ }
2277
+ return !copy ? marks : copy.length ? copy : Mark.none;
2278
+ }
2279
+ /**
2280
+ @internal
2281
+ */
2282
+ static compile(nodes, schema) {
2283
+ let result = Object.create(null);
2284
+ nodes.forEach((name, spec) => result[name] = new NodeType(name, schema, spec));
2285
+ let topType = schema.spec.topNode || "doc";
2286
+ if (!result[topType])
2287
+ throw new RangeError("Schema is missing its top node type ('" + topType + "')");
2288
+ if (!result.text)
2289
+ throw new RangeError("Every schema needs a 'text' type");
2290
+ for (let _ in result.text.attrs)
2291
+ throw new RangeError("The text node type should not have attributes");
2292
+ return result;
2293
+ }
2294
+ }
2295
+ function validateType(typeName, attrName, type) {
2296
+ let types = type.split("|");
2297
+ return (value) => {
2298
+ let name = value === null ? "null" : typeof value;
2299
+ if (types.indexOf(name) < 0)
2300
+ throw new RangeError(`Expected value of type ${types} for attribute ${attrName} on type ${typeName}, got ${name}`);
2301
+ };
2302
+ }
2303
+ // Attribute descriptors
2304
+ class Attribute {
2305
+ constructor(typeName, attrName, options) {
2306
+ this.hasDefault = Object.prototype.hasOwnProperty.call(options, "default");
2307
+ this.default = options.default;
2308
+ this.validate = typeof options.validate == "string" ? validateType(typeName, attrName, options.validate) : options.validate;
2309
+ }
2310
+ get isRequired() {
2311
+ return !this.hasDefault;
2312
+ }
2313
+ }
2314
+ // Marks
2315
+ /**
2316
+ Like nodes, marks (which are associated with nodes to signify
2317
+ things like emphasis or being part of a link) are
2318
+ [tagged](https://prosemirror.net/docs/ref/#model.Mark.type) with type objects, which are
2319
+ instantiated once per `Schema`.
2320
+ */
2321
+ class MarkType {
2322
+ /**
2323
+ @internal
2324
+ */
2325
+ constructor(
2326
+ /**
2327
+ The name of the mark type.
2328
+ */
2329
+ name,
2330
+ /**
2331
+ @internal
2332
+ */
2333
+ rank,
2334
+ /**
2335
+ The schema that this mark type instance is part of.
2336
+ */
2337
+ schema,
2338
+ /**
2339
+ The spec on which the type is based.
2340
+ */
2341
+ spec) {
2342
+ this.name = name;
2343
+ this.rank = rank;
2344
+ this.schema = schema;
2345
+ this.spec = spec;
2346
+ this.attrs = initAttrs(name, spec.attrs);
2347
+ this.excluded = null;
2348
+ let defaults = defaultAttrs(this.attrs);
2349
+ this.instance = defaults ? new Mark(this, defaults) : null;
2350
+ }
2351
+ /**
2352
+ Create a mark of this type. `attrs` may be `null` or an object
2353
+ containing only some of the mark's attributes. The others, if
2354
+ they have defaults, will be added.
2355
+ */
2356
+ create(attrs = null) {
2357
+ if (!attrs && this.instance)
2358
+ return this.instance;
2359
+ return new Mark(this, computeAttrs(this.attrs, attrs));
2360
+ }
2361
+ /**
2362
+ @internal
2363
+ */
2364
+ static compile(marks, schema) {
2365
+ let result = Object.create(null), rank = 0;
2366
+ marks.forEach((name, spec) => result[name] = new MarkType(name, rank++, schema, spec));
2367
+ return result;
2368
+ }
2369
+ /**
2370
+ When there is a mark of this type in the given set, a new set
2371
+ without it is returned. Otherwise, the input set is returned.
2372
+ */
2373
+ removeFromSet(set) {
2374
+ for (var i = 0; i < set.length; i++)
2375
+ if (set[i].type == this) {
2376
+ set = set.slice(0, i).concat(set.slice(i + 1));
2377
+ i--;
2378
+ }
2379
+ return set;
2380
+ }
2381
+ /**
2382
+ Tests whether there is a mark of this type in the given set.
2383
+ */
2384
+ isInSet(set) {
2385
+ for (let i = 0; i < set.length; i++)
2386
+ if (set[i].type == this)
2387
+ return set[i];
2388
+ }
2389
+ /**
2390
+ Queries whether a given mark type is
2391
+ [excluded](https://prosemirror.net/docs/ref/#model.MarkSpec.excludes) by this one.
2392
+ */
2393
+ excludes(other) {
2394
+ return this.excluded.indexOf(other) > -1;
2395
+ }
2396
+ }
2397
+ /**
2398
+ A document schema. Holds [node](https://prosemirror.net/docs/ref/#model.NodeType) and [mark
2399
+ type](https://prosemirror.net/docs/ref/#model.MarkType) objects for the nodes and marks that may
2400
+ occur in conforming documents, and provides functionality for
2401
+ creating and deserializing such documents.
2402
+
2403
+ When given, the type parameters provide the names of the nodes and
2404
+ marks in this schema.
2405
+ */
2406
+ class Schema {
2407
+ /**
2408
+ Construct a schema from a schema [specification](https://prosemirror.net/docs/ref/#model.SchemaSpec).
2409
+ */
2410
+ constructor(spec) {
2411
+ /**
2412
+ The [linebreak
2413
+ replacement](https://prosemirror.net/docs/ref/#model.NodeSpec.linebreakReplacement) node defined
2414
+ in this schema, if any.
2415
+ */
2416
+ this.linebreakReplacement = null;
2417
+ /**
2418
+ An object for storing whatever values modules may want to
2419
+ compute and cache per schema. (If you want to store something
2420
+ in it, try to use property names unlikely to clash.)
2421
+ */
2422
+ this.cached = Object.create(null);
2423
+ let instanceSpec = this.spec = {};
2424
+ for (let prop in spec)
2425
+ instanceSpec[prop] = spec[prop];
2426
+ instanceSpec.nodes = index.from(spec.nodes),
2427
+ instanceSpec.marks = index.from(spec.marks || {}),
2428
+ this.nodes = NodeType.compile(this.spec.nodes, this);
2429
+ this.marks = MarkType.compile(this.spec.marks, this);
2430
+ let contentExprCache = Object.create(null);
2431
+ for (let prop in this.nodes) {
2432
+ if (prop in this.marks)
2433
+ throw new RangeError(prop + " can not be both a node and a mark");
2434
+ let type = this.nodes[prop], contentExpr = type.spec.content || "", markExpr = type.spec.marks;
2435
+ type.contentMatch = contentExprCache[contentExpr] ||
2436
+ (contentExprCache[contentExpr] = ContentMatch.parse(contentExpr, this.nodes));
2437
+ type.inlineContent = type.contentMatch.inlineContent;
2438
+ if (type.spec.linebreakReplacement) {
2439
+ if (this.linebreakReplacement)
2440
+ throw new RangeError("Multiple linebreak nodes defined");
2441
+ if (!type.isInline || !type.isLeaf)
2442
+ throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");
2443
+ this.linebreakReplacement = type;
2444
+ }
2445
+ type.markSet = markExpr == "_" ? null :
2446
+ markExpr ? gatherMarks(this, markExpr.split(" ")) :
2447
+ markExpr == "" || !type.inlineContent ? [] : null;
2448
+ }
2449
+ for (let prop in this.marks) {
2450
+ let type = this.marks[prop], excl = type.spec.excludes;
2451
+ type.excluded = excl == null ? [type] : excl == "" ? [] : gatherMarks(this, excl.split(" "));
2452
+ }
2453
+ this.nodeFromJSON = json => Node.fromJSON(this, json);
2454
+ this.markFromJSON = json => Mark.fromJSON(this, json);
2455
+ this.topNodeType = this.nodes[this.spec.topNode || "doc"];
2456
+ this.cached.wrappings = Object.create(null);
2457
+ }
2458
+ /**
2459
+ Create a node in this schema. The `type` may be a string or a
2460
+ `NodeType` instance. Attributes will be extended with defaults,
2461
+ `content` may be a `Fragment`, `null`, a `Node`, or an array of
2462
+ nodes.
2463
+ */
2464
+ node(type, attrs = null, content, marks) {
2465
+ if (typeof type == "string")
2466
+ type = this.nodeType(type);
2467
+ else if (!(type instanceof NodeType))
2468
+ throw new RangeError("Invalid node type: " + type);
2469
+ else if (type.schema != this)
2470
+ throw new RangeError("Node type from different schema used (" + type.name + ")");
2471
+ return type.createChecked(attrs, content, marks);
2472
+ }
2473
+ /**
2474
+ Create a text node in the schema. Empty text nodes are not
2475
+ allowed.
2476
+ */
2477
+ text(text, marks) {
2478
+ let type = this.nodes.text;
2479
+ return new TextNode(type, type.defaultAttrs, text, Mark.setFrom(marks));
2480
+ }
2481
+ /**
2482
+ Create a mark with the given type and attributes.
2483
+ */
2484
+ mark(type, attrs) {
2485
+ if (typeof type == "string")
2486
+ type = this.marks[type];
2487
+ return type.create(attrs);
2488
+ }
2489
+ /**
2490
+ @internal
2491
+ */
2492
+ nodeType(name) {
2493
+ let found = this.nodes[name];
2494
+ if (!found)
2495
+ throw new RangeError("Unknown node type: " + name);
2496
+ return found;
2497
+ }
2498
+ }
2499
+ function gatherMarks(schema, marks) {
2500
+ let found = [];
2501
+ for (let i = 0; i < marks.length; i++) {
2502
+ let name = marks[i], mark = schema.marks[name], ok = mark;
2503
+ if (mark) {
2504
+ found.push(mark);
2505
+ }
2506
+ else {
2507
+ for (let prop in schema.marks) {
2508
+ let mark = schema.marks[prop];
2509
+ if (name == "_" || (mark.spec.group && mark.spec.group.split(" ").indexOf(name) > -1))
2510
+ found.push(ok = mark);
2511
+ }
2512
+ }
2513
+ if (!ok)
2514
+ throw new SyntaxError("Unknown mark type: '" + marks[i] + "'");
2515
+ }
2516
+ return found;
2517
+ }
2518
+
2519
+ function isTagRule(rule) { return rule.tag != null; }
2520
+ function isStyleRule(rule) { return rule.style != null; }
2521
+ /**
2522
+ A DOM parser represents a strategy for parsing DOM content into a
2523
+ ProseMirror document conforming to a given schema. Its behavior is
2524
+ defined by an array of [rules](https://prosemirror.net/docs/ref/#model.ParseRule).
2525
+ */
2526
+ class DOMParser {
2527
+ /**
2528
+ Create a parser that targets the given schema, using the given
2529
+ parsing rules.
2530
+ */
2531
+ constructor(
2532
+ /**
2533
+ The schema into which the parser parses.
2534
+ */
2535
+ schema,
2536
+ /**
2537
+ The set of [parse rules](https://prosemirror.net/docs/ref/#model.ParseRule) that the parser
2538
+ uses, in order of precedence.
2539
+ */
2540
+ rules) {
2541
+ this.schema = schema;
2542
+ this.rules = rules;
2543
+ /**
2544
+ @internal
2545
+ */
2546
+ this.tags = [];
2547
+ /**
2548
+ @internal
2549
+ */
2550
+ this.styles = [];
2551
+ let matchedStyles = this.matchedStyles = [];
2552
+ rules.forEach(rule => {
2553
+ if (isTagRule(rule)) {
2554
+ this.tags.push(rule);
2555
+ }
2556
+ else if (isStyleRule(rule)) {
2557
+ let prop = /[^=]*/.exec(rule.style)[0];
2558
+ if (matchedStyles.indexOf(prop) < 0)
2559
+ matchedStyles.push(prop);
2560
+ this.styles.push(rule);
2561
+ }
2562
+ });
2563
+ // Only normalize list elements when lists in the schema can't directly contain themselves
2564
+ this.normalizeLists = !this.tags.some(r => {
2565
+ if (!/^(ul|ol)\b/.test(r.tag) || !r.node)
2566
+ return false;
2567
+ let node = schema.nodes[r.node];
2568
+ return node.contentMatch.matchType(node);
2569
+ });
2570
+ }
2571
+ /**
2572
+ Parse a document from the content of a DOM node.
2573
+ */
2574
+ parse(dom, options = {}) {
2575
+ let context = new ParseContext(this, options, false);
2576
+ context.addAll(dom, Mark.none, options.from, options.to);
2577
+ return context.finish();
2578
+ }
2579
+ /**
2580
+ Parses the content of the given DOM node, like
2581
+ [`parse`](https://prosemirror.net/docs/ref/#model.DOMParser.parse), and takes the same set of
2582
+ options. But unlike that method, which produces a whole node,
2583
+ this one returns a slice that is open at the sides, meaning that
2584
+ the schema constraints aren't applied to the start of nodes to
2585
+ the left of the input and the end of nodes at the end.
2586
+ */
2587
+ parseSlice(dom, options = {}) {
2588
+ let context = new ParseContext(this, options, true);
2589
+ context.addAll(dom, Mark.none, options.from, options.to);
2590
+ return Slice.maxOpen(context.finish());
2591
+ }
2592
+ /**
2593
+ @internal
2594
+ */
2595
+ matchTag(dom, context, after) {
2596
+ for (let i = after ? this.tags.indexOf(after) + 1 : 0; i < this.tags.length; i++) {
2597
+ let rule = this.tags[i];
2598
+ if (matches(dom, rule.tag) &&
2599
+ (rule.namespace === undefined || dom.namespaceURI == rule.namespace) &&
2600
+ (!rule.context || context.matchesContext(rule.context))) {
2601
+ if (rule.getAttrs) {
2602
+ let result = rule.getAttrs(dom);
2603
+ if (result === false)
2604
+ continue;
2605
+ rule.attrs = result || undefined;
2606
+ }
2607
+ return rule;
2608
+ }
2609
+ }
2610
+ }
2611
+ /**
2612
+ @internal
2613
+ */
2614
+ matchStyle(prop, value, context, after) {
2615
+ for (let i = after ? this.styles.indexOf(after) + 1 : 0; i < this.styles.length; i++) {
2616
+ let rule = this.styles[i], style = rule.style;
2617
+ if (style.indexOf(prop) != 0 ||
2618
+ rule.context && !context.matchesContext(rule.context) ||
2619
+ // Test that the style string either precisely matches the prop,
2620
+ // or has an '=' sign after the prop, followed by the given
2621
+ // value.
2622
+ style.length > prop.length &&
2623
+ (style.charCodeAt(prop.length) != 61 || style.slice(prop.length + 1) != value))
2624
+ continue;
2625
+ if (rule.getAttrs) {
2626
+ let result = rule.getAttrs(value);
2627
+ if (result === false)
2628
+ continue;
2629
+ rule.attrs = result || undefined;
2630
+ }
2631
+ return rule;
2632
+ }
2633
+ }
2634
+ /**
2635
+ @internal
2636
+ */
2637
+ static schemaRules(schema) {
2638
+ let result = [];
2639
+ function insert(rule) {
2640
+ let priority = rule.priority == null ? 50 : rule.priority, i = 0;
2641
+ for (; i < result.length; i++) {
2642
+ let next = result[i], nextPriority = next.priority == null ? 50 : next.priority;
2643
+ if (nextPriority < priority)
2644
+ break;
2645
+ }
2646
+ result.splice(i, 0, rule);
2647
+ }
2648
+ for (let name in schema.marks) {
2649
+ let rules = schema.marks[name].spec.parseDOM;
2650
+ if (rules)
2651
+ rules.forEach(rule => {
2652
+ insert(rule = copy(rule));
2653
+ if (!(rule.mark || rule.ignore || rule.clearMark))
2654
+ rule.mark = name;
2655
+ });
2656
+ }
2657
+ for (let name in schema.nodes) {
2658
+ let rules = schema.nodes[name].spec.parseDOM;
2659
+ if (rules)
2660
+ rules.forEach(rule => {
2661
+ insert(rule = copy(rule));
2662
+ if (!(rule.node || rule.ignore || rule.mark))
2663
+ rule.node = name;
2664
+ });
2665
+ }
2666
+ return result;
2667
+ }
2668
+ /**
2669
+ Construct a DOM parser using the parsing rules listed in a
2670
+ schema's [node specs](https://prosemirror.net/docs/ref/#model.NodeSpec.parseDOM), reordered by
2671
+ [priority](https://prosemirror.net/docs/ref/#model.GenericParseRule.priority).
2672
+ */
2673
+ static fromSchema(schema) {
2674
+ return schema.cached.domParser ||
2675
+ (schema.cached.domParser = new DOMParser(schema, DOMParser.schemaRules(schema)));
2676
+ }
2677
+ }
2678
+ const blockTags = {
2679
+ address: true, article: true, aside: true, blockquote: true, body: true, canvas: true,
2680
+ dd: true, div: true, dl: true, fieldset: true, figcaption: true, figure: true,
2681
+ footer: true, form: true, h1: true, h2: true, h3: true, h4: true, h5: true,
2682
+ h6: true, header: true, hgroup: true, hr: true, li: true, noscript: true, ol: true,
2683
+ output: true, p: true, pre: true, section: true, table: true, tfoot: true, ul: true
2684
+ };
2685
+ const ignoreTags = {
2686
+ head: true, noscript: true, object: true, script: true, style: true, title: true
2687
+ };
2688
+ const listTags = { ol: true, ul: true };
2689
+ // Using a bitfield for node context options
2690
+ const OPT_PRESERVE_WS = 1, OPT_PRESERVE_WS_FULL = 2, OPT_OPEN_LEFT = 4;
2691
+ function wsOptionsFor(type, preserveWhitespace, base) {
2692
+ if (preserveWhitespace != null)
2693
+ return (preserveWhitespace ? OPT_PRESERVE_WS : 0) |
2694
+ (preserveWhitespace === "full" ? OPT_PRESERVE_WS_FULL : 0);
2695
+ return type && type.whitespace == "pre" ? OPT_PRESERVE_WS | OPT_PRESERVE_WS_FULL : base & ~OPT_OPEN_LEFT;
2696
+ }
2697
+ class NodeContext {
2698
+ constructor(type, attrs, marks, solid, match, options) {
2699
+ this.type = type;
2700
+ this.attrs = attrs;
2701
+ this.marks = marks;
2702
+ this.solid = solid;
2703
+ this.options = options;
2704
+ this.content = [];
2705
+ // Marks applied to the node's children
2706
+ this.activeMarks = Mark.none;
2707
+ this.match = match || (options & OPT_OPEN_LEFT ? null : type.contentMatch);
2708
+ }
2709
+ findWrapping(node) {
2710
+ if (!this.match) {
2711
+ if (!this.type)
2712
+ return [];
2713
+ let fill = this.type.contentMatch.fillBefore(Fragment.from(node));
2714
+ if (fill) {
2715
+ this.match = this.type.contentMatch.matchFragment(fill);
2716
+ }
2717
+ else {
2718
+ let start = this.type.contentMatch, wrap;
2719
+ if (wrap = start.findWrapping(node.type)) {
2720
+ this.match = start;
2721
+ return wrap;
2722
+ }
2723
+ else {
2724
+ return null;
2725
+ }
2726
+ }
2727
+ }
2728
+ return this.match.findWrapping(node.type);
2729
+ }
2730
+ finish(openEnd) {
2731
+ if (!(this.options & OPT_PRESERVE_WS)) { // Strip trailing whitespace
2732
+ let last = this.content[this.content.length - 1], m;
2733
+ if (last && last.isText && (m = /[ \t\r\n\u000c]+$/.exec(last.text))) {
2734
+ let text = last;
2735
+ if (last.text.length == m[0].length)
2736
+ this.content.pop();
2737
+ else
2738
+ this.content[this.content.length - 1] = text.withText(text.text.slice(0, text.text.length - m[0].length));
2739
+ }
2740
+ }
2741
+ let content = Fragment.from(this.content);
2742
+ if (!openEnd && this.match)
2743
+ content = content.append(this.match.fillBefore(Fragment.empty, true));
2744
+ return this.type ? this.type.create(this.attrs, content, this.marks) : content;
2745
+ }
2746
+ inlineContext(node) {
2747
+ if (this.type)
2748
+ return this.type.inlineContent;
2749
+ if (this.content.length)
2750
+ return this.content[0].isInline;
2751
+ return node.parentNode && !blockTags.hasOwnProperty(node.parentNode.nodeName.toLowerCase());
2752
+ }
2753
+ }
2754
+ class ParseContext {
2755
+ constructor(
2756
+ // The parser we are using.
2757
+ parser,
2758
+ // The options passed to this parse.
2759
+ options, isOpen) {
2760
+ this.parser = parser;
2761
+ this.options = options;
2762
+ this.isOpen = isOpen;
2763
+ this.open = 0;
2764
+ this.localPreserveWS = false;
2765
+ let topNode = options.topNode, topContext;
2766
+ let topOptions = wsOptionsFor(null, options.preserveWhitespace, 0) | (isOpen ? OPT_OPEN_LEFT : 0);
2767
+ if (topNode)
2768
+ topContext = new NodeContext(topNode.type, topNode.attrs, Mark.none, true, options.topMatch || topNode.type.contentMatch, topOptions);
2769
+ else if (isOpen)
2770
+ topContext = new NodeContext(null, null, Mark.none, true, null, topOptions);
2771
+ else
2772
+ topContext = new NodeContext(parser.schema.topNodeType, null, Mark.none, true, null, topOptions);
2773
+ this.nodes = [topContext];
2774
+ this.find = options.findPositions;
2775
+ this.needsBlock = false;
2776
+ }
2777
+ get top() {
2778
+ return this.nodes[this.open];
2779
+ }
2780
+ // Add a DOM node to the content. Text is inserted as text node,
2781
+ // otherwise, the node is passed to `addElement` or, if it has a
2782
+ // `style` attribute, `addElementWithStyles`.
2783
+ addDOM(dom, marks) {
2784
+ if (dom.nodeType == 3)
2785
+ this.addTextNode(dom, marks);
2786
+ else if (dom.nodeType == 1)
2787
+ this.addElement(dom, marks);
2788
+ }
2789
+ addTextNode(dom, marks) {
2790
+ let value = dom.nodeValue;
2791
+ let top = this.top, preserveWS = (top.options & OPT_PRESERVE_WS_FULL) ? "full"
2792
+ : this.localPreserveWS || (top.options & OPT_PRESERVE_WS) > 0;
2793
+ let { schema } = this.parser;
2794
+ if (preserveWS === "full" ||
2795
+ top.inlineContext(dom) ||
2796
+ /[^ \t\r\n\u000c]/.test(value)) {
2797
+ if (!preserveWS) {
2798
+ value = value.replace(/[ \t\r\n\u000c]+/g, " ");
2799
+ // If this starts with whitespace, and there is no node before it, or
2800
+ // a hard break, or a text node that ends with whitespace, strip the
2801
+ // leading space.
2802
+ if (/^[ \t\r\n\u000c]/.test(value) && this.open == this.nodes.length - 1) {
2803
+ let nodeBefore = top.content[top.content.length - 1];
2804
+ let domNodeBefore = dom.previousSibling;
2805
+ if (!nodeBefore ||
2806
+ (domNodeBefore && domNodeBefore.nodeName == 'BR') ||
2807
+ (nodeBefore.isText && /[ \t\r\n\u000c]$/.test(nodeBefore.text)))
2808
+ value = value.slice(1);
2809
+ }
2810
+ }
2811
+ else if (preserveWS === "full") {
2812
+ value = value.replace(/\r\n?/g, "\n");
2813
+ }
2814
+ else if (schema.linebreakReplacement && /[\r\n]/.test(value) && this.top.findWrapping(schema.linebreakReplacement.create())) {
2815
+ let lines = value.split(/\r?\n|\r/);
2816
+ for (let i = 0; i < lines.length; i++) {
2817
+ if (i)
2818
+ this.insertNode(schema.linebreakReplacement.create(), marks, true);
2819
+ if (lines[i])
2820
+ this.insertNode(schema.text(lines[i]), marks, !/\S/.test(lines[i]));
2821
+ }
2822
+ value = "";
2823
+ }
2824
+ else {
2825
+ value = value.replace(/\r?\n|\r/g, " ");
2826
+ }
2827
+ if (value)
2828
+ this.insertNode(schema.text(value), marks, !/\S/.test(value));
2829
+ this.findInText(dom);
2830
+ }
2831
+ else {
2832
+ this.findInside(dom);
2833
+ }
2834
+ }
2835
+ // Try to find a handler for the given tag and use that to parse. If
2836
+ // none is found, the element's content nodes are added directly.
2837
+ addElement(dom, marks, matchAfter) {
2838
+ let outerWS = this.localPreserveWS, top = this.top;
2839
+ if (dom.tagName == "PRE" || /pre/.test(dom.style && dom.style.whiteSpace))
2840
+ this.localPreserveWS = true;
2841
+ let name = dom.nodeName.toLowerCase(), ruleID;
2842
+ if (listTags.hasOwnProperty(name) && this.parser.normalizeLists)
2843
+ normalizeList(dom);
2844
+ let rule = (this.options.ruleFromNode && this.options.ruleFromNode(dom)) ||
2845
+ (ruleID = this.parser.matchTag(dom, this, matchAfter));
2846
+ out: if (rule ? rule.ignore : ignoreTags.hasOwnProperty(name)) {
2847
+ this.findInside(dom);
2848
+ this.ignoreFallback(dom, marks);
2849
+ }
2850
+ else if (!rule || rule.skip || rule.closeParent) {
2851
+ if (rule && rule.closeParent)
2852
+ this.open = Math.max(0, this.open - 1);
2853
+ else if (rule && rule.skip.nodeType)
2854
+ dom = rule.skip;
2855
+ let sync, oldNeedsBlock = this.needsBlock;
2856
+ if (blockTags.hasOwnProperty(name)) {
2857
+ if (top.content.length && top.content[0].isInline && this.open) {
2858
+ this.open--;
2859
+ top = this.top;
2860
+ }
2861
+ sync = true;
2862
+ if (!top.type)
2863
+ this.needsBlock = true;
2864
+ }
2865
+ else if (!dom.firstChild) {
2866
+ this.leafFallback(dom, marks);
2867
+ break out;
2868
+ }
2869
+ let innerMarks = rule && rule.skip ? marks : this.readStyles(dom, marks);
2870
+ if (innerMarks)
2871
+ this.addAll(dom, innerMarks);
2872
+ if (sync)
2873
+ this.sync(top);
2874
+ this.needsBlock = oldNeedsBlock;
2875
+ }
2876
+ else {
2877
+ let innerMarks = this.readStyles(dom, marks);
2878
+ if (innerMarks)
2879
+ this.addElementByRule(dom, rule, innerMarks, rule.consuming === false ? ruleID : undefined);
2880
+ }
2881
+ this.localPreserveWS = outerWS;
2882
+ }
2883
+ // Called for leaf DOM nodes that would otherwise be ignored
2884
+ leafFallback(dom, marks) {
2885
+ if (dom.nodeName == "BR" && this.top.type && this.top.type.inlineContent)
2886
+ this.addTextNode(dom.ownerDocument.createTextNode("\n"), marks);
2887
+ }
2888
+ // Called for ignored nodes
2889
+ ignoreFallback(dom, marks) {
2890
+ // Ignored BR nodes should at least create an inline context
2891
+ if (dom.nodeName == "BR" && (!this.top.type || !this.top.type.inlineContent))
2892
+ this.findPlace(this.parser.schema.text("-"), marks, true);
2893
+ }
2894
+ // Run any style parser associated with the node's styles. Either
2895
+ // return an updated array of marks, or null to indicate some of the
2896
+ // styles had a rule with `ignore` set.
2897
+ readStyles(dom, marks) {
2898
+ let styles = dom.style;
2899
+ // Because many properties will only show up in 'normalized' form
2900
+ // in `style.item` (i.e. text-decoration becomes
2901
+ // text-decoration-line, text-decoration-color, etc), we directly
2902
+ // query the styles mentioned in our rules instead of iterating
2903
+ // over the items.
2904
+ if (styles && styles.length)
2905
+ for (let i = 0; i < this.parser.matchedStyles.length; i++) {
2906
+ let name = this.parser.matchedStyles[i], value = styles.getPropertyValue(name);
2907
+ if (value)
2908
+ for (let after = undefined;;) {
2909
+ let rule = this.parser.matchStyle(name, value, this, after);
2910
+ if (!rule)
2911
+ break;
2912
+ if (rule.ignore)
2913
+ return null;
2914
+ if (rule.clearMark)
2915
+ marks = marks.filter(m => !rule.clearMark(m));
2916
+ else
2917
+ marks = marks.concat(this.parser.schema.marks[rule.mark].create(rule.attrs));
2918
+ if (rule.consuming === false)
2919
+ after = rule;
2920
+ else
2921
+ break;
2922
+ }
2923
+ }
2924
+ return marks;
2925
+ }
2926
+ // Look up a handler for the given node. If none are found, return
2927
+ // false. Otherwise, apply it, use its return value to drive the way
2928
+ // the node's content is wrapped, and return true.
2929
+ addElementByRule(dom, rule, marks, continueAfter) {
2930
+ let sync, nodeType;
2931
+ if (rule.node) {
2932
+ nodeType = this.parser.schema.nodes[rule.node];
2933
+ if (!nodeType.isLeaf) {
2934
+ let inner = this.enter(nodeType, rule.attrs || null, marks, rule.preserveWhitespace);
2935
+ if (inner) {
2936
+ sync = true;
2937
+ marks = inner;
2938
+ }
2939
+ }
2940
+ else if (!this.insertNode(nodeType.create(rule.attrs), marks, dom.nodeName == "BR")) {
2941
+ this.leafFallback(dom, marks);
2942
+ }
2943
+ }
2944
+ else {
2945
+ let markType = this.parser.schema.marks[rule.mark];
2946
+ marks = marks.concat(markType.create(rule.attrs));
2947
+ }
2948
+ let startIn = this.top;
2949
+ if (nodeType && nodeType.isLeaf) {
2950
+ this.findInside(dom);
2951
+ }
2952
+ else if (continueAfter) {
2953
+ this.addElement(dom, marks, continueAfter);
2954
+ }
2955
+ else if (rule.getContent) {
2956
+ this.findInside(dom);
2957
+ rule.getContent(dom, this.parser.schema).forEach(node => this.insertNode(node, marks, false));
2958
+ }
2959
+ else {
2960
+ let contentDOM = dom;
2961
+ if (typeof rule.contentElement == "string")
2962
+ contentDOM = dom.querySelector(rule.contentElement);
2963
+ else if (typeof rule.contentElement == "function")
2964
+ contentDOM = rule.contentElement(dom);
2965
+ else if (rule.contentElement)
2966
+ contentDOM = rule.contentElement;
2967
+ this.findAround(dom, contentDOM, true);
2968
+ this.addAll(contentDOM, marks);
2969
+ this.findAround(dom, contentDOM, false);
2970
+ }
2971
+ if (sync && this.sync(startIn))
2972
+ this.open--;
2973
+ }
2974
+ // Add all child nodes between `startIndex` and `endIndex` (or the
2975
+ // whole node, if not given). If `sync` is passed, use it to
2976
+ // synchronize after every block element.
2977
+ addAll(parent, marks, startIndex, endIndex) {
2978
+ let index = startIndex || 0;
2979
+ for (let dom = startIndex ? parent.childNodes[startIndex] : parent.firstChild, end = endIndex == null ? null : parent.childNodes[endIndex]; dom != end; dom = dom.nextSibling, ++index) {
2980
+ this.findAtPoint(parent, index);
2981
+ this.addDOM(dom, marks);
2982
+ }
2983
+ this.findAtPoint(parent, index);
2984
+ }
2985
+ // Try to find a way to fit the given node type into the current
2986
+ // context. May add intermediate wrappers and/or leave non-solid
2987
+ // nodes that we're in.
2988
+ findPlace(node, marks, cautious) {
2989
+ let route, sync;
2990
+ for (let depth = this.open, penalty = 0; depth >= 0; depth--) {
2991
+ let cx = this.nodes[depth];
2992
+ let found = cx.findWrapping(node);
2993
+ if (found && (!route || route.length > found.length + penalty)) {
2994
+ route = found;
2995
+ sync = cx;
2996
+ if (!found.length)
2997
+ break;
2998
+ }
2999
+ if (cx.solid) {
3000
+ if (cautious)
3001
+ break;
3002
+ penalty += 2;
3003
+ }
3004
+ }
3005
+ if (!route)
3006
+ return null;
3007
+ this.sync(sync);
3008
+ for (let i = 0; i < route.length; i++)
3009
+ marks = this.enterInner(route[i], null, marks, false);
3010
+ return marks;
3011
+ }
3012
+ // Try to insert the given node, adjusting the context when needed.
3013
+ insertNode(node, marks, cautious) {
3014
+ if (node.isInline && this.needsBlock && !this.top.type) {
3015
+ let block = this.textblockFromContext();
3016
+ if (block)
3017
+ marks = this.enterInner(block, null, marks);
3018
+ }
3019
+ let innerMarks = this.findPlace(node, marks, cautious);
3020
+ if (innerMarks) {
3021
+ this.closeExtra();
3022
+ let top = this.top;
3023
+ if (top.match)
3024
+ top.match = top.match.matchType(node.type);
3025
+ let nodeMarks = Mark.none;
3026
+ for (let m of innerMarks.concat(node.marks))
3027
+ if (top.type ? top.type.allowsMarkType(m.type) : markMayApply(m.type, node.type))
3028
+ nodeMarks = m.addToSet(nodeMarks);
3029
+ top.content.push(node.mark(nodeMarks));
3030
+ return true;
3031
+ }
3032
+ return false;
3033
+ }
3034
+ // Try to start a node of the given type, adjusting the context when
3035
+ // necessary.
3036
+ enter(type, attrs, marks, preserveWS) {
3037
+ let innerMarks = this.findPlace(type.create(attrs), marks, false);
3038
+ if (innerMarks)
3039
+ innerMarks = this.enterInner(type, attrs, marks, true, preserveWS);
3040
+ return innerMarks;
3041
+ }
3042
+ // Open a node of the given type
3043
+ enterInner(type, attrs, marks, solid = false, preserveWS) {
3044
+ this.closeExtra();
3045
+ let top = this.top;
3046
+ top.match = top.match && top.match.matchType(type);
3047
+ let options = wsOptionsFor(type, preserveWS, top.options);
3048
+ if ((top.options & OPT_OPEN_LEFT) && top.content.length == 0)
3049
+ options |= OPT_OPEN_LEFT;
3050
+ let applyMarks = Mark.none;
3051
+ marks = marks.filter(m => {
3052
+ if (top.type ? top.type.allowsMarkType(m.type) : markMayApply(m.type, type)) {
3053
+ applyMarks = m.addToSet(applyMarks);
3054
+ return false;
3055
+ }
3056
+ return true;
3057
+ });
3058
+ this.nodes.push(new NodeContext(type, attrs, applyMarks, solid, null, options));
3059
+ this.open++;
3060
+ return marks;
3061
+ }
3062
+ // Make sure all nodes above this.open are finished and added to
3063
+ // their parents
3064
+ closeExtra(openEnd = false) {
3065
+ let i = this.nodes.length - 1;
3066
+ if (i > this.open) {
3067
+ for (; i > this.open; i--)
3068
+ this.nodes[i - 1].content.push(this.nodes[i].finish(openEnd));
3069
+ this.nodes.length = this.open + 1;
3070
+ }
3071
+ }
3072
+ finish() {
3073
+ this.open = 0;
3074
+ this.closeExtra(this.isOpen);
3075
+ return this.nodes[0].finish(!!(this.isOpen || this.options.topOpen));
3076
+ }
3077
+ sync(to) {
3078
+ for (let i = this.open; i >= 0; i--) {
3079
+ if (this.nodes[i] == to) {
3080
+ this.open = i;
3081
+ return true;
3082
+ }
3083
+ else if (this.localPreserveWS) {
3084
+ this.nodes[i].options |= OPT_PRESERVE_WS;
3085
+ }
3086
+ }
3087
+ return false;
3088
+ }
3089
+ get currentPos() {
3090
+ this.closeExtra();
3091
+ let pos = 0;
3092
+ for (let i = this.open; i >= 0; i--) {
3093
+ let content = this.nodes[i].content;
3094
+ for (let j = content.length - 1; j >= 0; j--)
3095
+ pos += content[j].nodeSize;
3096
+ if (i)
3097
+ pos++;
3098
+ }
3099
+ return pos;
3100
+ }
3101
+ findAtPoint(parent, offset) {
3102
+ if (this.find)
3103
+ for (let i = 0; i < this.find.length; i++) {
3104
+ if (this.find[i].node == parent && this.find[i].offset == offset)
3105
+ this.find[i].pos = this.currentPos;
3106
+ }
3107
+ }
3108
+ findInside(parent) {
3109
+ if (this.find)
3110
+ for (let i = 0; i < this.find.length; i++) {
3111
+ if (this.find[i].pos == null && parent.nodeType == 1 && parent.contains(this.find[i].node))
3112
+ this.find[i].pos = this.currentPos;
3113
+ }
3114
+ }
3115
+ findAround(parent, content, before) {
3116
+ if (parent != content && this.find)
3117
+ for (let i = 0; i < this.find.length; i++) {
3118
+ if (this.find[i].pos == null && parent.nodeType == 1 && parent.contains(this.find[i].node)) {
3119
+ let pos = content.compareDocumentPosition(this.find[i].node);
3120
+ if (pos & (before ? 2 : 4))
3121
+ this.find[i].pos = this.currentPos;
3122
+ }
3123
+ }
3124
+ }
3125
+ findInText(textNode) {
3126
+ if (this.find)
3127
+ for (let i = 0; i < this.find.length; i++) {
3128
+ if (this.find[i].node == textNode)
3129
+ this.find[i].pos = this.currentPos - (textNode.nodeValue.length - this.find[i].offset);
3130
+ }
3131
+ }
3132
+ // Determines whether the given context string matches this context.
3133
+ matchesContext(context) {
3134
+ if (context.indexOf("|") > -1)
3135
+ return context.split(/\s*\|\s*/).some(this.matchesContext, this);
3136
+ let parts = context.split("/");
3137
+ let option = this.options.context;
3138
+ let useRoot = !this.isOpen && (!option || option.parent.type == this.nodes[0].type);
3139
+ let minDepth = -(option ? option.depth + 1 : 0) + (useRoot ? 0 : 1);
3140
+ let match = (i, depth) => {
3141
+ for (; i >= 0; i--) {
3142
+ let part = parts[i];
3143
+ if (part == "") {
3144
+ if (i == parts.length - 1 || i == 0)
3145
+ continue;
3146
+ for (; depth >= minDepth; depth--)
3147
+ if (match(i - 1, depth))
3148
+ return true;
3149
+ return false;
3150
+ }
3151
+ else {
3152
+ let next = depth > 0 || (depth == 0 && useRoot) ? this.nodes[depth].type
3153
+ : option && depth >= minDepth ? option.node(depth - minDepth).type
3154
+ : null;
3155
+ if (!next || (next.name != part && !next.isInGroup(part)))
3156
+ return false;
3157
+ depth--;
3158
+ }
3159
+ }
3160
+ return true;
3161
+ };
3162
+ return match(parts.length - 1, this.open);
3163
+ }
3164
+ textblockFromContext() {
3165
+ let $context = this.options.context;
3166
+ if ($context)
3167
+ for (let d = $context.depth; d >= 0; d--) {
3168
+ let deflt = $context.node(d).contentMatchAt($context.indexAfter(d)).defaultType;
3169
+ if (deflt && deflt.isTextblock && deflt.defaultAttrs)
3170
+ return deflt;
3171
+ }
3172
+ for (let name in this.parser.schema.nodes) {
3173
+ let type = this.parser.schema.nodes[name];
3174
+ if (type.isTextblock && type.defaultAttrs)
3175
+ return type;
3176
+ }
3177
+ }
3178
+ }
3179
+ // Kludge to work around directly nested list nodes produced by some
3180
+ // tools and allowed by browsers to mean that the nested list is
3181
+ // actually part of the list item above it.
3182
+ function normalizeList(dom) {
3183
+ for (let child = dom.firstChild, prevItem = null; child; child = child.nextSibling) {
3184
+ let name = child.nodeType == 1 ? child.nodeName.toLowerCase() : null;
3185
+ if (name && listTags.hasOwnProperty(name) && prevItem) {
3186
+ prevItem.appendChild(child);
3187
+ child = prevItem;
3188
+ }
3189
+ else if (name == "li") {
3190
+ prevItem = child;
3191
+ }
3192
+ else if (name) {
3193
+ prevItem = null;
3194
+ }
3195
+ }
3196
+ }
3197
+ // Apply a CSS selector.
3198
+ function matches(dom, selector) {
3199
+ return (dom.matches || dom.msMatchesSelector || dom.webkitMatchesSelector || dom.mozMatchesSelector).call(dom, selector);
3200
+ }
3201
+ function copy(obj) {
3202
+ let copy = {};
3203
+ for (let prop in obj)
3204
+ copy[prop] = obj[prop];
3205
+ return copy;
3206
+ }
3207
+ // Used when finding a mark at the top level of a fragment parse.
3208
+ // Checks whether it would be reasonable to apply a given mark type to
3209
+ // a given node, by looking at the way the mark occurs in the schema.
3210
+ function markMayApply(markType, nodeType) {
3211
+ let nodes = nodeType.schema.nodes;
3212
+ for (let name in nodes) {
3213
+ let parent = nodes[name];
3214
+ if (!parent.allowsMarkType(markType))
3215
+ continue;
3216
+ let seen = [], scan = (match) => {
3217
+ seen.push(match);
3218
+ for (let i = 0; i < match.edgeCount; i++) {
3219
+ let { type, next } = match.edge(i);
3220
+ if (type == nodeType)
3221
+ return true;
3222
+ if (seen.indexOf(next) < 0 && scan(next))
3223
+ return true;
3224
+ }
3225
+ };
3226
+ if (scan(parent.contentMatch))
3227
+ return true;
3228
+ }
3229
+ }
3230
+
3231
+ /**
3232
+ A DOM serializer knows how to convert ProseMirror nodes and
3233
+ marks of various types to DOM nodes.
3234
+ */
3235
+ class DOMSerializer {
3236
+ /**
3237
+ Create a serializer. `nodes` should map node names to functions
3238
+ that take a node and return a description of the corresponding
3239
+ DOM. `marks` does the same for mark names, but also gets an
3240
+ argument that tells it whether the mark's content is block or
3241
+ inline content (for typical use, it'll always be inline). A mark
3242
+ serializer may be `null` to indicate that marks of that type
3243
+ should not be serialized.
3244
+ */
3245
+ constructor(
3246
+ /**
3247
+ The node serialization functions.
3248
+ */
3249
+ nodes,
3250
+ /**
3251
+ The mark serialization functions.
3252
+ */
3253
+ marks) {
3254
+ this.nodes = nodes;
3255
+ this.marks = marks;
3256
+ }
3257
+ /**
3258
+ Serialize the content of this fragment to a DOM fragment. When
3259
+ not in the browser, the `document` option, containing a DOM
3260
+ document, should be passed so that the serializer can create
3261
+ nodes.
3262
+ */
3263
+ serializeFragment(fragment, options = {}, target) {
3264
+ if (!target)
3265
+ target = doc(options).createDocumentFragment();
3266
+ let top = target, active = [];
3267
+ fragment.forEach(node => {
3268
+ if (active.length || node.marks.length) {
3269
+ let keep = 0, rendered = 0;
3270
+ while (keep < active.length && rendered < node.marks.length) {
3271
+ let next = node.marks[rendered];
3272
+ if (!this.marks[next.type.name]) {
3273
+ rendered++;
3274
+ continue;
3275
+ }
3276
+ if (!next.eq(active[keep][0]) || next.type.spec.spanning === false)
3277
+ break;
3278
+ keep++;
3279
+ rendered++;
3280
+ }
3281
+ while (keep < active.length)
3282
+ top = active.pop()[1];
3283
+ while (rendered < node.marks.length) {
3284
+ let add = node.marks[rendered++];
3285
+ let markDOM = this.serializeMark(add, node.isInline, options);
3286
+ if (markDOM) {
3287
+ active.push([add, top]);
3288
+ top.appendChild(markDOM.dom);
3289
+ top = markDOM.contentDOM || markDOM.dom;
3290
+ }
3291
+ }
3292
+ }
3293
+ top.appendChild(this.serializeNodeInner(node, options));
3294
+ });
3295
+ return target;
3296
+ }
3297
+ /**
3298
+ @internal
3299
+ */
3300
+ serializeNodeInner(node, options) {
3301
+ if (node.isText)
3302
+ return doc(options).createTextNode(node.text);
3303
+ let { dom, contentDOM } = renderSpec(doc(options), this.nodes[node.type.name](node), null, node.attrs);
3304
+ if (contentDOM) {
3305
+ if (node.isLeaf)
3306
+ throw new RangeError("Content hole not allowed in a leaf node spec");
3307
+ this.serializeFragment(node.content, options, contentDOM);
3308
+ }
3309
+ return dom;
3310
+ }
3311
+ /**
3312
+ Serialize this node to a DOM node. This can be useful when you
3313
+ need to serialize a part of a document, as opposed to the whole
3314
+ document. To serialize a whole document, use
3315
+ [`serializeFragment`](https://prosemirror.net/docs/ref/#model.DOMSerializer.serializeFragment) on
3316
+ its [content](https://prosemirror.net/docs/ref/#model.Node.content).
3317
+ */
3318
+ serializeNode(node, options = {}) {
3319
+ let dom = this.serializeNodeInner(node, options);
3320
+ for (let i = node.marks.length - 1; i >= 0; i--) {
3321
+ let wrap = this.serializeMark(node.marks[i], node.isInline, options);
3322
+ if (wrap) {
3323
+ (wrap.contentDOM || wrap.dom).appendChild(dom);
3324
+ dom = wrap.dom;
3325
+ }
3326
+ }
3327
+ return dom;
3328
+ }
3329
+ /**
3330
+ @internal
3331
+ */
3332
+ serializeMark(mark, inline, options = {}) {
3333
+ let toDOM = this.marks[mark.type.name];
3334
+ return toDOM && renderSpec(doc(options), toDOM(mark, inline), null, mark.attrs);
3335
+ }
3336
+ static renderSpec(doc, structure, xmlNS = null, blockArraysIn) {
3337
+ // Kludge for backwards-compatibility with accidental original behavious
3338
+ if (typeof structure == "string")
3339
+ return { dom: doc.createTextNode(structure) };
3340
+ return renderSpec(doc, structure, xmlNS, blockArraysIn);
3341
+ }
3342
+ /**
3343
+ Build a serializer using the [`toDOM`](https://prosemirror.net/docs/ref/#model.NodeSpec.toDOM)
3344
+ properties in a schema's node and mark specs.
3345
+ */
3346
+ static fromSchema(schema) {
3347
+ return schema.cached.domSerializer ||
3348
+ (schema.cached.domSerializer = new DOMSerializer(this.nodesFromSchema(schema), this.marksFromSchema(schema)));
3349
+ }
3350
+ /**
3351
+ Gather the serializers in a schema's node specs into an object.
3352
+ This can be useful as a base to build a custom serializer from.
3353
+ */
3354
+ static nodesFromSchema(schema) {
3355
+ let result = gatherToDOM(schema.nodes);
3356
+ if (!result.text)
3357
+ result.text = node => node.text;
3358
+ return result;
3359
+ }
3360
+ /**
3361
+ Gather the serializers in a schema's mark specs into an object.
3362
+ */
3363
+ static marksFromSchema(schema) {
3364
+ return gatherToDOM(schema.marks);
3365
+ }
3366
+ }
3367
+ function gatherToDOM(obj) {
3368
+ let result = {};
3369
+ for (let name in obj) {
3370
+ let toDOM = obj[name].spec.toDOM;
3371
+ if (toDOM)
3372
+ result[name] = toDOM;
3373
+ }
3374
+ return result;
3375
+ }
3376
+ function doc(options) {
3377
+ return options.document || window.document;
3378
+ }
3379
+ const suspiciousAttributeCache = new WeakMap();
3380
+ function suspiciousAttributes(attrs) {
3381
+ let value = suspiciousAttributeCache.get(attrs);
3382
+ if (value === undefined)
3383
+ suspiciousAttributeCache.set(attrs, value = suspiciousAttributesInner(attrs));
3384
+ return value;
3385
+ }
3386
+ function suspiciousAttributesInner(attrs) {
3387
+ let result = null;
3388
+ function scan(value) {
3389
+ if (value && typeof value == "object") {
3390
+ if (Array.isArray(value)) {
3391
+ if (typeof value[0] == "string") {
3392
+ if (!result)
3393
+ result = [];
3394
+ result.push(value);
3395
+ }
3396
+ else {
3397
+ for (let i = 0; i < value.length; i++)
3398
+ scan(value[i]);
3399
+ }
3400
+ }
3401
+ else {
3402
+ for (let prop in value)
3403
+ scan(value[prop]);
3404
+ }
3405
+ }
3406
+ }
3407
+ scan(attrs);
3408
+ return result;
3409
+ }
3410
+ function renderSpec(doc, structure, xmlNS, blockArraysIn) {
3411
+ if (structure.nodeType == 1)
3412
+ return { dom: structure };
3413
+ if (structure.dom && structure.dom.nodeType == 1)
3414
+ return structure;
3415
+ let tagName = structure[0], suspicious;
3416
+ if (typeof tagName != "string")
3417
+ throw new RangeError("Invalid array passed to renderSpec");
3418
+ if (blockArraysIn && (suspicious = suspiciousAttributes(blockArraysIn)) &&
3419
+ suspicious.indexOf(structure) > -1)
3420
+ throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");
3421
+ let space = tagName.indexOf(" ");
3422
+ if (space > 0) {
3423
+ xmlNS = tagName.slice(0, space);
3424
+ tagName = tagName.slice(space + 1);
3425
+ }
3426
+ let contentDOM;
3427
+ let dom = (xmlNS ? doc.createElementNS(xmlNS, tagName) : doc.createElement(tagName));
3428
+ let attrs = structure[1], start = 1;
3429
+ if (attrs && typeof attrs == "object" && attrs.nodeType == null && !Array.isArray(attrs)) {
3430
+ start = 2;
3431
+ for (let name in attrs)
3432
+ if (attrs[name] != null) {
3433
+ let space = name.indexOf(" ");
3434
+ if (space > 0)
3435
+ dom.setAttributeNS(name.slice(0, space), name.slice(space + 1), attrs[name]);
3436
+ else if (name == "style" && dom.style)
3437
+ dom.style.cssText = attrs[name];
3438
+ else
3439
+ dom.setAttribute(name, attrs[name]);
3440
+ }
3441
+ }
3442
+ for (let i = start; i < structure.length; i++) {
3443
+ let child = structure[i];
3444
+ if (child === 0) {
3445
+ if (i < structure.length - 1 || i > start)
3446
+ throw new RangeError("Content hole must be the only child of its parent node");
3447
+ return { dom, contentDOM: dom };
3448
+ }
3449
+ else if (typeof child == "string") {
3450
+ dom.appendChild(doc.createTextNode(child));
3451
+ }
3452
+ else {
3453
+ let { dom: inner, contentDOM: innerContent } = renderSpec(doc, child, xmlNS, blockArraysIn);
3454
+ dom.appendChild(inner);
3455
+ if (innerContent) {
3456
+ if (contentDOM)
3457
+ throw new RangeError("Multiple content holes");
3458
+ contentDOM = innerContent;
3459
+ }
3460
+ }
3461
+ }
3462
+ return { dom, contentDOM };
3463
+ }
3464
+
3465
+ exports.ContentMatch = ContentMatch;
3466
+ exports.DOMParser = DOMParser;
3467
+ exports.DOMSerializer = DOMSerializer;
3468
+ exports.Fragment = Fragment;
3469
+ exports.Mark = Mark;
3470
+ exports.MarkType = MarkType;
3471
+ exports.Node = Node;
3472
+ exports.NodeRange = NodeRange;
3473
+ exports.NodeType = NodeType;
3474
+ exports.ReplaceError = ReplaceError;
3475
+ exports.ResolvedPos = ResolvedPos;
3476
+ exports.Schema = Schema;
3477
+ exports.Slice = Slice;