@wordpress/core-data 7.37.0 → 7.37.1-next.06ee73755.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 (423) hide show
  1. package/CHANGELOG.md +0 -2
  2. package/LICENSE.md +1 -1
  3. package/README.md +0 -1
  4. package/build/{actions.js → actions.cjs} +9 -9
  5. package/build/actions.cjs.map +7 -0
  6. package/build/batch/{create-batch.js → create-batch.cjs} +2 -2
  7. package/build/batch/{default-processor.js → default-processor.cjs} +1 -1
  8. package/build/batch/{index.js → index.cjs} +3 -3
  9. package/build/{dynamic-entities.js → dynamic-entities.cjs} +1 -1
  10. package/build/{entities.js → entities.cjs} +3 -3
  11. package/build/{entity-context.js → entity-context.cjs} +1 -1
  12. package/build/{entity-provider.js → entity-provider.cjs} +2 -2
  13. package/build/entity-types/{attachment.js → attachment.cjs} +1 -1
  14. package/build/entity-types/{base-entity-records.js → base-entity-records.cjs} +1 -1
  15. package/build/entity-types/{base.js → base.cjs} +1 -1
  16. package/build/entity-types/{comment.js → comment.cjs} +1 -1
  17. package/build/entity-types/{font-collection.js → font-collection.cjs} +1 -1
  18. package/build/entity-types/{font-family.js → font-family.cjs} +1 -1
  19. package/build/entity-types/{global-styles-revision.js → global-styles-revision.cjs} +1 -1
  20. package/build/entity-types/{helpers.js → helpers.cjs} +1 -1
  21. package/build/entity-types/{index.js → index.cjs} +1 -1
  22. package/build/entity-types/{menu-location.js → menu-location.cjs} +1 -1
  23. package/build/entity-types/{nav-menu-item.js → nav-menu-item.cjs} +1 -1
  24. package/build/entity-types/{nav-menu.js → nav-menu.cjs} +1 -1
  25. package/build/entity-types/{page.js → page.cjs} +1 -1
  26. package/build/entity-types/{plugin.js → plugin.cjs} +1 -1
  27. package/build/entity-types/{post-revision.js → post-revision.cjs} +1 -1
  28. package/build/entity-types/{post-status.js → post-status.cjs} +1 -1
  29. package/build/entity-types/{post.js → post.cjs} +1 -1
  30. package/build/entity-types/{settings.js → settings.cjs} +1 -1
  31. package/build/entity-types/{sidebar.js → sidebar.cjs} +1 -1
  32. package/build/entity-types/{taxonomy.js → taxonomy.cjs} +1 -1
  33. package/build/entity-types/{term.js → term.cjs} +1 -1
  34. package/build/entity-types/{theme.js → theme.cjs} +1 -1
  35. package/build/entity-types/{type.js → type.cjs} +1 -1
  36. package/build/entity-types/{user.js → user.cjs} +1 -1
  37. package/build/entity-types/{widget-type.js → widget-type.cjs} +1 -1
  38. package/build/entity-types/{widget.js → widget.cjs} +1 -1
  39. package/build/entity-types/{wp-template-part.js → wp-template-part.cjs} +1 -1
  40. package/build/entity-types/{wp-template.js → wp-template.cjs} +1 -1
  41. package/build/fetch/{__experimental-fetch-link-suggestions.js → __experimental-fetch-link-suggestions.cjs} +1 -1
  42. package/build/fetch/{__experimental-fetch-url-data.js → __experimental-fetch-url-data.cjs} +1 -1
  43. package/build/fetch/{index.js → index.cjs} +3 -3
  44. package/build/footnotes/{get-footnotes-order.js → get-footnotes-order.cjs} +2 -2
  45. package/build/footnotes/{get-rich-text-values-cached.js → get-rich-text-values-cached.cjs} +2 -2
  46. package/build/footnotes/{index.js → index.cjs} +2 -2
  47. package/build/hooks/{constants.js → constants.cjs} +1 -1
  48. package/build/hooks/{index.js → index.cjs} +7 -7
  49. package/build/hooks/{memoize.js → memoize.cjs} +1 -1
  50. package/build/hooks/{use-entity-block-editor.js → use-entity-block-editor.cjs} +4 -4
  51. package/build/hooks/{use-entity-id.js → use-entity-id.cjs} +2 -2
  52. package/build/hooks/{use-entity-prop.js → use-entity-prop.cjs} +3 -3
  53. package/build/hooks/{use-entity-record.js → use-entity-record.cjs} +3 -3
  54. package/build/hooks/{use-entity-record.js.map → use-entity-record.cjs.map} +2 -2
  55. package/build/hooks/{use-entity-records.js → use-entity-records.cjs} +5 -5
  56. package/build/hooks/{use-query-select.js → use-query-select.cjs} +3 -3
  57. package/build/hooks/{use-resource-permissions.js → use-resource-permissions.cjs} +4 -4
  58. package/build/{index.js → index.cjs} +24 -24
  59. package/build/{index.js.map → index.cjs.map} +1 -1
  60. package/build/{lock-unlock.js → lock-unlock.cjs} +1 -1
  61. package/build/locks/{actions.js → actions.cjs} +2 -2
  62. package/build/locks/{engine.js → engine.cjs} +3 -3
  63. package/build/locks/{reducer.js → reducer.cjs} +2 -2
  64. package/build/locks/{selectors.js → selectors.cjs} +2 -2
  65. package/build/locks/{utils.js → utils.cjs} +1 -1
  66. package/build/{name.js → name.cjs} +1 -1
  67. package/build/{private-actions.js → private-actions.cjs} +2 -2
  68. package/build/{private-apis.js → private-apis.cjs} +4 -4
  69. package/build/{private-selectors.js → private-selectors.cjs} +6 -6
  70. package/build/queried-data/{actions.js → actions.cjs} +1 -1
  71. package/build/queried-data/{get-query-parts.js → get-query-parts.cjs} +2 -2
  72. package/build/queried-data/{index.js → index.cjs} +6 -6
  73. package/build/queried-data/{index.js.map → index.cjs.map} +1 -1
  74. package/build/queried-data/{reducer.js → reducer.cjs} +4 -4
  75. package/build/queried-data/{selectors.js → selectors.cjs} +3 -3
  76. package/build/{reducer.js → reducer.cjs} +5 -5
  77. package/build/reducer.cjs.map +7 -0
  78. package/build/{resolvers.js → resolvers.cjs} +6 -6
  79. package/build/{selectors.js → selectors.cjs} +7 -7
  80. package/build/{selectors.js.map → selectors.cjs.map} +2 -2
  81. package/build/{sync.js → sync.cjs} +1 -1
  82. package/build/{types.js → types.cjs} +1 -1
  83. package/build/utils/{conservative-map-item.js → conservative-map-item.cjs} +2 -2
  84. package/build/utils/conservative-map-item.cjs.map +7 -0
  85. package/build/utils/{crdt-blocks.js → crdt-blocks.cjs} +8 -7
  86. package/build/utils/crdt-blocks.cjs.map +7 -0
  87. package/build/utils/{crdt.js → crdt.cjs} +5 -5
  88. package/build/utils/crdt.cjs.map +7 -0
  89. package/build/utils/{forward-resolver.js → forward-resolver.cjs} +1 -1
  90. package/build/utils/{get-nested-value.js → get-nested-value.cjs} +1 -1
  91. package/build/utils/{get-normalized-comma-separable.js → get-normalized-comma-separable.cjs} +1 -1
  92. package/build/utils/{if-matching-action.js → if-matching-action.cjs} +1 -1
  93. package/build/utils/{index.js → index.cjs} +14 -14
  94. package/build/utils/{is-numeric-id.js → is-numeric-id.cjs} +1 -1
  95. package/build/utils/{is-raw-attribute.js → is-raw-attribute.cjs} +1 -1
  96. package/build/utils/{log-entity-deprecation.js → log-entity-deprecation.cjs} +2 -2
  97. package/build/utils/{on-sub-key.js → on-sub-key.cjs} +1 -1
  98. package/build/utils/{receive-intermediate-results.js → receive-intermediate-results.cjs} +2 -2
  99. package/build/utils/{replace-action.js → replace-action.cjs} +1 -1
  100. package/build/utils/{set-nested-value.js → set-nested-value.cjs} +1 -1
  101. package/build/utils/{user-permissions.js → user-permissions.cjs} +1 -1
  102. package/build/utils/{with-weak-map-cache.js → with-weak-map-cache.cjs} +1 -1
  103. package/build-module/{actions.js → actions.mjs} +9 -9
  104. package/build-module/actions.mjs.map +7 -0
  105. package/build-module/batch/{create-batch.js → create-batch.mjs} +2 -2
  106. package/build-module/batch/{default-processor.js → default-processor.mjs} +1 -1
  107. package/build-module/batch/index.mjs +8 -0
  108. package/build-module/{dynamic-entities.js → dynamic-entities.mjs} +1 -1
  109. package/build-module/{entities.js → entities.mjs} +3 -3
  110. package/build-module/{entity-context.js → entity-context.mjs} +1 -1
  111. package/build-module/{entity-provider.js → entity-provider.mjs} +2 -2
  112. package/build-module/entity-types/attachment.mjs +1 -0
  113. package/build-module/entity-types/base-entity-records.mjs +1 -0
  114. package/build-module/entity-types/base.mjs +1 -0
  115. package/build-module/entity-types/comment.mjs +1 -0
  116. package/build-module/entity-types/font-collection.mjs +1 -0
  117. package/build-module/entity-types/font-family.mjs +1 -0
  118. package/build-module/entity-types/global-styles-revision.mjs +1 -0
  119. package/build-module/entity-types/helpers.mjs +1 -0
  120. package/build-module/entity-types/index.mjs +1 -0
  121. package/build-module/entity-types/menu-location.mjs +1 -0
  122. package/build-module/entity-types/nav-menu-item.mjs +1 -0
  123. package/build-module/entity-types/nav-menu.mjs +1 -0
  124. package/build-module/entity-types/page.mjs +1 -0
  125. package/build-module/entity-types/plugin.mjs +1 -0
  126. package/build-module/entity-types/post-revision.mjs +1 -0
  127. package/build-module/entity-types/post-status.mjs +1 -0
  128. package/build-module/entity-types/post.mjs +1 -0
  129. package/build-module/entity-types/settings.mjs +1 -0
  130. package/build-module/entity-types/sidebar.mjs +1 -0
  131. package/build-module/entity-types/taxonomy.mjs +1 -0
  132. package/build-module/entity-types/term.mjs +1 -0
  133. package/build-module/entity-types/theme.mjs +1 -0
  134. package/build-module/entity-types/type.mjs +1 -0
  135. package/build-module/entity-types/user.mjs +1 -0
  136. package/build-module/entity-types/widget-type.mjs +1 -0
  137. package/build-module/entity-types/widget.mjs +1 -0
  138. package/build-module/entity-types/wp-template-part.mjs +1 -0
  139. package/build-module/entity-types/wp-template.mjs +1 -0
  140. package/build-module/fetch/{__experimental-fetch-link-suggestions.js → __experimental-fetch-link-suggestions.mjs} +1 -1
  141. package/build-module/fetch/{__experimental-fetch-url-data.js → __experimental-fetch-url-data.mjs} +1 -1
  142. package/build-module/fetch/{index.js → index.mjs} +3 -3
  143. package/build-module/footnotes/{get-footnotes-order.js → get-footnotes-order.mjs} +2 -2
  144. package/build-module/footnotes/{get-rich-text-values-cached.js → get-rich-text-values-cached.mjs} +2 -2
  145. package/build-module/footnotes/{index.js → index.mjs} +2 -2
  146. package/build-module/hooks/{constants.js → constants.mjs} +1 -1
  147. package/build-module/hooks/{index.js → index.mjs} +7 -7
  148. package/build-module/hooks/{memoize.js → memoize.mjs} +1 -1
  149. package/build-module/hooks/{use-entity-block-editor.js → use-entity-block-editor.mjs} +4 -4
  150. package/build-module/hooks/{use-entity-id.js → use-entity-id.mjs} +2 -2
  151. package/build-module/hooks/{use-entity-prop.js → use-entity-prop.mjs} +3 -3
  152. package/build-module/hooks/{use-entity-record.js → use-entity-record.mjs} +3 -3
  153. package/build-module/hooks/{use-entity-record.js.map → use-entity-record.mjs.map} +2 -2
  154. package/build-module/hooks/{use-entity-records.js → use-entity-records.mjs} +5 -5
  155. package/build-module/hooks/{use-query-select.js → use-query-select.mjs} +3 -3
  156. package/build-module/hooks/{use-resource-permissions.js → use-resource-permissions.mjs} +4 -4
  157. package/build-module/{index.js → index.mjs} +19 -19
  158. package/build-module/{lock-unlock.js → lock-unlock.mjs} +1 -1
  159. package/build-module/locks/{actions.js → actions.mjs} +2 -2
  160. package/build-module/locks/{engine.js → engine.mjs} +3 -3
  161. package/build-module/locks/{reducer.js → reducer.mjs} +2 -2
  162. package/build-module/locks/{selectors.js → selectors.mjs} +2 -2
  163. package/build-module/locks/{utils.js → utils.mjs} +1 -1
  164. package/build-module/{name.js → name.mjs} +1 -1
  165. package/build-module/{private-actions.js → private-actions.mjs} +2 -2
  166. package/build-module/{private-apis.js → private-apis.mjs} +4 -4
  167. package/build-module/{private-selectors.js → private-selectors.mjs} +6 -6
  168. package/build-module/queried-data/{actions.js → actions.mjs} +1 -1
  169. package/build-module/queried-data/{get-query-parts.js → get-query-parts.mjs} +2 -2
  170. package/build-module/queried-data/index.mjs +8 -0
  171. package/build-module/queried-data/{reducer.js → reducer.mjs} +4 -4
  172. package/build-module/queried-data/{selectors.js → selectors.mjs} +3 -3
  173. package/build-module/{reducer.js → reducer.mjs} +5 -5
  174. package/build-module/reducer.mjs.map +7 -0
  175. package/build-module/{resolvers.js → resolvers.mjs} +6 -6
  176. package/build-module/{selectors.js → selectors.mjs} +7 -7
  177. package/build-module/{selectors.js.map → selectors.mjs.map} +2 -2
  178. package/build-module/{sync.js → sync.mjs} +1 -1
  179. package/build-module/types.mjs +1 -0
  180. package/build-module/utils/{conservative-map-item.js → conservative-map-item.mjs} +2 -2
  181. package/build-module/utils/conservative-map-item.mjs.map +7 -0
  182. package/build-module/utils/{crdt-blocks.js → crdt-blocks.mjs} +8 -7
  183. package/build-module/utils/crdt-blocks.mjs.map +7 -0
  184. package/build-module/utils/{crdt.js → crdt.mjs} +5 -5
  185. package/build-module/utils/crdt.mjs.map +7 -0
  186. package/build-module/utils/{forward-resolver.js → forward-resolver.mjs} +1 -1
  187. package/build-module/utils/{get-nested-value.js → get-nested-value.mjs} +1 -1
  188. package/build-module/utils/{get-normalized-comma-separable.js → get-normalized-comma-separable.mjs} +1 -1
  189. package/build-module/utils/{if-matching-action.js → if-matching-action.mjs} +1 -1
  190. package/build-module/utils/{index.js → index.mjs} +14 -14
  191. package/build-module/utils/{is-numeric-id.js → is-numeric-id.mjs} +1 -1
  192. package/build-module/utils/{is-raw-attribute.js → is-raw-attribute.mjs} +1 -1
  193. package/build-module/utils/{log-entity-deprecation.js → log-entity-deprecation.mjs} +2 -2
  194. package/build-module/utils/{on-sub-key.js → on-sub-key.mjs} +1 -1
  195. package/build-module/utils/{receive-intermediate-results.js → receive-intermediate-results.mjs} +2 -2
  196. package/build-module/utils/{replace-action.js → replace-action.mjs} +1 -1
  197. package/build-module/utils/{set-nested-value.js → set-nested-value.mjs} +1 -1
  198. package/build-module/utils/{user-permissions.js → user-permissions.mjs} +1 -1
  199. package/build-module/utils/{with-weak-map-cache.js → with-weak-map-cache.mjs} +1 -1
  200. package/build-types/hooks/use-entity-record.d.ts +0 -1
  201. package/build-types/hooks/use-entity-record.d.ts.map +1 -1
  202. package/build-types/index.d.ts +9 -9
  203. package/build-types/index.d.ts.map +1 -1
  204. package/build-types/selectors.d.ts +2 -1
  205. package/build-types/selectors.d.ts.map +1 -1
  206. package/build-types/utils/crdt-blocks.d.ts.map +1 -1
  207. package/package.json +34 -24
  208. package/src/actions.js +1 -1
  209. package/src/hooks/use-entity-record.ts +0 -1
  210. package/src/reducer.js +1 -1
  211. package/src/selectors.ts +11 -1
  212. package/src/utils/conservative-map-item.js +1 -1
  213. package/src/utils/crdt-blocks.ts +9 -7
  214. package/src/utils/crdt.ts +4 -4
  215. package/src/utils/test/crdt-blocks.ts +99 -0
  216. package/src/utils/test/crdt.ts +42 -3
  217. package/build/actions.js.map +0 -7
  218. package/build/reducer.js.map +0 -7
  219. package/build/utils/conservative-map-item.js.map +0 -7
  220. package/build/utils/crdt-blocks.js.map +0 -7
  221. package/build/utils/crdt.js.map +0 -7
  222. package/build-module/actions.js.map +0 -7
  223. package/build-module/batch/index.js +0 -8
  224. package/build-module/entity-types/attachment.js +0 -1
  225. package/build-module/entity-types/base-entity-records.js +0 -1
  226. package/build-module/entity-types/base.js +0 -1
  227. package/build-module/entity-types/comment.js +0 -1
  228. package/build-module/entity-types/font-collection.js +0 -1
  229. package/build-module/entity-types/font-family.js +0 -1
  230. package/build-module/entity-types/global-styles-revision.js +0 -1
  231. package/build-module/entity-types/helpers.js +0 -1
  232. package/build-module/entity-types/index.js +0 -1
  233. package/build-module/entity-types/menu-location.js +0 -1
  234. package/build-module/entity-types/nav-menu-item.js +0 -1
  235. package/build-module/entity-types/nav-menu.js +0 -1
  236. package/build-module/entity-types/page.js +0 -1
  237. package/build-module/entity-types/plugin.js +0 -1
  238. package/build-module/entity-types/post-revision.js +0 -1
  239. package/build-module/entity-types/post-status.js +0 -1
  240. package/build-module/entity-types/post.js +0 -1
  241. package/build-module/entity-types/settings.js +0 -1
  242. package/build-module/entity-types/sidebar.js +0 -1
  243. package/build-module/entity-types/taxonomy.js +0 -1
  244. package/build-module/entity-types/term.js +0 -1
  245. package/build-module/entity-types/theme.js +0 -1
  246. package/build-module/entity-types/type.js +0 -1
  247. package/build-module/entity-types/user.js +0 -1
  248. package/build-module/entity-types/widget-type.js +0 -1
  249. package/build-module/entity-types/widget.js +0 -1
  250. package/build-module/entity-types/wp-template-part.js +0 -1
  251. package/build-module/entity-types/wp-template.js +0 -1
  252. package/build-module/queried-data/index.js +0 -8
  253. package/build-module/reducer.js.map +0 -7
  254. package/build-module/types.js +0 -1
  255. package/build-module/utils/conservative-map-item.js.map +0 -7
  256. package/build-module/utils/crdt-blocks.js.map +0 -7
  257. package/build-module/utils/crdt.js.map +0 -7
  258. package/tsconfig.json +0 -25
  259. package/tsconfig.tsbuildinfo +0 -1
  260. /package/build/batch/{create-batch.js.map → create-batch.cjs.map} +0 -0
  261. /package/build/batch/{default-processor.js.map → default-processor.cjs.map} +0 -0
  262. /package/build/batch/{index.js.map → index.cjs.map} +0 -0
  263. /package/build/{dynamic-entities.js.map → dynamic-entities.cjs.map} +0 -0
  264. /package/build/{entities.js.map → entities.cjs.map} +0 -0
  265. /package/build/{entity-context.js.map → entity-context.cjs.map} +0 -0
  266. /package/build/{entity-provider.js.map → entity-provider.cjs.map} +0 -0
  267. /package/build/entity-types/{attachment.js.map → attachment.cjs.map} +0 -0
  268. /package/build/entity-types/{base-entity-records.js.map → base-entity-records.cjs.map} +0 -0
  269. /package/build/entity-types/{base.js.map → base.cjs.map} +0 -0
  270. /package/build/entity-types/{comment.js.map → comment.cjs.map} +0 -0
  271. /package/build/entity-types/{font-collection.js.map → font-collection.cjs.map} +0 -0
  272. /package/build/entity-types/{font-family.js.map → font-family.cjs.map} +0 -0
  273. /package/build/entity-types/{global-styles-revision.js.map → global-styles-revision.cjs.map} +0 -0
  274. /package/build/entity-types/{helpers.js.map → helpers.cjs.map} +0 -0
  275. /package/build/entity-types/{index.js.map → index.cjs.map} +0 -0
  276. /package/build/entity-types/{menu-location.js.map → menu-location.cjs.map} +0 -0
  277. /package/build/entity-types/{nav-menu-item.js.map → nav-menu-item.cjs.map} +0 -0
  278. /package/build/entity-types/{nav-menu.js.map → nav-menu.cjs.map} +0 -0
  279. /package/build/entity-types/{page.js.map → page.cjs.map} +0 -0
  280. /package/build/entity-types/{plugin.js.map → plugin.cjs.map} +0 -0
  281. /package/build/entity-types/{post-revision.js.map → post-revision.cjs.map} +0 -0
  282. /package/build/entity-types/{post-status.js.map → post-status.cjs.map} +0 -0
  283. /package/build/entity-types/{post.js.map → post.cjs.map} +0 -0
  284. /package/build/entity-types/{settings.js.map → settings.cjs.map} +0 -0
  285. /package/build/entity-types/{sidebar.js.map → sidebar.cjs.map} +0 -0
  286. /package/build/entity-types/{taxonomy.js.map → taxonomy.cjs.map} +0 -0
  287. /package/build/entity-types/{term.js.map → term.cjs.map} +0 -0
  288. /package/build/entity-types/{theme.js.map → theme.cjs.map} +0 -0
  289. /package/build/entity-types/{type.js.map → type.cjs.map} +0 -0
  290. /package/build/entity-types/{user.js.map → user.cjs.map} +0 -0
  291. /package/build/entity-types/{widget-type.js.map → widget-type.cjs.map} +0 -0
  292. /package/build/entity-types/{widget.js.map → widget.cjs.map} +0 -0
  293. /package/build/entity-types/{wp-template-part.js.map → wp-template-part.cjs.map} +0 -0
  294. /package/build/entity-types/{wp-template.js.map → wp-template.cjs.map} +0 -0
  295. /package/build/fetch/{__experimental-fetch-link-suggestions.js.map → __experimental-fetch-link-suggestions.cjs.map} +0 -0
  296. /package/build/fetch/{__experimental-fetch-url-data.js.map → __experimental-fetch-url-data.cjs.map} +0 -0
  297. /package/build/fetch/{index.js.map → index.cjs.map} +0 -0
  298. /package/build/footnotes/{get-footnotes-order.js.map → get-footnotes-order.cjs.map} +0 -0
  299. /package/build/footnotes/{get-rich-text-values-cached.js.map → get-rich-text-values-cached.cjs.map} +0 -0
  300. /package/build/footnotes/{index.js.map → index.cjs.map} +0 -0
  301. /package/build/hooks/{constants.js.map → constants.cjs.map} +0 -0
  302. /package/build/hooks/{index.js.map → index.cjs.map} +0 -0
  303. /package/build/hooks/{memoize.js.map → memoize.cjs.map} +0 -0
  304. /package/build/hooks/{use-entity-block-editor.js.map → use-entity-block-editor.cjs.map} +0 -0
  305. /package/build/hooks/{use-entity-id.js.map → use-entity-id.cjs.map} +0 -0
  306. /package/build/hooks/{use-entity-prop.js.map → use-entity-prop.cjs.map} +0 -0
  307. /package/build/hooks/{use-entity-records.js.map → use-entity-records.cjs.map} +0 -0
  308. /package/build/hooks/{use-query-select.js.map → use-query-select.cjs.map} +0 -0
  309. /package/build/hooks/{use-resource-permissions.js.map → use-resource-permissions.cjs.map} +0 -0
  310. /package/build/{lock-unlock.js.map → lock-unlock.cjs.map} +0 -0
  311. /package/build/locks/{actions.js.map → actions.cjs.map} +0 -0
  312. /package/build/locks/{engine.js.map → engine.cjs.map} +0 -0
  313. /package/build/locks/{reducer.js.map → reducer.cjs.map} +0 -0
  314. /package/build/locks/{selectors.js.map → selectors.cjs.map} +0 -0
  315. /package/build/locks/{utils.js.map → utils.cjs.map} +0 -0
  316. /package/build/{name.js.map → name.cjs.map} +0 -0
  317. /package/build/{private-actions.js.map → private-actions.cjs.map} +0 -0
  318. /package/build/{private-apis.js.map → private-apis.cjs.map} +0 -0
  319. /package/build/{private-selectors.js.map → private-selectors.cjs.map} +0 -0
  320. /package/build/queried-data/{actions.js.map → actions.cjs.map} +0 -0
  321. /package/build/queried-data/{get-query-parts.js.map → get-query-parts.cjs.map} +0 -0
  322. /package/build/queried-data/{reducer.js.map → reducer.cjs.map} +0 -0
  323. /package/build/queried-data/{selectors.js.map → selectors.cjs.map} +0 -0
  324. /package/build/{resolvers.js.map → resolvers.cjs.map} +0 -0
  325. /package/build/{sync.js.map → sync.cjs.map} +0 -0
  326. /package/build/{types.js.map → types.cjs.map} +0 -0
  327. /package/build/utils/{forward-resolver.js.map → forward-resolver.cjs.map} +0 -0
  328. /package/build/utils/{get-nested-value.js.map → get-nested-value.cjs.map} +0 -0
  329. /package/build/utils/{get-normalized-comma-separable.js.map → get-normalized-comma-separable.cjs.map} +0 -0
  330. /package/build/utils/{if-matching-action.js.map → if-matching-action.cjs.map} +0 -0
  331. /package/build/utils/{index.js.map → index.cjs.map} +0 -0
  332. /package/build/utils/{is-numeric-id.js.map → is-numeric-id.cjs.map} +0 -0
  333. /package/build/utils/{is-raw-attribute.js.map → is-raw-attribute.cjs.map} +0 -0
  334. /package/build/utils/{log-entity-deprecation.js.map → log-entity-deprecation.cjs.map} +0 -0
  335. /package/build/utils/{on-sub-key.js.map → on-sub-key.cjs.map} +0 -0
  336. /package/build/utils/{receive-intermediate-results.js.map → receive-intermediate-results.cjs.map} +0 -0
  337. /package/build/utils/{replace-action.js.map → replace-action.cjs.map} +0 -0
  338. /package/build/utils/{set-nested-value.js.map → set-nested-value.cjs.map} +0 -0
  339. /package/build/utils/{user-permissions.js.map → user-permissions.cjs.map} +0 -0
  340. /package/build/utils/{with-weak-map-cache.js.map → with-weak-map-cache.cjs.map} +0 -0
  341. /package/build-module/batch/{create-batch.js.map → create-batch.mjs.map} +0 -0
  342. /package/build-module/batch/{default-processor.js.map → default-processor.mjs.map} +0 -0
  343. /package/build-module/batch/{index.js.map → index.mjs.map} +0 -0
  344. /package/build-module/{dynamic-entities.js.map → dynamic-entities.mjs.map} +0 -0
  345. /package/build-module/{entities.js.map → entities.mjs.map} +0 -0
  346. /package/build-module/{entity-context.js.map → entity-context.mjs.map} +0 -0
  347. /package/build-module/{entity-provider.js.map → entity-provider.mjs.map} +0 -0
  348. /package/build-module/entity-types/{attachment.js.map → attachment.mjs.map} +0 -0
  349. /package/build-module/entity-types/{base-entity-records.js.map → base-entity-records.mjs.map} +0 -0
  350. /package/build-module/entity-types/{base.js.map → base.mjs.map} +0 -0
  351. /package/build-module/entity-types/{comment.js.map → comment.mjs.map} +0 -0
  352. /package/build-module/entity-types/{font-collection.js.map → font-collection.mjs.map} +0 -0
  353. /package/build-module/entity-types/{font-family.js.map → font-family.mjs.map} +0 -0
  354. /package/build-module/entity-types/{global-styles-revision.js.map → global-styles-revision.mjs.map} +0 -0
  355. /package/build-module/entity-types/{helpers.js.map → helpers.mjs.map} +0 -0
  356. /package/build-module/entity-types/{index.js.map → index.mjs.map} +0 -0
  357. /package/build-module/entity-types/{menu-location.js.map → menu-location.mjs.map} +0 -0
  358. /package/build-module/entity-types/{nav-menu-item.js.map → nav-menu-item.mjs.map} +0 -0
  359. /package/build-module/entity-types/{nav-menu.js.map → nav-menu.mjs.map} +0 -0
  360. /package/build-module/entity-types/{page.js.map → page.mjs.map} +0 -0
  361. /package/build-module/entity-types/{plugin.js.map → plugin.mjs.map} +0 -0
  362. /package/build-module/entity-types/{post-revision.js.map → post-revision.mjs.map} +0 -0
  363. /package/build-module/entity-types/{post-status.js.map → post-status.mjs.map} +0 -0
  364. /package/build-module/entity-types/{post.js.map → post.mjs.map} +0 -0
  365. /package/build-module/entity-types/{settings.js.map → settings.mjs.map} +0 -0
  366. /package/build-module/entity-types/{sidebar.js.map → sidebar.mjs.map} +0 -0
  367. /package/build-module/entity-types/{taxonomy.js.map → taxonomy.mjs.map} +0 -0
  368. /package/build-module/entity-types/{term.js.map → term.mjs.map} +0 -0
  369. /package/build-module/entity-types/{theme.js.map → theme.mjs.map} +0 -0
  370. /package/build-module/entity-types/{type.js.map → type.mjs.map} +0 -0
  371. /package/build-module/entity-types/{user.js.map → user.mjs.map} +0 -0
  372. /package/build-module/entity-types/{widget-type.js.map → widget-type.mjs.map} +0 -0
  373. /package/build-module/entity-types/{widget.js.map → widget.mjs.map} +0 -0
  374. /package/build-module/entity-types/{wp-template-part.js.map → wp-template-part.mjs.map} +0 -0
  375. /package/build-module/entity-types/{wp-template.js.map → wp-template.mjs.map} +0 -0
  376. /package/build-module/fetch/{__experimental-fetch-link-suggestions.js.map → __experimental-fetch-link-suggestions.mjs.map} +0 -0
  377. /package/build-module/fetch/{__experimental-fetch-url-data.js.map → __experimental-fetch-url-data.mjs.map} +0 -0
  378. /package/build-module/fetch/{index.js.map → index.mjs.map} +0 -0
  379. /package/build-module/footnotes/{get-footnotes-order.js.map → get-footnotes-order.mjs.map} +0 -0
  380. /package/build-module/footnotes/{get-rich-text-values-cached.js.map → get-rich-text-values-cached.mjs.map} +0 -0
  381. /package/build-module/footnotes/{index.js.map → index.mjs.map} +0 -0
  382. /package/build-module/hooks/{constants.js.map → constants.mjs.map} +0 -0
  383. /package/build-module/hooks/{index.js.map → index.mjs.map} +0 -0
  384. /package/build-module/hooks/{memoize.js.map → memoize.mjs.map} +0 -0
  385. /package/build-module/hooks/{use-entity-block-editor.js.map → use-entity-block-editor.mjs.map} +0 -0
  386. /package/build-module/hooks/{use-entity-id.js.map → use-entity-id.mjs.map} +0 -0
  387. /package/build-module/hooks/{use-entity-prop.js.map → use-entity-prop.mjs.map} +0 -0
  388. /package/build-module/hooks/{use-entity-records.js.map → use-entity-records.mjs.map} +0 -0
  389. /package/build-module/hooks/{use-query-select.js.map → use-query-select.mjs.map} +0 -0
  390. /package/build-module/hooks/{use-resource-permissions.js.map → use-resource-permissions.mjs.map} +0 -0
  391. /package/build-module/{index.js.map → index.mjs.map} +0 -0
  392. /package/build-module/{lock-unlock.js.map → lock-unlock.mjs.map} +0 -0
  393. /package/build-module/locks/{actions.js.map → actions.mjs.map} +0 -0
  394. /package/build-module/locks/{engine.js.map → engine.mjs.map} +0 -0
  395. /package/build-module/locks/{reducer.js.map → reducer.mjs.map} +0 -0
  396. /package/build-module/locks/{selectors.js.map → selectors.mjs.map} +0 -0
  397. /package/build-module/locks/{utils.js.map → utils.mjs.map} +0 -0
  398. /package/build-module/{name.js.map → name.mjs.map} +0 -0
  399. /package/build-module/{private-actions.js.map → private-actions.mjs.map} +0 -0
  400. /package/build-module/{private-apis.js.map → private-apis.mjs.map} +0 -0
  401. /package/build-module/{private-selectors.js.map → private-selectors.mjs.map} +0 -0
  402. /package/build-module/queried-data/{actions.js.map → actions.mjs.map} +0 -0
  403. /package/build-module/queried-data/{get-query-parts.js.map → get-query-parts.mjs.map} +0 -0
  404. /package/build-module/queried-data/{index.js.map → index.mjs.map} +0 -0
  405. /package/build-module/queried-data/{reducer.js.map → reducer.mjs.map} +0 -0
  406. /package/build-module/queried-data/{selectors.js.map → selectors.mjs.map} +0 -0
  407. /package/build-module/{resolvers.js.map → resolvers.mjs.map} +0 -0
  408. /package/build-module/{sync.js.map → sync.mjs.map} +0 -0
  409. /package/build-module/{types.js.map → types.mjs.map} +0 -0
  410. /package/build-module/utils/{forward-resolver.js.map → forward-resolver.mjs.map} +0 -0
  411. /package/build-module/utils/{get-nested-value.js.map → get-nested-value.mjs.map} +0 -0
  412. /package/build-module/utils/{get-normalized-comma-separable.js.map → get-normalized-comma-separable.mjs.map} +0 -0
  413. /package/build-module/utils/{if-matching-action.js.map → if-matching-action.mjs.map} +0 -0
  414. /package/build-module/utils/{index.js.map → index.mjs.map} +0 -0
  415. /package/build-module/utils/{is-numeric-id.js.map → is-numeric-id.mjs.map} +0 -0
  416. /package/build-module/utils/{is-raw-attribute.js.map → is-raw-attribute.mjs.map} +0 -0
  417. /package/build-module/utils/{log-entity-deprecation.js.map → log-entity-deprecation.mjs.map} +0 -0
  418. /package/build-module/utils/{on-sub-key.js.map → on-sub-key.mjs.map} +0 -0
  419. /package/build-module/utils/{receive-intermediate-results.js.map → receive-intermediate-results.mjs.map} +0 -0
  420. /package/build-module/utils/{replace-action.js.map → replace-action.mjs.map} +0 -0
  421. /package/build-module/utils/{set-nested-value.js.map → set-nested-value.mjs.map} +0 -0
  422. /package/build-module/utils/{user-permissions.js.map → user-permissions.mjs.map} +0 -0
  423. /package/build-module/utils/{with-weak-map-cache.js.map → with-weak-map-cache.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
- ## 7.37.0 (2025-12-23)
6
-
7
5
  ## 7.36.0 (2025-11-26)
8
6
 
9
7
  ## 7.35.0 (2025-11-12)
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Gutenberg
2
2
 
3
- Copyright 2016-2025 by the contributors
3
+ Copyright 2016-2026 by the contributors
4
4
 
5
5
  **License for Contributions (on and after April 15, 2021)**
6
6
 
package/README.md CHANGED
@@ -1101,7 +1101,6 @@ function PageRenameForm( { id } ) {
1101
1101
  return (
1102
1102
  <form onSubmit={ onRename }>
1103
1103
  <TextControl
1104
- __nextHasNoMarginBottom
1105
1104
  __next40pxDefaultSize
1106
1105
  label={ __( 'Name' ) }
1107
1106
  value={ page.editedRecord.title }
@@ -59,18 +59,18 @@ __export(actions_exports, {
59
59
  undo: () => undo
60
60
  });
61
61
  module.exports = __toCommonJS(actions_exports);
62
- var import_es6 = __toESM(require("fast-deep-equal/es6"));
62
+ var import_es6 = __toESM(require("fast-deep-equal/es6/index.js"));
63
63
  var import_uuid = require("uuid");
64
64
  var import_api_fetch = __toESM(require("@wordpress/api-fetch"));
65
65
  var import_url = require("@wordpress/url");
66
66
  var import_deprecated = __toESM(require("@wordpress/deprecated"));
67
- var import_utils = require("./utils");
68
- var import_queried_data = require("./queried-data");
69
- var import_entities = require("./entities");
70
- var import_batch = require("./batch");
71
- var import_name = require("./name");
72
- var import_sync = require("./sync");
73
- var import_log_entity_deprecation = __toESM(require("./utils/log-entity-deprecation"));
67
+ var import_utils = require("./utils/index.cjs");
68
+ var import_queried_data = require("./queried-data/index.cjs");
69
+ var import_entities = require("./entities.cjs");
70
+ var import_batch = require("./batch/index.cjs");
71
+ var import_name = require("./name.cjs");
72
+ var import_sync = require("./sync.cjs");
73
+ var import_log_entity_deprecation = __toESM(require("./utils/log-entity-deprecation.cjs"));
74
74
  function receiveUserQuery(queryID, users) {
75
75
  return {
76
76
  type: "RECEIVE_USER_QUERY",
@@ -658,4 +658,4 @@ var receiveRevisions = (kind, name, recordKey, records, query, invalidateCache =
658
658
  saveEntityRecord,
659
659
  undo
660
660
  });
661
- //# sourceMappingURL=actions.js.map
661
+ //# sourceMappingURL=actions.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/actions.js"],
4
+ "sourcesContent": ["/**\n * External dependencies\n */\nimport fastDeepEqual from 'fast-deep-equal/es6/index.js';\nimport { v4 as uuid } from 'uuid';\n\n/**\n * WordPress dependencies\n */\nimport apiFetch from '@wordpress/api-fetch';\nimport { addQueryArgs } from '@wordpress/url';\nimport deprecated from '@wordpress/deprecated';\n\n/**\n * Internal dependencies\n */\nimport { getNestedValue, setNestedValue } from './utils';\nimport { receiveItems, removeItems, receiveQueriedItems } from './queried-data';\nimport { DEFAULT_ENTITY_KEY } from './entities';\nimport { createBatch } from './batch';\nimport { STORE_NAME } from './name';\nimport { LOCAL_EDITOR_ORIGIN, getSyncManager } from './sync';\nimport logEntityDeprecation from './utils/log-entity-deprecation';\n\n/**\n * Returns an action object used in signalling that authors have been received.\n * Ignored from documentation as it's internal to the data store.\n *\n * @ignore\n *\n * @param {string} queryID Query ID.\n * @param {Array|Object} users Users received.\n *\n * @return {Object} Action object.\n */\nexport function receiveUserQuery( queryID, users ) {\n\treturn {\n\t\ttype: 'RECEIVE_USER_QUERY',\n\t\tusers: Array.isArray( users ) ? users : [ users ],\n\t\tqueryID,\n\t};\n}\n\n/**\n * Returns an action used in signalling that the current user has been received.\n * Ignored from documentation as it's internal to the data store.\n *\n * @ignore\n *\n * @param {Object} currentUser Current user object.\n *\n * @return {Object} Action object.\n */\nexport function receiveCurrentUser( currentUser ) {\n\treturn {\n\t\ttype: 'RECEIVE_CURRENT_USER',\n\t\tcurrentUser,\n\t};\n}\n\n/**\n * Returns an action object used in adding new entities.\n *\n * @param {Array} entities Entities received.\n *\n * @return {Object} Action object.\n */\nexport function addEntities( entities ) {\n\treturn {\n\t\ttype: 'ADD_ENTITIES',\n\t\tentities,\n\t};\n}\n\n/**\n * Returns an action object used in signalling that entity records have been received.\n *\n * @param {string} kind Kind of the received entity record.\n * @param {string} name Name of the received entity record.\n * @param {Array|Object} records Records received.\n * @param {?Object} query Query Object.\n * @param {?boolean} invalidateCache Should invalidate query caches.\n * @param {?Object} edits Edits to reset.\n * @param {?Object} meta Meta information about pagination.\n * @return {Object} Action object.\n */\nexport function receiveEntityRecords(\n\tkind,\n\tname,\n\trecords,\n\tquery = undefined,\n\tinvalidateCache = false,\n\tedits = undefined,\n\tmeta = undefined\n) {\n\t// Auto drafts should not have titles, but some plugins rely on them so we can't filter this\n\t// on the server.\n\tif ( kind === 'postType' ) {\n\t\trecords = ( Array.isArray( records ) ? records : [ records ] ).map(\n\t\t\t( record ) =>\n\t\t\t\trecord.status === 'auto-draft'\n\t\t\t\t\t? { ...record, title: '' }\n\t\t\t\t\t: record\n\t\t);\n\t}\n\tlet action;\n\tif ( query ) {\n\t\taction = receiveQueriedItems( records, query, edits, meta );\n\t} else {\n\t\taction = receiveItems( records, edits, meta );\n\t}\n\n\treturn {\n\t\t...action,\n\t\tkind,\n\t\tname,\n\t\tinvalidateCache,\n\t};\n}\n\n/**\n * Returns an action object used in signalling that the current theme has been received.\n * Ignored from documentation as it's internal to the data store.\n *\n * @ignore\n *\n * @param {Object} currentTheme The current theme.\n *\n * @return {Object} Action object.\n */\nexport function receiveCurrentTheme( currentTheme ) {\n\treturn {\n\t\ttype: 'RECEIVE_CURRENT_THEME',\n\t\tcurrentTheme,\n\t};\n}\n\n/**\n * Returns an action object used in signalling that the current global styles id has been received.\n * Ignored from documentation as it's internal to the data store.\n *\n * @ignore\n *\n * @param {string} currentGlobalStylesId The current global styles id.\n *\n * @return {Object} Action object.\n */\nexport function __experimentalReceiveCurrentGlobalStylesId(\n\tcurrentGlobalStylesId\n) {\n\treturn {\n\t\ttype: 'RECEIVE_CURRENT_GLOBAL_STYLES_ID',\n\t\tid: currentGlobalStylesId,\n\t};\n}\n\n/**\n * Returns an action object used in signalling that the theme base global styles have been received\n * Ignored from documentation as it's internal to the data store.\n *\n * @ignore\n *\n * @param {string} stylesheet The theme's identifier\n * @param {Object} globalStyles The global styles object.\n *\n * @return {Object} Action object.\n */\nexport function __experimentalReceiveThemeBaseGlobalStyles(\n\tstylesheet,\n\tglobalStyles\n) {\n\treturn {\n\t\ttype: 'RECEIVE_THEME_GLOBAL_STYLES',\n\t\tstylesheet,\n\t\tglobalStyles,\n\t};\n}\n\n/**\n * Returns an action object used in signalling that the theme global styles variations have been received.\n * Ignored from documentation as it's internal to the data store.\n *\n * @ignore\n *\n * @param {string} stylesheet The theme's identifier\n * @param {Array} variations The global styles variations.\n *\n * @return {Object} Action object.\n */\nexport function __experimentalReceiveThemeGlobalStyleVariations(\n\tstylesheet,\n\tvariations\n) {\n\treturn {\n\t\ttype: 'RECEIVE_THEME_GLOBAL_STYLE_VARIATIONS',\n\t\tstylesheet,\n\t\tvariations,\n\t};\n}\n\n/**\n * Returns an action object used in signalling that the index has been received.\n *\n * @deprecated since WP 5.9, this is not useful anymore, use the selector directly.\n *\n * @return {Object} Action object.\n */\nexport function receiveThemeSupports() {\n\tdeprecated( \"wp.data.dispatch( 'core' ).receiveThemeSupports\", {\n\t\tsince: '5.9',\n\t} );\n\n\treturn {\n\t\ttype: 'DO_NOTHING',\n\t};\n}\n\n/**\n * Returns an action object used in signalling that the theme global styles CPT post revisions have been received.\n * Ignored from documentation as it's internal to the data store.\n *\n * @deprecated since WordPress 6.5.0. Callers should use `dispatch( 'core' ).receiveRevision` instead.\n *\n * @ignore\n *\n * @param {number} currentId The post id.\n * @param {Array} revisions The global styles revisions.\n *\n * @return {Object} Action object.\n */\nexport function receiveThemeGlobalStyleRevisions( currentId, revisions ) {\n\tdeprecated(\n\t\t\"wp.data.dispatch( 'core' ).receiveThemeGlobalStyleRevisions()\",\n\t\t{\n\t\t\tsince: '6.5.0',\n\t\t\talternative: \"wp.data.dispatch( 'core' ).receiveRevisions\",\n\t\t}\n\t);\n\treturn {\n\t\ttype: 'RECEIVE_THEME_GLOBAL_STYLE_REVISIONS',\n\t\tcurrentId,\n\t\trevisions,\n\t};\n}\n\n/**\n * Returns an action object used in signalling that the preview data for\n * a given URl has been received.\n * Ignored from documentation as it's internal to the data store.\n *\n * @ignore\n *\n * @param {string} url URL to preview the embed for.\n * @param {*} preview Preview data.\n *\n * @return {Object} Action object.\n */\nexport function receiveEmbedPreview( url, preview ) {\n\treturn {\n\t\ttype: 'RECEIVE_EMBED_PREVIEW',\n\t\turl,\n\t\tpreview,\n\t};\n}\n\n/**\n * Action triggered to delete an entity record.\n *\n * @param {string} kind Kind of the deleted entity.\n * @param {string} name Name of the deleted entity.\n * @param {number|string} recordId Record ID of the deleted entity.\n * @param {?Object} query Special query parameters for the\n * DELETE API call.\n * @param {Object} [options] Delete options.\n * @param {Function} [options.__unstableFetch] Internal use only. Function to\n * call instead of `apiFetch()`.\n * Must return a promise.\n * @param {boolean} [options.throwOnError=false] If false, this action suppresses all\n * the exceptions. Defaults to false.\n */\nexport const deleteEntityRecord =\n\t(\n\t\tkind,\n\t\tname,\n\t\trecordId,\n\t\tquery,\n\t\t{ __unstableFetch = apiFetch, throwOnError = false } = {}\n\t) =>\n\tasync ( { dispatch, resolveSelect } ) => {\n\t\tlogEntityDeprecation( kind, name, 'deleteEntityRecord' );\n\t\tconst configs = await resolveSelect.getEntitiesConfig( kind );\n\t\tconst entityConfig = configs.find(\n\t\t\t( config ) => config.kind === kind && config.name === name\n\t\t);\n\t\tlet error;\n\t\tlet deletedRecord = false;\n\t\tif ( ! entityConfig ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst lock = await dispatch.__unstableAcquireStoreLock(\n\t\t\tSTORE_NAME,\n\t\t\t[ 'entities', 'records', kind, name, recordId ],\n\t\t\t{ exclusive: true }\n\t\t);\n\n\t\ttry {\n\t\t\tdispatch( {\n\t\t\t\ttype: 'DELETE_ENTITY_RECORD_START',\n\t\t\t\tkind,\n\t\t\t\tname,\n\t\t\t\trecordId,\n\t\t\t} );\n\n\t\t\tlet hasError = false;\n\t\t\tlet { baseURL } = entityConfig;\n\t\t\tif (\n\t\t\t\tkind === 'postType' &&\n\t\t\t\tname === 'wp_template' &&\n\t\t\t\t( ( recordId &&\n\t\t\t\t\ttypeof recordId === 'string' &&\n\t\t\t\t\t! /^\\d+$/.test( recordId ) ) ||\n\t\t\t\t\t! window?.__experimentalTemplateActivate )\n\t\t\t) {\n\t\t\t\tbaseURL =\n\t\t\t\t\tbaseURL.slice( 0, baseURL.lastIndexOf( '/' ) ) +\n\t\t\t\t\t'/templates';\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tlet path = `${ baseURL }/${ recordId }`;\n\n\t\t\t\tif ( query ) {\n\t\t\t\t\tpath = addQueryArgs( path, query );\n\t\t\t\t}\n\n\t\t\t\tdeletedRecord = await __unstableFetch( {\n\t\t\t\t\tpath,\n\t\t\t\t\tmethod: 'DELETE',\n\t\t\t\t} );\n\n\t\t\t\tawait dispatch( removeItems( kind, name, recordId, true ) );\n\t\t\t} catch ( _error ) {\n\t\t\t\thasError = true;\n\t\t\t\terror = _error;\n\t\t\t}\n\n\t\t\tdispatch( {\n\t\t\t\ttype: 'DELETE_ENTITY_RECORD_FINISH',\n\t\t\t\tkind,\n\t\t\t\tname,\n\t\t\t\trecordId,\n\t\t\t\terror,\n\t\t\t} );\n\n\t\t\tif ( hasError && throwOnError ) {\n\t\t\t\tthrow error;\n\t\t\t}\n\n\t\t\treturn deletedRecord;\n\t\t} finally {\n\t\t\tdispatch.__unstableReleaseStoreLock( lock );\n\t\t}\n\t};\n\n/**\n * Returns an action object that triggers an\n * edit to an entity record.\n *\n * @param {string} kind Kind of the edited entity record.\n * @param {string} name Name of the edited entity record.\n * @param {number|string} recordId Record ID of the edited entity record.\n * @param {Object} edits The edits.\n * @param {Object} options Options for the edit.\n * @param {boolean} [options.undoIgnore] Whether to ignore the edit in undo history or not.\n *\n * @return {Object} Action object.\n */\nexport const editEntityRecord =\n\t( kind, name, recordId, edits, options = {} ) =>\n\t( { select, dispatch } ) => {\n\t\tlogEntityDeprecation( kind, name, 'editEntityRecord' );\n\t\tconst entityConfig = select.getEntityConfig( kind, name );\n\t\tif ( ! entityConfig ) {\n\t\t\tthrow new Error(\n\t\t\t\t`The entity being edited (${ kind }, ${ name }) does not have a loaded config.`\n\t\t\t);\n\t\t}\n\t\tconst { mergedEdits = {} } = entityConfig;\n\t\tconst record = select.getRawEntityRecord( kind, name, recordId );\n\t\tconst editedRecord = select.getEditedEntityRecord(\n\t\t\tkind,\n\t\t\tname,\n\t\t\trecordId\n\t\t);\n\n\t\tconst edit = {\n\t\t\tkind,\n\t\t\tname,\n\t\t\trecordId,\n\t\t\t// Clear edits when they are equal to their persisted counterparts\n\t\t\t// so that the property is not considered dirty.\n\t\t\tedits: Object.keys( edits ).reduce( ( acc, key ) => {\n\t\t\t\tconst recordValue = record[ key ];\n\t\t\t\tconst editedRecordValue = editedRecord[ key ];\n\t\t\t\tconst value = mergedEdits[ key ]\n\t\t\t\t\t? { ...editedRecordValue, ...edits[ key ] }\n\t\t\t\t\t: edits[ key ];\n\t\t\t\tacc[ key ] = fastDeepEqual( recordValue, value )\n\t\t\t\t\t? undefined\n\t\t\t\t\t: value;\n\t\t\t\treturn acc;\n\t\t\t}, {} ),\n\t\t};\n\t\tif ( window.__experimentalEnableSync && entityConfig.syncConfig ) {\n\t\t\tif ( globalThis.IS_GUTENBERG_PLUGIN ) {\n\t\t\t\tconst objectType = `${ kind }/${ name }`;\n\t\t\t\tconst objectId = recordId;\n\n\t\t\t\tgetSyncManager()?.update(\n\t\t\t\t\tobjectType,\n\t\t\t\t\tobjectId,\n\t\t\t\t\tedit.edits,\n\t\t\t\t\tLOCAL_EDITOR_ORIGIN\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tif ( ! options.undoIgnore ) {\n\t\t\tselect.getUndoManager().addRecord(\n\t\t\t\t[\n\t\t\t\t\t{\n\t\t\t\t\t\tid: { kind, name, recordId },\n\t\t\t\t\t\tchanges: Object.keys( edits ).reduce( ( acc, key ) => {\n\t\t\t\t\t\t\tacc[ key ] = {\n\t\t\t\t\t\t\t\tfrom: editedRecord[ key ],\n\t\t\t\t\t\t\t\tto: edits[ key ],\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\treturn acc;\n\t\t\t\t\t\t}, {} ),\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\toptions.isCached\n\t\t\t);\n\t\t}\n\t\tdispatch( {\n\t\t\ttype: 'EDIT_ENTITY_RECORD',\n\t\t\t...edit,\n\t\t} );\n\t};\n\n/**\n * Action triggered to undo the last edit to\n * an entity record, if any.\n */\nexport const undo =\n\t() =>\n\t( { select, dispatch } ) => {\n\t\tconst undoRecord = select.getUndoManager().undo();\n\t\tif ( ! undoRecord ) {\n\t\t\treturn;\n\t\t}\n\t\tdispatch( {\n\t\t\ttype: 'UNDO',\n\t\t\trecord: undoRecord,\n\t\t} );\n\t};\n\n/**\n * Action triggered to redo the last undone\n * edit to an entity record, if any.\n */\nexport const redo =\n\t() =>\n\t( { select, dispatch } ) => {\n\t\tconst redoRecord = select.getUndoManager().redo();\n\t\tif ( ! redoRecord ) {\n\t\t\treturn;\n\t\t}\n\t\tdispatch( {\n\t\t\ttype: 'REDO',\n\t\t\trecord: redoRecord,\n\t\t} );\n\t};\n\n/**\n * Forces the creation of a new undo level.\n *\n * @return {Object} Action object.\n */\nexport const __unstableCreateUndoLevel =\n\t() =>\n\t( { select } ) => {\n\t\tselect.getUndoManager().addRecord();\n\t};\n\n/**\n * Action triggered to save an entity record.\n *\n * @param {string} kind Kind of the received entity.\n * @param {string} name Name of the received entity.\n * @param {Object} record Record to be saved.\n * @param {Object} options Saving options.\n * @param {boolean} [options.isAutosave=false] Whether this is an autosave.\n * @param {Function} [options.__unstableFetch] Internal use only. Function to\n * call instead of `apiFetch()`.\n * Must return a promise.\n * @param {boolean} [options.throwOnError=false] If false, this action suppresses all\n * the exceptions. Defaults to false.\n */\nexport const saveEntityRecord =\n\t(\n\t\tkind,\n\t\tname,\n\t\trecord,\n\t\t{\n\t\t\tisAutosave = false,\n\t\t\t__unstableFetch = apiFetch,\n\t\t\tthrowOnError = false,\n\t\t} = {}\n\t) =>\n\tasync ( { select, resolveSelect, dispatch } ) => {\n\t\tlogEntityDeprecation( kind, name, 'saveEntityRecord' );\n\t\tconst configs = await resolveSelect.getEntitiesConfig( kind );\n\t\tconst entityConfig = configs.find(\n\t\t\t( config ) => config.kind === kind && config.name === name\n\t\t);\n\t\tif ( ! entityConfig ) {\n\t\t\treturn;\n\t\t}\n\t\tconst entityIdKey = entityConfig.key ?? DEFAULT_ENTITY_KEY;\n\t\tconst recordId = record[ entityIdKey ];\n\t\tconst isNewRecord = !! entityIdKey && ! recordId;\n\n\t\tconst lock = await dispatch.__unstableAcquireStoreLock(\n\t\t\tSTORE_NAME,\n\t\t\t[ 'entities', 'records', kind, name, recordId || uuid() ],\n\t\t\t{ exclusive: true }\n\t\t);\n\n\t\ttry {\n\t\t\t// Evaluate optimized edits.\n\t\t\t// (Function edits that should be evaluated on save to avoid expensive computations on every edit.)\n\t\t\tfor ( const [ key, value ] of Object.entries( record ) ) {\n\t\t\t\tif ( typeof value === 'function' ) {\n\t\t\t\t\tconst evaluatedValue = value(\n\t\t\t\t\t\tselect.getEditedEntityRecord( kind, name, recordId )\n\t\t\t\t\t);\n\t\t\t\t\tdispatch.editEntityRecord(\n\t\t\t\t\t\tkind,\n\t\t\t\t\t\tname,\n\t\t\t\t\t\trecordId,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t[ key ]: evaluatedValue,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{ undoIgnore: true }\n\t\t\t\t\t);\n\t\t\t\t\trecord[ key ] = evaluatedValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdispatch( {\n\t\t\t\ttype: 'SAVE_ENTITY_RECORD_START',\n\t\t\t\tkind,\n\t\t\t\tname,\n\t\t\t\trecordId,\n\t\t\t\tisAutosave,\n\t\t\t} );\n\t\t\tlet updatedRecord;\n\t\t\tlet error;\n\t\t\tlet hasError = false;\n\t\t\tlet { baseURL } = entityConfig;\n\t\t\t// For \"string\" IDs, use the old templates endpoint.\n\t\t\tif (\n\t\t\t\tkind === 'postType' &&\n\t\t\t\tname === 'wp_template' &&\n\t\t\t\t( ( recordId &&\n\t\t\t\t\ttypeof recordId === 'string' &&\n\t\t\t\t\t! /^\\d+$/.test( recordId ) ) ||\n\t\t\t\t\t! window?.__experimentalTemplateActivate )\n\t\t\t) {\n\t\t\t\tbaseURL =\n\t\t\t\t\tbaseURL.slice( 0, baseURL.lastIndexOf( '/' ) ) +\n\t\t\t\t\t'/templates';\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tconst path = `${ baseURL }${ recordId ? '/' + recordId : '' }`;\n\t\t\t\t// Skip the raw values check when creating a new record; they don't exist yet.\n\t\t\t\tconst persistedRecord = ! isNewRecord\n\t\t\t\t\t? select.getRawEntityRecord( kind, name, recordId )\n\t\t\t\t\t: {};\n\n\t\t\t\tif ( isAutosave ) {\n\t\t\t\t\t// Most of this autosave logic is very specific to posts.\n\t\t\t\t\t// This is fine for now as it is the only supported autosave,\n\t\t\t\t\t// but ideally this should all be handled in the back end,\n\t\t\t\t\t// so the client just sends and receives objects.\n\t\t\t\t\tconst currentUser = select.getCurrentUser();\n\t\t\t\t\tconst currentUserId = currentUser\n\t\t\t\t\t\t? currentUser.id\n\t\t\t\t\t\t: undefined;\n\t\t\t\t\tconst autosavePost = await resolveSelect.getAutosave(\n\t\t\t\t\t\tpersistedRecord.type,\n\t\t\t\t\t\tpersistedRecord.id,\n\t\t\t\t\t\tcurrentUserId\n\t\t\t\t\t);\n\t\t\t\t\t// Autosaves need all expected fields to be present.\n\t\t\t\t\t// So we fallback to the previous autosave and then\n\t\t\t\t\t// to the actual persisted entity if the edits don't\n\t\t\t\t\t// have a value.\n\t\t\t\t\tlet data = {\n\t\t\t\t\t\t...persistedRecord,\n\t\t\t\t\t\t...autosavePost,\n\t\t\t\t\t\t...record,\n\t\t\t\t\t};\n\t\t\t\t\tdata = Object.keys( data ).reduce(\n\t\t\t\t\t\t( acc, key ) => {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t'title',\n\t\t\t\t\t\t\t\t\t'excerpt',\n\t\t\t\t\t\t\t\t\t'content',\n\t\t\t\t\t\t\t\t\t'meta',\n\t\t\t\t\t\t\t\t].includes( key )\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tacc[ key ] = data[ key ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn acc;\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// Do not update the `status` if we have edited it when auto saving.\n\t\t\t\t\t\t\t// It's very important to let the user explicitly save this change,\n\t\t\t\t\t\t\t// because it can lead to unexpected results. An example would be to\n\t\t\t\t\t\t\t// have a draft post and change the status to publish.\n\t\t\t\t\t\t\tstatus:\n\t\t\t\t\t\t\t\tdata.status === 'auto-draft'\n\t\t\t\t\t\t\t\t\t? 'draft'\n\t\t\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t\tupdatedRecord = await __unstableFetch( {\n\t\t\t\t\t\tpath: `${ path }/autosaves`,\n\t\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\t\tdata,\n\t\t\t\t\t} );\n\n\t\t\t\t\t// An autosave may be processed by the server as a regular save\n\t\t\t\t\t// when its update is requested by the author and the post had\n\t\t\t\t\t// draft or auto-draft status.\n\t\t\t\t\tif ( persistedRecord.id === updatedRecord.id ) {\n\t\t\t\t\t\tlet newRecord = {\n\t\t\t\t\t\t\t...persistedRecord,\n\t\t\t\t\t\t\t...data,\n\t\t\t\t\t\t\t...updatedRecord,\n\t\t\t\t\t\t};\n\t\t\t\t\t\tnewRecord = Object.keys( newRecord ).reduce(\n\t\t\t\t\t\t\t( acc, key ) => {\n\t\t\t\t\t\t\t\t// These properties are persisted in autosaves.\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t[ 'title', 'excerpt', 'content' ].includes(\n\t\t\t\t\t\t\t\t\t\tkey\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tacc[ key ] = newRecord[ key ];\n\t\t\t\t\t\t\t\t} else if ( key === 'status' ) {\n\t\t\t\t\t\t\t\t\t// Status is only persisted in autosaves when going from\n\t\t\t\t\t\t\t\t\t// \"auto-draft\" to \"draft\".\n\t\t\t\t\t\t\t\t\tacc[ key ] =\n\t\t\t\t\t\t\t\t\t\tpersistedRecord.status ===\n\t\t\t\t\t\t\t\t\t\t\t'auto-draft' &&\n\t\t\t\t\t\t\t\t\t\tnewRecord.status === 'draft'\n\t\t\t\t\t\t\t\t\t\t\t? newRecord.status\n\t\t\t\t\t\t\t\t\t\t\t: persistedRecord.status;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t// These properties are not persisted in autosaves.\n\t\t\t\t\t\t\t\t\tacc[ key ] = persistedRecord[ key ];\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn acc;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tdispatch.receiveEntityRecords(\n\t\t\t\t\t\t\tkind,\n\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\tnewRecord,\n\t\t\t\t\t\t\tundefined,\n\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdispatch.receiveAutosaves(\n\t\t\t\t\t\t\tpersistedRecord.id,\n\t\t\t\t\t\t\tupdatedRecord\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tlet edits = record;\n\t\t\t\t\tif ( entityConfig.__unstablePrePersist ) {\n\t\t\t\t\t\tedits = {\n\t\t\t\t\t\t\t...edits,\n\t\t\t\t\t\t\t...entityConfig.__unstablePrePersist(\n\t\t\t\t\t\t\t\tpersistedRecord,\n\t\t\t\t\t\t\t\tedits\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\tupdatedRecord = await __unstableFetch( {\n\t\t\t\t\t\tpath,\n\t\t\t\t\t\tmethod: recordId ? 'PUT' : 'POST',\n\t\t\t\t\t\tdata: edits,\n\t\t\t\t\t} );\n\t\t\t\t\tdispatch.receiveEntityRecords(\n\t\t\t\t\t\tkind,\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tupdatedRecord,\n\t\t\t\t\t\tundefined,\n\t\t\t\t\t\ttrue,\n\t\t\t\t\t\tedits\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} catch ( _error ) {\n\t\t\t\thasError = true;\n\t\t\t\terror = _error;\n\t\t\t}\n\t\t\tdispatch( {\n\t\t\t\ttype: 'SAVE_ENTITY_RECORD_FINISH',\n\t\t\t\tkind,\n\t\t\t\tname,\n\t\t\t\trecordId,\n\t\t\t\terror,\n\t\t\t\tisAutosave,\n\t\t\t} );\n\n\t\t\tif ( hasError && throwOnError ) {\n\t\t\t\tthrow error;\n\t\t\t}\n\n\t\t\treturn updatedRecord;\n\t\t} finally {\n\t\t\tdispatch.__unstableReleaseStoreLock( lock );\n\t\t}\n\t};\n\n/**\n * Runs multiple core-data actions at the same time using one API request.\n *\n * Example:\n *\n * ```\n * const [ savedRecord, updatedRecord, deletedRecord ] =\n * await dispatch( 'core' ).__experimentalBatch( [\n * ( { saveEntityRecord } ) => saveEntityRecord( 'root', 'widget', widget ),\n * ( { saveEditedEntityRecord } ) => saveEntityRecord( 'root', 'widget', 123 ),\n * ( { deleteEntityRecord } ) => deleteEntityRecord( 'root', 'widget', 123, null ),\n * ] );\n * ```\n *\n * @param {Array} requests Array of functions which are invoked simultaneously.\n * Each function is passed an object containing\n * `saveEntityRecord`, `saveEditedEntityRecord`, and\n * `deleteEntityRecord`.\n *\n * @return {(thunkArgs: Object) => Promise} A promise that resolves to an array containing the return\n * values of each function given in `requests`.\n */\nexport const __experimentalBatch =\n\t( requests ) =>\n\tasync ( { dispatch } ) => {\n\t\tconst batch = createBatch();\n\t\tconst api = {\n\t\t\tsaveEntityRecord( kind, name, record, options ) {\n\t\t\t\treturn batch.add( ( add ) =>\n\t\t\t\t\tdispatch.saveEntityRecord( kind, name, record, {\n\t\t\t\t\t\t...options,\n\t\t\t\t\t\t__unstableFetch: add,\n\t\t\t\t\t} )\n\t\t\t\t);\n\t\t\t},\n\t\t\tsaveEditedEntityRecord( kind, name, recordId, options ) {\n\t\t\t\treturn batch.add( ( add ) =>\n\t\t\t\t\tdispatch.saveEditedEntityRecord( kind, name, recordId, {\n\t\t\t\t\t\t...options,\n\t\t\t\t\t\t__unstableFetch: add,\n\t\t\t\t\t} )\n\t\t\t\t);\n\t\t\t},\n\t\t\tdeleteEntityRecord( kind, name, recordId, query, options ) {\n\t\t\t\treturn batch.add( ( add ) =>\n\t\t\t\t\tdispatch.deleteEntityRecord( kind, name, recordId, query, {\n\t\t\t\t\t\t...options,\n\t\t\t\t\t\t__unstableFetch: add,\n\t\t\t\t\t} )\n\t\t\t\t);\n\t\t\t},\n\t\t};\n\t\tconst resultPromises = requests.map( ( request ) => request( api ) );\n\t\tconst [ , ...results ] = await Promise.all( [\n\t\t\tbatch.run(),\n\t\t\t...resultPromises,\n\t\t] );\n\t\treturn results;\n\t};\n\n/**\n * Action triggered to save an entity record's edits.\n *\n * @param {string} kind Kind of the entity.\n * @param {string} name Name of the entity.\n * @param {Object} recordId ID of the record.\n * @param {Object=} options Saving options.\n */\nexport const saveEditedEntityRecord =\n\t( kind, name, recordId, options ) =>\n\tasync ( { select, dispatch, resolveSelect } ) => {\n\t\tlogEntityDeprecation( kind, name, 'saveEditedEntityRecord' );\n\t\tif ( ! select.hasEditsForEntityRecord( kind, name, recordId ) ) {\n\t\t\treturn;\n\t\t}\n\t\tconst configs = await resolveSelect.getEntitiesConfig( kind );\n\t\tconst entityConfig = configs.find(\n\t\t\t( config ) => config.kind === kind && config.name === name\n\t\t);\n\t\tif ( ! entityConfig ) {\n\t\t\treturn;\n\t\t}\n\t\tconst entityIdKey = entityConfig.key || DEFAULT_ENTITY_KEY;\n\n\t\tconst edits = select.getEntityRecordNonTransientEdits(\n\t\t\tkind,\n\t\t\tname,\n\t\t\trecordId\n\t\t);\n\t\tconst record = { [ entityIdKey ]: recordId, ...edits };\n\t\treturn await dispatch.saveEntityRecord( kind, name, record, options );\n\t};\n\n/**\n * Action triggered to save only specified properties for the entity.\n *\n * @param {string} kind Kind of the entity.\n * @param {string} name Name of the entity.\n * @param {number|string} recordId ID of the record.\n * @param {Array} itemsToSave List of entity properties or property paths to save.\n * @param {Object} options Saving options.\n */\nexport const __experimentalSaveSpecifiedEntityEdits =\n\t( kind, name, recordId, itemsToSave, options ) =>\n\tasync ( { select, dispatch, resolveSelect } ) => {\n\t\tlogEntityDeprecation(\n\t\t\tkind,\n\t\t\tname,\n\t\t\t'__experimentalSaveSpecifiedEntityEdits'\n\t\t);\n\t\tif ( ! select.hasEditsForEntityRecord( kind, name, recordId ) ) {\n\t\t\treturn;\n\t\t}\n\t\tconst edits = select.getEntityRecordNonTransientEdits(\n\t\t\tkind,\n\t\t\tname,\n\t\t\trecordId\n\t\t);\n\t\tconst editsToSave = {};\n\n\t\tfor ( const item of itemsToSave ) {\n\t\t\tsetNestedValue( editsToSave, item, getNestedValue( edits, item ) );\n\t\t}\n\n\t\tconst configs = await resolveSelect.getEntitiesConfig( kind );\n\t\tconst entityConfig = configs.find(\n\t\t\t( config ) => config.kind === kind && config.name === name\n\t\t);\n\n\t\tconst entityIdKey = entityConfig?.key || DEFAULT_ENTITY_KEY;\n\n\t\t// If a record key is provided then update the existing record.\n\t\t// This necessitates providing `recordKey` to saveEntityRecord as part of the\n\t\t// `record` argument (here called `editsToSave`) to stop that action creating\n\t\t// a new record and instead cause it to update the existing record.\n\t\tif ( recordId ) {\n\t\t\teditsToSave[ entityIdKey ] = recordId;\n\t\t}\n\t\treturn await dispatch.saveEntityRecord(\n\t\t\tkind,\n\t\t\tname,\n\t\t\teditsToSave,\n\t\t\toptions\n\t\t);\n\t};\n\n/**\n * Returns an action object used in signalling that Upload permissions have been received.\n *\n * @deprecated since WP 5.9, use receiveUserPermission instead.\n *\n * @param {boolean} hasUploadPermissions Does the user have permission to upload files?\n *\n * @return {Object} Action object.\n */\nexport function receiveUploadPermissions( hasUploadPermissions ) {\n\tdeprecated( \"wp.data.dispatch( 'core' ).receiveUploadPermissions\", {\n\t\tsince: '5.9',\n\t\talternative: 'receiveUserPermission',\n\t} );\n\n\treturn receiveUserPermission( 'create/media', hasUploadPermissions );\n}\n\n/**\n * Returns an action object used in signalling that the current user has\n * permission to perform an action on a REST resource.\n * Ignored from documentation as it's internal to the data store.\n *\n * @ignore\n *\n * @param {string} key A key that represents the action and REST resource.\n * @param {boolean} isAllowed Whether or not the user can perform the action.\n *\n * @return {Object} Action object.\n */\nexport function receiveUserPermission( key, isAllowed ) {\n\treturn {\n\t\ttype: 'RECEIVE_USER_PERMISSION',\n\t\tkey,\n\t\tisAllowed,\n\t};\n}\n\n/**\n * Returns an action object used in signalling that the current user has\n * permission to perform an action on a REST resource. Ignored from\n * documentation as it's internal to the data store.\n *\n * @ignore\n *\n * @param {Object<string, boolean>} permissions An object where keys represent\n * actions and REST resources, and\n * values indicate whether the user\n * is allowed to perform the\n * action.\n *\n * @return {Object} Action object.\n */\nexport function receiveUserPermissions( permissions ) {\n\treturn {\n\t\ttype: 'RECEIVE_USER_PERMISSIONS',\n\t\tpermissions,\n\t};\n}\n\n/**\n * Returns an action object used in signalling that the autosaves for a\n * post have been received.\n * Ignored from documentation as it's internal to the data store.\n *\n * @ignore\n *\n * @param {number} postId The id of the post that is parent to the autosave.\n * @param {Array|Object} autosaves An array of autosaves or singular autosave object.\n *\n * @return {Object} Action object.\n */\nexport function receiveAutosaves( postId, autosaves ) {\n\treturn {\n\t\ttype: 'RECEIVE_AUTOSAVES',\n\t\tpostId,\n\t\tautosaves: Array.isArray( autosaves ) ? autosaves : [ autosaves ],\n\t};\n}\n\n/**\n * Returns an action object signalling that the fallback Navigation\n * Menu id has been received.\n *\n * @param {integer} fallbackId the id of the fallback Navigation Menu\n * @return {Object} Action object.\n */\nexport function receiveNavigationFallbackId( fallbackId ) {\n\treturn {\n\t\ttype: 'RECEIVE_NAVIGATION_FALLBACK_ID',\n\t\tfallbackId,\n\t};\n}\n\n/**\n * Returns an action object used to set the template for a given query.\n *\n * @param {Object} query The lookup query.\n * @param {string} templateId The resolved template id.\n *\n * @return {Object} Action object.\n */\nexport function receiveDefaultTemplateId( query, templateId ) {\n\treturn {\n\t\ttype: 'RECEIVE_DEFAULT_TEMPLATE',\n\t\tquery,\n\t\ttemplateId,\n\t};\n}\n\n/**\n * Action triggered to receive revision items.\n *\n * @param {string} kind Kind of the received entity record revisions.\n * @param {string} name Name of the received entity record revisions.\n * @param {number|string} recordKey The key of the entity record whose revisions you want to fetch.\n * @param {Array|Object} records Revisions received.\n * @param {?Object} query Query Object.\n * @param {?boolean} invalidateCache Should invalidate query caches.\n * @param {?Object} meta Meta information about pagination.\n */\nexport const receiveRevisions =\n\t( kind, name, recordKey, records, query, invalidateCache = false, meta ) =>\n\tasync ( { dispatch, resolveSelect } ) => {\n\t\tlogEntityDeprecation( kind, name, 'receiveRevisions' );\n\t\tconst configs = await resolveSelect.getEntitiesConfig( kind );\n\t\tconst entityConfig = configs.find(\n\t\t\t( config ) => config.kind === kind && config.name === name\n\t\t);\n\t\tconst key =\n\t\t\tentityConfig && entityConfig?.revisionKey\n\t\t\t\t? entityConfig.revisionKey\n\t\t\t\t: DEFAULT_ENTITY_KEY;\n\n\t\tdispatch( {\n\t\t\ttype: 'RECEIVE_ITEM_REVISIONS',\n\t\t\tkey,\n\t\t\titems: Array.isArray( records ) ? records : [ records ],\n\t\t\trecordKey,\n\t\t\tmeta,\n\t\t\tquery,\n\t\t\tkind,\n\t\t\tname,\n\t\t\tinvalidateCache,\n\t\t} );\n\t};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,iBAA0B;AAC1B,kBAA2B;AAK3B,uBAAqB;AACrB,iBAA6B;AAC7B,wBAAuB;AAKvB,mBAA+C;AAC/C,0BAA+D;AAC/D,sBAAmC;AACnC,mBAA4B;AAC5B,kBAA2B;AAC3B,kBAAoD;AACpD,oCAAiC;AAa1B,SAAS,iBAAkB,SAAS,OAAQ;AAClD,SAAO;AAAA,IACN,MAAM;AAAA,IACN,OAAO,MAAM,QAAS,KAAM,IAAI,QAAQ,CAAE,KAAM;AAAA,IAChD;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4BAA6B,YAAa;AACzD,SAAO;AAAA,IACN,MAAM;AAAA,IACN;AAAA,EACD;AACD;AAUO,SAAS,yBAA0B,OAAO,YAAa;AAC7D,SAAO;AAAA,IACN,MAAM;AAAA,IACN;AAAA,IACA;AAAA,EACD;AACD;AAaO,IAAM,mBACZ,CAAE,MAAM,MAAM,WAAW,SAAS,OAAO,kBAAkB,OAAO,SAClE,OAAQ,EAAE,UAAU,cAAc,MAAO;AACxC,oCAAAE,SAAsB,MAAM,MAAM,kBAAmB;AACrD,QAAM,UAAU,MAAM,cAAc,kBAAmB,IAAK;AAC5D,QAAM,eAAe,QAAQ;AAAA,IAC5B,CAAE,WAAY,OAAO,SAAS,QAAQ,OAAO,SAAS;AAAA,EACvD;AACA,QAAM,MACL,gBAAgB,cAAc,cAC3B,aAAa,cACb;AAEJ,WAAU;AAAA,IACT,MAAM;AAAA,IACN;AAAA,IACA,OAAO,MAAM,QAAS,OAAQ,IAAI,UAAU,CAAE,OAAQ;AAAA,IACtD;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD,CAAE;AACH;",
6
+ "names": ["deprecated", "apiFetch", "logEntityDeprecation", "fastDeepEqual", "uuid"]
7
+ }
@@ -33,7 +33,7 @@ __export(create_batch_exports, {
33
33
  default: () => createBatch
34
34
  });
35
35
  module.exports = __toCommonJS(create_batch_exports);
36
- var import_default_processor = __toESM(require("./default-processor"));
36
+ var import_default_processor = __toESM(require("./default-processor.cjs"));
37
37
  function createBatch(processor = import_default_processor.default) {
38
38
  let lastId = 0;
39
39
  let queue = [];
@@ -157,4 +157,4 @@ var ObservableSet = class {
157
157
  };
158
158
  }
159
159
  };
160
- //# sourceMappingURL=create-batch.js.map
160
+ //# sourceMappingURL=create-batch.cjs.map
@@ -87,4 +87,4 @@ async function defaultProcessor(requests) {
87
87
  }
88
88
  return results;
89
89
  }
90
- //# sourceMappingURL=default-processor.js.map
90
+ //# sourceMappingURL=default-processor.cjs.map
@@ -34,11 +34,11 @@ __export(batch_exports, {
34
34
  defaultProcessor: () => import_default_processor.default
35
35
  });
36
36
  module.exports = __toCommonJS(batch_exports);
37
- var import_create_batch = __toESM(require("./create-batch"));
38
- var import_default_processor = __toESM(require("./default-processor"));
37
+ var import_create_batch = __toESM(require("./create-batch.cjs"));
38
+ var import_default_processor = __toESM(require("./default-processor.cjs"));
39
39
  // Annotate the CommonJS export names for ESM import in node:
40
40
  0 && (module.exports = {
41
41
  createBatch,
42
42
  defaultProcessor
43
43
  });
44
- //# sourceMappingURL=index.js.map
44
+ //# sourceMappingURL=index.cjs.map
@@ -31,4 +31,4 @@ var dynamicSelectors;
31
31
  dynamicActions,
32
32
  dynamicSelectors
33
33
  });
