@blockbite/ui 1.0.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 (970) hide show
  1. package/README.md +2 -0
  2. package/dist/AutocompleteDropdown.d.ts +11 -0
  3. package/dist/AutocompleteDropdown.js +95 -0
  4. package/dist/Badge.d.ts +7 -0
  5. package/dist/Badge.js +16 -0
  6. package/dist/BitePreview.d.ts +6 -0
  7. package/dist/BitePreview.js +62 -0
  8. package/dist/Button.d.ts +14 -0
  9. package/dist/Button.js +52 -0
  10. package/dist/ButtonToggle.d.ts +36 -0
  11. package/dist/ButtonToggle.js +112 -0
  12. package/dist/Chapter.d.ts +7 -0
  13. package/dist/Chapter.js +19 -0
  14. package/dist/ChapterDivider.d.ts +8 -0
  15. package/dist/ChapterDivider.js +17 -0
  16. package/dist/Checkbox.d.ts +9 -0
  17. package/dist/Checkbox.js +21 -0
  18. package/dist/DisappearingMessage.d.ts +7 -0
  19. package/dist/DisappearingMessage.js +22 -0
  20. package/dist/DropdownPicker.d.ts +15 -0
  21. package/dist/DropdownPicker.js +53 -0
  22. package/dist/EmptyState.d.ts +9 -0
  23. package/dist/EmptyState.js +18 -0
  24. package/dist/FloatingPanel.d.ts +7 -0
  25. package/dist/FloatingPanel.js +43 -0
  26. package/dist/FocalPointControl.d.ts +7 -0
  27. package/dist/FocalPointControl.js +38 -0
  28. package/dist/Icon.d.ts +6 -0
  29. package/dist/Icon.js +9 -0
  30. package/dist/LinkPicker.d.ts +1 -0
  31. package/dist/LinkPicker.js +69 -0
  32. package/dist/MediaPicker.d.ts +4 -0
  33. package/dist/MediaPicker.js +98 -0
  34. package/dist/MetricsControl.d.ts +10 -0
  35. package/dist/MetricsControl.js +123 -0
  36. package/dist/Modal.d.ts +32 -0
  37. package/dist/Modal.js +82 -0
  38. package/dist/NewWindowPortal.d.ts +7 -0
  39. package/dist/NewWindowPortal.js +42 -0
  40. package/dist/Notice.d.ts +7 -0
  41. package/dist/Notice.js +24 -0
  42. package/dist/PasswordInput.d.ts +8 -0
  43. package/dist/PasswordInput.js +39 -0
  44. package/dist/Popover.d.ts +12 -0
  45. package/dist/Popover.js +48 -0
  46. package/dist/RangeSlider.d.ts +13 -0
  47. package/dist/RangeSlider.js +49 -0
  48. package/dist/ResponsiveImage.d.ts +1 -0
  49. package/dist/ResponsiveImage.js +37 -0
  50. package/dist/ResponsiveVideo.d.ts +1 -0
  51. package/dist/ResponsiveVideo.js +20 -0
  52. package/dist/ScrollList.d.ts +7 -0
  53. package/dist/ScrollList.js +21 -0
  54. package/dist/SectionList.d.ts +19 -0
  55. package/dist/SectionList.js +122 -0
  56. package/dist/SelectControlWrapper.d.ts +10 -0
  57. package/dist/SelectControlWrapper.js +33 -0
  58. package/dist/SingleBlockTypeAppender.d.ts +5 -0
  59. package/dist/SingleBlockTypeAppender.js +20 -0
  60. package/dist/SlideIn.d.ts +7 -0
  61. package/dist/SlideIn.js +28 -0
  62. package/dist/Spinner.d.ts +7 -0
  63. package/dist/Spinner.js +15 -0
  64. package/dist/Tabs.d.ts +26 -0
  65. package/dist/Tabs.js +47 -0
  66. package/dist/Tag.d.ts +9 -0
  67. package/dist/Tag.js +11 -0
  68. package/dist/TextControl.d.ts +16 -0
  69. package/dist/TextControl.js +51 -0
  70. package/dist/TextControlLabel.d.ts +9 -0
  71. package/dist/TextControlLabel.js +19 -0
  72. package/dist/ToggleGroup.d.ts +16 -0
  73. package/dist/ToggleGroup.js +52 -0
  74. package/dist/ToggleSwitch.d.ts +8 -0
  75. package/dist/ToggleSwitch.js +29 -0
  76. package/dist/Wrap.d.ts +8 -0
  77. package/dist/Wrap.js +10 -0
  78. package/dist/_virtual/ChevronDown.js +4 -0
  79. package/dist/_virtual/ColumnSpacing.js +4 -0
  80. package/dist/_virtual/Cross2.js +4 -0
  81. package/dist/_virtual/Desktop.js +4 -0
  82. package/dist/_virtual/Grid.js +4 -0
  83. package/dist/_virtual/Pencil1.js +4 -0
  84. package/dist/_virtual/Percentage.js +4 -0
  85. package/dist/_virtual/Plus.js +4 -0
  86. package/dist/_virtual/Slider.js +4 -0
  87. package/dist/_virtual/Tailwind.js +4 -0
  88. package/dist/_virtual/TextareaAutosize.js +4 -0
  89. package/dist/_virtual/Trash.js +4 -0
  90. package/dist/_virtual/___vite-browser-external.js +6 -0
  91. package/dist/_virtual/__vite-browser-external.js +4 -0
  92. package/dist/_virtual/_commonjsHelpers.js +28 -0
  93. package/dist/_virtual/async.js +4 -0
  94. package/dist/_virtual/autosize.js +4 -0
  95. package/dist/_virtual/base.js +4 -0
  96. package/dist/_virtual/builtin.js +4 -0
  97. package/dist/_virtual/character.js +4 -0
  98. package/dist/_virtual/clipboard.js +4 -0
  99. package/dist/_virtual/create.js +4 -0
  100. package/dist/_virtual/dispatcher.js +4 -0
  101. package/dist/_virtual/helpers.js +4 -0
  102. package/dist/_virtual/index.js +4 -0
  103. package/dist/_virtual/index2.js +4 -0
  104. package/dist/_virtual/index3.js +4 -0
  105. package/dist/_virtual/index4.js +4 -0
  106. package/dist/_virtual/index5.js +4 -0
  107. package/dist/_virtual/index6.js +4 -0
  108. package/dist/_virtual/index7.js +4 -0
  109. package/dist/_virtual/index8.js +4 -0
  110. package/dist/_virtual/is.js +4 -0
  111. package/dist/_virtual/jsx-runtime.js +4 -0
  112. package/dist/_virtual/keys.js +4 -0
  113. package/dist/_virtual/picocolors.browser.js +4 -0
  114. package/dist/_virtual/react-is.development.js +4 -0
  115. package/dist/_virtual/react-is.development2.js +4 -0
  116. package/dist/_virtual/react-is.production.min.js +4 -0
  117. package/dist/_virtual/react-is.production.min2.js +4 -0
  118. package/dist/_virtual/react-jsx-runtime.development.js +4 -0
  119. package/dist/_virtual/react-jsx-runtime.production.min.js +4 -0
  120. package/dist/_virtual/showdown.js +4 -0
  121. package/dist/_virtual/sprintf.js +4 -0
  122. package/dist/_virtual/symbols.js +4 -0
  123. package/dist/_virtual/wrap.js +4 -0
  124. package/dist/node_modules/@blockbite/icons/dist/ChevronDown.js +63 -0
  125. package/dist/node_modules/@blockbite/icons/dist/ColumnSpacing.js +65 -0
  126. package/dist/node_modules/@blockbite/icons/dist/Cross2.js +63 -0
  127. package/dist/node_modules/@blockbite/icons/dist/Desktop.js +65 -0
  128. package/dist/node_modules/@blockbite/icons/dist/Grid.js +65 -0
  129. package/dist/node_modules/@blockbite/icons/dist/Pencil1.js +65 -0
  130. package/dist/node_modules/@blockbite/icons/dist/Percentage.js +74 -0
  131. package/dist/node_modules/@blockbite/icons/dist/Plus.js +63 -0
  132. package/dist/node_modules/@blockbite/icons/dist/Slider.js +65 -0
  133. package/dist/node_modules/@blockbite/icons/dist/Tailwind.js +63 -0
  134. package/dist/node_modules/@blockbite/icons/dist/Trash.js +65 -0
  135. package/dist/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +197 -0
  136. package/dist/node_modules/@react-spring/core/dist/react-spring_core.modern.js +960 -0
  137. package/dist/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +103 -0
  138. package/dist/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +568 -0
  139. package/dist/node_modules/@react-spring/web/dist/react-spring_web.modern.js +309 -0
  140. package/dist/node_modules/@tannin/compile/index.js +11 -0
  141. package/dist/node_modules/@tannin/evaluate/index.js +68 -0
  142. package/dist/node_modules/@tannin/plural-forms/index.js +10 -0
  143. package/dist/node_modules/@tannin/postfix/index.js +47 -0
  144. package/dist/node_modules/@wordpress/a11y/build-module/index.js +11 -0
  145. package/dist/node_modules/@wordpress/a11y/build-module/script/add-container.js +11 -0
  146. package/dist/node_modules/@wordpress/a11y/build-module/script/add-intro-text.js +14 -0
  147. package/dist/node_modules/@wordpress/a11y/build-module/shared/clear.js +9 -0
  148. package/dist/node_modules/@wordpress/a11y/build-module/shared/filter-message.js +7 -0
  149. package/dist/node_modules/@wordpress/a11y/build-module/shared/index.js +10 -0
  150. package/dist/node_modules/@wordpress/api-fetch/build-module/index.js +78 -0
  151. package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js +60 -0
  152. package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/http-v1.js +17 -0
  153. package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/media-upload.js +37 -0
  154. package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/namespace-endpoint.js +10 -0
  155. package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js +21 -0
  156. package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/preloading.js +40 -0
  157. package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/root-url.js +11 -0
  158. package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/theme-preview.js +21 -0
  159. package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/user-locale.js +10 -0
  160. package/dist/node_modules/@wordpress/api-fetch/build-module/utils/response.js +29 -0
  161. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createAddHook.js +39 -0
  162. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createCurrentHook.js +10 -0
  163. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createDidHook.js +11 -0
  164. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createDoingHook.js +9 -0
  165. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createHasHook.js +9 -0
  166. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createHooks.js +19 -0
  167. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createRemoveHook.js +28 -0
  168. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createRunHook.js +25 -0
  169. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/index.js +43 -0
  170. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/validateHookName.js +6 -0
  171. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/validateNamespace.js +6 -0
  172. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/create-i18n.js +95 -0
  173. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/default-i18n.js +17 -0
  174. package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/sprintf.js +3 -0
  175. package/dist/node_modules/@wordpress/autop/build-module/index.js +76 -0
  176. package/dist/node_modules/@wordpress/blob/build-module/index.js +16 -0
  177. package/dist/node_modules/@wordpress/block-editor/build-module/components/alignment-control/index.js +9 -0
  178. package/dist/node_modules/@wordpress/block-editor/build-module/components/alignment-control/ui.js +67 -0
  179. package/dist/node_modules/@wordpress/block-editor/build-module/components/background-image-control/index.js +416 -0
  180. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/constants.js +39 -0
  181. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/index.js +9 -0
  182. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/ui.js +77 -0
  183. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/use-available-alignments.js +31 -0
  184. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-card/index.js +85 -0
  185. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-compare/block-view.js +43 -0
  186. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-compare/index.js +54 -0
  187. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-context/index.js +20 -0
  188. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/fill.js +35 -0
  189. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/groups.js +11 -0
  190. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/hook.js +9 -0
  191. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/index.js +8 -0
  192. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/slot.js +38 -0
  193. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-draggable/draggable-chip.js +47 -0
  194. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js +20 -0
  195. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/edit.js +135 -0
  196. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/index.js +63 -0
  197. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/multiple-usage-warning.js +38 -0
  198. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-editing-mode/index.js +21 -0
  199. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-icon/index.js +33 -0
  200. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-boundary.js +19 -0
  201. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-warning.js +12 -0
  202. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-html.js +43 -0
  203. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-invalid-warning.js +99 -0
  204. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block.js +474 -0
  205. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/index.js +188 -0
  206. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/layout.js +13 -0
  207. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/private-block-context.js +5 -0
  208. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/index.js +117 -0
  209. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-refs.js +33 -0
  210. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.js +37 -0
  211. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-focus-first-element.js +44 -0
  212. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-focus-handler.js +30 -0
  213. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-intersection-observer.js +15 -0
  214. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-is-hovered.js +22 -0
  215. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-scroll-into-view.js +29 -0
  216. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js +94 -0
  217. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-in-between-inserter.js +78 -0
  218. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/zoom-out-separator.js +99 -0
  219. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list-appender/index.js +50 -0
  220. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-patterns-list/index.js +159 -0
  221. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-patterns-paging/index.js +94 -0
  222. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/cover.js +57 -0
  223. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/index.js +82 -0
  224. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/use-popover-scroll.js +25 -0
  225. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/async.js +22 -0
  226. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/auto.js +93 -0
  227. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js +51 -0
  228. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-selection-clearer/index.js +29 -0
  229. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-tools/insertion-point.js +8 -0
  230. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-types-list/index.js +42 -0
  231. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/index.js +9 -0
  232. package/dist/node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/ui.js +60 -0
  233. package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/all-input-control.js +41 -0
  234. package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/index.js +83 -0
  235. package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/input-controls.js +62 -0
  236. package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/linked-button.js +24 -0
  237. package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/utils.js +34 -0
  238. package/dist/node_modules/@wordpress/block-editor/build-module/components/button-block-appender/index.js +65 -0
  239. package/dist/node_modules/@wordpress/block-editor/build-module/components/child-layout-control/index.js +249 -0
  240. package/dist/node_modules/@wordpress/block-editor/build-module/components/colors/utils.js +26 -0
  241. package/dist/node_modules/@wordpress/block-editor/build-module/components/colors-gradients/control.js +124 -0
  242. package/dist/node_modules/@wordpress/block-editor/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js +45 -0
  243. package/dist/node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js +73 -0
  244. package/dist/node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js +74 -0
  245. package/dist/node_modules/@wordpress/block-editor/build-module/components/dimensions-tool/aspect-ratio-tool.js +56 -0
  246. package/dist/node_modules/@wordpress/block-editor/build-module/components/duotone/utils.js +58 -0
  247. package/dist/node_modules/@wordpress/block-editor/build-module/components/duotone-control/index.js +69 -0
  248. package/dist/node_modules/@wordpress/block-editor/build-module/components/editor-styles/index.js +77 -0
  249. package/dist/node_modules/@wordpress/block-editor/build-module/components/font-appearance-control/index.js +100 -0
  250. package/dist/node_modules/@wordpress/block-editor/build-module/components/font-family/index.js +64 -0
  251. package/dist/node_modules/@wordpress/block-editor/build-module/components/font-sizes/fluid-utils.js +77 -0
  252. package/dist/node_modules/@wordpress/block-editor/build-module/components/font-sizes/utils.js +24 -0
  253. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/background-panel.js +82 -0
  254. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/border-panel.js +203 -0
  255. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/color-panel.js +448 -0
  256. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/context.js +12 -0
  257. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/dimensions-panel.js +400 -0
  258. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/filters-panel.js +168 -0
  259. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/get-block-css-selector.js +29 -0
  260. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/hooks.js +116 -0
  261. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/shadow-panel-components.js +189 -0
  262. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/typography-panel.js +308 -0
  263. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/typography-utils.js +81 -0
  264. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/use-global-styles-output.js +418 -0
  265. package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/utils.js +190 -0
  266. package/dist/node_modules/@wordpress/block-editor/build-module/components/gradients/use-gradient.js +9 -0
  267. package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-item-movers.js +113 -0
  268. package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-item-resizer.js +114 -0
  269. package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-visualizer.js +264 -0
  270. package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/use-get-number-of-blocks-before-cell.js +24 -0
  271. package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/use-grid-layout-sync.js +161 -0
  272. package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/utils.js +77 -0
  273. package/dist/node_modules/@wordpress/block-editor/build-module/components/height-control/index.js +178 -0
  274. package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/get-compatibility-styles.js +38 -0
  275. package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/index.js +206 -0
  276. package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/use-scale-canvas.js +139 -0
  277. package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/button-block-appender.js +26 -0
  278. package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/default-block-appender.js +14 -0
  279. package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/index.js +179 -0
  280. package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-block-context.js +16 -0
  281. package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-inner-block-template-sync.js +44 -0
  282. package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-nested-settings-update.js +54 -0
  283. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/index.js +49 -0
  284. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js +65 -0
  285. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/pattern-list.js +92 -0
  286. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/index.js +57 -0
  287. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js +81 -0
  288. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/patterns-filter.js +100 -0
  289. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/use-pattern-categories.js +31 -0
  290. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/utils.js +32 -0
  291. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-types-tab.js +123 -0
  292. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/category-tabs/index.js +64 -0
  293. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-block-types-state.js +58 -0
  294. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-insertion-point.js +92 -0
  295. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-patterns-paging.js +23 -0
  296. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-patterns-state.js +66 -0
  297. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/index.js +281 -0
  298. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/hooks.js +67 -0
  299. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-list.js +26 -0
  300. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-panel.js +45 -0
  301. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-preview.js +207 -0
  302. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-tab.js +72 -0
  303. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/utils.js +30 -0
  304. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/menu.js +203 -0
  305. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/mobile-tab-navigation.js +77 -0
  306. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/no-results.js +15 -0
  307. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/panel.js +25 -0
  308. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/preview-panel.js +67 -0
  309. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/quick-inserter.js +92 -0
  310. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/search-items.js +66 -0
  311. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/search-results.js +127 -0
  312. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/tips.js +26 -0
  313. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-draggable-blocks/index.js +70 -0
  314. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-list-item/index.js +84 -0
  315. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/group.js +28 -0
  316. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/index.js +15 -0
  317. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/item.js +34 -0
  318. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/row.js +14 -0
  319. package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-menu-extension/index.js +9 -0
  320. package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/block-support-slot-container.js +26 -0
  321. package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/block-support-tools-panel.js +56 -0
  322. package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/fill.js +64 -0
  323. package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/groups.js +21 -0
  324. package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/index.js +8 -0
  325. package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/slot.js +44 -0
  326. package/dist/node_modules/@wordpress/block-editor/build-module/components/justify-content-control/index.js +9 -0
  327. package/dist/node_modules/@wordpress/block-editor/build-module/components/justify-content-control/ui.js +71 -0
  328. package/dist/node_modules/@wordpress/block-editor/build-module/components/keyboard-shortcuts/index.js +160 -0
  329. package/dist/node_modules/@wordpress/block-editor/build-module/components/letter-spacing-control/index.js +40 -0
  330. package/dist/node_modules/@wordpress/block-editor/build-module/components/line-height-control/index.js +74 -0
  331. package/dist/node_modules/@wordpress/block-editor/build-module/components/line-height-control/utils.js +11 -0
  332. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/constants.js +16 -0
  333. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/index.js +204 -0
  334. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/is-url-like.js +16 -0
  335. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/link-preview.js +130 -0
  336. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-create-button.js +35 -0
  337. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-input.js +96 -0
  338. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-item.js +82 -0
  339. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-results.js +63 -0
  340. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/settings-drawer.js +57 -0
  341. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/settings.js +37 -0
  342. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-create-page.js +47 -0
  343. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-internal-value.js +25 -0
  344. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-rich-url-data.js +66 -0
  345. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-search-handler.js +58 -0
  346. package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/viewer-slot.js +10 -0
  347. package/dist/node_modules/@wordpress/block-editor/build-module/components/media-replace-flow/index.js +181 -0
  348. package/dist/node_modules/@wordpress/block-editor/build-module/components/media-upload/check.js +17 -0
  349. package/dist/node_modules/@wordpress/block-editor/build-module/components/media-upload/index.js +5 -0
  350. package/dist/node_modules/@wordpress/block-editor/build-module/components/observe-typing/index.js +95 -0
  351. package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/block-refs-provider.js +21 -0
  352. package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/index.js +74 -0
  353. package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/use-block-sync.js +85 -0
  354. package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/use-media-upload-settings.js +12 -0
  355. package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/with-registry-provider.js +33 -0
  356. package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/hooks/use-spacing-sizes.js +29 -0
  357. package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/index.js +79 -0
  358. package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/axial.js +44 -0
  359. package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/separated.js +38 -0
  360. package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/single.js +37 -0
  361. package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js +286 -0
  362. package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/linked-button.js +23 -0
  363. package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/utils.js +121 -0
  364. package/dist/node_modules/@wordpress/block-editor/build-module/components/tabbed-sidebar/index.js +54 -0
  365. package/dist/node_modules/@wordpress/block-editor/build-module/components/text-alignment-control/index.js +55 -0
  366. package/dist/node_modules/@wordpress/block-editor/build-module/components/text-decoration-control/index.js +47 -0
  367. package/dist/node_modules/@wordpress/block-editor/build-module/components/text-transform-control/index.js +52 -0
  368. package/dist/node_modules/@wordpress/block-editor/build-module/components/url-input/index.js +322 -0
  369. package/dist/node_modules/@wordpress/block-editor/build-module/components/use-block-display-information/index.js +50 -0
  370. package/dist/node_modules/@wordpress/block-editor/build-module/components/use-block-drop-zone/index.js +199 -0
  371. package/dist/node_modules/@wordpress/block-editor/build-module/components/use-flash-editable-blocks/index.js +30 -0
  372. package/dist/node_modules/@wordpress/block-editor/build-module/components/use-moving-animation/index.js +91 -0
  373. package/dist/node_modules/@wordpress/block-editor/build-module/components/use-on-block-drop/index.js +132 -0
  374. package/dist/node_modules/@wordpress/block-editor/build-module/components/use-settings/index.js +16 -0
  375. package/dist/node_modules/@wordpress/block-editor/build-module/components/warning/index.js +54 -0
  376. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/index.js +45 -0
  377. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-arrow-nav.js +114 -0
  378. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-click-selection.js +28 -0
  379. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-clipboard-handler.js +128 -0
  380. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-drag-selection.js +59 -0
  381. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-input.js +75 -0
  382. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-multi-selection.js +47 -0
  383. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-select-all.js +42 -0
  384. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-selection-observer.js +125 -0
  385. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-tab-nav.js +104 -0
  386. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/utils.js +30 -0
  387. package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-mode-control/index.js +42 -0
  388. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/align.js +83 -0
  389. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/anchor.js +75 -0
  390. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/aria-label.js +27 -0
  391. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/background.js +126 -0
  392. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-bindings.js +231 -0
  393. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-hooks.js +142 -0
  394. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-renaming.js +23 -0
  395. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-style-variation.js +138 -0
  396. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/border.js +237 -0
  397. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/color.js +221 -0
  398. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/compat.js +10 -0
  399. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/content-lock-ui.js +51 -0
  400. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/contrast-checker.js +44 -0
  401. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/custom-class-name.js +75 -0
  402. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/dimensions.js +112 -0
  403. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/duotone.js +186 -0
  404. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/font-family.js +47 -0
  405. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/font-size.js +77 -0
  406. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/gap.js +21 -0
  407. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/generated-class-name.js +11 -0
  408. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/grid-visualizer.js +43 -0
  409. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/index.js +42 -0
  410. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/layout-child.js +163 -0
  411. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/layout.js +245 -0
  412. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/line-height.js +7 -0
  413. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/lock.js +14 -0
  414. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/metadata.js +14 -0
  415. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/position.js +168 -0
  416. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/settings.js +13 -0
  417. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/spacing-visualizer.js +91 -0
  418. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/style.js +174 -0
  419. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/text-align.js +99 -0
  420. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/typography.js +103 -0
  421. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/use-typography-props.js +6 -0
  422. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/use-zoom-out.js +30 -0
  423. package/dist/node_modules/@wordpress/block-editor/build-module/hooks/utils.js +300 -0
  424. package/dist/node_modules/@wordpress/block-editor/build-module/layouts/constrained.js +237 -0
  425. package/dist/node_modules/@wordpress/block-editor/build-module/layouts/definitions.js +147 -0
  426. package/dist/node_modules/@wordpress/block-editor/build-module/layouts/flex.js +255 -0
  427. package/dist/node_modules/@wordpress/block-editor/build-module/layouts/flow.js +67 -0
  428. package/dist/node_modules/@wordpress/block-editor/build-module/layouts/grid.js +291 -0
  429. package/dist/node_modules/@wordpress/block-editor/build-module/layouts/index.js +15 -0
  430. package/dist/node_modules/@wordpress/block-editor/build-module/layouts/utils.js +26 -0
  431. package/dist/node_modules/@wordpress/block-editor/build-module/lock-unlock.js +7 -0
  432. package/dist/node_modules/@wordpress/block-editor/build-module/store/actions.js +909 -0
  433. package/dist/node_modules/@wordpress/block-editor/build-module/store/array.js +11 -0
  434. package/dist/node_modules/@wordpress/block-editor/build-module/store/constants.js +4 -0
  435. package/dist/node_modules/@wordpress/block-editor/build-module/store/defaults.js +219 -0
  436. package/dist/node_modules/@wordpress/block-editor/build-module/store/get-block-settings.js +80 -0
  437. package/dist/node_modules/@wordpress/block-editor/build-module/store/index.js +27 -0
  438. package/dist/node_modules/@wordpress/block-editor/build-module/store/private-actions.js +232 -0
  439. package/dist/node_modules/@wordpress/block-editor/build-module/store/private-keys.js +8 -0
  440. package/dist/node_modules/@wordpress/block-editor/build-module/store/private-selectors.js +244 -0
  441. package/dist/node_modules/@wordpress/block-editor/build-module/store/reducer.js +1437 -0
  442. package/dist/node_modules/@wordpress/block-editor/build-module/store/selectors.js +979 -0
  443. package/dist/node_modules/@wordpress/block-editor/build-module/store/utils.js +56 -0
  444. package/dist/node_modules/@wordpress/block-editor/build-module/utils/block-bindings.js +95 -0
  445. package/dist/node_modules/@wordpress/block-editor/build-module/utils/dom.js +70 -0
  446. package/dist/node_modules/@wordpress/block-editor/build-module/utils/format-font-style.js +31 -0
  447. package/dist/node_modules/@wordpress/block-editor/build-module/utils/format-font-weight.js +54 -0
  448. package/dist/node_modules/@wordpress/block-editor/build-module/utils/get-font-styles-and-weights.js +98 -0
  449. package/dist/node_modules/@wordpress/block-editor/build-module/utils/math.js +27 -0
  450. package/dist/node_modules/@wordpress/block-editor/build-module/utils/object.js +26 -0
  451. package/dist/node_modules/@wordpress/block-editor/build-module/utils/order-inserter-block-items.js +11 -0
  452. package/dist/node_modules/@wordpress/block-editor/build-module/utils/pasting.js +48 -0
  453. package/dist/node_modules/@wordpress/block-editor/build-module/utils/selection.js +22 -0
  454. package/dist/node_modules/@wordpress/block-editor/build-module/utils/sorting.js +15 -0
  455. package/dist/node_modules/@wordpress/block-editor/build-module/utils/transform-styles/index.js +80 -0
  456. package/dist/node_modules/@wordpress/block-editor/build-module/utils/use-notify-copy.js +49 -0
  457. package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/filter-url-for-display.js +18 -0
  458. package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-filename.js +14 -0
  459. package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-path.js +8 -0
  460. package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-protocol.js +8 -0
  461. package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-email.js +7 -0
  462. package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-url.js +10 -0
  463. package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-valid-fragment.js +6 -0
  464. package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-valid-protocol.js +6 -0
  465. package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/prepend-http.js +8 -0
  466. package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/safe-decode-uri.js +10 -0
  467. package/dist/node_modules/@wordpress/block-serialization-default-parser/build-module/index.js +98 -0
  468. package/dist/node_modules/@wordpress/blocks/build-module/api/children.js +33 -0
  469. package/dist/node_modules/@wordpress/blocks/build-module/api/constants.js +282 -0
  470. package/dist/node_modules/@wordpress/blocks/build-module/api/factory.js +139 -0
  471. package/dist/node_modules/@wordpress/blocks/build-module/api/index.js +16 -0
  472. package/dist/node_modules/@wordpress/blocks/build-module/api/matchers.js +29 -0
  473. package/dist/node_modules/@wordpress/blocks/build-module/api/node.js +52 -0
  474. package/dist/node_modules/@wordpress/blocks/build-module/api/parser/apply-block-deprecated-versions.js +51 -0
  475. package/dist/node_modules/@wordpress/blocks/build-module/api/parser/apply-built-in-validation-fixes.js +16 -0
  476. package/dist/node_modules/@wordpress/blocks/build-module/api/parser/convert-legacy-block.js +60 -0
  477. package/dist/node_modules/@wordpress/blocks/build-module/api/parser/fix-aria-label.js +23 -0
  478. package/dist/node_modules/@wordpress/blocks/build-module/api/parser/fix-custom-classname.js +28 -0
  479. package/dist/node_modules/@wordpress/blocks/build-module/api/parser/get-block-attributes.js +111 -0
  480. package/dist/node_modules/@wordpress/blocks/build-module/api/parser/index.js +100 -0
  481. package/dist/node_modules/@wordpress/blocks/build-module/api/parser/serialize-raw-block.js +22 -0
  482. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/blockquote-normaliser.js +9 -0
  483. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/br-remover.js +7 -0
  484. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/comment-remover.js +7 -0
  485. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/div-normaliser.js +7 -0
  486. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/empty-paragraph-remover.js +6 -0
  487. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/figure-content-reducer.js +26 -0
  488. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/get-raw-transforms.js +12 -0
  489. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/google-docs-uid-remover.js +7 -0
  490. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/head-remover.js +6 -0
  491. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/html-formatting-remover.js +26 -0
  492. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/html-to-blocks.js +31 -0
  493. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/iframe-remover.js +9 -0
  494. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js +30 -0
  495. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/index.js +42 -0
  496. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/is-inline-content.js +24 -0
  497. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/list-reducer.js +31 -0
  498. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js +23 -0
  499. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/ms-list-converter.js +28 -0
  500. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/ms-list-ignore.js +14 -0
  501. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/normalise-blocks.js +13 -0
  502. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/paste-handler.js +78 -0
  503. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content-reducer.js +17 -0
  504. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js +41 -0
  505. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/slack-paragraph-corrector.js +11 -0
  506. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/special-comment-converter.js +36 -0
  507. package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/utils.js +87 -0
  508. package/dist/node_modules/@wordpress/blocks/build-module/api/registration.js +58 -0
  509. package/dist/node_modules/@wordpress/blocks/build-module/api/serializer.js +138 -0
  510. package/dist/node_modules/@wordpress/blocks/build-module/api/templates.js +36 -0
  511. package/dist/node_modules/@wordpress/blocks/build-module/api/utils.js +101 -0
  512. package/dist/node_modules/@wordpress/blocks/build-module/api/validation/index.js +173 -0
  513. package/dist/node_modules/@wordpress/blocks/build-module/api/validation/logger.js +39 -0
  514. package/dist/node_modules/@wordpress/blocks/build-module/lock-unlock.js +9 -0
  515. package/dist/node_modules/@wordpress/blocks/build-module/store/actions.js +130 -0
  516. package/dist/node_modules/@wordpress/blocks/build-module/store/constants.js +4 -0
  517. package/dist/node_modules/@wordpress/blocks/build-module/store/index.js +20 -0
  518. package/dist/node_modules/@wordpress/blocks/build-module/store/private-actions.js +45 -0
  519. package/dist/node_modules/@wordpress/blocks/build-module/store/private-selectors.js +58 -0
  520. package/dist/node_modules/@wordpress/blocks/build-module/store/process-block-type.js +99 -0
  521. package/dist/node_modules/@wordpress/blocks/build-module/store/reducer.js +251 -0
  522. package/dist/node_modules/@wordpress/blocks/build-module/store/selectors.js +109 -0
  523. package/dist/node_modules/@wordpress/blocks/build-module/store/utils.js +18 -0
  524. package/dist/node_modules/@wordpress/blocks/node_modules/react-is/cjs/react-is.development.js +103 -0
  525. package/dist/node_modules/@wordpress/blocks/node_modules/react-is/cjs/react-is.production.min.js +81 -0
  526. package/dist/node_modules/@wordpress/blocks/node_modules/react-is/index.js +8 -0
  527. package/dist/node_modules/@wordpress/compose/build-module/higher-order/compose.js +5 -0
  528. package/dist/node_modules/@wordpress/compose/build-module/higher-order/if-condition/index.js +10 -0
  529. package/dist/node_modules/@wordpress/compose/build-module/higher-order/pipe.js +8 -0
  530. package/dist/node_modules/@wordpress/compose/build-module/higher-order/pure/index.js +23 -0
  531. package/dist/node_modules/@wordpress/compose/build-module/higher-order/with-instance-id/index.js +13 -0
  532. package/dist/node_modules/@wordpress/compose/build-module/higher-order/with-safe-timeout/index.js +33 -0
  533. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-async-list/index.js +34 -0
  534. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-copy-to-clipboard/index.js +29 -0
  535. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-debounce/index.js +10 -0
  536. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-debounced-input/index.js +11 -0
  537. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-disabled/index.js +32 -0
  538. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-drop-zone/index.js +67 -0
  539. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-event/index.js +12 -0
  540. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js +17 -0
  541. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-isomorphic-layout-effect/index.js +5 -0
  542. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js +30 -0
  543. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-merge-refs/index.js +23 -0
  544. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-previous/index.js +10 -0
  545. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js +5 -0
  546. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-ref-effect/index.js +10 -0
  547. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/index.js +7 -0
  548. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/legacy/index.js +61 -0
  549. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/use-resize-observer.js +18 -0
  550. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-throttle/index.js +10 -0
  551. package/dist/node_modules/@wordpress/compose/build-module/hooks/use-viewport-match/index.js +28 -0
  552. package/dist/node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js +14 -0
  553. package/dist/node_modules/@wordpress/compose/build-module/utils/debounce/index.js +63 -0
  554. package/dist/node_modules/@wordpress/compose/build-module/utils/observable-map/index.js +29 -0
  555. package/dist/node_modules/@wordpress/compose/build-module/utils/throttle/index.js +9 -0
  556. package/dist/node_modules/@wordpress/data/build-module/components/async-mode-provider/context.js +9 -0
  557. package/dist/node_modules/@wordpress/data/build-module/components/async-mode-provider/use-async-mode.js +8 -0
  558. package/dist/node_modules/@wordpress/data/build-module/components/registry-provider/context.js +10 -0
  559. package/dist/node_modules/@wordpress/data/build-module/components/registry-provider/use-registry.js +8 -0
  560. package/dist/node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch-with-map.js +15 -0
  561. package/dist/node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch.js +10 -0
  562. package/dist/node_modules/@wordpress/data/build-module/components/use-select/index.js +112 -0
  563. package/dist/node_modules/@wordpress/data/build-module/components/with-dispatch/index.js +13 -0
  564. package/dist/node_modules/@wordpress/data/build-module/components/with-select/index.js +14 -0
  565. package/dist/node_modules/@wordpress/data/build-module/controls.js +24 -0
  566. package/dist/node_modules/@wordpress/data/build-module/default-registry.js +5 -0
  567. package/dist/node_modules/@wordpress/data/build-module/factory.js +14 -0
  568. package/dist/node_modules/@wordpress/data/build-module/index.js +15 -0
  569. package/dist/node_modules/@wordpress/data/build-module/lock-unlock.js +9 -0
  570. package/dist/node_modules/@wordpress/data/build-module/promise-middleware.js +8 -0
  571. package/dist/node_modules/@wordpress/data/build-module/redux-store/combine-reducers.js +15 -0
  572. package/dist/node_modules/@wordpress/data/build-module/redux-store/index.js +250 -0
  573. package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/actions.js +73 -0
  574. package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/reducer.js +83 -0
  575. package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/selectors.js +78 -0
  576. package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/utils.js +23 -0
  577. package/dist/node_modules/@wordpress/data/build-module/redux-store/thunk-middleware.js +6 -0
  578. package/dist/node_modules/@wordpress/data/build-module/registry.js +159 -0
  579. package/dist/node_modules/@wordpress/data/build-module/resolvers-cache-middleware.js +12 -0
  580. package/dist/node_modules/@wordpress/data/build-module/select.js +7 -0
  581. package/dist/node_modules/@wordpress/data/build-module/store/index.js +21 -0
  582. package/dist/node_modules/@wordpress/data/build-module/utils/emitter.js +33 -0
  583. package/dist/node_modules/@wordpress/deprecated/build-module/index.js +17 -0
  584. package/dist/node_modules/@wordpress/dom/build-module/data-transfer.js +14 -0
  585. package/dist/node_modules/@wordpress/dom/build-module/dom/caret-range-from-point.js +14 -0
  586. package/dist/node_modules/@wordpress/dom/build-module/dom/clean-node-list.js +51 -0
  587. package/dist/node_modules/@wordpress/dom/build-module/dom/compute-caret-rect.js +11 -0
  588. package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-selection.js +9 -0
  589. package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-text-selection.js +11 -0
  590. package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-uncollapsed-selection.js +8 -0
  591. package/dist/node_modules/@wordpress/dom/build-module/dom/get-computed-style.js +7 -0
  592. package/dist/node_modules/@wordpress/dom/build-module/dom/get-range-height.js +14 -0
  593. package/dist/node_modules/@wordpress/dom/build-module/dom/get-rectangle-from-range.js +58 -0
  594. package/dist/node_modules/@wordpress/dom/build-module/dom/get-scroll-container.js +27 -0
  595. package/dist/node_modules/@wordpress/dom/build-module/dom/hidden-caret-range-from-point.js +13 -0
  596. package/dist/node_modules/@wordpress/dom/build-module/dom/input-field-has-uncollapsed-selection.js +27 -0
  597. package/dist/node_modules/@wordpress/dom/build-module/dom/insert-after.js +7 -0
  598. package/dist/node_modules/@wordpress/dom/build-module/dom/is-edge.js +42 -0
  599. package/dist/node_modules/@wordpress/dom/build-module/dom/is-element.js +6 -0
  600. package/dist/node_modules/@wordpress/dom/build-module/dom/is-empty.js +16 -0
  601. package/dist/node_modules/@wordpress/dom/build-module/dom/is-entirely-selected.js +46 -0
  602. package/dist/node_modules/@wordpress/dom/build-module/dom/is-form-element.js +12 -0
  603. package/dist/node_modules/@wordpress/dom/build-module/dom/is-horizontal-edge.js +7 -0
  604. package/dist/node_modules/@wordpress/dom/build-module/dom/is-html-input-element.js +6 -0
  605. package/dist/node_modules/@wordpress/dom/build-module/dom/is-input-or-text-area.js +6 -0
  606. package/dist/node_modules/@wordpress/dom/build-module/dom/is-rtl.js +7 -0
  607. package/dist/node_modules/@wordpress/dom/build-module/dom/is-selection-forward.js +15 -0
  608. package/dist/node_modules/@wordpress/dom/build-module/dom/is-text-field.js +9 -0
  609. package/dist/node_modules/@wordpress/dom/build-module/dom/is-vertical-edge.js +7 -0
  610. package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-edge.js +39 -0
  611. package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-horizontal-edge.js +7 -0
  612. package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-vertical-edge.js +7 -0
  613. package/dist/node_modules/@wordpress/dom/build-module/dom/remove-invalid-html.js +8 -0
  614. package/dist/node_modules/@wordpress/dom/build-module/dom/remove.js +7 -0
  615. package/dist/node_modules/@wordpress/dom/build-module/dom/replace-tag.js +10 -0
  616. package/dist/node_modules/@wordpress/dom/build-module/dom/replace.js +9 -0
  617. package/dist/node_modules/@wordpress/dom/build-module/dom/safe-html.js +27 -0
  618. package/dist/node_modules/@wordpress/dom/build-module/dom/scroll-if-no-range.js +7 -0
  619. package/dist/node_modules/@wordpress/dom/build-module/dom/strip-html.js +9 -0
  620. package/dist/node_modules/@wordpress/dom/build-module/dom/unwrap.js +10 -0
  621. package/dist/node_modules/@wordpress/dom/build-module/dom/wrap.js +7 -0
  622. package/dist/node_modules/@wordpress/dom/build-module/focusable.js +32 -0
  623. package/dist/node_modules/@wordpress/dom/build-module/index.js +9 -0
  624. package/dist/node_modules/@wordpress/dom/build-module/phrasing-content.js +125 -0
  625. package/dist/node_modules/@wordpress/dom/build-module/tabbable.js +66 -0
  626. package/dist/node_modules/@wordpress/dom/build-module/utils/assert-is-defined.js +7 -0
  627. package/dist/node_modules/@wordpress/dom-ready/build-module/index.js +11 -0
  628. package/dist/node_modules/@wordpress/escape-html/build-module/escape-greater.js +6 -0
  629. package/dist/node_modules/@wordpress/escape-html/build-module/index.js +28 -0
  630. package/dist/node_modules/@wordpress/hooks/build-module/createAddHook.js +39 -0
  631. package/dist/node_modules/@wordpress/hooks/build-module/createCurrentHook.js +10 -0
  632. package/dist/node_modules/@wordpress/hooks/build-module/createDidHook.js +11 -0
  633. package/dist/node_modules/@wordpress/hooks/build-module/createDoingHook.js +9 -0
  634. package/dist/node_modules/@wordpress/hooks/build-module/createHasHook.js +9 -0
  635. package/dist/node_modules/@wordpress/hooks/build-module/createHooks.js +19 -0
  636. package/dist/node_modules/@wordpress/hooks/build-module/createRemoveHook.js +28 -0
  637. package/dist/node_modules/@wordpress/hooks/build-module/createRunHook.js +42 -0
  638. package/dist/node_modules/@wordpress/hooks/build-module/index.js +47 -0
  639. package/dist/node_modules/@wordpress/hooks/build-module/validateHookName.js +6 -0
  640. package/dist/node_modules/@wordpress/hooks/build-module/validateNamespace.js +6 -0
  641. package/dist/node_modules/@wordpress/html-entities/build-module/index.js +12 -0
  642. package/dist/node_modules/@wordpress/i18n/build-module/create-i18n.js +95 -0
  643. package/dist/node_modules/@wordpress/i18n/build-module/default-i18n.js +18 -0
  644. package/dist/node_modules/@wordpress/i18n/build-module/sprintf.js +15 -0
  645. package/dist/node_modules/@wordpress/icons/build-module/icon/index.js +17 -0
  646. package/dist/node_modules/@wordpress/icons/build-module/library/align-center.js +12 -0
  647. package/dist/node_modules/@wordpress/icons/build-module/library/align-justify.js +12 -0
  648. package/dist/node_modules/@wordpress/icons/build-module/library/align-left.js +12 -0
  649. package/dist/node_modules/@wordpress/icons/build-module/library/align-none.js +12 -0
  650. package/dist/node_modules/@wordpress/icons/build-module/library/align-right.js +12 -0
  651. package/dist/node_modules/@wordpress/icons/build-module/library/arrow-down.js +12 -0
  652. package/dist/node_modules/@wordpress/icons/build-module/library/arrow-right.js +12 -0
  653. package/dist/node_modules/@wordpress/icons/build-module/library/block-default.js +12 -0
  654. package/dist/node_modules/@wordpress/icons/build-module/library/category.js +14 -0
  655. package/dist/node_modules/@wordpress/icons/build-module/library/check.js +12 -0
  656. package/dist/node_modules/@wordpress/icons/build-module/library/chevron-down.js +12 -0
  657. package/dist/node_modules/@wordpress/icons/build-module/library/chevron-left-small.js +12 -0
  658. package/dist/node_modules/@wordpress/icons/build-module/library/chevron-left.js +12 -0
  659. package/dist/node_modules/@wordpress/icons/build-module/library/chevron-right-small.js +12 -0
  660. package/dist/node_modules/@wordpress/icons/build-module/library/chevron-right.js +12 -0
  661. package/dist/node_modules/@wordpress/icons/build-module/library/chevron-up.js +12 -0
  662. package/dist/node_modules/@wordpress/icons/build-module/library/close-small.js +12 -0
  663. package/dist/node_modules/@wordpress/icons/build-module/library/copy-small.js +14 -0
  664. package/dist/node_modules/@wordpress/icons/build-module/library/drag-handle.js +14 -0
  665. package/dist/node_modules/@wordpress/icons/build-module/library/edit.js +4 -0
  666. package/dist/node_modules/@wordpress/icons/build-module/library/external.js +12 -0
  667. package/dist/node_modules/@wordpress/icons/build-module/library/file.js +14 -0
  668. package/dist/node_modules/@wordpress/icons/build-module/library/filter.js +12 -0
  669. package/dist/node_modules/@wordpress/icons/build-module/library/format-capitalize.js +12 -0
  670. package/dist/node_modules/@wordpress/icons/build-module/library/format-lowercase.js +12 -0
  671. package/dist/node_modules/@wordpress/icons/build-module/library/format-strikethrough.js +12 -0
  672. package/dist/node_modules/@wordpress/icons/build-module/library/format-underline.js +12 -0
  673. package/dist/node_modules/@wordpress/icons/build-module/library/format-uppercase.js +12 -0
  674. package/dist/node_modules/@wordpress/icons/build-module/library/globe.js +12 -0
  675. package/dist/node_modules/@wordpress/icons/build-module/library/home.js +12 -0
  676. package/dist/node_modules/@wordpress/icons/build-module/library/info.js +14 -0
  677. package/dist/node_modules/@wordpress/icons/build-module/library/justify-bottom.js +12 -0
  678. package/dist/node_modules/@wordpress/icons/build-module/library/justify-center-vertical.js +12 -0
  679. package/dist/node_modules/@wordpress/icons/build-module/library/justify-center.js +12 -0
  680. package/dist/node_modules/@wordpress/icons/build-module/library/justify-left.js +12 -0
  681. package/dist/node_modules/@wordpress/icons/build-module/library/justify-right.js +12 -0
  682. package/dist/node_modules/@wordpress/icons/build-module/library/justify-space-between-vertical.js +12 -0
  683. package/dist/node_modules/@wordpress/icons/build-module/library/justify-space-between.js +12 -0
  684. package/dist/node_modules/@wordpress/icons/build-module/library/justify-stretch-vertical.js +12 -0
  685. package/dist/node_modules/@wordpress/icons/build-module/library/justify-stretch.js +12 -0
  686. package/dist/node_modules/@wordpress/icons/build-module/library/justify-top.js +12 -0
  687. package/dist/node_modules/@wordpress/icons/build-module/library/keyboard-return.js +12 -0
  688. package/dist/node_modules/@wordpress/icons/build-module/library/link-off.js +12 -0
  689. package/dist/node_modules/@wordpress/icons/build-module/library/link.js +12 -0
  690. package/dist/node_modules/@wordpress/icons/build-module/library/media.js +16 -0
  691. package/dist/node_modules/@wordpress/icons/build-module/library/more-vertical.js +12 -0
  692. package/dist/node_modules/@wordpress/icons/build-module/library/page.js +14 -0
  693. package/dist/node_modules/@wordpress/icons/build-module/library/pencil.js +12 -0
  694. package/dist/node_modules/@wordpress/icons/build-module/library/plus.js +12 -0
  695. package/dist/node_modules/@wordpress/icons/build-module/library/position-center.js +12 -0
  696. package/dist/node_modules/@wordpress/icons/build-module/library/position-left.js +12 -0
  697. package/dist/node_modules/@wordpress/icons/build-module/library/position-right.js +12 -0
  698. package/dist/node_modules/@wordpress/icons/build-module/library/post-featured-image.js +12 -0
  699. package/dist/node_modules/@wordpress/icons/build-module/library/post-list.js +12 -0
  700. package/dist/node_modules/@wordpress/icons/build-module/library/reset.js +12 -0
  701. package/dist/node_modules/@wordpress/icons/build-module/library/settings.js +14 -0
  702. package/dist/node_modules/@wordpress/icons/build-module/library/shadow.js +12 -0
  703. package/dist/node_modules/@wordpress/icons/build-module/library/sides-all.js +12 -0
  704. package/dist/node_modules/@wordpress/icons/build-module/library/sides-bottom.js +17 -0
  705. package/dist/node_modules/@wordpress/icons/build-module/library/sides-horizontal.js +19 -0
  706. package/dist/node_modules/@wordpress/icons/build-module/library/sides-left.js +17 -0
  707. package/dist/node_modules/@wordpress/icons/build-module/library/sides-right.js +17 -0
  708. package/dist/node_modules/@wordpress/icons/build-module/library/sides-top.js +17 -0
  709. package/dist/node_modules/@wordpress/icons/build-module/library/sides-vertical.js +19 -0
  710. package/dist/node_modules/@wordpress/icons/build-module/library/stretch-full-width.js +12 -0
  711. package/dist/node_modules/@wordpress/icons/build-module/library/stretch-wide.js +12 -0
  712. package/dist/node_modules/@wordpress/icons/build-module/library/symbol.js +12 -0
  713. package/dist/node_modules/@wordpress/icons/build-module/library/tag.js +12 -0
  714. package/dist/node_modules/@wordpress/icons/build-module/library/text-horizontal.js +12 -0
  715. package/dist/node_modules/@wordpress/icons/build-module/library/text-vertical.js +12 -0
  716. package/dist/node_modules/@wordpress/icons/build-module/library/upload.js +12 -0
  717. package/dist/node_modules/@wordpress/icons/build-module/library/verse.js +12 -0
  718. package/dist/node_modules/@wordpress/is-shallow-equal/build-module/arrays.js +13 -0
  719. package/dist/node_modules/@wordpress/is-shallow-equal/build-module/index.js +16 -0
  720. package/dist/node_modules/@wordpress/is-shallow-equal/build-module/objects.js +25 -0
  721. package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/components/shortcut-provider.js +6 -0
  722. package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/context.js +15 -0
  723. package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut-event-match.js +18 -0
  724. package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js +26 -0
  725. package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/index.js +14 -0
  726. package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/reducer.js +24 -0
  727. package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js +33 -0
  728. package/dist/node_modules/@wordpress/keycodes/build-module/index.js +123 -0
  729. package/dist/node_modules/@wordpress/keycodes/build-module/platform.js +14 -0
  730. package/dist/node_modules/@wordpress/notices/build-module/store/actions.js +76 -0
  731. package/dist/node_modules/@wordpress/notices/build-module/store/constants.js +5 -0
  732. package/dist/node_modules/@wordpress/notices/build-module/store/index.js +14 -0
  733. package/dist/node_modules/@wordpress/notices/build-module/store/reducer.js +25 -0
  734. package/dist/node_modules/@wordpress/notices/build-module/store/selectors.js +8 -0
  735. package/dist/node_modules/@wordpress/notices/build-module/store/utils/on-sub-key.js +14 -0
  736. package/dist/node_modules/@wordpress/preferences/build-module/store/actions.js +38 -0
  737. package/dist/node_modules/@wordpress/preferences/build-module/store/constants.js +4 -0
  738. package/dist/node_modules/@wordpress/preferences/build-module/store/index.js +15 -0
  739. package/dist/node_modules/@wordpress/preferences/build-module/store/reducer.js +56 -0
  740. package/dist/node_modules/@wordpress/preferences/build-module/store/selectors.js +11 -0
  741. package/dist/node_modules/@wordpress/primitives/build-module/svg/index.js +35 -0
  742. package/dist/node_modules/@wordpress/priority-queue/build-module/index.js +31 -0
  743. package/dist/node_modules/@wordpress/priority-queue/build-module/request-idle-callback.js +11 -0
  744. package/dist/node_modules/@wordpress/private-apis/build-module/implementation.js +28 -0
  745. package/dist/node_modules/@wordpress/redux-routine/build-module/index.js +11 -0
  746. package/dist/node_modules/@wordpress/redux-routine/build-module/is-action.js +11 -0
  747. package/dist/node_modules/@wordpress/redux-routine/build-module/is-generator.js +6 -0
  748. package/dist/node_modules/@wordpress/redux-routine/build-module/runtime.js +20 -0
  749. package/dist/node_modules/@wordpress/rich-text/build-module/concat.js +6 -0
  750. package/dist/node_modules/@wordpress/rich-text/build-module/create-element.js +8 -0
  751. package/dist/node_modules/@wordpress/rich-text/build-module/create.js +330 -0
  752. package/dist/node_modules/@wordpress/rich-text/build-module/get-active-formats.js +37 -0
  753. package/dist/node_modules/@wordpress/rich-text/build-module/get-format-type.js +8 -0
  754. package/dist/node_modules/@wordpress/rich-text/build-module/get-text-content.js +9 -0
  755. package/dist/node_modules/@wordpress/rich-text/build-module/insert.js +23 -0
  756. package/dist/node_modules/@wordpress/rich-text/build-module/is-format-equal.js +24 -0
  757. package/dist/node_modules/@wordpress/rich-text/build-module/normalise-formats.js +20 -0
  758. package/dist/node_modules/@wordpress/rich-text/build-module/remove.js +8 -0
  759. package/dist/node_modules/@wordpress/rich-text/build-module/special-characters.js +5 -0
  760. package/dist/node_modules/@wordpress/rich-text/build-module/store/actions.js +16 -0
  761. package/dist/node_modules/@wordpress/rich-text/build-module/store/index.js +14 -0
  762. package/dist/node_modules/@wordpress/rich-text/build-module/store/reducer.js +24 -0
  763. package/dist/node_modules/@wordpress/rich-text/build-module/store/selectors.js +26 -0
  764. package/dist/node_modules/@wordpress/rich-text/build-module/to-html-string.js +74 -0
  765. package/dist/node_modules/@wordpress/rich-text/build-module/to-tree.js +162 -0
  766. package/dist/node_modules/@wordpress/shortcode/build-module/index.js +129 -0
  767. package/dist/node_modules/@wordpress/style-engine/build-module/index.js +29 -0
  768. package/dist/node_modules/@wordpress/style-engine/build-module/styles/background/index.js +28 -0
  769. package/dist/node_modules/@wordpress/style-engine/build-module/styles/border/index.js +38 -0
  770. package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/background.js +8 -0
  771. package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/gradient.js +8 -0
  772. package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/index.js +7 -0
  773. package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/text.js +8 -0
  774. package/dist/node_modules/@wordpress/style-engine/build-module/styles/constants.js +6 -0
  775. package/dist/node_modules/@wordpress/style-engine/build-module/styles/dimensions/index.js +11 -0
  776. package/dist/node_modules/@wordpress/style-engine/build-module/styles/index.js +12 -0
  777. package/dist/node_modules/@wordpress/style-engine/build-module/styles/outline/index.js +17 -0
  778. package/dist/node_modules/@wordpress/style-engine/build-module/styles/shadow/index.js +8 -0
  779. package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/index.js +6 -0
  780. package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/margin.js +11 -0
  781. package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/padding.js +11 -0
  782. package/dist/node_modules/@wordpress/style-engine/build-module/styles/typography/index.js +35 -0
  783. package/dist/node_modules/@wordpress/style-engine/build-module/styles/utils.js +78 -0
  784. package/dist/node_modules/@wordpress/token-list/build-module/index.js +166 -0
  785. package/dist/node_modules/@wordpress/upload-media/build-module/components/provider/index.js +22 -0
  786. package/dist/node_modules/@wordpress/upload-media/build-module/components/provider/with-registry-provider.js +33 -0
  787. package/dist/node_modules/@wordpress/upload-media/build-module/get-mime-types-array.js +9 -0
  788. package/dist/node_modules/@wordpress/upload-media/build-module/lock-unlock.js +7 -0
  789. package/dist/node_modules/@wordpress/upload-media/build-module/store/actions.js +69 -0
  790. package/dist/node_modules/@wordpress/upload-media/build-module/store/constants.js +4 -0
  791. package/dist/node_modules/@wordpress/upload-media/build-module/store/index.js +25 -0
  792. package/dist/node_modules/@wordpress/upload-media/build-module/store/private-actions.js +196 -0
  793. package/dist/node_modules/@wordpress/upload-media/build-module/store/private-selectors.js +31 -0
  794. package/dist/node_modules/@wordpress/upload-media/build-module/store/reducer.js +114 -0
  795. package/dist/node_modules/@wordpress/upload-media/build-module/store/selectors.js +22 -0
  796. package/dist/node_modules/@wordpress/upload-media/build-module/store/types.js +12 -0
  797. package/dist/node_modules/@wordpress/upload-media/build-module/stub-file.js +8 -0
  798. package/dist/node_modules/@wordpress/upload-media/build-module/upload-error.js +15 -0
  799. package/dist/node_modules/@wordpress/upload-media/build-module/utils.js +25 -0
  800. package/dist/node_modules/@wordpress/upload-media/build-module/validate-file-size.js +29 -0
  801. package/dist/node_modules/@wordpress/upload-media/build-module/validate-mime-type-for-user.js +24 -0
  802. package/dist/node_modules/@wordpress/upload-media/build-module/validate-mime-type.js +22 -0
  803. package/dist/node_modules/@wordpress/url/build-module/add-query-args.js +12 -0
  804. package/dist/node_modules/@wordpress/url/build-module/build-query-string.js +17 -0
  805. package/dist/node_modules/@wordpress/url/build-module/get-query-arg.js +7 -0
  806. package/dist/node_modules/@wordpress/url/build-module/get-query-args.js +33 -0
  807. package/dist/node_modules/@wordpress/url/build-module/get-query-string.js +12 -0
  808. package/dist/node_modules/@wordpress/url/build-module/has-query-arg.js +7 -0
  809. package/dist/node_modules/@wordpress/url/build-module/normalize-path.js +7 -0
  810. package/dist/node_modules/@wordpress/url/build-module/remove-query-args.js +14 -0
  811. package/dist/node_modules/@wordpress/url/build-module/safe-decode-uri-component.js +10 -0
  812. package/dist/node_modules/@wordpress/warning/build-module/index.js +17 -0
  813. package/dist/node_modules/@wordpress/warning/build-module/utils.js +4 -0
  814. package/dist/node_modules/autosize/dist/autosize.js +129 -0
  815. package/dist/node_modules/camel-case/dist.es2015/index.js +12 -0
  816. package/dist/node_modules/clipboard/dist/clipboard.js +496 -0
  817. package/dist/node_modules/clsx/dist/clsx.js +17 -0
  818. package/dist/node_modules/colord/index.js +139 -0
  819. package/dist/node_modules/colord/plugins/a11y.js +22 -0
  820. package/dist/node_modules/colord/plugins/names.js +25 -0
  821. package/dist/node_modules/computed-style/dist/computedStyle.commonjs.js +22 -0
  822. package/dist/node_modules/diff/lib/diff/base.js +142 -0
  823. package/dist/node_modules/diff/lib/diff/character.js +22 -0
  824. package/dist/node_modules/dot-case/dist.es2015/index.js +8 -0
  825. package/dist/node_modules/equivalent-key-map/equivalent-key-map.js +149 -0
  826. package/dist/node_modules/fast-deep-equal/es6/index.js +50 -0
  827. package/dist/node_modules/fast-deep-equal/index.js +30 -0
  828. package/dist/node_modules/hpq/es/get-path.js +11 -0
  829. package/dist/node_modules/hpq/es/index.js +56 -0
  830. package/dist/node_modules/is-plain-object/dist/is-plain-object.js +16 -0
  831. package/dist/node_modules/is-promise/index.js +6 -0
  832. package/dist/node_modules/line-height/lib/line-height.js +24 -0
  833. package/dist/node_modules/lodash/_Hash.js +22 -0
  834. package/dist/node_modules/lodash/_ListCache.js +22 -0
  835. package/dist/node_modules/lodash/_Map.js +6 -0
  836. package/dist/node_modules/lodash/_MapCache.js +22 -0
  837. package/dist/node_modules/lodash/_Symbol.js +5 -0
  838. package/dist/node_modules/lodash/_arrayMap.js +9 -0
  839. package/dist/node_modules/lodash/_assocIndexOf.js +12 -0
  840. package/dist/node_modules/lodash/_baseGetTag.js +11 -0
  841. package/dist/node_modules/lodash/_baseHas.js +8 -0
  842. package/dist/node_modules/lodash/_baseIsArguments.js +10 -0
  843. package/dist/node_modules/lodash/_baseIsNative.js +17 -0
  844. package/dist/node_modules/lodash/_baseToString.js +19 -0
  845. package/dist/node_modules/lodash/_castPath.js +12 -0
  846. package/dist/node_modules/lodash/_coreJsData.js +5 -0
  847. package/dist/node_modules/lodash/_freeGlobal.js +5 -0
  848. package/dist/node_modules/lodash/_getMapData.js +10 -0
  849. package/dist/node_modules/lodash/_getNative.js +11 -0
  850. package/dist/node_modules/lodash/_getRawTag.js +16 -0
  851. package/dist/node_modules/lodash/_getValue.js +7 -0
  852. package/dist/node_modules/lodash/_hasPath.js +21 -0
  853. package/dist/node_modules/lodash/_hashClear.js +9 -0
  854. package/dist/node_modules/lodash/_hashDelete.js +8 -0
  855. package/dist/node_modules/lodash/_hashGet.js +14 -0
  856. package/dist/node_modules/lodash/_hashHas.js +10 -0
  857. package/dist/node_modules/lodash/_hashSet.js +10 -0
  858. package/dist/node_modules/lodash/_isIndex.js +9 -0
  859. package/dist/node_modules/lodash/_isKey.js +13 -0
  860. package/dist/node_modules/lodash/_isKeyable.js +8 -0
  861. package/dist/node_modules/lodash/_isMasked.js +12 -0
  862. package/dist/node_modules/lodash/_listCacheClear.js +7 -0
  863. package/dist/node_modules/lodash/_listCacheDelete.js +13 -0
  864. package/dist/node_modules/lodash/_listCacheGet.js +10 -0
  865. package/dist/node_modules/lodash/_listCacheHas.js +9 -0
  866. package/dist/node_modules/lodash/_listCacheSet.js +10 -0
  867. package/dist/node_modules/lodash/_mapCacheClear.js +15 -0
  868. package/dist/node_modules/lodash/_mapCacheDelete.js +10 -0
  869. package/dist/node_modules/lodash/_mapCacheGet.js +9 -0
  870. package/dist/node_modules/lodash/_mapCacheHas.js +9 -0
  871. package/dist/node_modules/lodash/_mapCacheSet.js +10 -0
  872. package/dist/node_modules/lodash/_memoizeCapped.js +12 -0
  873. package/dist/node_modules/lodash/_nativeCreate.js +5 -0
  874. package/dist/node_modules/lodash/_objectToString.js +8 -0
  875. package/dist/node_modules/lodash/_root.js +5 -0
  876. package/dist/node_modules/lodash/_stringToPath.js +10 -0
  877. package/dist/node_modules/lodash/_toKey.js +12 -0
  878. package/dist/node_modules/lodash/_toSource.js +18 -0
  879. package/dist/node_modules/lodash/eq.js +7 -0
  880. package/dist/node_modules/lodash/has.js +12 -0
  881. package/dist/node_modules/lodash/isArguments.js +10 -0
  882. package/dist/node_modules/lodash/isArray.js +4 -0
  883. package/dist/node_modules/lodash/isFunction.js +13 -0
  884. package/dist/node_modules/lodash/isLength.js +8 -0
  885. package/dist/node_modules/lodash/isObject.js +8 -0
  886. package/dist/node_modules/lodash/isObjectLike.js +7 -0
  887. package/dist/node_modules/lodash/isSymbol.js +10 -0
  888. package/dist/node_modules/lodash/memoize.js +19 -0
  889. package/dist/node_modules/lodash/toString.js +9 -0
  890. package/dist/node_modules/lower-case/dist.es2015/index.js +6 -0
  891. package/dist/node_modules/memize/dist/index.js +34 -0
  892. package/dist/node_modules/nanoid/non-secure/index.js +10 -0
  893. package/dist/node_modules/no-case/dist.es2015/index.js +18 -0
  894. package/dist/node_modules/object-assign/index.js +54 -0
  895. package/dist/node_modules/param-case/dist.es2015/index.js +8 -0
  896. package/dist/node_modules/parsel-js/dist/parsel.js +128 -0
  897. package/dist/node_modules/pascal-case/dist.es2015/index.js +13 -0
  898. package/dist/node_modules/picocolors/picocolors.browser.js +10 -0
  899. package/dist/node_modules/postcss/lib/at-rule.js +19 -0
  900. package/dist/node_modules/postcss/lib/comment.js +12 -0
  901. package/dist/node_modules/postcss/lib/container.js +225 -0
  902. package/dist/node_modules/postcss/lib/css-syntax-error.js +55 -0
  903. package/dist/node_modules/postcss/lib/declaration.js +15 -0
  904. package/dist/node_modules/postcss/lib/document.js +21 -0
  905. package/dist/node_modules/postcss/lib/input.js +133 -0
  906. package/dist/node_modules/postcss/lib/lazy-result.js +346 -0
  907. package/dist/node_modules/postcss/lib/list.js +21 -0
  908. package/dist/node_modules/postcss/lib/map-generator.js +166 -0
  909. package/dist/node_modules/postcss/lib/no-work-result.js +90 -0
  910. package/dist/node_modules/postcss/lib/node.js +240 -0
  911. package/dist/node_modules/postcss/lib/parse.js +22 -0
  912. package/dist/node_modules/postcss/lib/parser.js +317 -0
  913. package/dist/node_modules/postcss/lib/previous-map.js +88 -0
  914. package/dist/node_modules/postcss/lib/processor.js +43 -0
  915. package/dist/node_modules/postcss/lib/result.js +26 -0
  916. package/dist/node_modules/postcss/lib/root.js +37 -0
  917. package/dist/node_modules/postcss/lib/rule.js +21 -0
  918. package/dist/node_modules/postcss/lib/stringifier.js +192 -0
  919. package/dist/node_modules/postcss/lib/stringify.js +10 -0
  920. package/dist/node_modules/postcss/lib/symbols.js +6 -0
  921. package/dist/node_modules/postcss/lib/tokenize.js +109 -0
  922. package/dist/node_modules/postcss/lib/warn-once.js +7 -0
  923. package/dist/node_modules/postcss/lib/warning.js +21 -0
  924. package/dist/node_modules/postcss-prefix-selector/index.js +32 -0
  925. package/dist/node_modules/postcss-urlrebase/index.js +28 -0
  926. package/dist/node_modules/postcss-value-parser/lib/index.js +21 -0
  927. package/dist/node_modules/postcss-value-parser/lib/parse.js +114 -0
  928. package/dist/node_modules/postcss-value-parser/lib/stringify.js +17 -0
  929. package/dist/node_modules/postcss-value-parser/lib/unit.js +36 -0
  930. package/dist/node_modules/postcss-value-parser/lib/walk.js +8 -0
  931. package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
  932. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
  933. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
  934. package/dist/node_modules/prop-types/index.js +13 -0
  935. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
  936. package/dist/node_modules/prop-types/lib/has.js +7 -0
  937. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +604 -0
  938. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +28 -0
  939. package/dist/node_modules/react/jsx-runtime.js +8 -0
  940. package/dist/node_modules/react-autosize-textarea/lib/TextareaAutosize.js +90 -0
  941. package/dist/node_modules/react-autosize-textarea/lib/index.js +13 -0
  942. package/dist/node_modules/react-is/cjs/react-is.development.js +95 -0
  943. package/dist/node_modules/react-is/cjs/react-is.production.min.js +78 -0
  944. package/dist/node_modules/react-is/index.js +10 -0
  945. package/dist/node_modules/redux/dist/redux.js +185 -0
  946. package/dist/node_modules/rememo/rememo.js +63 -0
  947. package/dist/node_modules/remove-accents/index.js +479 -0
  948. package/dist/node_modules/requestidlecallback/index.js +87 -0
  949. package/dist/node_modules/rungen/dist/controls/async.js +73 -0
  950. package/dist/node_modules/rungen/dist/controls/builtin.js +47 -0
  951. package/dist/node_modules/rungen/dist/controls/wrap.js +34 -0
  952. package/dist/node_modules/rungen/dist/create.js +60 -0
  953. package/dist/node_modules/rungen/dist/index.js +28 -0
  954. package/dist/node_modules/rungen/dist/utils/dispatcher.js +22 -0
  955. package/dist/node_modules/rungen/dist/utils/helpers.js +111 -0
  956. package/dist/node_modules/rungen/dist/utils/is.js +57 -0
  957. package/dist/node_modules/rungen/dist/utils/keys.js +15 -0
  958. package/dist/node_modules/showdown/dist/showdown.js +2673 -0
  959. package/dist/node_modules/simple-html-tokenizer/dist/es6/index.js +600 -0
  960. package/dist/node_modules/sprintf-js/src/sprintf.js +145 -0
  961. package/dist/node_modules/tannin/index.js +36 -0
  962. package/dist/node_modules/tslib/tslib.es6.js +12 -0
  963. package/dist/node_modules/use-memo-one/dist/use-memo-one.esm.js +26 -0
  964. package/dist/node_modules/uuid/dist/esm-browser/native.js +6 -0
  965. package/dist/node_modules/uuid/dist/esm-browser/rng.js +10 -0
  966. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +9 -0
  967. package/dist/node_modules/uuid/dist/esm-browser/v4.js +13 -0
  968. package/dist/types.d.ts +4 -0
  969. package/dist/vite.svg +1 -0
  970. package/package.json +60 -0
