Copy disabled (too large)
Download .txt
Showing preview only (10,917K chars total). Download the full file to get everything.
Repository: front/g-editor
Branch: master
Commit: acf8d8793f53
Files: 135
Total size: 10.4 MB
Directory structure:
gitextract_54f2y3op/
├── .eslintignore
├── .eslintrc
├── .gitignore
├── CHANGELOG.md
├── LICENSE
├── README.md
├── config/
│ ├── block-vars.js
│ ├── env.js
│ ├── gutenberg/
│ │ ├── README.md
│ │ ├── assets-queue.js
│ │ ├── index.js
│ │ ├── scripts.json
│ │ ├── styles.json
│ │ ├── update.sh
│ │ └── vendor.json
│ ├── jest/
│ │ ├── cssTransform.js
│ │ └── fileTransform.js
│ ├── paths.js
│ ├── webpack.config.dev.js
│ ├── webpack.config.prod.js
│ └── webpackDevServer.config.js
├── g-scripts.txt
├── g-styles.txt
├── package.json
├── public/
│ ├── index.html
│ ├── manifest.json
│ └── vendor/
│ ├── g-data.js
│ ├── gutenberg/
│ │ ├── styles/
│ │ │ ├── wp-block-directory/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-block-editor/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-block-library/
│ │ │ │ ├── editor-rtl.css
│ │ │ │ ├── editor.css
│ │ │ │ ├── style-rtl.css
│ │ │ │ ├── style.css
│ │ │ │ ├── theme-rtl.css
│ │ │ │ └── theme.css
│ │ │ ├── wp-components/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-edit-post/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-editor/
│ │ │ │ ├── editor-styles-rtl.css
│ │ │ │ ├── editor-styles.css
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-format-library/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-list-reusable-blocks/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ └── wp-nux/
│ │ │ ├── style-rtl.css
│ │ │ └── style.css
│ │ ├── vendor/
│ │ │ ├── lodash.js
│ │ │ ├── moment.js
│ │ │ ├── react-dom.js
│ │ │ ├── react.js
│ │ │ ├── wp-polyfill-dom-rect.js
│ │ │ ├── wp-polyfill-element-closest.js
│ │ │ ├── wp-polyfill-fetch.js
│ │ │ ├── wp-polyfill-formdata.js
│ │ │ ├── wp-polyfill-node-contains.js
│ │ │ ├── wp-polyfill-url.js
│ │ │ └── wp-polyfill.js
│ │ ├── wp-a11y.js
│ │ ├── wp-annotations.js
│ │ ├── wp-api-fetch.js
│ │ ├── wp-autop.js
│ │ ├── wp-blob.js
│ │ ├── wp-block-directory.js
│ │ ├── wp-block-editor.js
│ │ ├── wp-block-library.js
│ │ ├── wp-block-serialization-default-parser.js
│ │ ├── wp-blocks.js
│ │ ├── wp-components.js
│ │ ├── wp-compose.js
│ │ ├── wp-core-data.js
│ │ ├── wp-data-controls.js
│ │ ├── wp-data.js
│ │ ├── wp-date.js
│ │ ├── wp-deprecated.js
│ │ ├── wp-dom-ready.js
│ │ ├── wp-dom.js
│ │ ├── wp-edit-post.js
│ │ ├── wp-editor.js
│ │ ├── wp-element.js
│ │ ├── wp-escape-html.js
│ │ ├── wp-format-library.js
│ │ ├── wp-hooks.js
│ │ ├── wp-html-entities.js
│ │ ├── wp-i18n.js
│ │ ├── wp-is-shallow-equal.js
│ │ ├── wp-keyboard-shortcuts.js
│ │ ├── wp-keycodes.js
│ │ ├── wp-list-reusable-blocks.js
│ │ ├── wp-media-utils.js
│ │ ├── wp-notices.js
│ │ ├── wp-nux.js
│ │ ├── wp-plugins.js
│ │ ├── wp-primitives.js
│ │ ├── wp-priority-queue.js
│ │ ├── wp-redux-routine.js
│ │ ├── wp-rich-text.js
│ │ ├── wp-server-side-render.js
│ │ ├── wp-shortcode.js
│ │ ├── wp-token-list.js
│ │ ├── wp-url.js
│ │ ├── wp-viewport.js
│ │ ├── wp-warning.js
│ │ └── wp-wordcount.js
│ └── no-conflict.js
├── scripts/
│ ├── build.js
│ ├── g-scripts.js
│ ├── g-update.js
│ ├── start.js
│ └── test.js
└── src/
├── core/
│ ├── api-fetch.js
│ ├── index.js
│ ├── media-library.scss
│ ├── media-upload.js
│ ├── settings.js
│ └── style.scss
├── data/
│ ├── categories.json
│ ├── taxonomies.json
│ ├── themes.json
│ ├── types.json
│ └── users.json
├── globals/
│ ├── api-fetch.js
│ ├── api-routes.js
│ ├── embeds.js
│ ├── fake-data.js
│ └── fake-media.js
├── index.js
├── pages/
│ ├── editor.js
│ ├── editor.scss
│ └── preview.js
└── serviceWorker.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .eslintignore
================================================
build/*
config/*
node_modules/*
public/vendor/*
scripts/*
src/serviceWorker.js
================================================
FILE: .eslintrc
================================================
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"env": {
"browser": false,
"es6": true,
"node": true
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"window": true,
"document": true,
"localStorage": true,
"sessionStorage": true,
"React": true,
"ReactDOM": true,
"fetch": true
},
"plugins": [
"react"
],
"settings": {
"react": {
"pragma": "React",
"version": "16.0"
}
},
"rules": {
"arrow-parens": ["warn", "as-needed"],
"arrow-spacing": "warn",
"block-scoped-var": "warn",
"brace-style": [ "warn", "stroustrup", {
"allowSingleLine": true
}],
"comma-dangle": [ "warn", "always-multiline" ],
"comma-spacing": "warn",
"comma-style": "warn",
"curly": "warn",
"dot-notation": "warn",
"eol-last": "error",
"eqeqeq": "warn",
"func-call-spacing": [ "warn", "never" ],
"func-style": [ "error", "declaration", {
"allowArrowFunctions": true
}],
"generator-star-spacing": "warn",
"indent": [ "warn", 2, {
"MemberExpression": 0,
"SwitchCase": 1
}],
"jsx-quotes": "error",
"new-parens": "error",
"no-caller": "error",
"no-console": "off",
"no-duplicate-imports": "error",
"no-else-return": "warn",
"no-eval": "error",
"no-extra-label": "warn",
"no-floating-decimal": "warn",
"no-lonely-if": "warn",
"no-mixed-operators": "warn",
"no-multi-str": "error",
"no-negated-in-lhs": "warn",
"no-shadow": "warn",
"no-undef-init": "error",
"no-unused-expressions": "error",
"no-useless-computed-key": "warn",
"no-useless-constructor": "warn",
"no-useless-rename": "warn",
"no-useless-return": "warn",
"no-var": "error",
"no-whitespace-before-property": "warn",
"object-curly-spacing": [ "error", "always" ],
"prefer-const": "warn",
"prefer-rest-params": "warn",
"quote-props": [ "error", "as-needed" ],
"quotes": [ "warn", "single", {
"allowTemplateLiterals": true
}],
"rest-spread-spacing": ["warn", "never"],
"semi-spacing": "warn",
"semi-style": [ "warn", "last" ],
"semi": [ "error", "always" ],
"space-before-blocks": "warn",
"space-before-function-paren": "warn",
"space-infix-ops": "warn",
"space-in-parens": ["warn", "never"],
"spaced-comment": ["warn", "always"],
"template-curly-spacing": "warn",
"yield-star-spacing": "warn",
"valid-jsdoc": ["warn", {
"requireReturn": false,
"requireReturnDescription": false,
"requireParamDescription": false
}],
"react/display-name": "off",
"react/jsx-curly-spacing": "off",
"react/jsx-equals-spacing": "error",
"react/jsx-indent": [ "warn", 2 ],
"react/jsx-indent-props": [ "warn", 2 ],
"react/jsx-key": "error",
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"react/jsx-tag-spacing": "warn",
"react/no-children-prop": "off",
"react/no-find-dom-node": "warn",
"react/no-unescaped-entities": "off",
"react/prop-types": "off"
}
}
================================================
FILE: .gitignore
================================================
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
/node_modules
# testing
/coverage
# production
/build
# temporary files
/tmp
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
yarn.lock
*.php
================================================
FILE: CHANGELOG.md
================================================
# g-editor changelog
## 1.3.0
### Added
- Read block config from the gutenbergCloud settings (if present)
### Changed
- Update Gutenberg to latest version (6.1.1)
## 1.2.0
### Added
- Support for frontend scripts
### Changed
- Fixed default public URL on production build
## 1.1.0
### Added
- Allow a target build folder to be set with an environment var
### Changed
- Only send essential folders to NPM
## 1.0.0
### Changed
- Removed Gutenberg-JS dependency
- Added scripts from Gutenberg-js
- Load Gutenberg packages directly
## 0.4.0
### Added
- Added fake data for taxonomies, categories and users.
- Added button to clear local storage manually instead of clearing on bootup.
- Implemented basic image upload to memory.
- Added changelog.
### Changed
- Updated Gutenberg-JS dependency to the latest version (4.0.0).
- Local storage is no longer cleared on bootup. This makes it possible to test blocks that were pre-saved for consistency and deprecated markup.
- Refactored API Fetch function to cover more WP API Endpoints.
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2018 Frontkom
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
# g-editor
A minimalist version of Gutenberg's editor. Ideal for checking your custom blocks.
``` bash
npm install @frontkom/g-editor
npm start
```
You can include your custom block by passing its path in `BLOCK_DIR` env var.
``` bash
BLOCK_DIR=\absolute\path\to\your-custom-block npm start
```
The editor expects that your custom block has an `index.js` and a `style.css` in its `build` folder.
```
your-custom-block
├── ...
├── build
│ ├── index.js
│ └── style.css
└── ...
```
## g-editor and Gutenberg-js
Since version 1.0, `g-editor` no longer depends on `Gutenberg-js`.
It now includes the source `Gutenberg` packages directly.
## Current Gutenberg version
[v8.5.1](https://github.com/WordPress/gutenberg/releases/tag/v8.5.1)
### Better updates
To update Gutenberg packages, run
```
npm run g-update
```
It will pull to your local machine from the WordPress repo the Gutenberg packages assets ready to use. After copy those assets to `public/vendor/gutenberg`, the script will generate `g-scripts.txt` and `g-styles.txt` files with all the depencies the editor needs to run.
## Assets
The sample videos are a courtesy of [Pixabay](https://pixabay.com/):
* [https://pixabay.com/en/videos/cute-cat-funny-cat-kitten-domestic-3092/](https://pixabay.com/en/videos/cute-cat-funny-cat-kitten-domestic-3092/)
* [https://pixabay.com/en/videos/cat-cat-thailand-small-indian-civet-1297/](https://pixabay.com/en/videos/cat-cat-thailand-small-indian-civet-1297/)
================================================
FILE: config/block-vars.js
================================================
'use strict';
const fs = require('fs');
const path = require('path');
const blockDir = process.env.BLOCK_DIR || false;
module.exports = function getBlockVars () {
// Check if a directory was passed as an env var
if(!blockDir || !fs.lstatSync(blockDir).isDirectory()) {
return {};
}
// Extract the content of a file as a string
const getFileContents = file =>
fs.existsSync(file) && fs.lstatSync(file).isFile()
? fs.readFileSync(file).toString()
: undefined;
// Read the block config (if exists)
const blockPkg = getFileContents(path.resolve(blockDir, 'package.json'));
const config = blockPkg && JSON.parse(blockPkg).gutenbergCloud;
// Extract the file name from the block config or set a default
function getFileName (name, oldName, defName) {
const file = config && (config[name] || config[oldName]);
return file ? path.resolve(blockDir, file) : path.resolve(blockDir, 'build', defName);
}
// Get the file names to be loaded
const editorJs = getFileName('editor-js', 'js', 'index.js');
const viewCss = getFileName('view-css', 'css', 'style.css');
const editorCss = getFileName('editor-css', 'editor', 'editor.css');
const viewJs = getFileName('view-js', 'scripts', 'scripts.js');
// Load the block files
const blockVars = {};
blockVars.blockScript = getFileContents(editorJs);
blockVars.blockStyle = getFileContents(viewCss);
blockVars.blockEditorStyle = getFileContents(editorCss);
const blockViewScript = getFileContents(viewJs);
blockVars.blockViewScript = blockViewScript && Buffer.from(blockViewScript).toString('base64');
return blockVars;
};
================================================
FILE: config/env.js
================================================
'use strict';
const fs = require('fs');
const path = require('path');
const paths = require('./paths');
// Make sure that including paths.js after env.js will read .env variables.
delete require.cache[require.resolve('./paths')];
const NODE_ENV = process.env.NODE_ENV;
if (!NODE_ENV) {
throw new Error(
'The NODE_ENV environment variable is required but was not specified.'
);
}
// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
var dotenvFiles = [
`${paths.dotenv}.${NODE_ENV}.local`,
`${paths.dotenv}.${NODE_ENV}`,
// Don't include `.env.local` for `test` environment
// since normally you expect tests to produce the same
// results for everyone
NODE_ENV !== 'test' && `${paths.dotenv}.local`,
paths.dotenv,
].filter(Boolean);
// Load environment variables from .env* files. Suppress warnings using silent
// if this file is missing. dotenv will never modify any environment variables
// that have already been set. Variable expansion is supported in .env files.
// https://github.com/motdotla/dotenv
// https://github.com/motdotla/dotenv-expand
dotenvFiles.forEach(dotenvFile => {
if (fs.existsSync(dotenvFile)) {
require('dotenv-expand')(
require('dotenv').config({
path: dotenvFile,
})
);
}
});
// We support resolving modules according to `NODE_PATH`.
// This lets you use absolute paths in imports inside large monorepos:
// https://github.com/facebook/create-react-app/issues/253.
// It works similar to `NODE_PATH` in Node itself:
// https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders
// Note that unlike in Node, only *relative* paths from `NODE_PATH` are honored.
// Otherwise, we risk importing Node.js core modules into an app instead of Webpack shims.
// https://github.com/facebook/create-react-app/issues/1023#issuecomment-265344421
// We also resolve them to make sure all tools using them work consistently.
const appDirectory = fs.realpathSync(process.cwd());
process.env.NODE_PATH = (process.env.NODE_PATH || '')
.split(path.delimiter)
.filter(folder => folder && !path.isAbsolute(folder))
.map(folder => path.resolve(appDirectory, folder))
.join(path.delimiter);
// Grab NODE_ENV and REACT_APP_* environment variables and prepare them to be
// injected into the application via DefinePlugin in Webpack configuration.
const REACT_APP = /^REACT_APP_/i;
function getClientEnvironment(publicUrl) {
const raw = Object.keys(process.env)
.filter(key => REACT_APP.test(key))
.reduce(
(env, key) => {
env[key] = process.env[key];
return env;
},
{
// Useful for determining whether we’re running in production mode.
// Most importantly, it switches React into the correct mode.
NODE_ENV: process.env.NODE_ENV || 'development',
// Useful for resolving the correct path to static assets in `public`.
// For example, <img src={process.env.PUBLIC_URL + '/img/logo.png'} />.
// This should only be used as an escape hatch. Normally you would put
// images into the `src` and `import` them in code to get their paths.
PUBLIC_URL: publicUrl,
}
);
// Stringify all values so we can feed into Webpack DefinePlugin
const stringified = {
'process.env': Object.keys(raw).reduce((env, key) => {
env[key] = JSON.stringify(raw[key]);
return env;
}, {}),
};
return { raw, stringified };
}
module.exports = getClientEnvironment;
================================================
FILE: config/gutenberg/README.md
================================================
# Gutenberg helpers
## Vendor scripts
https://github.com/WordPress/WordPress/blob/master/wp-includes/script-loader.php#L81
## Gutenberg styles
https://github.com/WordPress/WordPress/blob/master/wp-includes/script-loader.php#L1815;
================================================
FILE: config/gutenberg/assets-queue.js
================================================
module.exports = function AssetsQueue () {
// Assets list and their dependencies
// ex: { 'a': ['b', 'c', 'd'] , 'b': ['c'], 'c': [], 'd': ['b', 'c'] }
const assetsList = [];
// List of assets paths
// ex: { 'a': './path/to/..' , 'b': '...', 'c': '...', 'c': '...' }
const pathsList = [];
// List of sorted assets
// ex: ['c', 'b', 'd', 'a']
const sortedList = [];
// Sorts assest list according their dependencies
const sortList = list => {
list.forEach(item => {
if (assetsList[item] && assetsList[item].length) {
sortList(assetsList[item]);
}
if (!sortedList.includes(item)) {
sortedList.push(item);
}
});
};
return {
enqueue: (name, path, deps) => {
// Add asset to the assets list
assetsList[name] = deps;
// Add assest's path to the paths list
pathsList[name] = path;
},
getPaths: () => {
// Sorting assets
sortList(Object.keys(assetsList));
return sortedList.map(asset => ({
name: asset,
path: pathsList[asset],
}));
},
};
};
================================================
FILE: config/gutenberg/index.js
================================================
'use strict';
const AssetsQueue = require('./assets-queue.js');
const vendorScripts = require('./vendor.json');
const gutenbergScripts = require('./scripts.json');
const gutenbergStyles = require('./styles.json');
const vendorFolder = './public/vendor';
const gutenbergFolder = vendorFolder + '/gutenberg';
module.exports = function getGutenbergAssets () {
const depsScripts = new AssetsQueue();
const depsStyles = new AssetsQueue();
// Enqueue vendor js
for (const script in vendorScripts) {
depsScripts.enqueue(script,
gutenbergFolder + '/vendor/' + script + '.min.js',
vendorScripts[script]);
}
// Enqueue local js
depsScripts.enqueue('no-conflict',
vendorFolder + '/no-conflict.js',
['lodash']);
depsScripts.enqueue('g-data',
vendorFolder + '/g-data.js',
['wp-data']);
// Enqueue wp-packages js
for (const script in gutenbergScripts) {
// depsScripts.enqueue(script,
// gutenbergFolder + '/' + script + '.min.js',
// gutenbergScripts[script]);
const name = 'wp-' + script.replace('.js', '');
// console.log(name);
// console.log(gutenbergFolder + '/' + name + '.min.js');
// console.log(gutenbergScripts[script].dependencies);
depsScripts.enqueue(name,
gutenbergFolder + '/' + name + '.min.js',
gutenbergScripts[script].dependencies);
}
// Enqueue style
depsStyles.enqueue('wp-block-library-theme',
gutenbergFolder + '/styles/wp-block-library/theme.min.css',
[]);
depsStyles.enqueue('wp-edit-blocks',
gutenbergFolder + '/styles/wp-block-library/editor.min.css',
['wp-components', 'wp-editor', 'wp-block-library', 'wp-block-library-theme']);
for (const style in gutenbergStyles) {
const name = `wp-${style}`;
depsStyles.enqueue(name,
gutenbergFolder + '/styles/' + name + '/style.min.css',
gutenbergStyles[style]);
}
// console.log(depsScripts.getPaths());
return {
scripts: depsScripts.getPaths(),
styles: depsStyles.getPaths(),
};
};
================================================
FILE: config/gutenberg/scripts.json
================================================
{"a11y.js":{"dependencies":["wp-dom-ready","wp-i18n","wp-polyfill"],"version":"ea68781de7874fd1881fcecad3cf7aae"},"annotations.js":{"dependencies":["lodash","wp-data","wp-hooks","wp-i18n","wp-polyfill","wp-rich-text"],"version":"3c4abc48a6768f9a051a57d2e14a418a"},"api-fetch.js":{"dependencies":["wp-i18n","wp-polyfill","wp-url"],"version":"1ab98b16a2f2c9c50be5e27ed5fc555c"},"autop.js":{"dependencies":["wp-polyfill"],"version":"0b9bcc5c6fd3170df7c7181a802cbc16"},"blob.js":{"dependencies":["wp-polyfill"],"version":"5f0b4dd5b367c7c02cce65eb4fa12c72"},"block-directory.js":{"dependencies":["lodash","wp-block-editor","wp-blocks","wp-components","wp-compose","wp-data","wp-data-controls","wp-edit-post","wp-element","wp-i18n","wp-notices","wp-plugins","wp-polyfill","wp-primitives","wp-url"],"version":"2add38c5494040c7ab8906c7b1a38308"},"block-editor.js":{"dependencies":["lodash","react","wp-a11y","wp-blob","wp-blocks","wp-components","wp-compose","wp-data","wp-deprecated","wp-dom","wp-element","wp-hooks","wp-html-entities","wp-i18n","wp-is-shallow-equal","wp-keyboard-shortcuts","wp-keycodes","wp-notices","wp-polyfill","wp-primitives","wp-rich-text","wp-shortcode","wp-token-list","wp-url","wp-viewport","wp-wordcount"],"version":"3b3db5349cf13939fabf2938f45b46e7"},"block-library.js":{"dependencies":["lodash","moment","react","wp-api-fetch","wp-autop","wp-blob","wp-block-editor","wp-blocks","wp-components","wp-compose","wp-core-data","wp-data","wp-date","wp-deprecated","wp-element","wp-escape-html","wp-i18n","wp-keycodes","wp-notices","wp-polyfill","wp-primitives","wp-rich-text","wp-server-side-render","wp-url","wp-viewport"],"version":"028ea8791ca0514fed6876f5a2dd9708"},"block-serialization-default-parser.js":{"dependencies":["wp-polyfill"],"version":"3e44cb6ae058219e6ac366b8ec737266"},"blocks.js":{"dependencies":["lodash","wp-autop","wp-blob","wp-block-serialization-default-parser","wp-compose","wp-data","wp-dom","wp-element","wp-hooks","wp-html-entities","wp-i18n","wp-is-shallow-equal","wp-polyfill","wp-primitives","wp-shortcode"],"version":"dd9e45c10504c7aa13b5502738db5e25"},"components.js":{"dependencies":["lodash","moment","react","wp-a11y","wp-compose","wp-deprecated","wp-dom","wp-element","wp-hooks","wp-i18n","wp-is-shallow-equal","wp-keycodes","wp-polyfill","wp-primitives","wp-rich-text","wp-warning"],"version":"4e70d36b413faa6cb4868dd710f9fc74"},"compose.js":{"dependencies":["lodash","react","wp-element","wp-is-shallow-equal","wp-polyfill","wp-priority-queue"],"version":"3c567f3573f87869b12a660ea2dbd08f"},"core-data.js":{"dependencies":["lodash","wp-api-fetch","wp-blocks","wp-data","wp-data-controls","wp-deprecated","wp-element","wp-i18n","wp-is-shallow-equal","wp-polyfill","wp-url"],"version":"32c30471858359a206e1d97f0307536f"},"data.js":{"dependencies":["lodash","react","wp-compose","wp-deprecated","wp-element","wp-is-shallow-equal","wp-polyfill","wp-priority-queue","wp-redux-routine"],"version":"9ad3e1bf6bd127718d32ceab7088da98"},"data-controls.js":{"dependencies":["wp-api-fetch","wp-data","wp-polyfill"],"version":"a5b2dfa138f7af7d012e98a93ad5894b"},"date.js":{"dependencies":["moment","wp-polyfill"],"version":"d49d104186028982f7565cd44ec1e533"},"deprecated.js":{"dependencies":["wp-hooks","wp-polyfill"],"version":"9852e99a621527ba8bddd61a6724fa9b"},"dom.js":{"dependencies":["lodash","wp-polyfill"],"version":"3ad0f41518dc0785a5819e281d7a71ed"},"dom-ready.js":{"dependencies":["wp-polyfill"],"version":"36f50e6359d5b602a4986a4d4bbd7d00"},"edit-post.js":{"dependencies":["lodash","wp-a11y","wp-api-fetch","wp-block-editor","wp-block-library","wp-blocks","wp-components","wp-compose","wp-core-data","wp-data","wp-data-controls","wp-editor","wp-element","wp-hooks","wp-i18n","wp-keyboard-shortcuts","wp-keycodes","wp-media-utils","wp-notices","wp-plugins","wp-polyfill","wp-primitives","wp-url","wp-viewport","wp-warning"],"version":"0647dd5906e3ddb0855378f6e5e02075"},"editor.js":{"dependencies":["lodash","react","wp-api-fetch","wp-autop","wp-block-editor","wp-blocks","wp-components","wp-compose","wp-core-data","wp-data","wp-data-controls","wp-date","wp-deprecated","wp-element","wp-hooks","wp-html-entities","wp-i18n","wp-keyboard-shortcuts","wp-keycodes","wp-media-utils","wp-notices","wp-polyfill","wp-primitives","wp-rich-text","wp-server-side-render","wp-url","wp-viewport","wp-wordcount"],"version":"c07c6f4b6b71b9c4818e864a38611859"},"element.js":{"dependencies":["lodash","react","react-dom","wp-escape-html","wp-polyfill"],"version":"0ebf17c099194d55615b187d07be0f8e"},"escape-html.js":{"dependencies":["wp-polyfill"],"version":"670c5fa5c09d8ba475458050b3249f56"},"format-library.js":{"dependencies":["lodash","wp-block-editor","wp-components","wp-data","wp-dom","wp-element","wp-html-entities","wp-i18n","wp-keycodes","wp-polyfill","wp-primitives","wp-rich-text","wp-url"],"version":"68526794793f271ac0e447634cd6d016"},"hooks.js":{"dependencies":["wp-polyfill"],"version":"03e6cc8161586dfafae570e7459f517f"},"html-entities.js":{"dependencies":["wp-polyfill"],"version":"c2fee572c38a50f71d231d83bf66b7bf"},"i18n.js":{"dependencies":["wp-polyfill"],"version":"f8838da0979eefc32b5a4f934a5cab34"},"is-shallow-equal.js":{"dependencies":["wp-polyfill"],"version":"78161a3fee0727a7bcf127e5c9bedee7"},"keyboard-shortcuts.js":{"dependencies":["lodash","wp-compose","wp-data","wp-keycodes","wp-polyfill"],"version":"728358f63637d5c2f9021e559b8163df"},"keycodes.js":{"dependencies":["lodash","wp-i18n","wp-polyfill"],"version":"f9c00cfc4cad77690eed675cb22e0d56"},"list-reusable-blocks.js":{"dependencies":["lodash","wp-api-fetch","wp-components","wp-compose","wp-element","wp-i18n","wp-polyfill"],"version":"adaacba8f57351bcfb37ef79141031a8"},"media-utils.js":{"dependencies":["lodash","wp-api-fetch","wp-blob","wp-element","wp-i18n","wp-polyfill"],"version":"56888007855cb6035fa604d1c39af13d"},"notices.js":{"dependencies":["lodash","wp-data","wp-polyfill"],"version":"8db5de9b94072cb05f98f2c82aabdf03"},"nux.js":{"dependencies":["lodash","wp-components","wp-compose","wp-data","wp-deprecated","wp-element","wp-i18n","wp-polyfill","wp-primitives"],"version":"cdfc8e4d94046b2d7cb00ef4ecbba6d1"},"plugins.js":{"dependencies":["lodash","wp-compose","wp-element","wp-hooks","wp-polyfill","wp-primitives"],"version":"5e244a04b2f234db29db0be334336c1a"},"primitives.js":{"dependencies":["wp-element","wp-polyfill"],"version":"da0f2f0cb5791721339eb9f957901443"},"priority-queue.js":{"dependencies":["wp-polyfill"],"version":"ee1e102398b6aaeb52682abcc0eb1260"},"redux-routine.js":{"dependencies":["lodash","wp-polyfill"],"version":"c3af5fcf3e23d4dde8c430d96ca459c8"},"rich-text.js":{"dependencies":["lodash","wp-data","wp-deprecated","wp-element","wp-escape-html","wp-keycodes","wp-polyfill"],"version":"7fe726f068a2c7ef6349f966e014b277"},"server-side-render.js":{"dependencies":["lodash","wp-api-fetch","wp-components","wp-data","wp-deprecated","wp-element","wp-i18n","wp-polyfill","wp-url"],"version":"0058192b49150099bed73095ae1f7011"},"shortcode.js":{"dependencies":["lodash","wp-polyfill"],"version":"faae0a5043df779ab3bd0a9c76095bcc"},"token-list.js":{"dependencies":["lodash","wp-polyfill"],"version":"4fb88e495cc63c15ab2950abab1401d1"},"url.js":{"dependencies":["lodash","wp-polyfill"],"version":"32835b70748f3f5c7595c014e7e2668c"},"viewport.js":{"dependencies":["lodash","wp-compose","wp-data","wp-element","wp-polyfill"],"version":"addc91768f8d730f76366abc5b869053"},"warning.js":{"dependencies":["wp-polyfill"],"version":"4de480885c1f737284e19922dcee677b"},"wordcount.js":{"dependencies":["lodash","wp-polyfill"],"version":"1b5659d14dfec85f62c73f5f63311edf"}}
================================================
FILE: config/gutenberg/styles.json
================================================
{
"block-editor": [ "wp-components", "wp-editor-font" ],
"block-library": [],
"components": [],
"edit-post": [ "wp-components", "wp-block-editor", "wp-editor",
"wp-edit-blocks", "wp-block-library", "wp-nux" ],
"editor": [ "wp-components", "wp-block-editor", "wp-nux" ],
"format-library": [],
"list-reusable-blocks": [ "wp-components" ],
"nux": [ "wp-components" ]
}
================================================
FILE: config/gutenberg/update.sh
================================================
read -p 'WordPress tag (enter): ' tag_name
# Go to tmp folder
[[ -d tmp ]] || mkdir tmp
cd tmp
# Get wordpress
[[ -d WordPress ]] ||git clone git@github.com:WordPress/WordPress.git
cd WordPress
git fetch
if test "$tag_name" != ''; then
git checkout -b $tag_name tags/$tag_name
else
git checkout master
git pull
fi
# Back to root
cd ../..
# Clean up
rm -rf public/vendor/gutenberg/
mkdir public/vendor/gutenberg/
# Generating scripts.json with gutenberg js packages and dependencies
node scripts/g-scripts.js
# Copy gutenberg packages js
cp tmp/WordPress/wp-includes/js/dist/* public/vendor/gutenberg/
# Add packages prefixes (ex: ally.js => wp-a11y.js)
cd public/vendor/gutenberg/
for f in * ; do mv -- "$f" "wp-$f" ; done
cd -
# Copy vendor (lodash, react, etc)
cp -Rf tmp/WordPress/wp-includes/js/dist/vendor/ public/vendor/gutenberg/vendor
# Copy packages css
cp -Rf tmp/WordPress/wp-includes/css/dist/ public/vendor/gutenberg/styles/
# Add packages prefixes (ex: wp-block-editor)
cd public/vendor/gutenberg/styles
for f in * ; do mv -- "$f" "wp-$f" ; done
================================================
FILE: config/gutenberg/vendor.json
================================================
{
"react": ["wp-polyfill"],
"react-dom": ["react"],
"moment": [],
"lodash": [],
"wp-polyfill-fetch": [],
"wp-polyfill-formdata": [],
"wp-polyfill-node-contains": [],
"wp-polyfill-url": [],
"wp-polyfill-dom-rect": [],
"wp-polyfill-element-closest": [],
"wp-polyfill": []
}
================================================
FILE: config/jest/cssTransform.js
================================================
'use strict';
// This is a custom Jest transformer turning style imports into empty objects.
// http://facebook.github.io/jest/docs/en/webpack.html
module.exports = {
process() {
return 'module.exports = {};';
},
getCacheKey() {
// The output is always the same.
return 'cssTransform';
},
};
================================================
FILE: config/jest/fileTransform.js
================================================
'use strict';
const path = require('path');
// This is a custom Jest transformer turning file imports into filenames.
// http://facebook.github.io/jest/docs/en/webpack.html
module.exports = {
process(src, filename) {
const assetFilename = JSON.stringify(path.basename(filename));
if (filename.match(/\.svg$/)) {
return `module.exports = {
__esModule: true,
default: ${assetFilename},
ReactComponent: (props) => ({
$$typeof: Symbol.for('react.element'),
type: 'svg',
ref: null,
key: null,
props: Object.assign({}, props, {
children: ${assetFilename}
})
}),
};`;
}
return `module.exports = ${assetFilename};`;
},
};
================================================
FILE: config/paths.js
================================================
'use strict';
const path = require('path');
const fs = require('fs');
const url = require('url');
// Make sure any symlinks in the project folder are resolved:
// https://github.com/facebook/create-react-app/issues/637
const appDirectory = fs.realpathSync(process.cwd());
const resolveApp = relativePath => path.resolve(appDirectory, relativePath);
const envPublicUrl = process.env.PUBLIC_URL;
const envBuildUrl = process.env.BUILD_DIR;
function ensureSlash(inputPath, needsSlash) {
const hasSlash = inputPath.endsWith('/');
if (hasSlash && !needsSlash) {
return inputPath.substr(0, inputPath.length - 1);
} else if (!hasSlash && needsSlash) {
return `${inputPath}/`;
} else {
return inputPath;
}
}
const getPublicUrl = () => envPublicUrl || '/';
// We use `PUBLIC_URL` environment variable or "homepage" field to infer
// "public path" at which the app is served.
// Webpack needs to know it to put the right <script> hrefs into HTML even in
// single-page apps that may serve index.html for nested URLs like /todos/42.
// We can't use a relative path in HTML because we don't want to load something
// like /todos/42/static/js/bundle.7289d.js. We have to know the root.
function getServedPath () {
const publicUrl = getPublicUrl();
const servedUrl = url.parse(publicUrl).pathname;
return ensureSlash(servedUrl, true);
}
// config after eject: we're in ./config/
module.exports = {
dotenv: resolveApp('.env'),
appPath: resolveApp('.'),
appBuild: envBuildUrl || resolveApp('build'),
appPublic: resolveApp('public'),
appHtml: resolveApp('public/index.html'),
appIndexJs: resolveApp('src/index.js'),
appPackageJson: resolveApp('package.json'),
appSrc: resolveApp('src'),
yarnLockFile: resolveApp('yarn.lock'),
testsSetup: resolveApp('src/setupTests.js'),
proxySetup: resolveApp('src/setupProxy.js'),
appNodeModules: resolveApp('node_modules'),
publicUrl: getPublicUrl(),
servedPath: getServedPath(),
};
================================================
FILE: config/webpack.config.dev.js
================================================
'use strict';
const path = require('path');
const webpack = require('webpack');
const PnpWebpackPlugin = require('pnp-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin');
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
const getCSSModuleLocalIdent = require('react-dev-utils/getCSSModuleLocalIdent');
const getClientEnvironment = require('./env');
const paths = require('./paths');
const ManifestPlugin = require('webpack-manifest-plugin');
const ModuleNotFoundPlugin = require('react-dev-utils/ModuleNotFoundPlugin');
const fs = require('fs');
// Block Script and Style
const blockVars = require('./block-vars')();
// Read from local files
const gutenberg = {
gutenbergScripts: fs.readFileSync("./g-scripts.txt"),
gutenbergStyle: fs.readFileSync("./g-styles.txt")
}
// Webpack uses `publicPath` to determine where the app is being served from.
// In development, we always serve from the root. This makes config easier.
const publicPath = '/';
// `publicUrl` is just like `publicPath`, but we will provide it to our app
// as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript.
// Omit trailing slash as %PUBLIC_PATH%/xyz looks better than %PUBLIC_PATH%xyz.
const publicUrl = '';
// Get environment variables to inject into our app.
const env = getClientEnvironment(publicUrl);
// style files regexes
const cssRegex = /\.css$/;
const cssModuleRegex = /\.module\.css$/;
const sassRegex = /\.(scss|sass)$/;
const sassModuleRegex = /\.module\.(scss|sass)$/;
// common function to get style loaders
const getStyleLoaders = (cssOptions, preProcessor) => {
const loaders = [
require.resolve('style-loader'),
{
loader: require.resolve('css-loader'),
options: cssOptions,
},
{
// Options for PostCSS as we reference these options twice
// Adds vendor prefixing based on your specified browser support in
// package.json
loader: require.resolve('postcss-loader'),
options: {
// Necessary for external CSS imports to work
// https://github.com/facebook/create-react-app/issues/2677
ident: 'postcss',
plugins: () => [
require('postcss-flexbugs-fixes'),
require('postcss-preset-env')({
autoprefixer: {
flexbox: 'no-2009',
},
stage: 3,
}),
],
},
},
];
if (preProcessor) {
loaders.push(require.resolve(preProcessor));
}
return loaders;
};
// This is the development configuration.
// It is focused on developer experience and fast rebuilds.
// The production configuration is different and lives in a separate file.
module.exports = {
mode: 'development',
// You may want 'eval' instead if you prefer to see the compiled output in DevTools.
// See the discussion in https://github.com/facebook/create-react-app/issues/343
devtool: 'cheap-module-source-map',
// These are the "entry points" to our application.
// This means they will be the "root" imports that are included in JS bundle.
entry: [
// Include an alternative client for WebpackDevServer. A client's job is to
// connect to WebpackDevServer by a socket and get notified about changes.
// When you save a file, the client will either apply hot updates (in case
// of CSS changes), or refresh the page (in case of JS changes). When you
// make a syntax error, this client will display a syntax error overlay.
// Note: instead of the default WebpackDevServer client, we use a custom one
// to bring better experience for Create React App users. You can replace
// the line below with these two lines if you prefer the stock client:
// require.resolve('webpack-dev-server/client') + '?/',
// require.resolve('webpack/hot/dev-server'),
require.resolve('react-dev-utils/webpackHotDevClient'),
// Finally, this is your app's code:
paths.appIndexJs,
// We include the app code last so that if there is a runtime error during
// initialization, it doesn't blow up the WebpackDevServer client, and
// changing JS code would still trigger a refresh.
// "/Users/sofiasousa/Workspace/g-hero-section/build/index.js",
], // .concat(entries),
output: {
// Add /* filename */ comments to generated require()s in the output.
pathinfo: true,
// This does not produce a real file. It's just the virtual path that is
// served by WebpackDevServer in development. This is the JS bundle
// containing code from all our entry points, and the Webpack runtime.
filename: 'static/js/bundle.js',
// There are also additional JS chunk files if you use code splitting.
chunkFilename: 'static/js/[name].chunk.js',
// This is the URL that app is served from. We use "/" in development.
publicPath: publicPath,
// Point sourcemap entries to original disk location (format as URL on Windows)
devtoolModuleFilenameTemplate: info =>
path.resolve(info.absoluteResourcePath).replace(/\\/g, '/'),
},
optimization: {
// Automatically split vendor and commons
// https://twitter.com/wSokra/status/969633336732905474
// https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
splitChunks: {
chunks: 'all',
name: false,
},
// Keep the runtime chunk seperated to enable long term caching
// https://twitter.com/wSokra/status/969679223278505985
runtimeChunk: true,
},
externals: {
lodash: 'lodash',
moment: 'moment',
react: 'React',
'react-dom': 'ReactDOM',
},
resolve: {
// This allows you to set a fallback for where Webpack should look for modules.
// We placed these paths second because we want `node_modules` to "win"
// if there are any conflicts. This matches Node resolution mechanism.
// https://github.com/facebook/create-react-app/issues/253
modules: ['node_modules'].concat(
// It is guaranteed to exist because we tweak it in `env.js`
process.env.NODE_PATH.split(path.delimiter).filter(Boolean)
),
// These are the reasonable defaults supported by the Node ecosystem.
// We also include JSX as a common component filename extension to support
// some tools, although we do not recommend using it, see:
// https://github.com/facebook/create-react-app/issues/290
// `web` extension prefixes have been added for better support
// for React Native Web.
extensions: ['.mjs', '.web.js', '.js', '.json', '.web.jsx', '.jsx'],
alias: {
// Support React Native Web
// https://www.smashingmagazine.com/2016/08/a-glimpse-into-the-future-with-react-native-for-web/
'react-native': 'react-native-web',
},
plugins: [
// Adds support for installing with Plug'n'Play, leading to faster installs and adding
// guards against forgotten dependencies and such.
PnpWebpackPlugin,
// Prevents users from importing files from outside of src/ (or node_modules/).
// This often causes confusion because we only process files within src/ with babel.
// To fix this, we prevent you from importing files out of src/ -- if you'd like to,
// please link the files into your node_modules/ and let module-resolution kick in.
// Make sure your source files are compiled, as they will not be processed in any way.
new ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]),
],
},
resolveLoader: {
plugins: [
// Also related to Plug'n'Play, but this time it tells Webpack to load its loaders
// from the current package.
PnpWebpackPlugin.moduleLoader(module),
],
},
module: {
strictExportPresence: true,
rules: [
// Disable require.ensure as it's not a standard language feature.
{ parser: { requireEnsure: false } },
// First, run the linter.
// It's important to do this before Babel processes the JS.
{
test: /\.(js|mjs|jsx)$/,
enforce: 'pre',
use: [
{
options: {
formatter: require.resolve('react-dev-utils/eslintFormatter'),
eslintPath: require.resolve('eslint'),
},
loader: require.resolve('eslint-loader'),
},
],
include: paths.appSrc,
},
{
// "oneOf" will traverse all following loaders until one will
// match the requirements. When no loader matches it will fall
// back to the "file" loader at the end of the loader list.
oneOf: [
// "url" loader works like "file" loader except that it embeds assets
// smaller than specified limit in bytes as data URLs to avoid requests.
// A missing `test` is equivalent to a match.
{
test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/],
loader: require.resolve('url-loader'),
options: {
limit: 10000,
name: 'static/media/[name].[hash:8].[ext]',
},
},
// Process application JS with Babel.
// The preset includes JSX, Flow, and some ESnext features.
{
test: /\.(js|mjs|jsx)$/,
include: paths.appSrc,
loader: require.resolve('babel-loader'),
options: {
customize: require.resolve(
'babel-preset-react-app/webpack-overrides'
),
plugins: [
[
require.resolve('babel-plugin-named-asset-import'),
{
loaderMap: {
svg: {
ReactComponent: '@svgr/webpack?-prettier,-svgo![path]',
},
},
},
],
],
// This is a feature of `babel-loader` for webpack (not Babel itself).
// It enables caching results in ./node_modules/.cache/babel-loader/
// directory for faster rebuilds.
cacheDirectory: true,
// Don't waste time on Gzipping the cache
cacheCompression: false,
},
},
// Process any JS outside of the app with Babel.
// Unlike the application JS, we only compile the standard ES features.
{
test: /\.(js|mjs)$/,
exclude: /@babel(?:\/|\\{1,2})runtime/,
loader: require.resolve('babel-loader'),
options: {
babelrc: false,
configFile: false,
compact: false,
presets: [
[
require.resolve('babel-preset-react-app/dependencies'),
{ helpers: true },
],
],
cacheDirectory: true,
// Don't waste time on Gzipping the cache
cacheCompression: false,
// If an error happens in a package, it's possible to be
// because it was compiled. Thus, we don't want the browser
// debugger to show the original code. Instead, the code
// being evaluated would be much more helpful.
sourceMaps: false,
},
},
// "postcss" loader applies autoprefixer to our CSS.
// "css" loader resolves paths in CSS and adds assets as dependencies.
// "style" loader turns CSS into JS modules that inject <style> tags.
// In production, we use a plugin to extract that CSS to a file, but
// in development "style" loader enables hot editing of CSS.
// By default we support CSS Modules with the extension .module.css
{
test: cssRegex,
exclude: cssModuleRegex,
use: getStyleLoaders({
importLoaders: 1,
}),
},
// Adds support for CSS Modules (https://github.com/css-modules/css-modules)
// using the extension .module.css
{
test: cssModuleRegex,
use: getStyleLoaders({
importLoaders: 1,
modules: true,
getLocalIdent: getCSSModuleLocalIdent,
}),
},
// Opt-in support for SASS (using .scss or .sass extensions).
// Chains the sass-loader with the css-loader and the style-loader
// to immediately apply all styles to the DOM.
// By default we support SASS Modules with the
// extensions .module.scss or .module.sass
{
test: sassRegex,
exclude: sassModuleRegex,
use: getStyleLoaders({ importLoaders: 2 }, 'sass-loader'),
},
// Adds support for CSS Modules, but using SASS
// using the extension .module.scss or .module.sass
{
test: sassModuleRegex,
use: getStyleLoaders(
{
importLoaders: 2,
modules: true,
getLocalIdent: getCSSModuleLocalIdent,
},
'sass-loader'
),
},
// "file" loader makes sure those assets get served by WebpackDevServer.
// When you `import` an asset, you get its (virtual) filename.
// In production, they would get copied to the `build` folder.
// This loader doesn't use a "test" so it will catch all modules
// that fall through the other loaders.
{
// Exclude `js` files to keep "css" loader working as it injects
// its runtime that would otherwise be processed through "file" loader.
// Also exclude `html` and `json` extensions so they get processed
// by webpacks internal loaders.
exclude: [/\.(js|mjs|jsx)$/, /\.html$/, /\.json$/],
loader: require.resolve('file-loader'),
options: {
name: 'static/media/[name].[hash:8].[ext]',
},
},
],
},
// ** STOP ** Are you adding a new loader?
// Make sure to add the new loader(s) before the "file" loader.
],
},
plugins: [
// Generates an `index.html` file with the <script> injected.
new HtmlWebpackPlugin({
inject: true,
template: paths.appHtml,
...blockVars,
...gutenberg,
}),
// Makes some environment variables available in index.html.
// The public URL is available as %PUBLIC_URL% in index.html, e.g.:
// <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
// In development, this will be an empty string.
new InterpolateHtmlPlugin(HtmlWebpackPlugin, env.raw),
// This gives some necessary context to module not found errors, such as
// the requesting resource.
new ModuleNotFoundPlugin(paths.appPath),
// Makes some environment variables available to the JS code, for example:
// if (process.env.NODE_ENV === 'development') { ... }. See `./env.js`.
new webpack.DefinePlugin(env.stringified),
// This is necessary to emit hot updates (currently CSS only):
new webpack.HotModuleReplacementPlugin(),
// Watcher doesn't work well if you mistype casing in a path so we use
// a plugin that prints an error when you attempt to do this.
// See https://github.com/facebook/create-react-app/issues/240
new CaseSensitivePathsPlugin(),
// If you require a missing module and then `npm install` it, you still have
// to restart the development server for Webpack to discover it. This plugin
// makes the discovery automatic so you don't have to restart.
// See https://github.com/facebook/create-react-app/issues/186
new WatchMissingNodeModulesPlugin(paths.appNodeModules),
// Moment.js is an extremely popular library that bundles large locale files
// by default due to how Webpack interprets its code. This is a practical
// solution that requires the user to opt into importing specific locales.
// https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
// You can remove this if you don't use Moment.js:
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
// Generate a manifest file which contains a mapping of all asset filenames
// to their corresponding output file so that tools can pick it up without
// having to parse `index.html`.
new ManifestPlugin({
fileName: 'asset-manifest.json',
publicPath: publicPath,
}),
],
// Some libraries import Node modules but don't use them in the browser.
// Tell Webpack to provide empty mocks for them so importing them works.
node: {
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty',
},
// Turn off performance processing because we utilize
// our own hints via the FileSizeReporter
performance: false,
};
================================================
FILE: config/webpack.config.prod.js
================================================
'use strict';
const path = require('path');
const webpack = require('webpack');
const PnpWebpackPlugin = require('pnp-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const InlineChunkHtmlPlugin = require('react-dev-utils/InlineChunkHtmlPlugin');
const TerserPlugin = require('terser-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const safePostCssParser = require('postcss-safe-parser');
const ManifestPlugin = require('webpack-manifest-plugin');
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
const WorkboxWebpackPlugin = require('workbox-webpack-plugin');
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
const getCSSModuleLocalIdent = require('react-dev-utils/getCSSModuleLocalIdent');
const paths = require('./paths');
const getClientEnvironment = require('./env');
const ModuleNotFoundPlugin = require('react-dev-utils/ModuleNotFoundPlugin');
const fs = require('fs');
// Block Script and Style
const blockVars = require('./block-vars')();
// Read from local files
const gutenberg = {
gutenbergScripts: fs.readFileSync("./g-scripts.txt"),
gutenbergStyle: fs.readFileSync("./g-styles.txt")
}
// Webpack uses `publicPath` to determine where the app is being served from.
// It requires a trailing slash, or the file assets will get an incorrect path.
const publicPath = paths.servedPath;
// Some apps do not use client-side routing with pushState.
// For these, "homepage" can be set to "." to enable relative asset paths.
const shouldUseRelativeAssetPaths = publicPath === './';
// Source maps are resource heavy and can cause out of memory issue for large source files.
const shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== 'false';
// Some apps do not need the benefits of saving a web request, so not inlining the chunk
// makes for a smoother build process.
const shouldInlineRuntimeChunk = process.env.INLINE_RUNTIME_CHUNK !== 'false';
// `publicUrl` is just like `publicPath`, but we will provide it to our app
// as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript.
// Omit trailing slash as %PUBLIC_URL%/xyz looks better than %PUBLIC_URL%xyz.
const publicUrl = publicPath.slice(0, -1);
// Get environment variables to inject into our app.
const env = getClientEnvironment(publicUrl);
// Assert this just to be safe.
// Development builds of React are slow and not intended for production.
if (env.stringified['process.env'].NODE_ENV !== '"production"') {
throw new Error('Production builds must have NODE_ENV=production.');
}
// style files regexes
const cssRegex = /\.css$/;
const cssModuleRegex = /\.module\.css$/;
const sassRegex = /\.(scss|sass)$/;
const sassModuleRegex = /\.module\.(scss|sass)$/;
// common function to get style loaders
const getStyleLoaders = (cssOptions, preProcessor) => {
const loaders = [
{
loader: MiniCssExtractPlugin.loader,
options: Object.assign(
{},
shouldUseRelativeAssetPaths ? { publicPath: '../../' } : undefined
),
},
{
loader: require.resolve('css-loader'),
options: cssOptions,
},
{
// Options for PostCSS as we reference these options twice
// Adds vendor prefixing based on your specified browser support in
// package.json
loader: require.resolve('postcss-loader'),
options: {
// Necessary for external CSS imports to work
// https://github.com/facebook/create-react-app/issues/2677
ident: 'postcss',
plugins: () => [
require('postcss-flexbugs-fixes'),
require('postcss-preset-env')({
autoprefixer: {
flexbox: 'no-2009',
},
stage: 3,
}),
],
sourceMap: shouldUseSourceMap,
},
},
];
if (preProcessor) {
loaders.push({
loader: require.resolve(preProcessor),
options: {
sourceMap: shouldUseSourceMap,
},
});
}
return loaders;
};
// This is the production configuration.
// It compiles slowly and is focused on producing a fast and minimal bundle.
// The development configuration is different and lives in a separate file.
module.exports = {
mode: 'production',
// Don't attempt to continue if there are any errors.
bail: true,
// We generate sourcemaps in production. This is slow but gives good results.
// You can exclude the *.map files from the build during deployment.
devtool: shouldUseSourceMap ? 'source-map' : false,
// In production, we only want to load the app code.
entry: [paths.appIndexJs],
output: {
// The build folder.
path: paths.appBuild,
// Generated JS file names (with nested folders).
// There will be one main bundle, and one file per asynchronous chunk.
// We don't currently advertise code splitting but Webpack supports it.
filename: 'static/js/[name].[chunkhash:8].js',
chunkFilename: 'static/js/[name].[chunkhash:8].chunk.js',
// We inferred the "public path" (such as / or /my-project) from homepage.
publicPath: publicPath,
// Point sourcemap entries to original disk location (format as URL on Windows)
devtoolModuleFilenameTemplate: info =>
path
.relative(paths.appSrc, info.absoluteResourcePath)
.replace(/\\/g, '/'),
},
optimization: {
minimizer: [
new TerserPlugin({
terserOptions: {
parse: {
// we want terser to parse ecma 8 code. However, we don't want it
// to apply any minfication steps that turns valid ecma 5 code
// into invalid ecma 5 code. This is why the 'compress' and 'output'
// sections only apply transformations that are ecma 5 safe
// https://github.com/facebook/create-react-app/pull/4234
ecma: 8,
},
compress: false,
mangle: {
safari10: true,
},
output: {
ecma: 5,
comments: false,
// Turned on because emoji and regex is not minified properly using default
// https://github.com/facebook/create-react-app/issues/2488
ascii_only: true,
},
},
// Use multi-process parallel running to improve the build speed
// Default number of concurrent runs: os.cpus().length - 1
parallel: true,
// Enable file caching
cache: true,
sourceMap: shouldUseSourceMap,
}),
new OptimizeCSSAssetsPlugin({
cssProcessorOptions: {
parser: safePostCssParser,
map: shouldUseSourceMap
? {
// `inline: false` forces the sourcemap to be output into a
// separate file
inline: false,
// `annotation: true` appends the sourceMappingURL to the end of
// the css file, helping the browser find the sourcemap
annotation: true,
}
: false,
},
}),
],
// Automatically split vendor and commons
// https://twitter.com/wSokra/status/969633336732905474
// https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
splitChunks: {
chunks: 'all',
name: false,
},
// Keep the runtime chunk seperated to enable long term caching
// https://twitter.com/wSokra/status/969679223278505985
runtimeChunk: true,
},
externals: {
lodash: 'lodash',
moment: 'moment',
react: 'React',
'react-dom': 'ReactDOM',
},
resolve: {
// This allows you to set a fallback for where Webpack should look for modules.
// We placed these paths second because we want `node_modules` to "win"
// if there are any conflicts. This matches Node resolution mechanism.
// https://github.com/facebook/create-react-app/issues/253
modules: ['node_modules'].concat(
// It is guaranteed to exist because we tweak it in `env.js`
process.env.NODE_PATH.split(path.delimiter).filter(Boolean)
),
// These are the reasonable defaults supported by the Node ecosystem.
// We also include JSX as a common component filename extension to support
// some tools, although we do not recommend using it, see:
// https://github.com/facebook/create-react-app/issues/290
// `web` extension prefixes have been added for better support
// for React Native Web.
extensions: ['.mjs', '.web.js', '.js', '.json', '.web.jsx', '.jsx'],
alias: {
// Support React Native Web
// https://www.smashingmagazine.com/2016/08/a-glimpse-into-the-future-with-react-native-for-web/
'react-native': 'react-native-web',
},
plugins: [
// Adds support for installing with Plug'n'Play, leading to faster installs and adding
// guards against forgotten dependencies and such.
PnpWebpackPlugin,
// Prevents users from importing files from outside of src/ (or node_modules/).
// This often causes confusion because we only process files within src/ with babel.
// To fix this, we prevent you from importing files out of src/ -- if you'd like to,
// please link the files into your node_modules/ and let module-resolution kick in.
// Make sure your source files are compiled, as they will not be processed in any way.
new ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]),
],
},
resolveLoader: {
plugins: [
// Also related to Plug'n'Play, but this time it tells Webpack to load its loaders
// from the current package.
PnpWebpackPlugin.moduleLoader(module),
],
},
module: {
strictExportPresence: true,
rules: [
// Disable require.ensure as it's not a standard language feature.
{ parser: { requireEnsure: false } },
// First, run the linter.
// It's important to do this before Babel processes the JS.
{
test: /\.(js|mjs|jsx)$/,
enforce: 'pre',
use: [
{
options: {
formatter: require.resolve('react-dev-utils/eslintFormatter'),
eslintPath: require.resolve('eslint'),
},
loader: require.resolve('eslint-loader'),
},
],
include: paths.appSrc,
},
{
// "oneOf" will traverse all following loaders until one will
// match the requirements. When no loader matches it will fall
// back to the "file" loader at the end of the loader list.
oneOf: [
// "url" loader works just like "file" loader but it also embeds
// assets smaller than specified size as data URLs to avoid requests.
{
test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/],
loader: require.resolve('url-loader'),
options: {
limit: 10000,
name: 'static/media/[name].[hash:8].[ext]',
},
},
// Process application JS with Babel.
// The preset includes JSX, Flow, and some ESnext features.
{
test: /\.(js|mjs|jsx)$/,
include: paths.appSrc,
loader: require.resolve('babel-loader'),
options: {
customize: require.resolve(
'babel-preset-react-app/webpack-overrides'
),
plugins: [
[
require.resolve('babel-plugin-named-asset-import'),
{
loaderMap: {
svg: {
ReactComponent: '@svgr/webpack?-prettier,-svgo![path]',
},
},
},
],
],
cacheDirectory: true,
// Save disk space when time isn't as important
cacheCompression: true,
compact: true,
},
},
// Process any JS outside of the app with Babel.
// Unlike the application JS, we only compile the standard ES features.
{
test: /\.(js|mjs)$/,
exclude: /@babel(?:\/|\\{1,2})runtime/,
loader: require.resolve('babel-loader'),
options: {
babelrc: false,
configFile: false,
compact: false,
presets: [
[
require.resolve('babel-preset-react-app/dependencies'),
{ helpers: true },
],
],
cacheDirectory: true,
// Save disk space when time isn't as important
cacheCompression: true,
// If an error happens in a package, it's possible to be
// because it was compiled. Thus, we don't want the browser
// debugger to show the original code. Instead, the code
// being evaluated would be much more helpful.
sourceMaps: false,
},
},
// "postcss" loader applies autoprefixer to our CSS.
// "css" loader resolves paths in CSS and adds assets as dependencies.
// `MiniCSSExtractPlugin` extracts styles into CSS
// files. If you use code splitting, async bundles will have their own separate CSS chunk file.
// By default we support CSS Modules with the extension .module.css
{
test: cssRegex,
exclude: cssModuleRegex,
loader: getStyleLoaders({
importLoaders: 1,
sourceMap: shouldUseSourceMap,
}),
// Don't consider CSS imports dead code even if the
// containing package claims to have no side effects.
// Remove this when webpack adds a warning or an error for this.
// See https://github.com/webpack/webpack/issues/6571
sideEffects: true,
},
// Adds support for CSS Modules (https://github.com/css-modules/css-modules)
// using the extension .module.css
{
test: cssModuleRegex,
loader: getStyleLoaders({
importLoaders: 1,
sourceMap: shouldUseSourceMap,
modules: true,
getLocalIdent: getCSSModuleLocalIdent,
}),
},
// Opt-in support for SASS. The logic here is somewhat similar
// as in the CSS routine, except that "sass-loader" runs first
// to compile SASS files into CSS.
// By default we support SASS Modules with the
// extensions .module.scss or .module.sass
{
test: sassRegex,
exclude: sassModuleRegex,
loader: getStyleLoaders(
{
importLoaders: 2,
sourceMap: shouldUseSourceMap,
},
'sass-loader'
),
// Don't consider CSS imports dead code even if the
// containing package claims to have no side effects.
// Remove this when webpack adds a warning or an error for this.
// See https://github.com/webpack/webpack/issues/6571
sideEffects: true,
},
// Adds support for CSS Modules, but using SASS
// using the extension .module.scss or .module.sass
{
test: sassModuleRegex,
loader: getStyleLoaders(
{
importLoaders: 2,
sourceMap: shouldUseSourceMap,
modules: true,
getLocalIdent: getCSSModuleLocalIdent,
},
'sass-loader'
),
},
// "file" loader makes sure assets end up in the `build` folder.
// When you `import` an asset, you get its filename.
// This loader doesn't use a "test" so it will catch all modules
// that fall through the other loaders.
{
loader: require.resolve('file-loader'),
// Exclude `js` files to keep "css" loader working as it injects
// it's runtime that would otherwise be processed through "file" loader.
// Also exclude `html` and `json` extensions so they get processed
// by webpacks internal loaders.
exclude: [/\.(js|mjs|jsx)$/, /\.html$/, /\.json$/],
options: {
name: 'static/media/[name].[hash:8].[ext]',
},
},
// ** STOP ** Are you adding a new loader?
// Make sure to add the new loader(s) before the "file" loader.
],
},
],
},
plugins: [
// Generates an `index.html` file with the <script> injected.
new HtmlWebpackPlugin({
inject: true,
template: paths.appHtml,
...blockVars,
...gutenberg,
minify: {
removeComments: true,
collapseWhitespace: true,
removeRedundantAttributes: true,
useShortDoctype: true,
removeEmptyAttributes: true,
removeStyleLinkTypeAttributes: true,
keepClosingSlash: true,
minifyJS: true,
minifyCSS: true,
minifyURLs: true,
},
}),
// Inlines the webpack runtime script. This script is too small to warrant
// a network request.
shouldInlineRuntimeChunk && new InlineChunkHtmlPlugin(HtmlWebpackPlugin, [/runtime~.+[.]js/]),
// Makes some environment variables available in index.html.
// The public URL is available as %PUBLIC_URL% in index.html, e.g.:
// <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
// In production, it will be an empty string unless you specify "homepage"
// in `package.json`, in which case it will be the pathname of that URL.
new InterpolateHtmlPlugin(HtmlWebpackPlugin, env.raw),
// This gives some necessary context to module not found errors, such as
// the requesting resource.
new ModuleNotFoundPlugin(paths.appPath),
// Makes some environment variables available to the JS code, for example:
// if (process.env.NODE_ENV === 'production') { ... }. See `./env.js`.
// It is absolutely essential that NODE_ENV was set to production here.
// Otherwise React will be compiled in the very slow development mode.
new webpack.DefinePlugin(env.stringified),
new MiniCssExtractPlugin({
// Options similar to the same options in webpackOptions.output
// both options are optional
filename: 'static/css/[name].[contenthash:8].css',
chunkFilename: 'static/css/[name].[contenthash:8].chunk.css',
}),
// Generate a manifest file which contains a mapping of all asset filenames
// to their corresponding output file so that tools can pick it up without
// having to parse `index.html`.
new ManifestPlugin({
fileName: 'asset-manifest.json',
publicPath: publicPath,
}),
// Moment.js is an extremely popular library that bundles large locale files
// by default due to how Webpack interprets its code. This is a practical
// solution that requires the user to opt into importing specific locales.
// https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
// You can remove this if you don't use Moment.js:
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
// Generate a service worker script that will precache, and keep up to date,
// the HTML & assets that are part of the Webpack build.
new WorkboxWebpackPlugin.GenerateSW({
clientsClaim: true,
exclude: [/\.map$/, /asset-manifest\.json$/],
importWorkboxFrom: 'cdn',
navigateFallback: publicUrl + '/index.html',
navigateFallbackBlacklist: [
// Exclude URLs starting with /_, as they're likely an API call
new RegExp('^/_'),
// Exclude URLs containing a dot, as they're likely a resource in
// public/ and not a SPA route
new RegExp('/[^/]+\\.[^/]+$'),
],
}),
].filter(Boolean),
// Some libraries import Node modules but don't use them in the browser.
// Tell Webpack to provide empty mocks for them so importing them works.
node: {
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty',
},
// Turn off performance processing because we utilize
// our own hints via the FileSizeReporter
performance: false,
};
================================================
FILE: config/webpackDevServer.config.js
================================================
'use strict';
const errorOverlayMiddleware = require('react-dev-utils/errorOverlayMiddleware');
const evalSourceMapMiddleware = require('react-dev-utils/evalSourceMapMiddleware');
const noopServiceWorkerMiddleware = require('react-dev-utils/noopServiceWorkerMiddleware');
const ignoredFiles = require('react-dev-utils/ignoredFiles');
const config = require('./webpack.config.dev');
const paths = require('./paths');
const fs = require('fs');
const protocol = process.env.HTTPS === 'true' ? 'https' : 'http';
const host = process.env.HOST || '0.0.0.0';
module.exports = function(proxy, allowedHost) {
return {
// WebpackDevServer 2.4.3 introduced a security fix that prevents remote
// websites from potentially accessing local content through DNS rebinding:
// https://github.com/webpack/webpack-dev-server/issues/887
// https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a
// However, it made several existing use cases such as development in cloud
// environment or subdomains in development significantly more complicated:
// https://github.com/facebook/create-react-app/issues/2271
// https://github.com/facebook/create-react-app/issues/2233
// While we're investigating better solutions, for now we will take a
// compromise. Since our WDS configuration only serves files in the `public`
// folder we won't consider accessing them a vulnerability. However, if you
// use the `proxy` feature, it gets more dangerous because it can expose
// remote code execution vulnerabilities in backends like Django and Rails.
// So we will disable the host check normally, but enable it if you have
// specified the `proxy` setting. Finally, we let you override it if you
// really know what you're doing with a special environment variable.
disableHostCheck:
!proxy || process.env.DANGEROUSLY_DISABLE_HOST_CHECK === 'true',
// Enable gzip compression of generated files.
compress: true,
// Silence WebpackDevServer's own logs since they're generally not useful.
// It will still show compile warnings and errors with this setting.
clientLogLevel: 'none',
// By default WebpackDevServer serves physical files from current directory
// in addition to all the virtual build products that it serves from memory.
// This is confusing because those files won’t automatically be available in
// production build folder unless we copy them. However, copying the whole
// project directory is dangerous because we may expose sensitive files.
// Instead, we establish a convention that only files in `public` directory
// get served. Our build script will copy `public` into the `build` folder.
// In `index.html`, you can get URL of `public` folder with %PUBLIC_URL%:
// <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
// In JavaScript code, you can access it with `process.env.PUBLIC_URL`.
// Note that we only recommend to use `public` folder as an escape hatch
// for files like `favicon.ico`, `manifest.json`, and libraries that are
// for some reason broken when imported through Webpack. If you just want to
// use an image, put it in `src` and `import` it from JavaScript instead.
contentBase: paths.appPublic,
// By default files from `contentBase` will not trigger a page reload.
watchContentBase: true,
// Enable hot reloading server. It will provide /sockjs-node/ endpoint
// for the WebpackDevServer client so it can learn when the files were
// updated. The WebpackDevServer client is included as an entry point
// in the Webpack development configuration. Note that only changes
// to CSS are currently hot reloaded. JS changes will refresh the browser.
hot: true,
// It is important to tell WebpackDevServer to use the same "root" path
// as we specified in the config. In development, we always serve from /.
publicPath: config.output.publicPath,
// WebpackDevServer is noisy by default so we emit custom message instead
// by listening to the compiler events with `compiler.hooks[...].tap` calls above.
quiet: true,
// Reportedly, this avoids CPU overload on some systems.
// https://github.com/facebook/create-react-app/issues/293
// src/node_modules is not ignored to support absolute imports
// https://github.com/facebook/create-react-app/issues/1065
watchOptions: {
ignored: ignoredFiles(paths.appSrc),
},
// Enable HTTPS if the HTTPS environment variable is set to 'true'
https: protocol === 'https',
host,
overlay: false,
historyApiFallback: {
// Paths with dots should still use the history fallback.
// See https://github.com/facebook/create-react-app/issues/387.
disableDotRule: true,
},
public: allowedHost,
proxy,
before(app, server) {
if (fs.existsSync(paths.proxySetup)) {
// This registers user provided middleware for proxy reasons
require(paths.proxySetup)(app);
}
// This lets us fetch source contents from webpack for the error overlay
app.use(evalSourceMapMiddleware(server));
// This lets us open files from the runtime error overlay.
app.use(errorOverlayMiddleware());
// This service worker file is effectively a 'no-op' that will reset any
// previous service worker registered for the same host:port combination.
// We do this in development to avoid hitting the production cache if
// it used the same host and port.
// https://github.com/facebook/create-react-app/issues/2272#issuecomment-302832432
app.use(noopServiceWorkerMiddleware());
},
};
};
================================================
FILE: g-scripts.txt
================================================
<script id="wp-polyfill" src="/vendor/gutenberg/vendor/wp-polyfill.min.js"></script><script id="react" src="/vendor/gutenberg/vendor/react.min.js"></script><script id="react-dom" src="/vendor/gutenberg/vendor/react-dom.min.js"></script><script id="moment" src="/vendor/gutenberg/vendor/moment.min.js"></script><script id="lodash" src="/vendor/gutenberg/vendor/lodash.min.js"></script><script id="wp-polyfill-fetch" src="/vendor/gutenberg/vendor/wp-polyfill-fetch.min.js"></script><script id="wp-polyfill-formdata" src="/vendor/gutenberg/vendor/wp-polyfill-formdata.min.js"></script><script id="wp-polyfill-node-contains" src="/vendor/gutenberg/vendor/wp-polyfill-node-contains.min.js"></script><script id="wp-polyfill-url" src="/vendor/gutenberg/vendor/wp-polyfill-url.min.js"></script><script id="wp-polyfill-dom-rect" src="/vendor/gutenberg/vendor/wp-polyfill-dom-rect.min.js"></script><script id="wp-polyfill-element-closest" src="/vendor/gutenberg/vendor/wp-polyfill-element-closest.min.js"></script><script id="no-conflict" src="/vendor/no-conflict.js"></script><script id="wp-escape-html" src="/vendor/gutenberg/wp-escape-html.min.js"></script><script id="wp-element" src="/vendor/gutenberg/wp-element.min.js"></script><script id="wp-is-shallow-equal" src="/vendor/gutenberg/wp-is-shallow-equal.min.js"></script><script id="wp-priority-queue" src="/vendor/gutenberg/wp-priority-queue.min.js"></script><script id="wp-compose" src="/vendor/gutenberg/wp-compose.min.js"></script><script id="wp-hooks" src="/vendor/gutenberg/wp-hooks.min.js"></script><script id="wp-deprecated" src="/vendor/gutenberg/wp-deprecated.min.js"></script><script id="wp-redux-routine" src="/vendor/gutenberg/wp-redux-routine.min.js"></script><script id="wp-data" src="/vendor/gutenberg/wp-data.min.js"></script><script id="g-data" src="/vendor/g-data.js"></script><script id="wp-dom-ready" src="/vendor/gutenberg/wp-dom-ready.min.js"></script><script id="wp-i18n" src="/vendor/gutenberg/wp-i18n.min.js"></script><script id="wp-a11y" src="/vendor/gutenberg/wp-a11y.min.js"></script><script id="wp-keycodes" src="/vendor/gutenberg/wp-keycodes.min.js"></script><script id="wp-rich-text" src="/vendor/gutenberg/wp-rich-text.min.js"></script><script id="wp-annotations" src="/vendor/gutenberg/wp-annotations.min.js"></script><script id="wp-url" src="/vendor/gutenberg/wp-url.min.js"></script><script id="wp-api-fetch" src="/vendor/gutenberg/wp-api-fetch.min.js"></script><script id="wp-autop" src="/vendor/gutenberg/wp-autop.min.js"></script><script id="wp-blob" src="/vendor/gutenberg/wp-blob.min.js"></script><script id="wp-block-serialization-default-parser" src="/vendor/gutenberg/wp-block-serialization-default-parser.min.js"></script><script id="wp-dom" src="/vendor/gutenberg/wp-dom.min.js"></script><script id="wp-html-entities" src="/vendor/gutenberg/wp-html-entities.min.js"></script><script id="wp-primitives" src="/vendor/gutenberg/wp-primitives.min.js"></script><script id="wp-shortcode" src="/vendor/gutenberg/wp-shortcode.min.js"></script><script id="wp-blocks" src="/vendor/gutenberg/wp-blocks.min.js"></script><script id="wp-warning" src="/vendor/gutenberg/wp-warning.min.js"></script><script id="wp-components" src="/vendor/gutenberg/wp-components.min.js"></script><script id="wp-keyboard-shortcuts" src="/vendor/gutenberg/wp-keyboard-shortcuts.min.js"></script><script id="wp-notices" src="/vendor/gutenberg/wp-notices.min.js"></script><script id="wp-token-list" src="/vendor/gutenberg/wp-token-list.min.js"></script><script id="wp-viewport" src="/vendor/gutenberg/wp-viewport.min.js"></script><script id="wp-wordcount" src="/vendor/gutenberg/wp-wordcount.min.js"></script><script id="wp-block-editor" src="/vendor/gutenberg/wp-block-editor.min.js"></script><script id="wp-data-controls" src="/vendor/gutenberg/wp-data-controls.min.js"></script><script id="wp-core-data" src="/vendor/gutenberg/wp-core-data.min.js"></script><script id="wp-date" src="/vendor/gutenberg/wp-date.min.js"></script><script id="wp-server-side-render" src="/vendor/gutenberg/wp-server-side-render.min.js"></script><script id="wp-block-library" src="/vendor/gutenberg/wp-block-library.min.js"></script><script id="wp-media-utils" src="/vendor/gutenberg/wp-media-utils.min.js"></script><script id="wp-editor" src="/vendor/gutenberg/wp-editor.min.js"></script><script id="wp-plugins" src="/vendor/gutenberg/wp-plugins.min.js"></script><script id="wp-edit-post" src="/vendor/gutenberg/wp-edit-post.min.js"></script><script id="wp-block-directory" src="/vendor/gutenberg/wp-block-directory.min.js"></script><script id="wp-format-library" src="/vendor/gutenberg/wp-format-library.min.js"></script><script id="wp-list-reusable-blocks" src="/vendor/gutenberg/wp-list-reusable-blocks.min.js"></script><script id="wp-nux" src="/vendor/gutenberg/wp-nux.min.js"></script>
================================================
FILE: g-styles.txt
================================================
<link rel="stylesheet" id="wp-block-library-theme" href="/vendor/gutenberg/styles/wp-block-library/theme.min.css"></link><link rel="stylesheet" id="wp-components" href="/vendor/gutenberg/styles/wp-components/style.min.css"></link><link rel="stylesheet" id="wp-block-editor" href="/vendor/gutenberg/styles/wp-block-editor/style.min.css"></link><link rel="stylesheet" id="wp-nux" href="/vendor/gutenberg/styles/wp-nux/style.min.css"></link><link rel="stylesheet" id="wp-editor" href="/vendor/gutenberg/styles/wp-editor/style.min.css"></link><link rel="stylesheet" id="wp-block-library" href="/vendor/gutenberg/styles/wp-block-library/style.min.css"></link><link rel="stylesheet" id="wp-edit-blocks" href="/vendor/gutenberg/styles/wp-block-library/editor.min.css"></link><link rel="stylesheet" id="wp-edit-post" href="/vendor/gutenberg/styles/wp-edit-post/style.min.css"></link><link rel="stylesheet" id="wp-format-library" href="/vendor/gutenberg/styles/wp-format-library/style.min.css"></link><link rel="stylesheet" id="wp-list-reusable-blocks" href="/vendor/gutenberg/styles/wp-list-reusable-blocks/style.min.css"></link>
================================================
FILE: package.json
================================================
{
"name": "@frontkom/g-editor",
"version": "1.6.0",
"description": "A minimalist version of Gutenberg's editor. Ideal for testing custom blocks.",
"author": "Frontkom <frontkom@frontkom.no>",
"private": false,
"main": "build/index.js",
"files": [
"build/",
"config/",
"public/",
"scripts/",
"src/",
".eslintignore",
".eslintrc",
"g-scripts.txt",
"g-styles.txt"
],
"dependencies": {
"@babel/core": "7.2.2",
"@svgr/webpack": "2.4.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "9.0.0",
"babel-jest": "^25.1.0",
"babel-loader": "8.0.5",
"babel-plugin-named-asset-import": "^0.2.2",
"babel-preset-react-app": "^5.0.4",
"bfj": "6.1.1",
"case-sensitive-paths-webpack-plugin": "2.1.2",
"chalk": "2.4.2",
"css-loader": "1.0.0",
"dotenv": "6.2.0",
"dotenv-expand": "4.2.0",
"eslint": "5.12.0",
"eslint-config-react-app": "^3.0.4",
"eslint-loader": "2.1.1",
"eslint-plugin-flowtype": "2.50.1",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.12.3",
"file-loader": "2.0.0",
"fs-extra": "7.0.1",
"html-webpack-plugin": "4.0.0-alpha.2",
"identity-obj-proxy": "3.0.0",
"jest": "^25.1.0",
"jest-pnp-resolver": "1.0.2",
"jest-resolve": "23.6.0",
"mini-css-extract-plugin": "0.4.3",
"node-sass": "^4.14.1",
"oembed-providers": "^1.0.20170414",
"optimize-css-assets-webpack-plugin": "5.0.1",
"pnp-webpack-plugin": "1.2.1",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.5.0",
"postcss-safe-parser": "4.0.1",
"react-app-polyfill": "^0.1.3",
"react-dev-utils": "^6.0.5",
"react-router-dom": "^4.3.1",
"resolve": "1.9.0",
"sass-loader": "7.1.0",
"style-loader": "0.23.1",
"terser-webpack-plugin": "^2.3.4",
"url-loader": "1.1.2",
"webpack": "4.28.4",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.11.0",
"webpack-manifest-plugin": "2.0.4",
"workbox-webpack-plugin": "3.6.3"
},
"devDependencies": {
"eslint": "^5.4.0",
"eslint-plugin-react": "^7.11.1"
},
"scripts": {
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"test": "node scripts/test.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"deploy": "npm run lint && npm publish --access public",
"preg-update": "./config/gutenberg/update.sh",
"g-update": "node scripts/g-update.js"
},
"bugs": {
"url": "https://github.com/front/g-editor/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/front/g-editor.git"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"babel": {
"presets": [
"react-app"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"resolver": "jest-pnp-resolver",
"setupFiles": [
"react-app-polyfill/jsdom"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx}"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node"
]
}
}
================================================
FILE: public/index.html
================================================
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<!-- Gutenberg Styles -->
<%= htmlWebpackPlugin.options.gutenbergStyle %>
<!-- End Gutenberg Styles -->
<style type="text/css">
<%= htmlWebpackPlugin.options.blockStyle %>
</style>
<style id="block-editor-style" type="text/css">
<%= htmlWebpackPlugin.options.blockEditorStyle %>
</style>
<title>g-editor</title>
</head>
<body style="margin: 0">
<!-- Gutenberg Scripts -->
<%= htmlWebpackPlugin.options.gutenbergScripts %>
<!-- End Gutenberg Scripts -->
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
<code id="frontend-scripts" style="display:none"><%= htmlWebpackPlugin.options.blockViewScript %></code>
</body>
<script>
<%= htmlWebpackPlugin.options.blockScript %>
</script>
</html>
================================================
FILE: public/manifest.json
================================================
{
"short_name": "g-editor",
"name": "A minimalist version of Gutenberg's editor. Ideal for checking your custom blocks.",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
================================================
FILE: public/vendor/g-data.js
================================================
(function (wp) {
const { use, plugins } = wp.data;
const uid = (window.userSettings && window.userSettings.uid) || 1;
const storageKey = `WP_DATA_USER_${uid}`;
use(plugins.persistence, { storageKey });
plugins.persistence.__unstableMigrate({ storageKey });
})(window.wp);
================================================
FILE: public/vendor/gutenberg/styles/wp-block-directory/style-rtl.css
================================================
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoints & Media Queries
*/
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block UI.
*/
/**
* Border radii.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
--wp-admin-theme-color-darker-20: #005a87; }
.block-directory-block-ratings {
display: flex; }
.block-directory-block-ratings > div {
line-height: 1;
display: flex; }
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
color: #606a73;
font-size: ms(-2); }
.block-directory-block-ratings svg {
fill: #ffb900; }
.block-directory-compact-list {
margin: 0;
list-style: none; }
.block-directory-compact-list__item {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 16px; }
.block-directory-compact-list__item:last-child {
margin-bottom: 0; }
.block-directory-compact-list__item-details {
margin-right: 8px; }
.block-directory-compact-list__item-title {
font-weight: 500; }
.block-directory-compact-list__item-author {
color: #555d66;
font-size: 11px; }
.block-directory-downloadable-block-author-info__content {
color: #606a73;
font-size: 12px; }
.block-directory-downloadable-block-author-info__content-author {
margin-bottom: 4px;
font-size: 13px; }
.block-directory-downloadable-block-header__row {
display: flex;
flex-grow: 1; }
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
display: flex;
flex-direction: column;
flex-grow: 1;
padding-right: 12px; }
.block-directory-downloadable-block-header__title {
margin: 0;
font-size: 13px;
color: currentColor; }
.block-directory-downloadable-block-icon {
width: 36px;
height: 36px; }
.block-directory-downloadable-block-icon .block-editor-block-icon {
width: 36px;
height: 36px;
font-size: 36px;
background-color: #ddd; }
.block-directory-downloadable-block-info__content {
margin: 0 0 16px;
font-size: 13px; }
.block-directory-downloadable-block-info__meta {
display: flex;
align-items: center;
margin-bottom: 2px;
color: #606a73;
font-size: 12px; }
.block-directory-downloadable-block-info__meta:last-child {
margin-bottom: 0; }
.block-directory-downloadable-block-info__icon {
margin-left: 4px;
fill: #606a73; }
.block-directory-downloadable-block-list-item {
width: 100%;
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
font-size: 13px;
color: #32373c;
align-items: flex-start;
justify-content: center;
background: transparent;
word-break: break-word;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
transition: all 0.05s ease-in-out;
position: relative;
text-align: right;
overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
.block-directory-downloadable-block-list-item {
transition-duration: 0s; } }
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
border-top: none; }
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
border-top: 0; }
.block-directory-downloadable-block-list-item:last-child {
border-bottom: 0; }
.block-directory-downloadable-block-list-item__panel {
display: flex;
flex-grow: 1;
flex-direction: column; }
.block-directory-downloadable-block-list-item__header {
display: flex;
flex-direction: column;
padding: 16px 16px 0; }
.block-directory-downloadable-block-list-item__body {
display: flex;
flex-direction: column;
padding: 16px; }
.block-directory-downloadable-block-list-item__footer {
display: flex;
flex-direction: column;
padding: 16px;
background-color: #f0f0f0; }
.block-directory-downloadable-block-list-item__content {
color: #606a73; }
.block-directory-downloadable-block-notice {
margin: 0 0 16px; }
.block-directory-downloadable-block-notice__content {
padding-left: 12px;
margin-bottom: 8px; }
.block-directory-downloadable-blocks-list {
list-style: none;
margin: 0;
overflow: hidden;
display: flex;
flex-wrap: wrap; }
.block-directory-downloadable-blocks-panel__description {
font-style: italic;
padding: 16px;
margin: 0;
text-align: right;
color: #606a73; }
.block-directory-downloadable-blocks-panel__description.has-no-results {
font-style: normal;
padding: 0;
margin: 112px 0;
text-align: center;
color: #606a73; }
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
float: inherit; }
.installed-blocks-pre-publish-panel__copy {
margin-top: 0; }
================================================
FILE: public/vendor/gutenberg/styles/wp-block-directory/style.css
================================================
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoints & Media Queries
*/
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block UI.
*/
/**
* Border radii.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
--wp-admin-theme-color-darker-20: #005a87; }
.block-directory-block-ratings {
display: flex; }
.block-directory-block-ratings > div {
line-height: 1;
display: flex; }
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
color: #606a73;
font-size: ms(-2); }
.block-directory-block-ratings svg {
fill: #ffb900; }
.block-directory-compact-list {
margin: 0;
list-style: none; }
.block-directory-compact-list__item {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 16px; }
.block-directory-compact-list__item:last-child {
margin-bottom: 0; }
.block-directory-compact-list__item-details {
margin-left: 8px; }
.block-directory-compact-list__item-title {
font-weight: 500; }
.block-directory-compact-list__item-author {
color: #555d66;
font-size: 11px; }
.block-directory-downloadable-block-author-info__content {
color: #606a73;
font-size: 12px; }
.block-directory-downloadable-block-author-info__content-author {
margin-bottom: 4px;
font-size: 13px; }
.block-directory-downloadable-block-header__row {
display: flex;
flex-grow: 1; }
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
display: flex;
flex-direction: column;
flex-grow: 1;
padding-left: 12px; }
.block-directory-downloadable-block-header__title {
margin: 0;
font-size: 13px;
color: currentColor; }
.block-directory-downloadable-block-icon {
width: 36px;
height: 36px; }
.block-directory-downloadable-block-icon .block-editor-block-icon {
width: 36px;
height: 36px;
font-size: 36px;
background-color: #ddd; }
.block-directory-downloadable-block-info__content {
margin: 0 0 16px;
font-size: 13px; }
.block-directory-downloadable-block-info__meta {
display: flex;
align-items: center;
margin-bottom: 2px;
color: #606a73;
font-size: 12px; }
.block-directory-downloadable-block-info__meta:last-child {
margin-bottom: 0; }
.block-directory-downloadable-block-info__icon {
margin-right: 4px;
fill: #606a73; }
.block-directory-downloadable-block-list-item {
width: 100%;
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
font-size: 13px;
color: #32373c;
align-items: flex-start;
justify-content: center;
background: transparent;
word-break: break-word;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
transition: all 0.05s ease-in-out;
position: relative;
text-align: left;
overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
.block-directory-downloadable-block-list-item {
transition-duration: 0s; } }
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
border-top: none; }
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
border-top: 0; }
.block-directory-downloadable-block-list-item:last-child {
border-bottom: 0; }
.block-directory-downloadable-block-list-item__panel {
display: flex;
flex-grow: 1;
flex-direction: column; }
.block-directory-downloadable-block-list-item__header {
display: flex;
flex-direction: column;
padding: 16px 16px 0; }
.block-directory-downloadable-block-list-item__body {
display: flex;
flex-direction: column;
padding: 16px; }
.block-directory-downloadable-block-list-item__footer {
display: flex;
flex-direction: column;
padding: 16px;
background-color: #f0f0f0; }
.block-directory-downloadable-block-list-item__content {
color: #606a73; }
.block-directory-downloadable-block-notice {
margin: 0 0 16px; }
.block-directory-downloadable-block-notice__content {
padding-right: 12px;
margin-bottom: 8px; }
.block-directory-downloadable-blocks-list {
list-style: none;
margin: 0;
overflow: hidden;
display: flex;
flex-wrap: wrap; }
.block-directory-downloadable-blocks-panel__description {
font-style: italic;
padding: 16px;
margin: 0;
text-align: left;
color: #606a73; }
.block-directory-downloadable-blocks-panel__description.has-no-results {
font-style: normal;
padding: 0;
margin: 112px 0;
text-align: center;
color: #606a73; }
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
float: inherit; }
.installed-blocks-pre-publish-panel__copy {
margin-top: 0; }
================================================
FILE: public/vendor/gutenberg/styles/wp-block-editor/style-rtl.css
================================================
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoints & Media Queries
*/
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block UI.
*/
/**
* Border radii.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
--wp-admin-theme-color-darker-20: #005a87; }
#start-resizable-editor-section {
display: none; }
.block-editor-autocompleters__block .block-editor-block-icon {
margin-left: 8px; }
.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content {
min-width: 0;
width: auto; }
.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content > div {
padding: 8px; }
.block-editor-block-icon {
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px; }
.block-editor-block-icon.has-colors svg {
fill: currentColor; }
.block-editor-block-icon svg {
min-width: 20px;
min-height: 20px;
max-width: 24px;
max-height: 24px; }
.block-editor-block-inspector .components-base-control {
margin-bottom: 24px; }
.block-editor-block-inspector .components-base-control:last-child {
margin-bottom: 8px; }
.block-editor-block-inspector .components-panel__body {
border: none;
border-top: 1px solid #f0f0f0; }
.block-editor-block-inspector .block-editor-block-card {
padding: 16px; }
.block-editor-block-inspector__no-blocks {
display: block;
font-size: 13px;
background: #fff;
padding: 32px 16px;
text-align: center; }
.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * {
z-index: 1; }
.block-editor-block-styles .block-editor-block-list__block {
margin: 0; }
/**
* Notices & Block Selected/Hover Styles.
*/
.block-editor-block-list__layout .block-editor-block-list__block {
position: relative;
overflow-wrap: break-word;
/**
* Notices
*/
/**
* Block Layout
*/ }
.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui {
margin: -10px 0 12px 0; }
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui {
margin: 0 0 12px 0;
width: 100%; }
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice {
margin-right: 0;
margin-left: 0; }
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content {
font-size: 13px; }
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus {
outline: none; }
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
position: absolute;
z-index: 1;
pointer-events: none;
content: "";
top: 1px;
bottom: 1px;
right: 1px;
left: 1px;
box-shadow: 0 0 0 1.5px #007cba;
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
border-radius: 1px; }
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
box-shadow: 0 0 0 1.5px #fff; }
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) {
opacity: 0.5;
transition: opacity 0.1s linear; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) {
transition-duration: 0s; } }
.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused {
opacity: 1; }
.block-editor-block-list__layout .block-editor-block-list__block,
.block-editor-block-list__layout .block-list-appender {
position: relative; }
.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before,
.block-editor-block-list__layout .block-list-appender.is-drop-target::before {
content: "";
position: absolute;
z-index: 0;
pointer-events: none;
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
top: -14px;
left: 0;
right: 0;
border-top: 4px solid #007cba;
border-top: 4px solid var(--wp-admin-theme-color); }
.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target.is-dropping-horizontally::before,
.block-editor-block-list__layout .block-list-appender.is-drop-target.is-dropping-horizontally::before {
top: 0;
bottom: 0;
right: -6px;
border-top: none;
border-right: 4px solid #007cba;
border-right: 4px solid var(--wp-admin-theme-color); }
/**
* Cross-Block Selection
*/
.block-editor-block-list__layout {
position: relative; }
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after,
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after,
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after,
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after {
position: absolute;
z-index: 1;
pointer-events: none;
content: "";
top: 1px;
bottom: 1px;
right: 1px;
left: 1px; }
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after,
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after,
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after,
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after {
box-shadow: 0 0 0 1.5px #007cba;
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
border-radius: 1px;
transition: box-shadow 0.2s ease-out;
outline: 2px solid transparent; }
@media (prefers-reduced-motion: reduce) {
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after,
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after,
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after,
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after {
transition-duration: 0s; } }
.is-dark-theme .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after, .is-dark-theme
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after, .is-dark-theme
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, .is-dark-theme
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after {
box-shadow: 0 0 0 1.5px #fff; }
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected .components-placeholder ::selection,
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered .components-placeholder ::selection,
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection,
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection {
background: transparent; }
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-selected)::after {
box-shadow: 0 0 0 1px #949494; }
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected {
box-shadow: 0 0 0 1.5px #007cba;
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
outline: 1.5px solid transparent; }
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
content: "";
position: absolute;
z-index: 0;
pointer-events: none;
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
left: 0;
right: 0;
top: -14px;
border-radius: 2px;
border-top: 4px solid #ccc; }
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after {
content: none; }
.is-block-moving-mode.can-insert-moving-block .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
border-color: #007cba;
border-color: var(--wp-admin-theme-color); }
.is-block-moving-mode.block-editor-block-list__block-selection-button {
opacity: 0;
font-size: 1px;
height: 1px;
padding: 0; }
/**
* Block styles and alignments
*/
.block-editor-block-list__layout .block-editor-block-list__block.has-warning {
min-height: 36px; }
.block-editor-block-list__layout .block-editor-block-list__block::after {
content: "";
pointer-events: none;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
border-radius: 2px;
box-shadow: 0 0 0 1.5px transparent;
transition: box-shadow 0.1s ease-in; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-list__layout .block-editor-block-list__block::after {
transition-duration: 0s; } }
.block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
pointer-events: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none; }
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning {
pointer-events: all; }
.block-editor-block-list__layout .block-editor-block-list__block.has-warning::after {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
border-radius: 2px;
background-color: rgba(255, 255, 255, 0.4); }
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected::after {
background-color: transparent; }
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay::after {
display: none; }
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay::after {
display: block; }
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block {
cursor: default; }
.block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] {
float: none; }
.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter {
right: auto;
left: 8px; }
.block-editor-block-list__layout .wp-block {
margin-right: auto;
margin-left: auto; }
.wp-block[data-align="left"], .wp-block[data-align="right"] {
width: 100%;
height: 0; }
.wp-block[data-align="left"]::before, .wp-block[data-align="right"]::before {
content: none; }
.wp-block[data-align="left"] > *,
.wp-block[data-align="right"] > * {
z-index: 21; }
.wp-block[data-align="left"] > * {
float: left;
margin-right: 2em; }
.wp-block[data-align="right"] > * {
float: right;
margin-left: 2em; }
.wp-block[data-align="full"], .wp-block[data-align="wide"] {
clear: both; }
/**
* In-Canvas Inserter
*/
.block-editor-block-list .block-editor-inserter {
margin: 8px;
cursor: move;
cursor: grab; }
.block-editor-block-list__insertion-point {
position: relative;
z-index: 6;
margin-top: -14px; }
.block-editor-block-list__insertion-point-indicator {
position: absolute;
top: calc(50% - 1px);
height: 1.5px;
right: 0;
left: 0;
background: #007cba;
background: var(--wp-admin-theme-color); }
.block-editor-block-list__insertion-point-inserter {
display: none;
justify-content: center;
cursor: text; }
@media (min-width: 480px) {
.block-editor-block-list__insertion-point-inserter {
display: flex; } }
.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle {
opacity: 0;
pointer-events: none; }
.block-editor-block-list__block-popover-inserter {
position: absolute;
top: -9999em;
margin-bottom: 14px; }
.block-editor-block-list__block-popover-inserter.is-visible {
position: static; }
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon,
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon {
background: #1e1e1e;
border-radius: 2px;
color: #fff;
padding: 0;
min-width: 24px;
height: 24px; }
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover,
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
color: #fff; }
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button,
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button {
animation: block-editor-inserter__toggle__fade-in-animation-delayed 0.3s ease;
animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button,
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button {
animation-duration: 1ms; } }
@keyframes block-editor-inserter__toggle__fade-in-animation-delayed {
0% {
opacity: 0; }
80% {
opacity: 0; }
100% {
opacity: 1; } }
@keyframes block-editor-inserter__toggle__fade-in-animation {
from {
opacity: 0;
transform: scale(0); }
to {
opacity: 1;
transform: scale(1); } }
.wp-block .block-list-appender .block-editor-inserter__toggle {
animation: block-editor-inserter__toggle__fade-in-animation 0.1s ease;
animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
.wp-block .block-list-appender .block-editor-inserter__toggle {
animation-duration: 1ms; } }
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
display: none; }
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
opacity: 0;
transform: scale(0); }
.block-editor-block-list__block > .block-editor-block-list__insertion-point {
position: absolute;
top: -16px;
height: 28px;
bottom: auto;
right: 14px;
left: 14px; }
.block-editor-block-list__block .block-editor-block-list__block-html-textarea {
display: block;
margin: 0;
width: 100%;
border: none;
outline: none;
box-shadow: none;
resize: none;
overflow: hidden;
font-family: Menlo, Consolas, monaco, monospace;
font-size: 15px;
line-height: 150%;
transition: padding 0.2s linear; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-list__block .block-editor-block-list__block-html-textarea {
transition-duration: 0s; } }
.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus {
box-shadow: none; }
/**
* Block Toolbar when contextual.
*/
.block-editor-block-contextual-toolbar {
border: 1px solid #1e1e1e;
border-radius: 2px;
background-color: #fff; }
.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group,
.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar,
.block-editor-block-contextual-toolbar .block-editor-block-toolbar__mover-switcher-container {
border-left-color: #1e1e1e; }
.block-editor-block-contextual-toolbar .block-editor-block-toolbar__mover-switcher-container {
border-left-style: solid;
border-left-width: 1px; }
.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher__no-switcher-icon::before,
.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher__toggle::before {
width: 28px; }
.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-icon svg {
margin-right: 10px; }
.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher:last-child .block-editor-block-icon svg {
margin-right: auto; }
.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .components-toolbar,
.block-editor-block-contextual-toolbar .block-editor-block-toolbar__block-switcher-wrapper .components-toolbar-group {
border-left: none; }
.block-editor-block-contextual-toolbar .block-editor-block-mover {
margin-right: -12px;
width: 36px; }
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal {
width: 48px; }
.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
min-width: 36px;
width: 36px; }
[draggable="true"] .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
cursor: grab; }
[draggable="true"] .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button:active {
cursor: grabbing; }
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
min-width: 24px;
width: 24px; }
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button > svg {
margin-right: 2px; }
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg {
margin-top: 3px; }
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg {
margin-bottom: 3px; }
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus::before {
right: 0 !important;
min-width: 0;
width: 28px; }
/**
* Block Label for Navigation/Selection Mode
*/
.block-editor-block-list__block-selection-button {
display: block;
z-index: 22; }
.block-editor-block-list__block-selection-button .components-button {
font-size: 13px;
height: 46px;
padding: 12px 16px;
position: relative;
top: -1px;
box-shadow: 0 0 0 1px #1e1e1e;
border-radius: 1px;
background-color: #fff; }
.block-editor-block-list__block-selection-button .components-button:focus {
box-shadow: 0 0 0 1.5px #007cba;
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); }
/**
* Warnings.
*/
.block-editor-block-list__block .block-editor-warning {
z-index: 5;
position: relative; }
.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning {
margin-bottom: auto; }
/**
* Popovers.
*/
.block-editor-block-list__insertion-point-popover.is-without-arrow {
z-index: 28;
position: absolute; }
.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content {
background: none;
border: none;
box-shadow: none;
overflow-y: visible;
margin-right: 0; }
.components-popover.block-editor-block-list__block-popover {
z-index: 31;
position: absolute; }
.components-popover.block-editor-block-list__block-popover .components-popover__content {
margin: 0 !important;
min-width: auto;
width: max-content;
background: none;
border: none;
box-shadow: none;
overflow-y: visible;
pointer-events: none; }
.components-popover.block-editor-block-list__block-popover .components-popover__content > * {
pointer-events: all; }
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button,
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar {
margin-bottom: 12px; }
.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover {
opacity: 0; }
.is-dragging-components-draggable .components-tooltip {
display: none; }
.block-editor-block-list__block .block-list-appender {
margin: 8px 0; }
.has-background .block-editor-block-list__block .block-list-appender {
margin: 20px 8px; }
.block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
padding: 0;
opacity: 1;
transform: scale(1);
transition: all 0.1s ease; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
transition-duration: 0s; } }
.block-list-appender > .block-editor-inserter {
display: block; }
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout > .block-list-appender .block-list-appender__toggle {
opacity: 0;
transform: scale(0); }
.block-editor-block-breadcrumb {
list-style: none;
padding: 0;
margin: 0; }
.block-editor-block-breadcrumb li {
display: inline-block;
margin: 0; }
.block-editor-block-breadcrumb li:not(:last-child)::after {
content: "\2192"; }
.block-editor-block-breadcrumb__button.components-button {
height: 24px;
line-height: 24px;
padding: 0;
position: relative; }
.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled) {
text-decoration: underline;
box-shadow: none; }
.block-editor-block-breadcrumb__button.components-button:focus {
box-shadow: none; }
.block-editor-block-breadcrumb__button.components-button:focus::before {
content: "";
display: block;
position: absolute;
border-radius: 2px;
top: 1px;
left: 1px;
bottom: 1px;
right: 1px;
box-shadow: inset 0 0 0 1.5px #007cba;
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color); }
.block-editor-block-breadcrumb__current {
cursor: default; }
.block-editor-block-breadcrumb__button.components-button,
.block-editor-block-breadcrumb__current {
color: #1e1e1e;
padding: 0 8px;
font-size: inherit; }
.block-editor-block-card {
display: flex;
align-items: flex-start; }
.block-editor-block-card__icon {
border: 1px solid #ccd0d4;
padding: 7px;
margin-left: 10px;
height: 36px;
width: 36px; }
.block-editor-block-card__content {
flex-grow: 1; }
.block-editor-block-card__title {
font-weight: 500; }
.block-editor-block-card__title.block-editor-block-card__title {
margin: 0 0 5px; }
.block-editor-block-card__description {
font-size: 13px; }
.block-editor-block-card .block-editor-block-icon {
margin-right: -2px;
margin-left: 10px;
padding: 0 3px;
width: 36px;
height: 24px; }
/**
* Invalid block comparison
*/
.block-editor-block-compare {
overflow: auto;
height: auto; }
@media (min-width: 600px) {
.block-editor-block-compare {
max-height: 70%; } }
.block-editor-block-compare__wrapper {
display: flex;
padding-bottom: 16px; }
.block-editor-block-compare__wrapper > div {
display: flex;
justify-content: space-between;
flex-direction: column;
width: 50%;
padding: 0 0 0 16px;
min-width: 200px; }
.block-editor-block-compare__wrapper > div button {
float: left; }
.block-editor-block-compare__wrapper .block-editor-block-compare__converted {
border-right: 1px solid #ddd;
padding-right: 15px;
padding-left: 0; }
.block-editor-block-compare__wrapper .block-editor-block-compare__html {
font-family: Menlo, Consolas, monaco, monospace;
font-size: 12px;
color: #1e1e1e;
border-bottom: 1px solid #ddd;
padding-bottom: 15px;
line-height: 1.7; }
.block-editor-block-compare__wrapper .block-editor-block-compare__html span {
background-color: #e6ffed;
padding-top: 3px;
padding-bottom: 3px; }
.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added {
background-color: #acf2bd; }
.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed {
background-color: #d94f4f; }
.block-editor-block-compare__wrapper .block-editor-block-compare__preview {
padding: 0;
padding-top: 14px; }
.block-editor-block-compare__wrapper .block-editor-block-compare__preview p {
font-size: 12px;
margin-top: 0; }
.block-editor-block-compare__wrapper .block-editor-block-compare__action {
margin-top: 14px; }
.block-editor-block-compare__wrapper .block-editor-block-compare__heading {
font-size: 1em;
font-weight: 400;
margin: 0.67em 0; }
.block-editor-block-draggable-chip-wrapper {
position: absolute;
top: -60px; }
.block-editor-block-draggable-chip {
background-color: #1e1e1e;
border-radius: 2px;
border: 1px solid #1e1e1e;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
color: #fff;
cursor: grabbing;
display: inline-flex;
height: 48px;
min-width: 72px;
padding: 0 12px;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none; }
.block-editor-block-draggable-chip svg {
fill: currentColor; }
.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content {
margin: auto; }
.block-editor-block-draggable-chip .components-flex__item {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px; }
.is-dragging.is-selected,
.is-dragging.is-multi-selected {
display: none !important; }
.block-editor-block-mobile-toolbar {
display: flex;
flex-direction: row;
border-left: 1px solid #ddd; }
.block-editor-block-mobile-toolbar .block-editor-block-mover-button {
width: 36px;
height: 36px;
border-radius: 2px;
padding: 3px;
margin: 0;
justify-content: center;
align-items: center; }
.block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon {
margin: auto; }
.block-editor-block-mobile-toolbar .block-editor-block-mover {
display: flex;
margin-left: auto; }
.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button {
float: right; }
.block-editor-block-mover {
display: inline-flex;
flex-direction: row; }
.block-editor-block-mover-button__description {
display: none; }
.block-editor-block-mover-button.has-icon {
padding: 0; }
.block-editor-block-mover .components-toolbar-group,
.block-editor-block-mover .components-toolbar {
flex-direction: column;
flex: 1; }
.block-editor-block-mover.is-horizontal .components-toolbar-group,
.block-editor-block-mover.is-horizontal .components-toolbar {
flex-direction: row; }
.block-editor-block-mover .block-editor-block-mover-button {
height: 24px;
width: 48px;
padding: 0 !important; }
.block-editor-block-mover .block-editor-block-mover-button::before {
right: 8px !important;
left: 8px !important; }
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button svg,
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button svg {
margin-bottom: -8px; }
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button::before,
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button::before {
bottom: 0;
height: calc(100% - 8px); }
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button svg,
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button svg {
margin-top: -8px; }
.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button::before,
.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button::before {
top: 0;
height: calc(100% - 8px); }
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon {
height: 48px;
width: 24px;
min-width: 24px;
padding-right: 0;
padding-left: 0; }
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon::before {
top: 8px;
bottom: 8px;
min-width: 0;
width: auto;
height: auto; }
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg {
margin-right: 0;
margin-left: -8px;
margin-bottom: 0; }
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon::before {
right: 8px !important;
left: 0 !important; }
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg {
margin-right: -8px;
margin-left: 0;
margin-top: 0; }
.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon::before {
right: 0 !important;
left: 8px !important; }
.block-editor-block-navigation__container {
padding: 7px; }
.block-editor-block-navigation__label {
margin: 0 0 12px;
color: #757575;
text-transform: uppercase;
font-size: 11px;
font-weight: 500; }
.block-editor-block-navigation__container {
padding: 7px; }
.block-editor-block-navigation-tree {
width: 100%;
border-collapse: collapse;
padding: 0;
margin: 0; }
.block-editor-block-navigation-leaf {
position: relative; }
.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents {
display: flex;
align-items: center;
width: calc(100% - 0.8em);
height: auto;
padding: 12px 6px;
margin-top: auto;
margin-bottom: auto;
text-align: right;
color: #40464d;
border-radius: 2px; }
.components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents {
padding-right: 0;
padding-left: 0; }
.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents {
opacity: 1;
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents {
animation-duration: 1ms; } }
.block-editor-block-navigation-leaf .block-editor-block-icon {
align-self: flex-start;
margin-left: 6px; }
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell {
padding-top: 0;
padding-bottom: 0; }
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell {
width: 36px;
opacity: 0;
vertical-align: top; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell {
transition-duration: 0s; } }
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible {
opacity: 1;
animation: edit-post__fade-in-animation 0.2s ease-out 0s;
animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible {
animation-duration: 1ms; } }
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon,
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon {
width: 24px;
min-width: 24px;
padding: 0; }
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell {
padding-top: 8px; }
.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper {
display: flex;
height: 100%;
flex-direction: column;
align-items: center; }
.block-editor-block-navigation-leaf .block-editor-block-mover-button {
position: relative;
width: 36px;
height: 24px; }
.block-editor-block-navigation-leaf .block-editor-block-mover-button svg {
position: relative;
height: 24px; }
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button {
align-items: flex-end; }
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg {
bottom: -4px; }
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button {
align-items: flex-start; }
.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg {
top: -4px; }
.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled {
box-shadow: none;
outline: none; }
.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus {
box-shadow: none;
outline: none; }
.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus::before {
box-shadow: inset 0 0 0 1.5px #007cba, inset 0 0 0 4px #fff;
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color), inset 0 0 0 4px #fff;
outline: 2px solid transparent; }
.block-editor-block-navigation-leaf .block-editor-block-mover-button::before {
content: "";
position: absolute;
display: block;
border-radius: 2px;
height: 16px;
min-width: 100%;
right: 0;
left: 0;
animation: components-button__appear-animation 0.1s ease;
animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-navigation-leaf .block-editor-block-mover-button::before {
animation-duration: 1ms; } }
.block-editor-block-navigation-leaf .block-editor-inserter__toggle {
background: #1e1e1e;
color: #fff;
height: 24px;
margin: 6px 1px 6px 6px;
min-width: 24px; }
.block-editor-block-navigation-leaf .block-editor-inserter__toggle:active {
color: #fff; }
.block-editor-block-navigation-block-slot__description,
.block-editor-block-navigation-block-select-button__description,
.block-editor-block-navigation-appender__description {
display: none; }
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container,
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container,
.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,
.block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container {
display: flex; }
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container,
.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container {
min-height: 56px; }
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line,
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line {
position: relative;
flex-shrink: 0;
width: 24px; }
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:first-child,
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:first-child {
width: 18px; }
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item,
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item {
margin-left: 6px; }
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line::before,
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line::before {
content: "";
display: block;
position: absolute;
top: 1px;
bottom: -2px;
left: -1px;
border-left: 2px solid #a2aab2; }
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.is-terminated::before,
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.is-terminated::before {
border-color: transparent; }
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item.is-last-row,
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row {
height: 26px; }
.block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item::after,
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item::after {
content: "";
display: block;
position: absolute;
top: 26px;
right: 100%;
width: 5px;
border-bottom: 2px solid #a2aab2; }
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row {
height: 16px; }
.block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row::after {
top: 100%; }
.block-editor-block-parent-selector {
background: #fff;
border-radius: 2px; }
.block-editor-block-parent-selector .block-editor-block-parent-selector__button {
width: 48px;
height: 48px;
border: 1px solid #1e1e1e;
border-radius: 2px; }
.block-editor-block-patterns-list__item {
border-radius: 2px;
cursor: pointer;
margin-top: 16px;
transition: all 0.05s ease-in-out;
position: relative;
border: 1px solid transparent; }
.block-editor-block-patterns-list__item:hover {
border: 1px solid #007cba;
border: 1px solid var(--wp-admin-theme-color); }
.block-editor-block-patterns-list__item:focus {
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #007cba;
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px var(--wp-admin-theme-color);
outline: 2px solid transparent; }
.block-editor-block-patterns-list__item.is-placeholder {
min-height: 100px; }
.block-editor-block-patterns-list__item-title {
padding: 4px;
font-size: 12px;
text-align: center; }
.block-editor-block-preview__container {
position: relative;
width: 100%;
overflow: hidden; }
.block-editor-block-preview__container.editor-styles-wrapper {
padding: 0;
margin: 0; }
.block-editor-block-preview__content {
position: absolute;
top: 0;
right: 0;
transform-origin: top right;
text-align: initial;
margin: 0;
overflow: visible;
min-height: auto; }
.block-editor-block-preview__content .block-editor-block-list__insertion-point,
.block-editor-block-preview__content .block-editor-block-drop-zone,
.block-editor-block-preview__content .reusable-block-indicator,
.block-editor-block-preview__content .block-list-appender {
display: none; }
.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container {
padding-right: 0;
padding-left: 0; }
.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container > .wp-block[data-align="full"] {
margin-right: 0;
margin-left: 0; }
.block-editor-block-settings-menu__popover .components-dropdown-menu__menu {
padding: 0; }
.block-editor-block-styles {
display: flex;
flex-wrap: wrap;
justify-content: space-between; }
.block-editor-block-styles__item {
width: calc(50% - 4px);
margin: 4px 0;
flex-shrink: 0;
cursor: pointer;
overflow: hidden;
border-radius: 2px;
padding: 6px;
display: flex;
flex-direction: column; }
.block-editor-block-styles__item:focus {
box-shadow: 0 0 0 1.5px #007cba;
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
outline: 2px solid transparent; }
.block-editor-block-styles__item:hover .block-editor-block-styles__item-preview {
border-color: #007cba;
border-color: var(--wp-admin-theme-color); }
.block-editor-block-styles__item.is-active .block-editor-block-styles__item-label {
font-weight: bold; }
.block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview {
border: 2px solid #1e1e1e; }
.block-editor-block-styles__item-preview {
outline: 1px solid transparent;
padding: 0;
border-radius: 2px;
display: flex;
overflow: hidden;
background: #fff;
align-items: center;
flex-grow: 1;
min-height: 80px; }
.block-editor-block-switcher__styles__menugroup {
position: relative; }
.block-editor-block-styles__item-label {
text-align: center;
padding: 4px 0; }
.block-editor-block-switcher {
position: relative; }
.block-editor-block-switcher__no-switcher-icon,
.block-editor-block-switcher__toggle {
position: relative; }
.components-button.block-editor-block-switcher__toggle,
.components-button.block-editor-block-switcher__no-switcher-icon {
margin: 0;
display: block;
height: 48px; }
.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,
.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
margin: auto; }
.components-button.block-editor-block-switcher__no-switcher-icon {
width: 48px; }
.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon {
margin-left: auto;
margin-right: auto; }
.components-button.block-editor-block-switcher__no-switcher-icon:disabled {
opacity: 1; }
.components-button.block-editor-block-switcher__no-switcher-icon:disabled,
.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors {
color: #1e1e1e !important; }
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon,
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon,
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon {
padding: 0; }
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon {
height: 100%;
position: relative;
margin: 0 auto;
display: flex;
align-items: center; }
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before,
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before {
top: 8px;
left: 8px;
bottom: 8px;
right: 8px; }
.components-popover.block-editor-block-switcher__popover .components-popover__content {
min-width: 300px; }
.components-popover.block-editor-block-switcher__popover .components-popover__content > div {
min-width: auto;
display: flex;
background: #fff;
padding: 0; }
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group {
padding: 16px;
margin: 0; }
.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles {
margin: 0 -3px; }
.block-editor-block-switcher__popover .components-popover__content .components-panel__body {
border: 0;
position: relative;
z-index: 1; }
.block-editor-block-switcher__popover .components-popover__content .components-panel__body + .components-panel__body {
border-top: 1px solid #f0f0f0; }
.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container {
position: absolute;
top: -12px;
right: calc(100% + 32px); }
.block-editor-block-switcher__preview__popover {
display: none; }
.block-editor-block-switcher__preview__popover.components-popover {
margin-right: 4px;
margin-top: 11px; }
@media (min-width: 782px) {
.block-editor-block-switcher__preview__popover {
display: block; } }
.block-editor-block-switcher__preview__popover .components-popover__content {
box-shadow: none;
border: 1px solid #1e1e1e;
background: #fff;
border-radius: 2px; }
.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview {
width: 300px;
height: auto;
padding: 16px; }
.block-editor-block-switcher__preview-title {
margin-bottom: 12px;
color: #757575;
text-transform: uppercase;
font-size: 11px;
font-weight: 500; }
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle,
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon {
height: 48px; }
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon {
width: 48px; }
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
width: 48px;
height: 48px; }
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,
.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
padding: 12px; }
.block-editor-block-types-list {
list-style: none;
padding: 4px;
margin-right: -4px;
margin-left: -4px;
overflow: hidden;
display: flex;
flex-wrap: wrap; }
.block-editor-block-variation-picker .components-placeholder__instructions {
margin-bottom: 0; }
.block-editor-block-variation-picker .components-placeholder__fieldset {
flex-direction: column; }
.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset {
max-width: 90%; }
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations {
display: flex;
justify-content: flex-start;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
margin: 16px 0;
padding: 0;
list-style: none; }
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li {
list-style: none;
margin: 8px 0 0 8px;
flex-shrink: 1;
max-width: 100px; }
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li button {
display: flex; }
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation {
padding: 8px; }
.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 12px;
display: block;
margin-left: 12px;
text-align: center; }
.block-editor-block-variation-picker__variation {
width: 100%; }
.block-editor-block-variation-picker__variation.components-button.has-icon {
justify-content: center;
width: auto; }
.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary {
background-color: #fff; }
.block-editor-block-variation-picker__variation.components-button {
height: auto;
padding: 0; }
.block-editor-block-variation-picker__variation::before {
content: "";
padding-bottom: 100%; }
.block-editor-block-variation-picker__variation:first-child {
margin-right: 0; }
.block-editor-block-variation-picker__variation:last-child {
margin-left: 0; }
.block-editor-button-block-appender {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 8px;
width: 100%;
height: auto;
color: #1e1e1e;
box-shadow: inset 0 0 0 1px #1e1e1e; }
.block-editor-button-block-appender:hover {
box-shadow: inset 0 0 0 1px #007cba;
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color); }
.block-editor-button-block-appender:focus {
box-shadow: inset 0 0 0 2px #007cba;
box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color); }
.block-editor-button-block-appender:active {
color: #000; }
.block-editor-button-block-appender.block-list-appender__toggle {
display: flex;
flex-direction: row;
color: #1e1e1e;
box-shadow: none;
height: 24px;
padding: 0;
margin-right: 8px; }
.block-editor-button-block-appender.block-list-appender__toggle:active {
color: #fff; }
.block-editor-button-block-appender.block-list-appender__toggle > svg {
width: 24px;
background-color: #1e1e1e;
color: #fff;
border-radius: 2px; }
.block-editor-color-gradient-control__color-indicator {
margin-bottom: 8px; }
.block-editor-color-gradient-control__button-tabs {
display: block;
margin-bottom: 8px; }
.block-editor-panel-color-gradient-settings .component-color-indicator {
vertical-align: text-bottom; }
.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator {
display: inline-block; }
.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator {
display: none; }
.block-editor-contrast-checker > .components-notice {
margin: 0; }
.block-editor-default-block-appender {
clear: both;
margin-right: auto;
margin-left: auto;
position: relative; }
.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover {
outline: 1px solid transparent; }
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
font-family: inherit;
font-size: inherit;
border: none;
background: none;
box-shadow: none;
display: block;
cursor: text;
width: 100%;
outline: 1px solid transparent;
transition: 0.2s outline;
resize: none;
margin-top: 28px;
margin-bottom: 28px;
padding: 0 0 0 50px;
color: rgba(30, 30, 30, 0.62); }
@media (prefers-reduced-motion: reduce) {
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
transition-duration: 0s; } }
.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
color: rgba(255, 255, 255, 0.65); }
.block-editor-default-block-appender .components-drop-zone__content-icon {
display: none; }
.block-editor-default-block-appender__content {
line-height: 1.8; }
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,
.block-editor-default-block-appender .block-editor-inserter {
position: absolute;
top: 0;
height: 32px; }
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle {
margin-left: 0; }
.block-editor-block-list__empty-block-inserter,
.block-editor-default-block-appender .block-editor-inserter {
left: 8px; }
@media (min-width: 600px) {
.block-editor-block-list__empty-block-inserter,
.block-editor-default-block-appender .block-editor-inserter {
display: flex;
height: 100%; } }
.block-editor-block-list__empty-block-inserter:disabled,
.block-editor-default-block-appender .block-editor-inserter:disabled {
display: none; }
@media (min-width: 600px) {
.block-editor-default-block-appender .block-editor-inserter {
align-items: center; } }
.block-editor-link-control {
position: relative;
min-width: 360px; }
.components-popover__content .block-editor-link-control {
min-width: auto;
width: 90vw;
max-width: 360px; }
.block-editor-link-control__search-input-wrapper {
position: relative; }
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
padding: 6px 8px;
box-shadow: 0 0 0 transparent;
transition: box-shadow 0.1s linear;
border-radius: 2px;
border: 1px solid #757575;
/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px;
/* Override core line-height. To be reviewed. */
line-height: normal;
width: calc(100% - 32px);
display: block;
padding: 11px 16px;
padding-left: 36px;
margin: 16px;
position: relative;
border: 1px solid #ddd;
border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
transition-duration: 0s; } }
@media (min-width: 600px) {
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
font-size: 13px;
/* Override core line-height. To be reviewed. */
line-height: normal; } }
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:focus {
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
box-shadow: 0 0 0 0.5px #007cba;
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
outline: 2px solid transparent; }
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-webkit-input-placeholder {
color: rgba(30, 30, 30, 0.62); }
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-moz-placeholder {
opacity: 1;
color: rgba(30, 30, 30, 0.62); }
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:-ms-input-placeholder {
color: rgba(30, 30, 30, 0.62); }
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.65); }
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-moz-placeholder {
opacity: 1;
color: rgba(255, 255, 255, 0.65); }
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.65); }
.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field {
margin-bottom: 0; }
.block-editor-link-control__search-error {
margin: -8px 16px 16px; }
.block-editor-link-control__search-actions {
position: absolute;
/*
* Actions must be positioned on top of URLInput, since the input will grow
* when suggestions are rendered.
*
* Compensate for:
* - Input margin ($grid-unit-20)
* - Border (1px)
* - Vertically, for the difference in height between the input (40px) and
* the icon buttons.
* - Horizontally, pad to the minimum of: default input padding, or the
* equivalent of the vertical padding.
*/
top: 19px;
left: 19px; }
.block-editor-link-control__search-results-wrapper {
position: relative;
margin-top: -15px; }
.block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after {
content: "";
position: absolute;
right: -1px;
left: 16px;
display: block;
pointer-events: none;
z-index: 100; }
.block-editor-link-control__search-results-wrapper::before {
height: 8px;
top: 0;
bottom: auto;
background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%); }
.block-editor-link-control__search-results-wrapper::after {
height: 16px;
bottom: 0;
top: auto;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%); }
.block-editor-link-control__search-results-label {
padding: 15px 30px 0 30px;
display: block;
font-size: 1.1em; }
.block-editor-link-control__search-results {
margin: 0;
padding: 8px 16px 8px;
max-height: 200px;
overflow-y: auto; }
.block-editor-link-control__search-results.is-loading {
opacity: 0.2; }
.block-editor-link-control__search-item {
position: relative;
display: flex;
align-items: center;
font-size: 13px;
cursor: pointer;
background: #fff;
width: 100%;
border: none;
text-align: right;
padding: 10px 15px;
border-radius: 5px;
height: auto; }
.block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus {
background-color: #ddd; }
.block-editor-link-control__search-item:focus:not(:disabled) {
box-shadow: 0 0 0 1.5px #007cba inset;
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color) inset; }
.block-editor-link-control__search-item.is-selected {
background: #f0f0f0; }
.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type {
background: #fff; }
.block-editor-link-control__search-item.is-current {
background: transparent;
border: 0;
width: 100%;
cursor: default;
padding: 16px;
padding-right: 24px; }
.block-editor-link-control__search-item .block-editor-link-control__search-item-header {
display: block;
margin-left: 24px;
overflow: hidden;
white-space: nowrap; }
.block-editor-link-control__search-item .block-editor-link-control__search-item-icon {
margin-left: 1em;
min-width: 24px; }
.block-editor-link-control__search-item .block-editor-link-control__search-item-info,
.block-editor-link-control__search-item .block-editor-link-control__search-item-title {
max-width: 230px;
overflow: hidden;
text-overflow: ellipsis; }
.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark {
color: #1e1e1e; }
.block-editor-link-control__search-item .block-editor-link-control__search-item-title {
display: block;
margin-bottom: 0.2em;
font-weight: 500; }
.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark {
font-weight: 700;
color: #000;
background-color: transparent; }
.block-editor-link-control__search-item .block-editor-link-control__search-item-title span {
font-weight: normal; }
.block-editor-link-control__search-item .block-editor-link-control__search-item-info {
display: block;
color: #6c7781;
font-size: 0.9em;
line-height: 1.3; }
.block-editor-link-control__search-item .block-editor-link-control__search-item-type {
display: block;
padding: 3px 8px;
margin-right: auto;
font-size: 0.9em;
background-color: #f0f0f0;
border-radius: 2px; }
.block-editor-link-control__loading {
margin: 16px;
display: flex;
align-items: center; }
.block-editor-link-control__loading .components-spinner {
margin-top: 0; }
.components-button + .block-editor-link-control__search-create {
margin-top: 20px;
overflow: visible;
padding: 12px 15px; }
.components-button + .block-editor-link-control__search-create::before {
content: "";
position: absolute;
top: -10px;
right: 0;
display: block;
width: 100%;
border-top: 1px solid #ddd; }
.block-editor-link-control__search-results div[role="menu"] > .block-editor-link-control__search-item.block-editor-link-control__search-item {
padding: 10px; }
.block-editor-link-control__settings {
border-top: 1px solid #ddd;
margin: 0;
padding: 16px 24px; }
.block-editor-link-control__settings :last-child {
margin-bottom: 0; }
.block-editor-link-control__setting {
margin-bottom: 16px; }
.block-editor-link-control__setting :last-child {
margin-bottom: 0; }
.block-editor-link-control .block-editor-link-control__search-input .components-spinner {
display: block; }
.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner {
position: absolute;
right: auto;
bottom: auto;
/*
* Position spinner to the left of the actions.
*
* Compensate for:
* - Input margin ($grid-unit-20)
* - Border (1px)
* - Vertically, for the difference in height between the input (40px)
* and the spinner.
* - Horizontally, adjust for the width occupied by the icon buttons,
* then artificially create spacing that mimics as if the spinner
* were center-padded to the same width as an icon button.
*/
top: 28px;
left: 62px; }
.block-editor-link-control__search-item-action {
margin-right: auto;
flex-shrink: 0; }
.block-editor-line-height-control {
margin-bottom: 24px; }
.block-editor-line-height-control input {
display: block;
max-width: 60px; }
.block-editor-image-size-control {
margin-bottom: 1em; }
.block-editor-image-size-control .block-editor-image-size-control__row {
display: flex;
justify-content: space-between; }
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width,
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height {
margin-bottom: 0.5em; }
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input,
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input {
line-height: 1.25; }
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width {
margin-left: 5px; }
.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height {
margin-right: 5px; }
.block-editor-block-list__layout.has-overlay::after {
content: "";
position: absolute;
top: -14px;
left: -14px;
bottom: -14px;
right: -14px;
z-index: 60; }
[data-align="full"] .has-overlay::after {
left: 0;
right: 0; }
.block-editor-block-types-list__list-item {
display: block;
width: 33.33%;
padding: 0;
margin: 0; }
.components-button.block-editor-block-types-list__item {
display: flex;
flex-direction: column;
width: 100%;
font-size: 13px;
color: #32373c;
padding: 8px;
align-items: stretch;
justify-content: center;
cursor: pointer;
background: transparent;
word-break: break-word;
border-radius: 2px;
border: 1px solid transparent;
transition: all 0.05s ease-in-out;
position: relative;
height: auto; }
@media (prefers-reduced-motion: reduce) {
.components-button.block-editor-block-types-list__item {
transition-duration: 0s; } }
.components-button.block-editor-block-types-list__item:disabled {
opacity: 0.6;
cursor: default; }
.components-button.block-editor-block-types-list__item:not(:disabled):hover {
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
color: #007cba !important;
color: var(--wp-admin-theme-color) !important; }
.components-button.block-editor-block-types-list__item:not(:disabled).is-active {
color: #fff;
background: #1e1e1e;
outline: 2px solid transparent;
outline-offset: -2px; }
.block-editor-block-types-list__item-icon {
padding: 12px 20px;
border-radius: 2px;
color: #1e1e1e;
transition: all 0.05s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-types-list__item-icon {
transition-duration: 0s; } }
.block-editor-block-types-list__item-icon .block-editor-block-icon {
margin-right: auto;
margin-left: auto; }
.block-editor-block-types-list__item-icon svg {
transition: all 0.15s ease-out; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-types-list__item-icon svg {
transition-duration: 0s; } }
.block-editor-block-types-list__item-title {
padding: 4px 2px 8px;
font-size: 12px; }
.modal-open .block-editor-media-replace-flow__options {
display: none; }
.block-editor-media-replace-flow__options .components-popover__content > div {
padding-top: 16px; }
.block-editor-media-replace-flow__indicator {
margin-right: 4px; }
.block-editor-media-replace-flow__media-upload-menu {
margin-bottom: 16px; }
.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label {
top: 16px; }
.block-editor-media-flow__url-input .block-editor-link-control {
margin-top: -16px;
width: auto; }
.block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field {
margin-bottom: 0; }
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title {
max-width: 180px;
margin-top: 16px; }
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current {
width: auto;
padding: 0; }
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
margin: 16px 0 0 0;
width: 100%; }
.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions {
left: 4px; }
.block-editor-media-flow__error {
padding: 0 20px 20px 20px;
max-width: 255px; }
.block-editor-media-flow__error .components-with-notices-ui {
max-width: 255px; }
.block-editor-media-flow__error .components-with-notices-ui .components-notice__content {
overflow: hidden;
word-wrap: break-word; }
.block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss {
position: absolute;
left: 10px; }
.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button {
margin-bottom: 0; }
.block-editor-media-placeholder__url-input-form {
display: flex; }
.block-editor-media-placeholder__url-input-form input[type="url"].block-editor-media-placeholder__url-input-field {
width: 100%;
flex-grow: 1;
border: none;
border-radius: 0;
margin: 2px; }
@media (min-width: 600px) {
.block-editor-media-placeholder__url-input-form input[type="url"].block-editor-media-placeholder__url-input-field {
width: 300px; } }
.block-editor-media-placeholder__url-input-submit-button {
flex-shrink: 1; }
.block-editor-media-placeholder__button {
margin-bottom: 0.5rem; }
.block-editor-media-placeholder__cancel-button.is-link {
margin: 1em;
display: block; }
.block-editor-media-placeholder.is-appender {
min-height: 0; }
.block-editor-media-placeholder.is-appender:hover {
cursor: pointer;
box-shadow: 0 0 0 1px #007cba;
box-shadow: 0 0 0 1px var(--wp-admin-theme-color); }
.block-editor-multi-selection-inspector__card {
display: flex;
align-items: flex-start;
padding: 16px; }
.block-editor-multi-selection-inspector__card-content {
flex-grow: 1; }
.block-editor-multi-selection-inspector__card-title {
font-weight: 500;
margin-bottom: 5px; }
.block-editor-multi-selection-inspector__card-description {
font-size: 13px; }
.block-editor-multi-selection-inspector__card .block-editor-block-icon {
margin-right: -2px;
margin-left: 10px;
padding: 0 3px;
width: 36px;
height: 24px; }
.block-editor .block-editor-plain-text {
box-shadow: none;
font-family: inherit;
font-size: inherit;
color: inherit;
line-height: inherit;
border: none;
padding: 0;
margin: 0;
width: 100%; }
.block-editor-responsive-block-control {
margin-bottom: 28px;
border-bottom: 1px solid #d7dade;
padding-bottom: 14px; }
.block-editor-responsive-block-control:last-child {
padding-bottom: 0;
border-bottom: 0; }
.block-editor-responsive-block-control__title {
margin: 0;
margin-bottom: 0.6em;
margin-right: -3px; }
.block-editor-responsive-block-control__label {
font-weight: 600;
margin-bottom: 0.6em;
margin-right: -3px; }
.block-editor-responsive-block-control__inner {
margin-right: -1px; }
.block-editor-responsive-block-control__toggle {
margin-right: 1px; }
.block-editor-responsive-block-control .components-base-control__help {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important; }
.block-editor-format-toolbar .components-dropdown-menu__toggle {
justify-content: center; }
.block-editor-rich-text__editable > p:first-child {
margin-top: 0; }
.block-editor-rich-text__editable [data-rich-text-placeholder] {
pointer-events: none; }
.block-editor-rich-text__editable [data-rich-text-placeholder]::after {
content: attr(data-rich-text-placeholder);
opacity: 0.62; }
.block-editor-rich-text__editable:focus {
outline: none; }
.block-editor-rich-text__editable:focus [data-rich-text-format-boundary] {
border-radius: 2px; }
.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]::after {
display: none; }
figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before {
opacity: 0.8; }
.components-popover.block-editor-rich-text__inline-format-toolbar {
z-index: 99998; }
.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content {
width: auto;
min-width: auto;
margin-bottom: 8px;
box-shadow: none;
border: 1px solid #1e1e1e;
border-radius: 2px;
background-color: #fff; }
.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group,
.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar {
border: none; }
.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control,
.components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle {
min-width: 48px;
min-height: 48px;
padding-right: 12px;
padding-left: 12px; }
.block-editor-skip-to-selected-block {
position: absolute;
top: -9999em; }
.block-editor-skip-to-selected-block:focus {
height: auto;
width: auto;
display: block;
font-size: 14px;
font-weight: 600;
padding: 15px 23px 14px;
background: #f1f1f1;
color: #007cba;
color: var(--wp-admin-theme-color);
line-height: normal;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
text-decoration: none;
outline: none;
z-index: 100000; }
.block-editor-tool-selector__help {
margin-top: 8px;
margin-right: -12px;
margin-left: -12px;
margin-bottom: -12px;
padding: 12px 20px;
border-top: 1px solid #ddd;
color: #6c7781; }
.block-editor-block-list__block .block-editor-url-input,
.components-popover .block-editor-url-input,
.block-editor-url-input {
flex-grow: 1;
position: relative;
padding: 1px; }
.block-editor-block-list__block .block-editor-url-input input[type="text"],
.components-popover .block-editor-url-input input[type="text"],
.block-editor-url-input input[type="text"] {
width: 100%;
padding: 8px;
border: none;
border-radius: 0;
margin-right: 0;
margin-left: 0;
/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px; }
@media (min-width: 600px) {
.block-editor-block-list__block .block-editor-url-input input[type="text"],
.components-popover .block-editor-url-input input[type="text"],
.block-editor-url-input input[type="text"] {
width: 300px; } }
@media (min-width: 600px) {
.block-editor-block-list__block .block-editor-url-input input[type="text"],
.components-popover .block-editor-url-input input[type="text"],
.block-editor-url-input input[type="text"] {
font-size: 13px; } }
.block-editor-block-list__block .block-editor-url-input input[type="text"]::-ms-clear,
.components-popover .block-editor-url-input input[type="text"]::-ms-clear,
.block-editor-url-input input[type="text"]::-ms-clear {
display: none; }
.block-editor-block-list__block .block-editor-url-input.is-full-width,
.components-popover .block-editor-url-input.is-full-width,
.block-editor-url-input.is-full-width {
width: 100%; }
.block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type="text"],
.components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type="text"],
.block-editor-url-input.is-full-width .block-editor-url-input__input[type="text"] {
width: 100%; }
.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,
.components-popover .block-editor-url-input.is-full-width__suggestions,
.block-editor-url-input.is-full-width__suggestions {
width: 100%; }
.block-editor-block-list__block .block-editor-url-input .components-spinner,
.components-popover .block-editor-url-input .components-spinner,
.block-editor-url-input .components-spinner {
position: absolute;
left: 8px;
bottom: 17px;
margin: 0; }
.block-editor-url-input__input[type="text"] {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
padding: 6px 8px;
box-shadow: 0 0 0 transparent;
transition: box-shadow 0.1s linear;
border-radius: 2px;
border: 1px solid #757575;
/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px;
/* Override core line-height. To be reviewed. */
line-height: normal; }
@media (prefers-reduced-motion: reduce) {
.block-editor-url-input__input[type="text"] {
transition-duration: 0s; } }
@media (min-width: 600px) {
.block-editor-url-input__input[type="text"] {
font-size: 13px;
/* Override core line-height. To be reviewed. */
line-height: normal; } }
.block-editor-url-input__input[type="text"]:focus {
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
box-shadow: 0 0 0 0.5px #007cba;
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
outline: 2px solid transparent; }
.block-editor-url-input__input[type="text"]::-webkit-input-placeholder {
color: rgba(30, 30, 30, 0.62); }
.block-editor-url-input__input[type="text"]::-moz-placeholder {
opacity: 1;
color: rgba(30, 30, 30, 0.62); }
.block-editor-url-input__input[type="text"]:-ms-input-placeholder {
color: rgba(30, 30, 30, 0.62); }
.is-dark-theme .block-editor-url-input__input[type="text"]::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.65); }
.is-dark-theme .block-editor-url-input__input[type="text"]::-moz-placeholder {
opacity: 1;
color: rgba(255, 255, 255, 0.65); }
.is-dark-theme .block-editor-url-input__input[type="text"]:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.65); }
.block-editor-url-input__suggestions {
max-height: 200px;
transition: all 0.15s ease-in-out;
padding: 4px 0;
width: 302px;
overflow-y: auto; }
@media (prefers-reduced-motion: reduce) {
.block-editor-url-input__suggestions {
transition-duration: 0s; } }
.block-editor-url-input__suggestions,
.block-editor-url-input .components-spinner {
display: none; }
@media (min-width: 600px) {
.block-editor-url-input__suggestions,
.block-editor-url-input .components-spinner {
display: inherit; } }
.block-editor-url-input__suggestion {
padding: 4px 8px;
color: #6c7781;
display: block;
font-size: 13px;
cursor: pointer;
background: #fff;
width: 100%;
border: none;
text-align: right;
box-shadow: none; }
.block-editor-url-input__suggestion:hover {
background: #ddd; }
.block-editor-url-input__suggestion:focus, .block-editor-url-input__suggestion.is-selected {
background: #005a87;
background: var(--wp-admin-theme-color-darker-20);
color: #fff;
outline: none; }
.components-toolbar-group > .block-editor-url-input__button,
.components-toolbar > .block-editor-url-input__button {
position: inherit; }
.block-editor-url-input__button .block-editor-url-input__back {
margin-left: 4px;
overflow: visible; }
.block-editor-url-input__button .block-editor-url-input__back::after {
content: "";
position: absolute;
display: block;
width: 1px;
height: 24px;
left: -1px;
background: #ddd; }
.block-editor-url-input__button-modal {
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
border: 1px solid #ddd;
background: #fff; }
.block-editor-url-input__button-modal-line {
display: flex;
flex-direction: row;
flex-grow: 1;
flex-shrink: 1;
min-width: 0;
align-items: flex-start; }
.block-editor-url-input__button-modal-line .components-button {
flex-shrink: 0;
width: 36px;
height: 36px; }
.block-editor-url-popover__additional-controls {
border-top: 1px solid #ddd; }
.block-editor-url-popover__additional-controls > div[role="menu"] .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary) > svg {
box-shadow: none; }
.block-editor-url-popover__additional-controls div[role="menu"] > .components-button {
padding-right: 2px; }
.block-editor-url-popover__row {
display: flex; }
.block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) {
flex-grow: 1; }
.block-editor-url-popover .components-button.has-icon {
padding: 3px; }
.block-editor-url-popover .components-button.has-icon > svg {
padding: 5px;
border-radius: 2px;
height: 30px;
width: 30px; }
.block-editor-url-popover .components-button.has-icon:not(:disabled):focus {
box-shadow: none; }
.block-editor-url-popover .components-button.has-icon:not(:disabled):focus > svg {
box-shadow: inset 0 0 0 1.5px #007cba, inset 0 0 0 4px #fff;
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color), inset 0 0 0 4px #fff;
outline: 2px solid transparent; }
.block-editor-url-popover__settings-toggle {
flex-shrink: 0;
border-radius: 0;
border-right: 1px solid #ddd;
margin-right: 1px; }
.block-editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon {
transform: rotate(-180deg); }
.block-editor-url-popover__input-container .components-base-control:last-child,
.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field {
margin-bottom: 0; }
.block-editor-url-popover__settings {
display: block;
padding: 16px;
border-top: 1px solid #ddd; }
.block-editor-url-popover__link-editor,
.block-editor-url-popover__link-viewer {
display: flex; }
.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,
.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field {
margin-bottom: 0; }
.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,
.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner {
bottom: 9px; }
.block-editor-url-popover__link-viewer-url {
margin: 7px;
flex-grow: 1;
flex-shrink: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 150px;
max-width: 500px; }
.block-editor-url-popover__link-viewer-url.has-invalid-link {
color: #d94f4f; }
.block-editor-warning {
align-items: center;
display: flex;
flex-wrap: wrap;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
padding: 6px 12px;
border: 1px solid #1e1e1e;
border-radius: 2px;
background-color: #fff; }
.block-editor-warning .block-editor-warning__message {
line-height: 1.4;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
margin: 1em 0; }
.block-editor-warning p.block-editor-warning__message.block-editor-warning__message {
min-height: auto; }
.block-editor-warning .block-editor-warning__contents {
display: flex;
flex-direction: row;
justify-content: space-between;
flex-wrap: wrap;
align-items: baseline;
width: 100%; }
.block-editor-warning .block-editor-warning__actions {
display: flex; }
.block-editor-warning .block-editor-warning__action {
margin: 0 8px 0 0; }
.block-editor-warning__secondary {
margin: auto 8px auto 0; }
.block-editor-writing-flow {
display: flex;
flex-direction: column; }
.block-editor-writing-flow__click-redirect {
cursor: text; }
.html-anchor-control .components-external-link {
display: block;
margin-top: 8px; }
#end-resizable-editor-section {
display: none; }
/**
* Block Toolbar
*/
.block-editor-block-toolbar {
display: flex;
flex-grow: 1;
width: 100%;
overflow: auto;
position: relative;
transition: border-color 0.1s linear, box-shadow 0.1s linear; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-toolbar {
transition-duration: 0s; } }
@media (min-width: 600px) {
.block-editor-block-toolbar {
overflow: inherit; } }
.block-editor-block-toolbar .components-toolbar-group,
.block-editor-block-toolbar .components-toolbar {
background: none;
line-height: 0;
margin-top: -1px;
margin-bottom: -1px;
border: 0;
border-left: 1px solid #ddd; }
.block-editor-block-toolbar > :last-child,
.block-editor-block-toolbar > :last-child .components-toolbar-group,
.block-editor-block-toolbar > :last-child .components-toolbar {
border-left: none; }
.block-editor-block-toolbar .components-toolbar-group,
.block-editor-block-toolbar .components-toolbar,
.block-editor-format-toolbar .components-toolbar-group,
.block-editor-format-toolbar .components-toolbar {
display: flex;
flex-wrap: nowrap; }
.block-editor-block-toolbar__slot {
display: inline-block;
line-height: 0; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
.block-editor-block-toolbar__slot {
display: inline-flex; } }
.block-editor-block-toolbar__block-parent-selector-wrapper {
position: absolute;
top: -1px;
right: -1px;
opacity: 0;
transition: all 60ms linear;
z-index: -1; }
@media (prefers-reduced-motion: reduce) {
.block-editor-block-toolbar__block-parent-selector-wrapper {
transition-duration: 0s; } }
.is-showing-movers .block-editor-block-toolbar__block-parent-selector-wrapper {
opacity: 1;
transform: translateY(-60px); }
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar__block-parent-selector-wrapper {
display: none; }
.block-editor-block-toolbar__mover-switcher-container {
display: flex; }
.block-editor-block-toolbar__block-switcher-wrapper {
display: flex; }
.block-editor-block-toolbar__block-switcher-wrapper:not([draggable="false"]) * {
cursor: grab; }
.block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher {
display: block; }
.block-editor-inserter {
display: inline-block;
background: none;
border: none;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
line-height: 1.4; }
@media (min-width: 782px) {
.block-editor-inserter {
position: relative; } }
.block-editor-inserter__popover .block-editor-inserter__menu {
margin: -12px; }
.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__search {
top: -12px; }
.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs {
top: 60px; }
.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area {
overflow: visible;
height: auto; }
.block-editor-inserter__toggle.components-button {
display: inline-flex;
align-items: center;
cursor: pointer;
border: none;
outline: none;
padding: 0;
transition: color 0.2s ease; }
@media (prefers-reduced-motion: reduce) {
.block-editor-inserter__toggle.components-button {
transition-duration: 0s; } }
.block-editor-inserter__menu {
height: 100%;
position: relative;
overflow: visible; }
.block-editor-inserter__main-area {
width: auto;
overflow-y: auto;
height: 100%; }
@media (min-width: 782px) {
.block-editor-inserter__main-area {
width: 350px; } }
.block-editor-inserter__inline-elements {
margin-top: -1px; }
.block-editor-inserter__menu.is-bottom::after {
border-bottom-color: #fff; }
.components-popover.block-editor-inserter__popover {
z-index: 99998; }
.block-editor-inserter__search {
padding: 16px;
position: -webkit-sticky;
position: sticky;
top: 0;
background: #fff;
z-index: 1; }
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
padding: 6px 8px;
box-shadow: 0 0 0 transparent;
transition: box-shadow 0.1s linear;
border-radius: 2px;
border: 1px solid #757575;
/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px;
/* Override core line-height. To be reviewed. */
line-height: normal;
display: block;
padding: 16px 16px 16px 48px;
background: #f0f0f0;
border: none;
width: 100%;
height: 48px;
/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input {
transition-duration: 0s; } }
@media (min-width: 600px) {
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input {
font-size: 13px;
/* Override core line-height. To be reviewed. */
line-height: normal; } }
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:focus {
border-color: #007cba;
border-color: var(--wp-admin-theme-color);
box-shadow: 0 0 0 0.5px #007cba;
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
outline: 2px solid transparent; }
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-input-placeholder {
color: rgba(30, 30, 30, 0.62); }
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-moz-placeholder {
opacity: 1;
color: rgba(30, 30, 30, 0.62); }
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder {
color: rgba(30, 30, 30, 0.62); }
.is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.65); }
.is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-moz-placeholder {
opacity: 1;
color: rgba(255, 255, 255, 0.65); }
.is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.65); }
@media (min-width: 600px) {
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input {
font-size: 13px; } }
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:focus {
background: #fff;
box-shadow: 0 0 0 1.5px #007cba;
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); }
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder {
color: #606a73; }
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-ms-input-placeholder {
color: #606a73; }
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::placeholder {
color: #606a73; }
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-decoration, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-cancel-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-decoration {
-webkit-appearance: none; }
.block-editor-inserter__search-icon {
position: absolute;
top: 0;
left: 20px;
bottom: 0;
display: flex;
align-items: center; }
.block-editor-inserter__search-icon > svg {
margin: 8px; }
.block-editor-inserter__tabs {
display: flex;
flex-direction: column;
margin-top: -8px; }
.block-editor-inserter__tabs .components-tab-panel__tabs {
position: -webkit-sticky;
position: sticky;
top: 72px;
background: #fff;
z-index: 1;
border-bottom: 1px solid #ddd; }
.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
flex-grow: 1;
margin-bottom: -1px; }
.block-editor-inserter__tabs .components-tab-panel__tab-content {
display: flex;
flex-grow: 1;
flex-direction: column;
position: relative; }
.block-editor-inserter__panel-header {
display: inline-flex;
align-items: center;
padding: 16px 16px 0; }
.block-editor-inserter__panel-content {
padding: 0 16px; }
.block-editor-inserter__panel-title {
margin: 0 0 0 12px;
color: #757575;
text-transform: uppercase;
font-size: 11px;
font-weight: 500; }
.block-editor-inserter__block-list {
flex-grow: 1;
position: relative; }
.block-editor-inserter__popover .block-editor-block-types-list {
margin: 0 -8px; }
.block-editor-inserter__reusable-blocks-panel {
position: relative;
text-align: left; }
.block-editor-inserter__manage-reusable-blocks {
display: inline-block;
margin: 16px; }
.block-editor-inserter__no-results {
padding: 32px;
margin-top: 64px;
text-align: center; }
.block-editor-inserter__no-results-icon {
fill: #b5bcc2; }
.block-editor-inserter__child-blocks {
padding: 0 16px; }
.block-editor-inserter__parent-block-header {
display: flex;
align-items: center; }
.block-editor-inserter__parent-block-header h2 {
font-size: 13px; }
.block-editor-inserter__parent-block-header .block-editor-block-icon {
margin-left: 8px; }
.block-editor-inserter__preview-container {
display: none;
width: 300px;
background: #fff;
border-radius: 2px;
border: 1px solid #ddd;
position: absolute;
top: 16px;
right: calc(100% + 16px); }
@media (min-width: 782px) {
.block-editor-inserter__preview-container {
display: block; } }
.block-editor-inserter__preview-container .block-editor-block-card {
padding: 16px; }
.block-editor-inserter__preview-container .block-editor-block-card__title {
font-size: 13px; }
.block-editor-inserter__preview-content {
min-height: 144px;
background: #f0f0f0;
display: -ms-grid;
display: grid;
flex-grow: 1;
align-items: center; }
.block-editor-inserter__preview-content-missing {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
min-height: 144px;
color: #606a73;
background: #f0f0f0; }
.block-editor-inserter__tips {
border-top: 1px solid #ddd;
padding: 16px;
flex-shrink: 0; }
.block-editor-inserter__manage-reusable-blocks-container {
padding: 16px; }
.block-editor-inserter__quick-inserter {
width: 100%; }
@media (min-width: 782px) {
.block-editor-inserter__quick-inserter {
width: 350px; } }
.block-editor-inserter__quick-inserter-results {
padding-bottom: 16px; }
.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header {
height: 0;
padding: 0;
float: right; }
.block-editor-inserter__quick-inserter-patterns {
display: -ms-grid;
display: grid;
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
grid-gap: 8px; }
.block-editor-inserter__quick-inserter-separator {
border-top: 1px solid #ddd; }
.block-editor-inserter__popover.is-quick > .components-popover__content > div {
padding: 0; }
.block-editor-inserter__quick-inserter-expand.components-button {
display: block;
background: #1e1e1e;
color: #fff;
width: 100%;
height: 44px;
border-radius: 0; }
.block-editor-inserter__quick-inserter-expand.components-button:hover {
color: #fff; }
.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled) {
box-shadow: inset 0 0 0 1.5px #1e1e1e, inset 0 0 0 2px #fff; }
.block-editor-post-preview__dropdown {
display: none;
margin-left: 12px;
padding: 0; }
.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize {
padding-right: 40px; }
.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon {
padding-right: 8px; }
.block-editor-post-preview__dropdown-content .components-popover__content {
overflow-y: visible; }
.block-editor-post-preview__dropdown-content .components-menu-group + .components-menu-group {
border-top: 1px solid #ccc;
padding: 8px 12px;
margin-right: -12px;
margin-left: -12px; }
@media (min-width: 600px) {
.editor-post-preview {
display: none; }
.block-editor-post-preview__dropdown {
display: flex; } }
================================================
FILE: public/vendor/gutenberg/styles/wp-block-editor/style.css
================================================
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoints & Media Queries
*/
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block UI.
*/
/**
* Border radii.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
--wp-admin-theme-color-darker-20: #005a87; }
#start-resizable-editor-section {
display: none; }
.block-editor-autocompleters__block .block-editor-block-icon {
margin-right: 8px; }
.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content {
min-width: 0;
width: auto; }
.block-editor-block-alignment-matrix-toolbar__popover .components-popover__content > div {
padding: 8px; }
.block-editor-block-icon {
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px; }
.block-editor-block-icon.has-colors svg {
fill: currentColor; }
.block-editor-block-icon svg {
min-width: 20px;
min-height: 20px;
max-width: 24px;
max-height: 24px; }
.block-editor-block-inspector .components-base-control {
margin-bottom: 24px; }
.block-editor-block-inspector .components-base-control:last-child {
margin-bottom: 8px; }
.block-editor-block-inspector .components-panel__body {
border: none;
border-top: 1px solid #f0f0f0; }
.block-editor-block-inspector .block-editor-block-card {
padding: 16px; }
.block-editor-block-inspector__no-blocks {
display: block;
font-size: 13px;
background: #fff;
padding: 32px 16px;
text-align: center; }
.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * {
z-index: 1; }
.block-editor-block-styles .block-editor-block-list__block {
margin: 0; }
/**
* Notices & Block Selected/Hover Styles.
*/
.block-editor-block-list__layout .block-editor-block-list__block {
position: relative;
overflow-wrap: break-word;
/**
* Notices
*/
/**
* Block Layout
*/ }
.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notic
gitextract_54f2y3op/
├── .eslintignore
├── .eslintrc
├── .gitignore
├── CHANGELOG.md
├── LICENSE
├── README.md
├── config/
│ ├── block-vars.js
│ ├── env.js
│ ├── gutenberg/
│ │ ├── README.md
│ │ ├── assets-queue.js
│ │ ├── index.js
│ │ ├── scripts.json
│ │ ├── styles.json
│ │ ├── update.sh
│ │ └── vendor.json
│ ├── jest/
│ │ ├── cssTransform.js
│ │ └── fileTransform.js
│ ├── paths.js
│ ├── webpack.config.dev.js
│ ├── webpack.config.prod.js
│ └── webpackDevServer.config.js
├── g-scripts.txt
├── g-styles.txt
├── package.json
├── public/
│ ├── index.html
│ ├── manifest.json
│ └── vendor/
│ ├── g-data.js
│ ├── gutenberg/
│ │ ├── styles/
│ │ │ ├── wp-block-directory/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-block-editor/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-block-library/
│ │ │ │ ├── editor-rtl.css
│ │ │ │ ├── editor.css
│ │ │ │ ├── style-rtl.css
│ │ │ │ ├── style.css
│ │ │ │ ├── theme-rtl.css
│ │ │ │ └── theme.css
│ │ │ ├── wp-components/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-edit-post/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-editor/
│ │ │ │ ├── editor-styles-rtl.css
│ │ │ │ ├── editor-styles.css
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-format-library/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ ├── wp-list-reusable-blocks/
│ │ │ │ ├── style-rtl.css
│ │ │ │ └── style.css
│ │ │ └── wp-nux/
│ │ │ ├── style-rtl.css
│ │ │ └── style.css
│ │ ├── vendor/
│ │ │ ├── lodash.js
│ │ │ ├── moment.js
│ │ │ ├── react-dom.js
│ │ │ ├── react.js
│ │ │ ├── wp-polyfill-dom-rect.js
│ │ │ ├── wp-polyfill-element-closest.js
│ │ │ ├── wp-polyfill-fetch.js
│ │ │ ├── wp-polyfill-formdata.js
│ │ │ ├── wp-polyfill-node-contains.js
│ │ │ ├── wp-polyfill-url.js
│ │ │ └── wp-polyfill.js
│ │ ├── wp-a11y.js
│ │ ├── wp-annotations.js
│ │ ├── wp-api-fetch.js
│ │ ├── wp-autop.js
│ │ ├── wp-blob.js
│ │ ├── wp-block-directory.js
│ │ ├── wp-block-editor.js
│ │ ├── wp-block-library.js
│ │ ├── wp-block-serialization-default-parser.js
│ │ ├── wp-blocks.js
│ │ ├── wp-components.js
│ │ ├── wp-compose.js
│ │ ├── wp-core-data.js
│ │ ├── wp-data-controls.js
│ │ ├── wp-data.js
│ │ ├── wp-date.js
│ │ ├── wp-deprecated.js
│ │ ├── wp-dom-ready.js
│ │ ├── wp-dom.js
│ │ ├── wp-edit-post.js
│ │ ├── wp-editor.js
│ │ ├── wp-element.js
│ │ ├── wp-escape-html.js
│ │ ├── wp-format-library.js
│ │ ├── wp-hooks.js
│ │ ├── wp-html-entities.js
│ │ ├── wp-i18n.js
│ │ ├── wp-is-shallow-equal.js
│ │ ├── wp-keyboard-shortcuts.js
│ │ ├── wp-keycodes.js
│ │ ├── wp-list-reusable-blocks.js
│ │ ├── wp-media-utils.js
│ │ ├── wp-notices.js
│ │ ├── wp-nux.js
│ │ ├── wp-plugins.js
│ │ ├── wp-primitives.js
│ │ ├── wp-priority-queue.js
│ │ ├── wp-redux-routine.js
│ │ ├── wp-rich-text.js
│ │ ├── wp-server-side-render.js
│ │ ├── wp-shortcode.js
│ │ ├── wp-token-list.js
│ │ ├── wp-url.js
│ │ ├── wp-viewport.js
│ │ ├── wp-warning.js
│ │ └── wp-wordcount.js
│ └── no-conflict.js
├── scripts/
│ ├── build.js
│ ├── g-scripts.js
│ ├── g-update.js
│ ├── start.js
│ └── test.js
└── src/
├── core/
│ ├── api-fetch.js
│ ├── index.js
│ ├── media-library.scss
│ ├── media-upload.js
│ ├── settings.js
│ └── style.scss
├── data/
│ ├── categories.json
│ ├── taxonomies.json
│ ├── themes.json
│ ├── types.json
│ └── users.json
├── globals/
│ ├── api-fetch.js
│ ├── api-routes.js
│ ├── embeds.js
│ ├── fake-data.js
│ └── fake-media.js
├── index.js
├── pages/
│ ├── editor.js
│ ├── editor.scss
│ └── preview.js
└── serviceWorker.js
Showing preview only (529K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (6040 symbols across 74 files)
FILE: config/block-vars.js
function getFileName (line 26) | function getFileName (name, oldName, defName) {
FILE: config/env.js
constant NODE_ENV (line 10) | const NODE_ENV = process.env.NODE_ENV;
constant REACT_APP (line 61) | const REACT_APP = /^REACT_APP_/i;
function getClientEnvironment (line 63) | function getClientEnvironment(publicUrl) {
FILE: config/jest/cssTransform.js
method process (line 7) | process() {
method getCacheKey (line 10) | getCacheKey() {
FILE: config/jest/fileTransform.js
method process (line 9) | process(src, filename) {
FILE: config/paths.js
function ensureSlash (line 15) | function ensureSlash(inputPath, needsSlash) {
function getServedPath (line 34) | function getServedPath () {
FILE: config/webpackDevServer.config.js
method before (line 86) | before(app, server) {
FILE: public/vendor/gutenberg/vendor/lodash.js
function apply (line 471) | function apply(func, thisArg, args) {
function arrayAggregator (line 491) | function arrayAggregator(array, setter, iteratee, accumulator) {
function arrayEach (line 511) | function arrayEach(array, iteratee) {
function arrayEachRight (line 532) | function arrayEachRight(array, iteratee) {
function arrayEvery (line 553) | function arrayEvery(array, predicate) {
function arrayFilter (line 574) | function arrayFilter(array, predicate) {
function arrayIncludes (line 598) | function arrayIncludes(array, value) {
function arrayIncludesWith (line 612) | function arrayIncludesWith(array, value, comparator) {
function arrayMap (line 633) | function arrayMap(array, iteratee) {
function arrayPush (line 652) | function arrayPush(array, values) {
function arrayReduce (line 675) | function arrayReduce(array, iteratee, accumulator, initAccum) {
function arrayReduceRight (line 700) | function arrayReduceRight(array, iteratee, accumulator, initAccum) {
function arraySome (line 721) | function arraySome(array, predicate) {
function asciiToArray (line 749) | function asciiToArray(string) {
function asciiWords (line 760) | function asciiWords(string) {
function baseFindKey (line 775) | function baseFindKey(collection, predicate, eachFunc) {
function baseFindIndex (line 797) | function baseFindIndex(array, predicate, fromIndex, fromRight) {
function baseIndexOf (line 818) | function baseIndexOf(array, value, fromIndex) {
function baseIndexOfWith (line 834) | function baseIndexOfWith(array, value, fromIndex, comparator) {
function baseIsNaN (line 853) | function baseIsNaN(value) {
function baseMean (line 866) | function baseMean(array, iteratee) {
function baseProperty (line 878) | function baseProperty(key) {
function basePropertyOf (line 891) | function basePropertyOf(object) {
function baseReduce (line 910) | function baseReduce(collection, iteratee, accumulator, initAccum, eachFu...
function baseSortBy (line 929) | function baseSortBy(array, comparer) {
function baseSum (line 948) | function baseSum(array, iteratee) {
function baseTimes (line 971) | function baseTimes(n, iteratee) {
function baseToPairs (line 990) | function baseToPairs(object, props) {
function baseUnary (line 1003) | function baseUnary(func) {
function baseValues (line 1019) | function baseValues(object, props) {
function cacheHas (line 1033) | function cacheHas(cache, key) {
function charsStartIndex (line 1046) | function charsStartIndex(strSymbols, chrSymbols) {
function charsEndIndex (line 1063) | function charsEndIndex(strSymbols, chrSymbols) {
function countHolders (line 1078) | function countHolders(array, placeholder) {
function escapeStringChar (line 1116) | function escapeStringChar(chr) {
function getValue (line 1128) | function getValue(object, key) {
function hasUnicode (line 1139) | function hasUnicode(string) {
function hasUnicodeWord (line 1150) | function hasUnicodeWord(string) {
function iteratorToArray (line 1161) | function iteratorToArray(iterator) {
function mapToArray (line 1178) | function mapToArray(map) {
function overArg (line 1196) | function overArg(func, transform) {
function replaceHolders (line 1211) | function replaceHolders(array, placeholder) {
function setToArray (line 1234) | function setToArray(set) {
function setToPairs (line 1251) | function setToPairs(set) {
function strictIndexOf (line 1271) | function strictIndexOf(array, value, fromIndex) {
function strictLastIndexOf (line 1293) | function strictLastIndexOf(array, value, fromIndex) {
function stringSize (line 1310) | function stringSize(string) {
function stringToArray (line 1323) | function stringToArray(string) {
function unicodeSize (line 1345) | function unicodeSize(string) {
function unicodeToArray (line 1360) | function unicodeToArray(string) {
function unicodeWords (line 1371) | function unicodeWords(string) {
function lodash (line 1648) | function lodash(value) {
function object (line 1669) | function object() {}
function baseLodash (line 1689) | function baseLodash() {
function LodashWrapper (line 1700) | function LodashWrapper(value, chainAll) {
function LazyWrapper (line 1785) | function LazyWrapper(value) {
function lazyClone (line 1803) | function lazyClone() {
function lazyReverse (line 1822) | function lazyReverse() {
function lazyValue (line 1842) | function lazyValue() {
function Hash (line 1904) | function Hash(entries) {
function hashClear (line 1922) | function hashClear() {
function hashDelete (line 1937) | function hashDelete(key) {
function hashGet (line 1952) | function hashGet(key) {
function hashHas (line 1970) | function hashHas(key) {
function hashSet (line 1985) | function hashSet(key, value) {
function ListCache (line 2008) | function ListCache(entries) {
function listCacheClear (line 2026) | function listCacheClear() {
function listCacheDelete (line 2040) | function listCacheDelete(key) {
function listCacheGet (line 2066) | function listCacheGet(key) {
function listCacheHas (line 2082) | function listCacheHas(key) {
function listCacheSet (line 2096) | function listCacheSet(key, value) {
function MapCache (line 2125) | function MapCache(entries) {
function mapCacheClear (line 2143) | function mapCacheClear() {
function mapCacheDelete (line 2161) | function mapCacheDelete(key) {
function mapCacheGet (line 2176) | function mapCacheGet(key) {
function mapCacheHas (line 2189) | function mapCacheHas(key) {
function mapCacheSet (line 2203) | function mapCacheSet(key, value) {
function SetCache (line 2229) | function SetCache(values) {
function setCacheAdd (line 2249) | function setCacheAdd(value) {
function setCacheHas (line 2263) | function setCacheHas(value) {
function Stack (line 2280) | function Stack(entries) {
function stackClear (line 2292) | function stackClear() {
function stackDelete (line 2306) | function stackDelete(key) {
function stackGet (line 2323) | function stackGet(key) {
function stackHas (line 2336) | function stackHas(key) {
function stackSet (line 2350) | function stackSet(key, value) {
function arrayLikeKeys (line 2383) | function arrayLikeKeys(value, inherited) {
function arraySample (line 2417) | function arraySample(array) {
function arraySampleSize (line 2430) | function arraySampleSize(array, n) {
function arrayShuffle (line 2441) | function arrayShuffle(array) {
function assignMergeValue (line 2454) | function assignMergeValue(object, key, value) {
function assignValue (line 2471) | function assignValue(object, key, value) {
function assocIndexOf (line 2487) | function assocIndexOf(array, key) {
function baseAggregator (line 2508) | function baseAggregator(collection, setter, iteratee, accumulator) {
function baseAssign (line 2524) | function baseAssign(object, source) {
function baseAssignIn (line 2537) | function baseAssignIn(object, source) {
function baseAssignValue (line 2550) | function baseAssignValue(object, key, value) {
function baseAt (line 2571) | function baseAt(object, paths) {
function baseClamp (line 2592) | function baseClamp(number, lower, upper) {
function baseClone (line 2620) | function baseClone(value, bitmask, customizer, key, object, stack) {
function baseConforms (line 2703) | function baseConforms(source) {
function baseConformsTo (line 2718) | function baseConformsTo(object, source, props) {
function baseDelay (line 2746) | function baseDelay(func, wait, args) {
function baseDifference (line 2764) | function baseDifference(array, values, iteratee, comparator) {
function baseEvery (line 2838) | function baseEvery(collection, predicate) {
function baseExtremum (line 2857) | function baseExtremum(array, iteratee, comparator) {
function baseFill (line 2886) | function baseFill(array, value, start, end) {
function baseFilter (line 2912) | function baseFilter(collection, predicate) {
function baseFlatten (line 2933) | function baseFlatten(array, depth, predicate, isStrict, result) {
function baseForOwn (line 2989) | function baseForOwn(object, iteratee) {
function baseForOwnRight (line 3001) | function baseForOwnRight(object, iteratee) {
function baseFunctions (line 3014) | function baseFunctions(object, props) {
function baseGet (line 3028) | function baseGet(object, path) {
function baseGetAllKeys (line 3051) | function baseGetAllKeys(object, keysFunc, symbolsFunc) {
function baseGetTag (line 3063) | function baseGetTag(value) {
function baseGt (line 3081) | function baseGt(value, other) {
function baseHas (line 3093) | function baseHas(object, key) {
function baseHasIn (line 3105) | function baseHasIn(object, key) {
function baseInRange (line 3118) | function baseInRange(number, start, end) {
function baseIntersection (line 3132) | function baseIntersection(arrays, iteratee, comparator) {
function baseInverter (line 3196) | function baseInverter(object, setter, iteratee, accumulator) {
function baseInvoke (line 3213) | function baseInvoke(object, path, args) {
function baseIsArguments (line 3227) | function baseIsArguments(value) {
function baseIsArrayBuffer (line 3238) | function baseIsArrayBuffer(value) {
function baseIsDate (line 3249) | function baseIsDate(value) {
function baseIsEqual (line 3267) | function baseIsEqual(value, other, bitmask, customizer, stack) {
function baseIsEqualDeep (line 3291) | function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, ...
function baseIsMap (line 3343) | function baseIsMap(value) {
function baseIsMatch (line 3357) | function baseIsMatch(object, source, matchData, customizer) {
function baseIsNative (line 3409) | function baseIsNative(value) {
function baseIsRegExp (line 3424) | function baseIsRegExp(value) {
function baseIsSet (line 3435) | function baseIsSet(value) {
function baseIsTypedArray (line 3446) | function baseIsTypedArray(value) {
function baseIteratee (line 3458) | function baseIteratee(value) {
function baseKeys (line 3482) | function baseKeys(object) {
function baseKeysIn (line 3502) | function baseKeysIn(object) {
function baseLt (line 3526) | function baseLt(value, other) {
function baseMap (line 3538) | function baseMap(collection, iteratee) {
function baseMatches (line 3555) | function baseMatches(source) {
function baseMatchesProperty (line 3573) | function baseMatchesProperty(path, srcValue) {
function baseMerge (line 3596) | function baseMerge(object, source, srcIndex, customizer, stack) {
function baseMergeDeep (line 3633) | function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customi...
function baseNth (line 3703) | function baseNth(array, n) {
function baseOrderBy (line 3721) | function baseOrderBy(collection, iteratees, orders) {
function basePick (line 3759) | function basePick(object, paths) {
function basePickBy (line 3774) | function basePickBy(object, paths, predicate) {
function basePropertyDeep (line 3797) | function basePropertyDeep(path) {
function basePullAll (line 3814) | function basePullAll(array, values, iteratee, comparator) {
function basePullAt (line 3850) | function basePullAt(array, indexes) {
function baseRandom (line 3877) | function baseRandom(lower, upper) {
function baseRange (line 3892) | function baseRange(start, end, step, fromRight) {
function baseRepeat (line 3912) | function baseRepeat(string, n) {
function baseRest (line 3940) | function baseRest(func, start) {
function baseSample (line 3951) | function baseSample(collection) {
function baseSampleSize (line 3963) | function baseSampleSize(collection, n) {
function baseSet (line 3978) | function baseSet(object, path, value, customizer) {
function baseShuffle (line 4049) | function baseShuffle(collection) {
function baseSlice (line 4062) | function baseSlice(array, start, end) {
function baseSome (line 4092) | function baseSome(collection, predicate) {
function baseSortedIndex (line 4114) | function baseSortedIndex(array, value, retHighest) {
function baseSortedIndexBy (line 4148) | function baseSortedIndexBy(array, value, iteratee, retHighest) {
function baseSortedUniq (line 4200) | function baseSortedUniq(array, iteratee) {
function baseToNumber (line 4226) | function baseToNumber(value) {
function baseToString (line 4244) | function baseToString(value) {
function baseUniq (line 4269) | function baseUniq(array, iteratee, comparator) {
function baseUnset (line 4329) | function baseUnset(object, path) {
function baseUpdate (line 4345) | function baseUpdate(object, path, updater, customizer) {
function baseWhile (line 4360) | function baseWhile(array, predicate, isDrop, fromRight) {
function baseWrapperValue (line 4382) | function baseWrapperValue(value, actions) {
function baseXor (line 4402) | function baseXor(arrays, iteratee, comparator) {
function baseZipObject (line 4432) | function baseZipObject(props, values, assignFunc) {
function castArrayLikeObject (line 4452) | function castArrayLikeObject(value) {
function castFunction (line 4463) | function castFunction(value) {
function castPath (line 4475) | function castPath(value, object) {
function castSlice (line 4502) | function castSlice(array, start, end) {
function cloneBuffer (line 4526) | function cloneBuffer(buffer, isDeep) {
function cloneArrayBuffer (line 4544) | function cloneArrayBuffer(arrayBuffer) {
function cloneDataView (line 4558) | function cloneDataView(dataView, isDeep) {
function cloneRegExp (line 4570) | function cloneRegExp(regexp) {
function cloneSymbol (line 4583) | function cloneSymbol(symbol) {
function cloneTypedArray (line 4595) | function cloneTypedArray(typedArray, isDeep) {
function compareAscending (line 4608) | function compareAscending(value, other) {
function compareMultiple (line 4652) | function compareMultiple(object, other, orders) {
function composeArgs (line 4690) | function composeArgs(args, partials, holders, isCurried) {
function composeArgsRight (line 4725) | function composeArgsRight(args, partials, holders, isCurried) {
function copyArray (line 4759) | function copyArray(source, array) {
function copyObject (line 4780) | function copyObject(source, props, object, customizer) {
function copySymbols (line 4814) | function copySymbols(source, object) {
function copySymbolsIn (line 4826) | function copySymbolsIn(source, object) {
function createAggregator (line 4838) | function createAggregator(setter, initializer) {
function createAssigner (line 4854) | function createAssigner(assigner) {
function createBaseEach (line 4888) | function createBaseEach(eachFunc, fromRight) {
function createBaseFor (line 4916) | function createBaseFor(fromRight) {
function createBind (line 4943) | function createBind(func, bitmask, thisArg) {
function createCaseFirst (line 4961) | function createCaseFirst(methodName) {
function createCompounder (line 4988) | function createCompounder(callback) {
function createCtor (line 5002) | function createCtor(Ctor) {
function createCurry (line 5036) | function createCurry(func, bitmask, arity) {
function createFind (line 5071) | function createFind(findIndexFunc) {
function createFlow (line 5091) | function createFlow(fromRight) {
function createHybrid (line 5164) | function createHybrid(func, bitmask, thisArg, partials, holders, partial...
function createInverter (line 5226) | function createInverter(setter, toIteratee) {
function createMathOperation (line 5240) | function createMathOperation(operator, defaultValue) {
function createOver (line 5273) | function createOver(arrayFunc) {
function createPadding (line 5294) | function createPadding(length, chars) {
function createPartial (line 5319) | function createPartial(func, bitmask, thisArg, partials) {
function createRange (line 5349) | function createRange(fromRight) {
function createRelationalOperation (line 5374) | function createRelationalOperation(operator) {
function createRecurry (line 5401) | function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, pa...
function createRound (line 5434) | function createRound(methodName) {
function createToPairs (line 5470) | function createToPairs(keysFunc) {
function createWrap (line 5508) | function createWrap(func, bitmask, thisArg, partials, holders, argPos, a...
function customDefaultsAssignIn (line 5575) | function customDefaultsAssignIn(objValue, srcValue, key, object) {
function customDefaultsMerge (line 5597) | function customDefaultsMerge(objValue, srcValue, key, object, source, st...
function customOmitClone (line 5616) | function customOmitClone(value) {
function equalArrays (line 5633) | function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
function equalByTag (line 5712) | function equalByTag(object, other, tag, bitmask, customizer, equalFunc, ...
function equalObjects (line 5790) | function equalObjects(object, other, bitmask, customizer, equalFunc, sta...
function flatRest (line 5862) | function flatRest(func) {
function getAllKeys (line 5873) | function getAllKeys(object) {
function getAllKeysIn (line 5885) | function getAllKeysIn(object) {
function getFuncName (line 5907) | function getFuncName(func) {
function getHolder (line 5929) | function getHolder(func) {
function getIteratee (line 5945) | function getIteratee() {
function getMapData (line 5959) | function getMapData(map, key) {
function getMatchData (line 5973) | function getMatchData(object) {
function getNative (line 5994) | function getNative(object, key) {
function getRawTag (line 6006) | function getRawTag(value) {
function getView (line 6102) | function getView(start, end, transforms) {
function getWrapDetails (line 6127) | function getWrapDetails(source) {
function hasPath (line 6141) | function hasPath(object, path, hasFunc) {
function initCloneArray (line 6170) | function initCloneArray(array) {
function initCloneObject (line 6189) | function initCloneObject(object) {
function initCloneByTag (line 6207) | function initCloneByTag(object, tag, isDeep) {
function insertWrapDetails (line 6251) | function insertWrapDetails(source, details) {
function isFlattenable (line 6269) | function isFlattenable(value) {
function isIndex (line 6282) | function isIndex(value, length) {
function isIterateeCall (line 6302) | function isIterateeCall(value, index, object) {
function isKey (line 6324) | function isKey(value, object) {
function isKeyable (line 6344) | function isKeyable(value) {
function isLaziable (line 6359) | function isLaziable(func) {
function isMasked (line 6380) | function isMasked(func) {
function isPrototype (line 6400) | function isPrototype(value) {
function isStrictComparable (line 6415) | function isStrictComparable(value) {
function matchesStrictComparable (line 6428) | function matchesStrictComparable(key, srcValue) {
function memoizeCapped (line 6446) | function memoizeCapped(func) {
function mergeData (line 6474) | function mergeData(data, source) {
function nativeKeysIn (line 6538) | function nativeKeysIn(object) {
function objectToString (line 6555) | function objectToString(value) {
function overRest (line 6568) | function overRest(func, start, transform) {
function parent (line 6597) | function parent(object, path) {
function reorder (line 6611) | function reorder(array, indexes) {
function safeGet (line 6631) | function safeGet(object, key) {
function setWrapToString (line 6691) | function setWrapToString(wrapper, reference, bitmask) {
function shortOut (line 6705) | function shortOut(func) {
function shuffleSelf (line 6733) | function shuffleSelf(array, size) {
function toKey (line 6775) | function toKey(value) {
function toSource (line 6790) | function toSource(func) {
function updateWrapDetails (line 6810) | function updateWrapDetails(details, bitmask) {
function wrapperClone (line 6827) | function wrapperClone(wrapper) {
function chunk (line 6861) | function chunk(array, size, guard) {
function compact (line 6896) | function compact(array) {
function concat (line 6933) | function concat() {
function drop (line 7069) | function drop(array, n, guard) {
function dropRight (line 7103) | function dropRight(array, n, guard) {
function dropRightWhile (line 7148) | function dropRightWhile(array, predicate) {
function dropWhile (line 7189) | function dropWhile(array, predicate) {
function fill (line 7224) | function fill(array, value, start, end) {
function findIndex (line 7271) | function findIndex(array, predicate, fromIndex) {
function findLastIndex (line 7318) | function findLastIndex(array, predicate, fromIndex) {
function flatten (line 7347) | function flatten(array) {
function flattenDeep (line 7366) | function flattenDeep(array) {
function flattenDepth (line 7391) | function flattenDepth(array, depth) {
function fromPairs (line 7415) | function fromPairs(pairs) {
function head (line 7445) | function head(array) {
function indexOf (line 7472) | function indexOf(array, value, fromIndex) {
function initial (line 7498) | function initial(array) {
function join (line 7613) | function join(array, separator) {
function last (line 7631) | function last(array) {
function lastIndexOf (line 7657) | function lastIndexOf(array, value, fromIndex) {
function nth (line 7693) | function nth(array, n) {
function pullAll (line 7742) | function pullAll(array, values) {
function pullAllBy (line 7771) | function pullAllBy(array, values, iteratee) {
function pullAllWith (line 7800) | function pullAllWith(array, values, comparator) {
function remove (line 7869) | function remove(array, predicate) {
function reverse (line 7913) | function reverse(array) {
function slice (line 7933) | function slice(array, start, end) {
function sortedIndex (line 7966) | function sortedIndex(array, value) {
function sortedIndexBy (line 7995) | function sortedIndexBy(array, value, iteratee) {
function sortedIndexOf (line 8015) | function sortedIndexOf(array, value) {
function sortedLastIndex (line 8044) | function sortedLastIndex(array, value) {
function sortedLastIndexBy (line 8073) | function sortedLastIndexBy(array, value, iteratee) {
function sortedLastIndexOf (line 8093) | function sortedLastIndexOf(array, value) {
function sortedUniq (line 8119) | function sortedUniq(array) {
function sortedUniqBy (line 8141) | function sortedUniqBy(array, iteratee) {
function tail (line 8161) | function tail(array) {
function take (line 8191) | function take(array, n, guard) {
function takeRight (line 8224) | function takeRight(array, n, guard) {
function takeRightWhile (line 8269) | function takeRightWhile(array, predicate) {
function takeWhile (line 8310) | function takeWhile(array, predicate) {
function uniq (line 8412) | function uniq(array) {
function uniqBy (line 8439) | function uniqBy(array, iteratee) {
function uniqWith (line 8463) | function uniqWith(array, comparator) {
function unzip (line 8487) | function unzip(array) {
function unzipWith (line 8524) | function unzipWith(array, iteratee) {
function zipObject (line 8677) | function zipObject(props, values) {
function zipObjectDeep (line 8696) | function zipObjectDeep(props, values) {
function chain (line 8759) | function chain(value) {
function tap (line 8788) | function tap(value, interceptor) {
function thru (line 8816) | function thru(value, interceptor) {
function wrapperChain (line 8887) | function wrapperChain() {
function wrapperCommit (line 8917) | function wrapperCommit() {
function wrapperNext (line 8943) | function wrapperNext() {
function wrapperToIterator (line 8971) | function wrapperToIterator() {
function wrapperPlant (line 8999) | function wrapperPlant(value) {
function wrapperReverse (line 9039) | function wrapperReverse() {
function wrapperValue (line 9071) | function wrapperValue() {
function every (line 9148) | function every(collection, predicate, guard) {
function filter (line 9197) | function filter(collection, predicate) {
function flatMap (line 9282) | function flatMap(collection, iteratee) {
function flatMapDeep (line 9306) | function flatMapDeep(collection, iteratee) {
function flatMapDepth (line 9331) | function flatMapDepth(collection, iteratee, depth) {
function forEach (line 9366) | function forEach(collection, iteratee) {
function forEachRight (line 9391) | function forEachRight(collection, iteratee) {
function includes (line 9457) | function includes(collection, value, fromIndex, guard) {
function map (line 9578) | function map(collection, iteratee) {
function orderBy (line 9612) | function orderBy(collection, iteratees, orders, guard) {
function reduce (line 9703) | function reduce(collection, iteratee, accumulator) {
function reduceRight (line 9732) | function reduceRight(collection, iteratee, accumulator) {
function reject (line 9773) | function reject(collection, predicate) {
function sample (line 9792) | function sample(collection) {
function sampleSize (line 9817) | function sampleSize(collection, n, guard) {
function shuffle (line 9842) | function shuffle(collection) {
function size (line 9868) | function size(collection) {
function some (line 9918) | function some(collection, predicate, guard) {
function after (line 10016) | function after(n, func) {
function ary (line 10045) | function ary(func, n, guard) {
function before (line 10068) | function before(n, func) {
function curry (line 10224) | function curry(func, arity, guard) {
function curryRight (line 10269) | function curryRight(func, arity, guard) {
function debounce (line 10330) | function debounce(func, wait, options) {
function flip (line 10518) | function flip(func) {
function memoize (line 10566) | function memoize(func, resolver) {
function negate (line 10609) | function negate(predicate) {
function once (line 10643) | function once(func) {
function rest (line 10821) | function rest(func, start) {
function spread (line 10863) | function spread(func, start) {
function throttle (line 10923) | function throttle(func, wait, options) {
function unary (line 10956) | function unary(func) {
function wrap (line 10982) | function wrap(value, wrapper) {
function castArray (line 11021) | function castArray() {
function clone (line 11055) | function clone(value) {
function cloneWith (line 11090) | function cloneWith(value, customizer) {
function cloneDeep (line 11113) | function cloneDeep(value) {
function cloneDeepWith (line 11145) | function cloneDeepWith(value, customizer) {
function conformsTo (line 11174) | function conformsTo(object, source) {
function eq (line 11210) | function eq(value, other) {
function isArrayLike (line 11358) | function isArrayLike(value) {
function isArrayLikeObject (line 11387) | function isArrayLikeObject(value) {
function isBoolean (line 11408) | function isBoolean(value) {
function isElement (line 11468) | function isElement(value) {
function isEmpty (line 11505) | function isEmpty(value) {
function isEqual (line 11557) | function isEqual(value, other) {
function isEqualWith (line 11593) | function isEqualWith(value, other, customizer) {
function isError (line 11617) | function isError(value) {
function isFinite (line 11652) | function isFinite(value) {
function isFunction (line 11673) | function isFunction(value) {
function isInteger (line 11709) | function isInteger(value) {
function isLength (line 11739) | function isLength(value) {
function isObject (line 11769) | function isObject(value) {
function isObjectLike (line 11798) | function isObjectLike(value) {
function isMatch (line 11849) | function isMatch(object, source) {
function isMatchWith (line 11885) | function isMatchWith(object, source, customizer) {
function isNaN (line 11918) | function isNaN(value) {
function isNative (line 11951) | function isNative(value) {
function isNull (line 11975) | function isNull(value) {
function isNil (line 11999) | function isNil(value) {
function isNumber (line 12029) | function isNumber(value) {
function isPlainObject (line 12062) | function isPlainObject(value) {
function isSafeInteger (line 12121) | function isSafeInteger(value) {
function isString (line 12161) | function isString(value) {
function isSymbol (line 12183) | function isSymbol(value) {
function isUndefined (line 12224) | function isUndefined(value) {
function isWeakMap (line 12245) | function isWeakMap(value) {
function isWeakSet (line 12266) | function isWeakSet(value) {
function toArray (line 12345) | function toArray(value) {
function toFinite (line 12384) | function toFinite(value) {
function toInteger (line 12422) | function toInteger(value) {
function toLength (line 12456) | function toLength(value) {
function toNumber (line 12483) | function toNumber(value) {
function toPlainObject (line 12528) | function toPlainObject(value) {
function toSafeInteger (line 12556) | function toSafeInteger(value) {
function toString (line 12583) | function toString(value) {
function create (line 12786) | function create(prototype, properties) {
function findKey (line 12902) | function findKey(object, predicate) {
function findLastKey (line 12941) | function findLastKey(object, predicate) {
function forIn (line 12973) | function forIn(object, iteratee) {
function forInRight (line 13005) | function forInRight(object, iteratee) {
function forOwn (line 13039) | function forOwn(object, iteratee) {
function forOwnRight (line 13069) | function forOwnRight(object, iteratee) {
function functions (line 13096) | function functions(object) {
function functionsIn (line 13123) | function functionsIn(object) {
function get (line 13152) | function get(object, path, defaultValue) {
function has (line 13184) | function has(object, path) {
function hasIn (line 13214) | function hasIn(object, path) {
function keys (line 13332) | function keys(object) {
function keysIn (line 13359) | function keysIn(object) {
function mapKeys (line 13384) | function mapKeys(object, iteratee) {
function mapValues (line 13422) | function mapValues(object, iteratee) {
function omitBy (line 13564) | function omitBy(object, predicate) {
function pickBy (line 13607) | function pickBy(object, predicate) {
function result (line 13649) | function result(object, path, defaultValue) {
function set (line 13699) | function set(object, path, value) {
function setWith (line 13727) | function setWith(object, path, value, customizer) {
function transform (line 13814) | function transform(object, iteratee, accumulator) {
function unset (line 13864) | function unset(object, path) {
function update (line 13895) | function update(object, path, updater) {
function updateWith (line 13923) | function updateWith(object, path, updater, customizer) {
function values (line 13954) | function values(object) {
function valuesIn (line 13982) | function valuesIn(object) {
function clamp (line 14007) | function clamp(number, lower, upper) {
function inRange (line 14061) | function inRange(number, start, end) {
function random (line 14104) | function random(lower, upper, floating) {
function capitalize (line 14185) | function capitalize(string) {
function deburr (line 14207) | function deburr(string) {
function endsWith (line 14235) | function endsWith(string, target, position) {
function escape (line 14277) | function escape(string) {
function escapeRegExp (line 14299) | function escapeRegExp(string) {
function pad (line 14397) | function pad(string, length, chars) {
function padEnd (line 14436) | function padEnd(string, length, chars) {
function padStart (line 14469) | function padStart(string, length, chars) {
function parseInt (line 14503) | function parseInt(string, radix, guard) {
function repeat (line 14534) | function repeat(string, n, guard) {
function replace (line 14562) | function replace() {
function split (line 14613) | function split(string, separator, limit) {
function startsWith (line 14682) | function startsWith(string, target, position) {
function template (line 14796) | function template(string, options, guard) {
function toLower (line 14928) | function toLower(value) {
function toUpper (line 14953) | function toUpper(value) {
function trim (line 14979) | function trim(string, chars, guard) {
function trimEnd (line 15014) | function trimEnd(string, chars, guard) {
function trimStart (line 15047) | function trimStart(string, chars, guard) {
function truncate (line 15098) | function truncate(string, options) {
function unescape (line 15173) | function unescape(string) {
function words (line 15242) | function words(string, pattern, guard) {
function cond (line 15347) | function cond(pairs) {
function conforms (line 15393) | function conforms(source) {
function constant (line 15416) | function constant(value) {
function defaultTo (line 15442) | function defaultTo(value, defaultValue) {
function identity (line 15509) | function identity(value) {
function iteratee (line 15555) | function iteratee(func) {
function matches (line 15594) | function matches(source) {
function matchesProperty (line 15631) | function matchesProperty(path, srcValue) {
function mixin (line 15730) | function mixin(object, source, options) {
function noConflict (line 15779) | function noConflict() {
function noop (line 15798) | function noop() {
function nthArg (line 15822) | function nthArg(n) {
function property (line 15934) | function property(path) {
function propertyOf (line 15959) | function propertyOf(object) {
function stubArray (line 16064) | function stubArray() {
function stubFalse (line 16081) | function stubFalse() {
function stubObject (line 16103) | function stubObject() {
function stubString (line 16120) | function stubString() {
function stubTrue (line 16137) | function stubTrue() {
function times (line 16160) | function times(n, iteratee) {
function toPath (line 16195) | function toPath(value) {
function uniqueId (line 16219) | function uniqueId(prefix) {
function max (line 16328) | function max(array) {
function maxBy (line 16357) | function maxBy(array, iteratee) {
function mean (line 16377) | function mean(array) {
function meanBy (line 16404) | function meanBy(array, iteratee) {
function min (line 16426) | function min(array) {
function minBy (line 16455) | function minBy(array, iteratee) {
function sum (line 16536) | function sum(array) {
function sumBy (line 16565) | function sumBy(array, iteratee) {
FILE: public/vendor/gutenberg/vendor/moment.js
function hooks (line 15) | function hooks() {
function setHookCallback (line 21) | function setHookCallback(callback) {
function isArray (line 25) | function isArray(input) {
function isObject (line 32) | function isObject(input) {
function hasOwnProp (line 41) | function hasOwnProp(a, b) {
function isObjectEmpty (line 45) | function isObjectEmpty(obj) {
function isUndefined (line 59) | function isUndefined(input) {
function isNumber (line 63) | function isNumber(input) {
function isDate (line 70) | function isDate(input) {
function map (line 77) | function map(arr, fn) {
function extend (line 86) | function extend(a, b) {
function createUTC (line 104) | function createUTC(input, format, locale, strict) {
function defaultParsingFlags (line 108) | function defaultParsingFlags() {
function getParsingFlags (line 130) | function getParsingFlags(m) {
function isValid (line 156) | function isValid(m) {
function createInvalid (line 192) | function createInvalid(flags) {
function copyConfig (line 208) | function copyConfig(to, from) {
function Moment (line 256) | function Moment(config) {
function isMoment (line 271) | function isMoment(obj) {
function warn (line 277) | function warn(msg) {
function deprecate (line 287) | function deprecate(msg, fn) {
function deprecateSimple (line 329) | function deprecateSimple(name, msg) {
function isFunction (line 342) | function isFunction(input) {
function set (line 349) | function set(config) {
function mergeConfigs (line 372) | function mergeConfigs(parentConfig, childConfig) {
function Locale (line 401) | function Locale(config) {
function calendar (line 433) | function calendar(key, mom, now) {
function zeroFill (line 438) | function zeroFill(number, targetLength, forceSign) {
function addFormatToken (line 458) | function addFormatToken(token, padded, ordinal, callback) {
function removeFormattingTokens (line 483) | function removeFormattingTokens(input) {
function makeFormatFunction (line 490) | function makeFormatFunction(format) {
function formatMoment (line 516) | function formatMoment(m, format) {
function expandFormat (line 528) | function expandFormat(format, locale) {
function longDateFormat (line 557) | function longDateFormat(key) {
function invalidDate (line 585) | function invalidDate() {
function ordinal (line 592) | function ordinal(number) {
function relativeTime (line 615) | function relativeTime(number, withoutSuffix, string, isFuture) {
function pastFuture (line 622) | function pastFuture(diff, output) {
function addUnitAlias (line 629) | function addUnitAlias(unit, shorthand) {
function normalizeUnits (line 634) | function normalizeUnits(units) {
function normalizeObjectUnits (line 640) | function normalizeObjectUnits(inputObject) {
function addUnitPriority (line 659) | function addUnitPriority(unit, priority) {
function getPrioritizedUnits (line 663) | function getPrioritizedUnits(unitsObj) {
function isLeapYear (line 677) | function isLeapYear(year) {
function absFloor (line 681) | function absFloor(number) {
function toInt (line 690) | function toInt(argumentForCoercion) {
function makeGetSet (line 701) | function makeGetSet(unit, keepTime) {
function get (line 713) | function get(mom, unit) {
function set$1 (line 719) | function set$1(mom, unit, value) {
function stringGet (line 741) | function stringGet(units) {
function stringSet (line 749) | function stringSet(units, value) {
function addRegexToken (line 789) | function addRegexToken(token, regex, strictRegex) {
function getParseRegexForToken (line 797) | function getParseRegexForToken(token, config) {
function unescapeFormat (line 806) | function unescapeFormat(s) {
function regexEscape (line 822) | function regexEscape(s) {
function addParseToken (line 828) | function addParseToken(token, callback) {
function addWeekParseToken (line 844) | function addWeekParseToken(token, callback) {
function addTimeToArrayFromToken (line 851) | function addTimeToArrayFromToken(token, input, config) {
function mod (line 867) | function mod(n, x) {
function daysInMonth (line 888) | function daysInMonth(year, month) {
function localeMonths (line 960) | function localeMonths(m, format) {
function localeMonthsShort (line 975) | function localeMonthsShort(m, format) {
function handleStrictParse (line 988) | function handleStrictParse(monthName, format, strict) {
function localeMonthsParse (line 1035) | function localeMonthsParse(monthName, format, strict) {
function setMonth (line 1090) | function setMonth(mom, value) {
function getSetMonth (line 1115) | function getSetMonth(value) {
function getDaysInMonth (line 1125) | function getDaysInMonth() {
function monthsShortRegex (line 1129) | function monthsShortRegex(isStrict) {
function monthsRegex (line 1149) | function monthsRegex(isStrict) {
function computeMonthsParse (line 1169) | function computeMonthsParse() {
function daysInYear (line 1257) | function daysInYear(year) {
function getIsLeapYear (line 1271) | function getIsLeapYear() {
function createDate (line 1275) | function createDate(y, m, d, h, M, s, ms) {
function createUTCDate (line 1293) | function createUTCDate(y) {
function firstWeekOffset (line 1312) | function firstWeekOffset(year, dow, doy) {
function dayOfYearFromWeeks (line 1322) | function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
function weekOfYear (line 1346) | function weekOfYear(mom, dow, doy) {
function weeksInYear (line 1369) | function weeksInYear(year, dow, doy) {
function localeWeek (line 1410) | function localeWeek(mom) {
function localeFirstDayOfWeek (line 1419) | function localeFirstDayOfWeek() {
function localeFirstDayOfYear (line 1423) | function localeFirstDayOfYear() {
function getSetWeek (line 1429) | function getSetWeek(input) {
function getSetISOWeek (line 1434) | function getSetISOWeek(input) {
function parseWeekday (line 1500) | function parseWeekday(input, locale) {
function parseIsoWeekday (line 1517) | function parseIsoWeekday(input, locale) {
function shiftWeekdays (line 1525) | function shiftWeekdays(ws, n) {
function localeWeekdays (line 1538) | function localeWeekdays(m, format) {
function localeWeekdaysShort (line 1553) | function localeWeekdaysShort(m) {
function localeWeekdaysMin (line 1561) | function localeWeekdaysMin(m) {
function handleStrictParse$1 (line 1569) | function handleStrictParse$1(weekdayName, format, strict) {
function localeWeekdaysParse (line 1642) | function localeWeekdaysParse(weekdayName, format, strict) {
function getSetDayOfWeek (line 1711) | function getSetDayOfWeek(input) {
function getSetLocaleDayOfWeek (line 1724) | function getSetLocaleDayOfWeek(input) {
function getSetISODayOfWeek (line 1732) | function getSetISODayOfWeek(input) {
function weekdaysRegex (line 1749) | function weekdaysRegex(isStrict) {
function weekdaysShortRegex (line 1769) | function weekdaysShortRegex(isStrict) {
function weekdaysMinRegex (line 1789) | function weekdaysMinRegex(isStrict) {
function computeWeekdaysParse (line 1809) | function computeWeekdaysParse() {
function hFormat (line 1863) | function hFormat() {
function kFormat (line 1867) | function kFormat() {
function meridiem (line 1901) | function meridiem(token, lowercase) {
function matchMeridiem (line 1923) | function matchMeridiem(isStrict, locale) {
function localeIsPM (line 1983) | function localeIsPM(input) {
function localeMeridiem (line 1996) | function localeMeridiem(hours, minutes, isLower) {
function commonPrefix (line 2029) | function commonPrefix(arr1, arr2) {
function normalizeLocale (line 2040) | function normalizeLocale(key) {
function chooseLocale (line 2047) | function chooseLocale(names) {
function loadLocale (line 2079) | function loadLocale(name) {
function getSetGlobalLocale (line 2106) | function getSetGlobalLocale(key, values) {
function defineLocale (line 2131) | function defineLocale(name, config) {
function updateLocale (line 2185) | function updateLocale(name, config) {
function getLocale (line 2231) | function getLocale(key) {
function listLocales (line 2254) | function listLocales() {
function checkOverflow (line 2258) | function checkOverflow(m) {
function configFromISO (line 2351) | function configFromISO(config) {
function extractFromRFC2822Strings (line 2407) | function extractFromRFC2822Strings(
function untruncateYear (line 2430) | function untruncateYear(yearStr) {
function preprocessRFC2822 (line 2440) | function preprocessRFC2822(s) {
function checkWeekday (line 2449) | function checkWeekday(weekdayStr, parsedInput, config) {
function calculateOffset (line 2467) | function calculateOffset(obsOffset, militaryOffset, numOffset) {
function configFromRFC2822 (line 2482) | function configFromRFC2822(config) {
function configFromString (line 2511) | function configFromString(config) {
function defaults (line 2551) | function defaults(a, b, c) {
function currentDateArray (line 2561) | function currentDateArray(config) {
function configFromArray (line 2578) | function configFromArray(config) {
function dayOfYearFromWeekInfo (line 2667) | function dayOfYearFromWeekInfo(config) {
function configFromStringAndFormat (line 2735) | function configFromStringAndFormat(config) {
function meridiemFixWrap (line 2824) | function meridiemFixWrap(locale, hour, meridiem) {
function configFromStringAndArray (line 2850) | function configFromStringAndArray(config) {
function configFromObject (line 2910) | function configFromObject(config) {
function createFromConfig (line 2927) | function createFromConfig(config) {
function prepareConfig (line 2938) | function prepareConfig(config) {
function configFromInput (line 2971) | function configFromInput(config) {
function createLocalOrUTC (line 2994) | function createLocalOrUTC(input, format, locale, strict, isUTC) {
function createLocal (line 3025) | function createLocal(input, format, locale, strict) {
function pickBy (line 3057) | function pickBy(fn, moments) {
function min (line 3075) | function min() {
function max (line 3081) | function max() {
function isDurationValid (line 3103) | function isDurationValid(m) {
function isValid$1 (line 3133) | function isValid$1() {
function createInvalid$1 (line 3137) | function createInvalid$1() {
function Duration (line 3141) | function Duration(duration) {
function isDuration (line 3176) | function isDuration(obj) {
function absRound (line 3180) | function absRound(number) {
function compareArrays (line 3189) | function compareArrays(array1, array2, dontConvert) {
function offset (line 3207) | function offset(token, separator) {
function offsetFromString (line 3243) | function offsetFromString(matcher, string) {
function cloneWithOffset (line 3261) | function cloneWithOffset(input, model) {
function getDateOffset (line 3278) | function getDateOffset(m) {
function getSetOffset (line 3302) | function getSetOffset(input, keepLocalTime, keepMinutes) {
function getSetZone (line 3345) | function getSetZone(input, keepLocalTime) {
function setOffsetToUTC (line 3359) | function setOffsetToUTC(keepLocalTime) {
function setOffsetToLocal (line 3363) | function setOffsetToLocal(keepLocalTime) {
function setOffsetToParsedOffset (line 3375) | function setOffsetToParsedOffset() {
function hasAlignedHourOffset (line 3389) | function hasAlignedHourOffset(input) {
function isDaylightSavingTime (line 3398) | function isDaylightSavingTime() {
function isDaylightSavingTimeShifted (line 3405) | function isDaylightSavingTimeShifted() {
function isLocal (line 3427) | function isLocal() {
function isUtcOffset (line 3431) | function isUtcOffset() {
function isUtc (line 3435) | function isUtc() {
function createDuration (line 3446) | function createDuration(input, key) {
function parseIso (line 3521) | function parseIso(inp, sign) {
function positiveMomentsDifference (line 3530) | function positiveMomentsDifference(base, other) {
function momentsDifference (line 3544) | function momentsDifference(base, other) {
function createAdder (line 3563) | function createAdder(direction, name) {
function addSubtract (line 3588) | function addSubtract(mom, duration, isAdding, updateOffset) {
function isString (line 3617) | function isString(input) {
function isMomentInput (line 3622) | function isMomentInput(input) {
function isMomentInputObject (line 3635) | function isMomentInputObject(input) {
function isNumberOrStringArray (line 3675) | function isNumberOrStringArray(input) {
function isCalendarSpec (line 3687) | function isCalendarSpec(input) {
function getCalendarFormat (line 3709) | function getCalendarFormat(myMoment, now) {
function calendar$1 (line 3726) | function calendar$1(time, formats) {
function clone (line 3753) | function clone() {
function isAfter (line 3757) | function isAfter(input, units) {
function isBefore (line 3770) | function isBefore(input, units) {
function isBetween (line 3783) | function isBetween(from, to, units, inclusivity) {
function isSame (line 3800) | function isSame(input, units) {
function isSameOrAfter (line 3818) | function isSameOrAfter(input, units) {
function isSameOrBefore (line 3822) | function isSameOrBefore(input, units) {
function diff (line 3826) | function diff(input, units, asFloat) {
function monthDiff (line 3875) | function monthDiff(a, b) {
function toString (line 3905) | function toString() {
function toISOString (line 3909) | function toISOString(keepOffset) {
function inspect (line 3945) | function inspect() {
function format (line 3967) | function format(inputString) {
function from (line 3977) | function from(time, withoutSuffix) {
function fromNow (line 3990) | function fromNow(withoutSuffix) {
function to (line 3994) | function to(time, withoutSuffix) {
function toNow (line 4007) | function toNow(withoutSuffix) {
function locale (line 4014) | function locale(key) {
function localeData (line 4039) | function localeData() {
function mod$1 (line 4049) | function mod$1(dividend, divisor) {
function localStartOfDate (line 4053) | function localStartOfDate(y, m, d) {
function utcStartOfDate (line 4063) | function utcStartOfDate(y, m, d) {
function startOf (line 4073) | function startOf(units) {
function endOf (line 4136) | function endOf(units) {
function valueOf (line 4205) | function valueOf() {
function unix (line 4209) | function unix() {
function toDate (line 4213) | function toDate() {
function toArray (line 4217) | function toArray() {
function toObject (line 4230) | function toObject() {
function toJSON (line 4243) | function toJSON() {
function isValid$2 (line 4248) | function isValid$2() {
function parsingFlags (line 4252) | function parsingFlags() {
function invalidAt (line 4256) | function invalidAt() {
function creationData (line 4260) | function creationData() {
function localeEras (line 4321) | function localeEras(m, format) {
function localeErasParse (line 4349) | function localeErasParse(eraName, format, strict) {
function localeErasConvertYear (line 4391) | function localeErasConvertYear(era, year) {
function getEraName (line 4400) | function getEraName() {
function getEraNarrow (line 4420) | function getEraNarrow() {
function getEraAbbr (line 4440) | function getEraAbbr() {
function getEraYear (line 4460) | function getEraYear() {
function erasNameRegex (line 4486) | function erasNameRegex(isStrict) {
function erasAbbrRegex (line 4493) | function erasAbbrRegex(isStrict) {
function erasNarrowRegex (line 4500) | function erasNarrowRegex(isStrict) {
function matchEraAbbr (line 4507) | function matchEraAbbr(isStrict, locale) {
function matchEraName (line 4511) | function matchEraName(isStrict, locale) {
function matchEraNarrow (line 4515) | function matchEraNarrow(isStrict, locale) {
function matchEraYearOrdinal (line 4519) | function matchEraYearOrdinal(isStrict, locale) {
function computeErasParse (line 4523) | function computeErasParse() {
function addWeekYearFormatToken (line 4561) | function addWeekYearFormatToken(token, getter) {
function getSetWeekYear (line 4606) | function getSetWeekYear(input) {
function getSetISOWeekYear (line 4617) | function getSetISOWeekYear(input) {
function getISOWeeksInYear (line 4628) | function getISOWeeksInYear() {
function getISOWeeksInISOWeekYear (line 4632) | function getISOWeeksInISOWeekYear() {
function getWeeksInYear (line 4636) | function getWeeksInYear() {
function getWeeksInWeekYear (line 4641) | function getWeeksInWeekYear() {
function getSetWeekYearHelper (line 4646) | function getSetWeekYearHelper(input, week, weekday, dow, doy) {
function setWeekAll (line 4659) | function setWeekAll(weekYear, week, weekday, dow, doy) {
function getSetQuarter (line 4690) | function getSetQuarter(input) {
function getSetDayOfYear (line 4750) | function getSetDayOfYear(input) {
function parseMs (line 4851) | function parseMs(input, array) {
function getZoneAbbr (line 4868) | function getZoneAbbr() {
function getZoneName (line 4872) | function getZoneName() {
function createUnix (line 4980) | function createUnix(input) {
function createInZone (line 4984) | function createInZone() {
function preParsePostFormat (line 4988) | function preParsePostFormat(string) {
function get$1 (line 5031) | function get$1(format, index, field, setter) {
function listMonthsImpl (line 5037) | function listMonthsImpl(format, index, field) {
function listWeekdaysImpl (line 5065) | function listWeekdaysImpl(localeSorted, format, index, field) {
function listMonths (line 5101) | function listMonths(format, index) {
function listMonthsShort (line 5105) | function listMonthsShort(format, index) {
function listWeekdays (line 5109) | function listWeekdays(localeSorted, format, index) {
function listWeekdaysShort (line 5113) | function listWeekdaysShort(localeSorted, format, index) {
function listWeekdaysMin (line 5117) | function listWeekdaysMin(localeSorted, format, index) {
function abs (line 5170) | function abs() {
function addSubtract$1 (line 5187) | function addSubtract$1(duration, input, value, direction) {
function add$1 (line 5198) | function add$1(input, value) {
function subtract$1 (line 5203) | function subtract$1(input, value) {
function absCeil (line 5207) | function absCeil(number) {
function bubble (line 5215) | function bubble() {
function daysToMonths (line 5270) | function daysToMonths(days) {
function monthsToDays (line 5276) | function monthsToDays(months) {
function as (line 5281) | function as(units) {
function valueOf$1 (line 5326) | function valueOf$1() {
function makeAs (line 5338) | function makeAs(alias) {
function clone$1 (line 5354) | function clone$1() {
function get$2 (line 5358) | function get$2(units) {
function makeGetter (line 5363) | function makeGetter(name) {
function weeks (line 5377) | function weeks() {
function substituteTimeAgo (line 5393) | function substituteTimeAgo(string, number, withoutSuffix, isFuture, loca...
function relativeTime$1 (line 5397) | function relativeTime$1(posNegDuration, withoutSuffix, thresholds, local...
function getSetRelativeTimeRounding (line 5434) | function getSetRelativeTimeRounding(roundingFunction) {
function getSetRelativeTimeThreshold (line 5446) | function getSetRelativeTimeThreshold(threshold, limit) {
function humanize (line 5460) | function humanize(argWithSuffix, argThresholds) {
function sign (line 5496) | function sign(x) {
function toISOString$1 (line 5500) | function toISOString$1() {
FILE: public/vendor/gutenberg/vendor/react-dom.js
function ReactError (line 26) | function ReactError(error) {
function recomputePluginOrdering (line 65) | function recomputePluginOrdering() {
function publishEventForPlugin (line 112) | function publishEventForPlugin(dispatchConfig, pluginModule, eventName) {
function publishRegistrationName (line 145) | function publishRegistrationName(registrationName, pluginModule, eventNa...
function injectEventPluginOrder (line 210) | function injectEventPluginOrder(injectedEventPluginOrder) {
function injectEventPluginsByName (line 233) | function injectEventPluginsByName(injectedNamesToPlugins) {
function callCallback (line 326) | function callCallback() {
function handleWindowError (line 361) | function handleWindowError(event) {
function invokeGuardedCallback (line 445) | function invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {
function invokeGuardedCallbackAndCatchFirstError (line 461) | function invokeGuardedCallbackAndCatchFirstError(name, func, context, a,...
function rethrowCaughtError (line 476) | function rethrowCaughtError() {
function hasCaughtError (line 485) | function hasCaughtError() {
function clearCaughtError (line 489) | function clearCaughtError() {
function setComponentTree (line 560) | function setComponentTree(getFiberCurrentPropsFromNodeImpl, getInstanceF...
function executeDispatch (line 591) | function executeDispatch(event, listener, inst) {
function executeDispatchesInOrder (line 601) | function executeDispatchesInOrder(event) {
function accumulateInto (line 656) | function accumulateInto(current, next) {
function forEachAccumulated (line 697) | function forEachAccumulated(arr, cb, scope) {
function runEventsInBatch (line 730) | function runEventsInBatch(events) {
function isInteractive (line 756) | function isInteractive(tag) {
function shouldPreventMouseEvent (line 760) | function shouldPreventMouseEvent(name, type, props) {
function getListener (line 822) | function getListener(inst, registrationName) {
function extractPluginEvents (line 858) | function extractPluginEvents(topLevelType, targetInst, nativeEvent, nati...
function runExtractedPluginEventsInBatch (line 873) | function runExtractedPluginEventsInBatch(topLevelType, targetInst, nativ...
function precacheFiberNode (line 904) | function precacheFiberNode(hostInst, node) {
function getClosestInstanceFromNode (line 912) | function getClosestInstanceFromNode(node) {
function getInstanceFromNode$1 (line 940) | function getInstanceFromNode$1(node) {
function getNodeFromInstance$1 (line 956) | function getNodeFromInstance$1(inst) {
function getFiberCurrentPropsFromNode$1 (line 974) | function getFiberCurrentPropsFromNode$1(node) {
function updateFiberProps (line 978) | function updateFiberProps(node, props) {
function getParent (line 982) | function getParent(inst) {
function getLowestCommonAncestor (line 1001) | function getLowestCommonAncestor(instA, instB) {
function traverseTwoPhase (line 1048) | function traverseTwoPhase(inst, fn, arg) {
function traverseEnterLeave (line 1070) | function traverseEnterLeave(from, to, fn, argFrom, argTo) {
function listenerAtPhase (line 1114) | function listenerAtPhase(inst, event, propagationPhase) {
function accumulateDirectionalDispatches (line 1135) | function accumulateDirectionalDispatches(inst, phase, event) {
function accumulateTwoPhaseDispatchesSingle (line 1153) | function accumulateTwoPhaseDispatchesSingle(event) {
function accumulateDispatches (line 1164) | function accumulateDispatches(inst, ignoredDirection, event) {
function accumulateDirectDispatchesSingle (line 1180) | function accumulateDirectDispatchesSingle(event) {
function accumulateTwoPhaseDispatches (line 1186) | function accumulateTwoPhaseDispatches(events) {
function accumulateEnterLeaveDispatches (line 1192) | function accumulateEnterLeaveDispatches(leave, enter, from, to) {
function accumulateDirectDispatches (line 1196) | function accumulateDirectDispatches(events) {
function unsafeCastStringToDOMTopLevelType (line 1206) | function unsafeCastStringToDOMTopLevelType(topLevelType) {
function unsafeCastDOMTopLevelTypeToString (line 1210) | function unsafeCastDOMTopLevelTypeToString(topLevelType) {
function makePrefixMap (line 1221) | function makePrefixMap(styleProp, eventName) {
function getVendorPrefixedEventName (line 1279) | function getVendorPrefixedEventName(eventName) {
function getRawEventName (line 1392) | function getRawEventName(topLevelType) {
function initialize (line 1412) | function initialize(nativeEventTarget) {
function reset (line 1418) | function reset() {
function getData (line 1424) | function getData() {
function getText (line 1454) | function getText() {
function functionThatReturnsTrue (line 1490) | function functionThatReturnsTrue() {
function functionThatReturnsFalse (line 1494) | function functionThatReturnsFalse() {
function SyntheticEvent (line 1516) | function SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeE...
function Class (line 1651) | function Class() {
function getPooledWarningPropertyDefinition (line 1674) | function getPooledWarningPropertyDefinition(propName, getVal) {
function getPooledEvent (line 1701) | function getPooledEvent(dispatchConfig, targetInst, nativeEvent, nativeI...
function releasePooledEvent (line 1711) | function releasePooledEvent(event) {
function addEventPoolingTo (line 1726) | function addEventPoolingTo(EventConstructor) {
function isKeypressCommand (line 1812) | function isKeypressCommand(nativeEvent) {
function getCompositionEventType (line 1824) | function getCompositionEventType(topLevelType) {
function isFallbackCompositionStart (line 1843) | function isFallbackCompositionStart(topLevelType, nativeEvent) {
function isFallbackCompositionEnd (line 1854) | function isFallbackCompositionEnd(topLevelType, nativeEvent) {
function getDataFromCustomEvent (line 1882) | function getDataFromCustomEvent(nativeEvent) {
function isUsingKoreanIME (line 1900) | function isUsingKoreanIME(nativeEvent) {
function extractCompositionEvent (line 1910) | function extractCompositionEvent(topLevelType, targetInst, nativeEvent, ...
function getNativeBeforeInputChars (line 1962) | function getNativeBeforeInputChars(topLevelType, nativeEvent) {
function getFallbackBeforeInputChars (line 2016) | function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
function extractBeforeInputEvent (line 2080) | function extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, ...
function restoreStateOfTarget (line 2146) | function restoreStateOfTarget(target) {
function setRestoreImplementation (line 2165) | function setRestoreImplementation(impl) {
function enqueueStateRestore (line 2169) | function enqueueStateRestore(target) {
function needsStateRestore (line 2181) | function needsStateRestore() {
function restoreStateIfNeeded (line 2185) | function restoreStateIfNeeded() {
function finishEventHandler (line 2308) | function finishEventHandler() {
function batchedUpdates (line 2323) | function batchedUpdates(fn, bookkeeping) {
function batchedEventUpdates (line 2338) | function batchedEventUpdates(fn, a, b) {
function discreteUpdates (line 2353) | function discreteUpdates(fn, a, b, c) {
function flushDiscreteUpdatesIfNeeded (line 2367) | function flushDiscreteUpdatesIfNeeded(timeStamp) {
function setBatchingImplementation (line 2386) | function setBatchingImplementation(_batchedUpdatesImpl, _discreteUpdates...
function isTextInputElement (line 2414) | function isTextInputElement(elem) {
function getEventTarget (line 2445) | function getEventTarget(nativeEvent) {
function isEventSupported (line 2473) | function isEventSupported(eventNameSuffix) {
function isCheckable (line 2490) | function isCheckable(elem) {
function getTracker (line 2496) | function getTracker(node) {
function detachTracker (line 2500) | function detachTracker(node) {
function getValueFromNode (line 2504) | function getValueFromNode(node) {
function trackValueOnNode (line 2519) | function trackValueOnNode(node) {
function track (line 2568) | function track(node) {
function updateValueIfChanged (line 2577) | function updateValueIfChanged(node) {
function getIteratorFn (line 2668) | function getIteratorFn(maybeIterable) {
function refineResolvedLazyComponent (line 2683) | function refineResolvedLazyComponent(lazyComponent) {
function getWrappedName (line 2687) | function getWrappedName(outerType, innerType, wrapperName) {
function getComponentName (line 2692) | function getComponentName(type) {
function describeFiber (line 2748) | function describeFiber(fiber) {
function getStackByFiberInDevAndProd (line 2769) | function getStackByFiberInDevAndProd(workInProgress) {
function getCurrentFiberOwnerNameInDevOrNull (line 2782) | function getCurrentFiberOwnerNameInDevOrNull() {
function getCurrentFiberStackInDev (line 2795) | function getCurrentFiberStackInDev() {
function resetCurrentFiber (line 2807) | function resetCurrentFiber() {
function setCurrentFiber (line 2815) | function setCurrentFiber(fiber) {
function setCurrentPhase (line 2823) | function setCurrentPhase(lifeCyclePhase) {
function isAttributeNameSafe (line 2903) | function isAttributeNameSafe(attributeName) {
function shouldIgnoreAttribute (line 2921) | function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) {
function shouldRemoveAttributeWithWarning (line 2934) | function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isC...
function shouldRemoveAttribute (line 2961) | function shouldRemoveAttribute(name, value, propertyInfo, isCustomCompon...
function getPropertyInfo (line 2986) | function getPropertyInfo(name) {
function PropertyInfoRecord (line 2990) | function PropertyInfoRecord(name, type, mustUseProperty, attributeName, ...
function sanitizeURL (line 3187) | function sanitizeURL(url) {
function getValueForProperty (line 3207) | function getValueForProperty(node, name, expected, propertyInfo) {
function getValueForAttribute (line 3273) | function getValueForAttribute(node, name, expected) {
function setValueForProperty (line 3296) | function setValueForProperty(node, name, value, isCustomComponentTag) {
function toString (line 3363) | function toString(value) {
function getToStringValue (line 3367) | function getToStringValue(value) {
function checkPropTypes (line 3434) | function checkPropTypes(typeSpecs, values, location, componentName, getS...
function isControlled (line 3535) | function isControlled(props) {
function getHostProps (line 3557) | function getHostProps(element, props) {
function initWrapperState (line 3571) | function initWrapperState(element, props) {
function updateChecked (line 3595) | function updateChecked(element, props) {
function updateWrapper (line 3603) | function updateWrapper(element, props) {
function postMountWrapper (line 3679) | function postMountWrapper(element, props, isHydrating) {
function restoreControlledState (line 3787) | function restoreControlledState(element, props) {
function updateNamedCousins (line 3793) | function updateNamedCousins(rootNode, props) {
function setDefaultValue (line 3849) | function setDefaultValue(node, type, value) {
function createAndAccumulateChangeEvent (line 3871) | function createAndAccumulateChangeEvent(inst, nativeEvent, target) {
function shouldUseChangeEvent (line 3888) | function shouldUseChangeEvent(elem) {
function manualDispatchChangeEvent (line 3893) | function manualDispatchChangeEvent(nativeEvent) {
function runEventInBatch (line 3910) | function runEventInBatch(event) {
function getInstIfValueChanged (line 3914) | function getInstIfValueChanged(targetInst) {
function getTargetInstForChangeEvent (line 3921) | function getTargetInstForChangeEvent(topLevelType, targetInst) {
function startWatchingForValueChange (line 3942) | function startWatchingForValueChange(target, targetInst) {
function stopWatchingForValueChange (line 3952) | function stopWatchingForValueChange() {
function handlePropertyChange (line 3965) | function handlePropertyChange(nativeEvent) {
function handleEventsForInputEventPolyfill (line 3974) | function handleEventsForInputEventPolyfill(topLevelType, target, targetI...
function getTargetInstForInputEventPolyfill (line 3994) | function getTargetInstForInputEventPolyfill(topLevelType, targetInst) {
function shouldUseClickEvent (line 4013) | function shouldUseClickEvent(elem) {
function getTargetInstForClickEvent (line 4021) | function getTargetInstForClickEvent(topLevelType, targetInst) {
function getTargetInstForInputOrChangeEvent (line 4027) | function getTargetInstForInputOrChangeEvent(topLevelType, targetInst) {
function handleControlledInputBlur (line 4033) | function handleControlledInputBlur(node) {
function modifierStateGetter (line 4129) | function modifierStateGetter(keyArg) {
function getEventModifierState (line 4139) | function getEventModifierState(nativeEvent) {
function is (line 4332) | function is(x, y) {
function shallowEqual (line 4344) | function shallowEqual(objA, objB) {
function createResponderListener (line 4398) | function createResponderListener(responder, props) {
function isFiberSuspenseAndTimedOut (line 4409) | function isFiberSuspenseAndTimedOut(fiber) {
function getSuspenseFallbackChild (line 4413) | function getSuspenseFallbackChild(fiber) {
function createResponderInstance (line 4421) | function createResponderInstance(responder, responderProps, responderSta...
function setListenToResponderEventTypes (line 4444) | function setListenToResponderEventTypes(_listenToResponderEventTypesImpl) {
function validateEventValue (line 4648) | function validateEventValue(eventValue) {
function collectFocusableElements (line 4694) | function collectFocusableElements(node, focusableElements) {
function createEventQueueItem (line 4718) | function createEventQueueItem(value, listener) {
function doesFiberHaveResponder (line 4725) | function doesFiberHaveResponder(fiber, responder) {
function getActiveDocument (line 4738) | function getActiveDocument() {
function releaseOwnershipForEventResponderInstance (line 4742) | function releaseOwnershipForEventResponderInstance(eventResponderInstanc...
function isFiberHostComponentFocusable (line 4751) | function isFiberHostComponentFocusable(fiber) {
function processTimers (line 4773) | function processTimers(timers, delay) {
function createDOMResponderEvent (line 4802) | function createDOMResponderEvent(topLevelType, nativeEvent, nativeEventT...
function processEvents (line 4832) | function processEvents(eventQueue) {
function processEventQueue (line 4843) | function processEventQueue() {
function responderEventTypesContainType (line 4874) | function responderEventTypesContainType(eventTypes, type) {
function validateResponderTargetEventTypes (line 4883) | function validateResponderTargetEventTypes(eventType, responder) {
function validateOwnership (line 4893) | function validateOwnership(responderInstance) {
function traverseAndHandleEventResponderInstances (line 4897) | function traverseAndHandleEventResponderInstances(topLevelType, targetFi...
function triggerOwnershipListeners (line 4968) | function triggerOwnershipListeners() {
function mountEventResponder (line 4996) | function mountEventResponder(responder, responderInstance, props, state) {
function unmountEventResponder (line 5016) | function unmountEventResponder(responderInstance) {
function validateResponderContext (line 5053) | function validateResponderContext() {
function dispatchEventForResponderEventSystem (line 5063) | function dispatchEventForResponderEventSystem(topLevelType, targetFiber,...
function addRootEventTypesForResponderInstance (line 5092) | function addRootEventTypesForResponderInstance(responderInstance, rootEv...
function registerRootEventType (line 5099) | function registerRootEventType(rootEventType, eventResponderInstance) {
function get (line 5137) | function get(key) {
function has (line 5141) | function has(key) {
function set (line 5145) | function set(key, value) {
function isFiberMountedImpl (line 5180) | function isFiberMountedImpl(fiber) {
function isFiberMounted (line 5209) | function isFiberMounted(fiber) {
function isMounted (line 5213) | function isMounted(component) {
function assertIsMounted (line 5231) | function assertIsMounted(fiber) {
function findCurrentFiberUsingSlowPath (line 5241) | function findCurrentFiberUsingSlowPath(fiber) {
function findCurrentHostFiber (line 5396) | function findCurrentHostFiber(parent) {
function findCurrentHostFiberWithNoPortals (line 5429) | function findCurrentHostFiberWithNoPortals(parent) {
function addEventBubbleListener (line 5462) | function addEventBubbleListener(element, eventType, listener) {
function addEventCaptureListener (line 5466) | function addEventCaptureListener(element, eventType, listener) {
function addEventCaptureListenerWithPassiveFlag (line 5470) | function addEventCaptureListenerWithPassiveFlag(element, eventType, list...
function getEventCharCode (line 5516) | function getEventCharCode(nativeEvent) {
function getEventKey (line 5614) | function getEventKey(nativeEvent) {
function findRootContainerNode (line 5957) | function findRootContainerNode(inst) {
function getTopLevelCallbackBookKeeping (line 5972) | function getTopLevelCallbackBookKeeping(topLevelType, nativeEvent, targe...
function releaseTopLevelCallbackBookKeeping (line 5988) | function releaseTopLevelCallbackBookKeeping(instance) {
function handleTopLevel (line 5998) | function handleTopLevel(bookKeeping) {
function setEnabled (line 6033) | function setEnabled(enabled) {
function isEnabled (line 6037) | function isEnabled() {
function trapBubbledEvent (line 6041) | function trapBubbledEvent(topLevelType, element) {
function trapCapturedEvent (line 6045) | function trapCapturedEvent(topLevelType, element) {
function trapEventForResponderEventSystem (line 6049) | function trapEventForResponderEventSystem(element, topLevelType, passive) {
function trapEventForPluginEventSystem (line 6079) | function trapEventForPluginEventSystem(element, topLevelType, capture) {
function dispatchDiscreteEvent (line 6102) | function dispatchDiscreteEvent(topLevelType, eventSystemFlags, nativeEve...
function dispatchUserBlockingUpdate (line 6107) | function dispatchUserBlockingUpdate(topLevelType, eventSystemFlags, nati...
function dispatchEventForPluginEventSystem (line 6115) | function dispatchEventForPluginEventSystem(topLevelType, eventSystemFlag...
function dispatchEvent (line 6127) | function dispatchEvent(topLevelType, eventSystemFlags, nativeEvent) {
function getListeningSetForElement (line 6213) | function getListeningSetForElement(element) {
function listenTo (line 6243) | function listenTo(registrationName, mountAt) {
function isListeningToAllDependencies (line 6289) | function isListeningToAllDependencies(registrationName, mountAt) {
function getActiveElement (line 6302) | function getActiveElement(doc) {
function getLeafNode (line 6320) | function getLeafNode(node) {
function getSiblingNode (line 6334) | function getSiblingNode(node) {
function getNodeForCharacterOffset (line 6350) | function getNodeForCharacterOffset(root, offset) {
function getOffsets (line 6377) | function getOffsets(outerNode) {
function getModernOffsetsFromPoints (line 6421) | function getModernOffsetsFromPoints(outerNode, anchorNode, anchorOffset,...
function setOffsets (line 6502) | function setOffsets(node, offsets) {
function isTextNode (line 6547) | function isTextNode(node) {
function containsNode (line 6551) | function containsNode(outerNode, innerNode) {
function isInDocument (line 6569) | function isInDocument(node) {
function isSameOriginFrame (line 6573) | function isSameOriginFrame(iframe) {
function getActiveElementDeep (line 6589) | function getActiveElementDeep() {
function hasSelectionCapabilities (line 6615) | function hasSelectionCapabilities(elem) {
function getSelectionInformation (line 6620) | function getSelectionInformation() {
function restoreSelection (line 6633) | function restoreSelection(priorSelectionInformation) {
function getSelection$1 (line 6673) | function getSelection$1(input) {
function setSelection (line 6696) | function setSelection(input, offsets) {
function getSelection (line 6738) | function getSelection(node) {
function getEventTargetDocument (line 6762) | function getEventTargetDocument(eventTarget) {
function constructSelectEvent (line 6773) | function constructSelectEvent(nativeEvent, nativeEventTarget) {
function endsWith (line 6894) | function endsWith(subject, search) {
function flattenChildren (line 6902) | function flattenChildren(children) {
function validateProps (line 6927) | function validateProps(element, props) {
function postMountWrapper$1 (line 6959) | function postMountWrapper$1(element, props) {
function getHostProps$1 (line 6966) | function getHostProps$1(element, props) {
function getDeclarationErrorAddendum (line 6984) | function getDeclarationErrorAddendum() {
function checkSelectPropTypes (line 6997) | function checkSelectPropTypes(props) {
function updateOptions (line 7014) | function updateOptions(node, multiple, propValue, setDefaultSelected) {
function getHostProps$2 (line 7072) | function getHostProps$2(element, props) {
function initWrapperState$1 (line 7078) | function initWrapperState$1(element, props) {
function postMountWrapper$2 (line 7096) | function postMountWrapper$2(element, props) {
function postUpdateWrapper (line 7107) | function postUpdateWrapper(element, props) {
function restoreControlledState$2 (line 7126) | function restoreControlledState$2(element, props) {
function getHostProps$3 (line 7153) | function getHostProps$3(element, props) {
function initWrapperState$2 (line 7178) | function initWrapperState$2(element, props) {
function updateWrapper$1 (line 7230) | function updateWrapper$1(element, props) {
function postMountWrapper$3 (line 7251) | function postMountWrapper$3(element, props) {
function restoreControlledState$3 (line 7266) | function restoreControlledState$3(element, props) {
function getIntrinsicNamespace (line 7282) | function getIntrinsicNamespace(type) {
function getChildNamespace (line 7293) | function getChildNamespace(parentNamespace, type) {
function prefixKey (line 7482) | function prefixKey(prefix, key) {
function dangerousStyleValue (line 7509) | function dangerousStyleValue(name, value, isCustomProperty) {
function hyphenateStyleName (line 7548) | function hyphenateStyleName(name) {
function createDangerousStringForStyles (line 7654) | function createDangerousStringForStyles(styles) {
function setValueForStyles (line 7682) | function setValueForStyles(node, styles) {
function isValueEmpty (line 7706) | function isValueEmpty(value) {
function expandShorthandMap (line 7718) | function expandShorthandMap(styles) {
function validateShorthandPropertyCollisionInDev (line 7743) | function validateShorthandPropertyCollisionInDev(styleUpdates, nextStyle...
function assertValidProps (line 7807) | function assertValidProps(tag, props) {
function isCustomComponent (line 7849) | function isCustomComponent(tagName, props) {
function validateProperty (line 8423) | function validateProperty(tagName, name) {
function warnInvalidARIAProps (line 8468) | function warnInvalidARIAProps(type, props) {
function validateProperties (line 8489) | function validateProperties(type, props) {
function validateProperties$1 (line 8498) | function validateProperties$1(type, props) {
function validateProperties$2 (line 8662) | function validateProperties$2(type, props, canUseEventSystem) {
function ensureListeningTo (line 8803) | function ensureListeningTo(rootContainerElement, registrationName) {
function getOwnerDocumentFromRootContainer (line 8809) | function getOwnerDocumentFromRootContainer(rootContainerElement) {
function noop (line 8813) | function noop() {}
function trapClickOnNonInteractiveElement (line 8815) | function trapClickOnNonInteractiveElement(node) {
function setInitialDOMProperties (line 8828) | function setInitialDOMProperties(tag, domElement, rootContainerElement, ...
function updateDOMProperties (line 8882) | function updateDOMProperties(domElement, updatePayload, wasCustomCompone...
function createElement (line 8899) | function createElement(type, props, rootContainerElement, parentNamespac...
function createTextNode (line 8971) | function createTextNode(text, rootContainerElement) {
function setInitialProperties (line 8975) | function setInitialProperties(domElement, tag, rawProps, rootContainerEl...
function diffProperties (line 9087) | function diffProperties(domElement, tag, lastRawProps, nextRawProps, roo...
function updateProperties (line 9255) | function updateProperties(domElement, updatePayload, tag, lastRawProps, ...
function getPossibleStandardName (line 9288) | function getPossibleStandardName(propName) {
function diffHydratedProperties (line 9299) | function diffHydratedProperties(domElement, tag, rawProps, parentNamespa...
function diffHydratedText (line 9552) | function diffHydratedText(textNode, text) {
function warnForUnmatchedText (line 9557) | function warnForUnmatchedText(textNode, text) {
function warnForDeletedHydratableElement (line 9563) | function warnForDeletedHydratableElement(parentNode, child) {
function warnForDeletedHydratableText (line 9573) | function warnForDeletedHydratableText(parentNode, child) {
function warnForInsertedHydratedElement (line 9583) | function warnForInsertedHydratedElement(parentNode, tag, props) {
function warnForInsertedHydratedText (line 9593) | function warnForInsertedHydratedText(parentNode, text) {
function restoreControlledState$1 (line 9610) | function restoreControlledState$1(domElement, tag, props) {
function listenToEventResponderEventTypes (line 9624) | function listenToEventResponderEventTypes(eventTypes, element) {
function shim (line 9951) | function shim() {
function shouldAutoFocusHostComponent (line 9987) | function shouldAutoFocusHostComponent(type, props) {
function getRootHostContext (line 9998) | function getRootHostContext(rootContainerInstance) {
function getChildHostContext (line 10028) | function getChildHostContext(parentHostContext, type, rootContainerInsta...
function getPublicInstance (line 10039) | function getPublicInstance(instance) {
function prepareForCommit (line 10043) | function prepareForCommit(containerInfo) {
function resetAfterCommit (line 10049) | function resetAfterCommit(containerInfo) {
function createInstance (line 10056) | function createInstance(type, props, rootContainerInstance, hostContext,...
function appendInitialChild (line 10075) | function appendInitialChild(parentInstance, child) {
function finalizeInitialChildren (line 10079) | function finalizeInitialChildren(domElement, type, props, rootContainerI...
function prepareUpdate (line 10084) | function prepareUpdate(domElement, type, oldProps, newProps, rootContain...
function shouldSetTextContent (line 10096) | function shouldSetTextContent(type, props) {
function shouldDeprioritizeSubtree (line 10100) | function shouldDeprioritizeSubtree(type, props) {
function createTextInstance (line 10104) | function createTextInstance(text, rootContainerInstance, hostContext, in...
function commitMount (line 10129) | function commitMount(domElement, type, newProps, internalInstanceHandle) {
function commitUpdate (line 10141) | function commitUpdate(domElement, updatePayload, type, oldProps, newProp...
function resetTextContent (line 10149) | function resetTextContent(domElement) {
function commitTextUpdate (line 10153) | function commitTextUpdate(textInstance, oldText, newText) {
function appendChild (line 10157) | function appendChild(parentInstance, child) {
function appendChildToContainer (line 10161) | function appendChildToContainer(container, child) {
function insertBefore (line 10185) | function insertBefore(parentInstance, child, beforeChild) {
function insertInContainerBefore (line 10189) | function insertInContainerBefore(container, child, beforeChild) {
function removeChild (line 10197) | function removeChild(parentInstance, child) {
function removeChildFromContainer (line 10201) | function removeChildFromContainer(container, child) {
function clearSuspenseBoundary (line 10209) | function clearSuspenseBoundary(parentInstance, suspenseInstance) {
function clearSuspenseBoundaryFromContainer (line 10236) | function clearSuspenseBoundaryFromContainer(container, suspenseInstance) {
function hideInstance (line 10246) | function hideInstance(instance) {
function hideTextInstance (line 10258) | function hideTextInstance(textInstance) {
function unhideInstance (line 10262) | function unhideInstance(instance, props) {
function unhideTextInstance (line 10269) | function unhideTextInstance(textInstance, text) {
function canHydrateInstance (line 10279) | function canHydrateInstance(instance, type, props) {
function canHydrateTextInstance (line 10287) | function canHydrateTextInstance(instance, text) {
function canHydrateSuspenseInstance (line 10296) | function canHydrateSuspenseInstance(instance) {
function isSuspenseInstancePending (line 10305) | function isSuspenseInstancePending(instance) {
function isSuspenseInstanceFallback (line 10309) | function isSuspenseInstanceFallback(instance) {
function registerSuspenseInstanceRetry (line 10313) | function registerSuspenseInstanceRetry(instance, callback) {
function getNextHydratable (line 10317) | function getNextHydratable(node) {
function getNextHydratableSibling (line 10337) | function getNextHydratableSibling(instance) {
function getFirstHydratableChild (line 10341) | function getFirstHydratableChild(parentInstance) {
function hydrateInstance (line 10345) | function hydrateInstance(instance, type, props, rootContainerInstance, h...
function hydrateTextInstance (line 10358) | function hydrateTextInstance(textInstance, text, internalInstanceHandle) {
function getNextHydratableInstanceAfterSuspenseInstance (line 10363) | function getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance) {
function didNotMatchHydratedContainerTextInstance (line 10388) | function didNotMatchHydratedContainerTextInstance(parentContainer, textI...
function didNotMatchHydratedTextInstance (line 10394) | function didNotMatchHydratedTextInstance(parentType, parentProps, parent...
function didNotHydrateContainerInstance (line 10400) | function didNotHydrateContainerInstance(parentContainer, instance) {
function didNotHydrateInstance (line 10412) | function didNotHydrateInstance(parentType, parentProps, parentInstance, ...
function didNotFindHydratableContainerInstance (line 10424) | function didNotFindHydratableContainerInstance(parentContainer, type, pr...
function didNotFindHydratableContainerTextInstance (line 10430) | function didNotFindHydratableContainerTextInstance(parentContainer, text) {
function didNotFindHydratableInstance (line 10438) | function didNotFindHydratableInstance(parentType, parentProps, parentIns...
function didNotFindHydratableTextInstance (line 10444) | function didNotFindHydratableTextInstance(parentType, parentProps, paren...
function didNotFindHydratableSuspenseInstance (line 10450) | function didNotFindHydratableSuspenseInstance(parentType, parentProps, p...
function mountResponderInstance (line 10456) | function mountResponderInstance(responder, responderInstance, responderP...
function unmountResponderInstance (line 10475) | function unmountResponderInstance(responderInstance) {
function getFundamentalComponentInstance (line 10482) | function getFundamentalComponentInstance(fundamentalInstance) {
function mountFundamentalComponent (line 10497) | function mountFundamentalComponent(fundamentalInstance) {
function shouldUpdateFundamentalComponent (line 10511) | function shouldUpdateFundamentalComponent(fundamentalInstance) {
function updateFundamentalComponent (line 10526) | function updateFundamentalComponent(fundamentalInstance) {
function unmountFundamentalComponent (line 10541) | function unmountFundamentalComponent(fundamentalInstance) {
function recordEffect (line 10722) | function recordEffect() {
function recordScheduleUpdate (line 10728) | function recordScheduleUpdate() {
function startRequestCallbackTimer (line 10739) | function startRequestCallbackTimer() {
function stopRequestCallbackTimer (line 10748) | function stopRequestCallbackTimer(didExpire) {
function startWorkTimer (line 10758) | function startWorkTimer(fiber) {
function cancelWorkTimer (line 10772) | function cancelWorkTimer(fiber) {
function stopWorkTimer (line 10784) | function stopWorkTimer(fiber) {
function stopFailedWorkTimer (line 10799) | function stopFailedWorkTimer(fiber) {
function startPhaseTimer (line 10815) | function startPhaseTimer(fiber, phase) {
function stopPhaseTimer (line 10829) | function stopPhaseTimer() {
function startWorkLoopTimer (line 10843) | function startWorkLoopTimer(nextUnitOfWork) {
function stopWorkLoopTimer (line 10858) | function stopWorkLoopTimer(interruptedBy, didCompleteRoot) {
function startCommitTimer (line 10882) | function startCommitTimer() {
function stopCommitTimer (line 10894) | function stopCommitTimer() {
function startCommitSnapshotEffectsTimer (line 10915) | function startCommitSnapshotEffectsTimer() {
function stopCommitSnapshotEffectsTimer (line 10925) | function stopCommitSnapshotEffectsTimer() {
function startCommitHostEffectsTimer (line 10936) | function startCommitHostEffectsTimer() {
function stopCommitHostEffectsTimer (line 10946) | function stopCommitHostEffectsTimer() {
function startCommitLifeCyclesTimer (line 10957) | function startCommitLifeCyclesTimer() {
function stopCommitLifeCyclesTimer (line 10967) | function stopCommitLifeCyclesTimer() {
function createCursor (line 10988) | function createCursor(defaultValue) {
function pop (line 10994) | function pop(cursor, fiber) {
function push (line 11019) | function push(cursor, value, fiber) {
function getUnmaskedContext (line 11051) | function getUnmaskedContext(workInProgress, Component, didPushOwnContext...
function cacheContext (line 11066) | function cacheContext(workInProgress, unmaskedContext, maskedContext) {
function getMaskedContext (line 11076) | function getMaskedContext(workInProgress, unmaskedContext) {
function hasContextChanged (line 11114) | function hasContextChanged() {
function isContextProvider (line 11122) | function isContextProvider(type) {
function popContext (line 11131) | function popContext(fiber) {
function popTopLevelContextObject (line 11140) | function popTopLevelContextObject(fiber) {
function pushTopLevelContextObject (line 11149) | function pushTopLevelContextObject(fiber, context, didChange) {
function processChildContext (line 11166) | function processChildContext(fiber, type, parentContext) {
function pushContextProvider (line 11221) | function pushContextProvider(workInProgress) {
function invalidateContextProvider (line 11241) | function invalidateContextProvider(workInProgress, type, didChange) {
function findCurrentUnmaskedContext (line 11275) | function findCurrentUnmaskedContext(fiber) {
function getCurrentPriorityLevel (line 11395) | function getCurrentPriorityLevel() {
function reactPriorityToSchedulerPriority (line 11418) | function reactPriorityToSchedulerPriority(reactPriorityLevel) {
function runWithPriority$2 (line 11441) | function runWithPriority$2(reactPriorityLevel, fn) {
function scheduleCallback (line 11446) | function scheduleCallback(reactPriorityLevel, callback, options) {
function scheduleSyncCallback (line 11451) | function scheduleSyncCallback(callback) {
function cancelCallback (line 11466) | function cancelCallback(callbackNode) {
function flushSyncCallbackQueue (line 11472) | function flushSyncCallbackQueue() {
function flushSyncCallbackQueueImpl (line 11479) | function flushSyncCallbackQueueImpl() {
function msToExpirationTime (line 11532) | function msToExpirationTime(ms) {
function expirationTimeToMs (line 11537) | function expirationTimeToMs(expirationTime) {
function ceiling (line 11541) | function ceiling(num, precision) {
function computeExpirationBucket (line 11545) | function computeExpirationBucket(currentTime, expirationInMs, bucketSize...
function computeAsyncExpiration (line 11554) | function computeAsyncExpiration(currentTime) {
function computeSuspenseExpiration (line 11558) | function computeSuspenseExpiration(currentTime, timeoutMs) {
function computeInteractiveExpiration (line 11577) | function computeInteractiveExpiration(currentTime) {
function inferPriorityFromExpirationTime (line 11581) | function inferPriorityFromExpirationTime(currentTime, expirationTime) {
function resolveFunctionForHotReloading (line 11898) | function resolveFunctionForHotReloading(type) {
function resolveClassForHotReloading (line 11913) | function resolveClassForHotReloading(type) {
function resolveForwardRefForHotReloading (line 11918) | function resolveForwardRefForHotReloading(type) {
function isCompatibleFamilyForHotReloading (line 11950) | function isCompatibleFamilyForHotReloading(fiber, element) {
function markFailedErrorBoundaryForHotReloading (line 12027) | function markFailedErrorBoundaryForHotReloading(fiber) {
function scheduleFibersWithFamiliesRecursively (line 12072) | function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, s...
function findHostInstancesForMatchingFibersRecursively (line 12143) | function findHostInstancesForMatchingFibersRecursively(fiber, types, hos...
function findHostInstancesForFiberShallowly (line 12190) | function findHostInstancesForFiberShallowly(fiber, hostInstances) {
function findChildHostInstancesForFiberShallowly (line 12218) | function findChildHostInstancesForFiberShallowly(fiber, hostInstances) {
function resolveDefaultProps (line 12249) | function resolveDefaultProps(Component, baseProps) {
function readLazyComponentType (line 12264) | function readLazyComponentType(lazyComponent) {
function resetContextDependencies (line 12332) | function resetContextDependencies() {
function enterDisallowedContextReadInDEV (line 12343) | function enterDisallowedContextReadInDEV() {
function exitDisallowedContextReadInDEV (line 12349) | function exitDisallowedContextReadInDEV() {
function pushProvider (line 12355) | function pushProvider(providerFiber, nextValue) {
function popProvider (line 12377) | function popProvider(providerFiber) {
function calculateChangedBits (line 12390) | function calculateChangedBits(context, newValue, oldValue) {
function scheduleWorkOnParentPath (line 12404) | function scheduleWorkOnParentPath(parent, renderExpirationTime) {
function propagateContextChange (line 12426) | function propagateContextChange(workInProgress, context, changedBits, re...
function prepareToReadContext (line 12530) | function prepareToReadContext(workInProgress, renderExpirationTime) {
function readContext (line 12549) | function readContext(context, observedBits) {
function createUpdateQueue (line 12696) | function createUpdateQueue(baseState) {
function cloneUpdateQueue (line 12711) | function cloneUpdateQueue(currentQueue) {
function createUpdate (line 12731) | function createUpdate(expirationTime, suspenseConfig) {
function appendUpdateToQueue (line 12749) | function appendUpdateToQueue(queue, update) {
function enqueueUpdate (line 12760) | function enqueueUpdate(fiber, update) {
function enqueueCapturedUpdate (line 12822) | function enqueueCapturedUpdate(workInProgress, update) {
function ensureWorkInProgressQueueIsAClone (line 12845) | function ensureWorkInProgressQueueIsAClone(workInProgress, queue) {
function getStateFromUpdate (line 12857) | function getStateFromUpdate(workInProgress, queue, update, prevState, ne...
function processUpdateQueue (line 12920) | function processUpdateQueue(workInProgress, queue, props, instance, rend...
function callCallback (line 13059) | function callCallback(callback, context) {
function resetHasForceUpdateBeforeProcessing (line 13070) | function resetHasForceUpdateBeforeProcessing() {
function checkHasForceUpdateAfterProcessing (line 13074) | function checkHasForceUpdateAfterProcessing() {
function commitUpdateQueue (line 13078) | function commitUpdateQueue(finishedWork, finishedQueue, instance, render...
function commitUpdateEffects (line 13101) | function commitUpdateEffects(effect, instance) {
function requestCurrentSuspenseConfig (line 13115) | function requestCurrentSuspenseConfig() {
function applyDerivedStateFromProps (line 13190) | function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStat...
function checkShouldComponentUpdate (line 13287) | function checkShouldComponentUpdate(workInProgress, ctor, oldProps, newP...
function checkClassInstance (line 13308) | function checkClassInstance(workInProgress, ctor, newProps) {
function adoptClassInstance (line 13387) | function adoptClassInstance(workInProgress, instance) {
function constructClassInstance (line 13397) | function constructClassInstance(workInProgress, ctor, props, renderExpir...
function callComponentWillMount (line 13501) | function callComponentWillMount(workInProgress, instance) {
function callComponentWillReceiveProps (line 13522) | function callComponentWillReceiveProps(workInProgress, instance, newProp...
function mountClassInstance (line 13546) | function mountClassInstance(workInProgress, ctor, newProps, renderExpira...
function resumeMountClassInstance (line 13614) | function resumeMountClassInstance(workInProgress, ctor, newProps, render...
function updateClassInstance (line 13709) | function updateClassInstance(current, workInProgress, ctor, newProps, re...
function coerceRef (line 13869) | function coerceRef(returnFiber, current$$1, element) {
function throwOnInvalidObjectType (line 13942) | function throwOnInvalidObjectType(returnFiber, newChild) {
function warnOnFunctionType (line 13958) | function warnOnFunctionType() {
function ChildReconciler (line 13973) | function ChildReconciler(shouldTrackSideEffects) {
function cloneChildFibers (line 14794) | function cloneChildFibers(current$$1, workInProgress) {
function resetChildFibers (line 14821) | function resetChildFibers(workInProgress, renderExpirationTime) {
function requiredContext (line 14835) | function requiredContext(c) {
function getRootHostContainer (line 14846) | function getRootHostContainer() {
function pushHostContainer (line 14851) | function pushHostContainer(fiber, nextRootInstance) {
function popHostContainer (line 14871) | function popHostContainer(fiber) {
function getHostContext (line 14877) | function getHostContext() {
function pushHostContext (line 14882) | function pushHostContext(fiber) {
function popHostContext (line 14898) | function popHostContext(fiber) {
function hasSuspenseContext (line 14935) | function hasSuspenseContext(parentContext, flag) {
function setDefaultShallowSuspenseContext (line 14939) | function setDefaultShallowSuspenseContext(parentContext) {
function setShallowSuspenseContext (line 14943) | function setShallowSuspenseContext(parentContext, shallowContext) {
function addSubtreeSuspenseContext (line 14947) | function addSubtreeSuspenseContext(parentContext, subtreeContext) {
function pushSuspenseContext (line 14951) | function pushSuspenseContext(fiber, newContext) {
function popSuspenseContext (line 14955) | function popSuspenseContext(fiber) {
function shouldCaptureSuspense (line 14963) | function shouldCaptureSuspense(workInProgress, hasInvisibleParent) {
function findFirstSuspended (line 14987) | function findFirstSuspended(row) {
function mountHookTypesDev (line 15090) | function mountHookTypesDev() {
function updateHookTypesDev (line 15102) | function updateHookTypesDev() {
function checkDepsAreArrayDev (line 15115) | function checkDepsAreArrayDev(deps) {
function warnOnHookMismatchInDev (line 15125) | function warnOnHookMismatchInDev(currentHookName) {
function throwInvalidHookError (line 15159) | function throwInvalidHookError() {
function areHookInputsEqual (line 15169) | function areHookInputsEqual(nextDeps, prevDeps) {
function renderWithHooks (line 15200) | function renderWithHooks(current, workInProgress, Component, props, refO...
function bailoutHooks (line 15329) | function bailoutHooks(current, workInProgress, expirationTime) {
function resetHooks (line 15337) | function resetHooks() {
function mountWorkInProgressHook (line 15370) | function mountWorkInProgressHook() {
function updateWorkInProgressHook (line 15391) | function updateWorkInProgressHook() {
function createFunctionComponentUpdateQueue (line 15437) | function createFunctionComponentUpdateQueue() {
function basicStateReducer (line 15443) | function basicStateReducer(state, action) {
function mountReducer (line 15447) | function mountReducer(reducer, initialArg, init) {
function updateReducer (line 15468) | function updateReducer(reducer, initialArg, init) {
function mountState (line 15611) | function mountState(initialState) {
function updateState (line 15629) | function updateState(initialState) {
function pushEffect (line 15633) | function pushEffect(tag, create, destroy, deps) {
function mountRef (line 15659) | function mountRef(initialValue) {
function updateRef (line 15669) | function updateRef(initialValue) {
function mountEffectImpl (line 15674) | function mountEffectImpl(fiberEffectTag, hookEffectTag, create, deps) {
function updateEffectImpl (line 15681) | function updateEffectImpl(fiberEffectTag, hookEffectTag, create, deps) {
function mountEffect (line 15702) | function mountEffect(create, deps) {
function updateEffect (line 15712) | function updateEffect(create, deps) {
function mountLayoutEffect (line 15722) | function mountLayoutEffect(create, deps) {
function updateLayoutEffect (line 15726) | function updateLayoutEffect(create, deps) {
function imperativeHandleEffect (line 15730) | function imperativeHandleEffect(create, ref) {
function mountImperativeHandle (line 15751) | function mountImperativeHandle(ref, create, deps) {
function updateImperativeHandle (line 15762) | function updateImperativeHandle(ref, create, deps) {
function mountDebugValue (line 15773) | function mountDebugValue(value, formatterFn) {
function mountCallback (line 15781) | function mountCallback(callback, deps) {
function updateCallback (line 15788) | function updateCallback(callback, deps) {
function mountMemo (line 15804) | function mountMemo(nextCreate, deps) {
function updateMemo (line 15812) | function updateMemo(nextCreate, deps) {
function dispatchAction (line 15830) | function dispatchAction(fiber, queue, action) {
function getCommitTime (line 16422) | function getCommitTime() {
function recordCommitTime (line 16426) | function recordCommitTime() {
function startProfilerTimer (line 16433) | function startProfilerTimer(fiber) {
function stopProfilerTimerIfRunning (line 16445) | function stopProfilerTimerIfRunning(fiber) {
function stopProfilerTimerIfRunningAndRecordDelta (line 16452) | function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTim...
function enterHydrationState (line 16473) | function enterHydrationState(fiber) {
function reenterHydrationStateFromDehydratedSuspenseInstance (line 16485) | function reenterHydrationStateFromDehydratedSuspenseInstance(fiber) {
function deleteHydratableInstance (line 16497) | function deleteHydratableInstance(returnFiber, instance) {
function insertNonHydratedInstance (line 16527) | function insertNonHydratedInstance(returnFiber, fiber) {
function tryHydrate (line 16577) | function tryHydrate(fiber, nextInstance) {
function tryToClaimNextHydratableInstance (line 16618) | function tryToClaimNextHydratableInstance(fiber) {
function prepareToHydrateHostInstance (line 16653) | function prepareToHydrateHostInstance(fiber, rootContainerInstance, host...
function prepareToHydrateHostTextInstance (line 16676) | function prepareToHydrateHostTextInstance(fiber) {
function skipPastDehydratedSuspenseInstance (line 16718) | function skipPastDehydratedSuspenseInstance(fiber) {
function popToNextHostParent (line 16739) | function popToNextHostParent(fiber) {
function popHydrationState (line 16747) | function popHydrationState(fiber) {
function resetHydrationState (line 16785) | function resetHydrationState() {
function reconcileChildren (line 16823) | function reconcileChildren(current$$1, workInProgress, nextChildren, ren...
function forceUnmountCurrentAndReconcile (line 16841) | function forceUnmountCurrentAndReconcile(current$$1, workInProgress, nex...
function updateForwardRef (line 16858) | function updateForwardRef(current$$1, workInProgress, Component, nextPro...
function updateMemoComponent (line 16905) | function updateMemoComponent(current$$1, workInProgress, Component, next...
function updateSimpleMemoComponent (line 16971) | function updateSimpleMemoComponent(current$$1, workInProgress, Component...
function updateFragment (line 17009) | function updateFragment(current$$1, workInProgress, renderExpirationTime) {
function updateMode (line 17015) | function updateMode(current$$1, workInProgress, renderExpirationTime) {
function updateProfiler (line 17021) | function updateProfiler(current$$1, workInProgress, renderExpirationTime) {
function markRef (line 17031) | function markRef(current$$1, workInProgress) {
function updateFunctionComponent (line 17039) | function updateFunctionComponent(current$$1, workInProgress, Component, ...
function updateClassComponent (line 17084) | function updateClassComponent(current$$1, workInProgress, Component, nex...
function finishClassComponent (line 17143) | function finishClassComponent(current$$1, workInProgress, Component, sho...
function pushHostRootContext (line 17209) | function pushHostRootContext(workInProgress) {
function updateHostRoot (line 17220) | function updateHostRoot(current$$1, workInProgress, renderExpirationTime) {
function updateHostComponent (line 17270) | function updateHostComponent(current$$1, workInProgress, renderExpiratio...
function updateHostText (line 17312) | function updateHostText(current$$1, workInProgress) {
function mountLazyComponent (line 17321) | function mountLazyComponent(_current, workInProgress, elementType, updat...
function mountIncompleteClassComponent (line 17408) | function mountIncompleteClassComponent(_current, workInProgress, Compone...
function mountIndeterminateComponent (line 17443) | function mountIndeterminateComponent(_current, workInProgress, Component...
function validateFunctionComponentInDev (line 17544) | function validateFunctionComponentInDev(workInProgress, Component) {
function shouldRemainOnFallback (line 17597) | function shouldRemainOnFallback(suspenseContext, current$$1, workInProgr...
function updateSuspenseComponent (line 17603) | function updateSuspenseComponent(current$$1, workInProgress, renderExpir...
function retrySuspenseComponentWithoutHydrating (line 17871) | function retrySuspenseComponentWithoutHydrating(current$$1, workInProgre...
function updateDehydratedSuspenseComponent (line 17907) | function updateDehydratedSuspenseComponent(current$$1, workInProgress, r...
function propagateSuspenseContextChange (line 17984) | function propagateSuspenseContextChange(workInProgress, firstChild, rend...
function findLastContentRow (line 18021) | function findLastContentRow(firstChild) {
function validateRevealOrder (line 18042) | function validateRevealOrder(revealOrder) {
function validateTailOptions (line 18072) | function validateTailOptions(tailMode, revealOrder) {
function validateSuspenseListNestedChild (line 18086) | function validateSuspenseListNestedChild(childSlot, index) {
function validateSuspenseListChildren (line 18099) | function validateSuspenseListChildren(children, revealOrder) {
function initSuspenseListRenderState (line 18130) | function initSuspenseListRenderState(workInProgress, isBackwards, tail, ...
function updateSuspenseListComponent (line 18159) | function updateSuspenseListComponent(current$$1, workInProgress, renderE...
function updatePortalComponent (line 18261) | function updatePortalComponent(current$$1, workInProgress, renderExpirat...
function updateContextProvider (line 18277) | function updateContextProvider(current$$1, workInProgress, renderExpirat...
function updateContextConsumer (line 18318) | function updateContextConsumer(current$$1, workInProgress, renderExpirat...
function updateFundamentalComponent$1 (line 18365) | function updateFundamentalComponent$1(current$$1, workInProgress, render...
function markWorkInProgressReceivedUpdate (line 18377) | function markWorkInProgressReceivedUpdate() {
function bailoutOnAlreadyFinishedWork (line 18381) | function bailoutOnAlreadyFinishedWork(current$$1, workInProgress, render...
function remountFiber (line 18409) | function remountFiber(current$$1, oldWorkInProgress, newWorkInProgress) {
function beginWork$1 (line 18463) | function beginWork$1(current$$1, workInProgress, renderExpirationTime) {
function createFundamentalStateInstance (line 18729) | function createFundamentalStateInstance(currentFiber, props, impl, state) {
function markUpdate (line 18743) | function markUpdate(workInProgress) {
function markRef$1 (line 18749) | function markRef$1(workInProgress) {
function cutOffTailIfNeeded (line 19077) | function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
function completeWork (line 19142) | function completeWork(current, workInProgress, renderExpirationTime) {
function mountEventResponder$1 (line 19668) | function mountEventResponder$1(responder, responderProps, instance, root...
function updateEventListener (line 19679) | function updateEventListener(listener, fiber, visistedResponders, respon...
function updateEventListeners (line 19715) | function updateEventListeners(listeners, instance, rootContainerInstance...
function unwindWork (line 19756) | function unwindWork(workInProgress, renderExpirationTime) {
function unwindInterruptedWork (line 19835) | function unwindInterruptedWork(interruptedWork) {
function createCapturedValue (line 19879) | function createCapturedValue(value, source) {
function showErrorDialog (line 19892) | function showErrorDialog(capturedError) {
function logCapturedError (line 19896) | function logCapturedError(capturedError) {
function logError (line 19963) | function logError(boundary, errorInfo) {
function safelyCallComponentWillUnmount (line 20009) | function safelyCallComponentWillUnmount(current$$1, instance) {
function safelyDetachRef (line 20019) | function safelyDetachRef(current$$1) {
function safelyCallDestroy (line 20036) | function safelyCallDestroy(current$$1, destroy) {
function commitBeforeMutationLifeCycles (line 20046) | function commitBeforeMutationLifeCycles(current$$1, finishedWork) {
function commitHookEffectList (line 20106) | function commitHookEffectList(unmountTag, mountTag, finishedWork) {
function commitPassiveHookEffects (line 20146) | function commitPassiveHookEffects(finishedWork) {
function commitLifeCycles (line 20163) | function commitLifeCycles(finishedRoot, current$$1, finishedWork, commit...
function hideOrUnhideAllChildren (line 20299) | function hideOrUnhideAllChildren(finishedWork, isHidden) {
function commitAttachRef (line 20344) | function commitAttachRef(finishedWork) {
function commitDetachRef (line 20370) | function commitDetachRef(current$$1) {
function commitUnmount (line 20384) | function commitUnmount(current$$1, renderPriorityLevel) {
function commitNestedUnmounts (line 20480) | function commitNestedUnmounts(root, renderPriorityLevel) {
function detachFiber (line 20512) | function detachFiber(current$$1) {
function emptyPortalContainer (line 20533) | function emptyPortalContainer(current$$1) {
function commitContainer (line 20545) | function commitContainer(finishedWork) {
function getHostParentFiber (line 20581) | function getHostParentFiber(fiber) {
function isHostParent (line 20598) | function isHostParent(fiber) {
function getHostSibling (line 20602) | function getHostSibling(fiber) {
function commitPlacement (line 20643) | function commitPlacement(finishedWork) {
function unmountHostComponents (line 20734) | function unmountHostComponents(current$$1, renderPriorityLevel) {
function commitDeletion (line 20848) | function commitDeletion(current$$1, renderPriorityLevel) {
function commitWork (line 20860) | function commitWork(current$$1, finishedWork) {
function commitSuspenseComponent (line 20991) | function commitSuspenseComponent(finishedWork) {
function attachSuspenseRetryListeners (line 21023) | function attachSuspenseRetryListeners(finishedWork) {
function commitResetTextContent (line 21047) | function commitResetTextContent(current$$1) {
function createRootErrorUpdate (line 21057) | function createRootErrorUpdate(fiber, errorInfo, expirationTime) {
function createClassErrorUpdate (line 21072) | function createClassErrorUpdate(fiber, errorInfo, expirationTime) {
function attachPingListener (line 21123) | function attachPingListener(root, renderExpirationTime, thenable) {
function throwException (line 21151) | function throwException(root, returnFiber, sourceFiber, value, renderExp...
function requestCurrentTime (line 21434) | function requestCurrentTime() {
function computeExpirationForFiber (line 21449) | function computeExpirationForFiber(currentTime, fiber, suspenseConfig) {
function computeUniqueAsyncExpiration (line 21513) | function computeUniqueAsyncExpiration() {
function scheduleUpdateOnFiber (line 21526) | function scheduleUpdateOnFiber(fiber, expirationTime) {
function markUpdateTimeFromFiberToRoot (line 21598) | function markUpdateTimeFromFiberToRoot(fiber, expirationTime) {
function scheduleCallbackForRoot (line 21654) | function scheduleCallbackForRoot(root, priorityLevel, expirationTime) {
function runRootCallback (line 21688) | function runRootCallback(root, callback, isSync) {
function flushRoot (line 21710) | function flushRoot(root, expirationTime) {
function flushDiscreteUpdates (line 21724) | function flushDiscreteUpdates() {
function resolveLocksOnRoot (line 21746) | function resolveLocksOnRoot(root, expirationTime) {
function flushPendingDiscreteUpdates (line 21763) | function flushPendingDiscreteUpdates() {
function batchedUpdates$1 (line 21777) | function batchedUpdates$1(fn, a) {
function batchedEventUpdates$1 (line 21791) | function batchedEventUpdates$1(fn, a) {
function discreteUpdates$1 (line 21805) | function discreteUpdates$1(fn, a, b, c) {
function unbatchedUpdates (line 21820) | function unbatchedUpdates(fn, a) {
function flushSync (line 21835) | function flushSync(fn, a) {
function flushControlled (line 21858) | function flushControlled(fn) {
function prepareFreshStack (line 21872) | function prepareFreshStack(root, expirationTime) {
function renderRoot (line 21911) | function renderRoot(root, expirationTime, isSync) {
function markCommitTimeOfFallback (line 22262) | function markCommitTimeOfFallback() {
function markRenderEventTimeAndConfig (line 22266) | function markRenderEventTimeAndConfig(expirationTime, suspenseConfig) {
function renderDidSuspend (line 22279) | function renderDidSuspend() {
function renderDidSuspendDelayIfPossible (line 22285) | function renderDidSuspendDelayIfPossible() {
function renderDidError (line 22291) | function renderDidError() {
function renderHasNotSuspendedYet (line 22299) | function renderHasNotSuspendedYet() {
function inferTimeFromExpirationTime (line 22305) | function inferTimeFromExpirationTime(expirationTime) {
function inferTimeFromExpirationTimeWithSuspenseConfig (line 22312) | function inferTimeFromExpirationTimeWithSuspenseConfig(expirationTime, s...
function workLoopSync (line 22320) | function workLoopSync() {
function workLoop (line 22327) | function workLoop() {
function performUnitOfWork (line 22334) | function performUnitOfWork(unitOfWork) {
function completeUnitOfWork (line 22363) | function completeUnitOfWork(unitOfWork) {
function resetChildExpirationTime (line 22489) | function resetChildExpirationTime(completedWork) {
function commitRoot (line 22550) | function commitRoot(root) {
function commitRootImpl (line 22564) | function commitRootImpl(root, renderPriorityLevel) {
function commitBeforeMutationEffects (line 22858) | function commitBeforeMutationEffects() {
function commitMutationEffects (line 22873) | function commitMutationEffects(renderPriorityLevel) {
function commitLayoutEffects (line 22941) | function commitLayoutEffects(root, committedExpirationTime) {
function flushPassiveEffects (line 22968) | function flushPassiveEffects() {
function flushPassiveEffectsImpl (line 22982) | function flushPassiveEffectsImpl(root, expirationTime) {
function isAlreadyFailedLegacyErrorBoundary (line 23041) | function isAlreadyFailedLegacyErrorBoundary(instance) {
function markLegacyErrorBoundaryAsFailed (line 23045) | function markLegacyErrorBoundaryAsFailed(instance) {
function prepareToThrowUncaughtError (line 23053) | function prepareToThrowUncaughtError(error) {
function captureCommitPhaseErrorOnRoot (line 23061) | function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
function captureCommitPhaseError (line 23071) | function captureCommitPhaseError(sourceFiber, error) {
function pingSuspendedRoot (line 23104) | function pingSuspendedRoot(root, thenable, suspendedTime) {
function retryTimedOutBoundary (line 23164) | function retryTimedOutBoundary(boundaryFiber) {
function resolveRetryThenable (line 23180) | function resolveRetryThenable(boundaryFiber, thenable) {
function jnd (line 23221) | function jnd(timeElapsed) {
function computeMsUntilSuspenseLoadingDelay (line 23225) | function computeMsUntilSuspenseLoadingDelay(mostRecentEventTime, committ...
function checkForNestedUpdates (line 23246) | function checkForNestedUpdates() {
function flushRenderPhaseStrictModeWarningsInDEV (line 23267) | function flushRenderPhaseStrictModeWarningsInDEV() {
function stopFinishedWorkLoopTimer (line 23277) | function stopFinishedWorkLoopTimer() {
function stopInterruptedWorkLoopTimer (line 23283) | function stopInterruptedWorkLoopTimer() {
function checkForInterruption (line 23290) | function checkForInterruption(fiberThatReceivedUpdate, updateExpirationT...
function warnAboutUpdateOnUnmountedFiberInDEV (line 23297) | function warnAboutUpdateOnUnmountedFiberInDEV(fiber) {
function warnAboutInvalidUpdatesOnClassComponentsInDEV (line 23374) | function warnAboutInvalidUpdatesOnClassComponentsInDEV(fiber) {
function warnIfNotScopedWithMatchingAct (line 23400) | function warnIfNotScopedWithMatchingAct(fiber) {
function warnIfNotCurrentlyActingEffectsInDEV (line 23408) | function warnIfNotCurrentlyActingEffectsInDEV(fiber) {
function warnIfNotCurrentlyActingUpdatesInDEV (line 23416) | function warnIfNotCurrentlyActingUpdatesInDEV(fiber) {
function warnIfUnmockedScheduler (line 23433) | function warnIfUnmockedScheduler(fiber) {
function checkForWrongSuspensePriorityInDEV (line 23448) | function checkForWrongSuspensePriorityInDEV(sourceFiber) {
function flushSuspensePriorityWarningInDEV (line 23514) | function flushSuspensePriorityWarningInDEV() {
function computeThreadID (line 23532) | function computeThreadID(root, expirationTime) {
function markSpawnedWork (line 23537) | function markSpawnedWork(expirationTime) {
function scheduleInteractions (line 23548) | function scheduleInteractions(root, expirationTime, interactions) {
function schedulePendingInteractions (line 23582) | function schedulePendingInteractions(root, expirationTime) {
function startWorkOnPendingInteractions (line 23593) | function startWorkOnPendingInteractions(root, expirationTime) {
function finishPendingInteractions (line 23634) | function finishPendingInteractions(root, committedExpirationTime) {
function injectInternals (line 23691) | function injectInternals(internals) {
function onCommitRoot (line 23750) | function onCommitRoot(root, expirationTime) {
function onCommitUnmount (line 23756) | function onCommitUnmount(fiber) {
function FiberNode (line 23791) | function FiberNode(tag, pendingProps, key, mode) {
function shouldConstruct (line 23885) | function shouldConstruct(Component) {
function isSimpleFunctionComponent (line 23890) | function isSimpleFunctionComponent(type) {
function resolveLazyComponentTag (line 23894) | function resolveLazyComponentTag(Component) {
function createWorkInProgress (line 23910) | function createWorkInProgress(current, pendingProps, expirationTime) {
function resetWorkInProgress (line 24005) | function resetWorkInProgress(workInProgress, renderExpirationTime) {
function createHostRootFiber (line 24072) | function createHostRootFiber(tag) {
function createFiberFromTypeAndProps (line 24092) | function createFiberFromTypeAndProps(type, // React$ElementType
function createFiberFromElement (line 24190) | function createFiberFromElement(element, mode, expirationTime) {
function createFiberFromFragment (line 24206) | function createFiberFromFragment(elements, mode, expirationTime, key) {
function createFiberFromFundamental (line 24212) | function createFiberFromFundamental(fundamentalComponent, pendingProps, ...
function createFiberFromProfiler (line 24220) | function createFiberFromProfiler(pendingProps, mode, expirationTime, key) {
function createFiberFromSuspense (line 24236) | function createFiberFromSuspense(pendingProps, mode, expirationTime, key) {
function createFiberFromSuspenseList (line 24249) | function createFiberFromSuspenseList(pendingProps, mode, expirationTime,...
function createFiberFromText (line 24262) | function createFiberFromText(content, mode, expirationTime) {
function createFiberFromHostInstanceForDeletion (line 24268) | function createFiberFromHostInstanceForDeletion() {
function createFiberFromPortal (line 24276) | function createFiberFromPortal(portal, mode, expirationTime) {
function assignFiberPropertiesInDEV (line 24289) | function assignFiberPropertiesInDEV(target, source) {
function FiberRootNode (line 24356) | function FiberRootNode(containerInfo, tag, hydrate) {
function createFiberRoot (line 24382) | function createFiberRoot(containerInfo, tag, hydrate) {
function getContextForSubtree (line 24416) | function getContextForSubtree(parentComponent) {
function scheduleRootUpdate (line 24434) | function scheduleRootUpdate(current$$1, element, expirationTime, suspens...
function updateContainerAtExpirationTime (line 24462) | function updateContainerAtExpirationTime(element, container, parentCompo...
function findHostInstance (line 24488) | function findHostInstance(component) {
function findHostInstanceWithWarning (line 24516) | function findHostInstanceWithWarning(component, methodName) {
function createContainer (line 24558) | function createContainer(containerInfo, tag, hydrate) {
function updateContainer (line 24562) | function updateContainer(element, container, parentComponent, callback) {
function getPublicRootInstance (line 24577) | function getPublicRootInstance(container) {
function findHostInstanceWithNoPortals (line 24590) | function findHostInstanceWithNoPortals(fiber) {
function shouldSuspend (line 24605) | function shouldSuspend(fiber) {
function injectIntoDevTools (line 24683) | function injectIntoDevTools(devToolsConfig) {
function createPortal$1 (line 24724) | function createPortal$1(children, containerInfo,
function ReactBatch (line 24785) | function ReactBatch(root) {
function ReactWork (line 24912) | function ReactWork() {
function ReactSyncRoot (line 24953) | function ReactSyncRoot(container, tag, hydrate) {
function ReactRoot (line 24959) | function ReactRoot(container, hydrate) {
function isValidContainer (line 25026) | function isValidContainer(node) {
function getReactRootElementInContainer (line 25030) | function getReactRootElementInContainer(container) {
function shouldHydrateDueToLegacyHeuristic (line 25042) | function shouldHydrateDueToLegacyHeuristic(container) {
function legacyCreateRootFromDOMContainer (line 25051) | function legacyCreateRootFromDOMContainer(container, forceHydrate) {
function legacyRenderSubtreeIntoContainer (line 25078) | function legacyRenderSubtreeIntoContainer(parentComponent, children, con...
function createPortal$$1 (line 25118) | function createPortal$$1(children, container) {
function createRoot (line 25279) | function createRoot(container, options) {
function createSyncRoot (line 25293) | function createSyncRoot(container, options) {
function warnIfReactDOMContainerInDEV (line 25307) | function warnIfReactDOMContainerInDEV(container) {
FILE: public/vendor/gutenberg/vendor/react.js
function getIteratorFn (line 48) | function getIteratorFn(maybeIterable) {
function toObject (line 71) | function toObject(val) {
function shouldUseNative (line 79) | function shouldUseNative() {
function ReactError (line 158) | function ReactError(error) {
function warnNoop (line 279) | function warnNoop(publicInstance, callerName) {
function Component (line 368) | function Component(props, context, updater) {
function ComponentDummy (line 459) | function ComponentDummy() {}
function PureComponent (line 465) | function PureComponent(props, context, updater) {
function createRef (line 480) | function createRef() {
function refineResolvedLazyComponent (line 554) | function refineResolvedLazyComponent(lazyComponent) {
function getWrappedName (line 558) | function getWrappedName(outerType, innerType, wrapperName) {
function getComponentName (line 563) | function getComponentName(type) {
function setCurrentlyValidatingElement (line 621) | function setCurrentlyValidatingElement(element) {
function hasValidRef (line 718) | function hasValidRef(config) {
function hasValidKey (line 730) | function hasValidKey(config) {
function defineKeyPropWarningGetter (line 742) | function defineKeyPropWarningGetter(props, displayName) {
function defineRefPropWarningGetter (line 756) | function defineRefPropWarningGetter(props, displayName) {
function jsxDEV (line 860) | function jsxDEV(type, config, maybeKey, source, self) {
function createElement (line 917) | function createElement(type, config, children) {
function cloneAndReplaceKey (line 993) | function cloneAndReplaceKey(oldElement, newKey) {
function cloneElement (line 1003) | function cloneElement(element, config, children) {
function isValidElement (line 1080) | function isValidElement(object) {
function escape (line 1093) | function escape(key) {
function escapeUserProvidedKey (line 1114) | function escapeUserProvidedKey(text) {
function getPooledTraverseContext (line 1120) | function getPooledTraverseContext(mapResult, keyPrefix, mapFunction, map...
function releaseTraverseContext (line 1140) | function releaseTraverseContext(traverseContext) {
function traverseAllChildrenImpl (line 1159) | function traverseAllChildrenImpl(children, nameSoFar, callback, traverse...
function traverseAllChildren (line 1259) | function traverseAllChildren(children, callback, traverseContext) {
function getComponentKey (line 1274) | function getComponentKey(component, index) {
function forEachSingleChild (line 1285) | function forEachSingleChild(bookKeeping, child, name) {
function forEachChildren (line 1304) | function forEachChildren(children, forEachFunc, forEachContext) {
function mapSingleChildIntoContext (line 1313) | function mapSingleChildIntoContext(bookKeeping, child, childKey) {
function mapIntoWithKeyPrefixInternal (line 1336) | function mapIntoWithKeyPrefixInternal(children, array, prefix, func, con...
function mapChildren (line 1359) | function mapChildren(children, func, context) {
function countChildren (line 1377) | function countChildren(children) {
function toArray (line 1389) | function toArray(children) {
function onlyChild (line 1411) | function onlyChild(children) {
function createContext (line 1422) | function createContext(defaultValue, calculateChangedBits) {
function lazy (line 1526) | function lazy(ctor) {
function forwardRef (line 1574) | function forwardRef(render) {
function isValidElementType (line 1597) | function isValidElementType(type) {
function memo (line 1603) | function memo(type, compare) {
function resolveDispatcher (line 1616) | function resolveDispatcher() {
function useContext (line 1628) | function useContext(Context, unstable_observedBits) {
function useState (line 1648) | function useState(initialState) {
function useReducer (line 1653) | function useReducer(reducer, initialArg, init) {
function useRef (line 1658) | function useRef(initialValue) {
function useEffect (line 1663) | function useEffect(create, inputs) {
function useLayoutEffect (line 1668) | function useLayoutEffect(create, inputs) {
function useCallback (line 1673) | function useCallback(callback, inputs) {
function useMemo (line 1678) | function useMemo(create, inputs) {
function useImperativeHandle (line 1683) | function useImperativeHandle(ref, create, inputs) {
function useDebugValue (line 1688) | function useDebugValue(value, formatterFn) {
function useResponder (line 1697) | function useResponder(responder, listenerProps) {
function withSuspenseConfig (line 1709) | function withSuspenseConfig(scope, config) {
function checkPropTypes (line 1772) | function checkPropTypes(typeSpecs, values, location, componentName, getS...
function getDeclarationErrorAddendum (line 1837) | function getDeclarationErrorAddendum() {
function getSourceInfoErrorAddendum (line 1847) | function getSourceInfoErrorAddendum(source) {
function getSourceInfoErrorAddendumForProps (line 1856) | function getSourceInfoErrorAddendumForProps(elementProps) {
function getCurrentComponentErrorInfo (line 1870) | function getCurrentComponentErrorInfo(parentType) {
function validateExplicitKey (line 1893) | function validateExplicitKey(element, parentType) {
function validateChildKeys (line 1930) | function validateChildKeys(node, parentType) {
function validatePropTypes (line 1970) | function validatePropTypes(element) {
function validateFragmentProps (line 2004) | function validateFragmentProps(fragment) {
function jsxWithValidation (line 2023) | function jsxWithValidation(type, props, key, isStaticChildren, source, s...
function jsxWithValidationStatic (line 2099) | function jsxWithValidationStatic(type, props, key) {
function jsxWithValidationDynamic (line 2103) | function jsxWithValidationDynamic(type, props, key) {
function createElementWithValidation (line 2107) | function createElementWithValidation(type, props, children) {
function createFactoryWithValidation (line 2168) | function createFactoryWithValidation(type) {
function cloneElementWithValidation (line 2188) | function cloneElementWithValidation(element, props, children) {
function scheduler_flushTaskAtPriority_Immediate (line 2606) | function scheduler_flushTaskAtPriority_Immediate(callback, didTimeout) {
function scheduler_flushTaskAtPriority_UserBlocking (line 2609) | function scheduler_flushTaskAtPriority_UserBlocking(callback, didTimeout) {
function scheduler_flushTaskAtPriority_Normal (line 2612) | function scheduler_flushTaskAtPriority_Normal(callback, didTimeout) {
function scheduler_flushTaskAtPriority_Low (line 2615) | function scheduler_flushTaskAtPriority_Low(callback, didTimeout) {
function scheduler_flushTaskAtPriority_Idle (line 2618) | function scheduler_flushTaskAtPriority_Idle(callback, didTimeout) {
function flushTask (line 2622) | function flushTask(task, currentTime) {
function advanceTimers (line 2718) | function advanceTimers(currentTime) {
function handleTimeout (line 2738) | function handleTimeout(currentTime) {
function flushWork (line 2752) | function flushWork(hasTimeRemaining, initialTime) {
function unstable_runWithPriority (line 2804) | function unstable_runWithPriority(priorityLevel, eventHandler) {
function unstable_next (line 2826) | function unstable_next(eventHandler) {
function unstable_wrapCallback (line 2851) | function unstable_wrapCallback(callback) {
function timeoutForPriorityLevel (line 2866) | function timeoutForPriorityLevel(priorityLevel) {
function unstable_scheduleCallback (line 2882) | function unstable_scheduleCallback(priorityLevel, callback, options) {
function insertScheduledTask (line 2938) | function insertScheduledTask(newTask, expirationTime) {
function insertDelayedTask (line 2973) | function insertDelayedTask(newTask, startTime) {
function unstable_pauseExecution (line 3006) | function unstable_pauseExecution() {
function unstable_continueExecution (line 3010) | function unstable_continueExecution() {
function unstable_getFirstCallbackNode (line 3018) | function unstable_getFirstCallbackNode() {
function unstable_cancelCallback (line 3022) | function unstable_cancelCallback(task) {
function unstable_getCurrentPriorityLevel (line 3049) | function unstable_getCurrentPriorityLevel() {
function unstable_shouldYield (line 3053) | function unstable_shouldYield() {
method unstable_now (line 3080) | get unstable_now () { return getCurrentTime; }
method unstable_forceFrameRate (line 3081) | get unstable_forceFrameRate () { return forceFrameRate; }
function unstable_clear (line 3189) | function unstable_clear(callback) {
function unstable_getCurrent (line 3204) | function unstable_getCurrent() {
function unstable_getThreadID (line 3212) | function unstable_getThreadID() {
function unstable_trace (line 3216) | function unstable_trace(name, timestamp, callback) {
function unstable_wrap (line 3277) | function unstable_wrap(callback) {
function unstable_subscribe (line 3375) | function unstable_subscribe(subscriber) {
function unstable_unsubscribe (line 3392) | function unstable_unsubscribe(subscriber) {
function onInteractionTraced (line 3402) | function onInteractionTraced(interaction) {
function onInteractionScheduledWorkCompleted (line 3422) | function onInteractionScheduledWorkCompleted(interaction) {
function onWorkScheduled (line 3442) | function onWorkScheduled(interactions, threadID) {
function onWorkStarted (line 3462) | function onWorkStarted(interactions, threadID) {
function onWorkStopped (line 3482) | function onWorkStopped(interactions, threadID) {
function onWorkCanceled (line 3502) | function onWorkCanceled(interactions, threadID) {
method __interactionsRef (line 3525) | get __interactionsRef () { return interactionsRef; }
method __subscriberRef (line 3526) | get __subscriberRef () { return subscriberRef; }
function createFundamentalComponent (line 3583) | function createFundamentalComponent(impl) {
function createEventResponder (line 3600) | function createEventResponder(displayName, responderConfig) {
FILE: public/vendor/gutenberg/vendor/wp-polyfill-dom-rect.js
function number (line 2) | function number(v) {
function different (line 6) | function different(u, v) {
function DOMRect (line 10) | function DOMRect(xArg, yArg, wArg, hArg) {
FILE: public/vendor/gutenberg/vendor/wp-polyfill-fetch.js
function isDataView (line 25) | function isDataView(obj) {
function normalizeName (line 49) | function normalizeName(name) {
function normalizeValue (line 59) | function normalizeValue(value) {
function iteratorFor (line 67) | function iteratorFor(items) {
function Headers (line 84) | function Headers(headers) {
function consumed (line 162) | function consumed(body) {
function fileReaderReady (line 169) | function fileReaderReady(reader) {
function readBlobAsArrayBuffer (line 180) | function readBlobAsArrayBuffer(blob) {
function readBlobAsText (line 187) | function readBlobAsText(blob) {
function readArrayBufferAsText (line 194) | function readArrayBufferAsText(buf) {
function bufferClone (line 204) | function bufferClone(buf) {
function Body (line 214) | function Body() {
function normalizeMethod (line 310) | function normalizeMethod(method) {
function Request (line 315) | function Request(input, options) {
function decode (line 358) | function decode(body) {
function parseHeaders (line 374) | function parseHeaders(rawHeaders) {
function Response (line 392) | function Response(bodyInit, options) {
function fetch (line 447) | function fetch(input, init) {
FILE: public/vendor/gutenberg/vendor/wp-polyfill-formdata.js
method value (line 53) | value() {
function normalizeValue (line 69) | function normalizeValue([value, filename]) {
function stringify (line 81) | function stringify(name) {
function normalizeArgs (line 88) | function normalizeArgs(name, value, filename) {
function each (line 106) | function each (arr, cb) {
class FormDataPolyfill (line 115) | class FormDataPolyfill {
method constructor (line 122) | constructor(form) {
method append (line 158) | append(name, value, filename) {
method delete (line 174) | delete(name) {
method entries (line 184) | *entries() {
method forEach (line 199) | forEach(callback, thisArg) {
method get (line 212) | get(name) {
method getAll (line 224) | getAll(name) {
method has (line 235) | has(name) {
method keys (line 245) | *keys() {
method set (line 259) | set(name, value, filename) {
method values (line 269) | *values() {
method ['_asNative'] (line 281) | ['_asNative']() {
method ['_blob'] (line 296) | ['_blob']() {
method toString (line 339) | toString() {
method [Symbol.iterator] (line 329) | [Symbol.iterator]() {
FILE: public/vendor/gutenberg/vendor/wp-polyfill-node-contains.js
function contains (line 3) | function contains(node) {
FILE: public/vendor/gutenberg/vendor/wp-polyfill-url.js
function r (line 1) | function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==...
function F (line 202) | function F() { /* empty */ }
FILE: public/vendor/gutenberg/vendor/wp-polyfill.js
function r (line 1) | function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==...
function _interopRequireDefault (line 8) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function flattenIntoArray (line 1303) | function flattenIntoArray(target, original, source, sourceLen, start, de...
function PromiseCapability (line 1767) | function PromiseCapability(C) {
function packIEEE754 (line 3078) | function packIEEE754(value, mLen, nBytes) {
function unpackIEEE754 (line 3126) | function unpackIEEE754(buffer, mLen, nBytes) {
function unpackI32 (line 3151) | function unpackI32(bytes) {
function packI8 (line 3154) | function packI8(it) {
function packI16 (line 3157) | function packI16(it) {
function packI32 (line 3160) | function packI32(it) {
function packF64 (line 3163) | function packF64(it) {
function packF32 (line 3166) | function packF32(it) {
function addGetter (line 3170) | function addGetter(C, key, internal) {
function get (line 3174) | function get(view, bytes, index, isLittleEndian) {
function set (line 3183) | function set(view, bytes, index, conversion, value, isLittleEndian) {
function F (line 3641) | function F() { /* empty */ }
function asinh (line 3888) | function asinh(x) {
function F (line 4825) | function F() { /* empty */ }
function get (line 4959) | function get(target, propertyKey /* , receiver */) {
function set (line 5048) | function set(target, propertyKey, V /* , receiver */) {
function getSubstitution (line 5263) | function getSubstitution(matched, str, position, captures, namedCaptures...
function wrap (line 6491) | function wrap(innerFn, outerFn, self, tryLocsList) {
function tryCatch (line 6515) | function tryCatch(fn, obj, arg) {
function Generator (line 6536) | function Generator() {}
function GeneratorFunction (line 6537) | function GeneratorFunction() {}
function GeneratorFunctionPrototype (line 6538) | function GeneratorFunctionPrototype() {}
function defineIteratorMethods (line 6566) | function defineIteratorMethods(prototype) {
function AsyncIterator (line 6605) | function AsyncIterator(generator, PromiseImpl) {
function makeInvokeMethod (line 6696) | function makeInvokeMethod(innerFn, self, context) {
function maybeInvokeDelegate (line 6778) | function maybeInvokeDelegate(delegate, context) {
function pushTryEntry (line 6876) | function pushTryEntry(locs) {
function resetTryEntry (line 6891) | function resetTryEntry(entry) {
function Context (line 6898) | function Context(tryLocsList) {
function values (line 6934) | function values(iterable) {
function doneResult (line 6970) | function doneResult() {
function handle (line 7021) | function handle(loc, caught) {
FILE: public/vendor/gutenberg/wp-a11y.js
function __webpack_require__ (line 7) | function __webpack_require__(moduleId) {
function addIntroText (line 136) | function addIntroText() {
function addContainer (line 161) | function addContainer() {
function clear (line 184) | function clear() {
function filterMessage (line 208) | function filterMessage(message) {
function setup (line 247) | function setup() {
function speak (line 288) | function speak(message, ariaLive) {
FILE: public/vendor/gutenberg/wp-annotations.js
function __webpack_require__ (line 7) | function __webpack_require__(moduleId) {
function _objectWithoutProperties (line 104) | function _objectWithoutProperties(source, excluded) {
function _arrayWithoutHoles (line 138) | function _arrayWithoutHoles(arr) {
function _nonIterableSpread (line 148) | function _nonIterableSpread() {
function _toConsumableArray (line 156) | function _toConsumableArray(arr) {
function _arrayLikeToArray (line 181) | function _arrayLikeToArray(arr, len) {
function _unsupportedIterableToArray (line 200) | function _unsupportedIterableToArray(o, minLen) {
function _iterableToArray (line 223) | function _iterableToArray(iter) {
function _objectWithoutPropertiesLoose (line 241) | function _objectWithoutPropertiesLoose(source, excluded) {
function arrayOf (line 287) | function arrayOf( value ) {
function isObjectLike (line 299) | function isObjectLike( value ) {
function createCache (line 308) | function createCache() {
function isShallowEqual (line 328) | function isShallowEqual( a, b, fromIndex ) {
function getRootCache (line 374) | function getRootCache() {
function getWeakMapCache (line 396) | function getWeakMapCache( dependants ) {
function clear (line 439) | function clear() {
function callSelector (line 453) | function callSelector( /* source, ...extraArgs */ ) {
function ownKeys (line 579) | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object...
function _objectSpread (line 581) | function _objectSpread(target) { for (var i = 1; i < arguments.length; i...
function filterWithReference (line 597) | function filterWithReference(collection, predicate) {
function isValidAnnotationRange (line 609) | function isValidAnnotationRange(annotation) {
function reducer_annotations (line 622) | function reducer_annotations() {
function selectors_ownKeys (line 695) | function selectors_ownKeys(object, enumerableOnly) { var keys = Object.k...
function selectors_objectSpread (line 697) | function selectors_objectSpread(target) { for (var i = 1; i < arguments....
function __experimentalGetAllAnnotationsForBlock (line 735) | function __experimentalGetAllAnnotationsForBlock(state, blockClientId) {
function __experimentalGetAnnotations (line 776) | function __experimentalGetAnnotations(state) {
function rng (line 791) | function rng() {
function bytesToUuid (line 809) | function bytesToUuid(buf, offset) {
function v4 (line 821) | function v4(options, buf, offset) {
function __experimentalAddAnnotation (line 878) | function __experimentalAddAnnotation(_ref) {
function __experimentalRemoveAnnotation (line 913) | function __experimentalRemoveAnnotation(annotationId) {
function __experimentalUpdateAnnotationRange (line 929) | function __experimentalUpdateAnnotationRange(annotationId, start, end) {
function __experimentalRemoveAnnotationsBySource (line 945) | function __experimentalRemoveAnnotationsBySource(source) {
function applyAnnotations (line 999) | function applyAnnotations(record) {
function removeAnnotations (line 1032) | function removeAnnotations(record) {
function retrieveAnnotationPositions (line 1042) | function retrieveAnnotationPositions(formats) {
function updateAnnotationsWithPositions (line 1078) | function updateAnnotationsWithPositions(annotations, positions, _ref) {
function _defineProperty (line 1221) | function _defineProperty(obj, key, value) {
FILE: public/vendor/gutenberg/wp-api-fetch.js
function __webpack_require__ (line 7) | function __webpack_require__(moduleId) {
function _objectWithoutProperties (line 104) | function _objectWithoutProperties(source, excluded) {
function _objectWithoutPropertiesLoose (line 144) | function _objectWithoutPropertiesLoose(source, excluded) {
function ownKeys (line 180) | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object...
function _objectSpread (line 182) | function _objectSpread(target) { for (var i = 1; i < arguments.length; i...
function createNonceMiddleware (line 184) | function createNonceMiddleware(nonce) {
function namespace_endpoint_ownKeys (line 212) | function namespace_endpoint_ownKeys(object, enumerableOnly) { var keys =...
function namespace_endpoint_objectSpread (line 214) | function namespace_endpoint_objectSpread(target) { for (var i = 1; i < a...
function root_url_ownKeys (line 243) | function root_url_ownKeys(object, enumerableOnly) { var keys = Object.ke...
function root_url_objectSpread (line 245) | function root_url_objectSpread(target) { for (var i = 1; i < arguments.l...
function getStablePath (line 295) | function getStablePath(path) {
function createPreloadingMiddleware (line 319) | function createPreloadingMiddleware(preloadedData) {
function fetch_all_middleware_ownKeys (line 361) | function fetch_all_middleware_ownKeys(object, enumerableOnly) { var keys...
function fetch_all_middleware_objectSpread (line 363) | function fetch_all_middleware_objectSpread(target) { for (var i = 1; i <...
function http_v1_ownKeys (line 526) | function http_v1_ownKeys(object, enumerableOnly) { var keys = Object.key...
function http_v1_objectSpread (line 528) | function http_v1_objectSpread(target) { for (var i = 1; i < arguments.le...
function httpV1Middleware (line 558) | function httpV1Middleware(options, next) {
function userLocaleMiddleware (line 584) | function userLocaleMiddleware(options, next) {
function parseAndThrowError (line 660) | function parseAndThrowError(response) {
function media_upload_ownKeys (line 679) | function media_upload_ownKeys(object, enumerableOnly) { var keys = Objec...
function media_upload_objectSpread (line 681) | function media_upload_objectSpread(target) { for (var i = 1; i < argumen...
function mediaUploadMiddleware (line 701) | function mediaUploadMiddleware(options, next) {
function build_module_ownKeys (line 763) | function build_module_ownKeys(object, enumerableOnly) { var keys = Objec...
function build_module_objectSpread (line 765) | function build_module_objectSpread(target) { for (var i = 1; i < argumen...
function registerMiddleware (line 810) | function registerMiddleware(middleware) {
function setFetchHandler (line 869) | function setFetchHandler(newFetchHandler) {
function apiFetch (line 873) | function apiFetch(options) {
function asyncGeneratorStep (line 923) | function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, ar...
function _asyncToGenerator (line 939) | function _asyncToGenerator(fn) {
function _defineProperty (line 966) | function _defineProperty(obj, key, value) {
FILE: public/vendor/gutenberg/wp-autop.js
function __webpack_require__ (line 7) | function __webpack_require__(moduleId) {
function _iterableToArrayLimit (line 102) | function _iterableToArrayLimit(arr, i) {
function _slicedToArray (line 139) | function _slicedToArray(arr, i) {
function _arrayLikeToArray (line 150) | function _arrayLikeToArray(arr, len) {
function htmlSplit (line 215) | function htmlSplit(input) {
function replaceInHtmlTags (line 248) | function replaceInHtmlTags(haystack, replacePairs) {
function autop (line 295) | function autop(text) {
function removep (line 457) | function removep(html) {
function _unsupportedIterableToArray (line 585) | function _unsupportedIterableToArray(o, minLen) {
function _arrayWithHoles (line 601) | function _arrayWithHoles(arr) {
function _nonIterableRest (line 612) | function _nonIterableRest() {
FILE: public/vendor/gutenberg/wp-blob.js
function __webpack_require__ (line 7) | function __webpack_require__(moduleId) {
function createBlobURL (line 118) | function createBlobURL(file) {
function getBlobByURL (line 133) | function getBlobByURL(url) {
function revokeBlobURL (line 142) | function revokeBlobURL(url) {
function isBlobURL (line 157) | function isBlobURL(url) {
FILE: public/vendor/gutenberg/wp-block-directory.js
function __webpack_require__ (line 7) | function __webpack_require__(moduleId) {
function _iterableToArrayLimit (line 123) | function _iterableToArrayLimit(arr, i) {
function _slicedToArray (line 160) | function _slicedToArray(arr, i) {
function ownKeys (line 177) | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object...
function _objectSpread (line 179) | function _objectSpread(target) { for (var i = 1; i < arguments.length; i...
function Icon (line 202) | function Icon(_ref) {
function _objectWithoutProperties (line 226) | function _objectWithoutProperties(source, excluded) {
function _arrayWithoutHoles (line 260) | function _arrayWithoutHoles(arr) {
function _nonIterableSpread (line 270) | function _nonIterableSpread() {
function _toConsumableArray (line 278) | function _toConsumableArray(arr) {
function _arrayLikeToArray (line 310) | function _arrayLikeToArray(arr, len) {
function _unsupportedIterableToArray (line 381) | function _unsupportedIterableToArray(o, minLen) {
function _iterableToArray (line 411) | function _iterableToArray(iter) {
function _arrayWithHoles (line 429) | function _arrayWithHoles(arr) {
function _nonIterableRest (line 440) | function _nonIterableRest() {
function _objectWithoutPropertiesLoose (line 458) | function _objectWithoutPropertiesLoose(source, excluded) {
function ownKeys (line 529) | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object...
function _objectSpread (line 531) | function _objectSpread(target) { for (var i = 1; i < arguments.length; i...
function hasBlockType (line 649) | function hasBlockType(blockType) {
function isRequestingDownloadableBlocks (line 692) | function isRequestingDownloadableBlocks(state, filterValue) {
function selectors_getDownloadableBlocks (line 708) | function selectors_getDownloadableBlocks(state, filterValue) {
function getInstalledBlockTypes (line 723) | function getInstalledBlockTypes(state) {
function isInstalling (line 779) | function isInstalling(state, blockId) {
function getErrorNotices (line 790) | function getErrorNotices(state) {
function getErrorNoticeForBlock (line 802) | function getErrorNoticeForBlock(state, blockId) {
function loadAssets (line 892) | function loadAssets(assets) {
function getPluginUrl (line 917) | function getPluginUrl(block) {
function actions_ownKeys (line 938) | function actions_ownKeys(object, enumerableOnly) { var keys = Object.key...
function actions_objectSpread (line 940) | function actions_objectSpread(target) { for (var i = 1; i < arguments.le...
function fetchDownloadableBlocks (line 962) | function fetchDownloadableBlocks(filterValue) {
function receiveDownloadableBlocks (line 978) | function receiveDownloadableBlocks(downloadableBlocks, filterValue) {
function actions_installBlockType (line 993) | function actions_installBlockType(block) {
function actions_uninstallBlockType (line 1128) | function actions_uninstallBlockType(block) {
function addInstalledBlockType (line 1179) | function addInstalledBlockType(item) {
function removeInstalledBlockType (line 1193) | function removeInstalledBlockType(item) {
function setIsInstalling (line 1208) | function setIsInstalling(blockId, isInstalling) {
function setErrorNotice (line 1225) | function setErrorNotice(blockId, message) {
function clearErrorNotice (line 1242) | function clearErrorNotice(blockId) {
function store_ownKeys (line 1321) | function store_ownKeys(object, enumerableOnly) { var keys = Object.keys(...
function store_objectSpread (line 1323) | function store_objectSpread(target) { for (var i = 1; i < arguments.leng...
function AutoBlockUninstaller (line 1378) | function AutoBlockUninstaller() {
function DownloadableBlockAuthorInfo (line 1424) | function DownloadableBlockAuthorInfo(_ref) {
function Stars (line 1484) | function Stars(_ref) {
function DownloadableBlockIcon (line 1553) | function DownloadableBlockIcon(_ref) {
function DownloadableBlockHeader (line 1585) | function DownloadableBlockHeader(_ref) {
function DownloadableBlockInfo (line 1663) | function DownloadableBlockInfo(_ref) {
function DownloadableBlockListItem (line 1743) | function DownloadableBlockListItem(_ref) {
function DownloadableBlocksList (line 1822) | function DownloadableBlocksList(_ref) {
function DownloadableBlocksPanel (line 1883) | function DownloadableBlocksPanel(_ref) {
function InserterMenuDownloadableBlocksPanel (line 1961) | function InserterMenuDownloadableBlocksPanel() {
function CompactList (line 2008) | function CompactList(_ref) {
function InstalledBlocksPrePublishPanel (line 2054) | function InstalledBlocksPrePublishPanel() {
function _defineProperty (line 2115) | function _defineProperty(obj, key, value) {
FILE: public/vendor/gutenberg/wp-block-editor.js
function __webpack_require__ (line 7) | function __webpack_require__(moduleId) {
function flattenIntoMap (line 117) | function flattenIntoMap( map, effects ) {
function refx (line 130) | function refx( effects ) {
function _interopDefault (line 175) | function _interopDefault (ex) { return (ex && (typeof ex === 'object') &...
function merge (line 227) | function merge(target, lowercase) {
function useForceUpdate (line 240) | function useForceUpdate() {
function withDefault (line 251) | function withDefault(value, defaultValue) {
function toArray (line 254) | function toArray(a) {
function callProp (line 257) | function callProp(obj) {
function getForwardProps (line 265) | function getForwardProps(props) {
function interpolateTo (line 288) | function interpolateTo(props) {
function handleRef (line 302) | function handleRef(ref, forward) {
function Animated (line 316) | function Animated() {
function AnimatedArray (line 357) | function AnimatedArray() {
function AnimatedObject (line 389) | function AnimatedObject() {
function injectApplyAnimatedValues (line 440) | function injectApplyAnimatedValues(fn, transform) {
function injectColorNames (line 447) | function injectColorNames(names) {
function injectFrame (line 456) | function injectFrame(raf, caf) {
function injectStringInterpolator (line 461) | function injectStringInterpolator(fn) {
function injectNow (line 467) | function injectNow(nowFn) {
function injectDefaultElement (line 471) | function injectDefaultElement(el) {
function injectAnimatedApi (line 477) | function injectAnimatedApi(fn) {
function injectCreateAnimatedStyle (line 481) | function injectCreateAnimatedStyle(factory) {
function injectManualFrameloop (line 485) | function injectManualFrameloop(callback) {
method applyAnimatedValues (line 490) | get applyAnimatedValues () { return applyAnimatedValues; }
method colorNames (line 492) | get colorNames () { return colorNames; }
method requestFrame (line 494) | get requestFrame () { return requestFrame; }
method cancelFrame (line 495) | get cancelFrame () { return cancelFrame; }
method interpolation (line 497) | get interpolation () { return interpolation; }
method now (line 499) | get now () { return now; }
method defaultElement (line 501) | get defaultElement () { return defaultElement; }
method animatedApi (line 503) | get animatedApi () { return animatedApi; }
method createAnimatedStyle (line 505) | get createAnimatedStyle () { return createAnimatedStyle; }
method manualFrameloop (line 507) | get manualFrameloop () { return manualFrameloop; }
function AnimatedProps (line 520) | function AnimatedProps(props, callback) {
function createInterpolator (line 731) | function createInterpolator(range, output, extrapolate) {
function interpolate (line 764) | function interpolate(input, inputMin, inputMax, outputMin, outputMax, ea...
function findRange (line 786) | function findRange(input, inputRange) {
function AnimatedInterpolation (line 799) | function AnimatedInterpolation(parents, range, output, extrapolate) {
function useChain (line 863) | function useChain(refs, timeSteps, timeFrame) {
function addAnimatedStyles (line 925) | function addAnimatedStyles(node, styles) {
function AnimatedValue (line 940) | function AnimatedValue(_value) {
function AnimatedValueArray (line 1000) | function AnimatedValueArray(values) {
function Controller (line 1050) | function Controller() {
method controllers (line 1496) | get controllers() {
function useTransition (line 1635) | function useTransition(input, keyTransform, config) {
function cleanUp (line 1780) | function cleanUp(state, filterKey) {
function diffItems (line 1818) | function diffItems(_ref9, props) {
function AnimatedStyle (line 1966) | function AnimatedStyle(style) {
function call (line 2144) | function call() {
function normalizeColor (line 2194) | function normalizeColor(color) {
function hue2rgb (line 2259) | function hue2rgb(p, q, t) {
function hslToRgb (line 2268) | function hslToRgb(h, s, l) {
function parse255 (line 2277) | function parse255(str) {
function parse360 (line 2284) | function parse360(str) {
function parse1 (line 2289) | function parse1(str) {
function parsePercentage (line 2296) | function parsePercentage(str) {
function colorToRgba (line 2304) | function colorToRgba(input) {
function dangerousStyleValue (line 2425) | function dangerousStyleValue(name, value, isCustomProperty) {
function classNames (line 2513) | function classNames () {
function _assertThisInitialized (line 2578) | function _assertThisInitialized(self) {
function _iterableToArrayLimit (line 2600) | function _iterableToArrayLimit(arr, i) {
function _slicedToArray (line 2637) | function _slicedToArray(arr, i) {
function ownKeys (line 2654) | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object...
function _objectSpread (line 2656) | function _objectSpread(target) { for (var i = 1; i < arguments.length; i...
function Icon (line 2679) | function Icon(_ref) {
function emptyFunction (line 2711) | function emptyFunction() {}
function emptyFunctionWithReset (line 2712) | function emptyFunctionWithReset() {}
function shim (line 2716) | function shim(props, propName, componentName, location, propFullName, se...
function getShim (line 2730) | function getShim() {
function _inheritsLoose (line 2791) | function _inheritsLoose(subClass, superClass) {
function _objectWithoutProperties (line 2808) | function _objectWithoutProperties(source, excluded) {
function _toArray (line 2842) | function _toArray(arr) {
function _getPrototypeOf (line 2917) | function _getPrototypeOf(o) {
function _extends (line 2970) | function _extends() {
function _objectWithoutPropertiesLoose (line 2995) | function _objectWithoutPropertiesLoose(source, excluded) {
function _assertThisInitialized (line 3017) | function _assertThisInitialized(self) {
function __ (line 3040) | function __() { this.constructor = d; }
function TextareaAutosize (line 3076) | function TextareaAutosize() {
function assign (line 3217) | function assign(ta) {
function destroy (line 3391) | function destroy(ta) {
function update (line 3398) | function update(ta) {
function lineHeight (line 3458) | function lineHeight(node) {
function _arrayWithoutHoles (line 3564) | function _arrayWithoutHoles(arr) {
function _nonIterableSpread (line 3574) | function _nonIterableSpread() {
function _toConsumableArray (line 3582) | function _toConsumableArray(arr) {
function scrollIntoView (line 3655) | function scrollIntoView(elem, container, config) {
function getClientPosition (line 3795) | function getClientPosition(elem) {
function getScroll (line 3841) | function getScroll(w, top) {
function getScrollLeft (line 3856) | function getScrollLeft(w) {
function getScrollTop (line 3860) | function getScrollTop(w) {
function getOffset (line 3864) | function getOffset(el) {
function _getComputedStyle (line 3872) | function _getComputedStyle(elem, name, computedStyle_) {
function _getComputedStyleIE (line 3892) | function _getComputedStyleIE(elem, name) {
function each (line 3933) | function each(arr, fn) {
function isBorderBoxFn (line 3939) | function isBorderBoxFn(elem) {
function swap (line 3949) | function swap(elem, options, callback) {
function getPBMWidth (line 3972) | function getPBMWidth(elem, props, which) {
function isWindow (line 3998) | function isWindow(obj) {
function getWH (line 4038) | function getWH(elem, name, extra) {
function getWHIgnoreDisplay (line 4084) | function getWHIgnoreDisplay(elem) {
function css (line 4099) | function css(el, name, v) {
function setOffset (line 4143) | function setOffset(elem, offset) {
function _defineProperties (line 4259) | function _defineProperties(target, props) {
function _createClass (line 4269) | function _createClass(Constructor, protoProps, staticProps) {
function _classCallCheck (line 4282) | function _classCallCheck(instance, Constructor) {
function _setPrototypeOf (line 4381) | function _setPrototypeOf(o, p) {
function _inherits (line 4391) | function _inherits(subClass, superClass) {
function _possibleConstructorReturn (line 4424) | function _possibleConstructorReturn(self, call) {
function multi (line 4461) | function multi(_ref) {
function _interopRequireDefault (line 4499) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function diffChars (line 4516) | function diffChars(oldStr, newStr, options) {
function matchQuery (line 4546) | function matchQuery(mediaQuery, values) {
function parseQuery (line 4613) | function parseQuery(mediaQuery) {
function toDecimal (line 4646) | function toDecimal(ratio) {
function toDpi (line 4658) | function toDpi(resolution) {
function toPx (line 4669) | function toPx(length) {
function _arrayLikeToArray (line 4693) | function _arrayLikeToArray(arr, len) {
function Traverse (line 4712) | function Traverse (obj) {
function walk (line 4818) | function walk (root, cb, immutable) {
function copy (line 4936) | function copy (src) {
function toS (line 4992) | function toS (obj) { return Object.prototype.toString.call(obj) }
function isDate (line 4993) | function isDate (obj) { return toS(obj) === '[object Date]' }
function isRegExp (line 4994) | function isRegExp (obj) { return toS(obj) === '[object RegExp]' }
function isError (line 4995) | function isError (obj) { return toS(obj) === '[object Error]' }
function isBoolean (line 4996) | function isBoolean (obj) { return toS(obj) === '[object Boolean]' }
function isNumber (line 4997) | function isNumber (obj) { return toS(obj) === '[object Number]' }
function isString (line 4998) | function isString (obj) { return toS(obj) === '[object String]' }
function _unsupportedIterableToArray (line 5227) | function _unsupportedIterableToArray(o, minLen) {
function Diff (line 5301) | function Diff() {}
function done (line 5322) | function done(value) {
function execEditLength (line 5358) | function execEditLength() {
function buildValues (line 5536) | function buildValues(diff, components, newString, oldString, useLongestT...
function clonePath (line 5589) | function clonePath(path) {
function _iterableToArray (line 5732) | function _iterableToArray(iter) {
function _arrayWithHoles (line 5750) | function _arrayWithHoles(arr) {
function _nonIterableRest (line 5761) | function _nonIterableRest() {
function _typeof (line 5779) | function _typeof(obj) {
function _objectWithoutPropertiesLoose (line 5802) | function _objectWithoutPropertiesLoose(source, excluded) {
function arrayOf (line 5848) | function arrayOf( value ) {
function isObjectLike (line 5860) | function isObjectLike( value ) {
function createCache (line 5869) | function createCache() {
function isShallowEqual (line 5889) | function isShallowEqual( a, b, fromIndex ) {
function getRootCache (line 5935) | function getRootCache() {
function getWeakMapCache (line 5957) | function getWeakMapCache( dependants ) {
function clear (line 6000) | function clear() {
function callSelector (line 6014) | function callSelector( /* source, ...extraArgs */ ) {
function useBlockEditContext (line 6413) | function useBlockEditContext() {
function useDisplayBlockControls (line 6427) | function useDisplayBlockControls() {
function BlockControlsSlot (line 6479) | function BlockControlsSlot(props) {
function BlockControlsFill (line 6486) | function BlockControlsFill(_ref) {
function ownKeys (line 6596) | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object...
function _objectSpread (line 6598) | function _objectSpread(target) { for (var i = 1; i < arguments.length; i...
function BlockAlignmentToolbar (line 6636) | function BlockAlignmentToolbar(_ref) {
function align_ownKeys (line 6686) | function align_ownKeys(object, enumerableOnly) { var keys = Object.keys(...
function align_objectSpread (line 6688) | function align_objectSpread(target) { for (var i = 1; i < arguments.leng...
function getValidAlignments (line 6740) | function getValidAlignments(blockAlign) {
function addAttribute (line 6767) | function addAttribute(settings) {
function addAssignedAlign (line 6880) | function addAssignedAlign(props, blockType, attributes) {
function InspectorAdvancedControls (line 6918) | function InspectorAdvancedControls(_ref) {
function anchor_ownKeys (line 6935) | function anchor_ownKeys(object, enumerableOnly) { var keys = Object.keys...
function anchor_objectSpread (line 6937) | function anchor_objectSpread(target) { for (var i = 1; i < arguments.len...
function anchor_addAttribute (line 6973) | function anchor_addAttribute(settings) {
function addSaveProps (line 7039) | function addSaveProps(extraProps, blockType, attributes) {
function custom_class_name_ownKeys (line 7054) | function custom_class_name_ownKeys(object, enumerableOnly) { var keys = ...
function custom_class_name_objectSpread (line 7056) | function custom_class_name_objectSpread(target) { for (var i = 1; i < ar...
function custom_class_name_addAttribute (line 7086) | function custom_class_name_addAttribute(settings) {
function custom_class_name_addSaveProps (line 7140) | function custom_class_name_addSaveProps(extraProps, blockType, attribute...
function getHTMLRootElementClasses (line 7156) | function getHTMLRootElementClasses(innerHTML) {
function addParsedDifference (line 7179) | function addParsedDifference(blockAttributes, blockType, innerHTML) {
function addGeneratedClassName (line 7232) | function addGeneratedClassName(extraProps, blockType) {
function getColorClassName (line 7319) | function getColorClassName(colorContextName, colorSlug) {
function utils_getMostReadableColor (line 7335) | function utils_getMostReadableColor(colors, colorValue) {
function __experimentalGetGradientClass (line 7357) | function __experimentalGetGradientClass(gradientSlug) {
function getGradientValueBySlug (line 7373) | function getGradientValueBySlug(gradients, slug) {
function __experimentalGetGradientObjectByGradientValue (line 7377) | function __experimentalGetGradientObjectByGradientValue(gradients, value) {
function getGradientSlugByValue (line 7389) | function getGradientSlugByValue(gradients, value) {
function __experimentalUseGradient (line 7394) | function __experimentalUseGradient() {
function control_ownKeys (line 7485) | function control_ownKeys(object, enumerableOnly) { var keys = Object.key...
function control_objectSpread (line 7487) | function control_objectSpread(target) { for (var i = 1; i < arguments.le...
function VisualLabel (line 7516) | function VisualLabel(_ref) {
function ColorGradientControlInner (line 7547) | function ColorGradientControlInner(_ref2) {
function ColorGradientControlSelect (line 7614) | function ColorGradientControlSelect(props) {
function ColorGradientControl (line 7622) | function ColorGradientControl(props) {
function panel_color_gradient_settings_ownKeys (line 7640) | function panel_color_gradient_settings_ownKeys(object, enumerableOnly) {...
function panel_color_gradient_settings_objectSpread (line 7642) | function panel_color_gradient_settings_objectSpread(target) { for (var i...
function ContrastCheckerMessage (line 7783) | function ContrastCheckerMessage(_ref) {
function ContrastChecker (line 7805) | function ContrastChecker(_ref2) {
function InspectorControls (line 7855) | function InspectorControls(_ref) {
function getBlockDOMNode (line 7877) | function getBlockDOMNode(clientId) {
function getBlockPreviewContainerDOMNode (line 7889) | function getBlockPreviewContainerDOMNode(clientId) {
function isBlockFocusStop (line 7907) | function isBlockFocusStop(element) {
function isInSameBlock (line 7919) | function isInSameBlock(a, b) {
function isInsideRootBlock (line 7933) | function isInsideRootBlock(blockElement, element) {
function hasInnerBlocksContext (line 7946) | function hasInnerBlocksContext(element) {
function getBlockClientId (line 7958) | function getBlockClientId(node) {
function ColorPanel (line 7996) | function ColorPanel(_ref) {
function color_ownKeys (line 8053) | function color_ownKeys(object, enumerableOnly) { var keys = Object.keys(...
function color_objectSpread (line 8055) | function color_objectSpread(target) { for (var i = 1; i < arguments.leng...
function addAttributes (line 8112) | function addAttributes(settings) {
function color_addSaveProps (line 8154) | function color_addSaveProps(props, blockType, attributes) {
function addEditProps (line 8184) | function addEditProps(settings) {
function ColorEdit (line 8222) | function ColorEdit(props) {
function isLineHeightDefined (line 8424) | function isLineHeightDefined(lineHeight) {
function LineHeightControl (line 8442) | function LineHeightControl(_ref) {
function line_height_ownKeys (line 8512) | function line_height_ownKeys(object, enumerableOnly) { var keys = Object...
function line_height_objectSpread (line 8514) | function line_height_objectSpread(target) { for (var i = 1; i < argument...
function LineHeightEdit (line 8536) | function LineHeightEdit(props) {
function useIsLineHeightDisabled (line 8570) | function useIsLineHeightDisabled() {
function getFontSizeObjectByValue (line 8626) | function getFontSizeObjectByValue(fontSizes, value) {
function getFontSizeClass (line 8648) | function getFontSizeClass(fontSizeSlug) {
function font_size_ownKeys (line 8677) | function font_size_ownKeys(object, enumerableOnly) { var keys = Object.k...
function font_size_objectSpread (line 8679) | function font_size_objectSpread(target) { for (var i = 1; i < arguments....
function font_size_addAttributes (line 8704) | function font_size_addAttributes(settings) {
function font_size_addSaveProps (line 8730) | function font_size_addSaveProps(props, blockType, attributes) {
function font_size_addEditProps (line 8751) | function font_size_addEditProps(settings) {
function useFontSizes (line 8771) | function useFontSizes() {
function FontSizeEdit (line 8785) | function FontSizeEdit(props) {
function useIsFontSizeDisabled (line 8825) | function useIsFontSizeDisabled() {
function TypographyPanel (line 8895) | function TypographyPanel(props) {
function useIsTypographyDisabled (line 8910) | function useIsTypographyDisabled() {
function useEditorFeature (line 8945) | function useEditorFeature(featurePath) {
function UnitControl (line 8982) | function UnitControl(_ref) {
function filterUnitsWithSettings (line 9000) | function filterUnitsWithSettings() {
function useCustomUnits (line 9016) | function useCustomUnits(unitsProp) {
function padding_ownKeys (line 9044) | function padding_ownKeys(object, enumerableOnly) { var keys = Object.key...
function padding_objectSpread (line 9046) | function padding_objectSpread(target) { for (var i = 1; i < arguments.le...
function PaddingEdit (line 9070) | function PaddingEdit(props) {
function SpacingPanelControl (line 9144) | function SpacingPanelControl(_ref) {
function style_ownKeys (line 9168) | function style_ownKeys(object, enumerableOnly) { var keys = Object.keys(...
function style_objectSpread (line 9170) | function style_objectSpread(target) { for (var i = 1; i < arguments.leng...
function compileStyleValue (line 9203) | function compileStyleValue(uncompiledValue) {
function getInlineStyles (line 9219) | function getInlineStyles() {
function style_addAttribute (line 9253) | function style_addAttribute(settings) {
function style_addSaveProps (line 9279) | function style_addSaveProps(props, blockType, attributes) {
function style_addEditProps (line 9296) | function style_addEditProps(settings) {
function _createSuper (line 9385) | function _createSuper(Derived) { return function () { var Super = Object...
function _isNativeReflectConstruct (line 9387) | function _isNativeReflectConstruct() { if (typeof Reflect === "undefined...
function with_colors_ownKeys (line 9389) | function with_colors_ownKeys(object, enumerableOnly) { var keys = Object...
function with_colors_objectSpread (line 9391) | function with_colors_objectSpread(target) { for (var i = 1; i < argument...
function createColorHOC (line 9455) | function createColorHOC(colorTypes, withColorPalette) {
function createCustomColorsHOC (line 9575) | function createCustomColorsHOC(colorsArray) {
function withColors (line 9611) | function withColors() {
function panel_color_settings_ownKeys (line 9631) | function panel_color_settings_ownKeys(object, enumerableOnly) { var keys...
function panel_color_settings_objectSpread (line 9633) | function panel_color_settings_objectSpread(target) { for (var i = 1; i <...
function color_panel_ColorPanel (line 9689) | function color_panel_ColorPanel(_ref) {
function _createForOfIteratorHelper (line 9734) | function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefine...
function _unsupportedIterableToArray (line 9736) | function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (ty...
function _arrayLikeToArray (line 9738) | function _arrayLikeToArray(arr, len) { if (len == null || len > arr.leng...
function use_colors_ownKeys (line 9740) | function use_colors_ownKeys(object, enumerableOnly) { var keys = Object....
function use_colors_objectSpread (line 9742) | function use_colors_objectSpread(target) { for (var i = 1; i < arguments...
function __experimentalUseColors (line 9781) | function __experimentalUseColors(colorConfigs) {
function with_font_sizes_ownKeys (line 10028) | function with_font_sizes_ownKeys(object, enumerableOnly) { var keys = Ob...
function with_font_sizes_objectSpread (line 10030) | function with_font_sizes_objectSpread(target) { for (var i = 1; i < argu...
function with_font_sizes_createSuper (line 10032) | function with_font_sizes_createSuper(Derived) { return function () { var...
function with_font_sizes_isNativeReflectConstruct (line 10034) | function with_font_sizes_isNativeReflectConstruct() { if (typeof Reflect...
function _class (line 10090) | function _class(props) {
function alignment_toolbar_ownKeys (line 10194) | function alignment_toolbar_ownKeys(object, enumerableOnly) { var keys = ...
function alignment_toolbar_objectSpread (line 10196) | function alignment_toolbar_objectSpread(target) { for (var i = 1; i < ar...
function AlignmentToolbar (line 10226) | function AlignmentToolbar(props) {
function search_items_ownKeys (line 10274) | function search_items_ownKeys(object, enumerableOnly) { var keys = Objec...
function search_items_objectSpread (line 10276) | function search_items_objectSpread(target) { for (var i = 1; i < argumen...
function utils_ownKeys (line 10498) | function utils_ownKeys(object, enumerableOnly) { var keys = Object.keys(...
function utils_objectSpread (line 10500) | function utils_objectSpread(target) { for (var i = 1; i < arguments.leng...
function includeVariationsInInserterItems (line 10508) | function includeVariationsInInserterItems(items) {
function BlockIcon (line 10558) | function BlockIcon(_ref) {
function createBlockCompleter (line 10636) | function createBlockCompleter() {
function BlockEditorAutocomplete (line 10747) | function BlockEditorAutocomplete(props) {
function BlockAlignmentMatrixToolbar (line 10796) | function BlockAlignmentMatrixToolbar(props) {
function BlockTitle (line 10871) | function BlockTitle(_ref) {
function BlockBreadcrumb (line 10917) | function BlockBreadcrumb() {
function block_context_ownKeys (line 10985) | function block_context_ownKeys(object, enumerableOnly) { var keys = Obje...
function block_context_objectSpread (line 10987) | function block_context_objectSpread(target) { for (var i = 1; i < argume...
function BlockContextProvider (line 11014) | function BlockContextProvider(_ref) {
function block_edit_BlockEdit (line 11218) | function block_edit_BlockEdit(props) {
function BlockFormatControlsSlot (line 11265) | function BlockFormatControlsSlot(props) {
function BlockFormatControlsFill (line 11272) | function BlockFormatControlsFill(props) {
function useMovingAnimation (line 11358) | function useMovingAnimation(ref, isSelected, adjustScrolling, enableAnim...
function BlockNavigationLeaf (line 11509) | function BlockNavigationLeaf(_ref) {
function getBlockMoverDescription (line 11569) | function getBlockMoverDescription(selectedCount, type, firstIndex, isFir...
function getMultiBlockMoverDescription (line 11692) | function getMultiBlockMoverDescription(selectedCount, firstIndex, isFirs...
function DescenderLines (line 11880) | function DescenderLines(_ref) {
function Warning (line 11944) | function Warning(_ref) {
function BlockCompare (line 12050) | function BlockCompare(_ref) {
function block_invalid_warning_createSuper (line 12123) | function block_invalid_warning_createSuper(Derived) { return function ()...
function block_invalid_warning_isNativeReflectConstruct (line 12125) | function block_invalid_warning_isNativeReflectConstruct() { if (typeof R...
function BlockInvalidWarning (line 12147) | function BlockInvalidWarning(props) {
function block_crash_boundary_createSuper (line 12302) | function block_crash_boundary_createSuper(Derived) { return function () ...
function block_crash_boundary_isNativeReflectConstruct (line 12304) | function block_crash_boundary_isNativeReflectConstruct() { if (typeof Re...
function BlockCrashBoundary (line 12316) | function BlockCrashBoundary() {
function BlockHTML (line 12372) | function BlockHTML(_ref) {
function getDeepestNode (line 12442) | function getDeepestNode(node, type) {
function use_multi_selection_selector (line 12457) | function use_multi_selection_selector(select) {
function toggleRichText (line 12476) | function toggleRichText(container, toggle) {
function useMultiSelection (line 12486) | function useMultiSelection(ref) {
function Tips (line 12669) | function Tips() {
function InserterSearchForm (line 12707) | function InserterSearchForm(_ref) {
function BlockCard (line 12761) | function BlockCard(_ref) {
function insertAt (line 12986) | function insertAt(array, elements, index) {
function moveTo (line 13000) | function moveTo(array, from, to) {
function reducer_ownKeys (line 13014) | function reducer_ownKeys(object, enumerableOnly) { var keys = Object.key...
function reducer_objectSpread (line 13016) | function reducer_objectSpread(target) { for (var i = 1; i < arguments.le...
function mapBlockOrder (line 13045) | function mapBlockOrder(blocks) {
function mapBlockParents (line 13069) | function mapBlockParents(blocks) {
function flattenBlocks (line 13087) | function flattenBlocks(blocks) {
function getFlattenedBlocksWithoutAttributes (line 13115) | function getFlattenedBlocksWithoutAttributes(blocks) {
function getFlattenedBlockAttributes (line 13131) | function getFlattenedBlockAttributes(blocks) {
function getNestedBlockClientIds (line 13159) | function getNestedBlockClientIds(blocksOrder) {
function getMutateSafeObject (line 13181) | function getMutateSafeObject(original, working) {
function hasSameKeys (line 13199) | function hasSameKeys(a, b) {
function isUpdatingSameBlockAttribute (line 13213) | function isUpdatingSameBlockAttribute(action, lastAction) {
function withPersistentBlockChange (line 13367) | function withPersistentBlockChange(reducer) {
function withIgnoredBlockChange (line 13411) | function withIgnoredBlockChange(reducer) {
function reducer_isTyping (line 13963) | function reducer_isTyping() {
function isDraggingBlocks (line 13986) | function isDraggingBlocks() {
function reducer_isCaretWithinFormattedText (line 14009) | function reducer_isCaretWithinFormattedText() {
function reducer_selection (line 14033) | function reducer_selection() {
function reducer_selectionStart (line 14118) | function reducer_selectionStart() {
function reducer_selectionEnd (line 14150) | function reducer_selectionEnd() {
function reducer_isMultiSelecting (line 14182) | function reducer_isMultiSelecting() {
function reducer_isSelectionEnabled (line 14205) | function reducer_isSelectionEnabled() {
function reducer_initialPosition (line 14229) | function reducer_initialPosition(state, action) {
function blocksMode (line 14241) | function blocksMode() {
function insertionPoint (line 14263) | function insertionPoint() {
function reducer_template (line 14291) | function reducer_template() {
function reducer_settings (line 14315) | function reducer_settings() {
function preferences (line 14335) | function preferences() {
function reducer_isNavigationMode (line 14419) | function reducer_isNavigationMode() {
function reducer_hasBlockMovingClientId (line 14443) | function reducer_hasBlockMovingClientId() {
function lastBlockAttributesChange (line 14467) | function lastBlockAttributesChange(state, action) {
function automaticChangeStatus (line 14493) | function automaticChangeStatus(state, action) {
function highlightedBlock (line 14529) | function highlightedBlock(state, action) {
function controls_select (line 14594) | function controls_select(storeName, selectorName) {
function actions_createForOfIteratorHelper (line 14630) | function actions_createForOfIteratorHelper(o) { if (typeof Symbol === "u...
function actions_unsupportedIterableToArray (line 14632) | function actions_unsupportedIterableToArray(o, minLen) { if (!o) return;...
function actions_arrayLikeToArray (line 14634) | function actions_arrayLikeToArray(arr, len) { if (len == null || len > a...
function actions_ownKeys (line 14636) | function actions_ownKeys(object, enumerableOnly) { var keys = Object.key...
function actions_objectSpread (line 14638) | function actions_objectSpread(target) { for (var i = 1; i < arguments.le...
function ensureDefaultBlock (line 14678) | function ensureDefaultBlock() {
function actions_resetBlocks (line 14719) | function actions_resetBlocks(blocks) {
function actions_resetSelection (line 14746) | function actions_resetSelection(selectionStart, selectionEnd) {
function receiveBlocks (line 14763) | function receiveBlocks(blocks) {
function actions_updateBlockAttributes (line 14779) | function actions_updateBlockAttributes(clientIds, attributes) {
function actions_updateBlock (line 14796) | function actions_updateBlock(clientId, updates) {
function actions_selectBlock (line 14816) | function actions_selectBlock(clientId) {
function selectPreviousBlock (line 14831) | function selectPreviousBlock(clientId) {
function selectNextBlock (line 14868) | function selectNextBlock(clientId) {
function actions_startMultiSelect (line 14904) | function actions_startMultiSelect() {
function actions_stopMultiSelect (line 14915) | function actions_stopMultiSelect() {
function actions_multiSelect (line 14929) | function actions_multiSelect(start, end) {
function actions_clearSelectedBlock (line 14942) | function actions_clearSelectedBlock() {
function actions_toggleSelection (line 14956) | function actions_toggleSelection() {
function getBlocksWithDefaultStylesApplied (line 14964) | function getBlocksWithDefaultStylesApplied(blocks, blockEditorSettings) {
function actions_replaceBlocks (line 15006) | function actions_replaceBlocks(clientIds, blocks, indexToSelect, initial...
function replaceBlock (line 15084) | function replaceBlock(clientId, block) {
function createOnMove (line 15096) | function createOnMove(type) {
function actions_moveBlocksToPosition (line 15120) | function actions_moveBlocksToPosition(clientIds) {
function actions_moveBlockToPosition (line 15210) | function actions_moveBlockToPosition(clientId) {
function actions_insertBlock (line 15244) | function actions_insertBlock(block, index, rootClientId) {
function actions_insertBlocks (line 15260) | function actions_insertBlocks(blocks, index, rootClientId) {
function actions_showInsertionPoint (line 15359) | function actions_showInsertionPoint(rootClientId, index) {
function actions_hideInsertionPoint (line 15372) | function actions_hideInsertionPoint() {
function setTemplateValidity (line 15385) | function setTemplateValidity(isValid) {
function synchronizeTemplate (line 15397) | function synchronizeTemplate() {
function actions_mergeBlocks (line 15411) | function actions_mergeBlocks(firstBlockClientId, secondBlockClientId) {
function actions_removeBlocks (line 15426) | function actions_removeBlocks(clientIds) {
function actions_removeBlock (line 15519) | function actions_removeBlock(clientId, selectPrevious) {
function actions_replaceInnerBlocks (line 15533) | function actions_replaceInnerBlocks(rootClientId, blocks) {
function toggleBlockMode (line 15552) | function toggleBlockMode(clientId) {
function actions_startTyping (line 15564) | function actions_startTyping() {
function actions_stopTyping (line 15575) | function actions_stopTyping() {
function actions_startDraggingBlocks (line 15586) | function actions_startDraggingBlocks() {
function actions_stopDraggingBlocks (line 15597) | function actions_stopDraggingBlocks() {
function actions_enterFormattedText (line 15608) | function actions_enterFormattedText() {
function actions_exitFormattedText (line 15619) | function actions_exitFormattedText() {
function actions_selectionChange (line 15636) | function actions_selectionChange(clientId, attributeKey, startOffset, en...
function actions_insertDefaultBlock (line 15657) | function actions_insertDefaultBlock(attributes, rootClientId, index) {
function actions_updateBlockListSettings (line 15678) | function actions_updateBlockListSettings(clientId, settings) {
function actions_updateSettings (line 15693) | function actions_updateSettings(settings) {
function __unstableSaveReusableBlock (line 15709) | function __unstableSaveReusableBlock(id, updatedId) {
function actions_unstableMarkLastChangeAsPersistent (line 15722) | function actions_unstableMarkLastChangeAsPersistent() {
function actions_unstableMarkNextChangeAsNotPersistent (line 15733) | function actions_unstableMarkNextChangeAsNotPersistent() {
function actions_unstableMarkAutomaticChange (line 15749) | function actions_unstableMarkAutomaticChange() {
function actions_setNavigationMode (line 15760) | function actions_setNavigationMode() {
function actions_setBlockMovingClientId (line 15794) | function actions_setBlockMovingClientId() {
function actions_duplicateBlocks (line 15827) | function actions_duplicateBlocks(clientIds) {
function actions_insertBeforeBlock (line 15922) | function actions_insertBeforeBlock(clientId) {
function actions_insertAfterBlock (line 15979) | function actions_insertAfterBlock(clientId) {
function actions_toggleBlockHighlight (line 16037) | function actions_toggleBlockHighlight(clientId, isHighlighted) {
function actions_flashBlock (line 16051) | function actions_flashBlock(clientId) {
function actions_setHasControlledInnerBlocks (line 16084) | function actions_setHasControlledInnerBlocks(clientId, hasControlledInne...
function selectors_ownKeys (line 16100) | function selectors_ownKeys(object, enumerableOnly) { var keys = Object.k...
function selectors_objectSpread (line 16102) | function selectors_objectSpread(target) { for (var i = 1; i < arguments....
function selectors_getBlockName (line 16162) | function selectors_getBlockName(state, clientId) {
function selectors_isBlockValid (line 16175) | function selectors_isBlockValid(state, clientId) {
function getBlockAttributes (line 16189) | function getBlockAttributes(state, clientId) {
function selectors_getBlockCount (line 16359) | function selectors_getBlockCount(state, rootClientId) {
function selectors_getSelectionStart (line 16371) | function selectors_getSelectionStart(state) {
function selectors_getSelectionEnd (line 16383) | function selectors_getSelectionEnd(state) {
function getBlockSelectionStart (line 16396) | function getBlockSelectionStart(state) {
function selectors_getBlockSelectionEnd (line 16409) | function selectors_getBlockSelectionEnd(state) {
function selectors_getSelectedBlockCount (line 16420) | function selectors_getSelectedBlockCount(state) {
function hasSelectedBlock (line 16437) | function hasSelectedBlock(state) {
function selectors_getSelectedBlockClientId (line 16451) | function selectors_getSelectedBlockClientId(state) {
function selectors_getSelectedBlock (line 16470) | function selectors_getSelectedBlock(state) {
function selectors_getBlockRootClientId (line 16485) | function selectors_getBlockRootClientId(state, clientId) {
function getBlockHierarchyRootClientId (line 16551) | function getBlockHierarchyRootClientId(state, clientId) {
function getLowestCommonAncestorWithSelectedBlock (line 16571) | function getLowestCommonAncestorWithSelectedBlock(state, clientId) {
function getAdjacentBlockClientId (line 16603) | function getAdjacentBlockClientId(state, startClientId) {
function getPreviousBlockClientId (line 16662) | function getPreviousBlockClientId(state, startClientId) {
function getNextBlockClientId (line 16677) | function getNextBlockClientId(state, startClientId) {
function getSelectedBlocksInitialCaretPosition (line 16689) | function getSelectedBlocksInitialCaretPosition(state) {
function getMultiSelectedBlockClientIds (line 16742) | function getMultiSelectedBlockClientIds(state) {
function selectors_getFirstMultiSelectedBlockClientId (line 16783) | function selectors_getFirstMultiSelectedBlockClientId(state) {
function getLastMultiSelectedBlockClientId (line 16795) | function getLastMultiSelectedBlockClientId(state) {
function isFirstMultiSelectedBlock (line 16809) | function isFirstMultiSelectedBlock(state, clientId) {
function isBlockMultiSelected (line 16822) | function isBlockMultiSelected(state, clientId) {
function getMultiSelectedBlocksStartClientId (line 16862) | function getMultiSelectedBlocksStartClientId(state) {
function getMultiSelectedBlocksEndClientId (line 16885) | function getMultiSelectedBlocksEndClientId(state) {
function selectors_getBlockOrder (line 16906) | function selectors_getBlockOrder(state, rootClientId) {
function selectors_getBlockIndex (line 16920) | function selectors_getBlockIndex(state, clientId, rootClientId) {
function isBlockSelected (line 16933) | function isBlockSelected(state, clientId) {
function hasSelectedInnerBlock (line 16953) | function hasSelectedInnerBlock(state, clientId) {
function isBlockWithinSelection (line 16972) | function isBlockWithinSelection(state, clientId) {
function selectors_hasMultiSelection (line 16989) | function selectors_hasMultiSelection(state) {
function selectors_isMultiSelecting (line 17006) | function selectors_isMultiSelecting(state) {
function selectors_isSelectionEnabled (line 17017) | function selectors_isSelectionEnabled(state) {
function selectors_getBlockMode (line 17030) | function selectors_getBlockMode(state, clientId) {
function selectors_isTyping (line 17041) | function selectors_isTyping(state) {
function selectors_isDraggingBlocks (line 17052) | function selectors_isDraggingBlocks(state) {
function selectors_isCaretWithinFormattedText (line 17063) | function selectors_isCaretWithinFormattedText(state) {
function getBlockInsertionPoint (line 17075) | function getBlockInsertionPoint(state) {
function isBlockInsertionPointVisible (line 17106) | function isBlockInsertionPointVisible(state) {
function isValidTemplate (line 17116) | function isValidTemplate(state) {
function getTemplate (line 17126) | function getTemplate(state) {
function selectors_getTemplateLock (line 17139) | function selectors_getTemplateLock(state, rootClientId) {
function selectors_canInsertBlocks (line 17251) | function selectors_canInsertBlocks(state, clientIds) {
function getInsertUsage (line 17268) | function getInsertUsage(state, id) {
function selectors_getBlockListSettings (line 17481) | function selectors_getBlockListSettings(state, clientId) {
function selectors_getSettings (line 17492) | function selectors_getSettings(state) {
function isLastBlockChangePersistent (line 17505) | function isLastBlockChangePersistent(state) {
function __unstableIsLastBlockChangeIgnored (line 17556) | function __unstableIsLastBlockChangeIgnored(state) {
function __experimentalGetLastBlockAttributeChanges (line 17574) | function __experimentalGetLastBlockAttributeChanges(state) {
function getReusableBlocks (line 17585) | function getReusableBlocks(state) {
function selectors_isNavigationMode (line 17597) | function selectors_isNavigationMode(state) {
function selectors_hasBlockMovingClientId (line 17608) | function selectors_hasBlockMovingClientId(state) {
function selectors_didAutomaticChange (line 17619) | function selectors_didAutomaticChange(state) {
function isBlockHighlighted (line 17631) | function isBlockHighlighted(state, clientId) {
function areInnerBlocksControlled (line 17643) | function areInnerBlocksControlled(state, clientId) {
function effects_ownKeys (line 17653) | function effects_ownKeys(object, enumerableOnly) { var keys = Object.key...
function effects_objectSpread (line 17655) | function effects_objectSpread(target) { for (var i = 1; i < arguments.le...
function validateBlocksToTemplate (line 17687) | function validateBlocksToTemplate(action, store) {
function applyMiddlewares (line 17860) | function applyMiddlewares(store) {
function store_ownKeys (line 17887) | function store_ownKeys(object, enumerableOnly) { var keys = Object.keys(...
function store_objectSpread (line 17889) | function store_objectSpread(target) { for (var i = 1; i < arguments.leng...
function useBlockSync (line 18052) | function useBlockSync(_ref) {
function BlockEditorProvider (line 18210) | function BlockEditorProvider(props) {
function default_block_appender_DefaultBlockAppender (line 18251) | function default_block_appender_DefaultBlockAppender(_ref) {
function button_block_appender_ButtonBlockAppender (line 18351) | function button_block_appender_ButtonBlockAppender(_ref, ref) {
function block_list_appender_stopPropagation (line 18433) | function block_list_appender_stopPropagation(event) {
function BlockListAppender (line 18437) | function BlockListAppender(_ref) {
function getNearestBlockIndex (line 18547) | function getNearestBlockIndex(elements, position, orientation) {
function parseDropEvent (line 18616) | function parseDropEvent(event) {
function useBlockDropZone (line 18650) | function useBlockDropZone(_ref) {
function BlockList (line 18802) | function BlockList(_ref, ref) {
function LiveBlockPreview (line 18906) | function LiveBlockPreview(_ref) {
function AutoBlockPreview (line 18933) | function AutoBlockPreview(_ref) {
function BlockPreview (line 18990) | function BlockPreview(_ref) {
function preview_panel_ownKeys (line 19039) | function preview_panel_ownKeys(object, enumerableOnly) { var keys = Obje...
function preview_panel_objectSpread (line 19041) | function preview_panel_objectSpread(target) { for (var i = 1; i < argume...
function InserterPreviewPanel (line 19055) | function InserterPreviewPanel(_ref) {
function InserterListItem (line 19100) | function InserterListItem(_ref) {
function BlockTypesList (line 19149) | function BlockTypesList(_ref) {
function ChildBlocks (line 19211) | function ChildBlocks(_ref) {
function InserterPanel (line 19263) | function InserterPanel(_ref) {
function InserterNoResults (line 19289) | function InserterNoResults() {
function block_types_tab_ownKeys (line 19305) | function block_types_tab_ownKeys(object, enumerableOnly) { var keys = Ob...
function block_types_tab_objectSpread (line 19307) | function block_types_tab_objectSpread(target) { for (var i = 1; i < argu...
function BlockTypesTab (line 19338) | function BlockTypesTab(_ref) {
function BlockPattern (line 19559) | function BlockPattern(_ref) {
function BlockPatternPlaceholder (line 19593) | function BlockPatternPlaceholder() {
function BlockPatternList (line 19599) | function BlockPatternList(_ref2) {
function BlockPatternsSearchResults (line 19643) | function BlockPatternsSearchResults(_ref) {
function BlockPatternsPerCategories (line 19668) | function BlockPatternsPerCategories(_ref2) {
function BlockPatternsTabs (line 19724) | function BlockPatternsTabs(_ref4) {
function ReusableBlocksList (line 19761) | function ReusableBlocksList(_ref) {
function ReusableBlocksTab (line 19822) | function ReusableBlocksTab(_ref3) {
function use_insertion_point_ownKeys (line 19848) | function use_insertion_point_ownKeys(object, enumerableOnly) { var keys ...
function use_insertion_point_objectSpread (line 19850) | function use_insertion_point_objectSpread(target) { for (var i = 1; i < ...
function useInsertionPoint (line 19880) | function useInsertionPoint(_ref) {
function InserterTabs (line 19996) | function InserterTabs(_ref) {
function InserterMenu (line 20049) | function InserterMenu(_ref) {
function QuickInserterList (line 20218) | function QuickInserterList(_ref) {
function QuickInserter (line 20251) | function QuickInserter(_ref2) {
function inserter_createSuper (line 20358)
Copy disabled (too large)
Download .json
Condensed preview — 135 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (11,301K chars).
[
{
"path": ".eslintignore",
"chars": 80,
"preview": "\nbuild/*\nconfig/*\nnode_modules/*\npublic/vendor/*\nscripts/*\nsrc/serviceWorker.js\n"
},
{
"path": ".eslintrc",
"chars": 2998,
"preview": "{\n\t\"parser\": \"babel-eslint\",\n\t\"extends\": [\n\t\t\"eslint:recommended\",\n\t\t\"plugin:react/recommended\"\n\t],\n\t\"env\": {\n\t\t\"browser"
},
{
"path": ".gitignore",
"chars": 344,
"preview": "# See https://help.github.com/ignore-files/ for more about ignoring files.\n\n# dependencies\n/node_modules\n\n# testing\n/cov"
},
{
"path": "CHANGELOG.md",
"chars": 1048,
"preview": "# g-editor changelog\n\n## 1.3.0\n\n### Added\n- Read block config from the gutenbergCloud settings (if present)\n\n### Changed"
},
{
"path": "LICENSE",
"chars": 1065,
"preview": "MIT License\n\nCopyright (c) 2018 Frontkom\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\no"
},
{
"path": "README.md",
"chars": 1489,
"preview": "# g-editor\n\nA minimalist version of Gutenberg's editor. Ideal for checking your custom blocks.\n\n``` bash\nnpm install @fr"
},
{
"path": "config/block-vars.js",
"chars": 1641,
"preview": "'use strict';\n\nconst fs = require('fs');\nconst path = require('path');\n\nconst blockDir = process.env.BLOCK_DIR || false;"
},
{
"path": "config/env.js",
"chars": 3487,
"preview": "'use strict';\n\nconst fs = require('fs');\nconst path = require('path');\nconst paths = require('./paths');\n\n// Make sure t"
},
{
"path": "config/gutenberg/README.md",
"chars": 233,
"preview": "# Gutenberg helpers\n\n## Vendor scripts\nhttps://github.com/WordPress/WordPress/blob/master/wp-includes/script-loader.php#"
},
{
"path": "config/gutenberg/assets-queue.js",
"chars": 1095,
"preview": "module.exports = function AssetsQueue () {\n // Assets list and their dependencies\n // ex: { 'a': ['b', 'c', 'd'] , 'b'"
},
{
"path": "config/gutenberg/index.js",
"chars": 2015,
"preview": "'use strict';\n\nconst AssetsQueue = require('./assets-queue.js');\n\nconst vendorScripts = require('./vendor.json');\nconst "
},
{
"path": "config/gutenberg/scripts.json",
"chars": 7621,
"preview": "{\"a11y.js\":{\"dependencies\":[\"wp-dom-ready\",\"wp-i18n\",\"wp-polyfill\"],\"version\":\"ea68781de7874fd1881fcecad3cf7aae\"},\"annot"
},
{
"path": "config/gutenberg/styles.json",
"chars": 399,
"preview": "{\n \"block-editor\": [ \"wp-components\", \"wp-editor-font\" ],\n \"block-library\": [],\n \"components\": [],\n \"edit-post\": [ \""
},
{
"path": "config/gutenberg/update.sh",
"chars": 1078,
"preview": "read -p 'WordPress tag (enter): ' tag_name\n\n# Go to tmp folder\n[[ -d tmp ]] || mkdir tmp\ncd tmp\n\n# Get wordpress\n[[ -d W"
},
{
"path": "config/gutenberg/vendor.json",
"chars": 294,
"preview": "{\n \"react\": [\"wp-polyfill\"],\n \"react-dom\": [\"react\"],\n \"moment\": [],\n \"lodash\": [],\n \"wp-polyfill-fetch\": [],\n \"wp"
},
{
"path": "config/jest/cssTransform.js",
"chars": 314,
"preview": "'use strict';\n\n// This is a custom Jest transformer turning style imports into empty objects.\n// http://facebook.github."
},
{
"path": "config/jest/fileTransform.js",
"chars": 755,
"preview": "'use strict';\n\nconst path = require('path');\n\n// This is a custom Jest transformer turning file imports into filenames.\n"
},
{
"path": "config/paths.js",
"chars": 1964,
"preview": "'use strict';\n\nconst path = require('path');\nconst fs = require('fs');\nconst url = require('url');\n\n// Make sure any sym"
},
{
"path": "config/webpack.config.dev.js",
"chars": 17128,
"preview": "'use strict';\n\nconst path = require('path');\nconst webpack = require('webpack');\nconst PnpWebpackPlugin = require('pnp-w"
},
{
"path": "config/webpack.config.prod.js",
"chars": 20435,
"preview": "'use strict';\n\nconst path = require('path');\nconst webpack = require('webpack');\nconst PnpWebpackPlugin = require('pnp-w"
},
{
"path": "config/webpackDevServer.config.js",
"chars": 5715,
"preview": "'use strict';\n\nconst errorOverlayMiddleware = require('react-dev-utils/errorOverlayMiddleware');\nconst evalSourceMapMidd"
},
{
"path": "g-scripts.txt",
"chars": 4828,
"preview": "<script id=\"wp-polyfill\" src=\"/vendor/gutenberg/vendor/wp-polyfill.min.js\"></script><script id=\"react\" src=\"/vendor/gute"
},
{
"path": "g-styles.txt",
"chars": 1121,
"preview": "<link rel=\"stylesheet\" id=\"wp-block-library-theme\" href=\"/vendor/gutenberg/styles/wp-block-library/theme.min.css\"></link"
},
{
"path": "package.json",
"chars": 3855,
"preview": "{\n \"name\": \"@frontkom/g-editor\",\n \"version\": \"1.6.0\",\n \"description\": \"A minimalist version of Gutenberg's editor. Id"
},
{
"path": "public/index.html",
"chars": 2220,
"preview": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <link rel=\"shortcut icon\" href=\"%PUBLIC_URL%/fa"
},
{
"path": "public/manifest.json",
"chars": 364,
"preview": "{\n \"short_name\": \"g-editor\",\n \"name\": \"A minimalist version of Gutenberg's editor. Ideal for checking your custom bloc"
},
{
"path": "public/vendor/g-data.js",
"chars": 285,
"preview": "(function (wp) {\n const { use, plugins } = wp.data;\n\n const uid = (window.userSettings && window.userSettings.uid) || "
},
{
"path": "public/vendor/gutenberg/styles/wp-block-directory/style-rtl.css",
"chars": 5494,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-block-directory/style.css",
"chars": 5492,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-block-editor/style-rtl.css",
"chars": 98154,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-block-editor/style.css",
"chars": 98239,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-block-library/editor-rtl.css",
"chars": 51929,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-block-library/editor.css",
"chars": 52002,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-block-library/style-rtl.css",
"chars": 64481,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-block-library/style.css",
"chars": 65075,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-block-library/theme-rtl.css",
"chars": 3989,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-block-library/theme.css",
"chars": 3986,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-components/style-rtl.css",
"chars": 138157,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-components/style.css",
"chars": 138458,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-edit-post/style-rtl.css",
"chars": 41158,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-edit-post/style.css",
"chars": 41185,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-editor/editor-styles-rtl.css",
"chars": 3233,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-editor/editor-styles.css",
"chars": 3231,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-editor/style-rtl.css",
"chars": 27909,
"preview": "@charset \"UTF-8\";\n/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Medi"
},
{
"path": "public/vendor/gutenberg/styles/wp-editor/style.css",
"chars": 27910,
"preview": "@charset \"UTF-8\";\n/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Medi"
},
{
"path": "public/vendor/gutenberg/styles/wp-format-library/style-rtl.css",
"chars": 3132,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-format-library/style.css",
"chars": 3132,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-list-reusable-blocks/style-rtl.css",
"chars": 2947,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-list-reusable-blocks/style.css",
"chars": 2948,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-nux/style-rtl.css",
"chars": 3941,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/styles/wp-nux/style.css",
"chars": 4010,
"preview": "/**\n * Colors\n */\n/**\n * Deprecated colors.\n * Please avoid using these.\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n"
},
{
"path": "public/vendor/gutenberg/vendor/lodash.js",
"chars": 542557,
"preview": "/**\n * @license\n * Lodash <https://lodash.com/>\n * Copyright OpenJS Foundation and other contributors <https://openjsf.o"
},
{
"path": "public/vendor/gutenberg/vendor/moment.js",
"chars": 173825,
"preview": "//! moment.js\n//! version : 2.27.0\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! "
},
{
"path": "public/vendor/gutenberg/vendor/react-dom.js",
"chars": 930754,
"preview": "/** @license React v16.9.0\n * react-dom.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This"
},
{
"path": "public/vendor/gutenberg/vendor/react.js",
"chars": 120040,
"preview": "/** @license React v16.9.0\n * react.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This sou"
},
{
"path": "public/vendor/gutenberg/vendor/wp-polyfill-dom-rect.js",
"chars": 1919,
"preview": "(function (global) {\n\tfunction number(v) {\n\t\treturn v === undefined ? 0 : Number(v);\n\t}\n\n \tfunction different(u, v) {\n\t\t"
},
{
"path": "public/vendor/gutenberg/vendor/wp-polyfill-element-closest.js",
"chars": 895,
"preview": "// element-closest | CC0-1.0 | github.com/jonathantneal/closest\n\n(function (ElementProto) {\n\tif (typeof ElementProto.mat"
},
{
"path": "public/vendor/gutenberg/vendor/wp-polyfill-fetch.js",
"chars": 14805,
"preview": "(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n type"
},
{
"path": "public/vendor/gutenberg/vendor/wp-polyfill-formdata.js",
"chars": 9631,
"preview": "if (typeof FormData === 'undefined' || !FormData.prototype.keys) {\n const global = typeof window === 'object'\n ? win"
},
{
"path": "public/vendor/gutenberg/vendor/wp-polyfill-node-contains.js",
"chars": 531,
"preview": "(function() {\n\n\tfunction contains(node) {\n\t\tif (!(0 in arguments)) {\n\t\t\tthrow new TypeError('1 argument is required');\n\t"
},
{
"path": "public/vendor/gutenberg/vendor/wp-polyfill-url.js",
"chars": 110326,
"preview": "(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)ret"
},
{
"path": "public/vendor/gutenberg/vendor/wp-polyfill.js",
"chars": 239721,
"preview": "(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)ret"
},
{
"path": "public/vendor/gutenberg/wp-a11y.js",
"chars": 10711,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"a11y\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The m"
},
{
"path": "public/vendor/gutenberg/wp-annotations.js",
"chars": 42411,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"annotations\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t/"
},
{
"path": "public/vendor/gutenberg/wp-api-fetch.js",
"chars": 34897,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"apiFetch\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// T"
},
{
"path": "public/vendor/gutenberg/wp-autop.js",
"chars": 22464,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"autop\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The "
},
{
"path": "public/vendor/gutenberg/wp-blob.js",
"chars": 5575,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"blob\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The m"
},
{
"path": "public/vendor/gutenberg/wp-block-directory.js",
"chars": 74647,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"blockDirectory\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/"
},
{
"path": "public/vendor/gutenberg/wp-block-editor.js",
"chars": 1254872,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"blockEditor\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t/"
},
{
"path": "public/vendor/gutenberg/wp-block-library.js",
"chars": 1010487,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"blockLibrary\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t"
},
{
"path": "public/vendor/gutenberg/wp-block-serialization-default-parser.js",
"chars": 19407,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"blockSerializationDefaultParser\"] =\n/******/ (function(modules) { // webpackB"
},
{
"path": "public/vendor/gutenberg/wp-blocks.js",
"chars": 497999,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"blocks\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The"
},
{
"path": "public/vendor/gutenberg/wp-components.js",
"chars": 1979829,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"components\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t//"
},
{
"path": "public/vendor/gutenberg/wp-compose.js",
"chars": 123486,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"compose\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// Th"
},
{
"path": "public/vendor/gutenberg/wp-core-data.js",
"chars": 155164,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"coreData\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// T"
},
{
"path": "public/vendor/gutenberg/wp-data-controls.js",
"chars": 14617,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"dataControls\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t"
},
{
"path": "public/vendor/gutenberg/wp-data.js",
"chars": 137550,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"data\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The m"
},
{
"path": "public/vendor/gutenberg/wp-date.js",
"chars": 235759,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"date\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The m"
},
{
"path": "public/vendor/gutenberg/wp-deprecated.js",
"chars": 7499,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"deprecated\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t//"
},
{
"path": "public/vendor/gutenberg/wp-dom-ready.js",
"chars": 5081,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"domReady\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// T"
},
{
"path": "public/vendor/gutenberg/wp-dom.js",
"chars": 38568,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"dom\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The mo"
},
{
"path": "public/vendor/gutenberg/wp-edit-post.js",
"chars": 717156,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"editPost\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// T"
},
{
"path": "public/vendor/gutenberg/wp-editor.js",
"chars": 529103,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"editor\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The"
},
{
"path": "public/vendor/gutenberg/wp-element.js",
"chars": 57115,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"element\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// Th"
},
{
"path": "public/vendor/gutenberg/wp-escape-html.js",
"chars": 8790,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"escapeHtml\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t//"
},
{
"path": "public/vendor/gutenberg/wp-format-library.js",
"chars": 74937,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"formatLibrary\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ "
},
{
"path": "public/vendor/gutenberg/wp-hooks.js",
"chars": 25376,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"hooks\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The "
},
{
"path": "public/vendor/gutenberg/wp-html-entities.js",
"chars": 5831,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"htmlEntities\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t"
},
{
"path": "public/vendor/gutenberg/wp-i18n.js",
"chars": 43286,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"i18n\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The m"
},
{
"path": "public/vendor/gutenberg/wp-is-shallow-equal.js",
"chars": 6525,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"isShallowEqual\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/"
},
{
"path": "public/vendor/gutenberg/wp-keyboard-shortcuts.js",
"chars": 29573,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"keyboardShortcuts\"] =\n/******/ (function(modules) { // webpackBootstrap\n/****"
},
{
"path": "public/vendor/gutenberg/wp-keycodes.js",
"chars": 19939,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"keycodes\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// T"
},
{
"path": "public/vendor/gutenberg/wp-list-reusable-blocks.js",
"chars": 25029,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"listReusableBlocks\"] =\n/******/ (function(modules) { // webpackBootstrap\n/***"
},
{
"path": "public/vendor/gutenberg/wp-media-utils.js",
"chars": 46703,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"mediaUtils\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t//"
},
{
"path": "public/vendor/gutenberg/wp-notices.js",
"chars": 22022,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"notices\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// Th"
},
{
"path": "public/vendor/gutenberg/wp-nux.js",
"chars": 34339,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"nux\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The mo"
},
{
"path": "public/vendor/gutenberg/wp-plugins.js",
"chars": 25467,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"plugins\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// Th"
},
{
"path": "public/vendor/gutenberg/wp-primitives.js",
"chars": 13957,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"primitives\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t//"
},
{
"path": "public/vendor/gutenberg/wp-priority-queue.js",
"chars": 8938,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"priorityQueue\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ "
},
{
"path": "public/vendor/gutenberg/wp-redux-routine.js",
"chars": 25606,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"reduxRoutine\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t"
},
{
"path": "public/vendor/gutenberg/wp-rich-text.js",
"chars": 177020,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"richText\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// T"
},
{
"path": "public/vendor/gutenberg/wp-server-side-render.js",
"chars": 24323,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"serverSideRender\"] =\n/******/ (function(modules) { // webpackBootstrap\n/*****"
},
{
"path": "public/vendor/gutenberg/wp-shortcode.js",
"chars": 19560,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"shortcode\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// "
},
{
"path": "public/vendor/gutenberg/wp-token-list.js",
"chars": 14220,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"tokenList\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// "
},
{
"path": "public/vendor/gutenberg/wp-url.js",
"chars": 45639,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"url\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The mo"
},
{
"path": "public/vendor/gutenberg/wp-viewport.js",
"chars": 17925,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"viewport\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// T"
},
{
"path": "public/vendor/gutenberg/wp-warning.js",
"chars": 10371,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"warning\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// Th"
},
{
"path": "public/vendor/gutenberg/wp-wordcount.js",
"chars": 13898,
"preview": "this[\"wp\"] = this[\"wp\"] || {}; this[\"wp\"][\"wordcount\"] =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// "
},
{
"path": "public/vendor/no-conflict.js",
"chars": 39,
"preview": "window.lodash = window._.noConflict();\n"
},
{
"path": "scripts/build.js",
"chars": 5972,
"preview": "'use strict';\n\n// Do this as the first thing so that any code reading it knows the right env.\nprocess.env.BABEL_ENV = 'p"
},
{
"path": "scripts/g-scripts.js",
"chars": 598,
"preview": "'use strict';\n\nconst fs = require('fs');\nconst runner = require('child_process');\n\n// const file = './public/vendor/gute"
},
{
"path": "scripts/g-update.js",
"chars": 874,
"preview": "'use strict';\n\nconst fs = require('fs')\n\n// Get updated list of dependencies\nconst packages = require('../config/gutenbe"
},
{
"path": "scripts/start.js",
"chars": 3789,
"preview": "'use strict';\n\n// Do this as the first thing so that any code reading it knows the right env.\nprocess.env.BABEL_ENV = 'd"
},
{
"path": "scripts/test.js",
"chars": 1365,
"preview": "'use strict';\n\n// Do this as the first thing so that any code reading it knows the right env.\nprocess.env.BABEL_ENV = 't"
},
{
"path": "src/core/api-fetch.js",
"chars": 553,
"preview": "\nimport apiFetch from '../globals/api-fetch';\n\nconst {\n use,\n createNonceMiddleware,\n createRootURLMiddleware,\n setF"
},
{
"path": "src/core/index.js",
"chars": 94,
"preview": "\nimport './settings';\nimport './api-fetch';\n\nimport './media-upload';\n\nimport './style.scss';\n"
},
{
"path": "src/core/media-library.scss",
"chars": 622,
"preview": "\n.media-library__popover {\n > div {\n padding: 1em;\n }\n\n .media-library__popover__content {\n max-height: 465px;\n"
},
{
"path": "src/core/media-upload.js",
"chars": 3194,
"preview": "\nimport { Component, Fragment } from 'react';\nimport './media-library.scss';\n\nconst { wp, lodash } = window;\nconst { get"
},
{
"path": "src/core/settings.js",
"chars": 384,
"preview": "\n// User settings\nwindow.userSettings = {\n secure: '',\n time: 1234567,\n uid: 1,\n};\n\n// API settings\nwindow.wpApiSetti"
},
{
"path": "src/core/style.scss",
"chars": 4311,
"preview": "\n@media (min-width: 600px) {\n body .gutenberg__editor {\n position: relative;\n }\n}\n\n@media (min-width: 782px) {\n .g"
},
{
"path": "src/data/categories.json",
"chars": 3167,
"preview": "[\n {\n \"id\": 2,\n \"count\": 3,\n \"description\": \"Neque quibusdam nihil sequi quia et inventore dolorem dolores et "
},
{
"path": "src/data/taxonomies.json",
"chars": 1353,
"preview": "{\n \"category\": {\n \"name\": \"Categories\",\n \"slug\": \"category\",\n \"description\": \"\",\n \"types\": [\n \"post\"\n "
},
{
"path": "src/data/themes.json",
"chars": 273,
"preview": "[\n {\n \"theme_supports\": {\n \"formats\": [\n \"standard\",\n \"aside\",\n \"image\",\n \"video\",\n"
},
{
"path": "src/data/types.json",
"chars": 3301,
"preview": "{\n \"post\": {\n \"description\": \"\",\n \"hierarchical\": false,\n \"viewable\": true,\n \"name\": \"Posts\",\n \"slug\": \""
},
{
"path": "src/data/users.json",
"chars": 752,
"preview": "[\n {\n \"id\": 1,\n \"name\": \"Human Made\",\n \"url\": \"\",\n \"description\": \"\",\n \"link\": \"https://demo.wp-api.org/"
},
{
"path": "src/globals/api-fetch.js",
"chars": 1967,
"preview": "\nimport routes from './api-routes';\n\n\nfunction matchRoute (pattern, pathname) {\n const res = {};\n const r = pattern.sp"
},
{
"path": "src/globals/api-routes.js",
"chars": 3901,
"preview": "\nimport { getPage, savePage, deletePage } from './fake-data.js';\nimport { mediaList, createMedia } from './fake-media.js"
},
{
"path": "src/globals/embeds.js",
"chars": 743,
"preview": "import providers from 'oembed-providers';\n\nexport async function getEmbed (url) {\n // Proxy that we use that enables cr"
},
{
"path": "src/globals/fake-data.js",
"chars": 2596,
"preview": "const date = (new Date()).toISOString();\n\nexport const pages = {\n page: {\n id: 1,\n content: {\n raw: '',\n "
},
{
"path": "src/globals/fake-media.js",
"chars": 2104,
"preview": "const date = (new Date()).toISOString();\nconst origin = window.location.origin;\n\n// List of images\nexport const mediaLis"
},
{
"path": "src/index.js",
"chars": 552,
"preview": "import React from 'react';\nimport ReactDOM from 'react-dom';\nimport { BrowserRouter, Switch, Route } from 'react-router-"
},
{
"path": "src/pages/editor.js",
"chars": 2917,
"preview": "import React from 'react';\nimport types from '../data/types';\nimport { changeType } from '../globals/fake-data';\n\nimport"
},
{
"path": "src/pages/editor.scss",
"chars": 319,
"preview": "\n.editor-nav {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n "
},
{
"path": "src/pages/preview.js",
"chars": 2242,
"preview": "import React from 'react';\nimport { getPage } from '../globals/fake-data';\n\nconst { domReady } = window.wp;\n\n\nclass Prev"
},
{
"path": "src/serviceWorker.js",
"chars": 4726,
"preview": "// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the ap"
}
]
About this extraction
This page contains the full source code of the front/g-editor GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 135 files (10.4 MB), approximately 2.7M tokens, and a symbol index with 6040 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.