34
- //# sourceMappingURL=dynamic-entities.js.map
34
+ //# sourceMappingURL=dynamic-entities.cjs.map
@@ -42,8 +42,8 @@ var import_change_case = require("change-case");
42
42
  var import_api_fetch = __toESM(require("@wordpress/api-fetch"));
43
43
  var import_blocks = require("@wordpress/blocks");
44
44
  var import_i18n = require("@wordpress/i18n");
45
- var import_sync = require("./sync");
46
- var import_crdt = require("./utils/crdt");
45
+ var import_sync = require("./sync.cjs");
46
+ var import_crdt = require("./utils/crdt.cjs");
47
47
  var DEFAULT_ENTITY_KEY = "id";
48
48
  var POST_RAW_ATTRIBUTES = ["title", "excerpt", "content"];
49
49
  var blocksTransientEdits = {
@@ -413,4 +413,4 @@ var getMethodName = (kind, name, prefix = "get") => {
413
413
  prePersistPostType,
414
414
  rootEntitiesConfig
415
415
  });
416
- //# sourceMappingURL=entities.js.map
416
+ //# sourceMappingURL=entities.cjs.map
@@ -30,4 +30,4 @@ EntityContext.displayName = "EntityContext";
30
30
  0 && (module.exports = {
31
31
  EntityContext
32
32
  });
