mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-21 22:15:28 +00:00
Editor: Update @wordpress npm packages
Update @wordpress npm packages to the latest published versions. This means that the block editor includes functionality that exists in Gutenberg 9.9. Fixes #52334. Built from https://develop.svn.wordpress.org/trunk@50137 git-svn-id: http://core.svn.wordpress.org/trunk@49816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2642a446b3
commit
351400af80
File diff suppressed because one or more lines are too long
@ -13,6 +13,8 @@
|
||||
* @return string Rendered HTML of the referenced block.
|
||||
*/
|
||||
function render_block_core_block( $attributes ) {
|
||||
static $seen_refs = array();
|
||||
|
||||
if ( empty( $attributes['ref'] ) ) {
|
||||
return '';
|
||||
}
|
||||
@ -22,11 +24,38 @@ function render_block_core_block( $attributes ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
if ( isset( $seen_refs[ $attributes['ref'] ] ) ) {
|
||||
if ( ! is_admin() ) {
|
||||
trigger_error(
|
||||
sprintf(
|
||||
// translators: %s is the user-provided title of the reusable block.
|
||||
__( 'Could not render Reusable Block <strong>%s</strong>: blocks cannot be rendered inside themselves.' ),
|
||||
$reusable_block->post_title
|
||||
),
|
||||
E_USER_WARNING
|
||||
);
|
||||
}
|
||||
|
||||
// WP_DEBUG_DISPLAY must only be honored when WP_DEBUG. This precedent
|
||||
// is set in `wp_debug_mode()`.
|
||||
$is_debug = defined( 'WP_DEBUG' ) && WP_DEBUG &&
|
||||
defined( 'WP_DEBUG_DISPLAY' ) && WP_DEBUG_DISPLAY;
|
||||
|
||||
return $is_debug ?
|
||||
// translators: Visible only in the front end, this warning takes the place of a faulty block.
|
||||
__( '[block rendering halted]' ) :
|
||||
'';
|
||||
}
|
||||
|
||||
if ( 'publish' !== $reusable_block->post_status || ! empty( $reusable_block->post_password ) ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return do_blocks( $reusable_block->post_content );
|
||||
$seen_refs[ $attributes['ref'] ] = true;
|
||||
|
||||
$result = do_blocks( $reusable_block->post_content );
|
||||
unset( $seen_refs[ $attributes['ref'] ] );
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -71,7 +71,10 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true
|
||||
"anchor": true,
|
||||
"__experimentalBorder": {
|
||||
"radius": true
|
||||
}
|
||||
},
|
||||
"editorStyle": "wp-block-image-editor",
|
||||
"style": "wp-block-image"
|
||||
|
@ -35,7 +35,7 @@ function render_block_core_social_link( $attributes, $content, $block ) {
|
||||
$icon = block_core_social_link_get_icon( $service );
|
||||
$wrapper_attributes = get_block_wrapper_attributes( array( 'class' => 'wp-social-link wp-social-link-' . $service . $class_name ) );
|
||||
|
||||
return '<li ' . $wrapper_attributes . '><a href="' . esc_url( $url ) . '" aria-label="' . esc_attr( $label ) . '" ' . $attribute . '> ' . $icon . '</a></li>';
|
||||
return '<li ' . $wrapper_attributes . '><a href="' . esc_url( $url ) . '" aria-label="' . esc_attr( $label ) . '" ' . $attribute . ' class="wp-block-social-link-anchor"> ' . $icon . '</a></li>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3,6 +3,24 @@
|
||||
"name": "core/social-links",
|
||||
"category": "widgets",
|
||||
"attributes": {
|
||||
"iconColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"customIconColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"iconColorValue": {
|
||||
"type": "string"
|
||||
},
|
||||
"iconBackgroundColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"customIconBackgroundColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"iconBackgroundColorValue": {
|
||||
"type": "string"
|
||||
},
|
||||
"openInNewTab": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
|
@ -300,7 +300,7 @@ class WP_Block_Parser {
|
||||
*/
|
||||
if ( 0 === $stack_depth ) {
|
||||
if ( isset( $leading_html_start ) ) {
|
||||
$this->output[] = (array) self::freeform(
|
||||
$this->output[] = (array) $this->freeform(
|
||||
substr(
|
||||
$this->document,
|
||||
$leading_html_start,
|
||||
@ -492,7 +492,7 @@ class WP_Block_Parser {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->output[] = (array) self::freeform( substr( $this->document, $this->offset, $length ) );
|
||||
$this->output[] = (array) $this->freeform( substr( $this->document, $this->offset, $length ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@ -541,7 +541,7 @@ class WP_Block_Parser {
|
||||
}
|
||||
|
||||
if ( isset( $stack_top->leading_html_start ) ) {
|
||||
$this->output[] = (array) self::freeform(
|
||||
$this->output[] = (array) $this->freeform(
|
||||
substr(
|
||||
$this->document,
|
||||
$stack_top->leading_html_start,
|
||||
|
178
wp-includes/css/dist/block-editor/style-rtl.css
vendored
178
wp-includes/css/dist/block-editor/style-rtl.css
vendored
@ -330,6 +330,19 @@
|
||||
.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.has-active-entity:not(.is-focus-mode) {
|
||||
opacity: 0.5;
|
||||
transition: opacity 0.1s linear;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode) {
|
||||
transition-duration: 0s;
|
||||
}
|
||||
}
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode).is-active-entity, .block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode).has-child-selected, .block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode):not(.has-child-selected) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode).is-active-entity .block-editor-block-list__block,
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode) .is-active-entity .block-editor-block-list__block {
|
||||
opacity: 1;
|
||||
}
|
||||
.block-editor-block-list__layout .block-editor-block-list__block::after {
|
||||
content: "";
|
||||
pointer-events: none;
|
||||
@ -373,6 +386,10 @@
|
||||
.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;
|
||||
}
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.has-child-selected::after {
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
||||
}
|
||||
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block {
|
||||
cursor: default;
|
||||
}
|
||||
@ -421,24 +438,14 @@
|
||||
}
|
||||
|
||||
.block-editor-block-list__insertion-point {
|
||||
position: relative;
|
||||
z-index: 6;
|
||||
margin-top: -14px;
|
||||
}
|
||||
.block-editor-block-list__insertion-point.is-insert-after {
|
||||
margin-top: 14px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.block-editor-block-list__insertion-point-indicator {
|
||||
position: absolute;
|
||||
top: calc(50% - 1px);
|
||||
height: 2px;
|
||||
height: var(--wp-admin-border-width-focus);
|
||||
right: 0;
|
||||
left: 0;
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
animation: block-editor-inserter__toggle__fade-in-animation 0.3s ease;
|
||||
animation: block-editor-inserter__toggle__fade-in-animation-delayed 0.3s ease;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
@ -446,20 +453,32 @@
|
||||
animation-duration: 1ms;
|
||||
}
|
||||
}
|
||||
.block-editor-block-list__insertion-point.is-vertical > .block-editor-block-list__insertion-point-indicator {
|
||||
top: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
}
|
||||
.block-editor-block-list__insertion-point.is-horizontal > .block-editor-block-list__insertion-point-indicator {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 50%;
|
||||
height: 100%;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.block-editor-block-list__insertion-point-inserter {
|
||||
display: none;
|
||||
position: absolute;
|
||||
justify-content: center;
|
||||
top: calc(50% - 12px);
|
||||
right: calc(50% - 12px);
|
||||
}
|
||||
@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 {
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.block-editor-block-list__block-popover-inserter {
|
||||
position: absolute;
|
||||
@ -486,6 +505,16 @@
|
||||
.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;
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon {
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
}
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
|
||||
background: #1e1e1e;
|
||||
}
|
||||
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button,
|
||||
@ -504,7 +533,7 @@
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
80% {
|
||||
60% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
@ -514,11 +543,9 @@
|
||||
@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 {
|
||||
@ -1406,6 +1433,10 @@
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.block-editor-block-switcher__toggle-text {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.block-editor-block-switcher__popover {
|
||||
margin-right: 6px;
|
||||
}
|
||||
@ -1675,6 +1706,7 @@
|
||||
color: #1e1e1e;
|
||||
box-shadow: none;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
padding: 0;
|
||||
margin-right: 8px;
|
||||
}
|
||||
@ -1741,9 +1773,9 @@
|
||||
width: 100%;
|
||||
outline: 1px solid transparent;
|
||||
transition: 0.2s outline;
|
||||
resize: none;
|
||||
margin-top: 28px;
|
||||
margin-bottom: 28px;
|
||||
resize: none !important;
|
||||
padding: 0 0 0 50px;
|
||||
color: rgba(30, 30, 30, 0.62);
|
||||
}
|
||||
@ -1984,7 +2016,7 @@
|
||||
}
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-header {
|
||||
display: block;
|
||||
margin-left: 24px;
|
||||
margin-left: 8px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@ -1994,8 +2026,15 @@
|
||||
}
|
||||
.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;
|
||||
padding-left: 24px;
|
||||
}
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-info .components-external-link__icon,
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-title .components-external-link__icon {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-title {
|
||||
display: block;
|
||||
@ -2410,6 +2449,16 @@
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.show-icon-labels .block-editor-format-toolbar .components-button.has-icon {
|
||||
width: auto;
|
||||
}
|
||||
.show-icon-labels .block-editor-format-toolbar .components-button.has-icon svg {
|
||||
display: none;
|
||||
}
|
||||
.show-icon-labels .block-editor-format-toolbar .components-button.has-icon::after {
|
||||
content: attr(aria-label);
|
||||
}
|
||||
|
||||
.block-editor-rich-text__editable > p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
@ -2826,7 +2875,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
color: #1e1e1e;
|
||||
margin: 0 0 1em;
|
||||
margin: 0;
|
||||
}
|
||||
.block-editor-warning p.block-editor-warning__message.block-editor-warning__message {
|
||||
min-height: auto;
|
||||
@ -2841,6 +2890,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
}
|
||||
.block-editor-warning .block-editor-warning__actions {
|
||||
display: flex;
|
||||
margin-top: 1em;
|
||||
}
|
||||
.block-editor-warning .block-editor-warning__action {
|
||||
margin: 0 0 0 8px;
|
||||
@ -2952,6 +3002,69 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
transform: translateY(-60px);
|
||||
}
|
||||
|
||||
.show-icon-labels .block-editor-block-toolbar .components-button.has-icon {
|
||||
width: auto;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-toolbar .components-button.has-icon svg {
|
||||
display: none;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-toolbar .components-button.has-icon::after {
|
||||
content: attr(aria-label);
|
||||
font-size: 12px;
|
||||
}
|
||||
.show-icon-labels .components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon {
|
||||
padding-right: 6px;
|
||||
padding-left: 6px;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-switcher {
|
||||
border-left: 1px solid #1e1e1e;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle {
|
||||
margin-right: 0;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,
|
||||
.show-icon-labels .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle:focus::before,
|
||||
.show-icon-labels .block-editor-block-switcher__no-switcher-icon:focus::before {
|
||||
left: 4px !important;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-parent-selector__button .block-editor-block-icon {
|
||||
width: 0;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover {
|
||||
margin-right: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-mover-button {
|
||||
padding-right: 8px !important;
|
||||
padding-left: 8px !important;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-mover__drag-handle.has-icon {
|
||||
padding-right: 6px !important;
|
||||
padding-left: 6px !important;
|
||||
border-left: 1px solid #1e1e1e;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.show-icon-labels .is-up-button.is-up-button.is-up-button {
|
||||
border-bottom: 1px solid #1e1e1e;
|
||||
margin-left: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
.show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
width: auto;
|
||||
}
|
||||
.show-icon-labels .components-toolbar,
|
||||
.show-icon-labels .components-toolbar-group {
|
||||
flex-shrink: 1;
|
||||
}
|
||||
.show-icon-labels .block-editor-format-toolbar .components-button + .components-button {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.block-editor-inserter {
|
||||
display: inline-block;
|
||||
background: none;
|
||||
@ -2967,6 +3080,23 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
}
|
||||
}
|
||||
|
||||
.block-editor-inserter__popover.is-quick .components-popover__content {
|
||||
border: none;
|
||||
}
|
||||
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > * {
|
||||
border-right: 1px solid #ccc;
|
||||
border-left: 1px solid #ccc;
|
||||
}
|
||||
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:first-child {
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:last-child {
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *.components-button {
|
||||
border: 1px solid #1e1e1e;
|
||||
}
|
||||
|
||||
.block-editor-inserter__popover .block-editor-inserter__menu {
|
||||
margin: -12px;
|
||||
}
|
||||
@ -3155,7 +3285,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
}
|
||||
|
||||
.block-editor-inserter__panel-header-patterns {
|
||||
padding: 16px 8px 0 16px;
|
||||
padding: 16px 16px 0;
|
||||
}
|
||||
|
||||
.block-editor-inserter__panel-content {
|
||||
|
File diff suppressed because one or more lines are too long
178
wp-includes/css/dist/block-editor/style.css
vendored
178
wp-includes/css/dist/block-editor/style.css
vendored
@ -330,6 +330,19 @@
|
||||
.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.has-active-entity:not(.is-focus-mode) {
|
||||
opacity: 0.5;
|
||||
transition: opacity 0.1s linear;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode) {
|
||||
transition-duration: 0s;
|
||||
}
|
||||
}
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode).is-active-entity, .block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode).has-child-selected, .block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode):not(.has-child-selected) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode).is-active-entity .block-editor-block-list__block,
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.has-active-entity:not(.is-focus-mode) .is-active-entity .block-editor-block-list__block {
|
||||
opacity: 1;
|
||||
}
|
||||
.block-editor-block-list__layout .block-editor-block-list__block::after {
|
||||
content: "";
|
||||
pointer-events: none;
|
||||
@ -373,6 +386,10 @@
|
||||
.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;
|
||||
}
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.has-child-selected::after {
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
||||
}
|
||||
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block {
|
||||
cursor: default;
|
||||
}
|
||||
@ -425,24 +442,14 @@
|
||||
}
|
||||
|
||||
.block-editor-block-list__insertion-point {
|
||||
position: relative;
|
||||
z-index: 6;
|
||||
margin-top: -14px;
|
||||
}
|
||||
.block-editor-block-list__insertion-point.is-insert-after {
|
||||
margin-top: 14px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.block-editor-block-list__insertion-point-indicator {
|
||||
position: absolute;
|
||||
top: calc(50% - 1px);
|
||||
height: 2px;
|
||||
height: var(--wp-admin-border-width-focus);
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
animation: block-editor-inserter__toggle__fade-in-animation 0.3s ease;
|
||||
animation: block-editor-inserter__toggle__fade-in-animation-delayed 0.3s ease;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
@ -450,20 +457,32 @@
|
||||
animation-duration: 1ms;
|
||||
}
|
||||
}
|
||||
.block-editor-block-list__insertion-point.is-vertical > .block-editor-block-list__insertion-point-indicator {
|
||||
top: 50%;
|
||||
right: 0;
|
||||
left: 0;
|
||||
height: 1px;
|
||||
}
|
||||
.block-editor-block-list__insertion-point.is-horizontal > .block-editor-block-list__insertion-point-indicator {
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 50%;
|
||||
height: 100%;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.block-editor-block-list__insertion-point-inserter {
|
||||
display: none;
|
||||
position: absolute;
|
||||
justify-content: center;
|
||||
top: calc(50% - 12px);
|
||||
left: calc(50% - 12px);
|
||||
}
|
||||
@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 {
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.block-editor-block-list__block-popover-inserter {
|
||||
position: absolute;
|
||||
@ -490,6 +509,16 @@
|
||||
.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;
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon {
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
}
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
|
||||
background: #1e1e1e;
|
||||
}
|
||||
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button,
|
||||
@ -508,7 +537,7 @@
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
80% {
|
||||
60% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
@ -518,11 +547,9 @@
|
||||
@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 {
|
||||
@ -1410,6 +1437,10 @@
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.block-editor-block-switcher__toggle-text {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.block-editor-block-switcher__popover {
|
||||
margin-left: 6px;
|
||||
}
|
||||
@ -1679,6 +1710,7 @@
|
||||
color: #1e1e1e;
|
||||
box-shadow: none;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
padding: 0;
|
||||
margin-left: 8px;
|
||||
}
|
||||
@ -1745,9 +1777,9 @@
|
||||
width: 100%;
|
||||
outline: 1px solid transparent;
|
||||
transition: 0.2s outline;
|
||||
resize: none;
|
||||
margin-top: 28px;
|
||||
margin-bottom: 28px;
|
||||
resize: none !important;
|
||||
padding: 0 50px 0 0;
|
||||
color: rgba(30, 30, 30, 0.62);
|
||||
}
|
||||
@ -1988,7 +2020,7 @@
|
||||
}
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-header {
|
||||
display: block;
|
||||
margin-right: 24px;
|
||||
margin-right: 8px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@ -1998,8 +2030,15 @@
|
||||
}
|
||||
.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;
|
||||
padding-right: 24px;
|
||||
}
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-info .components-external-link__icon,
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-title .components-external-link__icon {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-title {
|
||||
display: block;
|
||||
@ -2414,6 +2453,16 @@
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.show-icon-labels .block-editor-format-toolbar .components-button.has-icon {
|
||||
width: auto;
|
||||
}
|
||||
.show-icon-labels .block-editor-format-toolbar .components-button.has-icon svg {
|
||||
display: none;
|
||||
}
|
||||
.show-icon-labels .block-editor-format-toolbar .components-button.has-icon::after {
|
||||
content: attr(aria-label);
|
||||
}
|
||||
|
||||
.block-editor-rich-text__editable > p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
@ -2830,7 +2879,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
color: #1e1e1e;
|
||||
margin: 0 0 1em;
|
||||
margin: 0;
|
||||
}
|
||||
.block-editor-warning p.block-editor-warning__message.block-editor-warning__message {
|
||||
min-height: auto;
|
||||
@ -2845,6 +2894,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
}
|
||||
.block-editor-warning .block-editor-warning__actions {
|
||||
display: flex;
|
||||
margin-top: 1em;
|
||||
}
|
||||
.block-editor-warning .block-editor-warning__action {
|
||||
margin: 0 8px 0 0;
|
||||
@ -2956,6 +3006,69 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
transform: translateY(-60px);
|
||||
}
|
||||
|
||||
.show-icon-labels .block-editor-block-toolbar .components-button.has-icon {
|
||||
width: auto;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-toolbar .components-button.has-icon svg {
|
||||
display: none;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-toolbar .components-button.has-icon::after {
|
||||
content: attr(aria-label);
|
||||
font-size: 12px;
|
||||
}
|
||||
.show-icon-labels .components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon {
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-switcher {
|
||||
border-right: 1px solid #1e1e1e;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle {
|
||||
margin-left: 0;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,
|
||||
.show-icon-labels .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon {
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle:focus::before,
|
||||
.show-icon-labels .block-editor-block-switcher__no-switcher-icon:focus::before {
|
||||
right: 4px !important;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-parent-selector__button .block-editor-block-icon {
|
||||
width: 0;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover {
|
||||
margin-left: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-mover-button {
|
||||
padding-left: 8px !important;
|
||||
padding-right: 8px !important;
|
||||
}
|
||||
.show-icon-labels .block-editor-block-mover__drag-handle.has-icon {
|
||||
padding-left: 6px !important;
|
||||
padding-right: 6px !important;
|
||||
border-right: 1px solid #1e1e1e;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.show-icon-labels .is-up-button.is-up-button.is-up-button {
|
||||
border-bottom: 1px solid #1e1e1e;
|
||||
margin-right: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
.show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
width: auto;
|
||||
}
|
||||
.show-icon-labels .components-toolbar,
|
||||
.show-icon-labels .components-toolbar-group {
|
||||
flex-shrink: 1;
|
||||
}
|
||||
.show-icon-labels .block-editor-format-toolbar .components-button + .components-button {
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.block-editor-inserter {
|
||||
display: inline-block;
|
||||
background: none;
|
||||
@ -2971,6 +3084,23 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
}
|
||||
}
|
||||
|
||||
.block-editor-inserter__popover.is-quick .components-popover__content {
|
||||
border: none;
|
||||
}
|
||||
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > * {
|
||||
border-left: 1px solid #ccc;
|
||||
border-right: 1px solid #ccc;
|
||||
}
|
||||
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:first-child {
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *:last-child {
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > *.components-button {
|
||||
border: 1px solid #1e1e1e;
|
||||
}
|
||||
|
||||
.block-editor-inserter__popover .block-editor-inserter__menu {
|
||||
margin: -12px;
|
||||
}
|
||||
@ -3159,7 +3289,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
}
|
||||
|
||||
.block-editor-inserter__panel-header-patterns {
|
||||
padding: 16px 16px 0 8px;
|
||||
padding: 16px 16px 0;
|
||||
}
|
||||
|
||||
.block-editor-inserter__panel-content {
|
||||
|
File diff suppressed because one or more lines are too long
142
wp-includes/css/dist/block-library/editor-rtl.css
vendored
142
wp-includes/css/dist/block-library/editor-rtl.css
vendored
@ -70,18 +70,6 @@
|
||||
/**
|
||||
* These are default block editor widths in case the theme doesn't provide them.
|
||||
*/
|
||||
:root {
|
||||
--wp-admin-theme-color: #007cba;
|
||||
--wp-admin-theme-color-darker-10: #006ba1;
|
||||
--wp-admin-theme-color-darker-20: #005a87;
|
||||
--wp-admin-border-width-focus: 2px;
|
||||
}
|
||||
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||
:root {
|
||||
--wp-admin-border-width-focus: 1.5px;
|
||||
}
|
||||
}
|
||||
|
||||
#start-resizable-editor-section {
|
||||
display: none;
|
||||
}
|
||||
@ -124,7 +112,6 @@ ul.wp-block-archives {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-block-button:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
@ -233,7 +220,7 @@ div[data-type="core/button"] {
|
||||
}
|
||||
|
||||
.wp-block-cover {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
.wp-block-cover.is-placeholder {
|
||||
min-height: auto !important;
|
||||
@ -265,10 +252,6 @@ div[data-type="core/button"] {
|
||||
.wp-block-cover .wp-block-cover__placeholder-background-options {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-cover .wp-block-cover__image-background {
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
}
|
||||
|
||||
[data-align=left] > .wp-block-cover,
|
||||
[data-align=right] > .wp-block-cover {
|
||||
@ -398,7 +381,6 @@ div[data-type="core/button"] {
|
||||
outline: none;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce a {
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected] {
|
||||
@ -710,14 +692,16 @@ figure.wp-block-gallery {
|
||||
.blocks-gallery-item img:focus {
|
||||
outline: none;
|
||||
}
|
||||
.blocks-gallery-item figure.is-selected {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
|
||||
border-radius: 2px;
|
||||
.blocks-gallery-item figure.is-selected::before {
|
||||
box-shadow: 0 0 0 1px #fff inset, 0 0 0 3px var(--wp-admin-theme-color) inset;
|
||||
content: "";
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.blocks-gallery-item figure.is-selected img {
|
||||
border-radius: 2px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
.blocks-gallery-item figure.is-transient img {
|
||||
opacity: 0.3;
|
||||
@ -892,6 +876,9 @@ figure.wp-block-image:not(.wp-block) {
|
||||
margin-top: -9px;
|
||||
margin-right: -9px;
|
||||
}
|
||||
.wp-block-image:not(.is-style-rounded) > div {
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
.wp-block-image .components-resizable-box__container {
|
||||
display: inline-block;
|
||||
@ -1103,9 +1090,11 @@ ul.has-background.has-background {
|
||||
}
|
||||
|
||||
.wp-block-navigation .block-list-appender {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.wp-block-navigation.is-vertical .block-list-appender {
|
||||
@ -1117,7 +1106,7 @@ ul.has-background.has-background {
|
||||
}
|
||||
|
||||
.wp-block-navigation__container {
|
||||
min-height: 46px;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.wp-block-navigation__container.is-parent-of-selected-block {
|
||||
@ -1205,6 +1194,9 @@ ul.has-background.has-background {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.wp-block-navigation-placeholder {
|
||||
min-height: 44px;
|
||||
}
|
||||
.wp-block-navigation-placeholder .components-spinner {
|
||||
margin-top: -4px;
|
||||
margin-right: 4px;
|
||||
@ -1249,13 +1241,20 @@ ul.has-background.has-background {
|
||||
* Setup state
|
||||
*/
|
||||
.wp-block-navigation-placeholder__preview {
|
||||
min-height: 52px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
transition: all 0.1s ease-in-out;
|
||||
}
|
||||
.is-selected .wp-block-navigation-placeholder__preview {
|
||||
display: none;
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.wp-block-navigation-placeholder__preview {
|
||||
transition-duration: 0s;
|
||||
}
|
||||
}
|
||||
.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link {
|
||||
border-radius: 2px;
|
||||
@ -1268,15 +1267,20 @@ ul.has-background.has-background {
|
||||
.wp-block-navigation-placeholder__preview svg {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.is-selected .wp-block-navigation-placeholder__preview {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.wp-block-navigation-placeholder__controls {
|
||||
padding: 8px;
|
||||
padding: 4px 8px;
|
||||
border-radius: 2px;
|
||||
background-color: #fff;
|
||||
box-shadow: inset 0 0 0 1px #1e1e1e;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
display: none;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.is-selected .wp-block-navigation-placeholder__controls {
|
||||
display: flex;
|
||||
@ -1292,11 +1296,16 @@ ul.has-background.has-background {
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.is-vertical .wp-block-navigation-placeholder,
|
||||
.is-vertical .wp-block-navigation-placeholder__preview,
|
||||
.is-vertical .wp-block-navigation-placeholder__controls {
|
||||
min-height: 156px;
|
||||
}
|
||||
|
||||
.is-vertical .wp-block-navigation-placeholder__preview,
|
||||
.is-vertical .wp-block-navigation-placeholder__controls {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
min-height: 144px;
|
||||
}
|
||||
|
||||
.wp-block-navigation-placeholder__actions {
|
||||
@ -1543,9 +1552,7 @@ ul.has-background.has-background {
|
||||
}
|
||||
}
|
||||
.blocks-shortcode__textarea:focus {
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color);
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
@ -1715,7 +1722,6 @@ ul.has-background.has-background {
|
||||
|
||||
[data-type="core/social-links"] .wp-social-link:focus {
|
||||
opacity: 1;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
@ -1729,9 +1735,11 @@ ul.has-background.has-background {
|
||||
transform: translateY(-12px);
|
||||
}
|
||||
|
||||
.wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
||||
.block-library-spacer__resize-container.has-show-handle {
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
||||
.is-dark-theme .block-library-spacer__resize-container.has-show-handle {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
@ -1780,9 +1788,7 @@ ul.has-background.has-background {
|
||||
}
|
||||
.wp-block-table td.is-selected,
|
||||
.wp-block-table th.is-selected {
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color);
|
||||
box-shadow: inset 0 0 0 1px #007cba;
|
||||
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
|
||||
border-style: double;
|
||||
}
|
||||
@ -1860,11 +1866,9 @@ ul.has-background.has-background {
|
||||
background-color: #fff;
|
||||
}
|
||||
.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover {
|
||||
border: 1px solid #007cba;
|
||||
border: 1px solid var(--wp-admin-theme-color);
|
||||
}
|
||||
.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #007cba;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
@ -1883,7 +1887,6 @@ ul.has-background.has-background {
|
||||
padding: 0 16px;
|
||||
}
|
||||
.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title {
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
@ -1908,14 +1911,21 @@ ul.has-background.has-background {
|
||||
}
|
||||
|
||||
.is-navigate-mode .is-selected .wp-block-template-part__name-panel {
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
||||
}
|
||||
.is-dark-theme .is-navigate-mode .is-selected .wp-block-template-part__name-panel {
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.block-editor-block-list__block[data-type="core/template-part"].is-selected::after, .block-editor-block-list__block[data-type="core/template-part"].has-child-selected::after {
|
||||
top: 1px;
|
||||
bottom: 1px;
|
||||
right: 1px;
|
||||
left: 1px;
|
||||
border-radius: 1px;
|
||||
box-shadow: 0 0 0 1px #1e1e1e;
|
||||
}
|
||||
|
||||
.wp-block-text-columns .block-editor-rich-text__editable:focus {
|
||||
outline: 1px solid #ddd;
|
||||
}
|
||||
@ -2028,6 +2038,48 @@ pre.wp-block-verse {
|
||||
padding: 0 56px 16px 16px;
|
||||
}
|
||||
|
||||
.wp-block > .wp-block-query-pagination {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-query-pagination {
|
||||
max-width: 100%;
|
||||
}
|
||||
.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.block-library-query-pagination-toolbar__popover .components-popover__content {
|
||||
min-width: 230px;
|
||||
}
|
||||
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-next,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-previous,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-numbers {
|
||||
display: inline-block;
|
||||
margin-right: 0;
|
||||
margin-top: 0.5em;
|
||||
margin-right: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-next:last-child,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-previous:last-child,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.wp-block-query-pagination-numbers a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.wp-block-query-pagination-numbers .page-numbers {
|
||||
margin-left: 2px;
|
||||
}
|
||||
.wp-block-query-pagination-numbers .page-numbers:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
div[data-type="core/post-featured-image"] img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
|
File diff suppressed because one or more lines are too long
145
wp-includes/css/dist/block-library/editor.css
vendored
145
wp-includes/css/dist/block-library/editor.css
vendored
@ -70,18 +70,6 @@
|
||||
/**
|
||||
* These are default block editor widths in case the theme doesn't provide them.
|
||||
*/
|
||||
:root {
|
||||
--wp-admin-theme-color: #007cba;
|
||||
--wp-admin-theme-color-darker-10: #006ba1;
|
||||
--wp-admin-theme-color-darker-20: #005a87;
|
||||
--wp-admin-border-width-focus: 2px;
|
||||
}
|
||||
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||
:root {
|
||||
--wp-admin-border-width-focus: 1.5px;
|
||||
}
|
||||
}
|
||||
|
||||
#start-resizable-editor-section {
|
||||
display: none;
|
||||
}
|
||||
@ -125,7 +113,6 @@ ul.wp-block-archives {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-block-button:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
@ -234,7 +221,7 @@ div[data-type="core/button"] {
|
||||
}
|
||||
|
||||
.wp-block-cover {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
.wp-block-cover.is-placeholder {
|
||||
min-height: auto !important;
|
||||
@ -266,10 +253,6 @@ div[data-type="core/button"] {
|
||||
.wp-block-cover .wp-block-cover__placeholder-background-options {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-cover .wp-block-cover__image-background {
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
}
|
||||
|
||||
[data-align=left] > .wp-block-cover,
|
||||
[data-align=right] > .wp-block-cover {
|
||||
@ -399,7 +382,6 @@ div[data-type="core/button"] {
|
||||
outline: none;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce a {
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected] {
|
||||
@ -715,14 +697,16 @@ figure.wp-block-gallery {
|
||||
.blocks-gallery-item img:focus {
|
||||
outline: none;
|
||||
}
|
||||
.blocks-gallery-item figure.is-selected {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
|
||||
border-radius: 2px;
|
||||
.blocks-gallery-item figure.is-selected::before {
|
||||
box-shadow: 0 0 0 1px #fff inset, 0 0 0 3px var(--wp-admin-theme-color) inset;
|
||||
content: "";
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.blocks-gallery-item figure.is-selected img {
|
||||
border-radius: 2px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
.blocks-gallery-item figure.is-transient img {
|
||||
opacity: 0.3;
|
||||
@ -897,6 +881,9 @@ figure.wp-block-image:not(.wp-block) {
|
||||
margin-top: -9px;
|
||||
margin-left: -9px;
|
||||
}
|
||||
.wp-block-image:not(.is-style-rounded) > div {
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
.wp-block-image .components-resizable-box__container {
|
||||
display: inline-block;
|
||||
@ -1108,9 +1095,11 @@ ul.has-background.has-background {
|
||||
}
|
||||
|
||||
.wp-block-navigation .block-list-appender {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.wp-block-navigation.is-vertical .block-list-appender {
|
||||
@ -1122,7 +1111,7 @@ ul.has-background.has-background {
|
||||
}
|
||||
|
||||
.wp-block-navigation__container {
|
||||
min-height: 46px;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.wp-block-navigation__container.is-parent-of-selected-block {
|
||||
@ -1210,6 +1199,9 @@ ul.has-background.has-background {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.wp-block-navigation-placeholder {
|
||||
min-height: 44px;
|
||||
}
|
||||
.wp-block-navigation-placeholder .components-spinner {
|
||||
margin-top: -4px;
|
||||
margin-left: 4px;
|
||||
@ -1254,13 +1246,20 @@ ul.has-background.has-background {
|
||||
* Setup state
|
||||
*/
|
||||
.wp-block-navigation-placeholder__preview {
|
||||
min-height: 52px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
transition: all 0.1s ease-in-out;
|
||||
}
|
||||
.is-selected .wp-block-navigation-placeholder__preview {
|
||||
display: none;
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.wp-block-navigation-placeholder__preview {
|
||||
transition-duration: 0s;
|
||||
}
|
||||
}
|
||||
.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link {
|
||||
border-radius: 2px;
|
||||
@ -1273,15 +1272,20 @@ ul.has-background.has-background {
|
||||
.wp-block-navigation-placeholder__preview svg {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.is-selected .wp-block-navigation-placeholder__preview {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.wp-block-navigation-placeholder__controls {
|
||||
padding: 8px;
|
||||
padding: 4px 8px;
|
||||
border-radius: 2px;
|
||||
background-color: #fff;
|
||||
box-shadow: inset 0 0 0 1px #1e1e1e;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
display: none;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.is-selected .wp-block-navigation-placeholder__controls {
|
||||
display: flex;
|
||||
@ -1297,11 +1301,16 @@ ul.has-background.has-background {
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.is-vertical .wp-block-navigation-placeholder,
|
||||
.is-vertical .wp-block-navigation-placeholder__preview,
|
||||
.is-vertical .wp-block-navigation-placeholder__controls {
|
||||
min-height: 156px;
|
||||
}
|
||||
|
||||
.is-vertical .wp-block-navigation-placeholder__preview,
|
||||
.is-vertical .wp-block-navigation-placeholder__controls {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
min-height: 144px;
|
||||
}
|
||||
|
||||
.wp-block-navigation-placeholder__actions {
|
||||
@ -1548,9 +1557,7 @@ ul.has-background.has-background {
|
||||
}
|
||||
}
|
||||
.blocks-shortcode__textarea:focus {
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color);
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
@ -1720,7 +1727,6 @@ ul.has-background.has-background {
|
||||
|
||||
[data-type="core/social-links"] .wp-social-link:focus {
|
||||
opacity: 1;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
@ -1734,9 +1740,11 @@ ul.has-background.has-background {
|
||||
transform: translateY(-12px);
|
||||
}
|
||||
|
||||
.wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
||||
.block-library-spacer__resize-container.has-show-handle {
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
||||
.is-dark-theme .block-library-spacer__resize-container.has-show-handle {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
@ -1785,9 +1793,7 @@ ul.has-background.has-background {
|
||||
}
|
||||
.wp-block-table td.is-selected,
|
||||
.wp-block-table th.is-selected {
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color);
|
||||
box-shadow: inset 0 0 0 1px #007cba;
|
||||
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
|
||||
border-style: double;
|
||||
}
|
||||
@ -1865,11 +1871,9 @@ ul.has-background.has-background {
|
||||
background-color: #fff;
|
||||
}
|
||||
.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover {
|
||||
border: 1px solid #007cba;
|
||||
border: 1px solid var(--wp-admin-theme-color);
|
||||
}
|
||||
.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #007cba;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
@ -1888,7 +1892,6 @@ ul.has-background.has-background {
|
||||
padding: 0 16px;
|
||||
}
|
||||
.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title {
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
@ -1913,14 +1916,21 @@ ul.has-background.has-background {
|
||||
}
|
||||
|
||||
.is-navigate-mode .is-selected .wp-block-template-part__name-panel {
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
||||
}
|
||||
.is-dark-theme .is-navigate-mode .is-selected .wp-block-template-part__name-panel {
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.block-editor-block-list__block[data-type="core/template-part"].is-selected::after, .block-editor-block-list__block[data-type="core/template-part"].has-child-selected::after {
|
||||
top: 1px;
|
||||
bottom: 1px;
|
||||
left: 1px;
|
||||
right: 1px;
|
||||
border-radius: 1px;
|
||||
box-shadow: 0 0 0 1px #1e1e1e;
|
||||
}
|
||||
|
||||
.wp-block-text-columns .block-editor-rich-text__editable:focus {
|
||||
outline: 1px solid #ddd;
|
||||
}
|
||||
@ -2033,6 +2043,51 @@ pre.wp-block-verse {
|
||||
padding: 0 16px 16px 56px;
|
||||
}
|
||||
|
||||
.wp-block > .wp-block-query-pagination {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-query-pagination {
|
||||
max-width: 100%;
|
||||
}
|
||||
.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.block-library-query-pagination-toolbar__popover .components-popover__content {
|
||||
min-width: 230px;
|
||||
}
|
||||
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-next,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-previous,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-numbers {
|
||||
display: inline-block;
|
||||
margin-left: 0;
|
||||
margin-top: 0.5em;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-next:last-child,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-previous:last-child,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.wp-block-query-pagination-numbers a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.wp-block-query-pagination-numbers .page-numbers {
|
||||
margin-right: 2px;
|
||||
}
|
||||
.wp-block-query-pagination-numbers .page-numbers:last-child {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
div[data-type="core/post-featured-image"] img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
|
File diff suppressed because one or more lines are too long
70
wp-includes/css/dist/block-library/style-rtl.css
vendored
70
wp-includes/css/dist/block-library/style-rtl.css
vendored
@ -71,18 +71,6 @@
|
||||
/**
|
||||
* These are default block editor widths in case the theme doesn't provide them.
|
||||
*/
|
||||
:root {
|
||||
--wp-admin-theme-color: #007cba;
|
||||
--wp-admin-theme-color-darker-10: #006ba1;
|
||||
--wp-admin-theme-color-darker-20: #005a87;
|
||||
--wp-admin-border-width-focus: 2px;
|
||||
}
|
||||
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||
:root {
|
||||
--wp-admin-border-width-focus: 1.5px;
|
||||
}
|
||||
}
|
||||
|
||||
#start-resizable-editor-section {
|
||||
display: none;
|
||||
}
|
||||
@ -136,7 +124,8 @@
|
||||
width: calc(75% - 0.5em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
|
||||
width: calc(100% - 0.5em);
|
||||
margin-left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-button.is-style-squared,
|
||||
@ -351,7 +340,6 @@
|
||||
background-position: center center;
|
||||
min-height: 430px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@ -569,16 +557,26 @@
|
||||
margin: 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.wp-block-cover__image-background,
|
||||
.wp-block-cover__video-background {
|
||||
.wp-block-cover-image img.wp-block-cover__image-background,
|
||||
.wp-block-cover-image video.wp-block-cover__video-background,
|
||||
.wp-block-cover img.wp-block-cover__image-background,
|
||||
.wp-block-cover video.wp-block-cover__video-background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: none;
|
||||
max-height: none;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
outline: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-block-cover__video-background {
|
||||
@ -967,6 +965,9 @@ h6.has-background {
|
||||
.wp-block-image img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.wp-block-image:not(.is-style-rounded) img {
|
||||
border-radius: inherit;
|
||||
}
|
||||
.wp-block-image.aligncenter {
|
||||
text-align: center;
|
||||
}
|
||||
@ -1288,6 +1289,7 @@ ul.has-background {
|
||||
.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation__container {
|
||||
color: #1e1e1e;
|
||||
background-color: #fff;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.items-justified-left > ul {
|
||||
@ -1302,6 +1304,10 @@ ul.has-background {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.items-justified-space-between > ul {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.wp-block-navigation-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -1468,6 +1474,10 @@ p.has-text-color a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
p:empty::before {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.wp-block-post-author {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@ -1620,6 +1630,24 @@ p.has-text-color a {
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-query-pagination {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-next,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-previous,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-numbers {
|
||||
display: inline-block;
|
||||
margin-right: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-next:last-child,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-previous:last-child,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
||||
margin-bottom: 1em;
|
||||
padding: 0 1em;
|
||||
@ -1802,6 +1830,12 @@ p.has-text-color a {
|
||||
.wp-block-social-links.alignright {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-social-links.has-icon-color.has-icon-color > .wp-social-link {
|
||||
color: var(--wp--social-links--icon-color);
|
||||
}
|
||||
.wp-block-social-links.has-icon-background-color.has-icon-background-color > .wp-social-link {
|
||||
background-color: var(--wp--social-links--icon-background-color);
|
||||
}
|
||||
|
||||
.wp-social-link {
|
||||
display: block;
|
||||
|
File diff suppressed because one or more lines are too long
72
wp-includes/css/dist/block-library/style.css
vendored
72
wp-includes/css/dist/block-library/style.css
vendored
@ -71,18 +71,6 @@
|
||||
/**
|
||||
* These are default block editor widths in case the theme doesn't provide them.
|
||||
*/
|
||||
:root {
|
||||
--wp-admin-theme-color: #007cba;
|
||||
--wp-admin-theme-color-darker-10: #006ba1;
|
||||
--wp-admin-theme-color-darker-20: #005a87;
|
||||
--wp-admin-border-width-focus: 2px;
|
||||
}
|
||||
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||
:root {
|
||||
--wp-admin-border-width-focus: 1.5px;
|
||||
}
|
||||
}
|
||||
|
||||
#start-resizable-editor-section {
|
||||
display: none;
|
||||
}
|
||||
@ -137,7 +125,8 @@
|
||||
width: calc(75% - 0.5em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
|
||||
width: calc(100% - 0.5em);
|
||||
margin-right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-button.is-style-squared,
|
||||
@ -366,7 +355,6 @@
|
||||
background-position: center center;
|
||||
min-height: 430px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@ -584,16 +572,26 @@
|
||||
margin: 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.wp-block-cover__image-background,
|
||||
.wp-block-cover__video-background {
|
||||
.wp-block-cover-image img.wp-block-cover__image-background,
|
||||
.wp-block-cover-image video.wp-block-cover__video-background,
|
||||
.wp-block-cover img.wp-block-cover__image-background,
|
||||
.wp-block-cover video.wp-block-cover__video-background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: none;
|
||||
max-height: none;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
outline: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-block-cover__video-background {
|
||||
@ -983,6 +981,9 @@ h6.has-background {
|
||||
.wp-block-image img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.wp-block-image:not(.is-style-rounded) img {
|
||||
border-radius: inherit;
|
||||
}
|
||||
.wp-block-image.aligncenter {
|
||||
text-align: center;
|
||||
}
|
||||
@ -1322,6 +1323,7 @@ ul.has-background {
|
||||
.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation__container {
|
||||
color: #1e1e1e;
|
||||
background-color: #fff;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.items-justified-left > ul {
|
||||
@ -1336,6 +1338,10 @@ ul.has-background {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.items-justified-space-between > ul {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.wp-block-navigation-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -1502,6 +1508,10 @@ p.has-text-color a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
p:empty::before {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.wp-block-post-author {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@ -1654,6 +1664,26 @@ p.has-text-color a {
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-query-pagination {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-next,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-previous,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-numbers {
|
||||
display: inline-block;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-next:last-child,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-previous:last-child,
|
||||
.wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
||||
margin-bottom: 1em;
|
||||
padding: 0 1em;
|
||||
@ -1839,6 +1869,12 @@ p.has-text-color a {
|
||||
.wp-block-social-links.alignright {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-social-links.has-icon-color.has-icon-color > .wp-social-link {
|
||||
color: var(--wp--social-links--icon-color);
|
||||
}
|
||||
.wp-block-social-links.has-icon-background-color.has-icon-background-color > .wp-social-link {
|
||||
background-color: var(--wp--social-links--icon-background-color);
|
||||
}
|
||||
|
||||
.wp-social-link {
|
||||
display: block;
|
||||
|
File diff suppressed because one or more lines are too long
12
wp-includes/css/dist/block-library/theme-rtl.css
vendored
12
wp-includes/css/dist/block-library/theme-rtl.css
vendored
@ -70,18 +70,6 @@
|
||||
/**
|
||||
* These are default block editor widths in case the theme doesn't provide them.
|
||||
*/
|
||||
:root {
|
||||
--wp-admin-theme-color: #007cba;
|
||||
--wp-admin-theme-color-darker-10: #006ba1;
|
||||
--wp-admin-theme-color-darker-20: #005a87;
|
||||
--wp-admin-border-width-focus: 2px;
|
||||
}
|
||||
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||
:root {
|
||||
--wp-admin-border-width-focus: 1.5px;
|
||||
}
|
||||
}
|
||||
|
||||
#start-resizable-editor-section {
|
||||
display: none;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio figcaption{color:hsla(0,0%,100%,.65)}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.wp-block-embed figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed figcaption{color:hsla(0,0%,100%,.65)}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)}.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:hsla(0,0%,100%,.65)}.wp-block-pullquote{border-top:4px solid;border-bottom:4px solid;margin-bottom:1.75em;color:currentColor}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:currentColor;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-right:.25em solid;margin:0 0 1.75em;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:.25em solid;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-right:auto;margin-left:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video figcaption{color:hsla(0,0%,100%,.65)}.wp-block-template-part.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}
|
||||
#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio figcaption{color:hsla(0,0%,100%,.65)}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.wp-block-embed figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed figcaption{color:hsla(0,0%,100%,.65)}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)}.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:hsla(0,0%,100%,.65)}.wp-block-pullquote{border-top:4px solid;border-bottom:4px solid;margin-bottom:1.75em;color:currentColor}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:currentColor;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-right:.25em solid;margin:0 0 1.75em;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:.25em solid;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-right:auto;margin-left:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video figcaption{color:hsla(0,0%,100%,.65)}.wp-block-template-part.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}
|
12
wp-includes/css/dist/block-library/theme.css
vendored
12
wp-includes/css/dist/block-library/theme.css
vendored
@ -70,18 +70,6 @@
|
||||
/**
|
||||
* These are default block editor widths in case the theme doesn't provide them.
|
||||
*/
|
||||
:root {
|
||||
--wp-admin-theme-color: #007cba;
|
||||
--wp-admin-theme-color-darker-10: #006ba1;
|
||||
--wp-admin-theme-color-darker-20: #005a87;
|
||||
--wp-admin-border-width-focus: 2px;
|
||||
}
|
||||
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||
:root {
|
||||
--wp-admin-border-width-focus: 1.5px;
|
||||
}
|
||||
}
|
||||
|
||||
#start-resizable-editor-section {
|
||||
display: none;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio figcaption{color:hsla(0,0%,100%,.65)}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.wp-block-embed figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed figcaption{color:hsla(0,0%,100%,.65)}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)}.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:hsla(0,0%,100%,.65)}.wp-block-pullquote{border-top:4px solid;border-bottom:4px solid;margin-bottom:1.75em;color:currentColor}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:currentColor;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-left:.25em solid;margin:0 0 1.75em;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:.25em solid;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-left:auto;margin-right:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video figcaption{color:hsla(0,0%,100%,.65)}.wp-block-template-part.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}
|
||||
#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio figcaption{color:hsla(0,0%,100%,.65)}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.wp-block-embed figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed figcaption{color:hsla(0,0%,100%,.65)}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)}.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:hsla(0,0%,100%,.65)}.wp-block-pullquote{border-top:4px solid;border-bottom:4px solid;margin-bottom:1.75em;color:currentColor}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:currentColor;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-left:.25em solid;margin:0 0 1.75em;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:.25em solid;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-left:auto;margin-right:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video figcaption{color:hsla(0,0%,100%,.65)}.wp-block-template-part.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}
|
22
wp-includes/css/dist/components/style-rtl.css
vendored
22
wp-includes/css/dist/components/style-rtl.css
vendored
@ -435,6 +435,8 @@
|
||||
.components-button.has-icon .dashicon {
|
||||
display: inline-block;
|
||||
flex: 0 0 auto;
|
||||
margin-right: 2px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.components-button.has-icon.has-text {
|
||||
justify-content: left;
|
||||
@ -2873,7 +2875,7 @@ body.is-dragging-components-draggable {
|
||||
border-width: 0;
|
||||
transform: translateX(-18px);
|
||||
}
|
||||
.components-disabled .components-form-toggle {
|
||||
.components-form-toggle.is-disabled, .components-disabled .components-form-toggle {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
@ -4459,6 +4461,10 @@ body.lockscroll {
|
||||
.components-tab-panel__tabs {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
flex-direction: row;
|
||||
}
|
||||
.components-tab-panel__tabs[aria-orientation=vertical] {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.components-tab-panel__tabs-item {
|
||||
@ -4975,6 +4981,20 @@ div.components-toolbar > div + div.has-left-divider::before {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.disabled-element-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
.disabled-element-wrapper .event-catcher {
|
||||
z-index: 100002;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.components-visually-hidden {
|
||||
border: 0;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
|
File diff suppressed because one or more lines are too long
22
wp-includes/css/dist/components/style.css
vendored
22
wp-includes/css/dist/components/style.css
vendored
@ -435,6 +435,8 @@
|
||||
.components-button.has-icon .dashicon {
|
||||
display: inline-block;
|
||||
flex: 0 0 auto;
|
||||
margin-left: 2px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.components-button.has-icon.has-text {
|
||||
justify-content: left;
|
||||
@ -2883,7 +2885,7 @@ body.is-dragging-components-draggable {
|
||||
border-width: 0;
|
||||
transform: translateX(18px);
|
||||
}
|
||||
.components-disabled .components-form-toggle {
|
||||
.components-form-toggle.is-disabled, .components-disabled .components-form-toggle {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
@ -4478,6 +4480,10 @@ body.lockscroll {
|
||||
.components-tab-panel__tabs {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
flex-direction: row;
|
||||
}
|
||||
.components-tab-panel__tabs[aria-orientation=vertical] {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.components-tab-panel__tabs-item {
|
||||
@ -4994,6 +5000,20 @@ div.components-toolbar > div + div.has-left-divider::before {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.disabled-element-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
.disabled-element-wrapper .event-catcher {
|
||||
z-index: 100002;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.components-visually-hidden {
|
||||
border: 0;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
|
File diff suppressed because one or more lines are too long
110
wp-includes/css/dist/edit-post/style-rtl.css
vendored
110
wp-includes/css/dist/edit-post/style-rtl.css
vendored
@ -226,6 +226,7 @@ html.interface-interface-skeleton__html-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 0 1 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.interface-interface-skeleton {
|
||||
@ -285,7 +286,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
overscroll-behavior-y: none;
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.interface-interface-skeleton__body {
|
||||
.has-footer .interface-interface-skeleton__body {
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
}
|
||||
@ -397,6 +398,14 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.interface-pinned-items {
|
||||
display: flex;
|
||||
}
|
||||
.interface-pinned-items .components-button:not(:first-child) {
|
||||
display: none;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.interface-pinned-items .components-button:not(:first-child) {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
.interface-pinned-items .components-button {
|
||||
margin-right: 4px;
|
||||
}
|
||||
@ -521,24 +530,18 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
background-color: transparent;
|
||||
}
|
||||
.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__block-toolbar .components-button.has-icon svg,
|
||||
.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg,
|
||||
.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,
|
||||
.show-icon-labels .edit-post-header .edit-post-header-toolbar__block-toolbar .components-button.has-icon svg,
|
||||
.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,
|
||||
.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,
|
||||
.edit-post-header__dropdown .edit-post-header-toolbar__block-toolbar .components-button.has-icon svg,
|
||||
.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,
|
||||
.edit-post-header__dropdown .components-button.has-icon.button-toggle svg {
|
||||
display: block;
|
||||
}
|
||||
.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__block-toolbar .components-button.has-icon::after,
|
||||
.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon::after,
|
||||
.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle::after,
|
||||
.show-icon-labels .edit-post-header .edit-post-header-toolbar__block-toolbar .components-button.has-icon::after,
|
||||
.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon::after,
|
||||
.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle::after,
|
||||
.edit-post-header__dropdown .edit-post-header-toolbar__block-toolbar .components-button.has-icon::after,
|
||||
.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon::after,
|
||||
.edit-post-header__dropdown .components-button.has-icon.button-toggle::after {
|
||||
content: none;
|
||||
@ -1312,6 +1315,89 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.edit-post-preferences-modal {
|
||||
min-width: 360px;
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-preferences-modal {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-preferences-modal {
|
||||
height: calc(100% - 60px - 60px);
|
||||
}
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation {
|
||||
background-color: #fff;
|
||||
margin: -8px;
|
||||
padding: 8px;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu {
|
||||
margin: 0;
|
||||
color: #1e1e1e;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item > button {
|
||||
color: inherit;
|
||||
padding: 3px 16px;
|
||||
height: 48px;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item > button:focus {
|
||||
background: #f0f0f0;
|
||||
font-weight: 500;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item > button:hover {
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item .components-toggle-control__label {
|
||||
color: inherit;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__menu-title-heading {
|
||||
color: inherit;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button {
|
||||
color: inherit;
|
||||
padding-right: 0;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button:hover {
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .edit-post-preferences-modal__custom-fields-confirmation-button {
|
||||
width: auto;
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs {
|
||||
width: 160px;
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
|
||||
border-radius: 2px;
|
||||
font-weight: 400;
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active {
|
||||
background: #f0f0f0;
|
||||
box-shadow: none;
|
||||
font-weight: 500;
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled) {
|
||||
box-shadow: inset 0 0 0 2px #007cba;
|
||||
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content {
|
||||
width: 500px;
|
||||
padding-right: 24px;
|
||||
}
|
||||
.edit-post-preferences-modal__section {
|
||||
margin: 0 0 2.5rem 0;
|
||||
}
|
||||
@ -1319,12 +1405,12 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.edit-post-preferences-modal__option .components-base-control__field {
|
||||
.edit-post-preferences-modal__option .components-base-control .components-base-control__field {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.edit-post-preferences-modal__option .components-checkbox-control__label {
|
||||
.edit-post-preferences-modal__option .components-base-control .components-base-control__field > label {
|
||||
flex-grow: 1;
|
||||
padding: 0.6rem 10px 0.6rem 0;
|
||||
}
|
||||
@ -1342,7 +1428,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
}
|
||||
}
|
||||
.edit-post-preferences-modal .components-base-control__help {
|
||||
margin: -8px 42px 8px 0;
|
||||
margin: -8px 58px 8px 0;
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
color: #757575;
|
||||
@ -1676,7 +1762,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
}
|
||||
}
|
||||
.edit-post-welcome-guide__heading {
|
||||
font-family: "Noto Serif", serif;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 24px;
|
||||
line-height: 1.4;
|
||||
margin: 0 0 16px 0;
|
||||
|
File diff suppressed because one or more lines are too long
110
wp-includes/css/dist/edit-post/style.css
vendored
110
wp-includes/css/dist/edit-post/style.css
vendored
@ -226,6 +226,7 @@ html.interface-interface-skeleton__html-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 0 1 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.interface-interface-skeleton {
|
||||
@ -285,7 +286,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
overscroll-behavior-y: none;
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.interface-interface-skeleton__body {
|
||||
.has-footer .interface-interface-skeleton__body {
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
}
|
||||
@ -397,6 +398,14 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.interface-pinned-items {
|
||||
display: flex;
|
||||
}
|
||||
.interface-pinned-items .components-button:not(:first-child) {
|
||||
display: none;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.interface-pinned-items .components-button:not(:first-child) {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
.interface-pinned-items .components-button {
|
||||
margin-left: 4px;
|
||||
}
|
||||
@ -521,24 +530,18 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
background-color: transparent;
|
||||
}
|
||||
.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__block-toolbar .components-button.has-icon svg,
|
||||
.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg,
|
||||
.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,
|
||||
.show-icon-labels .edit-post-header .edit-post-header-toolbar__block-toolbar .components-button.has-icon svg,
|
||||
.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,
|
||||
.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,
|
||||
.edit-post-header__dropdown .edit-post-header-toolbar__block-toolbar .components-button.has-icon svg,
|
||||
.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,
|
||||
.edit-post-header__dropdown .components-button.has-icon.button-toggle svg {
|
||||
display: block;
|
||||
}
|
||||
.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__block-toolbar .components-button.has-icon::after,
|
||||
.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon::after,
|
||||
.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle::after,
|
||||
.show-icon-labels .edit-post-header .edit-post-header-toolbar__block-toolbar .components-button.has-icon::after,
|
||||
.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon::after,
|
||||
.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle::after,
|
||||
.edit-post-header__dropdown .edit-post-header-toolbar__block-toolbar .components-button.has-icon::after,
|
||||
.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon::after,
|
||||
.edit-post-header__dropdown .components-button.has-icon.button-toggle::after {
|
||||
content: none;
|
||||
@ -1312,6 +1315,89 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.edit-post-preferences-modal {
|
||||
min-width: 360px;
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-preferences-modal {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-preferences-modal {
|
||||
height: calc(100% - 60px - 60px);
|
||||
}
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation {
|
||||
background-color: #fff;
|
||||
margin: -8px;
|
||||
padding: 8px;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu {
|
||||
margin: 0;
|
||||
color: #1e1e1e;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item > button {
|
||||
color: inherit;
|
||||
padding: 3px 16px;
|
||||
height: 48px;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item > button:focus {
|
||||
background: #f0f0f0;
|
||||
font-weight: 500;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item > button:hover {
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item .components-toggle-control__label {
|
||||
color: inherit;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__menu-title-heading {
|
||||
color: inherit;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button {
|
||||
color: inherit;
|
||||
padding-left: 0;
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button:hover {
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
}
|
||||
.edit-post-preferences-modal .components-navigation .components-navigation__menu .edit-post-preferences-modal__custom-fields-confirmation-button {
|
||||
width: auto;
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs {
|
||||
width: 160px;
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
|
||||
border-radius: 2px;
|
||||
font-weight: 400;
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active {
|
||||
background: #f0f0f0;
|
||||
box-shadow: none;
|
||||
font-weight: 500;
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled) {
|
||||
box-shadow: inset 0 0 0 2px #007cba;
|
||||
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
||||
}
|
||||
.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content {
|
||||
width: 500px;
|
||||
padding-left: 24px;
|
||||
}
|
||||
.edit-post-preferences-modal__section {
|
||||
margin: 0 0 2.5rem 0;
|
||||
}
|
||||
@ -1319,12 +1405,12 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.edit-post-preferences-modal__option .components-base-control__field {
|
||||
.edit-post-preferences-modal__option .components-base-control .components-base-control__field {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.edit-post-preferences-modal__option .components-checkbox-control__label {
|
||||
.edit-post-preferences-modal__option .components-base-control .components-base-control__field > label {
|
||||
flex-grow: 1;
|
||||
padding: 0.6rem 0 0.6rem 10px;
|
||||
}
|
||||
@ -1342,7 +1428,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
}
|
||||
}
|
||||
.edit-post-preferences-modal .components-base-control__help {
|
||||
margin: -8px 0 8px 42px;
|
||||
margin: -8px 0 8px 58px;
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
color: #757575;
|
||||
@ -1680,7 +1766,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
}
|
||||
}
|
||||
.edit-post-welcome-guide__heading {
|
||||
font-family: "Noto Serif", serif;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 24px;
|
||||
line-height: 1.4;
|
||||
margin: 0 0 16px 0;
|
||||
|
2
wp-includes/css/dist/edit-post/style.min.css
vendored
2
wp-includes/css/dist/edit-post/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -80,7 +80,7 @@
|
||||
* Let's continue working to refactor these away, whether through Shadow DOM or better scoping of upstream styles.
|
||||
*/
|
||||
body {
|
||||
font-family: "Noto Serif", serif;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.8;
|
||||
color: #1e1e1e;
|
||||
|
@ -1 +1 @@
|
||||
body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-right:-10px;margin-left:-10px}h1,h2,h3{line-height:1.4}h1{font-size:2.44em;margin-top:.67em;margin-bottom:.67em}h2{font-size:1.95em;margin-top:.83em;margin-bottom:.83em}h3{font-size:1.56em;margin-top:1em;margin-bottom:1em}h4{font-size:1.25em;line-height:1.5;margin-top:1.33em;margin-bottom:1.33em}h5{font-size:1em;margin-top:1.67em;margin-bottom:1.67em}h6{font-size:.8em;margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-right:1.3em;margin-right:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:840px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:840px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}
|
||||
body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-right:-10px;margin-left:-10px}h1,h2,h3{line-height:1.4}h1{font-size:2.44em;margin-top:.67em;margin-bottom:.67em}h2{font-size:1.95em;margin-top:.83em;margin-bottom:.83em}h3{font-size:1.56em;margin-top:1em;margin-bottom:1em}h4{font-size:1.25em;line-height:1.5;margin-top:1.33em;margin-bottom:1.33em}h5{font-size:1em;margin-top:1.67em;margin-bottom:1.67em}h6{font-size:.8em;margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-right:1.3em;margin-right:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:840px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:840px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}
|
@ -80,7 +80,7 @@
|
||||
* Let's continue working to refactor these away, whether through Shadow DOM or better scoping of upstream styles.
|
||||
*/
|
||||
body {
|
||||
font-family: "Noto Serif", serif;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.8;
|
||||
color: #1e1e1e;
|
||||
|
@ -1 +1 @@
|
||||
body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:-10px;margin-right:-10px}h1,h2,h3{line-height:1.4}h1{font-size:2.44em;margin-top:.67em;margin-bottom:.67em}h2{font-size:1.95em;margin-top:.83em;margin-bottom:.83em}h3{font-size:1.56em;margin-top:1em;margin-bottom:1em}h4{font-size:1.25em;line-height:1.5;margin-top:1.33em;margin-bottom:1.33em}h5{font-size:1em;margin-top:1.67em;margin-bottom:1.67em}h6{font-size:.8em;margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-left:1.3em;margin-left:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:840px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:840px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}
|
||||
body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:-10px;margin-right:-10px}h1,h2,h3{line-height:1.4}h1{font-size:2.44em;margin-top:.67em;margin-bottom:.67em}h2{font-size:1.95em;margin-top:.83em;margin-bottom:.83em}h3{font-size:1.56em;margin-top:1em;margin-bottom:1em}h4{font-size:1.25em;line-height:1.5;margin-top:1.33em;margin-bottom:1.33em}h5{font-size:1em;margin-top:1.67em;margin-bottom:1.67em}h6{font-size:.8em;margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-left:1.3em;margin-left:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:840px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:840px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}
|
2
wp-includes/css/dist/editor/style-rtl.css
vendored
2
wp-includes/css/dist/editor/style-rtl.css
vendored
@ -919,7 +919,7 @@
|
||||
border-radius: 0;
|
||||
outline: 1px solid transparent;
|
||||
font-size: 2.44em;
|
||||
font-weight: bold;
|
||||
font-weight: 800;
|
||||
line-height: 1.4;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
|
File diff suppressed because one or more lines are too long
2
wp-includes/css/dist/editor/style.css
vendored
2
wp-includes/css/dist/editor/style.css
vendored
@ -919,7 +919,7 @@
|
||||
border-radius: 0;
|
||||
outline: 1px solid transparent;
|
||||
font-size: 2.44em;
|
||||
font-weight: bold;
|
||||
font-weight: 800;
|
||||
line-height: 1.4;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
|
2
wp-includes/css/dist/editor/style.min.css
vendored
2
wp-includes/css/dist/editor/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -82,6 +82,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.block-editor-format-toolbar__image-popover {
|
||||
z-index: 159990;
|
||||
}
|
||||
|
||||
.block-editor-format-toolbar__image-container-content {
|
||||
display: flex;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-left:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#cc1818}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;right:auto;left:auto;margin:0 5px}.components-inline-color-popover .components-popover__content>div{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:10px;right:8px}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-editor-format-toolbar__image-popover{z-index:159990}.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-left:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#cc1818}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;right:auto;left:auto;margin:0 5px}.components-inline-color-popover .components-popover__content>div{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:10px;right:8px}
|
@ -82,6 +82,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.block-editor-format-toolbar__image-popover {
|
||||
z-index: 159990;
|
||||
}
|
||||
|
||||
.block-editor-format-toolbar__image-container-content {
|
||||
display: flex;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-right:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#cc1818}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;left:auto;right:auto;margin:0 5px}.components-inline-color-popover .components-popover__content>div{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:10px;left:8px}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-editor-format-toolbar__image-popover{z-index:159990}.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-right:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#cc1818}.components-inline-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:6px;left:auto;right:auto;margin:0 5px}.components-inline-color-popover .components-popover__content>div{padding:20px 18px}.components-inline-color-popover .components-popover__content .components-color-palette{margin-top:.6rem}.components-inline-color-popover .components-popover__content .components-base-control__title{display:block;margin-bottom:16px;font-weight:600;color:#191e23}.components-inline-color-popover .components-popover__content .component-color-indicator{vertical-align:text-bottom}.format-library-text-color-button{position:relative}.format-library-text-color-button__indicator{height:4px;width:20px;position:absolute;bottom:10px;left:8px}
|
8
wp-includes/js/dist/a11y.js
vendored
8
wp-includes/js/dist/a11y.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 467);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 481);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -94,14 +94,14 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 266:
|
||||
/***/ 277:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["domReady"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 467:
|
||||
/***/ 481:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -113,7 +113,7 @@ __webpack_require__.d(__webpack_exports__, "setup", function() { return /* bindi
|
||||
__webpack_require__.d(__webpack_exports__, "speak", function() { return /* binding */ speak; });
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","domReady"]
|
||||
var external_wp_domReady_ = __webpack_require__(266);
|
||||
var external_wp_domReady_ = __webpack_require__(277);
|
||||
var external_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_wp_domReady_);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||
|
2
wp-includes/js/dist/a11y.min.js
vendored
2
wp-includes/js/dist/a11y.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.a11y=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=467)}({1:function(t,e){t.exports=window.wp.i18n},266:function(t,e){t.exports=window.wp.domReady},467:function(t,e,n){"use strict";n.r(e),n.d(e,"setup",(function(){return u})),n.d(e,"speak",(function(){return d}));var r=n(266),i=n.n(r),o=n(1);function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",e=document.createElement("div");e.id="a11y-speak-".concat(t),e.className="a11y-speak-region",e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(e),e}var p="";function u(){var t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){var t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(o.__)("Notifications"),t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("hidden","hidden");var e=document.body;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){for(var t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text"),n=0;n<t.length;n++)t[n].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/g," "),p===t&&(t+=" "),p=t,t}(t);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),i=document.getElementById("a11y-speak-polite");r&&"assertive"===e?r.textContent=t:i&&(i.textContent=t),n&&n.removeAttribute("hidden")}i()(u)}});
|
||||
this.wp=this.wp||{},this.wp.a11y=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=481)}({1:function(t,e){t.exports=window.wp.i18n},277:function(t,e){t.exports=window.wp.domReady},481:function(t,e,n){"use strict";n.r(e),n.d(e,"setup",(function(){return u})),n.d(e,"speak",(function(){return d}));var r=n(277),i=n.n(r),o=n(1);function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",e=document.createElement("div");e.id="a11y-speak-".concat(t),e.className="a11y-speak-region",e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(e),e}var p="";function u(){var t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){var t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(o.__)("Notifications"),t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("hidden","hidden");var e=document.body;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){for(var t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text"),n=0;n<t.length;n++)t[n].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/g," "),p===t&&(t+=" "),p=t,t}(t);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),i=document.getElementById("a11y-speak-polite");r&&"assertive"===e?r.textContent=t:i&&(i.textContent=t),n&&n.removeAttribute("hidden")}i()(u)}});
|
36
wp-includes/js/dist/annotations.js
vendored
36
wp-includes/js/dist/annotations.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 457);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 471);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -99,7 +99,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
|
||||
|
||||
function _objectWithoutProperties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
@ -142,7 +142,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(37);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -159,7 +159,14 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 196:
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["lodash"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 204:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -253,13 +260,6 @@ function v4(options, buf, offset) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["lodash"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 21:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
@ -284,7 +284,7 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -302,7 +302,7 @@ function _unsupportedIterableToArray(o, minLen) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 34:
|
||||
/***/ 33:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["hooks"]; }());
|
||||
@ -609,7 +609,7 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 43:
|
||||
/***/ 44:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -631,7 +631,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 457:
|
||||
/***/ 471:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -869,7 +869,7 @@ var format_name = annotation_annotation.name,
|
||||
Object(external_wp_richText_["registerFormatType"])(format_name, settings);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","hooks"]
|
||||
var external_wp_hooks_ = __webpack_require__(34);
|
||||
var external_wp_hooks_ = __webpack_require__(33);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","data"]
|
||||
var external_wp_data_ = __webpack_require__(4);
|
||||
@ -1123,7 +1123,7 @@ function __experimentalGetAnnotations(state) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules
|
||||
var v4 = __webpack_require__(196);
|
||||
var v4 = __webpack_require__(204);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
|
||||
/**
|
||||
@ -1252,7 +1252,7 @@ function __experimentalRemoveAnnotationsBySource(source) {
|
||||
/**
|
||||
* Store definition for the annotations namespace.
|
||||
*
|
||||
* @see https://github.com/WordPress/gutenberg/blob/master/packages/data/README.md#createReduxStore
|
||||
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
|
2
wp-includes/js/dist/annotations.min.js
vendored
2
wp-includes/js/dist/annotations.min.js
vendored
File diff suppressed because one or more lines are too long
102
wp-includes/js/dist/api-fetch.js
vendored
102
wp-includes/js/dist/api-fetch.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 456);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 470);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -99,7 +99,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
|
||||
|
||||
function _objectWithoutProperties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
@ -122,21 +122,21 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 17:
|
||||
/***/ 16:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["regeneratorRuntime"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ 32:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["url"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 43:
|
||||
/***/ 44:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -158,7 +158,50 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 456:
|
||||
/***/ 47:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; });
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg);
|
||||
var value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.done) {
|
||||
resolve(value);
|
||||
} else {
|
||||
Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
}
|
||||
|
||||
function _asyncToGenerator(fn) {
|
||||
return function () {
|
||||
var self = this,
|
||||
args = arguments;
|
||||
return new Promise(function (resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
|
||||
_next(undefined);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 470:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -350,14 +393,14 @@ function createPreloadingMiddleware(preloadedData) {
|
||||
/* harmony default export */ var preloading = (createPreloadingMiddleware);
|
||||
|
||||
// EXTERNAL MODULE: external "regeneratorRuntime"
|
||||
var external_regeneratorRuntime_ = __webpack_require__(17);
|
||||
var external_regeneratorRuntime_ = __webpack_require__(16);
|
||||
var external_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_regeneratorRuntime_);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__(47);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","url"]
|
||||
var external_wp_url_ = __webpack_require__(31);
|
||||
var external_wp_url_ = __webpack_require__(32);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js
|
||||
|
||||
@ -913,49 +956,6 @@ apiFetch.mediaUploadMiddleware = media_upload;
|
||||
/* harmony default export */ var build_module = __webpack_exports__["default"] = (apiFetch);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 47:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; });
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg);
|
||||
var value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.done) {
|
||||
resolve(value);
|
||||
} else {
|
||||
Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
}
|
||||
|
||||
function _asyncToGenerator(fn) {
|
||||
return function () {
|
||||
var self = this,
|
||||
args = arguments;
|
||||
return new Promise(function (resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
|
||||
_next(undefined);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 5:
|
||||
|
2
wp-includes/js/dist/api-fetch.min.js
vendored
2
wp-includes/js/dist/api-fetch.min.js
vendored
File diff suppressed because one or more lines are too long
8
wp-includes/js/dist/autop.js
vendored
8
wp-includes/js/dist/autop.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["autop"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 287);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 301);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -126,7 +126,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -159,7 +159,7 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 287:
|
||||
/***/ 301:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -575,7 +575,7 @@ function removep(html) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/autop.min.js
vendored
2
wp-includes/js/dist/autop.min.js
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/blob.js
vendored
4
wp-includes/js/dist/blob.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blob"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 288);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 302);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 288:
|
||||
/***/ 302:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/blob.min.js
vendored
2
wp-includes/js/dist/blob.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=288)}({288:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"getBlobTypeByURL",(function(){return l})),n.d(t,"revokeBlobURL",(function(){return d})),n.d(t,"isBlobURL",(function(){return a}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){var t;return null===(t=c(e))||void 0===t?void 0:t.type.split("/")[0]}function d(e){i[e]&&u(e),delete i[e]}function a(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
|
||||
this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=302)}({302:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"getBlobTypeByURL",(function(){return l})),n.d(t,"revokeBlobURL",(function(){return d})),n.d(t,"isBlobURL",(function(){return a}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){var t;return null===(t=c(e))||void 0===t?void 0:t.type.split("/")[0]}function d(e){i[e]&&u(e),delete i[e]}function a(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
|
165
wp-includes/js/dist/block-directory.js
vendored
165
wp-includes/js/dist/block-directory.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockDirectory"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 448);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 463);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -140,7 +140,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -168,7 +168,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
|
||||
|
||||
function _objectWithoutProperties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
@ -191,7 +191,7 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 132:
|
||||
/***/ 138:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -259,7 +259,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(37);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -276,14 +276,7 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 167:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["editPost"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 17:
|
||||
/***/ 16:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["regeneratorRuntime"]; }());
|
||||
@ -297,7 +290,7 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 205:
|
||||
/***/ 215:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -339,7 +332,21 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 289:
|
||||
/***/ 278:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["editPost"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 3:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["components"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 303:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -364,7 +371,7 @@ var starFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createE
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 290:
|
||||
/***/ 304:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -391,14 +398,7 @@ var starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEl
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 3:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["components"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -416,7 +416,7 @@ function _unsupportedIterableToArray(o, minLen) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 34:
|
||||
/***/ 33:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["hooks"]; }());
|
||||
@ -463,7 +463,7 @@ function _nonIterableRest() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 43:
|
||||
/***/ 44:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -485,7 +485,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 448:
|
||||
/***/ 463:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -524,10 +524,10 @@ __webpack_require__.d(actions_namespaceObject, "clearErrorNotice", function() {
|
||||
var external_wp_element_ = __webpack_require__(0);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","plugins"]
|
||||
var external_wp_plugins_ = __webpack_require__(69);
|
||||
var external_wp_plugins_ = __webpack_require__(73);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","hooks"]
|
||||
var external_wp_hooks_ = __webpack_require__(34);
|
||||
var external_wp_hooks_ = __webpack_require__(33);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","blocks"]
|
||||
var external_wp_blocks_ = __webpack_require__(9);
|
||||
@ -539,7 +539,7 @@ var external_wp_data_ = __webpack_require__(4);
|
||||
var defineProperty = __webpack_require__(5);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","dataControls"]
|
||||
var external_wp_dataControls_ = __webpack_require__(48);
|
||||
var external_wp_dataControls_ = __webpack_require__(49);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(15);
|
||||
@ -821,20 +821,20 @@ function selectors_getErrorNoticeForBlock(state, blockId) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: external "regeneratorRuntime"
|
||||
var external_regeneratorRuntime_ = __webpack_require__(17);
|
||||
var external_regeneratorRuntime_ = __webpack_require__(16);
|
||||
var external_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_regeneratorRuntime_);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||
var external_wp_i18n_ = __webpack_require__(1);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","notices"]
|
||||
var external_wp_notices_ = __webpack_require__(50);
|
||||
var external_wp_notices_ = __webpack_require__(51);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__(47);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","apiFetch"]
|
||||
var external_wp_apiFetch_ = __webpack_require__(49);
|
||||
var external_wp_apiFetch_ = __webpack_require__(50);
|
||||
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/controls.js
|
||||
@ -1420,7 +1420,7 @@ var STORE_NAME = 'core/block-directory';
|
||||
/**
|
||||
* Block editor data store configuration.
|
||||
*
|
||||
* @see https://github.com/WordPress/gutenberg/blob/master/packages/data/README.md#registerStore
|
||||
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#registerStore
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
@ -1435,7 +1435,7 @@ var storeConfig = {
|
||||
/**
|
||||
* Store definition for the block directory namespace.
|
||||
*
|
||||
* @see https://github.com/WordPress/gutenberg/blob/master/packages/data/README.md#createReduxStore
|
||||
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
@ -1493,10 +1493,7 @@ var external_wp_compose_ = __webpack_require__(12);
|
||||
var external_wp_components_ = __webpack_require__(3);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","a11y"]
|
||||
var external_wp_a11y_ = __webpack_require__(46);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","editPost"]
|
||||
var external_wp_editPost_ = __webpack_require__(167);
|
||||
var external_wp_a11y_ = __webpack_require__(48);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-author-info/index.js
|
||||
|
||||
@ -1527,13 +1524,13 @@ function DownloadableBlockAuthorInfo(_ref) {
|
||||
/* harmony default export */ var downloadable_block_author_info = (DownloadableBlockAuthorInfo);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","htmlEntities"]
|
||||
var external_wp_htmlEntities_ = __webpack_require__(60);
|
||||
var external_wp_htmlEntities_ = __webpack_require__(64);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
||||
var build_module_icon = __webpack_require__(132);
|
||||
var build_module_icon = __webpack_require__(138);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
|
||||
var star_filled = __webpack_require__(289);
|
||||
var star_filled = __webpack_require__(303);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","primitives"]
|
||||
var external_wp_primitives_ = __webpack_require__(7);
|
||||
@ -1554,7 +1551,7 @@ var starHalf = Object(external_wp_element_["createElement"])(external_wp_primiti
|
||||
/* harmony default export */ var star_half = (starHalf);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
|
||||
var star_empty = __webpack_require__(290);
|
||||
var star_empty = __webpack_require__(304);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/stars.js
|
||||
|
||||
@ -1939,9 +1936,6 @@ function DownloadableBlocksList(_ref) {
|
||||
var _useDispatch = Object(external_wp_data_["useDispatch"])(store),
|
||||
installBlockType = _useDispatch.installBlockType;
|
||||
|
||||
var _useDispatch2 = Object(external_wp_data_["useDispatch"])(external_wp_editPost_["store"]),
|
||||
setIsInserterOpened = _useDispatch2.setIsInserterOpened;
|
||||
|
||||
if (!items.length) {
|
||||
return null;
|
||||
}
|
||||
@ -1960,12 +1954,19 @@ function DownloadableBlocksList(_ref) {
|
||||
return Object(external_wp_element_["createElement"])(DownloadableBlockListItem, {
|
||||
key: item.id,
|
||||
onClick: function onClick() {
|
||||
installBlockType(item).then(function (success) {
|
||||
if (success) {
|
||||
onSelect(item);
|
||||
setIsInserterOpened(false);
|
||||
}
|
||||
});
|
||||
// Check if the block is registered (`getBlockType`
|
||||
// will return an object). If so, insert the block.
|
||||
// This prevents installing existing plugins.
|
||||
if (Object(external_wp_blocks_["getBlockType"])(item.name)) {
|
||||
onSelect(item);
|
||||
} else {
|
||||
installBlockType(item).then(function (success) {
|
||||
if (success) {
|
||||
onSelect(item);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
onHover(null);
|
||||
},
|
||||
item: item
|
||||
@ -1990,6 +1991,7 @@ function DownloadableBlocksList(_ref) {
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -2039,14 +2041,26 @@ function DownloadableBlocksPanel(_ref) {
|
||||
}
|
||||
|
||||
/* harmony default export */ var downloadable_blocks_panel = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(function (select, _ref2) {
|
||||
var filterValue = _ref2.filterValue;
|
||||
var filterValue = _ref2.filterValue,
|
||||
_ref2$rootClientId = _ref2.rootClientId,
|
||||
rootClientId = _ref2$rootClientId === void 0 ? null : _ref2$rootClientId;
|
||||
|
||||
var _select = select(store),
|
||||
getDownloadableBlocks = _select.getDownloadableBlocks,
|
||||
isRequestingDownloadableBlocks = _select.isRequestingDownloadableBlocks;
|
||||
|
||||
var _select2 = select(external_wp_blockEditor_["store"]),
|
||||
canInsertBlockType = _select2.canInsertBlockType;
|
||||
|
||||
var hasPermission = select('core').canUser('read', 'block-directory/search');
|
||||
var downloadableItems = hasPermission ? getDownloadableBlocks(filterValue) : [];
|
||||
|
||||
function getInstallableBlocks(term) {
|
||||
return getDownloadableBlocks(term).filter(function (block) {
|
||||
return canInsertBlockType(block, rootClientId, true);
|
||||
});
|
||||
}
|
||||
|
||||
var downloadableItems = hasPermission ? getInstallableBlocks(filterValue) : [];
|
||||
var isLoading = isRequestingDownloadableBlocks(filterValue);
|
||||
return {
|
||||
downloadableItems: downloadableItems,
|
||||
@ -2086,7 +2100,8 @@ function InserterMenuDownloadableBlocksPanel() {
|
||||
var onSelect = _ref.onSelect,
|
||||
onHover = _ref.onHover,
|
||||
filterValue = _ref.filterValue,
|
||||
hasItems = _ref.hasItems;
|
||||
hasItems = _ref.hasItems,
|
||||
rootClientId = _ref.rootClientId;
|
||||
|
||||
if (hasItems || !filterValue) {
|
||||
return null;
|
||||
@ -2099,6 +2114,7 @@ function InserterMenuDownloadableBlocksPanel() {
|
||||
return Object(external_wp_element_["createElement"])(downloadable_blocks_panel, {
|
||||
onSelect: onSelect,
|
||||
onHover: onHover,
|
||||
rootClientId: rootClientId,
|
||||
filterValue: debouncedFilterValue,
|
||||
isWaiting: filterValue !== debouncedFilterValue
|
||||
});
|
||||
@ -2107,8 +2123,11 @@ function InserterMenuDownloadableBlocksPanel() {
|
||||
|
||||
/* harmony default export */ var inserter_menu_downloadable_blocks_panel = (InserterMenuDownloadableBlocksPanel);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","editPost"]
|
||||
var external_wp_editPost_ = __webpack_require__(278);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js
|
||||
var block_default = __webpack_require__(205);
|
||||
var block_default = __webpack_require__(215);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/compact-list/index.js
|
||||
|
||||
@ -2389,13 +2408,6 @@ Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'block-direc
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 46:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["a11y"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 47:
|
||||
@ -2444,14 +2456,14 @@ function _asyncToGenerator(fn) {
|
||||
/***/ 48:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["dataControls"]; }());
|
||||
(function() { module.exports = window["wp"]["a11y"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 49:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
||||
(function() { module.exports = window["wp"]["dataControls"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
@ -2480,6 +2492,13 @@ function _defineProperty(obj, key, value) {
|
||||
/***/ 50:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 51:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["notices"]; }());
|
||||
|
||||
/***/ }),
|
||||
@ -2491,20 +2510,13 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 60:
|
||||
/***/ 64:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["htmlEntities"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 69:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["plugins"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
@ -2512,6 +2524,13 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 73:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["plugins"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
|
2
wp-includes/js/dist/block-directory.min.js
vendored
2
wp-includes/js/dist/block-directory.min.js
vendored
File diff suppressed because one or more lines are too long
8481
wp-includes/js/dist/block-editor.js
vendored
8481
wp-includes/js/dist/block-editor.js
vendored
File diff suppressed because it is too large
Load Diff
6
wp-includes/js/dist/block-editor.min.js
vendored
6
wp-includes/js/dist/block-editor.min.js
vendored
File diff suppressed because one or more lines are too long
809
wp-includes/js/dist/block-library.js
vendored
809
wp-includes/js/dist/block-library.js
vendored
File diff suppressed because it is too large
Load Diff
12
wp-includes/js/dist/block-library.min.js
vendored
12
wp-includes/js/dist/block-library.min.js
vendored
File diff suppressed because one or more lines are too long
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 307);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 321);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -126,7 +126,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -159,7 +159,25 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 307:
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
|
||||
|
||||
function _unsupportedIterableToArray(o, minLen) {
|
||||
if (!o) return;
|
||||
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||
if (n === "Map" || n === "Set") return Array.from(o);
|
||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 321:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -547,24 +565,6 @@ function addBlockFromStack(endOffset) {
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
|
||||
|
||||
function _unsupportedIterableToArray(o, minLen) {
|
||||
if (!o) return;
|
||||
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||
if (n === "Map" || n === "Set") return Array.from(o);
|
||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 38:
|
||||
|
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=307)}({11:function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(38);var o=r(32),u=r(39);function i(t,n){return Object(e.a)(t)||function(t,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}}(t,n)||Object(o.a)(t,n)||Object(u.a)()}},24:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,"a",(function(){return e}))},307:function(t,n,r){"use strict";r.r(n),r.d(n,"parse",(function(){return s}));var e,o,u,i,c=r(11),a=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(t,n,r,e,o){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:o}}function f(t){return l(null,{},[],t,[t])}var s=function(t){e=t,o=0,u=[],i=[],a.lastIndex=0;do{}while(p());return u};function p(){var t=function(){var t=a.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(c.a)(t,7),o=r[0],u=r[1],i=r[2],l=r[3],f=r[4],s=r[6],p=o.length,b=!!u,d=!!s,v=(i||"core/")+l,h=!!f,y=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(f):{};if(d)return["void-block",v,y,n,p];if(b)return["block-closer",v,null,n,p];return["block-opener",v,y,n,p]}(),n=Object(c.a)(t,5),r=n[0],s=n[1],p=n[2],h=n[3],y=n[4],k=i.length,O=h>o?o:null;switch(r){case"no-more-tokens":if(0===k)return b(),!1;if(1===k)return v(),!1;for(;0<i.length;)v();return!1;case"void-block":return 0===k?(null!==O&&u.push(f(e.substr(O,h-O))),u.push(l(s,p,[],"",[])),o=h+y,!0):(d(l(s,p,[],"",[]),h,y),o=h+y,!0);case"block-opener":return i.push(function(t,n,r,e,o){return{block:t,tokenStart:n,tokenLength:r,prevOffset:e||n+r,leadingHtmlStart:o}}(l(s,p,[],"",[]),h,y,h+y,O)),o=h+y,!0;case"block-closer":if(0===k)return b(),!1;if(1===k)return v(h),o=h+y,!0;var g=i.pop(),m=e.substr(g.prevOffset,h-g.prevOffset);return g.block.innerHTML+=m,g.block.innerContent.push(m),g.prevOffset=h+y,d(g.block,g.tokenStart,g.tokenLength,h+y),o=h+y,!0;default:return b(),!1}}function b(t){var n=t||e.length-o;0!==n&&u.push(f(e.substr(o,n)))}function d(t,n,r,o){var u=i[i.length-1];u.block.innerBlocks.push(t);var c=e.substr(u.prevOffset,n-u.prevOffset);c&&(u.block.innerHTML+=c,u.block.innerContent.push(c)),u.block.innerContent.push(null),u.prevOffset=o||n+r}function v(t){var n=i.pop(),r=n.block,o=n.leadingHtmlStart,c=n.prevOffset,a=n.tokenStart,l=t?e.substr(c,t-c):e.substr(c);l&&(r.innerHTML+=l,r.innerContent.push(l)),null!==o&&u.push(f(e.substr(o,a-o))),u.push(r)}},32:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(24);function o(t,n){if(t){if("string"==typeof t)return Object(e.a)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(e.a)(t,n):void 0}}},38:function(t,n,r){"use strict";function e(t){if(Array.isArray(t))return t}r.d(n,"a",(function(){return e}))},39:function(t,n,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(n,"a",(function(){return e}))}});
|
||||
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=321)}({11:function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(38);var o=r(31),u=r(39);function i(t,n){return Object(e.a)(t)||function(t,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}}(t,n)||Object(o.a)(t,n)||Object(u.a)()}},24:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,"a",(function(){return e}))},31:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(24);function o(t,n){if(t){if("string"==typeof t)return Object(e.a)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(e.a)(t,n):void 0}}},321:function(t,n,r){"use strict";r.r(n),r.d(n,"parse",(function(){return s}));var e,o,u,i,c=r(11),a=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(t,n,r,e,o){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:o}}function f(t){return l(null,{},[],t,[t])}var s=function(t){e=t,o=0,u=[],i=[],a.lastIndex=0;do{}while(p());return u};function p(){var t=function(){var t=a.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(c.a)(t,7),o=r[0],u=r[1],i=r[2],l=r[3],f=r[4],s=r[6],p=o.length,b=!!u,d=!!s,v=(i||"core/")+l,h=!!f,y=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(f):{};if(d)return["void-block",v,y,n,p];if(b)return["block-closer",v,null,n,p];return["block-opener",v,y,n,p]}(),n=Object(c.a)(t,5),r=n[0],s=n[1],p=n[2],h=n[3],y=n[4],k=i.length,O=h>o?o:null;switch(r){case"no-more-tokens":if(0===k)return b(),!1;if(1===k)return v(),!1;for(;0<i.length;)v();return!1;case"void-block":return 0===k?(null!==O&&u.push(f(e.substr(O,h-O))),u.push(l(s,p,[],"",[])),o=h+y,!0):(d(l(s,p,[],"",[]),h,y),o=h+y,!0);case"block-opener":return i.push(function(t,n,r,e,o){return{block:t,tokenStart:n,tokenLength:r,prevOffset:e||n+r,leadingHtmlStart:o}}(l(s,p,[],"",[]),h,y,h+y,O)),o=h+y,!0;case"block-closer":if(0===k)return b(),!1;if(1===k)return v(h),o=h+y,!0;var g=i.pop(),m=e.substr(g.prevOffset,h-g.prevOffset);return g.block.innerHTML+=m,g.block.innerContent.push(m),g.prevOffset=h+y,d(g.block,g.tokenStart,g.tokenLength,h+y),o=h+y,!0;default:return b(),!1}}function b(t){var n=t||e.length-o;0!==n&&u.push(f(e.substr(o,n)))}function d(t,n,r,o){var u=i[i.length-1];u.block.innerBlocks.push(t);var c=e.substr(u.prevOffset,n-u.prevOffset);c&&(u.block.innerHTML+=c,u.block.innerContent.push(c)),u.block.innerContent.push(null),u.prevOffset=o||n+r}function v(t){var n=i.pop(),r=n.block,o=n.leadingHtmlStart,c=n.prevOffset,a=n.tokenStart,l=t?e.substr(c,t-c):e.substr(c);l&&(r.innerHTML+=l,r.innerContent.push(l)),null!==o&&u.push(f(e.substr(o,a-o))),u.push(r)}},38:function(t,n,r){"use strict";function e(t){if(Array.isArray(t))return t}r.d(n,"a",(function(){return e}))},39:function(t,n,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(n,"a",(function(){return e}))}});
|
257
wp-includes/js/dist/blocks.js
vendored
257
wp-includes/js/dist/blocks.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blocks"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 446);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 460);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -140,7 +140,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -156,7 +156,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 110:
|
||||
/***/ 115:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["autop"]; }());
|
||||
@ -170,13 +170,32 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 124:
|
||||
/***/ 129:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["shortcode"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 147:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toArray; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_arrayWithHoles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_iterableToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(37);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_unsupportedIterableToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(31);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_nonIterableRest__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
|
||||
|
||||
|
||||
|
||||
|
||||
function _toArray(arr) {
|
||||
return Object(_babel_runtime_helpers_esm_arrayWithHoles__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(arr) || Object(_babel_runtime_helpers_esm_iterableToArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(arr) || Object(_babel_runtime_helpers_esm_unsupportedIterableToArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(arr) || Object(_babel_runtime_helpers_esm_nonIterableRest__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])();
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@ -197,7 +216,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(37);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -214,7 +233,14 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 196:
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["lodash"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 204:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -308,14 +334,7 @@ function v4(options, buf, offset) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["lodash"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 205:
|
||||
/***/ 215:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -400,14 +419,14 @@ function _createClass(Constructor, protoProps, staticProps) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 272:
|
||||
/***/ 284:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["blockSerializationDefaultParser"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 273:
|
||||
/***/ 285:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;;/*! showdown v 1.9.1 - 02-11-2019 */
|
||||
@ -5552,7 +5571,7 @@ if (true) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -5570,7 +5589,7 @@ function _unsupportedIterableToArray(o, minLen) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 34:
|
||||
/***/ 33:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["hooks"]; }());
|
||||
@ -5624,13 +5643,6 @@ function _nonIterableRest() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 40:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["blob"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 41:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@ -5913,7 +5925,14 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 446:
|
||||
/***/ 43:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["blob"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 460:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -6813,7 +6832,7 @@ var STORE_NAME = 'core/blocks';
|
||||
/**
|
||||
* Store definition for the blocks namespace.
|
||||
*
|
||||
* @see https://github.com/WordPress/gutenberg/blob/master/packages/data/README.md#createReduxStore
|
||||
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
@ -6829,16 +6848,16 @@ Object(external_wp_data_["register"])(store);
|
||||
var slicedToArray = __webpack_require__(11);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules
|
||||
var v4 = __webpack_require__(196);
|
||||
var v4 = __webpack_require__(204);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","hooks"]
|
||||
var external_wp_hooks_ = __webpack_require__(34);
|
||||
var external_wp_hooks_ = __webpack_require__(33);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js
|
||||
var block_default = __webpack_require__(205);
|
||||
var block_default = __webpack_require__(215);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js
|
||||
var tinycolor = __webpack_require__(61);
|
||||
var tinycolor = __webpack_require__(60);
|
||||
var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","element"]
|
||||
@ -6866,6 +6885,7 @@ function utils_objectSpread(target) { for (var i = 1; i < arguments.length; i++)
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -6983,6 +7003,19 @@ function normalizeBlockType(blockTypeOrName) {
|
||||
|
||||
function getBlockLabel(blockType, attributes) {
|
||||
var context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'visual';
|
||||
|
||||
// Attempt to find entity title if block is a template part.
|
||||
// Require slug to request, otherwise entity is uncreated and will throw 404.
|
||||
if ('core/template-part' === blockType.name && attributes.slug) {
|
||||
var entity = Object(external_wp_data_["select"])('core').getEntityRecord('postType', 'wp_template_part', attributes.theme + '//' + attributes.slug);
|
||||
|
||||
if (entity) {
|
||||
var _entity$title;
|
||||
|
||||
return Object(external_lodash_["startCase"])(((_entity$title = entity.title) === null || _entity$title === void 0 ? void 0 : _entity$title.rendered) || entity.slug);
|
||||
}
|
||||
}
|
||||
|
||||
var getLabel = blockType.__experimentalLabel,
|
||||
title = blockType.title;
|
||||
var label = getLabel && getLabel(attributes, {
|
||||
@ -7053,6 +7086,45 @@ function getAccessibleBlockLabel(blockType, attributes, position) {
|
||||
/* translators: accessibility text. %s: The block title. */
|
||||
Object(external_wp_i18n_["__"])('%s Block'), title);
|
||||
}
|
||||
/**
|
||||
* Ensure attributes contains only values defined by block type, and merge
|
||||
* default values for missing attributes.
|
||||
*
|
||||
* @param {string} name The block's name.
|
||||
* @param {Object} attributes The block's attributes.
|
||||
* @return {Object} The sanitized attributes.
|
||||
*/
|
||||
|
||||
function sanitizeBlockAttributes(name, attributes) {
|
||||
// Get the type definition associated with a registered block.
|
||||
var blockType = registration_getBlockType(name);
|
||||
|
||||
if (undefined === blockType) {
|
||||
throw new Error("Block type '".concat(name, "' is not registered."));
|
||||
}
|
||||
|
||||
return Object(external_lodash_["reduce"])(blockType.attributes, function (accumulator, schema, key) {
|
||||
var value = attributes[key];
|
||||
|
||||
if (undefined !== value) {
|
||||
accumulator[key] = value;
|
||||
} else if (schema.hasOwnProperty('default')) {
|
||||
accumulator[key] = schema.default;
|
||||
}
|
||||
|
||||
if (['node', 'children'].indexOf(schema.source) !== -1) {
|
||||
// Ensure value passed is always an array, which we're expecting in
|
||||
// the RichText component to handle the deprecated value.
|
||||
if (typeof accumulator[key] === 'string') {
|
||||
accumulator[key] = [accumulator[key]];
|
||||
} else if (!Array.isArray(accumulator[key])) {
|
||||
accumulator[key] = [];
|
||||
}
|
||||
}
|
||||
|
||||
return accumulator;
|
||||
}, {});
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/constants.js
|
||||
/**
|
||||
@ -7198,6 +7270,9 @@ function registration_objectSpread(target) { for (var i = 1; i < arguments.lengt
|
||||
* @property {string} name The unique and machine-readable name.
|
||||
* @property {string} title A human-readable variation title.
|
||||
* @property {string} [description] A detailed variation description.
|
||||
* @property {string} [category] Block type category classification,
|
||||
* used in search interfaces to arrange
|
||||
* block types by category.
|
||||
* @property {WPIcon} [icon] An icon helping to visualize the variation.
|
||||
* @property {boolean} [isDefault] Indicates whether the current variation is
|
||||
* the default one. Defaults to `false`.
|
||||
@ -7682,36 +7757,7 @@ function factory_objectSpread(target) { for (var i = 1; i < arguments.length; i+
|
||||
function createBlock(name) {
|
||||
var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
||||
var innerBlocks = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
||||
// Get the type definition associated with a registered block.
|
||||
var blockType = registration_getBlockType(name);
|
||||
|
||||
if (undefined === blockType) {
|
||||
throw new Error("Block type '".concat(name, "' is not registered."));
|
||||
} // Ensure attributes contains only values defined by block type, and merge
|
||||
// default values for missing attributes.
|
||||
|
||||
|
||||
var sanitizedAttributes = Object(external_lodash_["reduce"])(blockType.attributes, function (accumulator, schema, key) {
|
||||
var value = attributes[key];
|
||||
|
||||
if (undefined !== value) {
|
||||
accumulator[key] = value;
|
||||
} else if (schema.hasOwnProperty('default')) {
|
||||
accumulator[key] = schema.default;
|
||||
}
|
||||
|
||||
if (['node', 'children'].indexOf(schema.source) !== -1) {
|
||||
// Ensure value passed is always an array, which we're expecting in
|
||||
// the RichText component to handle the deprecated value.
|
||||
if (typeof accumulator[key] === 'string') {
|
||||
accumulator[key] = [accumulator[key]];
|
||||
} else if (!Array.isArray(accumulator[key])) {
|
||||
accumulator[key] = [];
|
||||
}
|
||||
}
|
||||
|
||||
return accumulator;
|
||||
}, {});
|
||||
var sanitizedAttributes = sanitizeBlockAttributes(name, attributes);
|
||||
var clientId = Object(v4["a" /* default */])(); // Blocks are stored with a unique ID, the assigned type name, the block
|
||||
// attributes, and their inner blocks.
|
||||
|
||||
@ -7763,9 +7809,10 @@ function cloneBlock(block) {
|
||||
var mergeAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
||||
var newInnerBlocks = arguments.length > 2 ? arguments[2] : undefined;
|
||||
var clientId = Object(v4["a" /* default */])();
|
||||
var sanitizedAttributes = sanitizeBlockAttributes(block.name, factory_objectSpread(factory_objectSpread({}, block.attributes), mergeAttributes));
|
||||
return factory_objectSpread(factory_objectSpread({}, block), {}, {
|
||||
clientId: clientId,
|
||||
attributes: factory_objectSpread(factory_objectSpread({}, block.attributes), mergeAttributes),
|
||||
attributes: sanitizedAttributes,
|
||||
innerBlocks: newInnerBlocks || block.innerBlocks.map(function (innerBlock) {
|
||||
return cloneBlock(innerBlock);
|
||||
})
|
||||
@ -8301,31 +8348,14 @@ function query(selector, matchers) {
|
||||
};
|
||||
}
|
||||
// EXTERNAL MODULE: external ["wp","autop"]
|
||||
var external_wp_autop_ = __webpack_require__(110);
|
||||
var external_wp_autop_ = __webpack_require__(115);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","blockSerializationDefaultParser"]
|
||||
var external_wp_blockSerializationDefaultParser_ = __webpack_require__(272);
|
||||
var external_wp_blockSerializationDefaultParser_ = __webpack_require__(284);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(38);
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toArray.js
|
||||
var toArray = __webpack_require__(147);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
||||
var iterableToArray = __webpack_require__(37);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toArray.js
|
||||
|
||||
|
||||
|
||||
|
||||
function _toArray(arr) {
|
||||
return Object(arrayWithHoles["a" /* default */])(arr) || Object(iterableToArray["a" /* default */])(arr) || Object(unsupportedIterableToArray["a" /* default */])(arr) || Object(nonIterableRest["a" /* default */])();
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
||||
var classCallCheck = __webpack_require__(25);
|
||||
|
||||
@ -9002,7 +9032,7 @@ function tokenize(input, options) {
|
||||
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","htmlEntities"]
|
||||
var external_wp_htmlEntities_ = __webpack_require__(60);
|
||||
var external_wp_htmlEntities_ = __webpack_require__(64);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/validation/logger.js
|
||||
function createLogger() {
|
||||
@ -9077,7 +9107,7 @@ function createQueuedLogger() {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","isShallowEqual"]
|
||||
var external_wp_isShallowEqual_ = __webpack_require__(59);
|
||||
var external_wp_isShallowEqual_ = __webpack_require__(63);
|
||||
var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
||||
@ -9645,7 +9675,7 @@ function isValidCharacterReference(text) {
|
||||
* implementation of `decodeEntities` from `html-entities`, in order to avoid
|
||||
* bundling a massive named character reference.
|
||||
*
|
||||
* @see https://github.com/tildeio/simple-html-tokenizer/tree/master/src/entity-parser.ts
|
||||
* @see https://github.com/tildeio/simple-html-tokenizer/tree/HEAD/src/entity-parser.ts
|
||||
*/
|
||||
|
||||
var validation_DecodeEntityParser = /*#__PURE__*/function () {
|
||||
@ -9755,6 +9785,18 @@ function isEquivalentTextTokens(actual, expected) {
|
||||
logger.warning('Expected text `%s`, saw `%s`.', expected.chars, actual.chars);
|
||||
return false;
|
||||
}
|
||||
/**
|
||||
* Given a CSS length value, returns a normalized CSS length value for strict equality
|
||||
* comparison.
|
||||
*
|
||||
* @param {string} value CSS length value.
|
||||
*
|
||||
* @return {string} Normalized CSS length value.
|
||||
*/
|
||||
|
||||
function getNormalizedLength(value) {
|
||||
return 0 === parseFloat(value) ? '0' : value;
|
||||
}
|
||||
/**
|
||||
* Given a style value, returns a normalized style value for strict equality
|
||||
* comparison.
|
||||
@ -9765,7 +9807,10 @@ function isEquivalentTextTokens(actual, expected) {
|
||||
*/
|
||||
|
||||
function getNormalizedStyleValue(value) {
|
||||
return value // Normalize URL type to omit whitespace or quotes
|
||||
var textPieces = getTextPiecesSplitOnWhitespace(value);
|
||||
var normalizedPieces = textPieces.map(getNormalizedLength);
|
||||
var result = normalizedPieces.join(' ');
|
||||
return result // Normalize URL type to omit whitespace or quotes
|
||||
.replace(REGEXP_STYLE_URL_TYPE, 'url($1)');
|
||||
}
|
||||
/**
|
||||
@ -9783,7 +9828,7 @@ function getStyleProperties(text) {
|
||||
.map(function (style) {
|
||||
// ...split further into key-value pairs
|
||||
var _style$split = style.split(':'),
|
||||
_style$split2 = _toArray(_style$split),
|
||||
_style$split2 = Object(toArray["a" /* default */])(_style$split),
|
||||
key = _style$split2[0],
|
||||
valueParts = _style$split2.slice(1);
|
||||
|
||||
@ -11148,7 +11193,7 @@ function getRawTransforms() {
|
||||
function htmlToBlocks(html) {
|
||||
var doc = document.implementation.createHTMLDocument('');
|
||||
doc.body.innerHTML = html;
|
||||
return Array.from(doc.body.children).map(function (node) {
|
||||
return Array.from(doc.body.children).flatMap(function (node) {
|
||||
var rawTransform = findTransform(getRawTransforms(), function (_ref) {
|
||||
var isMatch = _ref.isMatch;
|
||||
return isMatch(node);
|
||||
@ -11595,7 +11640,7 @@ function listReducer(node) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","blob"]
|
||||
var external_wp_blob_ = __webpack_require__(40);
|
||||
var external_wp_blob_ = __webpack_require__(43);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js
|
||||
|
||||
@ -11777,7 +11822,7 @@ function figureContentReducer(node, doc, schema) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","shortcode"]
|
||||
var external_wp_shortcode_ = __webpack_require__(124);
|
||||
var external_wp_shortcode_ = __webpack_require__(129);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js
|
||||
|
||||
@ -11871,7 +11916,7 @@ function segmentHTMLToShortcodeBlock(HTML) {
|
||||
/* harmony default export */ var shortcode_converter = (segmentHTMLToShortcodeBlock);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/showdown/dist/showdown.js
|
||||
var showdown = __webpack_require__(273);
|
||||
var showdown = __webpack_require__(285);
|
||||
var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js
|
||||
@ -12802,21 +12847,7 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 59:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["isShallowEqual"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 60:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["htmlEntities"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 61:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.2
|
||||
@ -14015,6 +14046,20 @@ else {}
|
||||
})(Math);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 63:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["isShallowEqual"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 64:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["htmlEntities"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7:
|
||||
|
4
wp-includes/js/dist/blocks.min.js
vendored
4
wp-includes/js/dist/blocks.min.js
vendored
File diff suppressed because one or more lines are too long
16395
wp-includes/js/dist/components.js
vendored
16395
wp-includes/js/dist/components.js
vendored
File diff suppressed because it is too large
Load Diff
10
wp-includes/js/dist/components.min.js
vendored
10
wp-includes/js/dist/components.min.js
vendored
File diff suppressed because one or more lines are too long
240
wp-includes/js/dist/compose.js
vendored
240
wp-includes/js/dist/compose.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["compose"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 447);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 461);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -133,7 +133,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -149,7 +149,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 122:
|
||||
/***/ 127:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -215,21 +215,6 @@ var useCallback = useCallbackOne;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 145:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var e=__webpack_require__(14),n={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},t=function(t){var r=t.onResize,u=e.useRef();return function(n,t){var r=function(){return n.current&&n.current.contentDocument&&n.current.contentDocument.defaultView};function u(){t();var e=r();e&&e.addEventListener("resize",t)}e.useEffect((function(){return r()?u():n.current&&n.current.addEventListener&&n.current.addEventListener("load",u),function(){var e=r();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(u,(function(){return r(u)})),e.createElement("iframe",{style:n,src:"about:blank",ref:u,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},r=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};module.exports=function(n){void 0===n&&(n=r);var u=e.useState(n(null)),o=u[0],i=u[1],c=e.useCallback((function(e){return i(n(e.current))}),[n]);return[e.useMemo((function(){return e.createElement(t,{onResize:c})}),[c]),o]};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 146:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["priorityQueue"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@ -250,7 +235,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(37);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -267,7 +252,22 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 16:
|
||||
/***/ 151:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var e=__webpack_require__(14),n={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},t=function(t){var r=t.onResize,u=e.useRef();return function(n,t){var r=function(){return n.current&&n.current.contentDocument&&n.current.contentDocument.defaultView};function u(){t();var e=r();e&&e.addEventListener("resize",t)}e.useEffect((function(){return r()?u():n.current&&n.current.addEventListener&&n.current.addEventListener("load",u),function(){var e=r();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(u,(function(){return r(u)})),e.createElement("iframe",{style:n,src:"about:blank",ref:u,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},r=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};module.exports=function(n){void 0===n&&(n=r);var u=e.useState(n(null)),o=u[0],i=u[1],c=e.useCallback((function(e){return i(n(e.current))}),[n]);return[e.useMemo((function(){return e.createElement(t,{onResize:c})}),[c]),o]};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 152:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["priorityQueue"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 17:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["keycodes"]; }());
|
||||
@ -370,7 +370,31 @@ function _createClass(Constructor, protoProps, staticProps) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 276:
|
||||
/***/ 28:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_setPrototypeOf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52);
|
||||
|
||||
function _inherits(subClass, superClass) {
|
||||
if (typeof superClass !== "function" && superClass !== null) {
|
||||
throw new TypeError("Super expression must either be null or a function");
|
||||
}
|
||||
|
||||
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
||||
constructor: {
|
||||
value: subClass,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
});
|
||||
if (superClass) Object(_babel_runtime_helpers_esm_setPrototypeOf__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(subClass, superClass);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 289:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/*!
|
||||
@ -1344,7 +1368,26 @@ function getAttributeValue(suffix, element) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 277:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18);
|
||||
|
||||
|
||||
function _possibleConstructorReturn(self, call) {
|
||||
if (call && (Object(_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) {
|
||||
return call;
|
||||
}
|
||||
|
||||
return Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 290:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */
|
||||
@ -2410,62 +2453,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXPORTS
|
||||
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _inherits; });
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
||||
function _setPrototypeOf(o, p) {
|
||||
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
||||
o.__proto__ = p;
|
||||
return o;
|
||||
};
|
||||
|
||||
return _setPrototypeOf(o, p);
|
||||
}
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
||||
|
||||
function _inherits(subClass, superClass) {
|
||||
if (typeof superClass !== "function" && superClass !== null) {
|
||||
throw new TypeError("Super expression must either be null or a function");
|
||||
}
|
||||
|
||||
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
||||
constructor: {
|
||||
value: subClass,
|
||||
writable: true,
|
||||
configurable: true
|
||||
}
|
||||
});
|
||||
if (superClass) _setPrototypeOf(subClass, superClass);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18);
|
||||
|
||||
|
||||
function _possibleConstructorReturn(self, call) {
|
||||
if (call && (Object(_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) {
|
||||
return call;
|
||||
}
|
||||
|
||||
return Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -2546,7 +2534,7 @@ function _typeof(obj) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 423:
|
||||
/***/ 437:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/**
|
||||
@ -2599,7 +2587,7 @@ function _typeof(obj) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 447:
|
||||
/***/ 461:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -2722,7 +2710,7 @@ var classCallCheck = __webpack_require__(25);
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
||||
var createClass = __webpack_require__(26);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
||||
var inherits = __webpack_require__(28);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
||||
@ -2732,7 +2720,7 @@ var possibleConstructorReturn = __webpack_require__(29);
|
||||
var getPrototypeOf = __webpack_require__(19);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","isShallowEqual"]
|
||||
var external_wp_isShallowEqual_ = __webpack_require__(59);
|
||||
var external_wp_isShallowEqual_ = __webpack_require__(63);
|
||||
var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/pure/index.js
|
||||
@ -3265,13 +3253,13 @@ function withState() {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","keycodes"]
|
||||
var external_wp_keycodes_ = __webpack_require__(16);
|
||||
var external_wp_keycodes_ = __webpack_require__(17);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","dom"]
|
||||
var external_wp_dom_ = __webpack_require__(27);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/memize/index.js
|
||||
var memize = __webpack_require__(62);
|
||||
var memize = __webpack_require__(71);
|
||||
var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-callback-ref/index.js
|
||||
@ -3371,7 +3359,7 @@ function useConstrainedTabbing() {
|
||||
var slicedToArray = __webpack_require__(11);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/clipboard/dist/clipboard.js
|
||||
var dist_clipboard = __webpack_require__(276);
|
||||
var dist_clipboard = __webpack_require__(289);
|
||||
var clipboard_default = /*#__PURE__*/__webpack_require__.n(dist_clipboard);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-copy-on-click/index.js
|
||||
@ -3447,7 +3435,7 @@ function useCopyOnClick(ref, _text) {
|
||||
var defineProperty = __webpack_require__(5);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/react-merge-refs/dist/react-merge-refs.esm.js
|
||||
var react_merge_refs_esm = __webpack_require__(81);
|
||||
var react_merge_refs_esm = __webpack_require__(72);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focus-on-mount/index.js
|
||||
/**
|
||||
@ -3564,16 +3552,10 @@ function useFocusReturn(onFocusReturn) {
|
||||
|
||||
focusedBeforeMount.current = node.ownerDocument.activeElement;
|
||||
} else if (focusedBeforeMount.current) {
|
||||
var isFocused = ref.current.contains(ref.current.ownerDocument.activeElement);
|
||||
|
||||
if (!isFocused) {
|
||||
return;
|
||||
} // Defer to the component's own explicit focus return behavior, if
|
||||
// Defer to the component's own explicit focus return behavior, if
|
||||
// specified. This allows for support that the `onFocusReturn`
|
||||
// decides to allow the default behavior to occur under some
|
||||
// conditions.
|
||||
|
||||
|
||||
if (onFocusReturnRef.current) {
|
||||
onFocusReturnRef.current();
|
||||
} else {
|
||||
@ -3934,11 +3916,11 @@ function useDragging(_ref) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/mousetrap/mousetrap.js
|
||||
var mousetrap_mousetrap = __webpack_require__(277);
|
||||
var mousetrap_mousetrap = __webpack_require__(290);
|
||||
var mousetrap_default = /*#__PURE__*/__webpack_require__.n(mousetrap_mousetrap);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/mousetrap/plugins/global-bind/mousetrap-global-bind.js
|
||||
var mousetrap_global_bind = __webpack_require__(423);
|
||||
var mousetrap_global_bind = __webpack_require__(437);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-keyboard-shortcut/index.js
|
||||
/**
|
||||
@ -4228,7 +4210,7 @@ use_viewport_match_useViewportMatch.__experimentalWidthProvider = ViewportMatchW
|
||||
/* harmony default export */ var use_viewport_match = (use_viewport_match_useViewportMatch);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/react-resize-aware/dist/index.js
|
||||
var dist = __webpack_require__(145);
|
||||
var dist = __webpack_require__(151);
|
||||
var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/index.js
|
||||
@ -4265,7 +4247,7 @@ var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
|
||||
var toConsumableArray = __webpack_require__(15);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","priorityQueue"]
|
||||
var external_wp_priorityQueue_ = __webpack_require__(146);
|
||||
var external_wp_priorityQueue_ = __webpack_require__(152);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-async-list/index.js
|
||||
|
||||
@ -4412,7 +4394,7 @@ function useWarnOnChange(object) {
|
||||
/* harmony default export */ var use_warn_on_change = (useWarnOnChange);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/use-memo-one/dist/use-memo-one.esm.js
|
||||
var use_memo_one_esm = __webpack_require__(122);
|
||||
var use_memo_one_esm = __webpack_require__(127);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-debounce/index.js
|
||||
/**
|
||||
@ -4548,14 +4530,30 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 59:
|
||||
/***/ 52:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _setPrototypeOf; });
|
||||
function _setPrototypeOf(o, p) {
|
||||
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
||||
o.__proto__ = p;
|
||||
return o;
|
||||
};
|
||||
|
||||
return _setPrototypeOf(o, p);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 63:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["isShallowEqual"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 62:
|
||||
/***/ 71:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/**
|
||||
@ -4721,6 +4719,27 @@ function memize( fn, options ) {
|
||||
module.exports = memize;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 72:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
function mergeRefs(refs) {
|
||||
return function (value) {
|
||||
refs.forEach(function (ref) {
|
||||
if (typeof ref === "function") {
|
||||
ref(value);
|
||||
} else if (ref != null) {
|
||||
ref.current = value;
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
/* harmony default export */ __webpack_exports__["a"] = (mergeRefs);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8:
|
||||
@ -4746,27 +4765,6 @@ function _extends() {
|
||||
return _extends.apply(this, arguments);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 81:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
function mergeRefs(refs) {
|
||||
return function (value) {
|
||||
refs.forEach(function (ref) {
|
||||
if (typeof ref === "function") {
|
||||
ref(value);
|
||||
} else if (ref != null) {
|
||||
ref.current = value;
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
/* harmony default export */ __webpack_exports__["a"] = (mergeRefs);
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
4
wp-includes/js/dist/compose.min.js
vendored
4
wp-includes/js/dist/compose.min.js
vendored
File diff suppressed because one or more lines are too long
1620
wp-includes/js/dist/core-data.js
vendored
1620
wp-includes/js/dist/core-data.js
vendored
File diff suppressed because it is too large
Load Diff
2
wp-includes/js/dist/core-data.min.js
vendored
2
wp-includes/js/dist/core-data.min.js
vendored
File diff suppressed because one or more lines are too long
8
wp-includes/js/dist/data-controls.js
vendored
8
wp-includes/js/dist/data-controls.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["dataControls"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 425);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 439);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -101,7 +101,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["dataControls"] =
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 425:
|
||||
/***/ 439:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -112,7 +112,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return dispatch; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__unstableAwaitPromise", function() { return __unstableAwaitPromise; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "controls", function() { return controls; });
|
||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49);
|
||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(50);
|
||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
|
||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
|
||||
@ -258,7 +258,7 @@ var controls = {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 49:
|
||||
/***/ 50:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
||||
|
2
wp-includes/js/dist/data-controls.min.js
vendored
2
wp-includes/js/dist/data-controls.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.dataControls=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=425)}({35:function(t,n){t.exports=window.wp.deprecated},4:function(t,n){t.exports=window.wp.data},425:function(t,n,e){"use strict";e.r(n),e.d(n,"apiFetch",(function(){return l})),e.d(n,"select",(function(){return s})),e.d(n,"syncSelect",(function(){return a})),e.d(n,"dispatch",(function(){return p})),e.d(n,"__unstableAwaitPromise",(function(){return d})),e.d(n,"controls",(function(){return f}));var r=e(49),o=e.n(r),i=e(4),c=e(35),u=e.n(c);function l(t){return{type:"API_FETCH",request:t}}function s(){return u()("`select` control in `@wordpress/data-controls`",{alternative:"built-in `resolveSelect` control in `@wordpress/data`"}),i.controls.resolveSelect.apply(i.controls,arguments)}function a(){return u()("`syncSelect` control in `@wordpress/data-controls`",{alternative:"built-in `select` control in `@wordpress/data`"}),i.controls.select.apply(i.controls,arguments)}function p(){return u()("`dispatch` control in `@wordpress/data-controls`",{alternative:"built-in `dispatch` control in `@wordpress/data`"}),i.controls.dispatch.apply(i.controls,arguments)}var d=function(t){return{type:"AWAIT_PROMISE",promise:t}},f={AWAIT_PROMISE:function(t){return t.promise},API_FETCH:function(t){var n=t.request;return o()(n)}}},49:function(t,n){t.exports=window.wp.apiFetch}});
|
||||
this.wp=this.wp||{},this.wp.dataControls=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=439)}({35:function(t,n){t.exports=window.wp.deprecated},4:function(t,n){t.exports=window.wp.data},439:function(t,n,e){"use strict";e.r(n),e.d(n,"apiFetch",(function(){return l})),e.d(n,"select",(function(){return s})),e.d(n,"syncSelect",(function(){return a})),e.d(n,"dispatch",(function(){return p})),e.d(n,"__unstableAwaitPromise",(function(){return d})),e.d(n,"controls",(function(){return f}));var r=e(50),o=e.n(r),i=e(4),c=e(35),u=e.n(c);function l(t){return{type:"API_FETCH",request:t}}function s(){return u()("`select` control in `@wordpress/data-controls`",{alternative:"built-in `resolveSelect` control in `@wordpress/data`"}),i.controls.resolveSelect.apply(i.controls,arguments)}function a(){return u()("`syncSelect` control in `@wordpress/data-controls`",{alternative:"built-in `select` control in `@wordpress/data`"}),i.controls.select.apply(i.controls,arguments)}function p(){return u()("`dispatch` control in `@wordpress/data-controls`",{alternative:"built-in `dispatch` control in `@wordpress/data`"}),i.controls.dispatch.apply(i.controls,arguments)}var d=function(t){return{type:"AWAIT_PROMISE",promise:t}},f={AWAIT_PROMISE:function(t){return t.promise},API_FETCH:function(t){var n=t.request;return o()(n)}}},50:function(t,n){t.exports=window.wp.apiFetch}});
|
1078
wp-includes/js/dist/data.js
vendored
1078
wp-includes/js/dist/data.js
vendored
File diff suppressed because it is too large
Load Diff
2
wp-includes/js/dist/data.min.js
vendored
2
wp-includes/js/dist/data.min.js
vendored
File diff suppressed because one or more lines are too long
32
wp-includes/js/dist/date.js
vendored
32
wp-includes/js/dist/date.js
vendored
File diff suppressed because one or more lines are too long
6
wp-includes/js/dist/date.min.js
vendored
6
wp-includes/js/dist/date.min.js
vendored
File diff suppressed because one or more lines are too long
8
wp-includes/js/dist/deprecated.js
vendored
8
wp-includes/js/dist/deprecated.js
vendored
@ -82,26 +82,26 @@ this["wp"] = this["wp"] || {}; this["wp"]["deprecated"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 430);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 444);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 34:
|
||||
/***/ 33:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["hooks"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 430:
|
||||
/***/ 444:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "logged", function() { return logged; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return deprecated; });
|
||||
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34);
|
||||
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33);
|
||||
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/**
|
||||
* WordPress dependencies
|
||||
|
2
wp-includes/js/dist/deprecated.min.js
vendored
2
wp-includes/js/dist/deprecated.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.deprecated=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=430)}({34:function(e,t){e.exports=window.wp.hooks},430:function(e,t,n){"use strict";n.r(t),n.d(t,"logged",(function(){return o})),n.d(t,"default",(function(){return c}));var r=n(34),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,i=t.plugin,u=t.link,a=t.hint,l=i?" from ".concat(i):"",d=n?" and will be removed".concat(l," in version ").concat(n):"",f=c?" Please use ".concat(c," instead."):"",p=u?" See: ".concat(u):"",s=a?" Note: ".concat(a):"",b="".concat(e," is deprecated").concat(d,".").concat(f).concat(p).concat(s);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default;
|
||||
this.wp=this.wp||{},this.wp.deprecated=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=444)}({33:function(e,t){e.exports=window.wp.hooks},444:function(e,t,n){"use strict";n.r(t),n.d(t,"logged",(function(){return o})),n.d(t,"default",(function(){return c}));var r=n(33),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,i=t.plugin,u=t.link,a=t.hint,l=i?" from ".concat(i):"",d=n?" and will be removed".concat(l," in version ").concat(n):"",f=c?" Please use ".concat(c," instead."):"",p=u?" See: ".concat(u):"",s=a?" Note: ".concat(a):"",b="".concat(e," is deprecated").concat(d,".").concat(f).concat(p).concat(s);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default;
|
4
wp-includes/js/dist/dom-ready.js
vendored
4
wp-includes/js/dist/dom-ready.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["domReady"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 431);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 445);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 431:
|
||||
/***/ 445:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/dom-ready.min.js
vendored
2
wp-includes/js/dist/dom-ready.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.domReady=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=431)}({431:function(e,t,n){"use strict";function r(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.r(t),n.d(t,"default",(function(){return r}))}}).default;
|
||||
this.wp=this.wp||{},this.wp.domReady=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=445)}({445:function(e,t,n){"use strict";function r(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.r(t),n.d(t,"default",(function(){return r}))}}).default;
|
8
wp-includes/js/dist/dom.js
vendored
8
wp-includes/js/dist/dom.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["dom"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 462);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 476);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -107,7 +107,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(37);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -148,7 +148,7 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -177,7 +177,7 @@ function _iterableToArray(iter) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 462:
|
||||
/***/ 476:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/dom.min.js
vendored
2
wp-includes/js/dist/dom.min.js
vendored
File diff suppressed because one or more lines are too long
739
wp-includes/js/dist/edit-post.js
vendored
739
wp-includes/js/dist/edit-post.js
vendored
File diff suppressed because it is too large
Load Diff
4
wp-includes/js/dist/edit-post.min.js
vendored
4
wp-includes/js/dist/edit-post.min.js
vendored
File diff suppressed because one or more lines are too long
484
wp-includes/js/dist/editor.js
vendored
484
wp-includes/js/dist/editor.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["editor"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 443);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 457);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -198,7 +198,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -221,7 +221,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 121:
|
||||
/***/ 126:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["wordcount"]; }());
|
||||
@ -233,7 +233,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
|
||||
|
||||
function _objectWithoutProperties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
@ -256,7 +256,7 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 132:
|
||||
/***/ 138:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -304,7 +304,7 @@ function Icon(_ref) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 133:
|
||||
/***/ 139:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -317,7 +317,7 @@ function Icon(_ref) {
|
||||
|
||||
|
||||
|
||||
var ReactPropTypesSecret = __webpack_require__(134);
|
||||
var ReactPropTypesSecret = __webpack_require__(140);
|
||||
|
||||
function emptyFunction() {}
|
||||
function emptyFunctionWithReset() {}
|
||||
@ -376,7 +376,14 @@ module.exports = function() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 134:
|
||||
/***/ 14:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["React"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 140:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -396,27 +403,13 @@ module.exports = ReactPropTypesSecret;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["React"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 141:
|
||||
/***/ 146:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["reusableBlocks"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 148:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["mediaUtils"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@ -437,7 +430,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(37);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -454,7 +447,14 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 153:
|
||||
/***/ 154:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["mediaUtils"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 159:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -479,7 +479,14 @@ var closeSmall = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createE
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 154:
|
||||
/***/ 16:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["regeneratorRuntime"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 160:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -504,7 +511,7 @@ var close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElemen
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 155:
|
||||
/***/ 161:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -529,21 +536,29 @@ var check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElemen
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 16:
|
||||
/***/ 17:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["keycodes"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 17:
|
||||
/***/ (function(module, exports) {
|
||||
/***/ 18:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
(function() { module.exports = window["regeneratorRuntime"]; }());
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
|
||||
function _assertThisInitialized(self) {
|
||||
if (self === void 0) {
|
||||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 178:
|
||||
/***/ 186:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -578,8 +593,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
||||
exports.__esModule = true;
|
||||
var React = __webpack_require__(14);
|
||||
var PropTypes = __webpack_require__(30);
|
||||
var autosize = __webpack_require__(179);
|
||||
var _getLineHeight = __webpack_require__(180);
|
||||
var autosize = __webpack_require__(187);
|
||||
var _getLineHeight = __webpack_require__(188);
|
||||
var getLineHeight = _getLineHeight;
|
||||
var RESIZED = "autosize:resized";
|
||||
/**
|
||||
@ -677,7 +692,7 @@ exports.TextareaAutosize = React.forwardRef(function (props, ref) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 179:
|
||||
/***/ 187:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
||||
@ -966,26 +981,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 18:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
|
||||
function _assertThisInitialized(self) {
|
||||
if (self === void 0) {
|
||||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 180:
|
||||
/***/ 188:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// Load in dependencies
|
||||
var computedStyle = __webpack_require__(181);
|
||||
var computedStyle = __webpack_require__(189);
|
||||
|
||||
/**
|
||||
* Calculate the `line-height` of a given node
|
||||
@ -1085,7 +1085,7 @@ module.exports = lineHeight;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 181:
|
||||
/***/ 189:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
// This code has been refactored for 140 bytes
|
||||
@ -1204,20 +1204,8 @@ function _createClass(Constructor, protoProps, staticProps) {
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXPORTS
|
||||
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _inherits; });
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
||||
function _setPrototypeOf(o, p) {
|
||||
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
||||
o.__proto__ = p;
|
||||
return o;
|
||||
};
|
||||
|
||||
return _setPrototypeOf(o, p);
|
||||
}
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_setPrototypeOf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52);
|
||||
|
||||
function _inherits(subClass, superClass) {
|
||||
if (typeof superClass !== "function" && superClass !== null) {
|
||||
@ -1231,7 +1219,7 @@ function _inherits(subClass, superClass) {
|
||||
configurable: true
|
||||
}
|
||||
});
|
||||
if (superClass) _setPrototypeOf(subClass, superClass);
|
||||
if (superClass) Object(_babel_runtime_helpers_esm_setPrototypeOf__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(subClass, superClass);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
@ -1255,7 +1243,51 @@ function _possibleConstructorReturn(self, call) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 299:
|
||||
/***/ 3:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["components"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 30:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/**
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
if (false) { var throwOnDirectAccess, ReactIs; } else {
|
||||
// By explicitly using `prop-types` you are opting into new production behavior.
|
||||
// http://fb.me/prop-types-in-prod
|
||||
module.exports = __webpack_require__(139)();
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
|
||||
|
||||
function _unsupportedIterableToArray(o, minLen) {
|
||||
if (!o) return;
|
||||
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||
if (n === "Map" || n === "Set") return Array.from(o);
|
||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 313:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -1280,58 +1312,14 @@ var layout = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEleme
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 3:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["components"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 30:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/**
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
if (false) { var throwOnDirectAccess, ReactIs; } else {
|
||||
// By explicitly using `prop-types` you are opting into new production behavior.
|
||||
// http://fb.me/prop-types-in-prod
|
||||
module.exports = __webpack_require__(133)();
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ 32:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["url"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
|
||||
|
||||
function _unsupportedIterableToArray(o, minLen) {
|
||||
if (!o) return;
|
||||
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||
if (n === "Map" || n === "Set") return Array.from(o);
|
||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 34:
|
||||
/***/ 33:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["hooks"]; }());
|
||||
@ -1690,7 +1678,7 @@ function _typeof(obj) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 43:
|
||||
/***/ 44:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -1712,7 +1700,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 443:
|
||||
/***/ 457:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -1910,7 +1898,7 @@ __webpack_require__.d(selectors_namespaceObject, "__unstableGetBlockWithoutInner
|
||||
__webpack_require__.d(selectors_namespaceObject, "getClientIdsOfDescendants", function() { return getClientIdsOfDescendants; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getClientIdsWithDescendants", function() { return getClientIdsWithDescendants; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getGlobalBlockCount", function() { return getGlobalBlockCount; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getBlocksByClientId", function() { return selectors_getBlocksByClientId; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getBlocksByClientId", function() { return getBlocksByClientId; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getBlockCount", function() { return getBlockCount; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getBlockSelectionStart", function() { return getBlockSelectionStart; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getBlockSelectionEnd", function() { return getBlockSelectionEnd; });
|
||||
@ -1918,7 +1906,7 @@ __webpack_require__.d(selectors_namespaceObject, "getSelectedBlockCount", functi
|
||||
__webpack_require__.d(selectors_namespaceObject, "hasSelectedBlock", function() { return hasSelectedBlock; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getSelectedBlockClientId", function() { return getSelectedBlockClientId; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getSelectedBlock", function() { return getSelectedBlock; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getBlockRootClientId", function() { return selectors_getBlockRootClientId; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getBlockRootClientId", function() { return getBlockRootClientId; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getBlockHierarchyRootClientId", function() { return getBlockHierarchyRootClientId; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getAdjacentBlockClientId", function() { return getAdjacentBlockClientId; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getPreviousBlockClientId", function() { return getPreviousBlockClientId; });
|
||||
@ -1949,7 +1937,7 @@ __webpack_require__.d(selectors_namespaceObject, "isBlockInsertionPointVisible",
|
||||
__webpack_require__.d(selectors_namespaceObject, "isValidTemplate", function() { return isValidTemplate; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getTemplate", function() { return getTemplate; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getTemplateLock", function() { return getTemplateLock; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "canInsertBlockType", function() { return selectors_canInsertBlockType; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "canInsertBlockType", function() { return canInsertBlockType; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getInserterItems", function() { return getInserterItems; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "hasInserterItems", function() { return hasInserterItems; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getBlockListSettings", function() { return getBlockListSettings; });
|
||||
@ -1995,7 +1983,7 @@ __webpack_require__.d(actions_namespaceObject, "stopMultiSelect", function() { r
|
||||
__webpack_require__.d(actions_namespaceObject, "multiSelect", function() { return multiSelect; });
|
||||
__webpack_require__.d(actions_namespaceObject, "clearSelectedBlock", function() { return actions_clearSelectedBlock; });
|
||||
__webpack_require__.d(actions_namespaceObject, "toggleSelection", function() { return toggleSelection; });
|
||||
__webpack_require__.d(actions_namespaceObject, "replaceBlocks", function() { return actions_replaceBlocks; });
|
||||
__webpack_require__.d(actions_namespaceObject, "replaceBlocks", function() { return replaceBlocks; });
|
||||
__webpack_require__.d(actions_namespaceObject, "replaceBlock", function() { return replaceBlock; });
|
||||
__webpack_require__.d(actions_namespaceObject, "moveBlocksDown", function() { return moveBlocksDown; });
|
||||
__webpack_require__.d(actions_namespaceObject, "moveBlocksUp", function() { return moveBlocksUp; });
|
||||
@ -2054,7 +2042,7 @@ var external_wp_data_ = __webpack_require__(4);
|
||||
var external_wp_compose_ = __webpack_require__(12);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","hooks"]
|
||||
var external_wp_hooks_ = __webpack_require__(34);
|
||||
var external_wp_hooks_ = __webpack_require__(33);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/custom-sources-backwards-compatibility.js
|
||||
|
||||
@ -2196,7 +2184,7 @@ Object(external_wp_data_["select"])(external_wp_blocks_["store"]).getBlockTypes(
|
||||
}).forEach(shimAttributeSource);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","apiFetch"]
|
||||
var external_wp_apiFetch_ = __webpack_require__(49);
|
||||
var external_wp_apiFetch_ = __webpack_require__(50);
|
||||
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autocompleters/user.js
|
||||
@ -2288,7 +2276,7 @@ Object(external_wp_hooks_["addFilter"])('editor.Autocomplete.completers', 'edito
|
||||
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","dataControls"]
|
||||
var external_wp_dataControls_ = __webpack_require__(48);
|
||||
var external_wp_dataControls_ = __webpack_require__(49);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
var esm_typeof = __webpack_require__(42);
|
||||
@ -2661,10 +2649,10 @@ function reducer_editorSettings() {
|
||||
var rememo = __webpack_require__(41);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","date"]
|
||||
var external_wp_date_ = __webpack_require__(67);
|
||||
var external_wp_date_ = __webpack_require__(69);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","url"]
|
||||
var external_wp_url_ = __webpack_require__(31);
|
||||
var external_wp_url_ = __webpack_require__(32);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","deprecated"]
|
||||
var external_wp_deprecated_ = __webpack_require__(35);
|
||||
@ -4004,7 +3992,7 @@ var getGlobalBlockCount = getBlockEditorSelector('getGlobalBlockCount');
|
||||
* @see getBlocksByClientId in core/block-editor store.
|
||||
*/
|
||||
|
||||
var selectors_getBlocksByClientId = getBlockEditorSelector('getBlocksByClientId');
|
||||
var getBlocksByClientId = getBlockEditorSelector('getBlocksByClientId');
|
||||
/**
|
||||
* @see getBlockCount in core/block-editor store.
|
||||
*/
|
||||
@ -4044,7 +4032,7 @@ var getSelectedBlock = getBlockEditorSelector('getSelectedBlock');
|
||||
* @see getBlockRootClientId in core/block-editor store.
|
||||
*/
|
||||
|
||||
var selectors_getBlockRootClientId = getBlockEditorSelector('getBlockRootClientId');
|
||||
var getBlockRootClientId = getBlockEditorSelector('getBlockRootClientId');
|
||||
/**
|
||||
* @see getBlockHierarchyRootClientId in core/block-editor store.
|
||||
*/
|
||||
@ -4199,7 +4187,7 @@ var getTemplateLock = getBlockEditorSelector('getTemplateLock');
|
||||
* @see canInsertBlockType in core/block-editor store.
|
||||
*/
|
||||
|
||||
var selectors_canInsertBlockType = getBlockEditorSelector('canInsertBlockType');
|
||||
var canInsertBlockType = getBlockEditorSelector('canInsertBlockType');
|
||||
/**
|
||||
* @see getInserterItems in core/block-editor store.
|
||||
*/
|
||||
@ -4278,11 +4266,11 @@ function __experimentalGetTemplateInfo(state, template) {
|
||||
var toConsumableArray = __webpack_require__(15);
|
||||
|
||||
// EXTERNAL MODULE: external "regeneratorRuntime"
|
||||
var external_regeneratorRuntime_ = __webpack_require__(17);
|
||||
var external_regeneratorRuntime_ = __webpack_require__(16);
|
||||
var external_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_regeneratorRuntime_);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","notices"]
|
||||
var external_wp_notices_ = __webpack_require__(50);
|
||||
var external_wp_notices_ = __webpack_require__(51);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||
var external_wp_i18n_ = __webpack_require__(1);
|
||||
@ -5431,7 +5419,7 @@ var toggleSelection = actions_getBlockEditorAction('toggleSelection');
|
||||
* @see replaceBlocks in core/block-editor store.
|
||||
*/
|
||||
|
||||
var actions_replaceBlocks = actions_getBlockEditorAction('replaceBlocks');
|
||||
var replaceBlocks = actions_getBlockEditorAction('replaceBlocks');
|
||||
/**
|
||||
* @see replaceBlock in core/block-editor store.
|
||||
*/
|
||||
@ -5600,7 +5588,7 @@ function store_objectSpread(target) { for (var i = 1; i < arguments.length; i++)
|
||||
/**
|
||||
* Post editor data store configuration.
|
||||
*
|
||||
* @see https://github.com/WordPress/gutenberg/blob/master/packages/data/README.md#registerStore
|
||||
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#registerStore
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
@ -5614,7 +5602,7 @@ var storeConfig = {
|
||||
/**
|
||||
* Store definition for the editor namespace.
|
||||
*
|
||||
* @see https://github.com/WordPress/gutenberg/blob/master/packages/data/README.md#createReduxStore
|
||||
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
@ -5637,7 +5625,7 @@ var classCallCheck = __webpack_require__(25);
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
||||
var createClass = __webpack_require__(26);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
||||
var inherits = __webpack_require__(28);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
||||
@ -5998,7 +5986,7 @@ function DocumentOutlineCheck(_ref) {
|
||||
})(DocumentOutlineCheck));
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","keyboardShortcuts"]
|
||||
var external_wp_keyboardShortcuts_ = __webpack_require__(45);
|
||||
var external_wp_keyboardShortcuts_ = __webpack_require__(46);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/global-keyboard-shortcuts/save-shortcut.js
|
||||
/**
|
||||
@ -6174,7 +6162,7 @@ function EditorKeyboardShortcutsRegister() {
|
||||
var external_wp_components_ = __webpack_require__(3);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","keycodes"]
|
||||
var external_wp_keycodes_ = __webpack_require__(16);
|
||||
var external_wp_keycodes_ = __webpack_require__(17);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","primitives"]
|
||||
var external_wp_primitives_ = __webpack_require__(7);
|
||||
@ -6406,10 +6394,10 @@ function EditorNotices(_ref) {
|
||||
})])(EditorNotices));
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
|
||||
var library_close = __webpack_require__(154);
|
||||
var library_close = __webpack_require__(160);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js
|
||||
var layout = __webpack_require__(299);
|
||||
var layout = __webpack_require__(313);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/page.js
|
||||
|
||||
@ -7570,7 +7558,7 @@ function PostAuthorCombobox() {
|
||||
/* harmony default export */ var combobox = (PostAuthorCombobox);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","htmlEntities"]
|
||||
var external_wp_htmlEntities_ = __webpack_require__(60);
|
||||
var external_wp_htmlEntities_ = __webpack_require__(64);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/select.js
|
||||
|
||||
@ -9159,7 +9147,7 @@ var post_publish_button_PostPublishButton = /*#__PURE__*/function (_Component) {
|
||||
})])(post_publish_button_PostPublishButton));
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
|
||||
var close_small = __webpack_require__(153);
|
||||
var close_small = __webpack_require__(159);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-visibility/utils.js
|
||||
/**
|
||||
@ -10427,7 +10415,7 @@ var post_publish_panel_PostPublishPanel = /*#__PURE__*/function (_Component) {
|
||||
}), external_wp_components_["withFocusReturn"], external_wp_components_["withConstrainedTabbing"]])(post_publish_panel_PostPublishPanel));
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
||||
var build_module_icon = __webpack_require__(132);
|
||||
var build_module_icon = __webpack_require__(138);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cloud.js
|
||||
|
||||
@ -10445,7 +10433,7 @@ var cloud = Object(external_wp_element_["createElement"])(external_wp_primitives
|
||||
/* harmony default export */ var library_cloud = (cloud);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
|
||||
var library_check = __webpack_require__(155);
|
||||
var library_check = __webpack_require__(161);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cloud-upload.js
|
||||
|
||||
@ -11560,7 +11548,7 @@ function PostTaxonomiesCheck(_ref) {
|
||||
})])(PostTaxonomiesCheck));
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js
|
||||
var lib = __webpack_require__(88);
|
||||
var lib = __webpack_require__(91);
|
||||
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-text-editor/index.js
|
||||
@ -11581,6 +11569,7 @@ var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
||||
|
||||
|
||||
|
||||
var DEBOUNCE_TIME = 300;
|
||||
function PostTextEditor() {
|
||||
var postContent = Object(external_wp_data_["useSelect"])(function (select) {
|
||||
return select('core/editor').getEditedPostContent();
|
||||
@ -11605,6 +11594,18 @@ function PostTextEditor() {
|
||||
if (!isDirty && value !== postContent) {
|
||||
setValue(postContent);
|
||||
}
|
||||
|
||||
var saveText = function saveText() {
|
||||
var blocks = Object(external_wp_blocks_["parse"])(value);
|
||||
resetEditorBlocks(blocks);
|
||||
};
|
||||
|
||||
Object(external_wp_element_["useEffect"])(function () {
|
||||
var timeoutId = setTimeout(saveText, DEBOUNCE_TIME);
|
||||
return function () {
|
||||
clearTimeout(timeoutId);
|
||||
};
|
||||
}, [value]);
|
||||
/**
|
||||
* Handles a textarea change event to notify the onChange prop callback and
|
||||
* reflect the new value in the component's own state. This marks the start
|
||||
@ -11617,7 +11618,6 @@ function PostTextEditor() {
|
||||
* @param {Event} event Change event.
|
||||
*/
|
||||
|
||||
|
||||
var onChange = function onChange(event) {
|
||||
var newValue = event.target.value;
|
||||
editPost({
|
||||
@ -11635,8 +11635,7 @@ function PostTextEditor() {
|
||||
|
||||
var stopEditing = function stopEditing() {
|
||||
if (isDirty) {
|
||||
var blocks = Object(external_wp_blocks_["parse"])(value);
|
||||
resetEditorBlocks(blocks);
|
||||
saveText();
|
||||
setIsDirty(false);
|
||||
}
|
||||
};
|
||||
@ -11989,7 +11988,7 @@ var info_info = Object(external_wp_element_["createElement"])(external_wp_primit
|
||||
/* harmony default export */ var library_info = (info_info);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","wordcount"]
|
||||
var external_wp_wordcount_ = __webpack_require__(121);
|
||||
var external_wp_wordcount_ = __webpack_require__(126);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/word-count/index.js
|
||||
|
||||
@ -12223,7 +12222,7 @@ function UnsavedChangesWarning() {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","reusableBlocks"]
|
||||
var external_wp_reusableBlocks_ = __webpack_require__(141);
|
||||
var external_wp_reusableBlocks_ = __webpack_require__(146);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/provider/with-registry-provider.js
|
||||
|
||||
@ -12277,111 +12276,11 @@ var withRegistryProvider = Object(external_wp_compose_["createHigherOrderCompone
|
||||
}, 'withRegistryProvider');
|
||||
/* harmony default export */ var with_registry_provider = (withRegistryProvider);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/convert-to-group-buttons/index.js
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function ConvertToGroupButton(_ref) {
|
||||
var onConvertToGroup = _ref.onConvertToGroup,
|
||||
onConvertFromGroup = _ref.onConvertFromGroup,
|
||||
_ref$isGroupable = _ref.isGroupable,
|
||||
isGroupable = _ref$isGroupable === void 0 ? false : _ref$isGroupable,
|
||||
_ref$isUngroupable = _ref.isUngroupable,
|
||||
isUngroupable = _ref$isUngroupable === void 0 ? false : _ref$isUngroupable;
|
||||
|
||||
if (!isGroupable && !isUngroupable) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockSettingsMenuControls"], null, function (_ref2) {
|
||||
var onClose = _ref2.onClose;
|
||||
return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isGroupable && Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
|
||||
onClick: function onClick() {
|
||||
onConvertToGroup();
|
||||
onClose();
|
||||
}
|
||||
}, Object(external_wp_i18n_["_x"])('Group', 'verb')), isUngroupable && Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
|
||||
onClick: function onClick() {
|
||||
onConvertFromGroup();
|
||||
onClose();
|
||||
}
|
||||
}, Object(external_wp_i18n_["_x"])('Ungroup', 'Ungrouping blocks from within a Group block back into individual blocks within the Editor ')));
|
||||
});
|
||||
}
|
||||
/* harmony default export */ var convert_to_group_buttons = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(function (select) {
|
||||
var _select = select('core/block-editor'),
|
||||
getBlockRootClientId = _select.getBlockRootClientId,
|
||||
getBlocksByClientId = _select.getBlocksByClientId,
|
||||
canInsertBlockType = _select.canInsertBlockType,
|
||||
getSelectedBlockClientIds = _select.getSelectedBlockClientIds;
|
||||
|
||||
var _select2 = select(external_wp_blocks_["store"]),
|
||||
getGroupingBlockName = _select2.getGroupingBlockName;
|
||||
|
||||
var clientIds = getSelectedBlockClientIds();
|
||||
var groupingBlockName = getGroupingBlockName();
|
||||
var rootClientId = clientIds && clientIds.length > 0 ? getBlockRootClientId(clientIds[0]) : undefined;
|
||||
var groupingBlockAvailable = canInsertBlockType(groupingBlockName, rootClientId);
|
||||
var blocksSelection = getBlocksByClientId(clientIds);
|
||||
var isSingleGroupingBlock = blocksSelection.length === 1 && blocksSelection[0] && blocksSelection[0].name === groupingBlockName; // Do we have
|
||||
// 1. Grouping block available to be inserted?
|
||||
// 2. One or more blocks selected
|
||||
// (we allow single Blocks to become groups unless
|
||||
// they are a soltiary group block themselves)
|
||||
|
||||
var isGroupable = groupingBlockAvailable && blocksSelection.length && !isSingleGroupingBlock; // Do we have a single Group Block selected and does that group have inner blocks?
|
||||
|
||||
var isUngroupable = isSingleGroupingBlock && !!blocksSelection[0].innerBlocks.length;
|
||||
return {
|
||||
clientIds: clientIds,
|
||||
isGroupable: isGroupable,
|
||||
isUngroupable: isUngroupable,
|
||||
blocksSelection: blocksSelection,
|
||||
groupingBlockName: groupingBlockName
|
||||
};
|
||||
}), Object(external_wp_data_["withDispatch"])(function (dispatch, _ref3) {
|
||||
var clientIds = _ref3.clientIds,
|
||||
_ref3$blocksSelection = _ref3.blocksSelection,
|
||||
blocksSelection = _ref3$blocksSelection === void 0 ? [] : _ref3$blocksSelection,
|
||||
groupingBlockName = _ref3.groupingBlockName;
|
||||
|
||||
var _dispatch = dispatch('core/block-editor'),
|
||||
replaceBlocks = _dispatch.replaceBlocks;
|
||||
|
||||
return {
|
||||
onConvertToGroup: function onConvertToGroup() {
|
||||
// Activate the `transform` on the Grouping Block which does the conversion
|
||||
var newBlocks = Object(external_wp_blocks_["switchToBlockType"])(blocksSelection, groupingBlockName);
|
||||
|
||||
if (newBlocks) {
|
||||
replaceBlocks(clientIds, newBlocks);
|
||||
}
|
||||
},
|
||||
onConvertFromGroup: function onConvertFromGroup() {
|
||||
var innerBlocks = blocksSelection[0].innerBlocks;
|
||||
|
||||
if (!innerBlocks.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
replaceBlocks(clientIds, innerBlocks);
|
||||
}
|
||||
};
|
||||
})])(ConvertToGroupButton));
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__(47);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","mediaUtils"]
|
||||
var external_wp_mediaUtils_ = __webpack_require__(148);
|
||||
var external_wp_mediaUtils_ = __webpack_require__(154);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/media-upload/index.js
|
||||
|
||||
@ -12607,8 +12506,16 @@ function useBlockEditorSettings(settings, hasTemplate) {
|
||||
|
||||
return {
|
||||
canUseUnfilteredHTML: canUserUseUnfilteredHTML(),
|
||||
reusableBlocks: select('core').getEntityRecords('postType', 'wp_block', {
|
||||
per_page: -1
|
||||
reusableBlocks: select('core').getEntityRecords('postType', 'wp_block',
|
||||
/**
|
||||
* Unbounded queries are not supported on native so as a workaround we set per_page with the maximum value.
|
||||
* Related issue: https://github.com/wordpress-mobile/gutenberg-mobile/issues/2661
|
||||
*/
|
||||
{
|
||||
per_page: external_wp_element_["Platform"].select({
|
||||
web: -1,
|
||||
native: 100
|
||||
})
|
||||
}),
|
||||
hasUploadPermissions: Object(external_lodash_["defaultTo"])(canUser('create', 'media'), true),
|
||||
// This selector is only defined on mobile.
|
||||
@ -12660,7 +12567,6 @@ function useBlockEditorSettings(settings, hasTemplate) {
|
||||
|
||||
|
||||
|
||||
|
||||
function EditorProvider(_ref) {
|
||||
var __unstableTemplate = _ref.__unstableTemplate,
|
||||
post = _ref.post,
|
||||
@ -12769,13 +12675,13 @@ function EditorProvider(_ref) {
|
||||
selectionEnd: selectionEnd,
|
||||
settings: editorSettings,
|
||||
useSubRegistry: false
|
||||
}, children, Object(external_wp_element_["createElement"])(external_wp_reusableBlocks_["ReusableBlocksMenuItems"], null), Object(external_wp_element_["createElement"])(convert_to_group_buttons, null)))));
|
||||
}, children, Object(external_wp_element_["createElement"])(external_wp_reusableBlocks_["ReusableBlocksMenuItems"], null)))));
|
||||
}
|
||||
|
||||
/* harmony default export */ var provider = (with_registry_provider(EditorProvider));
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","serverSideRender"]
|
||||
var external_wp_serverSideRender_ = __webpack_require__(76);
|
||||
var external_wp_serverSideRender_ = __webpack_require__(80);
|
||||
var external_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_wp_serverSideRender_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/deprecated.js
|
||||
@ -12969,7 +12875,7 @@ var withFontSizes = deprecateFunction('withFontSizes', external_wp_blockEditor_[
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 45:
|
||||
/***/ 46:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["keyboardShortcuts"]; }());
|
||||
@ -13019,17 +12925,10 @@ function _asyncToGenerator(fn) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 48:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["dataControls"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 49:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
||||
(function() { module.exports = window["wp"]["dataControls"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
@ -13058,10 +12957,33 @@ function _defineProperty(obj, key, value) {
|
||||
/***/ 50:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 51:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["notices"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 52:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _setPrototypeOf; });
|
||||
function _setPrototypeOf(o, p) {
|
||||
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
||||
o.__proto__ = p;
|
||||
return o;
|
||||
};
|
||||
|
||||
return _setPrototypeOf(o, p);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 57:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
@ -13076,14 +12998,14 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 60:
|
||||
/***/ 64:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["htmlEntities"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 67:
|
||||
/***/ 69:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["date"]; }());
|
||||
@ -13097,13 +13019,6 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 76:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["serverSideRender"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@ -13129,15 +13044,10 @@ function _extends() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 88:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
exports.__esModule = true;
|
||||
var TextareaAutosize_1 = __webpack_require__(178);
|
||||
exports["default"] = TextareaAutosize_1.TextareaAutosize;
|
||||
/***/ 80:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["serverSideRender"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
@ -13146,6 +13056,18 @@ exports["default"] = TextareaAutosize_1.TextareaAutosize;
|
||||
|
||||
(function() { module.exports = window["wp"]["blocks"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 91:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
exports.__esModule = true;
|
||||
var TextareaAutosize_1 = __webpack_require__(186);
|
||||
exports["default"] = TextareaAutosize_1.TextareaAutosize;
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
6
wp-includes/js/dist/editor.min.js
vendored
6
wp-includes/js/dist/editor.min.js
vendored
File diff suppressed because one or more lines are too long
37
wp-includes/js/dist/element.js
vendored
37
wp-includes/js/dist/element.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["element"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 459);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 473);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 100:
|
||||
/***/ 105:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["escapeHtml"]; }());
|
||||
@ -133,7 +133,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -154,7 +154,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
|
||||
|
||||
function _objectWithoutProperties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
@ -177,13 +177,6 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 139:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["ReactDOM"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
@ -191,6 +184,13 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 144:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["ReactDOM"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@ -211,7 +211,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(37);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -252,7 +252,7 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -326,7 +326,7 @@ function _typeof(obj) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 43:
|
||||
/***/ 44:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -348,7 +348,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 459:
|
||||
/***/ 473:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -409,7 +409,7 @@ var external_React_ = __webpack_require__(14);
|
||||
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
/** @typedef {import('./react').WPElement} WPElement */
|
||||
@ -773,6 +773,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
|
||||
|
||||
/**
|
||||
@ -996,7 +997,7 @@ function switchChildrenNodeName(children, nodeName) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: external "ReactDOM"
|
||||
var external_ReactDOM_ = __webpack_require__(139);
|
||||
var external_ReactDOM_ = __webpack_require__(144);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react-platform.js
|
||||
/**
|
||||
@ -1099,7 +1100,7 @@ var Platform = {
|
||||
/* harmony default export */ var platform = (Platform);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","escapeHtml"]
|
||||
var external_wp_escapeHtml_ = __webpack_require__(100);
|
||||
var external_wp_escapeHtml_ = __webpack_require__(105);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/raw-html.js
|
||||
|
||||
|
2
wp-includes/js/dist/element.min.js
vendored
2
wp-includes/js/dist/element.min.js
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/escape-html.js
vendored
4
wp-includes/js/dist/escape-html.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["escapeHtml"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 472);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 486);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 472:
|
||||
/***/ 486:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/escape-html.min.js
vendored
2
wp-includes/js/dist/escape-html.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.escapeHtml=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=472)}({472:function(e,t,n){"use strict";n.r(t),n.d(t,"escapeAmpersand",(function(){return u})),n.d(t,"escapeQuotationMark",(function(){return o})),n.d(t,"escapeLessThan",(function(){return i})),n.d(t,"escapeAttribute",(function(){return c})),n.d(t,"escapeHTML",(function(){return a})),n.d(t,"escapeEditableHTML",(function(){return f})),n.d(t,"isValidAttributeName",(function(){return p}));var r=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function o(e){return e.replace(/"/g,""")}function i(e){return e.replace(/</g,"<")}function c(e){return function(e){return e.replace(/>/g,">")}(o(u(e)))}function a(e){return i(u(e))}function f(e){return i(e.replace(/&/g,"&"))}function p(e){return!r.test(e)}}});
|
||||
this.wp=this.wp||{},this.wp.escapeHtml=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=486)}({486:function(e,t,n){"use strict";n.r(t),n.d(t,"escapeAmpersand",(function(){return u})),n.d(t,"escapeQuotationMark",(function(){return o})),n.d(t,"escapeLessThan",(function(){return i})),n.d(t,"escapeAttribute",(function(){return c})),n.d(t,"escapeHTML",(function(){return a})),n.d(t,"escapeEditableHTML",(function(){return f})),n.d(t,"isValidAttributeName",(function(){return p}));var r=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function o(e){return e.replace(/"/g,""")}function i(e){return e.replace(/</g,"<")}function c(e){return function(e){return e.replace(/>/g,">")}(o(u(e)))}function a(e){return i(u(e))}function f(e){return i(e.replace(/&/g,"&"))}function p(e){return!r.test(e)}}});
|
161
wp-includes/js/dist/format-library.js
vendored
161
wp-includes/js/dist/format-library.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["formatLibrary"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 452);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 466);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -140,7 +140,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -161,7 +161,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
|
||||
|
||||
function _objectWithoutProperties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
@ -184,7 +184,7 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 132:
|
||||
/***/ 138:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -232,7 +232,7 @@ function Icon(_ref) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 184:
|
||||
/***/ 192:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -271,7 +271,7 @@ var link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 210:
|
||||
/***/ 220:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -296,7 +296,32 @@ var keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cre
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 212:
|
||||
/***/ 222:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
|
||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
var textColor = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "-2 -2 24 24"
|
||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||
d: "M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z"
|
||||
}));
|
||||
/* harmony default export */ __webpack_exports__["a"] = (textColor);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 223:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -338,7 +363,14 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 291:
|
||||
/***/ 3:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["components"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 305:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -363,14 +395,25 @@ var formatStrikethrough = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 3:
|
||||
/***/ (function(module, exports) {
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
(function() { module.exports = window["wp"]["components"]; }());
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
|
||||
|
||||
function _unsupportedIterableToArray(o, minLen) {
|
||||
if (!o) return;
|
||||
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||
if (n === "Map" || n === "Set") return Array.from(o);
|
||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 305:
|
||||
/***/ 319:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -395,7 +438,14 @@ var button = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEleme
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 306:
|
||||
/***/ 32:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["url"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 320:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -418,31 +468,6 @@ var code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement
|
||||
/* harmony default export */ __webpack_exports__["a"] = (code);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["url"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
|
||||
|
||||
function _unsupportedIterableToArray(o, minLen) {
|
||||
if (!o) return;
|
||||
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||
if (n === "Map" || n === "Set") return Array.from(o);
|
||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 38:
|
||||
@ -474,32 +499,7 @@ function _nonIterableRest() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 422:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
|
||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
var textColor = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "-2 -2 24 24"
|
||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||
d: "M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z"
|
||||
}));
|
||||
/* harmony default export */ __webpack_exports__["a"] = (textColor);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 43:
|
||||
/***/ 44:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -521,7 +521,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 452:
|
||||
/***/ 466:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -617,7 +617,7 @@ var bold = {
|
||||
};
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js
|
||||
var code = __webpack_require__(306);
|
||||
var code = __webpack_require__(320);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/code/index.js
|
||||
|
||||
@ -702,7 +702,7 @@ var slicedToArray = __webpack_require__(11);
|
||||
var external_wp_components_ = __webpack_require__(3);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
|
||||
var keyboard_return = __webpack_require__(210);
|
||||
var keyboard_return = __webpack_require__(220);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js
|
||||
|
||||
@ -750,7 +750,7 @@ function InlineUI(_ref) {
|
||||
contentRef = _ref.contentRef;
|
||||
var style = activeObjectAttributes.style;
|
||||
|
||||
var _useState = Object(external_wp_element_["useState"])(style.replace(/\D/g, '')),
|
||||
var _useState = Object(external_wp_element_["useState"])(style === null || style === void 0 ? void 0 : style.replace(/\D/g, '')),
|
||||
_useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
|
||||
width = _useState2[0],
|
||||
setWidth = _useState2[1];
|
||||
@ -763,7 +763,8 @@ function InlineUI(_ref) {
|
||||
return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
|
||||
position: "bottom center",
|
||||
focusOnMount: false,
|
||||
anchorRef: anchorRef
|
||||
anchorRef: anchorRef,
|
||||
className: "block-editor-format-toolbar__image-popover"
|
||||
}, Object(external_wp_element_["createElement"])("form", {
|
||||
className: "block-editor-format-toolbar__image-container-content",
|
||||
onSubmit: function onSubmit(event) {
|
||||
@ -930,19 +931,19 @@ var italic = {
|
||||
};
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","url"]
|
||||
var external_wp_url_ = __webpack_require__(31);
|
||||
var external_wp_url_ = __webpack_require__(32);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","htmlEntities"]
|
||||
var external_wp_htmlEntities_ = __webpack_require__(60);
|
||||
var external_wp_htmlEntities_ = __webpack_require__(64);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
|
||||
var link_off = __webpack_require__(212);
|
||||
var link_off = __webpack_require__(223);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
|
||||
var library_link = __webpack_require__(184);
|
||||
var library_link = __webpack_require__(192);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","a11y"]
|
||||
var external_wp_a11y_ = __webpack_require__(46);
|
||||
var external_wp_a11y_ = __webpack_require__(48);
|
||||
|
||||
// EXTERNAL MODULE: external "lodash"
|
||||
var external_lodash_ = __webpack_require__(2);
|
||||
@ -1330,7 +1331,7 @@ var link_link = {
|
||||
};
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js
|
||||
var format_strikethrough = __webpack_require__(291);
|
||||
var format_strikethrough = __webpack_require__(305);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/strikethrough/index.js
|
||||
|
||||
@ -1416,10 +1417,10 @@ var underline = {
|
||||
};
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
||||
var icon = __webpack_require__(132);
|
||||
var icon = __webpack_require__(138);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/text-color.js
|
||||
var text_color = __webpack_require__(422);
|
||||
var text_color = __webpack_require__(222);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","data"]
|
||||
var external_wp_data_ = __webpack_require__(4);
|
||||
@ -1749,7 +1750,7 @@ var superscript_superscript = {
|
||||
};
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js
|
||||
var library_button = __webpack_require__(305);
|
||||
var library_button = __webpack_require__(319);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/keyboard/index.js
|
||||
|
||||
@ -1835,7 +1836,7 @@ default_formats.forEach(function (_ref) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 46:
|
||||
/***/ 48:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["a11y"]; }());
|
||||
@ -1871,7 +1872,7 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 60:
|
||||
/***/ 64:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["htmlEntities"]; }());
|
||||
|
2
wp-includes/js/dist/format-library.min.js
vendored
2
wp-includes/js/dist/format-library.min.js
vendored
File diff suppressed because one or more lines are too long
8
wp-includes/js/dist/hooks.js
vendored
8
wp-includes/js/dist/hooks.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["hooks"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 453);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 467);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -107,7 +107,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(37);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -154,7 +154,7 @@ function _classCallCheck(instance, Constructor) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -183,7 +183,7 @@ function _iterableToArray(iter) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 453:
|
||||
/***/ 467:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/hooks.min.js
vendored
2
wp-includes/js/dist/hooks.min.js
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/html-entities.js
vendored
4
wp-includes/js/dist/html-entities.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["htmlEntities"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 432);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 446);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 432:
|
||||
/***/ 446:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/html-entities.min.js
vendored
2
wp-includes/js/dist/html-entities.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.htmlEntities=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=432)}({432:function(e,t,n){"use strict";var r;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===r&&(r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),r.innerHTML=e;var t=r.textContent;return r.innerHTML="",t}n.r(t),n.d(t,"decodeEntities",(function(){return o}))}});
|
||||
this.wp=this.wp||{},this.wp.htmlEntities=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=446)}({446:function(e,t,n){"use strict";var r;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===r&&(r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),r.innerHTML=e;var t=r.textContent;return r.innerHTML="",t}n.r(t),n.d(t,"decodeEntities",(function(){return o}))}});
|
161
wp-includes/js/dist/i18n.js
vendored
161
wp-includes/js/dist/i18n.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["i18n"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 458);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 472);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 200:
|
||||
/***/ 209:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
||||
@ -326,7 +326,14 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 458:
|
||||
/***/ 33:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["hooks"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 472:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -344,11 +351,11 @@ __webpack_require__.d(__webpack_exports__, "_nx", function() { return /* reexpor
|
||||
__webpack_require__.d(__webpack_exports__, "isRTL", function() { return /* reexport */ default_i18n_isRTL; });
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/memize/index.js
|
||||
var memize = __webpack_require__(62);
|
||||
var memize = __webpack_require__(71);
|
||||
var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/sprintf-js/src/sprintf.js
|
||||
var sprintf = __webpack_require__(200);
|
||||
var sprintf = __webpack_require__(209);
|
||||
var sprintf_default = /*#__PURE__*/__webpack_require__.n(sprintf);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/sprintf.js
|
||||
@ -939,6 +946,11 @@ var DEFAULT_LOCALE_DATA = {
|
||||
* @see http://messageformat.github.io/Jed/
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {(domain?: string) => string} GetFilterDomain
|
||||
* Retrieve the domain to use when calling domain-specific filters.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {(text: string, domain?: string) => string} __
|
||||
*
|
||||
@ -984,6 +996,10 @@ var DEFAULT_LOCALE_DATA = {
|
||||
* including English (`en`, `en-US`, `en-GB`, etc.), Spanish (`es`), and French (`fr`).
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {{ applyFilters: (hookName:string, ...args: unknown[]) => unknown}} ApplyFiltersInterface
|
||||
*/
|
||||
|
||||
/* eslint-enable jsdoc/valid-types */
|
||||
|
||||
/**
|
||||
@ -1006,10 +1022,11 @@ var DEFAULT_LOCALE_DATA = {
|
||||
*
|
||||
* @param {LocaleData} [initialData] Locale data configuration.
|
||||
* @param {string} [initialDomain] Domain for which configuration applies.
|
||||
* @param {ApplyFiltersInterface} [hooks] Hooks implementation.
|
||||
* @return {I18n} I18n instance
|
||||
*/
|
||||
|
||||
var create_i18n_createI18n = function createI18n(initialData, initialDomain) {
|
||||
var create_i18n_createI18n = function createI18n(initialData, initialDomain, hooks) {
|
||||
/**
|
||||
* The underlying instance of Tannin to which exported functions interface.
|
||||
*
|
||||
@ -1055,29 +1072,139 @@ var create_i18n_createI18n = function createI18n(initialData, initialDomain) {
|
||||
|
||||
return tannin.dcnpgettext(domain, context, single, plural, number);
|
||||
};
|
||||
/** @type {GetFilterDomain} */
|
||||
|
||||
|
||||
var getFilterDomain = function getFilterDomain(domain) {
|
||||
if (typeof domain === 'undefined') {
|
||||
return 'default';
|
||||
}
|
||||
|
||||
return domain;
|
||||
};
|
||||
/** @type {__} */
|
||||
|
||||
|
||||
var __ = function __(text, domain) {
|
||||
return dcnpgettext(domain, undefined, text);
|
||||
var translation = dcnpgettext(domain, undefined, text);
|
||||
/**
|
||||
* Filters text with its translation.
|
||||
*
|
||||
* @param {string} translation Translated text.
|
||||
* @param {string} text Text to translate.
|
||||
* @param {string} domain Text domain. Unique identifier for retrieving translated strings.
|
||||
*/
|
||||
|
||||
if (typeof hooks === 'undefined') {
|
||||
return translation;
|
||||
}
|
||||
|
||||
translation =
|
||||
/** @type {string} */
|
||||
|
||||
/** @type {*} */
|
||||
hooks.applyFilters('i18n.gettext', translation, text, domain);
|
||||
return (
|
||||
/** @type {string} */
|
||||
|
||||
/** @type {*} */
|
||||
hooks.applyFilters('i18n.gettext_' + getFilterDomain(domain), translation, text, domain)
|
||||
);
|
||||
};
|
||||
/** @type {_x} */
|
||||
|
||||
|
||||
var _x = function _x(text, context, domain) {
|
||||
return dcnpgettext(domain, context, text);
|
||||
var translation = dcnpgettext(domain, context, text);
|
||||
/**
|
||||
* Filters text with its translation based on context information.
|
||||
*
|
||||
* @param {string} translation Translated text.
|
||||
* @param {string} text Text to translate.
|
||||
* @param {string} context Context information for the translators.
|
||||
* @param {string} domain Text domain. Unique identifier for retrieving translated strings.
|
||||
*/
|
||||
|
||||
if (typeof hooks === 'undefined') {
|
||||
return translation;
|
||||
}
|
||||
|
||||
translation =
|
||||
/** @type {string} */
|
||||
|
||||
/** @type {*} */
|
||||
hooks.applyFilters('i18n.gettext_with_context', translation, text, context, domain);
|
||||
return (
|
||||
/** @type {string} */
|
||||
|
||||
/** @type {*} */
|
||||
hooks.applyFilters('i18n.gettext_with_context_' + getFilterDomain(domain), translation, text, context, domain)
|
||||
);
|
||||
};
|
||||
/** @type {_n} */
|
||||
|
||||
|
||||
var _n = function _n(single, plural, number, domain) {
|
||||
return dcnpgettext(domain, undefined, single, plural, number);
|
||||
var translation = dcnpgettext(domain, undefined, single, plural, number);
|
||||
|
||||
if (typeof hooks === 'undefined') {
|
||||
return translation;
|
||||
}
|
||||
/**
|
||||
* Filters the singular or plural form of a string.
|
||||
*
|
||||
* @param {string} translation Translated text.
|
||||
* @param {string} single The text to be used if the number is singular.
|
||||
* @param {string} plural The text to be used if the number is plural.
|
||||
* @param {string} number The number to compare against to use either the singular or plural form.
|
||||
* @param {string} domain Text domain. Unique identifier for retrieving translated strings.
|
||||
*/
|
||||
|
||||
|
||||
translation =
|
||||
/** @type {string} */
|
||||
|
||||
/** @type {*} */
|
||||
hooks.applyFilters('i18n.ngettext', translation, single, plural, number, domain);
|
||||
return (
|
||||
/** @type {string} */
|
||||
|
||||
/** @type {*} */
|
||||
hooks.applyFilters('i18n.ngettext_' + getFilterDomain(domain), translation, single, plural, number, domain)
|
||||
);
|
||||
};
|
||||
/** @type {_nx} */
|
||||
|
||||
|
||||
var _nx = function _nx(single, plural, number, context, domain) {
|
||||
return dcnpgettext(domain, context, single, plural, number);
|
||||
var translation = dcnpgettext(domain, context, single, plural, number);
|
||||
|
||||
if (typeof hooks === 'undefined') {
|
||||
return translation;
|
||||
}
|
||||
/**
|
||||
* Filters the singular or plural form of a string with gettext context.
|
||||
*
|
||||
* @param {string} translation Translated text.
|
||||
* @param {string} single The text to be used if the number is singular.
|
||||
* @param {string} plural The text to be used if the number is plural.
|
||||
* @param {string} number The number to compare against to use either the singular or plural form.
|
||||
* @param {string} context Context information for the translators.
|
||||
* @param {string} domain Text domain. Unique identifier for retrieving translated strings.
|
||||
*/
|
||||
|
||||
|
||||
translation =
|
||||
/** @type {string} */
|
||||
|
||||
/** @type {*} */
|
||||
hooks.applyFilters('i18n.ngettext_with_context', translation, single, plural, number, context, domain);
|
||||
return (
|
||||
/** @type {string} */
|
||||
|
||||
/** @type {*} */
|
||||
hooks.applyFilters('i18n.ngettext_with_context_' + getFilterDomain(domain), translation, single, plural, number, context, domain)
|
||||
);
|
||||
};
|
||||
/** @type {IsRtl} */
|
||||
|
||||
@ -1100,12 +1227,22 @@ var create_i18n_createI18n = function createI18n(initialData, initialDomain) {
|
||||
};
|
||||
};
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","hooks"]
|
||||
var external_wp_hooks_ = __webpack_require__(33);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/default-i18n.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
var i18n = create_i18n_createI18n();
|
||||
|
||||
var i18n = create_i18n_createI18n(undefined, undefined, {
|
||||
applyFilters: external_wp_hooks_["applyFilters"]
|
||||
});
|
||||
/*
|
||||
* Comments in this file are duplicated from ./i18n due to
|
||||
* https://github.com/WordPress/gutenberg/pull/20318#issuecomment-590837722
|
||||
@ -1227,7 +1364,7 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 62:
|
||||
/***/ 71:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/**
|
||||
|
2
wp-includes/js/dist/i18n.min.js
vendored
2
wp-includes/js/dist/i18n.min.js
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/is-shallow-equal.js
vendored
4
wp-includes/js/dist/is-shallow-equal.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["isShallowEqual"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 471);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 485);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 471:
|
||||
/***/ 485:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/is-shallow-equal.min.js
vendored
2
wp-includes/js/dist/is-shallow-equal.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.isShallowEqual=function(r){var t={};function e(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return r[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=r,e.c=t,e.d=function(r,t,n){e.o(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:n})},e.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},e.t=function(r,t){if(1&t&&(r=e(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var u in r)e.d(n,u,function(t){return r[t]}.bind(null,u));return n},e.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(t,"a",t),t},e.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},e.p="",e(e.s=471)}({471:function(r,t,e){"use strict";function n(r,t){if(r===t)return!0;var e=Object.keys(r),n=Object.keys(t);if(e.length!==n.length)return!1;for(var u=0;u<e.length;){var o=e[u],i=r[o];if(void 0===i&&!t.hasOwnProperty(o)||i!==t[o])return!1;u++}return!0}function u(r,t){if(r===t)return!0;if(r.length!==t.length)return!1;for(var e=0,n=r.length;e<n;e++)if(r[e]!==t[e])return!1;return!0}function o(r,t){if(r&&t){if(r.constructor===Object&&t.constructor===Object)return n(r,t);if(Array.isArray(r)&&Array.isArray(t))return u(r,t)}return r===t}e.r(t),e.d(t,"isShallowEqualObjects",(function(){return n})),e.d(t,"isShallowEqualArrays",(function(){return u})),e.d(t,"default",(function(){return o}))}});
|
||||
this.wp=this.wp||{},this.wp.isShallowEqual=function(r){var t={};function e(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return r[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=r,e.c=t,e.d=function(r,t,n){e.o(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:n})},e.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},e.t=function(r,t){if(1&t&&(r=e(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var u in r)e.d(n,u,function(t){return r[t]}.bind(null,u));return n},e.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(t,"a",t),t},e.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},e.p="",e(e.s=485)}({485:function(r,t,e){"use strict";function n(r,t){if(r===t)return!0;var e=Object.keys(r),n=Object.keys(t);if(e.length!==n.length)return!1;for(var u=0;u<e.length;){var o=e[u],i=r[o];if(void 0===i&&!t.hasOwnProperty(o)||i!==t[o])return!1;u++}return!0}function u(r,t){if(r===t)return!0;if(r.length!==t.length)return!1;for(var e=0,n=r.length;e<n;e++)if(r[e]!==t[e])return!1;return!0}function o(r,t){if(r&&t){if(r.constructor===Object&&t.constructor===Object)return n(r,t);if(Array.isArray(r)&&Array.isArray(t))return u(r,t)}return r===t}e.r(t),e.d(t,"isShallowEqualObjects",(function(){return n})),e.d(t,"isShallowEqualArrays",(function(){return u})),e.d(t,"default",(function(){return o}))}});
|
16
wp-includes/js/dist/keyboard-shortcuts.js
vendored
16
wp-includes/js/dist/keyboard-shortcuts.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["keyboardShortcuts"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 463);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 477);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -126,7 +126,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -169,7 +169,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(37);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(32);
|
||||
var unsupportedIterableToArray = __webpack_require__(31);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -186,7 +186,7 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 16:
|
||||
/***/ 17:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = window["wp"]["keycodes"]; }());
|
||||
@ -217,7 +217,7 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -557,7 +557,7 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 463:
|
||||
/***/ 477:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -706,7 +706,7 @@ var toConsumableArray = __webpack_require__(15);
|
||||
var rememo = __webpack_require__(41);
|
||||
|
||||
// EXTERNAL MODULE: external ["wp","keycodes"]
|
||||
var external_wp_keycodes_ = __webpack_require__(16);
|
||||
var external_wp_keycodes_ = __webpack_require__(17);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js
|
||||
|
||||
@ -874,7 +874,7 @@ var STORE_NAME = 'core/keyboard-shortcuts';
|
||||
/**
|
||||
* Store definition for the keyboard shortcuts namespace.
|
||||
*
|
||||
* @see https://github.com/WordPress/gutenberg/blob/master/packages/data/README.md#createReduxStore
|
||||
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
|
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user