📂 File Manager
📝 Edit File: undo-manager.min.js
/*! This file is auto-generated */ (()=>{"use strict";var e={923:e=>{e.exports=window.wp.isShallowEqual}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{n.r(o),n.d(o,{createUndoManager:()=>a});var e=n(923),t=n.n(e);function r(e,t){const n={...e};return Object.entries(t).forEach((([e,t])=>{n[e]?n[e]={...n[e],to:t.to}:n[e]=t})),n}const i=(e,n)=>{const o=e?.findIndex((({id:e})=>"string"==typeof e?e===n.id:t()(e,n.id))),i=[...e];return-1!==o?i[o]={id:n.id,changes:r(i[o].changes,n.changes)}:i.push(n),i};function a(){let e=[],n=[],o=0;const r=()=>{e=e.slice(0,o||void 0),o=0},a=()=>{var t;const o=0===e.length?0:e.length-1;let r=null!==(t=e[o])&&void 0!==t?t:[];n.forEach((e=>{r=i(r,e)})),n=[],e[o]=r};return{addRecord(o,d=!1){const s=!o||(e=>!e.filter((({changes:e})=>Object.values(e).some((({from:e,to:n})=>"function"!=typeof e&&"function"!=typeof n&&!t()(e,n))))).length)(o);if(d){if(s)return;o.forEach((e=>{n=i(n,e)}))}else{if(r(),n.length&&a(),s)return;e.push(o)}},undo(){n.length&&(r(),a());const t=e[e.length-1+o];if(t)return o-=1,t},redo(){const t=e[e.length+o];if(t)return o+=1,t},hasUndo:()=>!!e[e.length-1+o],hasRedo:()=>!!e[e.length+o]}}})(),(window.wp=window.wp||{}).undoManager=o})();
Cancel
Type
Item Name
Actions
📁
..
📁
development
✏️
📁
script-modules
✏️
📁
vendor
✏️
📄
a11y.js
✏️
📝
📄
a11y.min.js
✏️
📝
📄
annotations.js
✏️
📝
📄
annotations.min.js
✏️
📝
📄
api-fetch.js
✏️
📝
📄
api-fetch.min.js
✏️
📝
📄
autop.js
✏️
📝
📄
autop.min.js
✏️
📝
📄
blob.js
✏️
📝
📄
blob.min.js
✏️
📝
📄
block-directory.js
✏️
📝
📄
block-directory.min.js
✏️
📝
📄
block-editor.js
✏️
📝
📄
block-editor.min.js
✏️
📝
📄
block-library.js
✏️
📝
📄
block-library.min.js
✏️
📝
📄
block-serialization-default-parser.js
✏️
📝
📄
block-serialization-default-parser.min.js
✏️
📝
📄
blocks.js
✏️
📝
📄
blocks.min.js
✏️
📝
📄
commands.js
✏️
📝
📄
commands.min.js
✏️
📝
📄
components.js
✏️
📝
📄
components.min.js
✏️
📝
📄
compose.js
✏️
📝
📄
compose.min.js
✏️
📝
📄
core-commands.js
✏️
📝
📄
core-commands.min.js
✏️
📝
📄
core-data.js
✏️
📝
📄
core-data.min.js
✏️
📝
📄
customize-widgets.js
✏️
📝
📄
customize-widgets.min.js
✏️
📝
📄
data-controls.js
✏️
📝
📄
data-controls.min.js
✏️
📝
📄
data.js
✏️
📝
📄
data.min.js
✏️
📝
📄
date.js
✏️
📝
📄
date.min.js
✏️
📝
📄
deprecated.js
✏️
📝
📄
deprecated.min.js
✏️
📝
📄
dom-ready.js
✏️
📝
📄
dom-ready.min.js
✏️
📝
📄
dom.js
✏️
📝
📄
dom.min.js
✏️
📝
📄
edit-post.js
✏️
📝
📄
edit-post.min.js
✏️
📝
📄
edit-site.js
✏️
📝
📄
edit-site.min.js
✏️
📝
📄
edit-widgets.js
✏️
📝
📄
edit-widgets.min.js
✏️
📝
📄
editor.js
✏️
📝
📄
editor.min.js
✏️
📝
📄
element.js
✏️
📝
📄
element.min.js
✏️
📝
📄
escape-html.js
✏️
📝
📄
escape-html.min.js
✏️
📝
📄
fields.js
✏️
📝
📄
fields.min.js
✏️
📝
📄
format-library.js
✏️
📝
📄
format-library.min.js
✏️
📝
📄
hooks.js
✏️
📝
📄
hooks.min.js
✏️
📝
📄
html-entities.js
✏️
📝
📄
html-entities.min.js
✏️
📝
📄
i18n.js
✏️
📝
📄
i18n.min.js
✏️
📝
📄
is-shallow-equal.js
✏️
📝
📄
is-shallow-equal.min.js
✏️
📝
📄
keyboard-shortcuts.js
✏️
📝
📄
keyboard-shortcuts.min.js
✏️
📝
📄
keycodes.js
✏️
📝
📄
keycodes.min.js
✏️
📝
📄
list-reusable-blocks.js
✏️
📝
📄
list-reusable-blocks.min.js
✏️
📝
📄
media-utils.js
✏️
📝
📄
media-utils.min.js
✏️
📝
📄
notices.js
✏️
📝
📄
notices.min.js
✏️
📝
📄
nux.js
✏️
📝
📄
nux.min.js
✏️
📝
📄
patterns.js
✏️
📝
📄
patterns.min.js
✏️
📝
📄
plugins.js
✏️
📝
📄
plugins.min.js
✏️
📝
📄
preferences-persistence.js
✏️
📝
📄
preferences-persistence.min.js
✏️
📝
📄
preferences.js
✏️
📝
📄
preferences.min.js
✏️
📝
📄
primitives.js
✏️
📝
📄
primitives.min.js
✏️
📝
📄
priority-queue.js
✏️
📝
📄
priority-queue.min.js
✏️
📝
📄
private-apis.js
✏️
📝
📄
private-apis.min.js
✏️
📝
📄
redux-routine.js
✏️
📝
📄
redux-routine.min.js
✏️
📝
📄
reusable-blocks.js
✏️
📝
📄
reusable-blocks.min.js
✏️
📝
📄
rich-text.js
✏️
📝
📄
rich-text.min.js
✏️
📝
📄
router.js
✏️
📝
📄
router.min.js
✏️
📝
📄
server-side-render.js
✏️
📝
📄
server-side-render.min.js
✏️
📝
📄
shortcode.js
✏️
📝
📄
shortcode.min.js
✏️
📝
📄
style-engine.js
✏️
📝
📄
style-engine.min.js
✏️
📝
📄
token-list.js
✏️
📝
📄
token-list.min.js
✏️
📝
📄
undo-manager.js
✏️
📝
📄
undo-manager.min.js
✏️
📝
📄
url.js
✏️
📝
📄
url.min.js
✏️
📝
📄
viewport.js
✏️
📝
📄
viewport.min.js
✏️
📝
📄
warning.js
✏️
📝
📄
warning.min.js
✏️
📝
📄
widgets.js
✏️
📝
📄
widgets.min.js
✏️
📝
📄
wordcount.js
✏️
📝
📄
wordcount.min.js
✏️
📝