33
- //# sourceMappingURL=entity-context.js.map
33
+ //# sourceMappingURL=entity-context.cjs.map
@@ -24,7 +24,7 @@ __export(entity_provider_exports, {
24
24
  });
25
25
  module.exports = __toCommonJS(entity_provider_exports);
26
26
  var import_element = require("@wordpress/element");
27
- var import_entity_context = require("./entity-context");
27
+ var import_entity_context = require("./entity-context.cjs");
28
28
  var import_jsx_runtime = require("react/jsx-runtime");
29
29
  function EntityProvider({ kind, type: name, id, children }) {
30
30
  const parent = (0, import_element.useContext)(import_entity_context.EntityContext);
@@ -40,4 +40,4 @@ function EntityProvider({ kind, type: name, id, children }) {
40
40
  );
41
41
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_entity_context.EntityContext.Provider, { value: childContext, children });
42
42
  }
43
- //# sourceMappingURL=entity-provider.js.map
43
+ //# sourceMappingURL=entity-provider.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/attachment.ts
17
17
  var attachment_exports = {};
18
18
  module.exports = __toCommonJS(attachment_exports);
19
- //# sourceMappingURL=attachment.js.map
19
+ //# sourceMappingURL=attachment.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/base-entity-records.ts
17
17
  var base_entity_records_exports = {};
