diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:57:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:57:26 +0000 |
commit | 30883c26bdceb9eaf32c8d4a1b0c1bce223b5226 (patch) | |
tree | 39a02e2aeb21ab5b7923c6f5757d66d55b708912 /wp-includes/js/dist/i18n.js | |
parent | Adding upstream version 6.4.3+dfsg1. (diff) | |
download | wordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.tar.xz wordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.zip |
Adding upstream version 6.5+dfsg1.upstream/6.5+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/js/dist/i18n.js')
-rw-r--r-- | wp-includes/js/dist/i18n.js | 79 |
1 files changed, 40 insertions, 39 deletions
diff --git a/wp-includes/js/dist/i18n.js b/wp-includes/js/dist/i18n.js index 142072d..a40433a 100644 --- a/wp-includes/js/dist/i18n.js +++ b/wp-includes/js/dist/i18n.js @@ -1,8 +1,8 @@ -/******/ (function() { // webpackBootstrap +/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 124: -/***/ (function(module, exports, __webpack_require__) { +/***/ 2058: +/***/ ((module, exports, __webpack_require__) => { var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */ @@ -268,68 +268,68 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */ /******/ /************************************************************************/ /******/ /* webpack/runtime/compat get default export */ -/******/ !function() { +/******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { +/******/ __webpack_require__.n = (module) => { /******/ var getter = module && module.__esModule ? -/******/ function() { return module['default']; } : -/******/ function() { return module; }; +/******/ () => (module['default']) : +/******/ () => (module); /******/ __webpack_require__.d(getter, { a: getter }); /******/ return getter; /******/ }; -/******/ }(); +/******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ -/******/ !function() { +/******/ (() => { /******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = function(exports, definition) { +/******/ __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 */ -/******/ !function() { -/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } -/******/ }(); +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ !function() { +/******/ (() => { /******/ // define __esModule on exports -/******/ __webpack_require__.r = function(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 in strict mode. -!function() { +(() => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { - __: function() { return /* reexport */ __; }, - _n: function() { return /* reexport */ _n; }, - _nx: function() { return /* reexport */ _nx; }, - _x: function() { return /* reexport */ _x; }, - createI18n: function() { return /* reexport */ createI18n; }, - defaultI18n: function() { return /* reexport */ default_i18n; }, - getLocaleData: function() { return /* reexport */ getLocaleData; }, - hasTranslation: function() { return /* reexport */ hasTranslation; }, - isRTL: function() { return /* reexport */ isRTL; }, - resetLocaleData: function() { return /* reexport */ resetLocaleData; }, - setLocaleData: function() { return /* reexport */ setLocaleData; }, - sprintf: function() { return /* reexport */ sprintf_sprintf; }, - subscribe: function() { return /* reexport */ subscribe; } + __: () => (/* reexport */ __), + _n: () => (/* reexport */ _n), + _nx: () => (/* reexport */ _nx), + _x: () => (/* reexport */ _x), + createI18n: () => (/* reexport */ createI18n), + defaultI18n: () => (/* reexport */ default_i18n), + getLocaleData: () => (/* reexport */ getLocaleData), + hasTranslation: () => (/* reexport */ hasTranslation), + isRTL: () => (/* reexport */ isRTL), + resetLocaleData: () => (/* reexport */ resetLocaleData), + setLocaleData: () => (/* reexport */ setLocaleData), + sprintf: () => (/* reexport */ sprintf_sprintf), + subscribe: () => (/* reexport */ subscribe) }); ;// CONCATENATED MODULE: ./node_modules/memize/dist/index.js @@ -495,7 +495,7 @@ function memize(fn, options) { // EXTERNAL MODULE: ./node_modules/sprintf-js/src/sprintf.js -var sprintf = __webpack_require__(124); +var sprintf = __webpack_require__(2058); var sprintf_default = /*#__PURE__*/__webpack_require__.n(sprintf); ;// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/sprintf.js /** @@ -1319,7 +1319,7 @@ const createI18n = (initialData, initialDomain, hooks) => { */ translation = /** @type {string} */ /** @type {*} */hooks.applyFilters('i18n.gettext', translation, text, domain); - return (/** @type {string} */ + return /** @type {string} */( /** @type {*} */hooks.applyFilters('i18n.gettext_' + getFilterDomain(domain), translation, text, domain) ); }; @@ -1341,7 +1341,7 @@ const createI18n = (initialData, initialDomain, hooks) => { */ translation = /** @type {string} */ /** @type {*} */hooks.applyFilters('i18n.gettext_with_context', translation, text, context, domain); - return (/** @type {string} */ + return /** @type {string} */( /** @type {*} */hooks.applyFilters('i18n.gettext_with_context_' + getFilterDomain(domain), translation, text, context, domain) ); }; @@ -1364,7 +1364,7 @@ const createI18n = (initialData, initialDomain, hooks) => { */ translation = /** @type {string} */ /** @type {*} */hooks.applyFilters('i18n.ngettext', translation, single, plural, number, domain); - return (/** @type {string} */ + return /** @type {string} */( /** @type {*} */hooks.applyFilters('i18n.ngettext_' + getFilterDomain(domain), translation, single, plural, number, domain) ); }; @@ -1388,7 +1388,7 @@ const createI18n = (initialData, initialDomain, hooks) => { */ translation = /** @type {string} */ /** @type {*} */hooks.applyFilters('i18n.ngettext_with_context', translation, single, plural, number, context, domain); - return (/** @type {string} */ + return /** @type {string} */( /** @type {*} */hooks.applyFilters('i18n.ngettext_with_context_' + getFilterDomain(domain), translation, single, plural, number, context, domain) ); }; @@ -1449,7 +1449,7 @@ const createI18n = (initialData, initialDomain, hooks) => { }; ;// CONCATENATED MODULE: external ["wp","hooks"] -var external_wp_hooks_namespaceObject = window["wp"]["hooks"]; +const external_wp_hooks_namespaceObject = window["wp"]["hooks"]; ;// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/default-i18n.js /** * Internal dependencies @@ -1465,7 +1465,7 @@ const i18n = createI18n(undefined, undefined, external_wp_hooks_namespaceObject. /** * Default, singleton instance of `I18n`. */ -/* harmony default export */ var default_i18n = (i18n); +/* harmony default export */ const default_i18n = (i18n); /* * Comments in this file are duplicated from ./i18n due to @@ -1603,7 +1603,8 @@ const hasTranslation = i18n.hasTranslation.bind(i18n); -}(); +})(); + (window.wp = window.wp || {}).i18n = __webpack_exports__; /******/ })() ;
\ No newline at end of file |