@@ -0,0 +1,960 @@
1
+ import { is as o, toArray as V, each as I, eachProp as K, flush as W, flushCalls as L, Globals as j, noop as mt, createStringInterpolator as Gt, useMemoOne as Lt, createInterpolator as $t, isEqual as x, getFluidValue as T, frameLoop as ut, hasFluidValue as O, addFluidObserver as ht, removeFluidObserver as wt, FluidValue as Ht, deprecateInterpolate as Jt, callFluidObservers as X, isAnimatedString as Vt, getFluidObservers as _t, easings as Kt } from "../../shared/dist/react-spring_shared.modern.js";
2
+ import { useIsomorphicLayoutEffect as Ie } from "../../shared/dist/react-spring_shared.modern.js";
3
+ import * as Rt from "react";
4
+ import { useContext as Yt } from "react";
5
+ import { getAnimatedType as st, setAnimated as Tt, getAnimated as E, getPayload as ct, AnimatedValue as Wt, AnimatedString as gt } from "../../animated/dist/react-spring_animated.modern.js";
6
+ import { raf as w } from "../../rafz/dist/react-spring_rafz.modern.js";
7
+ function q(t, ...e) {
8
+ return o.fun(t) ? t(...e) : t;
9
+ }
10
+ var $ = (t, e) => t === !0 || !!(e && t && (o.fun(t) ? t(e) : V(t).includes(e))), Ft = (t, e) => o.obj(t) ? e && t[e] : t, xt = (t, e) => t.default === !0 ? t[e] : t.default ? t.default[e] : void 0, Xt = (t) => t, Et = (t, e = Xt) => {
11
+ let i = Zt;
12
+ t.default && t.default !== !0 && (t = t.default, i = Object.keys(t));
13
+ const s = {};
14
+ for (const n of i) {
15
+ const a = e(t[n], n);
16
+ o.und(a) || (s[n] = a);
17
+ }
18
+ return s;
19
+ }, Zt = [
20
+ "config",
21
+ "onProps",
22
+ "onStart",
23
+ "onChange",
24
+ "onPause",
25
+ "onResume",
26
+ "onRest"
27
+ ], te = {
28
+ config: 1,
29
+ from: 1,
30
+ to: 1,
31
+ ref: 1,
32
+ loop: 1,
33
+ reset: 1,
34
+ pause: 1,
35
+ cancel: 1,
36
+ reverse: 1,
37
+ immediate: 1,
38
+ default: 1,
39
+ delay: 1,
40
+ onProps: 1,
41
+ onStart: 1,
42
+ onChange: 1,
43
+ onPause: 1,
44
+ onResume: 1,
45
+ onRest: 1,
46
+ onResolve: 1,
47
+ // Transition props
48
+ items: 1,
49
+ trail: 1,
50
+ sort: 1,
51
+ expires: 1,
52
+ initial: 1,
53
+ enter: 1,
54
+ update: 1,
55
+ leave: 1,
56
+ children: 1,
57
+ onDestroyed: 1,
58
+ // Internal props
59
+ keys: 1,
60
+ callId: 1,
61
+ parentId: 1
62
+ };
63
+ function ee(t) {
64
+ const e = {};
65
+ let i = 0;
66
+ if (K(t, (s, n) => {
67
+ te[n] || (e[n] = s, i++);
68
+ }), i)
69
+ return e;
70
+ }
71
+ function jt(t) {
72
+ const e = ee(t);
73
+ if (e) {
74
+ const i = { to: e };
75
+ return K(t, (s, n) => n in e || (i[n] = s)), i;
76
+ }
77
+ return { ...t };
78
+ }
79
+ function H(t) {
80
+ return t = T(t), o.arr(t) ? t.map(H) : Vt(t) ? j.createStringInterpolator({
81
+ range: [0, 1],
82
+ output: [t, t]
83
+ })(1) : t;
84
+ }
85
+ function nt(t) {
86
+ return o.fun(t) || o.arr(t) && o.obj(t[0]);
87
+ }
88
+ var ie = {
89
+ default: { tension: 170, friction: 26 }
90
+ }, at = {
91
+ ...ie.default,
92
+ mass: 1,
93
+ damping: 1,
94
+ easing: Kt.linear,
95
+ clamp: !1
96
+ }, se = class {
97
+ constructor() {
98
+ this.velocity = 0, Object.assign(this, at);
99
+ }
100
+ };
101
+ function ne(t, e, i) {
102
+ i && (i = { ...i }, yt(i, e), e = { ...i, ...e }), yt(t, e), Object.assign(t, e);
103
+ for (const h in at)
104
+ t[h] == null && (t[h] = at[h]);
105
+ let { frequency: s, damping: n } = t;
106
+ const { mass: a } = t;
107
+ return o.und(s) || (s < 0.01 && (s = 0.01), n < 0 && (n = 0), t.tension = Math.pow(2 * Math.PI / s, 2) * a, t.friction = 4 * Math.PI * n * a / s), t;
108
+ }
109
+ function yt(t, e) {
110
+ if (!o.und(e.decay))
111
+ t.duration = void 0;
112
+ else {
113
+ const i = !o.und(e.tension) || !o.und(e.friction);
114
+ (i || !o.und(e.frequency) || !o.und(e.damping) || !o.und(e.mass)) && (t.duration = void 0, t.decay = void 0), i && (t.frequency = void 0);
115
+ }
116
+ }
117
+ var vt = [], ae = class {
118
+ constructor() {
119
+ this.changed = !1, this.values = vt, this.toValues = null, this.fromValues = vt, this.config = new se(), this.immediate = !1;
120
+ }
121
+ };
122
+ function Mt(t, { key: e, props: i, defaultProps: s, state: n, actions: a }) {
123
+ return new Promise((h, l) => {
124
+ let f, r, _ = $(i.cancel ?? s?.cancel, e);
125
+ if (_)
126
+ m();
127
+ else {
128
+ o.und(i.pause) || (n.paused = $(i.pause, e));
129
+ let v = s?.pause;
130
+ v !== !0 && (v = n.paused || $(v, e)), f = q(i.delay || 0, e), v ? (n.resumeQueue.add(p), a.pause()) : (a.resume(), p());
131
+ }
132
+ function u() {
133
+ n.resumeQueue.add(p), n.timeouts.delete(r), r.cancel(), f = r.time - w.now();
134
+ }
135
+ function p() {
136
+ f > 0 && !j.skipAnimation ? (n.delayed = !0, r = w.setTimeout(m, f), n.pauseQueue.add(u), n.timeouts.add(r)) : m();
137
+ }
138
+ function m() {
139
+ n.delayed && (n.delayed = !1), n.pauseQueue.delete(u), n.timeouts.delete(r), t <= (n.cancelId || 0) && (_ = !0);
140
+ try {
141
+ a.start({ ...i, callId: t, cancel: _ }, h);
142
+ } catch (v) {
143
+ l(v);
144
+ }
145
+ }
146
+ });
147
+ }
148
+ var lt = (t, e) => e.length == 1 ? e[0] : e.some((i) => i.cancelled) ? U(t.get()) : e.every((i) => i.noop) ? Ot(t.get()) : C(
149
+ t.get(),
150
+ e.every((i) => i.finished)
151
+ ), Ot = (t) => ({
152
+ value: t,
153
+ noop: !0,
154
+ finished: !0,
155
+ cancelled: !1
156
+ }), C = (t, e, i = !1) => ({
157
+ value: t,
158
+ finished: e,
159
+ cancelled: i
160
+ }), U = (t) => ({
161
+ value: t,
162
+ cancelled: !0,
163
+ finished: !1
164
+ });
165
+ function Qt(t, e, i, s) {
166
+ const { callId: n, parentId: a, onRest: h } = e, { asyncTo: l, promise: f } = i;
167
+ return !a && t === l && !e.reset ? f : i.promise = (async () => {
168
+ i.asyncId = n, i.asyncTo = t;
169
+ const r = Et(
170
+ e,
171
+ (d, y) => (
172
+ // The `onRest` prop is only called when the `runAsync` promise is resolved.
173
+ y === "onRest" ? void 0 : d
174
+ )
175
+ );
176
+ let _, u;
177
+ const p = new Promise(
178
+ (d, y) => (_ = d, u = y)
179
+ ), m = (d) => {
180
+ const y = (
181
+ // The `cancel` prop or `stop` method was used.
182
+ n <= (i.cancelId || 0) && U(s) || // The async `to` prop was replaced.
183
+ n !== i.asyncId && C(s, !1)
184
+ );
185
+ if (y)
186
+ throw d.result = y, u(d), d;
187
+ }, v = (d, y) => {
188
+ const P = new pt(), g = new Pt();
189
+ return (async () => {
190
+ if (j.skipAnimation)
191
+ throw J(i), g.result = C(s, !1), u(g), g;
192
+ m(P);
193
+ const b = o.obj(d) ? { ...d } : { ...y, to: d };
194
+ b.parentId = n, K(r, (Q, S) => {
195
+ o.und(b[S]) && (b[S] = Q);
196
+ });
197
+ const R = await s.start(b);
198
+ return m(P), i.paused && await new Promise((Q) => {
199
+ i.resumeQueue.add(Q);
200
+ }), R;
201
+ })();
202
+ };
203
+ let c;
204
+ if (j.skipAnimation)
205
+ return J(i), C(s, !1);
206
+ try {
207
+ let d;
208
+ o.arr(t) ? d = (async (y) => {
209
+ for (const P of y)
210
+ await v(P);
211
+ })(t) : d = Promise.resolve(t(v, s.stop.bind(s))), await Promise.all([d.then(_), p]), c = C(s.get(), !0, !1);
212
+ } catch (d) {
213
+ if (d instanceof pt)
214
+ c = d.result;
215
+ else if (d instanceof Pt)
216
+ c = d.result;
217
+ else
218
+ throw d;
219
+ } finally {
220
+ n == i.asyncId && (i.asyncId = a, i.asyncTo = a ? l : void 0, i.promise = a ? f : void 0);
221
+ }
222
+ return o.fun(h) && w.batchedUpdates(() => {
223
+ h(c, s, s.item);
224
+ }), c;
225
+ })();
226
+ }
227
+ function J(t, e) {
228
+ W(t.timeouts, (i) => i.cancel()), t.pauseQueue.clear(), t.resumeQueue.clear(), t.asyncId = t.asyncTo = t.promise = void 0, e && (t.cancelId = e);
229
+ }
230
+ var pt = class extends Error {
231
+ constructor() {
232
+ super(
233
+ "An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."
234
+ );
235
+ }
236
+ }, Pt = class extends Error {
237
+ constructor() {
238
+ super("SkipAnimationSignal");
239
+ }
240
+ }, ot = (t) => t instanceof dt, oe = 1, dt = class extends Ht {
241
+ constructor() {
242
+ super(...arguments), this.id = oe++, this._priority = 0;
243
+ }
244
+ get priority() {
245
+ return this._priority;
246
+ }
247
+ set priority(t) {
248
+ this._priority != t && (this._priority = t, this._onPriorityChange(t));
249
+ }
250
+ /** Get the current value */
251
+ get() {
252
+ const t = E(this);
253
+ return t && t.getValue();
254
+ }
255
+ /** Create a spring that maps our value to another value */
256
+ to(...t) {
257
+ return j.to(this, t);
258
+ }
259
+ /** @deprecated Use the `to` method instead. */
260
+ interpolate(...t) {
261
+ return Jt(), j.to(this, t);
262
+ }
263
+ toJSON() {
264
+ return this.get();
265
+ }
266
+ observerAdded(t) {
267
+ t == 1 && this._attach();
268
+ }
269
+ observerRemoved(t) {
270
+ t == 0 && this._detach();
271
+ }
272
+ /** Called when the first child is added. */
273
+ _attach() {
274
+ }
275
+ /** Called when the last child is removed. */
276
+ _detach() {
277
+ }
278
+ /** Tell our children about our new value */
279
+ _onChange(t, e = !1) {
280
+ X(this, {
281
+ type: "change",
282
+ parent: this,
283
+ value: t,
284
+ idle: e
285
+ });
286
+ }
287
+ /** Tell our children about our new priority */
288
+ _onPriorityChange(t) {
289
+ this.idle || ut.sort(this), X(this, {
290
+ type: "priority",
291
+ parent: this,
292
+ priority: t
293
+ });
294
+ }
295
+ }, D = Symbol.for("SpringPhase"), qt = 1, Dt = 2, Nt = 4, et = (t) => (t[D] & qt) > 0, M = (t) => (t[D] & Dt) > 0, k = (t) => (t[D] & Nt) > 0, bt = (t, e) => e ? t[D] |= Dt | qt : t[D] &= -3, St = (t, e) => e ? t[D] |= Nt : t[D] &= -5, re = class extends dt {
296
+ constructor(t, e) {
297
+ if (super(), this.animation = new ae(), this.defaultProps = {}, this._state = {
298
+ paused: !1,
299
+ delayed: !1,
300
+ pauseQueue: /* @__PURE__ */ new Set(),
301
+ resumeQueue: /* @__PURE__ */ new Set(),
302
+ timeouts: /* @__PURE__ */ new Set()
303
+ }, this._pendingCalls = /* @__PURE__ */ new Set(), this._lastCallId = 0, this._lastToId = 0, this._memoizedDuration = 0, !o.und(t) || !o.und(e)) {
304
+ const i = o.obj(t) ? { ...t } : { ...e, from: t };
305
+ o.und(i.default) && (i.default = !0), this.start(i);
306
+ }
307
+ }
308
+ /** Equals true when not advancing on each frame. */
309
+ get idle() {
310
+ return !(M(this) || this._state.asyncTo) || k(this);
311
+ }
312
+ get goal() {
313
+ return T(this.animation.to);
314
+ }
315
+ get velocity() {
316
+ const t = E(this);
317
+ return t instanceof Wt ? t.lastVelocity || 0 : t.getPayload().map((e) => e.lastVelocity || 0);
318
+ }
319
+ /**
320
+ * When true, this value has been animated at least once.
321
+ */
322
+ get hasAnimated() {
323
+ return et(this);
324
+ }
325
+ /**
326
+ * When true, this value has an unfinished animation,
327
+ * which is either active or paused.
328
+ */
329
+ get isAnimating() {
330
+ return M(this);
331
+ }
332
+ /**
333
+ * When true, all current and future animations are paused.
334
+ */
335
+ get isPaused() {
336
+ return k(this);
337
+ }
338
+ /**
339
+ *
340
+ *
341
+ */
342
+ get isDelayed() {
343
+ return this._state.delayed;
344
+ }
345
+ /** Advance the current animation by a number of milliseconds */
346
+ advance(t) {
347
+ let e = !0, i = !1;
348
+ const s = this.animation;
349
+ let { toValues: n } = s;
350
+ const { config: a } = s, h = ct(s.to);
351
+ !h && O(s.to) && (n = V(T(s.to))), s.values.forEach((r, _) => {
352
+ if (r.done)
353
+ return;
354
+ const u = (
355
+ // Animated strings always go from 0 to 1.
356
+ r.constructor == gt ? 1 : h ? h[_].lastPosition : n[_]
357
+ );
358
+ let p = s.immediate, m = u;
359
+ if (!p) {
360
+ if (m = r.lastPosition, a.tension <= 0) {
361
+ r.done = !0;
362
+ return;
363
+ }
364
+ let v = r.elapsedTime += t;
365
+ const c = s.fromValues[_], d = r.v0 != null ? r.v0 : r.v0 = o.arr(a.velocity) ? a.velocity[_] : a.velocity;
366
+ let y;
367
+ const P = a.precision || (c == u ? 5e-3 : Math.min(1, Math.abs(u - c) * 1e-3));
368
+ if (o.und(a.duration))
369
+ if (a.decay) {
370
+ const g = a.decay === !0 ? 0.998 : a.decay, b = Math.exp(-(1 - g) * v);
371
+ m = c + d / (1 - g) * (1 - b), p = Math.abs(r.lastPosition - m) <= P, y = d * b;
372
+ } else {
373
+ y = r.lastVelocity == null ? d : r.lastVelocity;
374
+ const g = a.restVelocity || P / 10, b = a.clamp ? 0 : a.bounce, R = !o.und(b), Q = c == u ? r.v0 > 0 : c < u;
375
+ let S, Y = !1;
376
+ const A = 1, z = Math.ceil(t / A);
377
+ for (let F = 0; F < z && (S = Math.abs(y) > g, !(!S && (p = Math.abs(u - m) <= P, p))); ++F) {
378
+ R && (Y = m == u || m > u == Q, Y && (y = -y * b, m = u));
379
+ const N = -a.tension * 1e-6 * (m - u), tt = -a.friction * 1e-3 * y, Bt = (N + tt) / a.mass;
380
+ y = y + Bt * A, m = m + y * A;
381
+ }
382
+ }
383
+ else {
384
+ let g = 1;
385
+ a.duration > 0 && (this._memoizedDuration !== a.duration && (this._memoizedDuration = a.duration, r.durationProgress > 0 && (r.elapsedTime = a.duration * r.durationProgress, v = r.elapsedTime += t)), g = (a.progress || 0) + v / this._memoizedDuration, g = g > 1 ? 1 : g < 0 ? 0 : g, r.durationProgress = g), m = c + a.easing(g) * (u - c), y = (m - r.lastPosition) / t, p = g == 1;
386
+ }
387
+ r.lastVelocity = y, Number.isNaN(m) && (console.warn("Got NaN while animating:", this), p = !0);
388
+ }
389
+ h && !h[_].done && (p = !1), p ? r.done = !0 : e = !1, r.setValue(m, a.round) && (i = !0);
390
+ });
391
+ const l = E(this), f = l.getValue();
392
+ if (e) {
393
+ const r = T(s.to);
394
+ (f !== r || i) && !a.decay ? (l.setValue(r), this._onChange(r)) : i && a.decay && this._onChange(f), this._stop();
395
+ } else i && this._onChange(f);
396
+ }
397
+ /** Set the current value, while stopping the current animation */
398
+ set(t) {
399
+ return w.batchedUpdates(() => {
400
+ this._stop(), this._focus(t), this._set(t);
401
+ }), this;
402
+ }
403
+ /**
404
+ * Freeze the active animation in time, as well as any updates merged
405
+ * before `resume` is called.
406
+ */
407
+ pause() {
408
+ this._update({ pause: !0 });
409
+ }
410
+ /** Resume the animation if paused. */
411
+ resume() {
412
+ this._update({ pause: !1 });
413
+ }
414
+ /** Skip to the end of the current animation. */
415
+ finish() {
416
+ if (M(this)) {
417
+ const { to: t, config: e } = this.animation;
418
+ w.batchedUpdates(() => {
419
+ this._onStart(), e.decay || this._set(t, !1), this._stop();
420
+ });
421
+ }
422
+ return this;
423
+ }
424
+ /** Push props into the pending queue. */
425
+ update(t) {
426
+ return (this.queue || (this.queue = [])).push(t), this;
427
+ }
428
+ start(t, e) {
429
+ let i;
430
+ return o.und(t) ? (i = this.queue || [], this.queue = []) : i = [o.obj(t) ? t : { ...e, to: t }], Promise.all(
431
+ i.map((s) => this._update(s))
432
+ ).then((s) => lt(this, s));
433
+ }
434
+ /**
435
+ * Stop the current animation, and cancel any delayed updates.
436
+ *
437
+ * Pass `true` to call `onRest` with `cancelled: true`.
438
+ */
439
+ stop(t) {
440
+ const { to: e } = this.animation;
441
+ return this._focus(this.get()), J(this._state, t && this._lastCallId), w.batchedUpdates(() => this._stop(e, t)), this;
442
+ }
443
+ /** Restart the animation. */
444
+ reset() {
445
+ this._update({ reset: !0 });
446
+ }
447
+ /** @internal */
448
+ eventObserved(t) {
449
+ t.type == "change" ? this._start() : t.type == "priority" && (this.priority = t.priority + 1);
450
+ }
451
+ /**
452
+ * Parse the `to` and `from` range from the given `props` object.
453
+ *
454
+ * This also ensures the initial value is available to animated components
455
+ * during the render phase.
456
+ */
457
+ _prepareNode(t) {
458
+ const e = this.key || "";
459
+ let { to: i, from: s } = t;
460
+ i = o.obj(i) ? i[e] : i, (i == null || nt(i)) && (i = void 0), s = o.obj(s) ? s[e] : s, s == null && (s = void 0);
461
+ const n = { to: i, from: s };
462
+ return et(this) || (t.reverse && ([i, s] = [s, i]), s = T(s), o.und(s) ? E(this) || this._set(i) : this._set(s)), n;
463
+ }
464
+ /** Every update is processed by this method before merging. */
465
+ _update({ ...t }, e) {
466
+ const { key: i, defaultProps: s } = this;
467
+ t.default && Object.assign(
468
+ s,
469
+ Et(
470
+ t,
471
+ (h, l) => /^on/.test(l) ? Ft(h, i) : h
472
+ )
473
+ ), It(this, t, "onProps"), G(this, "onProps", t, this);
474
+ const n = this._prepareNode(t);
475
+ if (Object.isFrozen(this))
476
+ throw Error(
477
+ "Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?"
478
+ );
479
+ const a = this._state;
480
+ return Mt(++this._lastCallId, {
481
+ key: i,
482
+ props: t,
483
+ defaultProps: s,
484
+ state: a,
485
+ actions: {
486
+ pause: () => {
487
+ k(this) || (St(this, !0), L(a.pauseQueue), G(
488
+ this,
489
+ "onPause",
490
+ C(this, B(this, this.animation.to)),
491
+ this
492
+ ));
493
+ },
494
+ resume: () => {
495
+ k(this) && (St(this, !1), M(this) && this._resume(), L(a.resumeQueue), G(
496
+ this,
497
+ "onResume",
498
+ C(this, B(this, this.animation.to)),
499
+ this
500
+ ));
501
+ },
502
+ start: this._merge.bind(this, n)
503
+ }
504
+ }).then((h) => {
505
+ if (t.loop && h.finished && !(e && h.noop)) {
506
+ const l = Ut(t);
507
+ if (l)
508
+ return this._update(l, !0);
509
+ }
510
+ return h;
511
+ });
512
+ }
513
+ /** Merge props into the current animation */
514
+ _merge(t, e, i) {
515
+ if (e.cancel)
516
+ return this.stop(!0), i(U(this));
517
+ const s = !o.und(t.to), n = !o.und(t.from);
518
+ if (s || n)
519
+ if (e.callId > this._lastToId)
520
+ this._lastToId = e.callId;
521
+ else
522
+ return i(U(this));
523
+ const { key: a, defaultProps: h, animation: l } = this, { to: f, from: r } = l;
524
+ let { to: _ = f, from: u = r } = t;
525
+ n && !s && (!e.default || o.und(_)) && (_ = u), e.reverse && ([_, u] = [u, _]);
526
+ const p = !x(u, r);
527
+ p && (l.from = u), u = T(u);
528
+ const m = !x(_, f);
529
+ m && this._focus(_);
530
+ const v = nt(e.to), { config: c } = l, { decay: d, velocity: y } = c;
531
+ (s || n) && (c.velocity = 0), e.config && !v && ne(
532
+ c,
533
+ q(e.config, a),
534
+ // Avoid calling the same "config" prop twice.
535
+ e.config !== h.config ? q(h.config, a) : void 0
536
+ );
537
+ let P = E(this);
538
+ if (!P || o.und(_))
539
+ return i(C(this, !0));
540
+ const g = (
541
+ // When `reset` is undefined, the `from` prop implies `reset: true`,
542
+ // except for declarative updates. When `reset` is defined, there
543
+ // must exist a value to animate from.
544
+ o.und(e.reset) ? n && !e.default : !o.und(u) && $(e.reset, a)
545
+ ), b = g ? u : this.get(), R = H(_), Q = o.num(R) || o.arr(R) || Vt(R), S = !v && (!Q || $(h.immediate || e.immediate, a));
546
+ if (m) {
547
+ const F = st(_);
548
+ if (F !== P.constructor)
549
+ if (S)
550
+ P = this._set(R);
551
+ else
552
+ throw Error(
553
+ `Cannot animate between ${P.constructor.name} and ${F.name}, as the "to" prop suggests`
554
+ );
555
+ }
556
+ const Y = P.constructor;
557
+ let A = O(_), z = !1;
558
+ if (!A) {
559
+ const F = g || !et(this) && p;
560
+ (m || F) && (z = x(H(b), R), A = !z), (!x(l.immediate, S) && !S || !x(c.decay, d) || !x(c.velocity, y)) && (A = !0);
561
+ }
562
+ if (z && M(this) && (l.changed && !g ? A = !0 : A || this._stop(f)), !v && ((A || O(f)) && (l.values = P.getPayload(), l.toValues = O(_) ? null : Y == gt ? [1] : V(R)), l.immediate != S && (l.immediate = S, !S && !g && this._set(f)), A)) {
563
+ const { onRest: F } = l;
564
+ I(ue, (tt) => It(this, e, tt));
565
+ const N = C(this, B(this, f));
566
+ L(this._pendingCalls, N), this._pendingCalls.add(i), l.changed && w.batchedUpdates(() => {
567
+ l.changed = !g, F?.(N, this), g ? q(h.onRest, N) : l.onStart?.(N, this);
568
+ });
569
+ }
570
+ g && this._set(b), v ? i(Qt(e.to, e, this._state, this)) : A ? this._start() : M(this) && !m ? this._pendingCalls.add(i) : i(Ot(b));
571
+ }
572
+ /** Update the `animation.to` value, which might be a `FluidValue` */
573
+ _focus(t) {
574
+ const e = this.animation;
575
+ t !== e.to && (_t(this) && this._detach(), e.to = t, _t(this) && this._attach());
576
+ }
577
+ _attach() {
578
+ let t = 0;
579
+ const { to: e } = this.animation;
580
+ O(e) && (ht(e, this), ot(e) && (t = e.priority + 1)), this.priority = t;
581
+ }
582
+ _detach() {
583
+ const { to: t } = this.animation;
584
+ O(t) && wt(t, this);
585
+ }
586
+ /**
587
+ * Update the current value from outside the frameloop,
588
+ * and return the `Animated` node.
589
+ */
590
+ _set(t, e = !0) {
591
+ const i = T(t);
592
+ if (!o.und(i)) {
593
+ const s = E(this);
594
+ if (!s || !x(i, s.getValue())) {
595
+ const n = st(i);
596
+ !s || s.constructor != n ? Tt(this, n.create(i)) : s.setValue(i), s && w.batchedUpdates(() => {
597
+ this._onChange(i, e);
598
+ });
599
+ }
600
+ }
601
+ return E(this);
602
+ }
603
+ _onStart() {
604
+ const t = this.animation;
605
+ t.changed || (t.changed = !0, G(
606
+ this,
607
+ "onStart",
608
+ C(this, B(this, t.to)),
609
+ this
610
+ ));
611
+ }
612
+ _onChange(t, e) {
613
+ e || (this._onStart(), q(this.animation.onChange, t, this)), q(this.defaultProps.onChange, t, this), super._onChange(t, e);
614
+ }
615
+ // This method resets the animation state (even if already animating) to
616
+ // ensure the latest from/to range is used, and it also ensures this spring
617
+ // is added to the frameloop.
618
+ _start() {
619
+ const t = this.animation;
620
+ E(this).reset(T(t.to)), t.immediate || (t.fromValues = t.values.map((e) => e.lastPosition)), M(this) || (bt(this, !0), k(this) || this._resume());
621
+ }
622
+ _resume() {
623
+ j.skipAnimation ? this.finish() : ut.start(this);
624
+ }
625
+ /**
626
+ * Exit the frameloop and notify `onRest` listeners.
627
+ *
628
+ * Always wrap `_stop` calls with `batchedUpdates`.
629
+ */
630
+ _stop(t, e) {
631
+ if (M(this)) {
632
+ bt(this, !1);
633
+ const i = this.animation;
634
+ I(i.values, (n) => {
635
+ n.done = !0;
636
+ }), i.toValues && (i.onChange = i.onPause = i.onResume = void 0), X(this, {
637
+ type: "idle",
638
+ parent: this
639
+ });
640
+ const s = e ? U(this.get()) : C(this.get(), B(this, t ?? i.to));
641
+ L(this._pendingCalls, s), i.changed && (i.changed = !1, G(this, "onRest", s, this));
642
+ }
643
+ }
644
+ };
645
+ function B(t, e) {
646
+ const i = H(e), s = H(t.get());
647
+ return x(s, i);
648
+ }
649
+ function Ut(t, e = t.loop, i = t.to) {
650
+ const s = q(e);
651
+ if (s) {
652
+ const n = s !== !0 && jt(s), a = (n || t).reverse, h = !n || n.reset;
653
+ return rt({
654
+ ...t,
655
+ loop: e,
656
+ // Avoid updating default props when looping.
657
+ default: !1,
658
+ // Never loop the `pause` prop.
659
+ pause: void 0,
660
+ // For the "reverse" prop to loop as expected, the "to" prop
661
+ // must be undefined. The "reverse" prop is ignored when the
662
+ // "to" prop is an array or function.
663
+ to: !a || nt(i) ? i : void 0,
664
+ // Ignore the "from" prop except on reset.
665
+ from: h ? t.from : void 0,
666
+ reset: h,
667
+ // The "loop" prop can return a "useSpring" props object to
668
+ // override any of the original props.
669
+ ...n
670
+ });
671
+ }
672
+ }
673
+ function rt(t) {
674
+ const { to: e, from: i } = t = jt(t), s = /* @__PURE__ */ new Set();
675
+ return o.obj(e) && At(e, s), o.obj(i) && At(i, s), t.keys = s.size ? Array.from(s) : null, t;
676
+ }
677
+ function At(t, e) {
678
+ K(t, (i, s) => i != null && e.add(s));
679
+ }
680
+ var ue = [
681
+ "onStart",
682
+ "onRest",
683
+ "onChange",
684
+ "onPause",
685
+ "onResume"
686
+ ];
687
+ function It(t, e, i) {
688
+ t.animation[i] = e[i] !== xt(e, i) ? Ft(e[i], t.key) : void 0;
689
+ }
690
+ function G(t, e, ...i) {
691
+ t.animation[e]?.(...i), t.defaultProps[e]?.(...i);
692
+ }
693
+ var he = ["onStart", "onChange", "onRest"], ce = 1, be = class {
694
+ constructor(t, e) {
695
+ this.id = ce++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = !1, this._state = {
696
+ paused: !1,
697
+ pauseQueue: /* @__PURE__ */ new Set(),
698
+ resumeQueue: /* @__PURE__ */ new Set(),
699
+ timeouts: /* @__PURE__ */ new Set()
700
+ }, this._events = {
701
+ onStart: /* @__PURE__ */ new Map(),
702
+ onChange: /* @__PURE__ */ new Map(),
703
+ onRest: /* @__PURE__ */ new Map()
704
+ }, this._onFrame = this._onFrame.bind(this), e && (this._flush = e), t && this.start({ default: !0, ...t });
705
+ }
706
+ /**
707
+ * Equals `true` when no spring values are in the frameloop, and
708
+ * no async animation is currently active.
709
+ */
710
+ get idle() {
711
+ return !this._state.asyncTo && Object.values(this.springs).every((t) => t.idle && !t.isDelayed && !t.isPaused);
712
+ }
713
+ get item() {
714
+ return this._item;
715
+ }
716
+ set item(t) {
717
+ this._item = t;
718
+ }
719
+ /** Get the current values of our springs */
720
+ get() {
721
+ const t = {};
722
+ return this.each((e, i) => t[i] = e.get()), t;
723
+ }
724
+ /** Set the current values without animating. */
725
+ set(t) {
726
+ for (const e in t) {
727
+ const i = t[e];
728
+ o.und(i) || this.springs[e].set(i);
729
+ }
730
+ }
731
+ /** Push an update onto the queue of each value. */
732
+ update(t) {
733
+ return t && this.queue.push(rt(t)), this;
734
+ }
735
+ /**
736
+ * Start the queued animations for every spring, and resolve the returned
737
+ * promise once all queued animations have finished or been cancelled.
738
+ *
739
+ * When you pass a queue (instead of nothing), that queue is used instead of
740
+ * the queued animations added with the `update` method, which are left alone.
741
+ */
742
+ start(t) {
743
+ let { queue: e } = this;
744
+ return t ? e = V(t).map(rt) : this.queue = [], this._flush ? this._flush(this, e) : (kt(this, e), le(this, e));
745
+ }
746
+ /** @internal */
747
+ stop(t, e) {
748
+ if (t !== !!t && (e = t), e) {
749
+ const i = this.springs;
750
+ I(V(e), (s) => i[s].stop(!!t));
751
+ } else
752
+ J(this._state, this._lastAsyncId), this.each((i) => i.stop(!!t));
753
+ return this;
754
+ }
755
+ /** Freeze the active animation in time */
756
+ pause(t) {
757
+ if (o.und(t))
758
+ this.start({ pause: !0 });
759
+ else {
760
+ const e = this.springs;
761
+ I(V(t), (i) => e[i].pause());
762
+ }
763
+ return this;
764
+ }
765
+ /** Resume the animation if paused. */
766
+ resume(t) {
767
+ if (o.und(t))
768
+ this.start({ pause: !1 });
769
+ else {
770
+ const e = this.springs;
771
+ I(V(t), (i) => e[i].resume());
772
+ }
773
+ return this;
774
+ }
775
+ /** Call a function once per spring value */
776
+ each(t) {
777
+ K(this.springs, t);
778
+ }
779
+ /** @internal Called at the end of every animation frame */
780
+ _onFrame() {
781
+ const { onStart: t, onChange: e, onRest: i } = this._events, s = this._active.size > 0, n = this._changed.size > 0;
782
+ (s && !this._started || n && !this._started) && (this._started = !0, W(t, ([l, f]) => {
783
+ f.value = this.get(), l(f, this, this._item);
784
+ }));
785
+ const a = !s && this._started, h = n || a && i.size ? this.get() : null;
786
+ n && e.size && W(e, ([l, f]) => {
787
+ f.value = h, l(f, this, this._item);
788
+ }), a && (this._started = !1, W(i, ([l, f]) => {
789
+ f.value = h, l(f, this, this._item);
790
+ }));
791
+ }
792
+ /** @internal */
793
+ eventObserved(t) {
794
+ if (t.type == "change")
795
+ this._changed.add(t.parent), t.idle || this._active.add(t.parent);
796
+ else if (t.type == "idle")
797
+ this._active.delete(t.parent);
798
+ else
799
+ return;
800
+ w.onFrame(this._onFrame);
801
+ }
802
+ };
803
+ function le(t, e) {
804
+ return Promise.all(e.map((i) => zt(t, i))).then(
805
+ (i) => lt(t, i)
806
+ );
807
+ }
808
+ async function zt(t, e, i) {
809
+ const { keys: s, to: n, from: a, loop: h, onRest: l, onResolve: f } = e, r = o.obj(e.default) && e.default;
810
+ h && (e.loop = !1), n === !1 && (e.to = null), a === !1 && (e.from = null);
811
+ const _ = o.arr(n) || o.fun(n) ? n : void 0;
812
+ _ ? (e.to = void 0, e.onRest = void 0, r && (r.onRest = void 0)) : I(he, (c) => {
813
+ const d = e[c];
814
+ if (o.fun(d)) {
815
+ const y = t._events[c];
816
+ e[c] = ({ finished: P, cancelled: g }) => {
817
+ const b = y.get(d);
818
+ b ? (P || (b.finished = !1), g && (b.cancelled = !0)) : y.set(d, {
819
+ value: null,
820
+ finished: P || !1,
821
+ cancelled: g || !1
822
+ });
823
+ }, r && (r[c] = e[c]);
824
+ }
825
+ });
826
+ const u = t._state;
827
+ e.pause === !u.paused ? (u.paused = e.pause, L(e.pause ? u.pauseQueue : u.resumeQueue)) : u.paused && (e.pause = !0);
828
+ const p = (s || Object.keys(t.springs)).map(
829
+ (c) => t.springs[c].start(e)
830
+ ), m = e.cancel === !0 || xt(e, "cancel") === !0;
831
+ (_ || m && u.asyncId) && p.push(
832
+ Mt(++t._lastAsyncId, {
833
+ props: e,
834
+ state: u,
835
+ actions: {
836
+ pause: mt,
837
+ resume: mt,
838
+ start(c, d) {
839
+ m ? (J(u, t._lastAsyncId), d(U(t))) : (c.onRest = l, d(
840
+ Qt(
841
+ _,
842
+ c,
843
+ u,
844
+ t
845
+ )
846
+ ));
847
+ }
848
+ }
849
+ })
850
+ ), u.paused && await new Promise((c) => {
851
+ u.resumeQueue.add(c);
852
+ });
853
+ const v = lt(t, await Promise.all(p));
854
+ if (h && v.finished && !(i && v.noop)) {
855
+ const c = Ut(e, h, n);
856
+ if (c)
857
+ return kt(t, [c]), zt(t, c, !0);
858
+ }
859
+ return f && w.batchedUpdates(() => f(v, t, t.item)), v;
860
+ }
861
+ function de(t, e) {
862
+ const i = new re();
863
+ return i.key = t, e && ht(i, e), i;
864
+ }
865
+ function fe(t, e, i) {
866
+ e.keys && I(e.keys, (s) => {
867
+ (t[s] || (t[s] = i(s)))._prepareNode(e);
868
+ });
869
+ }
870
+ function kt(t, e) {
871
+ I(e, (i) => {
872
+ fe(t.springs, i, (s) => de(s, t));
873
+ });
874
+ }
875
+ var ft = ({
876
+ children: t,
877
+ ...e
878
+ }) => {
879
+ const i = Yt(Z), s = e.pause || !!i.pause, n = e.immediate || !!i.immediate;
880
+ e = Lt(() => ({ pause: s, immediate: n }), [s, n]);
881
+ const { Provider: a } = Z;
882
+ return /* @__PURE__ */ Rt.createElement(a, { value: e }, t);
883
+ }, Z = me(ft, {});
884
+ ft.Provider = Z.Provider;
885
+ ft.Consumer = Z.Consumer;
886
+ function me(t, e) {
887
+ return Object.assign(t, Rt.createContext(e)), t.Provider._context = t, t.Consumer._context = t, t;
888
+ }
889
+ var _e = class extends dt {
890
+ constructor(t, e) {
891
+ super(), this.source = t, this.idle = !0, this._active = /* @__PURE__ */ new Set(), this.calc = $t(...e);
892
+ const i = this._get(), s = st(i);
893
+ Tt(this, s.create(i));
894
+ }
895
+ advance(t) {
896
+ const e = this._get(), i = this.get();
897
+ x(e, i) || (E(this).setValue(e), this._onChange(e, this.idle)), !this.idle && Ct(this._active) && it(this);
898
+ }
899
+ _get() {
900
+ const t = o.arr(this.source) ? this.source.map(T) : V(T(this.source));
901
+ return this.calc(...t);
902
+ }
903
+ _start() {
904
+ this.idle && !Ct(this._active) && (this.idle = !1, I(ct(this), (t) => {
905
+ t.done = !1;
906
+ }), j.skipAnimation ? (w.batchedUpdates(() => this.advance()), it(this)) : ut.start(this));
907
+ }
908
+ // Observe our sources only when we're observed.
909
+ _attach() {
910
+ let t = 1;
911
+ I(V(this.source), (e) => {
912
+ O(e) && ht(e, this), ot(e) && (e.idle || this._active.add(e), t = Math.max(t, e.priority + 1));
913
+ }), this.priority = t, this._start();
914
+ }
915
+ // Stop observing our sources once we have no observers.
916
+ _detach() {
917
+ I(V(this.source), (t) => {
918
+ O(t) && wt(t, this);
919
+ }), this._active.clear(), it(this);
920
+ }
921
+ /** @internal */
922
+ eventObserved(t) {
923
+ t.type == "change" ? t.idle ? this.advance() : (this._active.add(t.parent), this._start()) : t.type == "idle" ? this._active.delete(t.parent) : t.type == "priority" && (this.priority = V(this.source).reduce(
924
+ (e, i) => Math.max(e, (ot(i) ? i.priority : 0) + 1),
925
+ 0
926
+ ));
927
+ }
928
+ };
929
+ function ge(t) {
930
+ return t.idle !== !1;
931
+ }
932
+ function Ct(t) {
933
+ return !t.size || Array.from(t).every(ge);
934
+ }
935
+ function it(t) {
936
+ t.idle || (t.idle = !0, I(ct(t), (e) => {
937
+ e.done = !0;
938
+ }), X(t, {
939
+ type: "idle",
940
+ parent: t
941
+ }));
942
+ }
943
+ j.assign({
944
+ createStringInterpolator: Gt,
945
+ to: (t, e) => new _e(t, e)
946
+ });
947
+ export {
948
+ pt as BailSignal,
949
+ be as Controller,
950
+ dt as FrameValue,
951
+ j as Globals,
952
+ _e as Interpolation,
953
+ ft as SpringContext,
954
+ re as SpringValue,
955
+ ie as config,
956
+ $t as createInterpolator,
957
+ Kt as easings,
958
+ jt as inferTo,
959
+ Ie as useIsomorphicLayoutEffect
960
+ };