18
18
  module.exports = __toCommonJS(base_entity_records_exports);
19
- //# sourceMappingURL=base-entity-records.js.map
19
+ //# sourceMappingURL=base-entity-records.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/base.ts
17
17
  var base_exports = {};
18
18
  module.exports = __toCommonJS(base_exports);
19
- //# sourceMappingURL=base.js.map
19
+ //# sourceMappingURL=base.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/comment.ts
17
17
  var comment_exports = {};
18
18
  module.exports = __toCommonJS(comment_exports);
19
- //# sourceMappingURL=comment.js.map
19
+ //# sourceMappingURL=comment.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/font-collection.ts
17
17
  var font_collection_exports = {};
18
18
  module.exports = __toCommonJS(font_collection_exports);
19
- //# sourceMappingURL=font-collection.js.map
19
+ //# sourceMappingURL=font-collection.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/font-family.ts
17
17
  var font_family_exports = {};
18
18
  module.exports = __toCommonJS(font_family_exports);
19
- //# sourceMappingURL=font-family.js.map
19
+ //# sourceMappingURL=font-family.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/global-styles-revision.ts
17
17
  var global_styles_revision_exports = {};
18
18
  module.exports = __toCommonJS(global_styles_revision_exports);
19
- //# sourceMappingURL=global-styles-revision.js.map
19
+ //# sourceMappingURL=global-styles-revision.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/helpers.ts
17
17
  var helpers_exports = {};
