??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/rosestpetronal.nl/wp-includes/js/dist/keyboard-shortcuts.js
⬅ Kembali
var wp;
(wp ||= {}).keyboardShortcuts = (() => {
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// package-external:@wordpress/data
var require_data = __commonJS({
"package-external:@wordpress/data"(exports, module) {
module.exports = window.wp.data;
}
});
// package-external:@wordpress/keycodes
var require_keycodes = __commonJS({
"package-external:@wordpress/keycodes"(exports, module) {
module.exports = window.wp.keycodes;
}
});
// package-external:@wordpress/element
var require_element = __commonJS({
"package-external:@wordpress/element"(exports, module) {
module.exports = window.wp.element;
}
});
// vendor-external:react/jsx-runtime
var require_jsx_runtime = __commonJS({
"vendor-external:react/jsx-runtime"(exports, module) {
module.exports = window.ReactJSXRuntime;
}
});
// packages/keyboard-shortcuts/build-module/index.mjs
var index_exports = {};
__export(index_exports, {
ShortcutProvider: () => ShortcutProvider,
__unstableUseShortcutEventMatch: () => useShortcutEventMatch,
store: () => store,
useShortcut: () => useShortcut
});
// packages/keyboard-shortcuts/build-module/store/index.mjs
var import_data2 = __toESM(require_data(), 1);
// packages/keyboard-shortcuts/build-module/store/reducer.mjs
function reducer(state = {}, action) {
switch (action.type) {
case "REGISTER_SHORTCUT":
return {
...state,
[action.name]: {
category: action.category,
keyCombination: action.keyCombination,
aliases: action.aliases,
description: action.description
}
};
case "UNREGISTER_SHORTCUT":
const { [action.name]: actionName, ...remainingState } = state;
return remainingState;
}
return state;
}
var reducer_default = reducer;
// packages/keyboard-shortcuts/build-module/store/actions.mjs
var actions_exports = {};
__export(actions_exports, {
registerShortcut: () => registerShortcut,
unregisterShortcut: () => unregisterShortcut
});
function registerShortcut({
name,
category,
description,
keyCombination,
aliases
}) {
return {
type: "REGISTER_SHORTCUT",
name,
category,
keyCombination,
aliases,
description
};
}
function unregisterShortcut(name) {
return {
type: "UNREGISTER_SHORTCUT",
name
};
}
// packages/keyboard-shortcuts/build-module/store/selectors.mjs
var selectors_exports = {};
__export(selectors_exports, {
getAllShortcutKeyCombinations: () => getAllShortcutKeyCombinations,
getAllShortcutRawKeyCombinations: () => getAllShortcutRawKeyCombinations,
getCategoryShortcuts: () => getCategoryShortcuts,
getShortcutAliases: () => getShortcutAliases,
getShortcutDescription: () => getShortcutDescription,
getShortcutKeyCombination: () => getShortcutKeyCombination,
getShortcutRepresentation: () => getShortcutRepresentation
});
var import_data = __toESM(require_data(), 1);
var import_keycodes = __toESM(require_keycodes(), 1);
var EMPTY_ARRAY = [];
var FORMATTING_METHODS = {
display: import_keycodes.displayShortcut,
raw: import_keycodes.rawShortcut,
ariaLabel: import_keycodes.shortcutAriaLabel
};
function getKeyCombinationRepresentation(shortcut, representation) {
if (!shortcut) {
return null;
}
return shortcut.modifier ? FORMATTING_METHODS[representation][shortcut.modifier](
shortcut.character
) : shortcut.character;
}
function getShortcutKeyCombination(state, name) {
return state[name] ? state[name].keyCombination : null;
}
function getShortcutRepresentation(state, name, representation = "display") {
const shortcut = getShortcutKeyCombination(state, name);
return getKeyCombinationRepresentation(shortcut, representation);
}
function getShortcutDescription(state, name) {
return state[name] ? state[name].description : null;
}
function getShortcutAliases(state, name) {
return state[name] && state[name].aliases ? state[name].aliases : EMPTY_ARRAY;
}
var getAllShortcutKeyCombinations = (0, import_data.createSelector)(
(state, name) => {
return [
getShortcutKeyCombination(state, name),
...getShortcutAliases(state, name)
].filter(Boolean);
},
(state, name) => [state[name]]
);
var getAllShortcutRawKeyCombinations = (0, import_data.createSelector)(
(state, name) => {
return getAllShortcutKeyCombinations(state, name).map(
(combination) => getKeyCombinationRepresentation(combination, "raw")
);
},
(state, name) => [state[name]]
);
var getCategoryShortcuts = (0, import_data.createSelector)(
(state, categoryName) => {
return Object.entries(state).filter(([, shortcut]) => shortcut.category === categoryName).map(([name]) => name);
},
(state) => [state]
);
// packages/keyboard-shortcuts/build-module/store/index.mjs
var STORE_NAME = "core/keyboard-shortcuts";
var store = (0, import_data2.createReduxStore)(STORE_NAME, {
reducer: reducer_default,
actions: actions_exports,
selectors: selectors_exports
});
(0, import_data2.register)(store);
// packages/keyboard-shortcuts/build-module/hooks/use-shortcut.mjs
var import_element2 = __toESM(require_element(), 1);
// packages/keyboard-shortcuts/build-module/hooks/use-shortcut-event-match.mjs
var import_data3 = __toESM(require_data(), 1);
var import_keycodes2 = __toESM(require_keycodes(), 1);
function useShortcutEventMatch() {
const { getAllShortcutKeyCombinations: getAllShortcutKeyCombinations2 } = (0, import_data3.useSelect)(
store
);
function isMatch(name, event) {
return getAllShortcutKeyCombinations2(name).some(
({ modifier, character }) => {
return import_keycodes2.isKeyboardEvent[modifier](event, character);
}
);
}
return isMatch;
}
// packages/keyboard-shortcuts/build-module/context.mjs
var import_element = __toESM(require_element(), 1);
var globalShortcuts = /* @__PURE__ */ new Set();
var globalListener = (event) => {
for (const keyboardShortcut of globalShortcuts) {
keyboardShortcut(event);
}
};
var context = (0, import_element.createContext)({
add: (shortcut) => {
if (globalShortcuts.size === 0) {
document.addEventListener("keydown", globalListener);
}
globalShortcuts.add(shortcut);
},
delete: (shortcut) => {
globalShortcuts.delete(shortcut);
if (globalShortcuts.size === 0) {
document.removeEventListener("keydown", globalListener);
}
}
});
context.displayName = "KeyboardShortcutsContext";
// packages/keyboard-shortcuts/build-module/hooks/use-shortcut.mjs
function useShortcut(name, callback, { isDisabled = false } = {}) {
const shortcuts = (0, import_element2.useContext)(context);
const isMatch = useShortcutEventMatch();
const callbackRef = (0, import_element2.useRef)();
(0, import_element2.useEffect)(() => {
callbackRef.current = callback;
}, [callback]);
(0, import_element2.useEffect)(() => {
if (isDisabled) {
return;
}
function _callback(event) {
if (isMatch(name, event)) {
callbackRef.current(event);
}
}
shortcuts.add(_callback);
return () => {
shortcuts.delete(_callback);
};
}, [name, isDisabled, shortcuts]);
}
// packages/keyboard-shortcuts/build-module/components/shortcut-provider.mjs
var import_element3 = __toESM(require_element(), 1);
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
var { Provider } = context;
function ShortcutProvider(props) {
const [keyboardShortcuts] = (0, import_element3.useState)(() => /* @__PURE__ */ new Set());
function onKeyDown(event) {
if (props.onKeyDown) {
props.onKeyDown(event);
}
for (const keyboardShortcut of keyboardShortcuts) {
keyboardShortcut(event);
}
}
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider, { value: keyboardShortcuts, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ...props, onKeyDown }) });
}
return __toCommonJS(index_exports);
})();
Nama
Tipe
Ukuran
Diubah
Aksi
📁 development
dir
—
2026-02-12 09:45
📁 script-modules
dir
—
2026-05-21 00:02
📁 vendor
dir
—
2026-05-21 00:02
📜 a11y.js
js
5.5 KB
2026-05-21 00:02
📜 a11y.min.js
js
2.4 KB
2026-05-21 00:02
📜 annotations.js
js
15.1 KB
2026-05-21 00:02
📜 annotations.min.js
js
5.6 KB
2026-05-21 00:02
📜 api-fetch.js
js
17.5 KB
2026-05-21 00:02
📜 api-fetch.min.js
js
6.3 KB
2026-05-21 00:02
📜 autop.js
js
9.7 KB
2026-05-21 00:02
📜 autop.min.js
js
5.5 KB
2026-05-21 00:02
📜 base-styles.js
js
48 B
2026-05-21 00:02
📜 base-styles.min.js
js
40 B
2026-05-21 00:02
📜 blob.js
js
2.3 KB
2026-05-21 00:02
📜 blob.min.js
js
1.1 KB
2026-05-21 00:02
📜 block-directory.js
js
55.7 KB
2026-05-21 00:02
📜 block-directory.min.js
js
21.9 KB
2026-05-21 00:02
📜 block-editor.js
js
2.7 MB
2026-05-21 00:02
📜 block-editor.min.js
js
1 MB
2026-05-21 00:02
📜 block-library.js
js
2.6 MB
2026-05-21 00:02
📜 block-library.min.js
js
1.1 MB
2026-05-21 00:02
📜 block-serialization-default-parser.js
js
6.5 KB
2026-05-21 00:02
📜 block-serialization-default-parser.min.js
js
2.4 KB
2026-05-21 00:02
📜 block-serialization-spec-parser.js
js
50.5 KB
2026-05-21 00:02
📜 block-serialization-spec-parser.min.js
js
10.3 KB
2026-05-21 00:02
📜 blocks.js
js
381.1 KB
2026-05-21 00:02
📜 blocks.min.js
js
180.6 KB
2026-05-21 00:02
📜 commands.js
js
151.7 KB
2026-05-21 00:02
📜 commands.min.js
js
63.1 KB
2026-05-21 00:02
📜 components.js
js
3.8 MB
2026-05-21 00:02
📜 components.min.js
js
786.2 KB
2026-05-21 00:02
📜 compose.js
js
80.8 KB
2026-05-21 00:02
📜 compose.min.js
js
28.2 KB
2026-05-21 00:02
📜 core-commands.js
js
28.7 KB
2026-05-21 00:02
📜 core-commands.min.js
js
11.8 KB
2026-05-21 00:02
📜 core-data.js
js
612 KB
2026-05-21 00:02
📜 core-data.min.js
js
210.4 KB
2026-05-21 00:02
📜 customize-widgets.js
js
91.6 KB
2026-05-21 00:02
📜 customize-widgets.min.js
js
36.6 KB
2026-05-21 00:02
📜 data-controls.js
js
4.1 KB
2026-05-21 00:02
📜 data-controls.min.js
js
1.7 KB
2026-05-21 00:02
📜 data.js
js
82.8 KB
2026-05-21 00:02
📜 data.min.js
js
25.9 KB
2026-05-21 00:02
📜 date.js
js
176.3 KB
2026-05-21 00:02
📜 date.min.js
js
141.2 KB
2026-05-21 00:02
📜 deprecated.js
js
3 KB
2026-05-21 00:02
📜 deprecated.min.js
js
1.3 KB
2026-05-21 00:02
📜 dom-ready.js
js
1.5 KB
2026-05-21 00:02
📜 dom-ready.min.js
js
783 B
2026-05-21 00:02
📜 dom.js
js
34.6 KB
2026-05-21 00:02
📜 dom.min.js
js
12.6 KB
2026-05-21 00:02
📜 edit-post.js
js
117.4 KB
2026-05-21 00:02
📜 edit-post.min.js
js
49.1 KB
2026-05-21 00:02
📜 edit-site.js
js
1.7 MB
2026-05-21 00:02
📜 edit-site.min.js
js
684.4 KB
2026-05-21 00:02
📜 edit-widgets.js
js
160.2 KB
2026-05-21 00:02
📜 edit-widgets.min.js
js
61.8 KB
2026-05-21 00:02
📜 editor.js
js
2.5 MB
2026-05-21 00:02
📜 editor.min.js
js
1021.2 KB
2026-05-21 00:02
📜 element.js
js
27.9 KB
2026-05-21 00:02
📜 element.min.js
js
12.1 KB
2026-05-21 00:02
📜 escape-html.js
js
2.3 KB
2026-05-21 00:02
📜 escape-html.min.js
js
1 KB
2026-05-21 00:02
📜 format-library.js
js
73.3 KB
2026-05-21 00:02
📜 format-library.min.js
js
28.8 KB
2026-05-21 00:02
📜 hooks.js
js
12 KB
2026-05-21 00:02
📜 hooks.min.js
js
4.9 KB
2026-05-21 00:02
📜 html-entities.js
js
1.6 KB
2026-05-21 00:02
📜 html-entities.min.js
js
844 B
2026-05-21 00:02
📜 i18n.js
js
15.3 KB
2026-05-21 00:02
📜 i18n.min.js
js
5.6 KB
2026-05-21 00:02
📜 is-shallow-equal.js
js
2.7 KB
2026-05-21 00:02
📜 is-shallow-equal.min.js
js
1.1 KB
2026-05-21 00:02
📜 keyboard-shortcuts.js
js
9.7 KB
2026-05-21 00:02
📜 keyboard-shortcuts.min.js
js
3.4 KB
2026-05-21 00:02
📜 keycodes.js
js
8.3 KB
2026-05-21 00:02
📜 keycodes.min.js
js
2.9 KB
2026-05-21 00:02
📜 list-reusable-blocks.js
js
13.1 KB
2026-05-21 00:02
📜 list-reusable-blocks.min.js
js
5.2 KB
2026-05-21 00:02
📜 media-utils.js
js
637.1 KB
2026-05-21 00:02
📜 media-utils.min.js
js
237.6 KB
2026-05-21 00:02
📜 notices.js
js
10.1 KB
2026-05-21 00:02
📜 notices.min.js
js
4.3 KB
2026-05-21 00:02
📜 nux.js
js
10.3 KB
2026-05-21 00:02
📜 nux.min.js
js
3.9 KB
2026-05-21 00:02
📜 patterns.js
js
58.2 KB
2026-05-21 00:02
📜 patterns.min.js
js
21.6 KB
2026-05-21 00:02
📜 plugins.js
js
11.7 KB
2026-05-21 00:02
📜 plugins.min.js
js
4.7 KB
2026-05-21 00:02
📜 preferences-persistence.js
js
17.2 KB
2026-05-21 00:02
📜 preferences-persistence.min.js
js
5.5 KB
2026-05-21 00:02
📜 preferences.js
js
21.1 KB
2026-05-21 00:02
📜 preferences.min.js
js
7.7 KB
2026-05-21 00:02
📜 primitives.js
js
5.1 KB
2026-05-21 00:02
📜 primitives.min.js
js
1.9 KB
2026-05-21 00:02
📜 priority-queue.js
js
10 KB
2026-05-21 00:02
📜 priority-queue.min.js
js
3.3 KB
2026-05-21 00:02
📜 private-apis.js
js
4.1 KB
2026-05-21 00:02
📜 private-apis.min.js
js
2.6 KB
2026-05-21 00:02
📜 react-i18n.js
js
3.9 KB
2026-05-21 00:02
📜 react-i18n.min.js
js
1.5 KB
2026-05-21 00:02
📜 redux-routine.js
js
24.7 KB
2026-05-21 00:02
📜 redux-routine.min.js
js
9.6 KB
2026-05-21 00:02
📜 reusable-blocks.js
js
20.5 KB
2026-05-21 00:02
📜 reusable-blocks.min.js
js
7.2 KB
2026-05-21 00:02
📜 rich-text.js
js
97 KB
2026-05-21 00:02
📜 rich-text.min.js
js
39.9 KB
2026-05-21 00:02
📜 router.js
js
36.1 KB
2026-05-21 00:02
📜 router.min.js
js
14.1 KB
2026-05-21 00:02
📜 server-side-render.js
js
11 KB
2026-05-21 00:02
📜 server-side-render.min.js
js
3.9 KB
2026-05-21 00:02
📜 shortcode.js
js
8 KB
2026-05-21 00:02
📜 shortcode.min.js
js
3.2 KB
2026-05-21 00:02
📜 style-engine.js
js
17.6 KB
2026-05-21 00:02
📜 style-engine.min.js
js
6.4 KB
2026-05-21 00:02
📜 sync.js
js
359.4 KB
2026-05-21 00:02
📜 sync.min.js
js
118.1 KB
2026-05-21 00:02
📜 theme.js
js
127.6 KB
2026-05-21 00:02
📜 theme.min.js
js
56.1 KB
2026-05-21 00:02
📜 token-list.js
js
6.1 KB
2026-05-21 00:02
📜 token-list.min.js
js
1.6 KB
2026-05-21 00:02
📜 undo-manager.js
js
5.3 KB
2026-05-21 00:02
📜 undo-manager.min.js
js
1.7 KB
2026-05-21 00:02
📜 upload-media.js
js
55.7 KB
2026-05-21 00:02
📜 upload-media.min.js
js
23 KB
2026-05-21 00:02
📜 url.js
js
23.4 KB
2026-05-21 00:02
📜 url.min.js
js
10.1 KB
2026-05-21 00:02
📜 viewport.js
js
6.6 KB
2026-05-21 00:02
📜 viewport.min.js
js
2.2 KB
2026-05-21 00:02
📜 warning.js
js
1.5 KB
2026-05-21 00:02
📜 warning.min.js
js
720 B
2026-05-21 00:02
📜 widgets.js
js
50.1 KB
2026-05-21 00:02
📜 widgets.min.js
js
20.8 KB
2026-05-21 00:02
📜 wordcount.js
js
6.9 KB
2026-05-21 00:02
📜 wordcount.min.js
js
2.4 KB
2026-05-21 00:02