18
18
  module.exports = __toCommonJS(helpers_exports);
19
- //# sourceMappingURL=helpers.js.map
19
+ //# sourceMappingURL=helpers.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/index.ts
17
17
  var entity_types_exports = {};
18
18
  module.exports = __toCommonJS(entity_types_exports);
19
- //# sourceMappingURL=index.js.map
19
+ //# sourceMappingURL=index.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/menu-location.ts
17
17
  var menu_location_exports = {};
18
18
  module.exports = __toCommonJS(menu_location_exports);
19
- //# sourceMappingURL=menu-location.js.map
19
+ //# sourceMappingURL=menu-location.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/nav-menu-item.ts
17
17
  var nav_menu_item_exports = {};
18
18
  module.exports = __toCommonJS(nav_menu_item_exports);
19
- //# sourceMappingURL=nav-menu-item.js.map
19
+ //# sourceMappingURL=nav-menu-item.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/nav-menu.ts
17
17
  var nav_menu_exports = {};
18
18
  module.exports = __toCommonJS(nav_menu_exports);
19
- //# sourceMappingURL=nav-menu.js.map
19
+ //# sourceMappingURL=nav-menu.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/page.ts
17
17
  var page_exports = {};
18
18
  module.exports = __toCommonJS(page_exports);
19
- //# sourceMappingURL=page.js.map
19
+ //# sourceMappingURL=page.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/plugin.ts
17
17
  var plugin_exports = {};
18
18
  module.exports = __toCommonJS(plugin_exports);
19
- //# sourceMappingURL=plugin.js.map
19
+ //# sourceMappingURL=plugin.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/post-revision.ts
17
17
  var post_revision_exports = {};
18
18
  module.exports = __toCommonJS(post_revision_exports);
19
- //# sourceMappingURL=post-revision.js.map
19
+ //# sourceMappingURL=post-revision.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/post-status.ts
17
17
  var post_status_exports = {};
18
18
  module.exports = __toCommonJS(post_status_exports);
19
- //# sourceMappingURL=post-status.js.map
19
+ //# sourceMappingURL=post-status.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/post.ts
17
17
  var post_exports = {};
18
18
  module.exports = __toCommonJS(post_exports);
19
- //# sourceMappingURL=post.js.map
19
+ //# sourceMappingURL=post.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/settings.ts
17
17
  var settings_exports = {};
18
18
  module.exports = __toCommonJS(settings_exports);
19
- //# sourceMappingURL=settings.js.map
19
+ //# sourceMappingURL=settings.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/sidebar.ts
17
17
  var sidebar_exports = {};
18
18
  module.exports = __toCommonJS(sidebar_exports);
19
- //# sourceMappingURL=sidebar.js.map
19
+ //# sourceMappingURL=sidebar.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/taxonomy.ts
17
17
  var taxonomy_exports = {};
18
18
  module.exports = __toCommonJS(taxonomy_exports);
19
- //# sourceMappingURL=taxonomy.js.map
19
+ //# sourceMappingURL=taxonomy.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/term.ts
17
17
  var term_exports = {};
18
18
  module.exports = __toCommonJS(term_exports);
19
- //# sourceMappingURL=term.js.map
19
+ //# sourceMappingURL=term.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/theme.ts
17
17
  var theme_exports = {};
18
18
  module.exports = __toCommonJS(theme_exports);
19
- //# sourceMappingURL=theme.js.map
19
+ //# sourceMappingURL=theme.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/type.ts
17
17
  var type_exports = {};
18
18
  module.exports = __toCommonJS(type_exports);
19
- //# sourceMappingURL=type.js.map
19
+ //# sourceMappingURL=type.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/user.ts
17
17
  var user_exports = {};
18
18
  module.exports = __toCommonJS(user_exports);
19
- //# sourceMappingURL=user.js.map
19
+ //# sourceMappingURL=user.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/widget-type.ts
17
17
  var widget_type_exports = {};
18
18
  module.exports = __toCommonJS(widget_type_exports);
19
- //# sourceMappingURL=widget-type.js.map
19
+ //# sourceMappingURL=widget-type.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/widget.ts
17
17
  var widget_exports = {};
18
18
  module.exports = __toCommonJS(widget_exports);
19
- //# sourceMappingURL=widget.js.map
19
+ //# sourceMappingURL=widget.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/wp-template-part.ts
17
17
  var wp_template_part_exports = {};
18
18
  module.exports = __toCommonJS(wp_template_part_exports);
19
- //# sourceMappingURL=wp-template-part.js.map
19
+ //# sourceMappingURL=wp-template-part.cjs.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/core-data/src/entity-types/wp-template.ts
17
17
  var wp_template_exports = {};
18
18
  module.exports = __toCommonJS(wp_template_exports);
19
- //# sourceMappingURL=wp-template.js.map
19
+ //# sourceMappingURL=wp-template.cjs.map
@@ -186,4 +186,4 @@ function tokenize(text) {
186
186
  sortResults,
187
187
  tokenize
188
188
  });
189
- //# sourceMappingURL=__experimental-fetch-link-suggestions.js.map
189
+ //# sourceMappingURL=__experimental-fetch-link-suggestions.cjs.map
@@ -62,4 +62,4 @@ var fetchUrlData = async (url, options = {}) => {
62
62
  });
63
63
  };
64
64
  var experimental_fetch_url_data_default = fetchUrlData;
65
- //# sourceMappingURL=__experimental-fetch-url-data.js.map
65
+ //# sourceMappingURL=__experimental-fetch-url-data.cjs.map
@@ -37,8 +37,8 @@ __export(fetch_exports, {
37
37
  module.exports = __toCommonJS(fetch_exports);
38
38
  var import_change_case = require("change-case");
39
39
  var import_api_fetch = __toESM(require("@wordpress/api-fetch"));
40
- var import_experimental_fetch_link_suggestions = __toESM(require("./__experimental-fetch-link-suggestions"));
41
- var import_experimental_fetch_url_data = __toESM(require("./__experimental-fetch-url-data"));
40
+ var import_experimental_fetch_link_suggestions = __toESM(require("./__experimental-fetch-link-suggestions.cjs"));
41
+ var import_experimental_fetch_url_data = __toESM(require("./__experimental-fetch-url-data.cjs"));
42
42
  async function fetchBlockPatterns() {
43
43
  const restPatterns = await (0, import_api_fetch.default)({
44
44
  path: "/wp/v2/block-patterns/patterns"
@@ -61,4 +61,4 @@ async function fetchBlockPatterns() {
61
61
  __experimentalFetchUrlData,
62
62
  fetchBlockPatterns
63
63
  });
64
- //# sourceMappingURL=index.js.map
64
+ //# sourceMappingURL=index.cjs.map
@@ -33,7 +33,7 @@ __export(get_footnotes_order_exports, {
33
33
  default: () => getFootnotesOrder
34
34
  });
35
35
  module.exports = __toCommonJS(get_footnotes_order_exports);
36
- var import_get_rich_text_values_cached = __toESM(require("./get-rich-text-values-cached"));
36
+ var import_get_rich_text_values_cached = __toESM(require("./get-rich-text-values-cached.cjs"));
37
37
  var cache = /* @__PURE__ */ new WeakMap();
38
38
  function getBlockFootnotesOrder(block) {
39
39
  if (!cache.has(block)) {
@@ -55,4 +55,4 @@ function getBlockFootnotesOrder(block) {
55
55
  function getFootnotesOrder(blocks) {
56
56
  return blocks.flatMap(getBlockFootnotesOrder);
57
57
  }
58
- //# sourceMappingURL=get-footnotes-order.js.map
58
+ //# sourceMappingURL=get-footnotes-order.cjs.map
@@ -24,7 +24,7 @@ __export(get_rich_text_values_cached_exports, {
24
24
  });
25
25
  module.exports = __toCommonJS(get_rich_text_values_cached_exports);
26
26
  var import_block_editor = require("@wordpress/block-editor");
27
- var import_lock_unlock = require("../lock-unlock");
27
+ var import_lock_unlock = require("../lock-unlock.cjs");
28
28
  var unlockedApis;
29
29
  var cache = /* @__PURE__ */ new WeakMap();
30
30
  function getRichTextValuesCached(block) {
@@ -37,4 +37,4 @@ function getRichTextValuesCached(block) {
37
37
  }
38
38
  return cache.get(block);
39
39
  }
40
- //# sourceMappingURL=get-rich-text-values-cached.js.map
40
+ //# sourceMappingURL=get-rich-text-values-cached.cjs.map
@@ -34,7 +34,7 @@ __export(footnotes_exports, {
34
34
  });
35
35
  module.exports = __toCommonJS(footnotes_exports);
36
36
  var import_rich_text = require("@wordpress/rich-text");
37
- var import_get_footnotes_order = __toESM(require("./get-footnotes-order"));
37
+ var import_get_footnotes_order = __toESM(require("./get-footnotes-order.cjs"));
38
38
  var oldFootnotes = {};
39
39
  function updateFootnotesFromMeta(blocks, meta) {
40
40
  const output = { blocks };
@@ -131,4 +131,4 @@ function updateFootnotesFromMeta(blocks, meta) {
131
131
  0 && (module.exports = {
132
132
  updateFootnotesFromMeta
133
133
  });
134
- //# sourceMappingURL=index.js.map
134
+ //# sourceMappingURL=index.cjs.map
@@ -34,4 +34,4 @@ var Status = /* @__PURE__ */ ((Status2) => {
34
34
  0 && (module.exports = {
35
35
  Status
36
36
  });
37
- //# sourceMappingURL=constants.js.map
37
+ //# sourceMappingURL=constants.cjs.map
@@ -41,12 +41,12 @@ __export(hooks_exports, {
41
41
  useResourcePermissions: () => import_use_resource_permissions.default
42
42
  });
43
43
  module.exports = __toCommonJS(hooks_exports);
44
- var import_use_entity_record = __toESM(require("./use-entity-record"));
45
- var import_use_entity_records = __toESM(require("./use-entity-records"));
46
- var import_use_resource_permissions = __toESM(require("./use-resource-permissions"));
47
- var import_use_entity_block_editor = __toESM(require("./use-entity-block-editor"));
48
- var import_use_entity_id = __toESM(require("./use-entity-id"));
49
- var import_use_entity_prop = __toESM(require("./use-entity-prop"));
44
+ var import_use_entity_record = __toESM(require("./use-entity-record.cjs"));
45
+ var import_use_entity_records = __toESM(require("./use-entity-records.cjs"));
46
+ var import_use_resource_permissions = __toESM(require("./use-resource-permissions.cjs"));
47
+ var import_use_entity_block_editor = __toESM(require("./use-entity-block-editor.cjs"));
48
+ var import_use_entity_id = __toESM(require("./use-entity-id.cjs"));
49
+ var import_use_entity_prop = __toESM(require("./use-entity-prop.cjs"));
50
50
  // Annotate the CommonJS export names for ESM import in node:
51
51
  0 && (module.exports = {
52
52
  __experimentalUseEntityRecord,
@@ -59,4 +59,4 @@ var import_use_entity_prop = __toESM(require("./use-entity-prop"));
59
59
  useEntityRecords,
60
60
  useResourcePermissions
61
61
  });
62
- //# sourceMappingURL=index.js.map
62
+ //# sourceMappingURL=index.cjs.map
@@ -35,4 +35,4 @@ __export(memoize_exports, {
35
35
  module.exports = __toCommonJS(memoize_exports);
36
36
  var import_memize = __toESM(require("memize"));
37
37
  var memoize_default = import_memize.default;
38
- //# sourceMappingURL=memoize.js.map
38
+ //# sourceMappingURL=memoize.cjs.map
@@ -36,9 +36,9 @@ module.exports = __toCommonJS(use_entity_block_editor_exports);
36
36
  var import_element = require("@wordpress/element");
37
37
  var import_data = require("@wordpress/data");
38
38
  var import_blocks = require("@wordpress/blocks");
39
- var import_name = require("../name");
40
- var import_use_entity_id = __toESM(require("./use-entity-id"));
41
- var import_footnotes = require("../footnotes");
39
+ var import_name = require("../name.cjs");
40
+ var import_use_entity_id = __toESM(require("./use-entity-id.cjs"));
41
+ var import_footnotes = require("../footnotes/index.cjs");
42
42
  var EMPTY_ARRAY = [];
43
43
  var parsedBlocksCache = /* @__PURE__ */ new WeakMap();
44
44
  function useEntityBlockEditor(kind, name, { id: _id } = {}) {
@@ -130,4 +130,4 @@ function useEntityBlockEditor(kind, name, { id: _id } = {}) {
130
130
  );
131
131
  return [blocks, onInput, onChange];
132
132
  }
133
- //# sourceMappingURL=use-entity-block-editor.js.map
133
+ //# sourceMappingURL=use-entity-block-editor.cjs.map