Block Editor: Update the WordPress Packages to the ones used in the Gutenberg 6.8 release.
Updated packages: @wordpress/a11y@2.5.1 @wordpress/annotations@1.7.2 @wordpress/api-fetch@3.6.2 @wordpress/autop@2.5.1 @wordpress/babel-preset-default@4.6.2 @wordpress/blob@2.5.1 @wordpress/block-directory@1.0.2 @wordpress/block-editor@3.2.2 @wordpress/block-library@2.9.2 @wordpress/block-serialization-default-parser@3.4.1 @wordpress/block-serialization-spec-parser@3.3.1 @wordpress/blocks@6.7.2 @wordpress/components@8.3.2 @wordpress/compose@3.7.2 @wordpress/core-data@2.7.2 @wordpress/data-controls@1.3.2 @wordpress/data@4.9.2 @wordpress/deprecated@2.6.1 @wordpress/dom-ready@2.5.1 @wordpress/dom@2.5.2 @wordpress/e2e-test-utils@2.4.2 @wordpress/e2e-tests@1.7.2 @wordpress/edit-post@3.8.2 @wordpress/editor@9.7.2 @wordpress/element@2.8.2 @wordpress/escape-html@1.5.1 @wordpress/format-library@1.9.2 @wordpress/is-shallow-equal@1.6.1 @wordpress/keycodes@2.6.2 @wordpress/list-reusable-blocks@1.8.2 @wordpress/media-utils@1.2.2 @wordpress/notices@1.8.2 @wordpress/nux@3.7.2 @wordpress/plugins@2.7.2 @wordpress/priority-queue@1.3.1 @wordpress/redux-routine@3.6.2 @wordpress/rich-text@3.7.2 @wordpress/scripts@5.1.0 @wordpress/server-side-render@1.3.2 @wordpress/url@2.8.1 @wordpress/viewport@2.8.2 @wordpress/wordcount@2.6.2 Props gziolo, youknowriad. Fixes: #48310 Built from https://develop.svn.wordpress.org/trunk@46546 git-svn-id: http://core.svn.wordpress.org/trunk@46343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6c3a387d77
commit
16571b1bfb
|
@ -284,6 +284,7 @@
|
|||
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit > * {
|
||||
pointer-events: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
|
@ -380,7 +381,7 @@
|
|||
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar {
|
||||
top: 14px; } }
|
||||
|
||||
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit {
|
||||
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] > .block-editor-block-list__block-edit {
|
||||
float: left;
|
||||
margin-right: 2em; }
|
||||
|
||||
|
@ -1112,6 +1113,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
|
|||
color: #32373c;
|
||||
background: #edeff0; }
|
||||
|
||||
.components-popover.block-editor-block-navigation__popover {
|
||||
z-index: 99998; }
|
||||
|
||||
.block-editor-block-preview__container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
@ -1292,6 +1296,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
|
|||
height: auto;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
-ms-grid-row-align: stretch;
|
||||
align-self: stretch;
|
||||
top: 0;
|
||||
padding: 10px; } }
|
||||
|
@ -1499,9 +1504,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
|
|||
height: 100%;
|
||||
left: 0; } }
|
||||
|
||||
.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom {
|
||||
z-index: 100001; }
|
||||
|
||||
.block-editor-inner-blocks.has-overlay::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
|
@ -1632,6 +1634,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
|
|||
.block-editor-inserter__menu.is-bottom::after {
|
||||
border-bottom-color: #fff; }
|
||||
|
||||
.components-popover.block-editor-inserter__popover {
|
||||
z-index: 99998; }
|
||||
|
||||
.components-popover input[type="search"].block-editor-inserter__search {
|
||||
display: block;
|
||||
margin: 16px;
|
||||
|
@ -1750,12 +1755,22 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
|
|||
border: 1px solid #e2e4e7;
|
||||
border-radius: 4px;
|
||||
min-height: 150px;
|
||||
padding: 10px;
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
flex-grow: 2; }
|
||||
.block-editor-inserter__preview-content .block-editor-block-preview__container {
|
||||
margin-left: 0;
|
||||
margin-right: 0; }
|
||||
margin-right: 0;
|
||||
padding: 10px; }
|
||||
|
||||
.block-editor-inserter__preview-content-missing {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
color: #606a73;
|
||||
border: 1px solid #e2e4e7;
|
||||
border-radius: 4px;
|
||||
align-items: center; }
|
||||
|
||||
.block-editor-block-types-list__list-item {
|
||||
display: block;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -284,6 +284,7 @@
|
|||
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit > * {
|
||||
pointer-events: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
|
@ -380,7 +381,7 @@
|
|||
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar {
|
||||
top: 14px; } }
|
||||
|
||||
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit {
|
||||
.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] > .block-editor-block-list__block-edit {
|
||||
/*!rtl:begin:ignore*/
|
||||
float: left;
|
||||
margin-right: 2em;
|
||||
|
@ -1128,6 +1129,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
|
|||
color: #32373c;
|
||||
background: #edeff0; }
|
||||
|
||||
.components-popover.block-editor-block-navigation__popover {
|
||||
z-index: 99998; }
|
||||
|
||||
.block-editor-block-preview__container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
@ -1308,6 +1312,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
|
|||
height: auto;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
-ms-grid-row-align: stretch;
|
||||
align-self: stretch;
|
||||
top: 0;
|
||||
padding: 10px; } }
|
||||
|
@ -1515,9 +1520,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
|
|||
height: 100%;
|
||||
right: 0; } }
|
||||
|
||||
.block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom {
|
||||
z-index: 100001; }
|
||||
|
||||
.block-editor-inner-blocks.has-overlay::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
|
@ -1648,6 +1650,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
|
|||
.block-editor-inserter__menu.is-bottom::after {
|
||||
border-bottom-color: #fff; }
|
||||
|
||||
.components-popover.block-editor-inserter__popover {
|
||||
z-index: 99998; }
|
||||
|
||||
.components-popover input[type="search"].block-editor-inserter__search {
|
||||
display: block;
|
||||
margin: 16px;
|
||||
|
@ -1766,12 +1771,22 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
|
|||
border: 1px solid #e2e4e7;
|
||||
border-radius: 4px;
|
||||
min-height: 150px;
|
||||
padding: 10px;
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
flex-grow: 2; }
|
||||
.block-editor-inserter__preview-content .block-editor-block-preview__container {
|
||||
margin-right: 0;
|
||||
margin-left: 0; }
|
||||
margin-left: 0;
|
||||
padding: 10px; }
|
||||
|
||||
.block-editor-inserter__preview-content-missing {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
color: #606a73;
|
||||
border: 1px solid #e2e4e7;
|
||||
border-radius: 4px;
|
||||
align-items: center; }
|
||||
|
||||
.block-editor-block-types-list__list-item {
|
||||
display: block;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -179,7 +179,7 @@ div[data-type="core/button"] div[data-block] {
|
|||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .block-core-columns {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1; }
|
||||
flex: 1 0 auto; }
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
|
@ -648,6 +648,10 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
|
|||
.is-selected .wp-block-gallery {
|
||||
margin-bottom: 0; }
|
||||
|
||||
figure.wp-block-gallery {
|
||||
display: block;
|
||||
margin: 0; }
|
||||
|
||||
.blocks-gallery-grid.blocks-gallery-grid {
|
||||
margin-bottom: 0; }
|
||||
|
||||
|
@ -863,7 +867,9 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
|
|||
box-shadow: none; }
|
||||
|
||||
.wp-block-image {
|
||||
position: relative; }
|
||||
position: relative;
|
||||
margin-right: 0;
|
||||
margin-left: 0; }
|
||||
.wp-block-image.is-transient img {
|
||||
opacity: 0.3; }
|
||||
.wp-block-image figcaption img {
|
||||
|
@ -978,29 +984,61 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
|
|||
.wp-block-legacy-widget__preview {
|
||||
overflow: auto; }
|
||||
|
||||
.wp-block-media-text {
|
||||
grid-template-areas: "media-text-media media-text-content" "resizer resizer";
|
||||
align-items: center; }
|
||||
|
||||
.wp-block-media-text.has-media-on-the-right {
|
||||
grid-template-areas: "media-text-content media-text-media" "resizer resizer"; }
|
||||
|
||||
.wp-block-media-text .__resizable_base__ {
|
||||
grid-area: resizer; }
|
||||
-ms-grid-column: 1;
|
||||
-ms-grid-column-span: 2;
|
||||
grid-column: 1 / span 2;
|
||||
-ms-grid-row: 2;
|
||||
grid-row: 2; }
|
||||
|
||||
.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,
|
||||
.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer {
|
||||
-ms-grid-row-align: start;
|
||||
align-self: start; }
|
||||
|
||||
.wp-block-media-text .block-editor-inner-blocks,
|
||||
.wp-block-media-text .editor-media-container__resizer,
|
||||
.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,
|
||||
.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center; }
|
||||
|
||||
.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,
|
||||
.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer {
|
||||
-ms-grid-row-align: end;
|
||||
align-self: end; }
|
||||
|
||||
.wp-block-media-text .editor-media-container__resizer {
|
||||
grid-area: media-text-media;
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1;
|
||||
width: 100% !important; }
|
||||
|
||||
.wp-block-media-text.is-image-fill .editor-media-container__resizer {
|
||||
height: 100% !important; }
|
||||
|
||||
.wp-block-media-text .block-editor-inner-blocks {
|
||||
.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer {
|
||||
-ms-grid-column: 2;
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
|
||||
.wp-block-media-text .editor-inner-blocks {
|
||||
word-break: break-word;
|
||||
grid-area: media-text-content;
|
||||
-ms-grid-column: 2;
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1;
|
||||
text-align: initial;
|
||||
padding: 0 8% 0 8%; }
|
||||
|
||||
.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
|
||||
.wp-block-media-text > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block {
|
||||
max-width: unset; }
|
||||
|
||||
|
@ -1024,6 +1062,28 @@ figure.block-library-media-text__media-container {
|
|||
.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle {
|
||||
display: block; } }
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 2;
|
||||
grid-row: 2; }
|
||||
.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 2;
|
||||
grid-row: 2; } }
|
||||
|
||||
.editor-styles-wrapper .block-library-list ul,
|
||||
.editor-styles-wrapper .block-library-list ol {
|
||||
padding-right: 1.3em;
|
||||
|
@ -1067,6 +1127,7 @@ figure.block-library-media-text__media-container {
|
|||
|
||||
.wp-block-navigation-menu .block-editor-block-list__layout,
|
||||
.wp-block-navigation-menu {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
grid-auto-columns: -webkit-min-content;
|
||||
grid-auto-columns: min-content;
|
||||
|
@ -1079,6 +1140,7 @@ figure.block-library-media-text__media-container {
|
|||
padding: 16px; }
|
||||
|
||||
.wp-block-navigation-menu-item__edit-container {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
grid-auto-columns: -webkit-min-content;
|
||||
grid-auto-columns: min-content;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -180,7 +180,7 @@ div[data-type="core/button"] div[data-block] {
|
|||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .block-core-columns {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1; }
|
||||
flex: 1 0 auto; }
|
||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
|
@ -653,6 +653,10 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
|
|||
.is-selected .wp-block-gallery {
|
||||
margin-bottom: 0; }
|
||||
|
||||
figure.wp-block-gallery {
|
||||
display: block;
|
||||
margin: 0; }
|
||||
|
||||
.blocks-gallery-grid.blocks-gallery-grid {
|
||||
margin-bottom: 0; }
|
||||
|
||||
|
@ -868,7 +872,9 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
|
|||
box-shadow: none; }
|
||||
|
||||
.wp-block-image {
|
||||
position: relative; }
|
||||
position: relative;
|
||||
margin-left: 0;
|
||||
margin-right: 0; }
|
||||
.wp-block-image.is-transient img {
|
||||
opacity: 0.3; }
|
||||
.wp-block-image figcaption img {
|
||||
|
@ -983,29 +989,61 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
|
|||
.wp-block-legacy-widget__preview {
|
||||
overflow: auto; }
|
||||
|
||||
.wp-block-media-text {
|
||||
grid-template-areas: "media-text-media media-text-content" "resizer resizer";
|
||||
align-items: center; }
|
||||
|
||||
.wp-block-media-text.has-media-on-the-right {
|
||||
grid-template-areas: "media-text-content media-text-media" "resizer resizer"; }
|
||||
|
||||
.wp-block-media-text .__resizable_base__ {
|
||||
grid-area: resizer; }
|
||||
-ms-grid-column: 1;
|
||||
-ms-grid-column-span: 2;
|
||||
grid-column: 1 / span 2;
|
||||
-ms-grid-row: 2;
|
||||
grid-row: 2; }
|
||||
|
||||
.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,
|
||||
.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer {
|
||||
-ms-grid-row-align: start;
|
||||
align-self: start; }
|
||||
|
||||
.wp-block-media-text .block-editor-inner-blocks,
|
||||
.wp-block-media-text .editor-media-container__resizer,
|
||||
.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,
|
||||
.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center; }
|
||||
|
||||
.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,
|
||||
.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer {
|
||||
-ms-grid-row-align: end;
|
||||
align-self: end; }
|
||||
|
||||
.wp-block-media-text .editor-media-container__resizer {
|
||||
grid-area: media-text-media;
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1;
|
||||
width: 100% !important; }
|
||||
|
||||
.wp-block-media-text.is-image-fill .editor-media-container__resizer {
|
||||
height: 100% !important; }
|
||||
|
||||
.wp-block-media-text .block-editor-inner-blocks {
|
||||
.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer {
|
||||
-ms-grid-column: 2;
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
|
||||
.wp-block-media-text .editor-inner-blocks {
|
||||
word-break: break-word;
|
||||
grid-area: media-text-content;
|
||||
-ms-grid-column: 2;
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1;
|
||||
text-align: initial;
|
||||
padding: 0 8% 0 8%; }
|
||||
|
||||
.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
|
||||
.wp-block-media-text > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block {
|
||||
max-width: unset; }
|
||||
|
||||
|
@ -1029,6 +1067,28 @@ figure.block-library-media-text__media-container {
|
|||
.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle {
|
||||
display: block; } }
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 2;
|
||||
grid-row: 2; }
|
||||
.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 2;
|
||||
grid-row: 2; } }
|
||||
|
||||
.editor-styles-wrapper .block-library-list ul,
|
||||
.editor-styles-wrapper .block-library-list ol {
|
||||
padding-left: 1.3em;
|
||||
|
@ -1072,6 +1132,7 @@ figure.block-library-media-text__media-container {
|
|||
|
||||
.wp-block-navigation-menu .block-editor-block-list__layout,
|
||||
.wp-block-navigation-menu {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
grid-auto-columns: -webkit-min-content;
|
||||
grid-auto-columns: min-content;
|
||||
|
@ -1084,6 +1145,7 @@ figure.block-library-media-text__media-container {
|
|||
padding: 16px; }
|
||||
|
||||
.wp-block-navigation-menu-item__edit-container {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
grid-auto-columns: -webkit-min-content;
|
||||
grid-auto-columns: min-content;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -116,7 +116,6 @@
|
|||
flex-wrap: nowrap; } }
|
||||
|
||||
.wp-block-column {
|
||||
margin-bottom: 1em;
|
||||
flex-grow: 1;
|
||||
min-width: 0;
|
||||
word-break: break-word;
|
||||
|
@ -153,6 +152,7 @@
|
|||
align-self: flex-start; }
|
||||
|
||||
.wp-block-column.is-vertically-aligned-center {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center; }
|
||||
|
||||
.wp-block-column.is-vertically-aligned-bottom {
|
||||
|
@ -171,67 +171,6 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
overflow: hidden; }
|
||||
.wp-block-cover-image.has-left-content,
|
||||
.wp-block-cover.has-left-content {
|
||||
justify-content: flex-start; }
|
||||
.wp-block-cover-image.has-left-content h2,
|
||||
.wp-block-cover-image.has-left-content .wp-block-cover-image-text,
|
||||
.wp-block-cover-image.has-left-content .wp-block-cover-text,
|
||||
.wp-block-cover.has-left-content h2,
|
||||
.wp-block-cover.has-left-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-left-content .wp-block-cover-text {
|
||||
margin-right: 0;
|
||||
text-align: right; }
|
||||
.wp-block-cover-image.has-right-content,
|
||||
.wp-block-cover.has-right-content {
|
||||
justify-content: flex-end; }
|
||||
.wp-block-cover-image.has-right-content h2,
|
||||
.wp-block-cover-image.has-right-content .wp-block-cover-image-text,
|
||||
.wp-block-cover-image.has-right-content .wp-block-cover-text,
|
||||
.wp-block-cover.has-right-content h2,
|
||||
.wp-block-cover.has-right-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-right-content .wp-block-cover-text {
|
||||
margin-left: 0;
|
||||
text-align: left; }
|
||||
.wp-block-cover-image h2,
|
||||
.wp-block-cover-image .wp-block-cover-image-text,
|
||||
.wp-block-cover-image .wp-block-cover-text,
|
||||
.wp-block-cover h2,
|
||||
.wp-block-cover .wp-block-cover-image-text,
|
||||
.wp-block-cover .wp-block-cover-text {
|
||||
color: #fff;
|
||||
font-size: 2em;
|
||||
line-height: 1.25;
|
||||
z-index: 1;
|
||||
margin-bottom: 0;
|
||||
max-width: 610px;
|
||||
padding: 14px;
|
||||
text-align: center; }
|
||||
.wp-block-cover-image h2 a,
|
||||
.wp-block-cover-image h2 a:hover,
|
||||
.wp-block-cover-image h2 a:focus,
|
||||
.wp-block-cover-image h2 a:active,
|
||||
.wp-block-cover-image .wp-block-cover-image-text a,
|
||||
.wp-block-cover-image .wp-block-cover-image-text a:hover,
|
||||
.wp-block-cover-image .wp-block-cover-image-text a:focus,
|
||||
.wp-block-cover-image .wp-block-cover-image-text a:active,
|
||||
.wp-block-cover-image .wp-block-cover-text a,
|
||||
.wp-block-cover-image .wp-block-cover-text a:hover,
|
||||
.wp-block-cover-image .wp-block-cover-text a:focus,
|
||||
.wp-block-cover-image .wp-block-cover-text a:active,
|
||||
.wp-block-cover h2 a,
|
||||
.wp-block-cover h2 a:hover,
|
||||
.wp-block-cover h2 a:focus,
|
||||
.wp-block-cover h2 a:active,
|
||||
.wp-block-cover .wp-block-cover-image-text a,
|
||||
.wp-block-cover .wp-block-cover-image-text a:hover,
|
||||
.wp-block-cover .wp-block-cover-image-text a:focus,
|
||||
.wp-block-cover .wp-block-cover-image-text a:active,
|
||||
.wp-block-cover .wp-block-cover-text a,
|
||||
.wp-block-cover .wp-block-cover-text a:hover,
|
||||
.wp-block-cover .wp-block-cover-text a:focus,
|
||||
.wp-block-cover .wp-block-cover-text a:active {
|
||||
color: #fff; }
|
||||
.wp-block-cover-image.has-parallax,
|
||||
.wp-block-cover.has-parallax {
|
||||
background-attachment: fixed; }
|
||||
|
@ -309,22 +248,22 @@
|
|||
width: calc(100% - 70px);
|
||||
z-index: 1;
|
||||
color: #f8f9f9; }
|
||||
.wp-block-cover-image p,
|
||||
.wp-block-cover-image h1,
|
||||
.wp-block-cover-image h2,
|
||||
.wp-block-cover-image h3,
|
||||
.wp-block-cover-image h4,
|
||||
.wp-block-cover-image h5,
|
||||
.wp-block-cover-image h6,
|
||||
.wp-block-cover-image .wp-block-subhead,
|
||||
.wp-block-cover p,
|
||||
.wp-block-cover h1,
|
||||
.wp-block-cover h2,
|
||||
.wp-block-cover h3,
|
||||
.wp-block-cover h4,
|
||||
.wp-block-cover h5,
|
||||
.wp-block-cover h6,
|
||||
.wp-block-cover .wp-block-subhead {
|
||||
.wp-block-cover-image p:not(.has-text-color),
|
||||
.wp-block-cover-image h1:not(.has-text-color),
|
||||
.wp-block-cover-image h2:not(.has-text-color),
|
||||
.wp-block-cover-image h3:not(.has-text-color),
|
||||
.wp-block-cover-image h4:not(.has-text-color),
|
||||
.wp-block-cover-image h5:not(.has-text-color),
|
||||
.wp-block-cover-image h6:not(.has-text-color),
|
||||
.wp-block-cover-image .wp-block-subhead:not(.has-text-color),
|
||||
.wp-block-cover p:not(.has-text-color),
|
||||
.wp-block-cover h1:not(.has-text-color),
|
||||
.wp-block-cover h2:not(.has-text-color),
|
||||
.wp-block-cover h3:not(.has-text-color),
|
||||
.wp-block-cover h4:not(.has-text-color),
|
||||
.wp-block-cover h5:not(.has-text-color),
|
||||
.wp-block-cover h6:not(.has-text-color),
|
||||
.wp-block-cover .wp-block-subhead:not(.has-text-color) {
|
||||
color: inherit; }
|
||||
|
||||
.wp-block-cover__video-background {
|
||||
|
@ -338,6 +277,55 @@
|
|||
-o-object-fit: cover;
|
||||
object-fit: cover; }
|
||||
|
||||
section.wp-block-cover-image h2,
|
||||
.wp-block-cover-image-text,
|
||||
.wp-block-cover-text {
|
||||
color: #fff; }
|
||||
section.wp-block-cover-image h2 a,
|
||||
section.wp-block-cover-image h2 a:hover,
|
||||
section.wp-block-cover-image h2 a:focus,
|
||||
section.wp-block-cover-image h2 a:active,
|
||||
.wp-block-cover-image-text a,
|
||||
.wp-block-cover-image-text a:hover,
|
||||
.wp-block-cover-image-text a:focus,
|
||||
.wp-block-cover-image-text a:active,
|
||||
.wp-block-cover-text a,
|
||||
.wp-block-cover-text a:hover,
|
||||
.wp-block-cover-text a:focus,
|
||||
.wp-block-cover-text a:active {
|
||||
color: #fff; }
|
||||
|
||||
.wp-block-cover-image
|
||||
.wp-block-cover.has-left-content {
|
||||
justify-content: flex-start; }
|
||||
|
||||
.wp-block-cover-image
|
||||
.wp-block-cover.has-right-content {
|
||||
justify-content: flex-end; }
|
||||
|
||||
section.wp-block-cover-image.has-left-content > h2,
|
||||
.wp-block-cover-image.has-left-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-left-content .wp-block-cover-text {
|
||||
margin-right: 0;
|
||||
text-align: right; }
|
||||
|
||||
section.wp-block-cover-image.has-right-content > h2,
|
||||
.wp-block-cover-image.has-right-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-right-content .wp-block-cover-text {
|
||||
margin-left: 0;
|
||||
text-align: left; }
|
||||
|
||||
section.wp-block-cover-image > h2,
|
||||
.wp-block-cover-image .wp-block-cover-image-text,
|
||||
.wp-block-cover .wp-block-cover-text {
|
||||
font-size: 2em;
|
||||
line-height: 1.25;
|
||||
z-index: 1;
|
||||
margin-bottom: 0;
|
||||
max-width: 610px;
|
||||
padding: 14px;
|
||||
text-align: center; }
|
||||
|
||||
.block-editor-block-list__block[data-type="core/embed"][data-align="left"] .block-editor-block-list__block-edit,
|
||||
.block-editor-block-list__block[data-type="core/embed"][data-align="right"] .block-editor-block-list__block-edit,
|
||||
.wp-block-embed.alignleft,
|
||||
|
@ -430,7 +418,7 @@
|
|||
flex-wrap: wrap;
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin-bottom: 0; }
|
||||
margin: 0; }
|
||||
.wp-block-gallery .blocks-gallery-image,
|
||||
.wp-block-gallery .blocks-gallery-item,
|
||||
.blocks-gallery-grid .blocks-gallery-image,
|
||||
|
@ -657,15 +645,9 @@
|
|||
.blocks-gallery-grid.aligncenter .blocks-gallery-item figure {
|
||||
justify-content: center; }
|
||||
|
||||
figure.wp-block-gallery {
|
||||
display: block;
|
||||
margin: 0; }
|
||||
|
||||
.wp-block-image {
|
||||
max-width: 100%;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 0;
|
||||
margin-left: 0; }
|
||||
margin-bottom: 1em; }
|
||||
.wp-block-image img {
|
||||
max-width: 100%; }
|
||||
.wp-block-image.aligncenter {
|
||||
|
@ -784,33 +766,60 @@ figure.wp-block-gallery {
|
|||
margin-bottom: 16px; }
|
||||
|
||||
.wp-block-media-text {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-rows: auto;
|
||||
grid-template-rows: auto;
|
||||
align-items: center;
|
||||
grid-template-areas: "media-text-media media-text-content";
|
||||
grid-template-columns: 50% auto; }
|
||||
-ms-grid-columns: 50% 1fr;
|
||||
grid-template-columns: 50% 1fr; }
|
||||
.wp-block-media-text .has-media-on-the-right {
|
||||
grid-template-areas: "media-text-content media-text-media";
|
||||
grid-template-columns: auto 50%; }
|
||||
-ms-grid-columns: 1fr 50%;
|
||||
grid-template-columns: 1fr 50%; }
|
||||
|
||||
.wp-block-media-text.is-vertically-aligned-top {
|
||||
align-items: start; }
|
||||
.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,
|
||||
.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media {
|
||||
-ms-grid-row-align: start;
|
||||
align-self: start; }
|
||||
|
||||
.wp-block-media-text.is-vertically-aligned-center {
|
||||
align-items: center; }
|
||||
.wp-block-media-text .wp-block-media-text__content,
|
||||
.wp-block-media-text .wp-block-media-text__media,
|
||||
.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,
|
||||
.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center; }
|
||||
|
||||
.wp-block-media-text.is-vertically-aligned-bottom {
|
||||
align-items: end; }
|
||||
.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,
|
||||
.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media {
|
||||
-ms-grid-row-align: end;
|
||||
align-self: end; }
|
||||
|
||||
.wp-block-media-text .wp-block-media-text__media {
|
||||
grid-area: media-text-media;
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1;
|
||||
margin: 0; }
|
||||
|
||||
.wp-block-media-text .wp-block-media-text__content {
|
||||
-ms-grid-column: 2;
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1;
|
||||
word-break: break-word;
|
||||
grid-area: media-text-content;
|
||||
padding: 0 8% 0 8%; }
|
||||
|
||||
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
|
||||
-ms-grid-column: 2;
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
|
||||
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
|
||||
.wp-block-media-text > figure > img,
|
||||
.wp-block-media-text > figure > video {
|
||||
max-width: unset;
|
||||
|
@ -841,10 +850,28 @@ figure.wp-block-gallery {
|
|||
*/
|
||||
@media (max-width: 600px) {
|
||||
.wp-block-media-text.is-stacked-on-mobile {
|
||||
grid-template-columns: 100% !important;
|
||||
grid-template-areas: "media-text-media" "media-text-content"; }
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right {
|
||||
grid-template-areas: "media-text-content" "media-text-media"; } }
|
||||
-ms-grid-columns: 100% !important;
|
||||
grid-template-columns: 100% !important; }
|
||||
.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 2;
|
||||
grid-row: 2; }
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 2;
|
||||
grid-row: 2; }
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; } }
|
||||
|
||||
.is-small-text {
|
||||
font-size: 14px; }
|
||||
|
@ -996,7 +1023,8 @@ p.has-text-color a {
|
|||
display: flex;
|
||||
justify-content: flex-start;
|
||||
padding-right: 0;
|
||||
padding-left: 0; }
|
||||
padding-left: 0;
|
||||
margin-right: 0; }
|
||||
|
||||
.wp-social-link {
|
||||
display: block;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -119,7 +119,6 @@
|
|||
flex-wrap: nowrap; } }
|
||||
|
||||
.wp-block-column {
|
||||
margin-bottom: 1em;
|
||||
flex-grow: 1;
|
||||
min-width: 0;
|
||||
word-break: break-word;
|
||||
|
@ -156,6 +155,7 @@
|
|||
align-self: flex-start; }
|
||||
|
||||
.wp-block-column.is-vertically-aligned-center {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center; }
|
||||
|
||||
.wp-block-column.is-vertically-aligned-bottom {
|
||||
|
@ -174,67 +174,6 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
overflow: hidden; }
|
||||
.wp-block-cover-image.has-left-content,
|
||||
.wp-block-cover.has-left-content {
|
||||
justify-content: flex-start; }
|
||||
.wp-block-cover-image.has-left-content h2,
|
||||
.wp-block-cover-image.has-left-content .wp-block-cover-image-text,
|
||||
.wp-block-cover-image.has-left-content .wp-block-cover-text,
|
||||
.wp-block-cover.has-left-content h2,
|
||||
.wp-block-cover.has-left-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-left-content .wp-block-cover-text {
|
||||
margin-left: 0;
|
||||
text-align: left; }
|
||||
.wp-block-cover-image.has-right-content,
|
||||
.wp-block-cover.has-right-content {
|
||||
justify-content: flex-end; }
|
||||
.wp-block-cover-image.has-right-content h2,
|
||||
.wp-block-cover-image.has-right-content .wp-block-cover-image-text,
|
||||
.wp-block-cover-image.has-right-content .wp-block-cover-text,
|
||||
.wp-block-cover.has-right-content h2,
|
||||
.wp-block-cover.has-right-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-right-content .wp-block-cover-text {
|
||||
margin-right: 0;
|
||||
text-align: right; }
|
||||
.wp-block-cover-image h2,
|
||||
.wp-block-cover-image .wp-block-cover-image-text,
|
||||
.wp-block-cover-image .wp-block-cover-text,
|
||||
.wp-block-cover h2,
|
||||
.wp-block-cover .wp-block-cover-image-text,
|
||||
.wp-block-cover .wp-block-cover-text {
|
||||
color: #fff;
|
||||
font-size: 2em;
|
||||
line-height: 1.25;
|
||||
z-index: 1;
|
||||
margin-bottom: 0;
|
||||
max-width: 610px;
|
||||
padding: 14px;
|
||||
text-align: center; }
|
||||
.wp-block-cover-image h2 a,
|
||||
.wp-block-cover-image h2 a:hover,
|
||||
.wp-block-cover-image h2 a:focus,
|
||||
.wp-block-cover-image h2 a:active,
|
||||
.wp-block-cover-image .wp-block-cover-image-text a,
|
||||
.wp-block-cover-image .wp-block-cover-image-text a:hover,
|
||||
.wp-block-cover-image .wp-block-cover-image-text a:focus,
|
||||
.wp-block-cover-image .wp-block-cover-image-text a:active,
|
||||
.wp-block-cover-image .wp-block-cover-text a,
|
||||
.wp-block-cover-image .wp-block-cover-text a:hover,
|
||||
.wp-block-cover-image .wp-block-cover-text a:focus,
|
||||
.wp-block-cover-image .wp-block-cover-text a:active,
|
||||
.wp-block-cover h2 a,
|
||||
.wp-block-cover h2 a:hover,
|
||||
.wp-block-cover h2 a:focus,
|
||||
.wp-block-cover h2 a:active,
|
||||
.wp-block-cover .wp-block-cover-image-text a,
|
||||
.wp-block-cover .wp-block-cover-image-text a:hover,
|
||||
.wp-block-cover .wp-block-cover-image-text a:focus,
|
||||
.wp-block-cover .wp-block-cover-image-text a:active,
|
||||
.wp-block-cover .wp-block-cover-text a,
|
||||
.wp-block-cover .wp-block-cover-text a:hover,
|
||||
.wp-block-cover .wp-block-cover-text a:focus,
|
||||
.wp-block-cover .wp-block-cover-text a:active {
|
||||
color: #fff; }
|
||||
.wp-block-cover-image.has-parallax,
|
||||
.wp-block-cover.has-parallax {
|
||||
background-attachment: fixed; }
|
||||
|
@ -312,22 +251,22 @@
|
|||
width: calc(100% - 70px);
|
||||
z-index: 1;
|
||||
color: #f8f9f9; }
|
||||
.wp-block-cover-image p,
|
||||
.wp-block-cover-image h1,
|
||||
.wp-block-cover-image h2,
|
||||
.wp-block-cover-image h3,
|
||||
.wp-block-cover-image h4,
|
||||
.wp-block-cover-image h5,
|
||||
.wp-block-cover-image h6,
|
||||
.wp-block-cover-image .wp-block-subhead,
|
||||
.wp-block-cover p,
|
||||
.wp-block-cover h1,
|
||||
.wp-block-cover h2,
|
||||
.wp-block-cover h3,
|
||||
.wp-block-cover h4,
|
||||
.wp-block-cover h5,
|
||||
.wp-block-cover h6,
|
||||
.wp-block-cover .wp-block-subhead {
|
||||
.wp-block-cover-image p:not(.has-text-color),
|
||||
.wp-block-cover-image h1:not(.has-text-color),
|
||||
.wp-block-cover-image h2:not(.has-text-color),
|
||||
.wp-block-cover-image h3:not(.has-text-color),
|
||||
.wp-block-cover-image h4:not(.has-text-color),
|
||||
.wp-block-cover-image h5:not(.has-text-color),
|
||||
.wp-block-cover-image h6:not(.has-text-color),
|
||||
.wp-block-cover-image .wp-block-subhead:not(.has-text-color),
|
||||
.wp-block-cover p:not(.has-text-color),
|
||||
.wp-block-cover h1:not(.has-text-color),
|
||||
.wp-block-cover h2:not(.has-text-color),
|
||||
.wp-block-cover h3:not(.has-text-color),
|
||||
.wp-block-cover h4:not(.has-text-color),
|
||||
.wp-block-cover h5:not(.has-text-color),
|
||||
.wp-block-cover h6:not(.has-text-color),
|
||||
.wp-block-cover .wp-block-subhead:not(.has-text-color) {
|
||||
color: inherit; }
|
||||
|
||||
.wp-block-cover__video-background {
|
||||
|
@ -341,6 +280,55 @@
|
|||
-o-object-fit: cover;
|
||||
object-fit: cover; }
|
||||
|
||||
section.wp-block-cover-image h2,
|
||||
.wp-block-cover-image-text,
|
||||
.wp-block-cover-text {
|
||||
color: #fff; }
|
||||
section.wp-block-cover-image h2 a,
|
||||
section.wp-block-cover-image h2 a:hover,
|
||||
section.wp-block-cover-image h2 a:focus,
|
||||
section.wp-block-cover-image h2 a:active,
|
||||
.wp-block-cover-image-text a,
|
||||
.wp-block-cover-image-text a:hover,
|
||||
.wp-block-cover-image-text a:focus,
|
||||
.wp-block-cover-image-text a:active,
|
||||
.wp-block-cover-text a,
|
||||
.wp-block-cover-text a:hover,
|
||||
.wp-block-cover-text a:focus,
|
||||
.wp-block-cover-text a:active {
|
||||
color: #fff; }
|
||||
|
||||
.wp-block-cover-image
|
||||
.wp-block-cover.has-left-content {
|
||||
justify-content: flex-start; }
|
||||
|
||||
.wp-block-cover-image
|
||||
.wp-block-cover.has-right-content {
|
||||
justify-content: flex-end; }
|
||||
|
||||
section.wp-block-cover-image.has-left-content > h2,
|
||||
.wp-block-cover-image.has-left-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-left-content .wp-block-cover-text {
|
||||
margin-left: 0;
|
||||
text-align: left; }
|
||||
|
||||
section.wp-block-cover-image.has-right-content > h2,
|
||||
.wp-block-cover-image.has-right-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-right-content .wp-block-cover-text {
|
||||
margin-right: 0;
|
||||
text-align: right; }
|
||||
|
||||
section.wp-block-cover-image > h2,
|
||||
.wp-block-cover-image .wp-block-cover-image-text,
|
||||
.wp-block-cover .wp-block-cover-text {
|
||||
font-size: 2em;
|
||||
line-height: 1.25;
|
||||
z-index: 1;
|
||||
margin-bottom: 0;
|
||||
max-width: 610px;
|
||||
padding: 14px;
|
||||
text-align: center; }
|
||||
|
||||
.block-editor-block-list__block[data-type="core/embed"][data-align="left"] .block-editor-block-list__block-edit,
|
||||
.block-editor-block-list__block[data-type="core/embed"][data-align="right"] .block-editor-block-list__block-edit,
|
||||
.wp-block-embed.alignleft,
|
||||
|
@ -434,7 +422,7 @@
|
|||
flex-wrap: wrap;
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin-bottom: 0; }
|
||||
margin: 0; }
|
||||
.wp-block-gallery .blocks-gallery-image,
|
||||
.wp-block-gallery .blocks-gallery-item,
|
||||
.blocks-gallery-grid .blocks-gallery-image,
|
||||
|
@ -661,15 +649,9 @@
|
|||
.blocks-gallery-grid.aligncenter .blocks-gallery-item figure {
|
||||
justify-content: center; }
|
||||
|
||||
figure.wp-block-gallery {
|
||||
display: block;
|
||||
margin: 0; }
|
||||
|
||||
.wp-block-image {
|
||||
max-width: 100%;
|
||||
margin-bottom: 1em;
|
||||
margin-left: 0;
|
||||
margin-right: 0; }
|
||||
margin-bottom: 1em; }
|
||||
.wp-block-image img {
|
||||
max-width: 100%; }
|
||||
.wp-block-image.aligncenter {
|
||||
|
@ -794,33 +776,60 @@ figure.wp-block-gallery {
|
|||
margin-bottom: 16px; }
|
||||
|
||||
.wp-block-media-text {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-rows: auto;
|
||||
grid-template-rows: auto;
|
||||
align-items: center;
|
||||
grid-template-areas: "media-text-media media-text-content";
|
||||
grid-template-columns: 50% auto; }
|
||||
-ms-grid-columns: 50% 1fr;
|
||||
grid-template-columns: 50% 1fr; }
|
||||
.wp-block-media-text .has-media-on-the-right {
|
||||
grid-template-areas: "media-text-content media-text-media";
|
||||
grid-template-columns: auto 50%; }
|
||||
-ms-grid-columns: 1fr 50%;
|
||||
grid-template-columns: 1fr 50%; }
|
||||
|
||||
.wp-block-media-text.is-vertically-aligned-top {
|
||||
align-items: start; }
|
||||
.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,
|
||||
.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media {
|
||||
-ms-grid-row-align: start;
|
||||
align-self: start; }
|
||||
|
||||
.wp-block-media-text.is-vertically-aligned-center {
|
||||
align-items: center; }
|
||||
.wp-block-media-text .wp-block-media-text__content,
|
||||
.wp-block-media-text .wp-block-media-text__media,
|
||||
.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,
|
||||
.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center; }
|
||||
|
||||
.wp-block-media-text.is-vertically-aligned-bottom {
|
||||
align-items: end; }
|
||||
.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,
|
||||
.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media {
|
||||
-ms-grid-row-align: end;
|
||||
align-self: end; }
|
||||
|
||||
.wp-block-media-text .wp-block-media-text__media {
|
||||
grid-area: media-text-media;
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1;
|
||||
margin: 0; }
|
||||
|
||||
.wp-block-media-text .wp-block-media-text__content {
|
||||
-ms-grid-column: 2;
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1;
|
||||
word-break: break-word;
|
||||
grid-area: media-text-content;
|
||||
padding: 0 8% 0 8%; }
|
||||
|
||||
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
|
||||
-ms-grid-column: 2;
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
|
||||
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
|
||||
.wp-block-media-text > figure > img,
|
||||
.wp-block-media-text > figure > video {
|
||||
max-width: unset;
|
||||
|
@ -851,10 +860,28 @@ figure.wp-block-gallery {
|
|||
*/
|
||||
@media (max-width: 600px) {
|
||||
.wp-block-media-text.is-stacked-on-mobile {
|
||||
grid-template-columns: 100% !important;
|
||||
grid-template-areas: "media-text-media" "media-text-content"; }
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right {
|
||||
grid-template-areas: "media-text-content" "media-text-media"; } }
|
||||
-ms-grid-columns: 100% !important;
|
||||
grid-template-columns: 100% !important; }
|
||||
.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; }
|
||||
.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 2;
|
||||
grid-row: 2; }
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 2;
|
||||
grid-row: 2; }
|
||||
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; } }
|
||||
|
||||
.is-small-text {
|
||||
font-size: 14px; }
|
||||
|
@ -1008,7 +1035,8 @@ p.has-text-color a {
|
|||
display: flex;
|
||||
justify-content: flex-start;
|
||||
padding-left: 0;
|
||||
padding-right: 0; }
|
||||
padding-right: 0;
|
||||
margin-left: 0; }
|
||||
|
||||
.wp-social-link {
|
||||
display: block;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -589,6 +589,8 @@
|
|||
.components-checkbox-control__input[type="checkbox"]:checked {
|
||||
background: #11a0d2;
|
||||
border-color: #11a0d2; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::-ms-check {
|
||||
opacity: 0; }
|
||||
.components-checkbox-control__input[type="checkbox"]:focus:checked {
|
||||
border: none; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::before {
|
||||
|
@ -615,6 +617,7 @@ svg.dashicon.components-checkbox-control__checked {
|
|||
width: 31px;
|
||||
height: 31px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
pointer-events: none; }
|
||||
|
@ -709,9 +712,6 @@ svg.dashicon.components-checkbox-control__checked {
|
|||
.components-color-palette__custom-color .components-button {
|
||||
line-height: 22px; }
|
||||
|
||||
.block-editor__container .components-popover.components-color-palette__picker.is-bottom {
|
||||
z-index: 100001; }
|
||||
|
||||
/**
|
||||
* Parts of this source were derived and modified from react-color,
|
||||
* released under the MIT license.
|
||||
|
@ -1264,6 +1264,7 @@ svg.dashicon {
|
|||
text-align: center;
|
||||
vertical-align: top;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
|
@ -1339,6 +1340,7 @@ svg.dashicon {
|
|||
.DayPickerNavigation_button {
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
border: 0;
|
||||
|
@ -1535,6 +1537,7 @@ svg.dashicon {
|
|||
|
||||
.DateInput_input__readOnly {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
|
@ -2050,6 +2053,13 @@ body.is-dragging-components-draggable {
|
|||
box-shadow: none;
|
||||
outline-offset: -2px;
|
||||
outline: 1px dotted #555d66; }
|
||||
.components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover, .components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
|
||||
.components-dropdown-menu__menu .components-menu-item:hover,
|
||||
.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; }
|
||||
.components-dropdown-menu__menu .components-dropdown-menu__menu-item > svg,
|
||||
.components-dropdown-menu__menu .components-menu-item > svg {
|
||||
border-radius: 4px;
|
||||
|
@ -2102,6 +2112,7 @@ body.is-dragging-components-draggable {
|
|||
max-width: 100%;
|
||||
width: auto;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
|
@ -2517,7 +2528,7 @@ body.is-dragging-components-draggable {
|
|||
.components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
background-color: #fff;
|
||||
color: #191e23;
|
||||
box-shadow: inset 0 0 0 1px #e2e4e7, inset 0 0 0 2px #fff, 0 1px 1px rgba(25, 30, 35, 0.2); }
|
||||
box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; }
|
||||
.components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):active {
|
||||
outline: none;
|
||||
background-color: #fff;
|
||||
|
@ -2581,6 +2592,7 @@ body.is-dragging-components-draggable {
|
|||
color: #6c7781; }
|
||||
|
||||
.components-menu-item__shortcut {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
color: #6c7781;
|
||||
margin-left: 0;
|
||||
|
@ -2872,15 +2884,17 @@ body.is-dragging-components-draggable {
|
|||
|
||||
.components-placeholder {
|
||||
margin-bottom: 28px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1em;
|
||||
min-height: 200px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
background: rgba(139, 139, 150, 0.1); }
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
.components-placeholder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center; } }
|
||||
.is-dark-theme .components-placeholder {
|
||||
background: rgba(255, 255, 255, 0.15); }
|
||||
|
||||
|
@ -3000,8 +3014,7 @@ body.is-dragging-components-draggable {
|
|||
.components-popover:not(.is-mobile).is-top {
|
||||
bottom: 100%; }
|
||||
.components-popover:not(.is-mobile).is-bottom {
|
||||
top: 100%;
|
||||
z-index: 99990; }
|
||||
top: 100%; }
|
||||
.components-popover:not(.is-mobile).is-middle {
|
||||
align-items: center;
|
||||
display: flex; }
|
||||
|
@ -3058,6 +3071,8 @@ body.is-dragging-components-draggable {
|
|||
.components-radio-control {
|
||||
display: flex;
|
||||
flex-direction: column; }
|
||||
.components-radio-control .components-base-control__help {
|
||||
margin-top: 0; }
|
||||
|
||||
.components-radio-control__option:not(:last-child) {
|
||||
margin-bottom: 4px; }
|
||||
|
@ -3337,6 +3352,9 @@ body.admin-color-light .components-resizable-box__side-handle::before {
|
|||
.components-responsive-wrapper {
|
||||
position: relative;
|
||||
max-width: 100%; }
|
||||
.components-responsive-wrapper,
|
||||
.components-responsive-wrapper > span {
|
||||
display: block; }
|
||||
|
||||
.components-responsive-wrapper__content {
|
||||
position: absolute;
|
||||
|
@ -3401,12 +3419,17 @@ body.lockscroll {
|
|||
color: #fff;
|
||||
height: auto;
|
||||
flex-shrink: 0;
|
||||
line-height: 1.4; }
|
||||
line-height: 1.4;
|
||||
padding: 0; }
|
||||
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default) {
|
||||
text-decoration: underline; }
|
||||
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
text-decoration: underline;
|
||||
background-color: transparent; }
|
||||
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus {
|
||||
color: #fff;
|
||||
text-decoration: none; }
|
||||
box-shadow: none;
|
||||
outline: 1px dotted #fff; }
|
||||
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
color: #33b3db; }
|
||||
|
||||
.components-snackbar__content {
|
||||
display: flex;
|
||||
|
@ -3464,6 +3487,7 @@ body.lockscroll {
|
|||
display: flex;
|
||||
color: #555d66; }
|
||||
.components-tip svg {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
fill: #f0b849;
|
||||
flex-shrink: 0;
|
||||
|
@ -3484,8 +3508,11 @@ body.lockscroll {
|
|||
margin: 0;
|
||||
border: 1px solid #e2e4e7;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
flex-shrink: 0; }
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
.components-toolbar {
|
||||
display: flex; } }
|
||||
|
||||
div.components-toolbar > div {
|
||||
display: block;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -589,6 +589,8 @@
|
|||
.components-checkbox-control__input[type="checkbox"]:checked {
|
||||
background: #11a0d2;
|
||||
border-color: #11a0d2; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::-ms-check {
|
||||
opacity: 0; }
|
||||
.components-checkbox-control__input[type="checkbox"]:focus:checked {
|
||||
border: none; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::before {
|
||||
|
@ -615,6 +617,7 @@ svg.dashicon.components-checkbox-control__checked {
|
|||
width: 31px;
|
||||
height: 31px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
pointer-events: none; }
|
||||
|
@ -709,9 +712,6 @@ svg.dashicon.components-checkbox-control__checked {
|
|||
.components-color-palette__custom-color .components-button {
|
||||
line-height: 22px; }
|
||||
|
||||
.block-editor__container .components-popover.components-color-palette__picker.is-bottom {
|
||||
z-index: 100001; }
|
||||
|
||||
/**
|
||||
* Parts of this source were derived and modified from react-color,
|
||||
* released under the MIT license.
|
||||
|
@ -1270,6 +1270,7 @@ svg.dashicon {
|
|||
text-align: center;
|
||||
vertical-align: top;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
|
@ -1345,6 +1346,7 @@ svg.dashicon {
|
|||
.DayPickerNavigation_button {
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
border: 0;
|
||||
|
@ -1541,6 +1543,7 @@ svg.dashicon {
|
|||
|
||||
.DateInput_input__readOnly {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
|
@ -2059,6 +2062,13 @@ body.is-dragging-components-draggable {
|
|||
box-shadow: none;
|
||||
outline-offset: -2px;
|
||||
outline: 1px dotted #555d66; }
|
||||
.components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover, .components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
|
||||
.components-dropdown-menu__menu .components-menu-item:hover,
|
||||
.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
color: #191e23;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background: #f3f4f5; }
|
||||
.components-dropdown-menu__menu .components-dropdown-menu__menu-item > svg,
|
||||
.components-dropdown-menu__menu .components-menu-item > svg {
|
||||
border-radius: 4px;
|
||||
|
@ -2111,6 +2121,7 @@ body.is-dragging-components-draggable {
|
|||
max-width: 100%;
|
||||
width: auto;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
|
@ -2526,7 +2537,7 @@ body.is-dragging-components-draggable {
|
|||
.components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
background-color: #fff;
|
||||
color: #191e23;
|
||||
box-shadow: inset 0 0 0 1px #e2e4e7, inset 0 0 0 2px #fff, 0 1px 1px rgba(25, 30, 35, 0.2); }
|
||||
box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; }
|
||||
.components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):active {
|
||||
outline: none;
|
||||
background-color: #fff;
|
||||
|
@ -2590,6 +2601,7 @@ body.is-dragging-components-draggable {
|
|||
color: #6c7781; }
|
||||
|
||||
.components-menu-item__shortcut {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
color: #6c7781;
|
||||
margin-right: 0;
|
||||
|
@ -2883,15 +2895,17 @@ body.is-dragging-components-draggable {
|
|||
|
||||
.components-placeholder {
|
||||
margin-bottom: 28px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1em;
|
||||
min-height: 200px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
background: rgba(139, 139, 150, 0.1); }
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
.components-placeholder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center; } }
|
||||
.is-dark-theme .components-placeholder {
|
||||
background: rgba(255, 255, 255, 0.15); }
|
||||
|
||||
|
@ -3013,8 +3027,7 @@ body.is-dragging-components-draggable {
|
|||
.components-popover:not(.is-mobile).is-top {
|
||||
bottom: 100%; }
|
||||
.components-popover:not(.is-mobile).is-bottom {
|
||||
top: 100%;
|
||||
z-index: 99990; }
|
||||
top: 100%; }
|
||||
.components-popover:not(.is-mobile).is-middle {
|
||||
align-items: center;
|
||||
display: flex; }
|
||||
|
@ -3073,6 +3086,8 @@ body.is-dragging-components-draggable {
|
|||
.components-radio-control {
|
||||
display: flex;
|
||||
flex-direction: column; }
|
||||
.components-radio-control .components-base-control__help {
|
||||
margin-top: 0; }
|
||||
|
||||
.components-radio-control__option:not(:last-child) {
|
||||
margin-bottom: 4px; }
|
||||
|
@ -3356,6 +3371,9 @@ body.admin-color-light .components-resizable-box__side-handle::before {
|
|||
.components-responsive-wrapper {
|
||||
position: relative;
|
||||
max-width: 100%; }
|
||||
.components-responsive-wrapper,
|
||||
.components-responsive-wrapper > span {
|
||||
display: block; }
|
||||
|
||||
.components-responsive-wrapper__content {
|
||||
position: absolute;
|
||||
|
@ -3420,12 +3438,17 @@ body.lockscroll {
|
|||
color: #fff;
|
||||
height: auto;
|
||||
flex-shrink: 0;
|
||||
line-height: 1.4; }
|
||||
line-height: 1.4;
|
||||
padding: 0; }
|
||||
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default) {
|
||||
text-decoration: underline; }
|
||||
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
text-decoration: underline;
|
||||
background-color: transparent; }
|
||||
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus {
|
||||
color: #fff;
|
||||
text-decoration: none; }
|
||||
box-shadow: none;
|
||||
outline: 1px dotted #fff; }
|
||||
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
|
||||
color: #33b3db; }
|
||||
|
||||
.components-snackbar__content {
|
||||
display: flex;
|
||||
|
@ -3485,6 +3508,7 @@ body.lockscroll {
|
|||
display: flex;
|
||||
color: #555d66; }
|
||||
.components-tip svg {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
fill: #f0b849;
|
||||
flex-shrink: 0;
|
||||
|
@ -3505,8 +3529,11 @@ body.lockscroll {
|
|||
margin: 0;
|
||||
border: 1px solid #e2e4e7;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
flex-shrink: 0; }
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
.components-toolbar {
|
||||
display: flex; } }
|
||||
|
||||
div.components-toolbar > div {
|
||||
display: block;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -262,6 +262,9 @@ body.is-fullscreen-mode .edit-post-header {
|
|||
.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu {
|
||||
padding: 0; }
|
||||
|
||||
.components-popover.edit-post-more-menu__content {
|
||||
z-index: 99998; }
|
||||
|
||||
.edit-post-pinned-plugins {
|
||||
display: none; }
|
||||
@media (min-width: 600px) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -262,6 +262,9 @@ body.is-fullscreen-mode .edit-post-header {
|
|||
.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu {
|
||||
padding: 0; }
|
||||
|
||||
.components-popover.edit-post-more-menu__content {
|
||||
z-index: 99998; }
|
||||
|
||||
.edit-post-pinned-plugins {
|
||||
display: none; }
|
||||
@media (min-width: 600px) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -380,6 +380,7 @@
|
|||
position: absolute;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
|
@ -638,9 +639,6 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input {
|
||||
margin-right: 28px; }
|
||||
|
||||
.edit-post-post-visibility__dialog.components-popover.is-bottom {
|
||||
z-index: 100001; }
|
||||
|
||||
.editor-post-title__block {
|
||||
position: relative;
|
||||
padding: 5px 0;
|
||||
|
@ -741,6 +739,9 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||
.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content {
|
||||
min-width: 380px; }
|
||||
|
||||
.components-popover.table-of-contents__popover {
|
||||
z-index: 99998; }
|
||||
|
||||
.table-of-contents__popover .components-popover__content {
|
||||
padding: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -382,6 +382,7 @@
|
|||
position: absolute;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
|
@ -642,9 +643,6 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input {
|
||||
margin-left: 28px; }
|
||||
|
||||
.edit-post-post-visibility__dialog.components-popover.is-bottom {
|
||||
z-index: 100001; }
|
||||
|
||||
.editor-post-title__block {
|
||||
position: relative;
|
||||
padding: 5px 0;
|
||||
|
@ -745,6 +743,9 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||
.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content {
|
||||
min-width: 380px; }
|
||||
|
||||
.components-popover.table-of-contents__popover {
|
||||
z-index: 99998; }
|
||||
|
||||
.table-of-contents__popover .components-popover__content {
|
||||
padding: 16px; }
|
||||
@media (min-width: 600px) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -104,6 +104,7 @@
|
|||
z-index: 1000001; }
|
||||
@media (max-width: 600px) {
|
||||
.nux-dot-tip:not(.is-mobile).is-left .components-popover__content, .nux-dot-tip:not(.is-mobile).is-center .components-popover__content, .nux-dot-tip:not(.is-mobile).is-right .components-popover__content {
|
||||
-ms-grid-row-align: end;
|
||||
align-self: end;
|
||||
right: 5px;
|
||||
margin: 20px 0 0 0;
|
||||
|
|
|
@ -1 +1 @@
|
|||
.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;right:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;right:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 20px 5px 41px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;left:0;top:0}.nux-dot-tip.is-top{margin-top:-4px}.nux-dot-tip.is-bottom{margin-top:4px}.nux-dot-tip.is-middle.is-left{margin-right:-4px}.nux-dot-tip.is-middle.is-right{margin-right:4px}.nux-dot-tip.is-top .components-popover__content{margin-bottom:20px}.nux-dot-tip.is-bottom .components-popover__content{margin-top:20px}.nux-dot-tip.is-middle.is-left .components-popover__content{margin-left:20px}.nux-dot-tip.is-middle.is-right .components-popover__content{margin-right:20px}.nux-dot-tip:not(.is-mobile).is-center,.nux-dot-tip:not(.is-mobile).is-left,.nux-dot-tip:not(.is-mobile).is-right{z-index:1000001}@media (max-width:600px){.nux-dot-tip:not(.is-mobile).is-center .components-popover__content,.nux-dot-tip:not(.is-mobile).is-left .components-popover__content,.nux-dot-tip:not(.is-mobile).is-right .components-popover__content{align-self:end;right:5px;margin:20px 0 0;max-width:none!important;position:fixed;left:5px;width:auto}}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:0}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:-12px}
|
||||
.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;right:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;right:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 20px 5px 41px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;left:0;top:0}.nux-dot-tip.is-top{margin-top:-4px}.nux-dot-tip.is-bottom{margin-top:4px}.nux-dot-tip.is-middle.is-left{margin-right:-4px}.nux-dot-tip.is-middle.is-right{margin-right:4px}.nux-dot-tip.is-top .components-popover__content{margin-bottom:20px}.nux-dot-tip.is-bottom .components-popover__content{margin-top:20px}.nux-dot-tip.is-middle.is-left .components-popover__content{margin-left:20px}.nux-dot-tip.is-middle.is-right .components-popover__content{margin-right:20px}.nux-dot-tip:not(.is-mobile).is-center,.nux-dot-tip:not(.is-mobile).is-left,.nux-dot-tip:not(.is-mobile).is-right{z-index:1000001}@media (max-width:600px){.nux-dot-tip:not(.is-mobile).is-center .components-popover__content,.nux-dot-tip:not(.is-mobile).is-left .components-popover__content,.nux-dot-tip:not(.is-mobile).is-right .components-popover__content{-ms-grid-row-align:end;align-self:end;right:5px;margin:20px 0 0;max-width:none!important;position:fixed;left:5px;width:auto}}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:0}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:-12px}
|
|
@ -104,6 +104,7 @@
|
|||
z-index: 1000001; }
|
||||
@media (max-width: 600px) {
|
||||
.nux-dot-tip:not(.is-mobile).is-left .components-popover__content, .nux-dot-tip:not(.is-mobile).is-center .components-popover__content, .nux-dot-tip:not(.is-mobile).is-right .components-popover__content {
|
||||
-ms-grid-row-align: end;
|
||||
align-self: end;
|
||||
left: 5px;
|
||||
margin: 20px 0 0 0;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;left:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;left:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 41px 5px 20px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;right:0;top:0}.nux-dot-tip.is-top{margin-top:-4px}.nux-dot-tip.is-bottom{margin-top:4px}.nux-dot-tip.is-middle.is-left{margin-left:-4px}.nux-dot-tip.is-middle.is-right{margin-left:4px}.nux-dot-tip.is-top .components-popover__content{margin-bottom:20px}.nux-dot-tip.is-bottom .components-popover__content{margin-top:20px}.nux-dot-tip.is-middle.is-left .components-popover__content{margin-right:20px}.nux-dot-tip.is-middle.is-right .components-popover__content{margin-left:20px}.nux-dot-tip:not(.is-mobile).is-center,.nux-dot-tip:not(.is-mobile).is-left,.nux-dot-tip:not(.is-mobile).is-right{z-index:1000001}@media (max-width:600px){.nux-dot-tip:not(.is-mobile).is-center .components-popover__content,.nux-dot-tip:not(.is-mobile).is-left .components-popover__content,.nux-dot-tip:not(.is-mobile).is-right .components-popover__content{align-self:end;left:5px;margin:20px 0 0;max-width:none!important;position:fixed;right:5px;width:auto}}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{
|
||||
.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;left:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;left:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 41px 5px 20px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;right:0;top:0}.nux-dot-tip.is-top{margin-top:-4px}.nux-dot-tip.is-bottom{margin-top:4px}.nux-dot-tip.is-middle.is-left{margin-left:-4px}.nux-dot-tip.is-middle.is-right{margin-left:4px}.nux-dot-tip.is-top .components-popover__content{margin-bottom:20px}.nux-dot-tip.is-bottom .components-popover__content{margin-top:20px}.nux-dot-tip.is-middle.is-left .components-popover__content{margin-right:20px}.nux-dot-tip.is-middle.is-right .components-popover__content{margin-left:20px}.nux-dot-tip:not(.is-mobile).is-center,.nux-dot-tip:not(.is-mobile).is-left,.nux-dot-tip:not(.is-mobile).is-right{z-index:1000001}@media (max-width:600px){.nux-dot-tip:not(.is-mobile).is-center .components-popover__content,.nux-dot-tip:not(.is-mobile).is-left .components-popover__content,.nux-dot-tip:not(.is-mobile).is-right .components-popover__content{-ms-grid-row-align:end;align-self:end;left:5px;margin:20px 0 0;max-width:none!important;position:fixed;right:5px;width:auto}}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{
|
||||
/*!rtl:ignore*/margin-left:0}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{
|
||||
/*!rtl:ignore*/margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content{
|
||||
/*!rtl:ignore*/margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content{
|
||||
|
|
|
@ -82,26 +82,26 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 334);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 365);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 194:
|
||||
/***/ 217:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["domReady"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 334:
|
||||
/***/ 365:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","domReady"]}
|
||||
var external_this_wp_domReady_ = __webpack_require__(194);
|
||||
var external_this_wp_domReady_ = __webpack_require__(217);
|
||||
var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_domReady_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/addContainer.js
|
||||
|
|
|
@ -1 +1 @@
|
|||
this.wp=this.wp||{},this.wp.a11y=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=334)}({194:function(e,t){!function(){e.exports=this.wp.domReady}()},334:function(e,t,n){"use strict";n.r(t);var r=n(194),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",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("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},u="",l=function(e){return e=e.replace(/<[^<>]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",(function(){return p})),n.d(t,"speak",(function(){return c}));var p=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=i("polite")),null===t&&(t=i("assertive"))};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}});
|
||||
this.wp=this.wp||{},this.wp.a11y=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=365)}({217:function(e,t){!function(){e.exports=this.wp.domReady}()},365:function(e,t,n){"use strict";n.r(t);var r=n(217),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",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("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},u="",l=function(e){return e=e.replace(/<[^<>]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",(function(){return p})),n.d(t,"speak",(function(){return c}));var p=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=i("polite")),null===t&&(t=i("assertive"))};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}});
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 325);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 355);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -225,7 +225,7 @@ function _iterableToArray(iter) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 325:
|
||||
/***/ 355:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -447,7 +447,7 @@ function __experimentalGetAnnotations(state) {
|
|||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/uuid/v4.js
|
||||
var v4 = __webpack_require__(64);
|
||||
var v4 = __webpack_require__(67);
|
||||
var v4_default = /*#__PURE__*/__webpack_require__.n(v4);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
|
||||
|
@ -1104,11 +1104,11 @@ function isShallowEqual( a, b, fromIndex ) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 64:
|
||||
/***/ 67:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var rng = __webpack_require__(82);
|
||||
var bytesToUuid = __webpack_require__(83);
|
||||
var rng = __webpack_require__(85);
|
||||
var bytesToUuid = __webpack_require__(86);
|
||||
|
||||
function v4(options, buf, offset) {
|
||||
var i = buf && offset || 0;
|
||||
|
@ -1168,7 +1168,7 @@ function _objectSpread(target) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 82:
|
||||
/***/ 85:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
// Unique ID creation requires a high quality random # generator. In the
|
||||
|
@ -1209,7 +1209,7 @@ if (getRandomValues) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 83:
|
||||
/***/ 86:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/**
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 324);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 353);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -175,7 +175,7 @@ function _objectWithoutProperties(source, excluded) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 324:
|
||||
/***/ 353:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -187,9 +187,6 @@ var objectSpread = __webpack_require__(7);
|
|||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules
|
||||
var objectWithoutProperties = __webpack_require__(21);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||
var external_this_wp_i18n_ = __webpack_require__(1);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js
|
||||
|
||||
|
||||
|
@ -366,7 +363,7 @@ var fetch_all_middleware_modifyQuery = function modifyQuery(_ref, queryArgs) {
|
|||
}; // Duplicates parsing functionality from apiFetch.
|
||||
|
||||
|
||||
var fetch_all_middleware_parseResponse = function parseResponse(response) {
|
||||
var parseResponse = function parseResponse(response) {
|
||||
return response.json ? response.json() : Promise.reject(response);
|
||||
};
|
||||
|
||||
|
@ -435,7 +432,7 @@ function () {
|
|||
case 6:
|
||||
response = _context.sent;
|
||||
_context.next = 9;
|
||||
return fetch_all_middleware_parseResponse(response);
|
||||
return parseResponse(response);
|
||||
|
||||
case 9:
|
||||
results = _context.sent;
|
||||
|
@ -479,7 +476,7 @@ function () {
|
|||
case 19:
|
||||
nextResponse = _context.sent;
|
||||
_context.next = 22;
|
||||
return fetch_all_middleware_parseResponse(nextResponse);
|
||||
return parseResponse(nextResponse);
|
||||
|
||||
case 22:
|
||||
nextResults = _context.sent;
|
||||
|
@ -581,8 +578,84 @@ function userLocaleMiddleware(options, next) {
|
|||
|
||||
/* harmony default export */ var user_locale = (userLocaleMiddleware);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/index.js
|
||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||
var external_this_wp_i18n_ = __webpack_require__(1);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/utils/response.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
* Parses the apiFetch response.
|
||||
*
|
||||
* @param {Response} response
|
||||
* @param {boolean} shouldParseResponse
|
||||
*
|
||||
* @return {Promise} Parsed response
|
||||
*/
|
||||
|
||||
var response_parseResponse = function parseResponse(response) {
|
||||
var shouldParseResponse = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
||||
|
||||
if (shouldParseResponse) {
|
||||
if (response.status === 204) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return response.json ? response.json() : Promise.reject(response);
|
||||
}
|
||||
|
||||
return response;
|
||||
};
|
||||
|
||||
var response_parseJsonAndNormalizeError = function parseJsonAndNormalizeError(response) {
|
||||
var invalidJsonError = {
|
||||
code: 'invalid_json',
|
||||
message: Object(external_this_wp_i18n_["__"])('The response is not a valid JSON response.')
|
||||
};
|
||||
|
||||
if (!response || !response.json) {
|
||||
throw invalidJsonError;
|
||||
}
|
||||
|
||||
return response.json().catch(function () {
|
||||
throw invalidJsonError;
|
||||
});
|
||||
};
|
||||
/**
|
||||
* Parses the apiFetch response properly and normalize response errors.
|
||||
*
|
||||
* @param {Response} response
|
||||
* @param {boolean} shouldParseResponse
|
||||
*
|
||||
* @return {Promise} Parsed response.
|
||||
*/
|
||||
|
||||
|
||||
var parseResponseAndNormalizeError = function parseResponseAndNormalizeError(response) {
|
||||
var shouldParseResponse = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
||||
return Promise.resolve(response_parseResponse(response, shouldParseResponse)).catch(function (res) {
|
||||
return parseAndThrowError(res, shouldParseResponse);
|
||||
});
|
||||
};
|
||||
function parseAndThrowError(response) {
|
||||
var shouldParseResponse = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
||||
|
||||
if (!shouldParseResponse) {
|
||||
throw response;
|
||||
}
|
||||
|
||||
return response_parseJsonAndNormalizeError(response).then(function (error) {
|
||||
var unknownError = {
|
||||
code: 'unknown_error',
|
||||
message: Object(external_this_wp_i18n_["__"])('An unknown error occurred.')
|
||||
};
|
||||
throw error || unknownError;
|
||||
});
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/media-upload.js
|
||||
|
||||
|
||||
/**
|
||||
|
@ -594,6 +667,83 @@ function userLocaleMiddleware(options, next) {
|
|||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Middleware handling media upload failures and retries.
|
||||
*
|
||||
* @param {Object} options Fetch options.
|
||||
* @param {Function} next [description]
|
||||
*
|
||||
* @return {*} The evaluated result of the remaining middleware chain.
|
||||
*/
|
||||
|
||||
function mediaUploadMiddleware(options, next) {
|
||||
var isMediaUploadRequest = options.path && options.path.indexOf('/wp/v2/media') !== -1 || options.url && options.url.indexOf('/wp/v2/media') !== -1;
|
||||
|
||||
if (!isMediaUploadRequest) {
|
||||
return next(options, next);
|
||||
}
|
||||
|
||||
var retries = 0;
|
||||
var maxRetries = 5;
|
||||
|
||||
var postProcess = function postProcess(attachmentId) {
|
||||
retries++;
|
||||
return next({
|
||||
path: "/wp/v2/media/".concat(attachmentId, "/post-process"),
|
||||
method: 'POST',
|
||||
data: {
|
||||
action: 'create-image-subsizes'
|
||||
},
|
||||
parse: false
|
||||
}).catch(function () {
|
||||
if (retries < maxRetries) {
|
||||
return postProcess(attachmentId);
|
||||
}
|
||||
|
||||
next({
|
||||
path: "/wp/v2/media/".concat(attachmentId, "?force=true"),
|
||||
method: 'DELETE'
|
||||
});
|
||||
return Promise.reject();
|
||||
});
|
||||
};
|
||||
|
||||
return next(Object(objectSpread["a" /* default */])({}, options, {
|
||||
parse: false
|
||||
})).catch(function (response) {
|
||||
var attachmentId = response.headers.get('x-wp-upload-attachment-id');
|
||||
|
||||
if ((response.status === 500 || response.status === 502) && attachmentId) {
|
||||
return postProcess(attachmentId).catch(function () {
|
||||
if (options.parse !== false) {
|
||||
return Promise.reject({
|
||||
code: 'post_process',
|
||||
message: Object(external_this_wp_i18n_["__"])('Media upload failed. If this is a photo or a large image, please scale it down and try again.')
|
||||
});
|
||||
}
|
||||
|
||||
return Promise.reject(response);
|
||||
});
|
||||
}
|
||||
|
||||
return parseAndThrowError(response, options.parse);
|
||||
}).then(function (response) {
|
||||
return parseResponseAndNormalizeError(response, options.parse);
|
||||
});
|
||||
}
|
||||
|
||||
/* harmony default export */ var media_upload = (mediaUploadMiddleware);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/index.js
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -660,42 +810,10 @@ var build_module_defaultFetchHandler = function defaultFetchHandler(nextOptions)
|
|||
body: body,
|
||||
headers: headers
|
||||
}));
|
||||
|
||||
var parseResponse = function parseResponse(response) {
|
||||
if (parse) {
|
||||
if (response.status === 204) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return response.json ? response.json() : Promise.reject(response);
|
||||
}
|
||||
|
||||
return response;
|
||||
};
|
||||
|
||||
return responsePromise.then(checkStatus).then(parseResponse).catch(function (response) {
|
||||
if (!parse) {
|
||||
throw response;
|
||||
}
|
||||
|
||||
var invalidJsonError = {
|
||||
code: 'invalid_json',
|
||||
message: Object(external_this_wp_i18n_["__"])('The response is not a valid JSON response.')
|
||||
};
|
||||
|
||||
if (!response || !response.json) {
|
||||
throw invalidJsonError;
|
||||
}
|
||||
|
||||
return response.json().catch(function () {
|
||||
throw invalidJsonError;
|
||||
}).then(function (error) {
|
||||
var unknownError = {
|
||||
code: 'unknown_error',
|
||||
message: Object(external_this_wp_i18n_["__"])('An unknown error occurred.')
|
||||
};
|
||||
throw error || unknownError;
|
||||
});
|
||||
return responsePromise.then(checkStatus).catch(function (response) {
|
||||
return parseAndThrowError(response, parse);
|
||||
}).then(function (response) {
|
||||
return parseResponseAndNormalizeError(response, parse);
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -750,6 +868,7 @@ apiFetch.createNonceMiddleware = middlewares_nonce;
|
|||
apiFetch.createPreloadingMiddleware = preloading;
|
||||
apiFetch.createRootURLMiddleware = root_url;
|
||||
apiFetch.fetchAllMiddleware = fetch_all_middleware;
|
||||
apiFetch.mediaUploadMiddleware = media_upload;
|
||||
/* harmony default export */ var build_module = __webpack_exports__["default"] = (apiFetch);
|
||||
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,60 @@ this["wp"] = this["wp"] || {}; this["wp"]["autop"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 210);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 233);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 210:
|
||||
/***/ 23:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(38);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
var _arr = [];
|
||||
var _n = true;
|
||||
var _d = false;
|
||||
var _e = undefined;
|
||||
|
||||
try {
|
||||
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
||||
_arr.push(_s.value);
|
||||
|
||||
if (i && _arr.length === i) break;
|
||||
}
|
||||
} catch (err) {
|
||||
_d = true;
|
||||
_e = err;
|
||||
} finally {
|
||||
try {
|
||||
if (!_n && _i["return"] != null) _i["return"]();
|
||||
} finally {
|
||||
if (_d) throw _e;
|
||||
}
|
||||
}
|
||||
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
|
||||
|
||||
|
||||
|
||||
function _slicedToArray(arr, i) {
|
||||
return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])();
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 233:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -489,54 +537,6 @@ function removep(html) {
|
|||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 23:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(38);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
var _arr = [];
|
||||
var _n = true;
|
||||
var _d = false;
|
||||
var _e = undefined;
|
||||
|
||||
try {
|
||||
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
||||
_arr.push(_s.value);
|
||||
|
||||
if (i && _arr.length === i) break;
|
||||
}
|
||||
} catch (err) {
|
||||
_d = true;
|
||||
_e = err;
|
||||
} finally {
|
||||
try {
|
||||
if (!_n && _i["return"] != null) _i["return"]();
|
||||
} finally {
|
||||
if (_d) throw _e;
|
||||
}
|
||||
}
|
||||
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
|
||||
|
||||
|
||||
|
||||
function _slicedToArray(arr, i) {
|
||||
return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])();
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 38:
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blob"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 211);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 234);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 211:
|
||||
/***/ 234:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
|
@ -1 +1 @@
|
|||
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=211)}({211: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,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));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){i[e]&&u(e),delete i[e]}function d(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=234)}({234: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,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));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){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockEditor"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 311);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 342);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -123,7 +123,30 @@ function _defineProperty(obj, key, value) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 106:
|
||||
/***/ 11:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
|
||||
function _defineProperties(target, props) {
|
||||
for (var i = 0; i < props.length; i++) {
|
||||
var descriptor = props[i];
|
||||
descriptor.enumerable = descriptor.enumerable || false;
|
||||
descriptor.configurable = true;
|
||||
if ("value" in descriptor) descriptor.writable = true;
|
||||
Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) {
|
||||
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
||||
if (staticProps) _defineProperties(Constructor, staticProps);
|
||||
return Constructor;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 112:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
if (typeof Object.create === 'function') {
|
||||
|
@ -157,13 +180,13 @@ if (typeof Object.create === 'function') {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 107:
|
||||
/***/ 113:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
var util = __webpack_require__(108);
|
||||
var util = __webpack_require__(114);
|
||||
|
||||
function scrollIntoView(elem, container, config) {
|
||||
config = config || {};
|
||||
|
@ -293,7 +316,7 @@ module.exports = scrollIntoView;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 108:
|
||||
/***/ 114:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -739,7 +762,7 @@ module.exports = _extends({
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 109:
|
||||
/***/ 115:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -773,9 +796,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|||
};
|
||||
exports.__esModule = true;
|
||||
var React = __webpack_require__(28);
|
||||
var PropTypes = __webpack_require__(34);
|
||||
var autosize = __webpack_require__(110);
|
||||
var _getLineHeight = __webpack_require__(111);
|
||||
var PropTypes = __webpack_require__(33);
|
||||
var autosize = __webpack_require__(116);
|
||||
var _getLineHeight = __webpack_require__(117);
|
||||
var getLineHeight = _getLineHeight;
|
||||
var UPDATE = 'autosize:update';
|
||||
var DESTROY = 'autosize:destroy';
|
||||
|
@ -868,30 +891,7 @@ exports["default"] = TextareaAutosize;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 11:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
|
||||
function _defineProperties(target, props) {
|
||||
for (var i = 0; i < props.length; i++) {
|
||||
var descriptor = props[i];
|
||||
descriptor.enumerable = descriptor.enumerable || false;
|
||||
descriptor.configurable = true;
|
||||
if ("value" in descriptor) descriptor.writable = true;
|
||||
Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) {
|
||||
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
||||
if (staticProps) _defineProperties(Constructor, staticProps);
|
||||
return Constructor;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 110:
|
||||
/***/ 116:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
||||
|
@ -1180,11 +1180,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 111:
|
||||
/***/ 117:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// Load in dependencies
|
||||
var computedStyle = __webpack_require__(112);
|
||||
var computedStyle = __webpack_require__(118);
|
||||
|
||||
/**
|
||||
* Calculate the `line-height` of a given node
|
||||
|
@ -1284,7 +1284,7 @@ module.exports = lineHeight;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 112:
|
||||
/***/ 118:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
// This code has been refactored for 140 bytes
|
||||
|
@ -1318,7 +1318,7 @@ module.exports = computedStyle;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 113:
|
||||
/***/ 119:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
function _extends() {
|
||||
|
@ -1343,7 +1343,20 @@ module.exports = _extends;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 114:
|
||||
/***/ 12:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
|
||||
function _classCallCheck(instance, Constructor) {
|
||||
if (!(instance instanceof Constructor)) {
|
||||
throw new TypeError("Cannot call a class as a function");
|
||||
}
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 120:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
|
@ -1365,7 +1378,7 @@ module.exports = _objectWithoutPropertiesLoose;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 115:
|
||||
/***/ 121:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
function _inheritsLoose(subClass, superClass) {
|
||||
|
@ -1378,7 +1391,7 @@ module.exports = _inheritsLoose;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 116:
|
||||
/***/ 122:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
function _assertThisInitialized(self) {
|
||||
|
@ -1393,7 +1406,7 @@ module.exports = _assertThisInitialized;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 117:
|
||||
/***/ 123:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathias */
|
||||
|
@ -1916,11 +1929,11 @@ module.exports = _assertThisInitialized;
|
|||
|
||||
}(this));
|
||||
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(118)(module), __webpack_require__(61)))
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(124)(module), __webpack_require__(65)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 118:
|
||||
/***/ 124:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = function(module) {
|
||||
|
@ -1949,7 +1962,7 @@ module.exports = function(module) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 119:
|
||||
/***/ 125:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -1973,32 +1986,19 @@ module.exports = {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 12:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
|
||||
function _classCallCheck(instance, Constructor) {
|
||||
if (!(instance instanceof Constructor)) {
|
||||
throw new TypeError("Cannot call a class as a function");
|
||||
}
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 120:
|
||||
/***/ 126:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
exports.decode = exports.parse = __webpack_require__(121);
|
||||
exports.encode = exports.stringify = __webpack_require__(122);
|
||||
exports.decode = exports.parse = __webpack_require__(127);
|
||||
exports.encode = exports.stringify = __webpack_require__(128);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 121:
|
||||
/***/ 127:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -2090,7 +2090,7 @@ var isArray = Array.isArray || function (xs) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 122:
|
||||
/***/ 128:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -2202,13 +2202,6 @@ function _possibleConstructorReturn(self, call) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 135:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["tokenList"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
|
@ -2223,6 +2216,13 @@ function _getPrototypeOf(o) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 143:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["tokenList"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
|
@ -2380,7 +2380,66 @@ function _extends() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 195:
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["lodash"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 20:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(47);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 21:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
||||
function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
if (source == null) return {};
|
||||
var target = {};
|
||||
var sourceKeys = Object.keys(source);
|
||||
var key, i;
|
||||
|
||||
for (i = 0; i < sourceKeys.length; i++) {
|
||||
key = sourceKeys[i];
|
||||
if (excluded.indexOf(key) >= 0) continue;
|
||||
target[key] = source[key];
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||
|
||||
function _objectWithoutProperties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
var target = _objectWithoutPropertiesLoose(source, excluded);
|
||||
var key, i;
|
||||
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
||||
|
||||
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
||||
key = sourceSymbolKeys[i];
|
||||
if (excluded.indexOf(key) >= 0) continue;
|
||||
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
||||
target[key] = source[key];
|
||||
}
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 218:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -2411,7 +2470,7 @@ exports.default = multi;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 196:
|
||||
/***/ 219:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/*!
|
||||
|
@ -4254,7 +4313,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 197:
|
||||
/***/ 22:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["richText"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 220:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
var traverse = module.exports = function (obj) {
|
||||
|
@ -4573,72 +4639,6 @@ var hasOwnProperty = Object.hasOwnProperty || function (obj, key) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["lodash"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 20:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(47);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 21:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
||||
function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
if (source == null) return {};
|
||||
var target = {};
|
||||
var sourceKeys = Object.keys(source);
|
||||
var key, i;
|
||||
|
||||
for (i = 0; i < sourceKeys.length; i++) {
|
||||
key = sourceKeys[i];
|
||||
if (excluded.indexOf(key) >= 0) continue;
|
||||
target[key] = source[key];
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||
|
||||
function _objectWithoutProperties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
var target = _objectWithoutPropertiesLoose(source, excluded);
|
||||
var key, i;
|
||||
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
||||
|
||||
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
||||
key = sourceSymbolKeys[i];
|
||||
if (excluded.indexOf(key) >= 0) continue;
|
||||
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
||||
target[key] = source[key];
|
||||
}
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 22:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["richText"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 23:
|
||||
|
@ -4758,7 +4758,26 @@ function _typeof(obj) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 311:
|
||||
/***/ 33:
|
||||
/***/ (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__(87)();
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 342:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -6139,6 +6158,7 @@ function BlockNavigationDropdown(_ref) {
|
|||
isDisabled = _ref.isDisabled;
|
||||
var isEnabled = hasBlocks && !isDisabled;
|
||||
return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], {
|
||||
contentClassName: "editor-block-navigation__popover block-editor-block-navigation__popover",
|
||||
renderToggle: function renderToggle(_ref2) {
|
||||
var isOpen = _ref2.isOpen,
|
||||
onToggle = _ref2.onToggle;
|
||||
|
@ -6515,7 +6535,7 @@ function (_Component) {
|
|||
var toConsumableArray = __webpack_require__(17);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/dom-scroll-into-view/lib/index.js
|
||||
var lib = __webpack_require__(65);
|
||||
var lib = __webpack_require__(68);
|
||||
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","url"]}
|
||||
|
@ -7992,11 +8012,11 @@ function reducer_didAutomaticChange(state, action) {
|
|||
}));
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/refx/refx.js
|
||||
var refx = __webpack_require__(69);
|
||||
var refx = __webpack_require__(72);
|
||||
var refx_default = /*#__PURE__*/__webpack_require__.n(refx);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/redux-multi/lib/index.js
|
||||
var redux_multi_lib = __webpack_require__(195);
|
||||
var redux_multi_lib = __webpack_require__(218);
|
||||
var redux_multi_lib_default = /*#__PURE__*/__webpack_require__.n(redux_multi_lib);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","a11y"]}
|
||||
|
@ -10536,10 +10556,13 @@ function validateBlocksToTemplate(action, store) {
|
|||
var selectedBlock = clientId === clientIdA ? cloneA : cloneB;
|
||||
var html = selectedBlock.attributes[attributeKey];
|
||||
var selectedBlockType = clientId === clientIdA ? blockAType : blockBType;
|
||||
var multilineTag = selectedBlockType.attributes[attributeKey].multiline;
|
||||
var _selectedBlockType$at = selectedBlockType.attributes[attributeKey],
|
||||
multilineTag = _selectedBlockType$at.multiline,
|
||||
multilineWrapperTags = _selectedBlockType$at.__unstableMultilineWrapperTags;
|
||||
var value = Object(external_this_wp_richText_["insert"])(Object(external_this_wp_richText_["create"])({
|
||||
html: html,
|
||||
multilineTag: multilineTag
|
||||
multilineTag: multilineTag,
|
||||
multilineWrapperTags: multilineWrapperTags
|
||||
}), START_OF_SELECTED_AREA, offset, offset);
|
||||
selectedBlock.attributes[attributeKey] = Object(external_this_wp_richText_["toHTMLString"])({
|
||||
value: value,
|
||||
|
@ -10563,10 +10586,13 @@ function validateBlocksToTemplate(action, store) {
|
|||
return typeof v === 'string' && v.indexOf(START_OF_SELECTED_AREA) !== -1;
|
||||
});
|
||||
var convertedHtml = updatedAttributes[newAttributeKey];
|
||||
var _multilineTag = blockAType.attributes[newAttributeKey].multiline;
|
||||
var _blockAType$attribute = blockAType.attributes[newAttributeKey],
|
||||
_multilineTag = _blockAType$attribute.multiline,
|
||||
_multilineWrapperTags = _blockAType$attribute.__unstableMultilineWrapperTags;
|
||||
var convertedValue = Object(external_this_wp_richText_["create"])({
|
||||
html: convertedHtml,
|
||||
multilineTag: _multilineTag
|
||||
multilineTag: _multilineTag,
|
||||
multilineWrapperTags: _multilineWrapperTags
|
||||
});
|
||||
var newOffset = convertedValue.text.indexOf(START_OF_SELECTED_AREA);
|
||||
var newValue = Object(external_this_wp_richText_["remove"])(convertedValue, newOffset, newOffset + 1);
|
||||
|
@ -10939,7 +10965,7 @@ var block_async_mode_provider_BlockAsyncModeProvider = function BlockAsyncModePr
|
|||
/* harmony default export */ var block_async_mode_provider = (block_async_mode_provider_BlockAsyncModeProvider);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/react-spring/web.cjs.js
|
||||
var web_cjs = __webpack_require__(60);
|
||||
var web_cjs = __webpack_require__(64);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","dom"]}
|
||||
var external_this_wp_dom_ = __webpack_require__(25);
|
||||
|
@ -11398,7 +11424,7 @@ function Warning(_ref) {
|
|||
/* harmony default export */ var warning = (Warning);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/diff/dist/diff.js
|
||||
var dist_diff = __webpack_require__(196);
|
||||
var dist_diff = __webpack_require__(219);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-compare/block-view.js
|
||||
|
||||
|
@ -11783,7 +11809,7 @@ function (_Component) {
|
|||
/* harmony default export */ var block_crash_boundary = (block_crash_boundary_BlockCrashBoundary);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js
|
||||
var react_autosize_textarea_lib = __webpack_require__(59);
|
||||
var react_autosize_textarea_lib = __webpack_require__(62);
|
||||
var react_autosize_textarea_lib_default = /*#__PURE__*/__webpack_require__.n(react_autosize_textarea_lib);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-html.js
|
||||
|
@ -13991,7 +14017,9 @@ block_list_forceSyncUpdates, Object(external_this_wp_data_["withSelect"])(functi
|
|||
|
||||
function ScaledBlockPreview(_ref) {
|
||||
var blocks = _ref.blocks,
|
||||
viewportWidth = _ref.viewportWidth;
|
||||
viewportWidth = _ref.viewportWidth,
|
||||
_ref$padding = _ref.padding,
|
||||
padding = _ref$padding === void 0 ? 0 : _ref$padding;
|
||||
var previewRef = Object(external_this_wp_element_["useRef"])(null);
|
||||
|
||||
var _useState = Object(external_this_wp_element_["useState"])(false),
|
||||
|
@ -14034,13 +14062,19 @@ function ScaledBlockPreview(_ref) {
|
|||
}
|
||||
|
||||
var containerElementRect = containerElement.getBoundingClientRect();
|
||||
containerElementRect = {
|
||||
width: containerElementRect.width - padding * 2,
|
||||
height: containerElementRect.height - padding * 2,
|
||||
left: containerElementRect.left,
|
||||
top: containerElementRect.top
|
||||
};
|
||||
var scaledElementRect = previewElement.getBoundingClientRect();
|
||||
var scale = containerElementRect.width / scaledElementRect.width || 1;
|
||||
var offsetX = scaledElementRect.left - containerElementRect.left;
|
||||
var offsetY = containerElementRect.height > scaledElementRect.height * scale ? (containerElementRect.height - scaledElementRect.height * scale) / 2 : 0;
|
||||
var offsetX = -(scaledElementRect.left - containerElementRect.left) * scale + padding;
|
||||
var offsetY = containerElementRect.height > scaledElementRect.height * scale ? (containerElementRect.height - scaledElementRect.height * scale) / 2 + padding : 0;
|
||||
setPreviewScale(scale);
|
||||
setPosition({
|
||||
x: offsetX * scale,
|
||||
x: offsetX,
|
||||
y: offsetY
|
||||
}); // Hack: we need to reset the scaled elements margins
|
||||
|
||||
|
@ -14068,7 +14102,7 @@ function ScaledBlockPreview(_ref) {
|
|||
var previewStyles = {
|
||||
transform: "scale(".concat(previewScale, ")"),
|
||||
visibility: isReady ? 'visible' : 'hidden',
|
||||
left: -x,
|
||||
left: x,
|
||||
top: y,
|
||||
width: viewportWidth
|
||||
};
|
||||
|
@ -14088,6 +14122,7 @@ function BlockPreview(_ref2) {
|
|||
var blocks = _ref2.blocks,
|
||||
_ref2$viewportWidth = _ref2.viewportWidth,
|
||||
viewportWidth = _ref2$viewportWidth === void 0 ? 700 : _ref2$viewportWidth,
|
||||
padding = _ref2.padding,
|
||||
settings = _ref2.settings;
|
||||
var renderedBlocks = Object(external_this_wp_element_["useMemo"])(function () {
|
||||
return Object(external_lodash_["castArray"])(blocks);
|
||||
|
@ -14107,7 +14142,8 @@ function BlockPreview(_ref2) {
|
|||
}, Object(external_this_wp_element_["createElement"])(ScaledBlockPreview, {
|
||||
key: recompute,
|
||||
blocks: renderedBlocks,
|
||||
viewportWidth: viewportWidth
|
||||
viewportWidth: viewportWidth,
|
||||
padding: padding
|
||||
}));
|
||||
}
|
||||
/**
|
||||
|
@ -14736,14 +14772,17 @@ function (_Component) {
|
|||
className: "block-editor-inserter__menu-help-panel"
|
||||
}, hoveredItem && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !Object(external_this_wp_blocks_["isReusableBlock"])(hoveredItem) && Object(external_this_wp_element_["createElement"])(block_card, {
|
||||
blockType: hoveredItemBlockType
|
||||
}), (Object(external_this_wp_blocks_["isReusableBlock"])(hoveredItem) || hoveredItemBlockType.example) && Object(external_this_wp_element_["createElement"])("div", {
|
||||
}), Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-editor-inserter__preview"
|
||||
}, Object(external_this_wp_element_["createElement"])("div", {
|
||||
}, Object(external_this_wp_blocks_["isReusableBlock"])(hoveredItem) || hoveredItemBlockType.example ? Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-editor-inserter__preview-content"
|
||||
}, Object(external_this_wp_element_["createElement"])(block_preview, {
|
||||
padding: 10,
|
||||
viewportWidth: 500,
|
||||
blocks: hoveredItemBlockType.example ? Object(external_this_wp_blocks_["getBlockFromExample"])(hoveredItem.name, hoveredItemBlockType.example) : Object(external_this_wp_blocks_["createBlock"])(hoveredItem.name, hoveredItem.initialAttributes)
|
||||
})))), !hoveredItem && Object(external_this_wp_element_["createElement"])("div", {
|
||||
})) : Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-editor-inserter__preview-content-missing"
|
||||
}, Object(external_this_wp_i18n_["__"])('No Preview Available.')))), !hoveredItem && Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-editor-inserter__menu-help-panel-no-block"
|
||||
}, Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-editor-inserter__menu-help-panel-no-block-text"
|
||||
|
@ -15169,7 +15208,7 @@ function ContrastChecker(_ref2) {
|
|||
/* harmony default export */ var contrast_checker = (ContrastChecker);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(40);
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(41);
|
||||
var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/with-client-id.js
|
||||
|
@ -18066,7 +18105,7 @@ var skip_to_selected_block_SkipToSelectedBlock = function SkipToSelectedBlock(_r
|
|||
})(skip_to_selected_block_SkipToSelectedBlock));
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","tokenList"]}
|
||||
var external_this_wp_tokenList_ = __webpack_require__(135);
|
||||
var external_this_wp_tokenList_ = __webpack_require__(143);
|
||||
var external_this_wp_tokenList_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_tokenList_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-styles/index.js
|
||||
|
@ -18269,7 +18308,7 @@ function BlockStyles(_ref) {
|
|||
})])(BlockStyles));
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","wordcount"]}
|
||||
var external_this_wp_wordcount_ = __webpack_require__(93);
|
||||
var external_this_wp_wordcount_ = __webpack_require__(97);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/multi-selection-inspector/index.js
|
||||
|
||||
|
@ -18808,7 +18847,7 @@ function BlockSettingsMenu(_ref) {
|
|||
onClick: Object(external_lodash_["flow"])(onClose, onRemove),
|
||||
icon: "trash",
|
||||
shortcut: shortcuts.removeBlock.display
|
||||
}, Object(external_this_wp_i18n_["__"])('Remove Block'))));
|
||||
}, Object(external_this_wp_i18n_["_n"])('Remove Block', 'Remove Blocks', count))));
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
@ -20201,6 +20240,7 @@ function (_Component) {
|
|||
}, {
|
||||
key: "focusLastTextField",
|
||||
value: function focusLastTextField() {
|
||||
this.disableNavigationMode();
|
||||
var focusableNodes = external_this_wp_dom_["focus"].focusable.find(this.container);
|
||||
var target = Object(external_lodash_["findLast"])(focusableNodes, isTabbableTextField);
|
||||
|
||||
|
@ -20866,7 +20906,7 @@ Object(external_this_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps',
|
|||
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/traverse/index.js
|
||||
var traverse = __webpack_require__(197);
|
||||
var traverse = __webpack_require__(220);
|
||||
var traverse_default = /*#__PURE__*/__webpack_require__.n(traverse);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
||||
|
@ -21569,7 +21609,7 @@ function addParent(obj, parent) {
|
|||
/* eslint-enable @wordpress/no-unused-vars-before-return */
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/inherits/inherits_browser.js
|
||||
var inherits_browser = __webpack_require__(106);
|
||||
var inherits_browser = __webpack_require__(112);
|
||||
var inherits_browser_default = /*#__PURE__*/__webpack_require__.n(inherits_browser);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/stringify/compiler.js
|
||||
|
@ -22057,7 +22097,7 @@ function traverseCSS(css, callback) {
|
|||
/* harmony default export */ var transform_styles_traverse = (traverseCSS);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/url/url.js
|
||||
var url_url = __webpack_require__(79);
|
||||
var url_url = __webpack_require__(82);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/transforms/url-rewrite.js
|
||||
|
||||
|
@ -22388,25 +22428,6 @@ var transform_styles_transformStyles = function transformStyles(styles) {
|
|||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 34:
|
||||
/***/ (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__(84)();
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 35:
|
||||
|
@ -22734,7 +22755,7 @@ function _nonIterableRest() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 40:
|
||||
/***/ 41:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["isShallowEqual"]; }());
|
||||
|
@ -24829,19 +24850,19 @@ function _assertThisInitialized(self) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 59:
|
||||
/***/ 62:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
exports.__esModule = true;
|
||||
var TextareaAutosize_1 = __webpack_require__(109);
|
||||
var TextareaAutosize_1 = __webpack_require__(115);
|
||||
exports["default"] = TextareaAutosize_1["default"];
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 60:
|
||||
/***/ 64:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -24851,12 +24872,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|||
|
||||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
||||
|
||||
var _extends = _interopDefault(__webpack_require__(113));
|
||||
var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(114));
|
||||
var _extends = _interopDefault(__webpack_require__(119));
|
||||
var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(120));
|
||||
var React = __webpack_require__(28);
|
||||
var React__default = _interopDefault(React);
|
||||
var _inheritsLoose = _interopDefault(__webpack_require__(115));
|
||||
var _assertThisInitialized = _interopDefault(__webpack_require__(116));
|
||||
var _inheritsLoose = _interopDefault(__webpack_require__(121));
|
||||
var _assertThisInitialized = _interopDefault(__webpack_require__(122));
|
||||
|
||||
var is = {
|
||||
arr: Array.isArray,
|
||||
|
@ -27172,7 +27193,7 @@ exports.useSprings = useSprings;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 61:
|
||||
/***/ 65:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
var g;
|
||||
|
@ -27199,17 +27220,45 @@ module.exports = g;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 65:
|
||||
/***/ 68:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
module.exports = __webpack_require__(107);
|
||||
module.exports = __webpack_require__(113);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 69:
|
||||
/***/ 7:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
|
||||
/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10);
|
||||
|
||||
function _objectSpread(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i] != null ? arguments[i] : {};
|
||||
var ownKeys = Object.keys(source);
|
||||
|
||||
if (typeof Object.getOwnPropertySymbols === 'function') {
|
||||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
|
||||
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
||||
}));
|
||||
}
|
||||
|
||||
ownKeys.forEach(function (key) {
|
||||
Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
|
||||
});
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 72:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -27265,35 +27314,14 @@ module.exports = refx;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
/***/ 8:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
|
||||
/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10);
|
||||
|
||||
function _objectSpread(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i] != null ? arguments[i] : {};
|
||||
var ownKeys = Object.keys(source);
|
||||
|
||||
if (typeof Object.getOwnPropertySymbols === 'function') {
|
||||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
|
||||
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
||||
}));
|
||||
}
|
||||
|
||||
ownKeys.forEach(function (key) {
|
||||
Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
|
||||
});
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
(function() { module.exports = this["wp"]["compose"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 79:
|
||||
/***/ 82:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -27320,8 +27348,8 @@ function _objectSpread(target) {
|
|||
|
||||
|
||||
|
||||
var punycode = __webpack_require__(117);
|
||||
var util = __webpack_require__(119);
|
||||
var punycode = __webpack_require__(123);
|
||||
var util = __webpack_require__(125);
|
||||
|
||||
exports.parse = urlParse;
|
||||
exports.resolve = urlResolve;
|
||||
|
@ -27396,7 +27424,7 @@ var protocolPattern = /^([a-z0-9.+-]+:)/i,
|
|||
'gopher:': true,
|
||||
'file:': true
|
||||
},
|
||||
querystring = __webpack_require__(120);
|
||||
querystring = __webpack_require__(126);
|
||||
|
||||
function urlParse(url, parseQueryString, slashesDenoteHost) {
|
||||
if (url && util.isObject(url) && url instanceof Url) return url;
|
||||
|
@ -28033,14 +28061,7 @@ Url.prototype.parseHost = function() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["compose"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 84:
|
||||
/***/ 87:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -28053,7 +28074,7 @@ Url.prototype.parseHost = function() {
|
|||
|
||||
|
||||
|
||||
var ReactPropTypesSecret = __webpack_require__(85);
|
||||
var ReactPropTypesSecret = __webpack_require__(88);
|
||||
|
||||
function emptyFunction() {}
|
||||
function emptyFunctionWithReset() {}
|
||||
|
@ -28112,7 +28133,7 @@ module.exports = function() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 85:
|
||||
/***/ 88:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -28139,7 +28160,7 @@ module.exports = ReactPropTypesSecret;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 93:
|
||||
/***/ 97:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["wordcount"]; }());
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,60 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 212);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 235);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 212:
|
||||
/***/ 23:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(38);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
var _arr = [];
|
||||
var _n = true;
|
||||
var _d = false;
|
||||
var _e = undefined;
|
||||
|
||||
try {
|
||||
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
||||
_arr.push(_s.value);
|
||||
|
||||
if (i && _arr.length === i) break;
|
||||
}
|
||||
} catch (err) {
|
||||
_d = true;
|
||||
_e = err;
|
||||
} finally {
|
||||
try {
|
||||
if (!_n && _i["return"] != null) _i["return"]();
|
||||
} finally {
|
||||
if (_d) throw _e;
|
||||
}
|
||||
}
|
||||
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
|
||||
|
||||
|
||||
|
||||
function _slicedToArray(arr, i) {
|
||||
return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])();
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 235:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -475,54 +523,6 @@ function addBlockFromStack(endOffset) {
|
|||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 23:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(38);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
var _arr = [];
|
||||
var _n = true;
|
||||
var _d = false;
|
||||
var _e = undefined;
|
||||
|
||||
try {
|
||||
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
||||
_arr.push(_s.value);
|
||||
|
||||
if (i && _arr.length === i) break;
|
||||
}
|
||||
} catch (err) {
|
||||
_d = true;
|
||||
_e = err;
|
||||
} finally {
|
||||
try {
|
||||
if (!_n && _i["return"] != null) _i["return"]();
|
||||
} finally {
|
||||
if (_d) throw _e;
|
||||
}
|
||||
}
|
||||
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
|
||||
|
||||
|
||||
|
||||
function _slicedToArray(arr, i) {
|
||||
return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])();
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 38:
|
||||
|
|
|
@ -1 +1 @@
|
|||
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=212)}({212:function(n,t,r){"use strict";r.r(t),r.d(t,"parse",(function(){return a}));var e,u,o,i,l=r(23),c=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function s(n,t,r,e,u){return{blockName:n,attrs:t,innerBlocks:r,innerHTML:e,innerContent:u}}function f(n){return s(null,{},[],n,[n])}var a=function(n){e=n,u=0,o=[],i=[],c.lastIndex=0;do{}while(p());return o};function p(){var n=function(){var n=c.exec(e);if(null===n)return["no-more-tokens"];var t=n.index,r=Object(l.a)(n,7),u=r[0],o=r[1],i=r[2],s=r[3],f=r[4],a=r[6],p=u.length,b=!!o,v=!!a,d=(i||"core/")+s,h=!!f,k=h?function(n){try{return JSON.parse(n)}catch(n){return null}}(f):{};if(v)return["void-block",d,k,t,p];if(b)return["block-closer",d,null,t,p];return["block-opener",d,k,t,p]}(),t=Object(l.a)(n,5),r=t[0],a=t[1],p=t[2],h=t[3],k=t[4],y=i.length,O=h>u?u:null;switch(r){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0<i.length;)d();return!1;case"void-block":return 0===y?(null!==O&&o.push(f(e.substr(O,h-O))),o.push(s(a,p,[],"",[])),u=h+k,!0):(v(s(a,p,[],"",[]),h,k),u=h+k,!0);case"block-opener":return i.push(function(n,t,r,e,u){return{block:n,tokenStart:t,tokenLength:r,prevOffset:e||t+r,leadingHtmlStart:u}}(s(a,p,[],"",[]),h,k,h+k,O)),u=h+k,!0;case"block-closer":if(0===y)return b(),!1;if(1===y)return d(h),u=h+k,!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+k,v(g.block,g.tokenStart,g.tokenLength,h+k),u=h+k,!0;default:return b(),!1}}function b(n){var t=n||e.length-u;0!==t&&o.push(f(e.substr(u,t)))}function v(n,t,r,u){var o=i[i.length-1];o.block.innerBlocks.push(n);var l=e.substr(o.prevOffset,t-o.prevOffset);l&&(o.block.innerHTML+=l,o.block.innerContent.push(l)),o.block.innerContent.push(null),o.prevOffset=u||t+r}function d(n){var t=i.pop(),r=t.block,u=t.leadingHtmlStart,l=t.prevOffset,c=t.tokenStart,s=n?e.substr(l,n-l):e.substr(l);s&&(r.innerHTML+=s,r.innerContent.push(s)),null!==u&&o.push(f(e.substr(u,c-u))),o.push(r)}},23:function(n,t,r){"use strict";var e=r(38);var u=r(39);function o(n,t){return Object(e.a)(n)||function(n,t){var r=[],e=!0,u=!1,o=void 0;try{for(var i,l=n[Symbol.iterator]();!(e=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){u=!0,o=n}finally{try{e||null==l.return||l.return()}finally{if(u)throw o}}return r}(n,t)||Object(u.a)()}r.d(t,"a",(function(){return o}))},38:function(n,t,r){"use strict";function e(n){if(Array.isArray(n))return n}r.d(t,"a",(function(){return e}))},39:function(n,t,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",(function(){return e}))}});
|
||||
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=235)}({23:function(n,t,r){"use strict";var e=r(38);var u=r(39);function o(n,t){return Object(e.a)(n)||function(n,t){var r=[],e=!0,u=!1,o=void 0;try{for(var i,l=n[Symbol.iterator]();!(e=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){u=!0,o=n}finally{try{e||null==l.return||l.return()}finally{if(u)throw o}}return r}(n,t)||Object(u.a)()}r.d(t,"a",(function(){return o}))},235:function(n,t,r){"use strict";r.r(t),r.d(t,"parse",(function(){return a}));var e,u,o,i,l=r(23),c=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function s(n,t,r,e,u){return{blockName:n,attrs:t,innerBlocks:r,innerHTML:e,innerContent:u}}function f(n){return s(null,{},[],n,[n])}var a=function(n){e=n,u=0,o=[],i=[],c.lastIndex=0;do{}while(p());return o};function p(){var n=function(){var n=c.exec(e);if(null===n)return["no-more-tokens"];var t=n.index,r=Object(l.a)(n,7),u=r[0],o=r[1],i=r[2],s=r[3],f=r[4],a=r[6],p=u.length,b=!!o,v=!!a,d=(i||"core/")+s,h=!!f,k=h?function(n){try{return JSON.parse(n)}catch(n){return null}}(f):{};if(v)return["void-block",d,k,t,p];if(b)return["block-closer",d,null,t,p];return["block-opener",d,k,t,p]}(),t=Object(l.a)(n,5),r=t[0],a=t[1],p=t[2],h=t[3],k=t[4],y=i.length,O=h>u?u:null;switch(r){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0<i.length;)d();return!1;case"void-block":return 0===y?(null!==O&&o.push(f(e.substr(O,h-O))),o.push(s(a,p,[],"",[])),u=h+k,!0):(v(s(a,p,[],"",[]),h,k),u=h+k,!0);case"block-opener":return i.push(function(n,t,r,e,u){return{block:n,tokenStart:t,tokenLength:r,prevOffset:e||t+r,leadingHtmlStart:u}}(s(a,p,[],"",[]),h,k,h+k,O)),u=h+k,!0;case"block-closer":if(0===y)return b(),!1;if(1===y)return d(h),u=h+k,!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+k,v(g.block,g.tokenStart,g.tokenLength,h+k),u=h+k,!0;default:return b(),!1}}function b(n){var t=n||e.length-u;0!==t&&o.push(f(e.substr(u,t)))}function v(n,t,r,u){var o=i[i.length-1];o.block.innerBlocks.push(n);var l=e.substr(o.prevOffset,t-o.prevOffset);l&&(o.block.innerHTML+=l,o.block.innerContent.push(l)),o.block.innerContent.push(null),o.prevOffset=u||t+r}function d(n){var t=i.pop(),r=t.block,u=t.leadingHtmlStart,l=t.prevOffset,c=t.tokenStart,s=n?e.substr(l,n-l):e.substr(l);s&&(r.innerHTML+=s,r.innerContent.push(s)),null!==u&&o.push(f(e.substr(u,c-u))),o.push(r)}},38:function(n,t,r){"use strict";function e(n){if(Array.isArray(n))return n}r.d(t,"a",(function(){return e}))},39:function(n,t,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",(function(){return e}))}});
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blocks"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 316);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 347);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -159,7 +159,7 @@ function _classCallCheck(instance, Constructor) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 136:
|
||||
/***/ 144:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["shortcode"]; }());
|
||||
|
@ -224,13 +224,6 @@ function _extends() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 199:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blockSerializationDefaultParser"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
|
@ -238,7 +231,14 @@ function _extends() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 200:
|
||||
/***/ 222:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blockSerializationDefaultParser"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 223:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;;/*! showdown v 1.9.0 - 10-11-2018 */
|
||||
|
@ -5455,7 +5455,7 @@ function _iterableToArray(iter) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 316:
|
||||
/***/ 347:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -6083,7 +6083,7 @@ Object(external_this_wp_data_["registerStore"])('core/blocks', {
|
|||
});
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/uuid/v4.js
|
||||
var v4 = __webpack_require__(64);
|
||||
var v4 = __webpack_require__(67);
|
||||
var v4_default = /*#__PURE__*/__webpack_require__.n(v4);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","hooks"]}
|
||||
|
@ -7277,10 +7277,10 @@ function query(selector, matchers) {
|
|||
};
|
||||
}
|
||||
// EXTERNAL MODULE: external {"this":["wp","autop"]}
|
||||
var external_this_wp_autop_ = __webpack_require__(66);
|
||||
var external_this_wp_autop_ = __webpack_require__(69);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","blockSerializationDefaultParser"]}
|
||||
var external_this_wp_blockSerializationDefaultParser_ = __webpack_require__(199);
|
||||
var external_this_wp_blockSerializationDefaultParser_ = __webpack_require__(222);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(38);
|
||||
|
@ -8047,7 +8047,7 @@ function createQueuedLogger() {
|
|||
}
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(40);
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(41);
|
||||
var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
||||
|
@ -10627,7 +10627,7 @@ function canHaveAnchor(node, schema) {
|
|||
});
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","shortcode"]}
|
||||
var external_this_wp_shortcode_ = __webpack_require__(136);
|
||||
var external_this_wp_shortcode_ = __webpack_require__(144);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js
|
||||
|
||||
|
@ -10983,7 +10983,7 @@ var image_corrector_window = window,
|
|||
});
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/showdown/dist/showdown.js
|
||||
var showdown = __webpack_require__(200);
|
||||
var showdown = __webpack_require__(223);
|
||||
var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js
|
||||
|
@ -11967,7 +11967,7 @@ function _nonIterableRest() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 40:
|
||||
/***/ 41:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["isShallowEqual"]; }());
|
||||
|
@ -13182,11 +13182,11 @@ else {}
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 64:
|
||||
/***/ 67:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var rng = __webpack_require__(82);
|
||||
var bytesToUuid = __webpack_require__(83);
|
||||
var rng = __webpack_require__(85);
|
||||
var bytesToUuid = __webpack_require__(86);
|
||||
|
||||
function v4(options, buf, offset) {
|
||||
var i = buf && offset || 0;
|
||||
|
@ -13218,7 +13218,7 @@ module.exports = v4;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 66:
|
||||
/***/ 69:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["autop"]; }());
|
||||
|
@ -13260,7 +13260,7 @@ function _objectSpread(target) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 82:
|
||||
/***/ 85:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
// Unique ID creation requires a high quality random # generator. In the
|
||||
|
@ -13301,7 +13301,7 @@ if (getRandomValues) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 83:
|
||||
/***/ 86:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/**
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["compose"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 322);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 354);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -94,7 +94,30 @@ this["wp"] = this["wp"] || {}; this["wp"]["compose"] =
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 104:
|
||||
/***/ 11:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
|
||||
function _defineProperties(target, props) {
|
||||
for (var i = 0; i < props.length; i++) {
|
||||
var descriptor = props[i];
|
||||
descriptor.enumerable = descriptor.enumerable || false;
|
||||
descriptor.configurable = true;
|
||||
if ("value" in descriptor) descriptor.writable = true;
|
||||
Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) {
|
||||
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
||||
if (staticProps) _defineProperties(Constructor, staticProps);
|
||||
return Constructor;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 110:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -137,29 +160,6 @@ function useMediaQuery(query) {
|
|||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 11:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
|
||||
function _defineProperties(target, props) {
|
||||
for (var i = 0; i < props.length; i++) {
|
||||
var descriptor = props[i];
|
||||
descriptor.enumerable = descriptor.enumerable || false;
|
||||
descriptor.configurable = true;
|
||||
if ("value" in descriptor) descriptor.writable = true;
|
||||
Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) {
|
||||
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
||||
if (staticProps) _defineProperties(Constructor, staticProps);
|
||||
return Constructor;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 12:
|
||||
|
@ -267,11 +267,18 @@ function _extends() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 187:
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["lodash"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 210:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _use_media_query__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(104);
|
||||
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _use_media_query__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(110);
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
|
@ -296,14 +303,7 @@ var useReducedMotion = process.env.FORCE_REDUCED_MOTION || IS_IE ? function () {
|
|||
};
|
||||
/* harmony default export */ __webpack_exports__["a"] = (useReducedMotion);
|
||||
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(285)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["lodash"]; }());
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(316)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
@ -355,7 +355,30 @@ function _slicedToArray(arr, i) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 285:
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
|
||||
function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
|
||||
|
||||
function _typeof(obj) {
|
||||
if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
|
||||
_typeof = function _typeof(obj) {
|
||||
return _typeof2(obj);
|
||||
};
|
||||
} else {
|
||||
_typeof = function _typeof(obj) {
|
||||
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
|
||||
};
|
||||
}
|
||||
|
||||
return _typeof(obj);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 316:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
// shim for using process in browser
|
||||
|
@ -546,30 +569,7 @@ process.umask = function() { return 0; };
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
|
||||
function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
|
||||
|
||||
function _typeof(obj) {
|
||||
if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
|
||||
_typeof = function _typeof(obj) {
|
||||
return _typeof2(obj);
|
||||
};
|
||||
} else {
|
||||
_typeof = function _typeof(obj) {
|
||||
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
|
||||
};
|
||||
}
|
||||
|
||||
return _typeof(obj);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 322:
|
||||
/***/ 354:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -656,7 +656,7 @@ var getPrototypeOf = __webpack_require__(14);
|
|||
var inherits = __webpack_require__(15);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(40);
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(41);
|
||||
var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/pure/index.js
|
||||
|
@ -1170,10 +1170,10 @@ function withState() {
|
|||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js
|
||||
var use_media_query = __webpack_require__(104);
|
||||
var use_media_query = __webpack_require__(110);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js
|
||||
var use_reduced_motion = __webpack_require__(187);
|
||||
var use_reduced_motion = __webpack_require__(210);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/index.js
|
||||
/* concated harmony reexport createHigherOrderComponent */__webpack_require__.d(__webpack_exports__, "createHigherOrderComponent", function() { return create_higher_order_component; });
|
||||
|
@ -1238,7 +1238,7 @@ function _nonIterableRest() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 40:
|
||||
/***/ 41:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["isShallowEqual"]; }());
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["coreData"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 318);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 349);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -223,7 +223,14 @@ function _iterableToArray(iter) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 318:
|
||||
/***/ 34:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 349:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -308,7 +315,7 @@ var defineProperty = __webpack_require__(10);
|
|||
var external_lodash_ = __webpack_require__(2);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(40);
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(41);
|
||||
var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/conservative-map-item.js
|
||||
|
@ -521,7 +528,7 @@ function receiveQueriedItems(items) {
|
|||
var rememo = __webpack_require__(36);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
|
||||
var equivalent_key_map = __webpack_require__(72);
|
||||
var equivalent_key_map = __webpack_require__(74);
|
||||
var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","url"]}
|
||||
|
@ -697,7 +704,7 @@ var regenerator = __webpack_require__(20);
|
|||
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(32);
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(34);
|
||||
var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/controls.js
|
||||
|
@ -1012,7 +1019,7 @@ function editEntityRecord(kind, name, recordId, edits) {
|
|||
edits: Object.keys(edits).reduce(function (acc, key) {
|
||||
var recordValue = record[key];
|
||||
var editedRecordValue = editedRecord[key];
|
||||
var value = mergedEdits[key] ? Object(external_lodash_["merge"])({}, editedRecordValue, edits[key]) : edits[key];
|
||||
var value = mergedEdits[key] ? Object(objectSpread["a" /* default */])({}, editedRecordValue, edits[key]) : edits[key];
|
||||
acc[key] = Object(external_lodash_["isEqual"])(recordValue, value) ? undefined : value;
|
||||
return acc;
|
||||
}, {}),
|
||||
|
@ -2161,17 +2168,32 @@ function reducer_undo() {
|
|||
switch (action.type) {
|
||||
case 'EDIT_ENTITY_RECORD':
|
||||
case 'CREATE_UNDO_LEVEL':
|
||||
if (action.type === 'CREATE_UNDO_LEVEL') {
|
||||
var isCreateUndoLevel = action.type === 'CREATE_UNDO_LEVEL';
|
||||
var isUndoOrRedo = !isCreateUndoLevel && (action.meta.isUndo || action.meta.isRedo);
|
||||
|
||||
if (isCreateUndoLevel) {
|
||||
action = lastEditAction;
|
||||
} else {
|
||||
} else if (!isUndoOrRedo) {
|
||||
lastEditAction = action;
|
||||
}
|
||||
|
||||
if (action.meta.isUndo || action.meta.isRedo) {
|
||||
var _nextState = Object(toConsumableArray["a" /* default */])(state);
|
||||
var nextState;
|
||||
|
||||
_nextState.offset = state.offset + (action.meta.isUndo ? -1 : 1);
|
||||
return _nextState;
|
||||
if (isUndoOrRedo) {
|
||||
nextState = Object(toConsumableArray["a" /* default */])(state);
|
||||
nextState.offset = state.offset + (action.meta.isUndo ? -1 : 1);
|
||||
|
||||
if (state.flattenedUndo) {
|
||||
// The first undo in a sequence of undos might happen while we have
|
||||
// flattened undos in state. If this is the case, we want execution
|
||||
// to continue as if we were creating an explicit undo level. This
|
||||
// will result in an extra undo level being appended with the flattened
|
||||
// undo values.
|
||||
isCreateUndoLevel = true;
|
||||
action = lastEditAction;
|
||||
} else {
|
||||
return nextState;
|
||||
}
|
||||
}
|
||||
|
||||
if (!action.meta.undo) {
|
||||
|
@ -2181,28 +2203,31 @@ function reducer_undo() {
|
|||
// are merged. They are defined in the entity's config.
|
||||
|
||||
|
||||
if (!Object.keys(action.edits).some(function (key) {
|
||||
if (!isCreateUndoLevel && !Object.keys(action.edits).some(function (key) {
|
||||
return !action.transientEdits[key];
|
||||
})) {
|
||||
var _nextState2 = Object(toConsumableArray["a" /* default */])(state);
|
||||
|
||||
_nextState2.flattenedUndo = Object(objectSpread["a" /* default */])({}, state.flattenedUndo, action.edits);
|
||||
_nextState2.offset = state.offset;
|
||||
return _nextState2;
|
||||
nextState = Object(toConsumableArray["a" /* default */])(state);
|
||||
nextState.flattenedUndo = Object(objectSpread["a" /* default */])({}, state.flattenedUndo, action.edits);
|
||||
nextState.offset = state.offset;
|
||||
return nextState;
|
||||
} // Clear potential redos, because this only supports linear history.
|
||||
|
||||
|
||||
var nextState = state.slice(0, state.offset || undefined);
|
||||
nextState.offset = 0;
|
||||
nextState = nextState || state.slice(0, state.offset || undefined);
|
||||
nextState.offset = nextState.offset || 0;
|
||||
nextState.pop();
|
||||
|
||||
if (!isCreateUndoLevel) {
|
||||
nextState.push({
|
||||
kind: action.meta.undo.kind,
|
||||
name: action.meta.undo.name,
|
||||
recordId: action.meta.undo.recordId,
|
||||
edits: Object(objectSpread["a" /* default */])({}, state.flattenedUndo, action.meta.undo.edits)
|
||||
}); // When an edit is a function it's an optimization to avoid running some expensive operation.
|
||||
});
|
||||
} // When an edit is a function it's an optimization to avoid running some expensive operation.
|
||||
// We can't rely on the function references being the same so we opt out of comparing them here.
|
||||
|
||||
|
||||
var comparisonUndoEdits = Object.values(action.meta.undo.edits).filter(function (edit) {
|
||||
return typeof edit !== 'function';
|
||||
});
|
||||
|
@ -2215,7 +2240,7 @@ function reducer_undo() {
|
|||
kind: action.kind,
|
||||
name: action.name,
|
||||
recordId: action.recordId,
|
||||
edits: action.edits
|
||||
edits: isCreateUndoLevel ? Object(objectSpread["a" /* default */])({}, state.flattenedUndo, action.edits) : action.edits
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -3378,13 +3403,6 @@ Object(external_this_wp_data_["registerStore"])(REDUCER_KEY, {
|
|||
});
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36:
|
||||
|
@ -3705,7 +3723,7 @@ function _nonIterableRest() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 40:
|
||||
/***/ 41:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["isShallowEqual"]; }());
|
||||
|
@ -4473,7 +4491,7 @@ function _objectSpread(target) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 72:
|
||||
/***/ 74:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["dataControls"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 287);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 317);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -120,7 +120,18 @@ function _toConsumableArray(arr) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 287:
|
||||
/***/ 30:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
|
||||
function _iterableToArray(iter) {
|
||||
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 317:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -130,7 +141,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__, "controls", function() { return controls; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
|
||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(32);
|
||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(34);
|
||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
|
||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
|
||||
|
@ -341,18 +352,7 @@ var controls = {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 30:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
|
||||
function _iterableToArray(iter) {
|
||||
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 34:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
|
|
@ -1 +1 @@
|
|||
this.wp=this.wp||{},this.wp.dataControls=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},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,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=287)}({17:function(t,e,r){"use strict";var n=r(30);function o(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||Object(n.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(e,"a",(function(){return o}))},287:function(t,e,r){"use strict";r.r(e),r.d(e,"apiFetch",(function(){return c})),r.d(e,"select",(function(){return a})),r.d(e,"dispatch",(function(){return s})),r.d(e,"controls",(function(){return f}));var n=r(17),o=r(32),u=r.n(o),i=r(4),c=function(t){return{type:"API_FETCH",request:t}};function a(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"SELECT",storeKey:t,selectorName:e,args:n}}function s(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"DISPATCH",storeKey:t,actionName:e,args:n}}var f={API_FETCH:function(t){var e=t.request;return u()(e)},SELECT:Object(i.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.selectorName,i=e.args;return t.select(o)[u].hasResolver?function(t,e){var r=e.storeKey,n=e.selectorName,o=e.args;return new Promise((function(e){var u=function(){return t.select("core/data").hasFinishedResolution(r,n,o)},i=function(){return t.select(r)[n].apply(null,o)},c=i();if(u())return e(c);var a=t.subscribe((function(){u()&&(a(),e(i()))}))}))}(t,{storeKey:o,selectorName:u,args:i}):(r=t.select(o))[u].apply(r,Object(n.a)(i))}})),DISPATCH:Object(i.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.actionName,i=e.args;return(r=t.dispatch(o))[u].apply(r,Object(n.a)(i))}}))}},30:function(t,e,r){"use strict";function n(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(e,"a",(function(){return n}))},32:function(t,e){!function(){t.exports=this.wp.apiFetch}()},4:function(t,e){!function(){t.exports=this.wp.data}()}});
|
||||
this.wp=this.wp||{},this.wp.dataControls=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},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,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=317)}({17:function(t,e,r){"use strict";var n=r(30);function o(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||Object(n.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(e,"a",(function(){return o}))},30:function(t,e,r){"use strict";function n(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(e,"a",(function(){return n}))},317:function(t,e,r){"use strict";r.r(e),r.d(e,"apiFetch",(function(){return c})),r.d(e,"select",(function(){return a})),r.d(e,"dispatch",(function(){return s})),r.d(e,"controls",(function(){return f}));var n=r(17),o=r(34),u=r.n(o),i=r(4),c=function(t){return{type:"API_FETCH",request:t}};function a(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"SELECT",storeKey:t,selectorName:e,args:n}}function s(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"DISPATCH",storeKey:t,actionName:e,args:n}}var f={API_FETCH:function(t){var e=t.request;return u()(e)},SELECT:Object(i.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.selectorName,i=e.args;return t.select(o)[u].hasResolver?function(t,e){var r=e.storeKey,n=e.selectorName,o=e.args;return new Promise((function(e){var u=function(){return t.select("core/data").hasFinishedResolution(r,n,o)},i=function(){return t.select(r)[n].apply(null,o)},c=i();if(u())return e(c);var a=t.subscribe((function(){u()&&(a(),e(i()))}))}))}(t,{storeKey:o,selectorName:u,args:i}):(r=t.select(o))[u].apply(r,Object(n.a)(i))}})),DISPATCH:Object(i.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.actionName,i=e.args;return(r=t.dispatch(o))[u].apply(r,Object(n.a)(i))}}))}},34:function(t,e){!function(){t.exports=this.wp.apiFetch}()},4:function(t,e){!function(){t.exports=this.wp.data}()}});
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["data"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 317);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 348);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -116,7 +116,7 @@ function _defineProperty(obj, key, value) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 105:
|
||||
/***/ 111:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
function combineReducers( reducers ) {
|
||||
|
@ -175,11 +175,11 @@ module.exports = combineReducers;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 137:
|
||||
/***/ 145:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(206);
|
||||
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(229);
|
||||
/* global window */
|
||||
|
||||
|
||||
|
@ -198,7 +198,7 @@ if (typeof self !== 'undefined') {
|
|||
var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(root);
|
||||
/* harmony default export */ __webpack_exports__["a"] = (result);
|
||||
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(61), __webpack_require__(286)(module)))
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(65), __webpack_require__(318)(module)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
@ -275,14 +275,14 @@ module.exports = __webpack_require__(47);
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 205:
|
||||
/***/ 228:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["reduxRoutine"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 206:
|
||||
/***/ 229:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -306,13 +306,6 @@ function symbolObservablePonyfill(root) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 207:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["priorityQueue"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 23:
|
||||
|
@ -363,7 +356,25 @@ function _slicedToArray(arr, i) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 286:
|
||||
/***/ 230:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["priorityQueue"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 30:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
|
||||
function _iterableToArray(iter) {
|
||||
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 318:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = function(originalModule) {
|
||||
|
@ -394,18 +405,7 @@ module.exports = function(originalModule) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 30:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
|
||||
function _iterableToArray(iter) {
|
||||
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 317:
|
||||
/***/ 348:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -430,7 +430,7 @@ __webpack_require__.d(plugins_namespaceObject, "controls", function() { return c
|
|||
__webpack_require__.d(plugins_namespaceObject, "persistence", function() { return plugins_persistence; });
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/turbo-combine-reducers/index.js
|
||||
var turbo_combine_reducers = __webpack_require__(105);
|
||||
var turbo_combine_reducers = __webpack_require__(111);
|
||||
var turbo_combine_reducers_default = /*#__PURE__*/__webpack_require__.n(turbo_combine_reducers);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
|
||||
|
@ -450,7 +450,7 @@ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
|||
var asyncToGenerator = __webpack_require__(43);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/symbol-observable/es/index.js
|
||||
var es = __webpack_require__(137);
|
||||
var es = __webpack_require__(145);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/redux/es/redux.js
|
||||
|
||||
|
@ -1102,11 +1102,11 @@ if (false) {}
|
|||
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","reduxRoutine"]}
|
||||
var external_this_wp_reduxRoutine_ = __webpack_require__(205);
|
||||
var external_this_wp_reduxRoutine_ = __webpack_require__(228);
|
||||
var external_this_wp_reduxRoutine_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_reduxRoutine_);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/is-promise/index.js
|
||||
var is_promise = __webpack_require__(94);
|
||||
var is_promise = __webpack_require__(98);
|
||||
var is_promise_default = /*#__PURE__*/__webpack_require__.n(is_promise);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/promise-middleware.js
|
||||
|
@ -1197,7 +1197,7 @@ var resolvers_cache_middleware_createResolversCacheMiddleware = function createR
|
|||
/* harmony default export */ var resolvers_cache_middleware = (resolvers_cache_middleware_createResolversCacheMiddleware);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
|
||||
var equivalent_key_map = __webpack_require__(72);
|
||||
var equivalent_key_map = __webpack_require__(74);
|
||||
var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||
|
@ -2442,10 +2442,10 @@ var external_this_wp_element_ = __webpack_require__(0);
|
|||
var external_this_wp_compose_ = __webpack_require__(8);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","priorityQueue"]}
|
||||
var external_this_wp_priorityQueue_ = __webpack_require__(207);
|
||||
var external_this_wp_priorityQueue_ = __webpack_require__(230);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(40);
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(41);
|
||||
var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/registry-provider/context.js
|
||||
|
@ -3354,7 +3354,7 @@ function _nonIterableRest() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 40:
|
||||
/***/ 41:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["isShallowEqual"]; }());
|
||||
|
@ -4137,7 +4137,7 @@ try {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 61:
|
||||
/***/ 65:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
var g;
|
||||
|
@ -4192,7 +4192,7 @@ function _objectSpread(target) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 72:
|
||||
/***/ 74:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -4514,7 +4514,7 @@ module.exports = EquivalentKeyMap;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 94:
|
||||
/***/ 98:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = isPromise;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["deprecated"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 292);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 323);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["deprecated"] =
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 292:
|
||||
/***/ 323:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
|
@ -1 +1 @@
|
|||
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=292)}({27:function(e,t){!function(){e.exports=this.wp.hooks}()},292: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(27),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):"",f=n?" and will be removed".concat(l," in version ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",s=u?" See: ".concat(u):"",p=a?" Note: ".concat(a):"",b="".concat(e," is deprecated").concat(f,".").concat(d).concat(s).concat(p);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=323)}({27:function(e,t){!function(){e.exports=this.wp.hooks}()},323: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(27),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):"",f=n?" and will be removed".concat(l," in version ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",s=u?" See: ".concat(u):"",p=a?" Note: ".concat(a):"",b="".concat(e," is deprecated").concat(f,".").concat(d).concat(s).concat(p);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default;
|
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["domReady"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 293);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 324);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 293:
|
||||
/***/ 324:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
|
@ -1 +1 @@
|
|||
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=293)}({293:function(e,t,n){"use strict";n.r(t);t.default=function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)}}}).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=324)}({324:function(e,t,n){"use strict";n.r(t);t.default=function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)}}}).default;
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["dom"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 333);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 364);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -138,7 +138,7 @@ function _iterableToArray(iter) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 333:
|
||||
/***/ 364:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["editPost"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 314);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 345);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -178,13 +178,6 @@ function _possibleConstructorReturn(self, call) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 134:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["notices"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
|
@ -199,6 +192,13 @@ function _getPrototypeOf(o) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 142:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["notices"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
|
@ -363,13 +363,6 @@ function _extends() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 208:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blockLibrary"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 21:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
|
@ -462,6 +455,13 @@ function _slicedToArray(arr, i) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 231:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blockLibrary"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 24:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
|
@ -524,7 +524,14 @@ function _typeof(obj) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 314:
|
||||
/***/ 34:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 345:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -578,7 +585,7 @@ __webpack_require__.d(selectors_namespaceObject, "isSavingMetaBoxes", function()
|
|||
var external_this_wp_element_ = __webpack_require__(0);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","coreData"]}
|
||||
var external_this_wp_coreData_ = __webpack_require__(86);
|
||||
var external_this_wp_coreData_ = __webpack_require__(89);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
|
||||
var external_this_wp_blockEditor_ = __webpack_require__(6);
|
||||
|
@ -587,22 +594,22 @@ var external_this_wp_blockEditor_ = __webpack_require__(6);
|
|||
var external_this_wp_editor_ = __webpack_require__(24);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","nux"]}
|
||||
var external_this_wp_nux_ = __webpack_require__(58);
|
||||
var external_this_wp_nux_ = __webpack_require__(61);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","viewport"]}
|
||||
var external_this_wp_viewport_ = __webpack_require__(42);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","notices"]}
|
||||
var external_this_wp_notices_ = __webpack_require__(134);
|
||||
var external_this_wp_notices_ = __webpack_require__(142);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","blockLibrary"]}
|
||||
var external_this_wp_blockLibrary_ = __webpack_require__(208);
|
||||
var external_this_wp_blockLibrary_ = __webpack_require__(231);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","hooks"]}
|
||||
var external_this_wp_hooks_ = __webpack_require__(27);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","mediaUtils"]}
|
||||
var external_this_wp_mediaUtils_ = __webpack_require__(95);
|
||||
var external_this_wp_mediaUtils_ = __webpack_require__(99);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/components/index.js
|
||||
/**
|
||||
|
@ -805,7 +812,7 @@ function CopyContentMenuItem(_ref) {
|
|||
setState({
|
||||
hasCopied: true
|
||||
});
|
||||
createNotice('info', 'All content copied.', {
|
||||
createNotice('info', Object(external_this_wp_i18n_["__"])('All content copied.'), {
|
||||
isDismissible: true,
|
||||
type: 'snackbar'
|
||||
});
|
||||
|
@ -1285,7 +1292,7 @@ var reducer_metaBoxes = Object(external_this_wp_data_["combineReducers"])({
|
|||
}));
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/refx/refx.js
|
||||
var refx = __webpack_require__(69);
|
||||
var refx = __webpack_require__(72);
|
||||
var refx_default = /*#__PURE__*/__webpack_require__.n(refx);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
|
||||
|
@ -1295,7 +1302,7 @@ var slicedToArray = __webpack_require__(23);
|
|||
var external_this_wp_a11y_ = __webpack_require__(45);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(32);
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(34);
|
||||
var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/actions.js
|
||||
|
@ -5211,7 +5218,7 @@ function PostLink(_ref) {
|
|||
});
|
||||
}
|
||||
}
|
||||
}), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('The last part of the URL. '), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
|
||||
}), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('The last part of the URL.'), ' ', Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
|
||||
href: "https://wordpress.org/support/article/writing-posts/#post-field-descriptions"
|
||||
}, Object(external_this_wp_i18n_["__"])('Read about permalinks')))), Object(external_this_wp_element_["createElement"])("p", {
|
||||
className: "edit-post-post-link__preview-label"
|
||||
|
@ -6005,26 +6012,36 @@ var listener_hooks_useAdjustSidebarListener = function useAdjustSidebarListener(
|
|||
var _useSelect2 = Object(external_this_wp_data_["useSelect"])(function (select) {
|
||||
return {
|
||||
isSmall: select('core/viewport').isViewportMatch('< medium'),
|
||||
sidebarToReOpenOnExpand: select(STORE_KEY).getActiveGeneralSidebarName()
|
||||
activeGeneralSidebarName: select(STORE_KEY).getActiveGeneralSidebarName()
|
||||
};
|
||||
}, [postId]),
|
||||
isSmall = _useSelect2.isSmall,
|
||||
sidebarToReOpenOnExpand = _useSelect2.sidebarToReOpenOnExpand;
|
||||
activeGeneralSidebarName = _useSelect2.activeGeneralSidebarName;
|
||||
|
||||
var _useDispatch2 = Object(external_this_wp_data_["useDispatch"])(STORE_KEY),
|
||||
openGeneralSidebar = _useDispatch2.openGeneralSidebar,
|
||||
closeGeneralSidebar = _useDispatch2.closeGeneralSidebar;
|
||||
|
||||
var previousOpenedSidebar = Object(external_this_wp_element_["useRef"])('');
|
||||
var previousIsSmall = Object(external_this_wp_element_["useRef"])(null);
|
||||
var sidebarToReOpenOnExpand = Object(external_this_wp_element_["useRef"])(null);
|
||||
Object(external_this_wp_element_["useEffect"])(function () {
|
||||
if (isSmall && sidebarToReOpenOnExpand) {
|
||||
previousOpenedSidebar.current = sidebarToReOpenOnExpand;
|
||||
closeGeneralSidebar();
|
||||
} else if (!isSmall && previousOpenedSidebar.current) {
|
||||
openGeneralSidebar(previousOpenedSidebar.current);
|
||||
previousOpenedSidebar.current = '';
|
||||
if (previousIsSmall.current === isSmall) {
|
||||
return;
|
||||
}
|
||||
}, [isSmall, sidebarToReOpenOnExpand]);
|
||||
|
||||
previousIsSmall.current = isSmall;
|
||||
|
||||
if (isSmall) {
|
||||
sidebarToReOpenOnExpand.current = activeGeneralSidebarName;
|
||||
|
||||
if (activeGeneralSidebarName) {
|
||||
closeGeneralSidebar();
|
||||
}
|
||||
} else if (sidebarToReOpenOnExpand.current && !activeGeneralSidebarName) {
|
||||
openGeneralSidebar(sidebarToReOpenOnExpand.current);
|
||||
sidebarToReOpenOnExpand.current = null;
|
||||
}
|
||||
}, [isSmall, activeGeneralSidebarName]);
|
||||
};
|
||||
/**
|
||||
* This listener hook monitors any change in permalink and updates the view
|
||||
|
@ -6075,8 +6092,8 @@ var listener_hooks_useUpdatePostLinkListener = function useUpdatePostLinkListene
|
|||
|
||||
/* harmony default export */ var editor_initialization = (function (_ref) {
|
||||
var postId = _ref.postId;
|
||||
listener_hooks_useAdjustSidebarListener(postId);
|
||||
listener_hooks_useBlockSelectionListener(postId);
|
||||
listener_hooks_useAdjustSidebarListener(postId);
|
||||
listener_hooks_useUpdatePostLinkListener(postId);
|
||||
|
||||
var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/nux'),
|
||||
|
@ -6823,13 +6840,6 @@ function initializeEditor(id, postType, postId, settings, initialEdits) {
|
|||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36:
|
||||
|
@ -7297,13 +7307,6 @@ function _assertThisInitialized(self) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 58:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["nux"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 6:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
|
@ -7311,7 +7314,42 @@ function _assertThisInitialized(self) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 69:
|
||||
/***/ 61:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["nux"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
|
||||
/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10);
|
||||
|
||||
function _objectSpread(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i] != null ? arguments[i] : {};
|
||||
var ownKeys = Object.keys(source);
|
||||
|
||||
if (typeof Object.getOwnPropertySymbols === 'function') {
|
||||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
|
||||
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
||||
}));
|
||||
}
|
||||
|
||||
ownKeys.forEach(function (key) {
|
||||
Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
|
||||
});
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 72:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -7365,34 +7403,6 @@ function refx( effects ) {
|
|||
module.exports = refx;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
|
||||
/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10);
|
||||
|
||||
function _objectSpread(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i] != null ? arguments[i] : {};
|
||||
var ownKeys = Object.keys(source);
|
||||
|
||||
if (typeof Object.getOwnPropertySymbols === 'function') {
|
||||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
|
||||
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
||||
}));
|
||||
}
|
||||
|
||||
ownKeys.forEach(function (key) {
|
||||
Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
|
||||
});
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8:
|
||||
|
@ -7402,7 +7412,7 @@ function _objectSpread(target) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 86:
|
||||
/***/ 89:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["coreData"]; }());
|
||||
|
@ -7416,7 +7426,7 @@ function _objectSpread(target) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 95:
|
||||
/***/ 99:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["mediaUtils"]; }());
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["editor"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 312);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 343);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -123,7 +123,30 @@ function _defineProperty(obj, key, value) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 109:
|
||||
/***/ 11:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
|
||||
function _defineProperties(target, props) {
|
||||
for (var i = 0; i < props.length; i++) {
|
||||
var descriptor = props[i];
|
||||
descriptor.enumerable = descriptor.enumerable || false;
|
||||
descriptor.configurable = true;
|
||||
if ("value" in descriptor) descriptor.writable = true;
|
||||
Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) {
|
||||
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
||||
if (staticProps) _defineProperties(Constructor, staticProps);
|
||||
return Constructor;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 115:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -157,9 +180,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|||
};
|
||||
exports.__esModule = true;
|
||||
var React = __webpack_require__(28);
|
||||
var PropTypes = __webpack_require__(34);
|
||||
var autosize = __webpack_require__(110);
|
||||
var _getLineHeight = __webpack_require__(111);
|
||||
var PropTypes = __webpack_require__(33);
|
||||
var autosize = __webpack_require__(116);
|
||||
var _getLineHeight = __webpack_require__(117);
|
||||
var getLineHeight = _getLineHeight;
|
||||
var UPDATE = 'autosize:update';
|
||||
var DESTROY = 'autosize:destroy';
|
||||
|
@ -252,30 +275,7 @@ exports["default"] = TextareaAutosize;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 11:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
|
||||
function _defineProperties(target, props) {
|
||||
for (var i = 0; i < props.length; i++) {
|
||||
var descriptor = props[i];
|
||||
descriptor.enumerable = descriptor.enumerable || false;
|
||||
descriptor.configurable = true;
|
||||
if ("value" in descriptor) descriptor.writable = true;
|
||||
Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) {
|
||||
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
||||
if (staticProps) _defineProperties(Constructor, staticProps);
|
||||
return Constructor;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 110:
|
||||
/***/ 116:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
||||
|
@ -564,11 +564,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 111:
|
||||
/***/ 117:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// Load in dependencies
|
||||
var computedStyle = __webpack_require__(112);
|
||||
var computedStyle = __webpack_require__(118);
|
||||
|
||||
/**
|
||||
* Calculate the `line-height` of a given node
|
||||
|
@ -668,7 +668,7 @@ module.exports = lineHeight;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 112:
|
||||
/***/ 118:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
// This code has been refactored for 140 bytes
|
||||
|
@ -734,13 +734,6 @@ function _possibleConstructorReturn(self, call) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 134:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["notices"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
|
@ -755,6 +748,13 @@ function _getPrototypeOf(o) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 142:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["notices"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
|
@ -1047,7 +1047,55 @@ function _slicedToArray(arr, i) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 294:
|
||||
/***/ 3:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["components"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 30:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
|
||||
function _iterableToArray(iter) {
|
||||
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
|
||||
function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
|
||||
|
||||
function _typeof(obj) {
|
||||
if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
|
||||
_typeof = function _typeof(obj) {
|
||||
return _typeof2(obj);
|
||||
};
|
||||
} else {
|
||||
_typeof = function _typeof(obj) {
|
||||
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
|
||||
};
|
||||
}
|
||||
|
||||
return _typeof(obj);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["dataControls"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 325:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -1213,48 +1261,33 @@ function separateState(state) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 3:
|
||||
/***/ 33:
|
||||
/***/ (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__(87)();
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 34:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["components"]; }());
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 30:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
|
||||
function _iterableToArray(iter) {
|
||||
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
|
||||
function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
|
||||
|
||||
function _typeof(obj) {
|
||||
if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
|
||||
_typeof = function _typeof(obj) {
|
||||
return _typeof2(obj);
|
||||
};
|
||||
} else {
|
||||
_typeof = function _typeof(obj) {
|
||||
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
|
||||
};
|
||||
}
|
||||
|
||||
return _typeof(obj);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 312:
|
||||
/***/ 343:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -1468,13 +1501,13 @@ var external_this_wp_blockEditor_ = __webpack_require__(6);
|
|||
var external_this_wp_blocks_ = __webpack_require__(9);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","coreData"]}
|
||||
var external_this_wp_coreData_ = __webpack_require__(86);
|
||||
var external_this_wp_coreData_ = __webpack_require__(89);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","notices"]}
|
||||
var external_this_wp_notices_ = __webpack_require__(134);
|
||||
var external_this_wp_notices_ = __webpack_require__(142);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","nux"]}
|
||||
var external_this_wp_nux_ = __webpack_require__(58);
|
||||
var external_this_wp_nux_ = __webpack_require__(61);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","richText"]}
|
||||
var external_this_wp_richText_ = __webpack_require__(22);
|
||||
|
@ -1489,7 +1522,7 @@ var objectSpread = __webpack_require__(7);
|
|||
var external_this_wp_data_ = __webpack_require__(4);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","dataControls"]}
|
||||
var external_this_wp_dataControls_ = __webpack_require__(33);
|
||||
var external_this_wp_dataControls_ = __webpack_require__(32);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||
var defineProperty = __webpack_require__(10);
|
||||
|
@ -1498,7 +1531,7 @@ var defineProperty = __webpack_require__(10);
|
|||
var esm_typeof = __webpack_require__(31);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/redux-optimist/index.js
|
||||
var redux_optimist = __webpack_require__(80);
|
||||
var redux_optimist = __webpack_require__(83);
|
||||
var redux_optimist_default = /*#__PURE__*/__webpack_require__.n(redux_optimist);
|
||||
|
||||
// EXTERNAL MODULE: external "lodash"
|
||||
|
@ -1953,7 +1986,7 @@ function reducer_editorSettings() {
|
|||
})));
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/refx/refx.js
|
||||
var refx = __webpack_require__(69);
|
||||
var refx = __webpack_require__(72);
|
||||
var refx_default = /*#__PURE__*/__webpack_require__.n(refx);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
||||
|
@ -1964,7 +1997,7 @@ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
|||
var asyncToGenerator = __webpack_require__(43);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(32);
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(34);
|
||||
var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||
|
@ -1981,7 +2014,7 @@ var external_this_wp_deprecated_ = __webpack_require__(37);
|
|||
var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(40);
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(41);
|
||||
var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/constants.js
|
||||
|
@ -2143,7 +2176,7 @@ var memize = __webpack_require__(44);
|
|||
var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","autop"]}
|
||||
var external_this_wp_autop_ = __webpack_require__(66);
|
||||
var external_this_wp_autop_ = __webpack_require__(69);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/utils/serialize-blocks.js
|
||||
/**
|
||||
|
@ -3177,7 +3210,7 @@ function savePost() {
|
|||
return external_this_wp_dataControls_["dispatch"].apply(void 0, ['core/notices', 'createErrorNotice'].concat(Object(toConsumableArray["a" /* default */])(args)));
|
||||
|
||||
case 36:
|
||||
_context7.next = 53;
|
||||
_context7.next = 56;
|
||||
break;
|
||||
|
||||
case 38:
|
||||
|
@ -3212,6 +3245,15 @@ function savePost() {
|
|||
return external_this_wp_dataControls_["dispatch"].apply(void 0, ['core/notices', 'createSuccessNotice'].concat(Object(toConsumableArray["a" /* default */])(_args7)));
|
||||
|
||||
case 53:
|
||||
if (options.isAutosave) {
|
||||
_context7.next = 56;
|
||||
break;
|
||||
}
|
||||
|
||||
_context7.next = 56;
|
||||
return Object(external_this_wp_dataControls_["dispatch"])('core/block-editor', '__unstableMarkLastChangeAsPersistent');
|
||||
|
||||
case 56:
|
||||
case "end":
|
||||
return _context7.stop();
|
||||
}
|
||||
|
@ -3682,9 +3724,9 @@ function actions_resetEditorBlocks(blocks) {
|
|||
_i4,
|
||||
_Object$entries3,
|
||||
_Object$entries3$_i,
|
||||
_attributeName,
|
||||
attributeName,
|
||||
newAttributeValue,
|
||||
_schema,
|
||||
schema,
|
||||
source,
|
||||
edits,
|
||||
_ref2,
|
||||
|
@ -3748,9 +3790,9 @@ function actions_resetEditorBlocks(blocks) {
|
|||
break;
|
||||
}
|
||||
|
||||
_Object$entries3$_i = Object(slicedToArray["a" /* default */])(_Object$entries3[_i4], 2), _attributeName = _Object$entries3$_i[0], newAttributeValue = _Object$entries3$_i[1];
|
||||
_Object$entries3$_i = Object(slicedToArray["a" /* default */])(_Object$entries3[_i4], 2), attributeName = _Object$entries3$_i[0], newAttributeValue = _Object$entries3$_i[1];
|
||||
|
||||
if (blockType.attributes.hasOwnProperty(_attributeName)) {
|
||||
if (blockType.attributes.hasOwnProperty(attributeName)) {
|
||||
_context14.next = 24;
|
||||
break;
|
||||
}
|
||||
|
@ -3758,15 +3800,15 @@ function actions_resetEditorBlocks(blocks) {
|
|||
return _context14.abrupt("continue", 29);
|
||||
|
||||
case 24:
|
||||
_schema = blockType.attributes[_attributeName];
|
||||
source = block_sources_namespaceObject[_schema.source];
|
||||
schema = blockType.attributes[attributeName];
|
||||
source = block_sources_namespaceObject[schema.source];
|
||||
|
||||
if (!(source && source.update)) {
|
||||
_context14.next = 29;
|
||||
break;
|
||||
}
|
||||
|
||||
return _context14.delegateYield(source.update(_schema, newAttributeValue), "t0", 28);
|
||||
return _context14.delegateYield(source.update(schema, newAttributeValue), "t0", 28);
|
||||
|
||||
case 28:
|
||||
updatedSources.add(source);
|
||||
|
@ -4056,7 +4098,7 @@ var updateBlockListSettings = actions_getBlockEditorAction('updateBlockListSetti
|
|||
var rememo = __webpack_require__(36);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","date"]}
|
||||
var external_this_wp_date_ = __webpack_require__(54);
|
||||
var external_this_wp_date_ = __webpack_require__(53);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","url"]}
|
||||
var external_this_wp_url_ = __webpack_require__(26);
|
||||
|
@ -7939,7 +7981,8 @@ function PostFeaturedImage(_ref) {
|
|||
"aria-label": !featuredImageId ? null : Object(external_this_wp_i18n_["__"])('Edit or update the image')
|
||||
}, !!featuredImageId && media && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ResponsiveWrapper"], {
|
||||
naturalWidth: mediaWidth,
|
||||
naturalHeight: mediaHeight
|
||||
naturalHeight: mediaHeight,
|
||||
isInline: true
|
||||
}, Object(external_this_wp_element_["createElement"])("img", {
|
||||
src: mediaSourceUrl,
|
||||
alt: ""
|
||||
|
@ -11284,7 +11327,7 @@ function PostTaxonomiesCheck(_ref) {
|
|||
})])(PostTaxonomiesCheck));
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js
|
||||
var lib = __webpack_require__(59);
|
||||
var lib = __webpack_require__(62);
|
||||
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-text-editor/index.js
|
||||
|
@ -12080,7 +12123,7 @@ function PostVisibilityCheck(_ref) {
|
|||
})])(PostVisibilityCheck));
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","wordcount"]}
|
||||
var external_this_wp_wordcount_ = __webpack_require__(93);
|
||||
var external_this_wp_wordcount_ = __webpack_require__(97);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/word-count/index.js
|
||||
|
||||
|
@ -12365,7 +12408,7 @@ var withRegistryProvider = Object(external_this_wp_compose_["createHigherOrderCo
|
|||
/* harmony default export */ var with_registry_provider = (withRegistryProvider);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","mediaUtils"]}
|
||||
var external_this_wp_mediaUtils_ = __webpack_require__(95);
|
||||
var external_this_wp_mediaUtils_ = __webpack_require__(99);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/media-upload/index.js
|
||||
|
||||
|
@ -14321,7 +14364,7 @@ function (_Component) {
|
|||
})])(provider_EditorProvider));
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","serverSideRender"]}
|
||||
var external_this_wp_serverSideRender_ = __webpack_require__(53);
|
||||
var external_this_wp_serverSideRender_ = __webpack_require__(58);
|
||||
var external_this_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_serverSideRender_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/deprecated.js
|
||||
|
@ -14661,39 +14704,6 @@ Object(external_this_wp_hooks_["addFilter"])('editor.Autocomplete.completers', '
|
|||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 33:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["dataControls"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 34:
|
||||
/***/ (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__(84)();
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36:
|
||||
|
@ -15014,7 +15024,7 @@ function _nonIterableRest() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 40:
|
||||
/***/ 41:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["isShallowEqual"]; }());
|
||||
|
@ -15947,13 +15957,6 @@ function _assertThisInitialized(self) {
|
|||
/***/ 53:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["serverSideRender"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 54:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["date"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
@ -15961,19 +15964,7 @@ function _assertThisInitialized(self) {
|
|||
/***/ 58:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["nux"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 59:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
exports.__esModule = true;
|
||||
var TextareaAutosize_1 = __webpack_require__(109);
|
||||
exports["default"] = TextareaAutosize_1["default"];
|
||||
|
||||
(function() { module.exports = this["wp"]["serverSideRender"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
@ -15984,14 +15975,61 @@ exports["default"] = TextareaAutosize_1["default"];
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 66:
|
||||
/***/ 61:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["nux"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 62:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
exports.__esModule = true;
|
||||
var TextareaAutosize_1 = __webpack_require__(115);
|
||||
exports["default"] = TextareaAutosize_1["default"];
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 69:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["autop"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 69:
|
||||
/***/ 7:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
|
||||
/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10);
|
||||
|
||||
function _objectSpread(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i] != null ? arguments[i] : {};
|
||||
var ownKeys = Object.keys(source);
|
||||
|
||||
if (typeof Object.getOwnPropertySymbols === 'function') {
|
||||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
|
||||
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
||||
}));
|
||||
}
|
||||
|
||||
ownKeys.forEach(function (key) {
|
||||
Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
|
||||
});
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 72:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -16045,34 +16083,6 @@ function refx( effects ) {
|
|||
module.exports = refx;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
|
||||
/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10);
|
||||
|
||||
function _objectSpread(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i] != null ? arguments[i] : {};
|
||||
var ownKeys = Object.keys(source);
|
||||
|
||||
if (typeof Object.getOwnPropertySymbols === 'function') {
|
||||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
|
||||
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
||||
}));
|
||||
}
|
||||
|
||||
ownKeys.forEach(function (key) {
|
||||
Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
|
||||
});
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8:
|
||||
|
@ -16082,15 +16092,15 @@ function _objectSpread(target) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 80:
|
||||
/***/ 83:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(294);
|
||||
module.exports = __webpack_require__(325);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 84:
|
||||
/***/ 87:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -16103,7 +16113,7 @@ module.exports = __webpack_require__(294);
|
|||
|
||||
|
||||
|
||||
var ReactPropTypesSecret = __webpack_require__(85);
|
||||
var ReactPropTypesSecret = __webpack_require__(88);
|
||||
|
||||
function emptyFunction() {}
|
||||
function emptyFunctionWithReset() {}
|
||||
|
@ -16162,7 +16172,7 @@ module.exports = function() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 85:
|
||||
/***/ 88:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -16182,7 +16192,7 @@ module.exports = ReactPropTypesSecret;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 86:
|
||||
/***/ 89:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["coreData"]; }());
|
||||
|
@ -16196,14 +16206,14 @@ module.exports = ReactPropTypesSecret;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 93:
|
||||
/***/ 97:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["wordcount"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 95:
|
||||
/***/ 99:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["mediaUtils"]; }());
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["element"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 328);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 359);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -190,7 +190,7 @@ function _typeof(obj) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 328:
|
||||
/***/ 359:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -489,7 +489,7 @@ var utils_isEmptyElement = function isEmptyElement(element) {
|
|||
var esm_typeof = __webpack_require__(31);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","escapeHtml"]}
|
||||
var external_this_wp_escapeHtml_ = __webpack_require__(68);
|
||||
var external_this_wp_escapeHtml_ = __webpack_require__(71);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/raw-html.js
|
||||
|
||||
|
@ -1064,13 +1064,6 @@ function renderStyle(style) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 68:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["escapeHtml"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
|
@ -1097,6 +1090,13 @@ function _objectSpread(target) {
|
|||
return target;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 71:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["escapeHtml"]; }());
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["escapeHtml"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 336);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 367);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 336:
|
||||
/***/ 367:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
|
@ -1 +1 @@
|
|||
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=336)}({336: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 f})),n.d(t,"isValidAttributeName",(function(){return a}));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 f(e){return i(u(e))}function a(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=367)}({367: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 f})),n.d(t,"isValidAttributeName",(function(){return a}));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 f(e){return i(u(e))}function a(e){return!r.test(e)}}});
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["formatLibrary"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 321);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 350);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -360,7 +360,7 @@ function _typeof(obj) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 321:
|
||||
/***/ 350:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -1181,17 +1181,17 @@ function (_Component) {
|
|||
var opensInNewWindow = target === '_blank';
|
||||
|
||||
if (!isShowingInput(props, state)) {
|
||||
var update = {};
|
||||
|
||||
if (url !== state.inputValue) {
|
||||
return {
|
||||
inputValue: url
|
||||
};
|
||||
update.inputValue = url;
|
||||
}
|
||||
|
||||
if (opensInNewWindow !== state.opensInNewWindow) {
|
||||
return {
|
||||
opensInNewWindow: opensInNewWindow
|
||||
};
|
||||
update.opensInNewWindow = opensInNewWindow;
|
||||
}
|
||||
|
||||
return Object.keys(update).length ? update : null;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["hooks"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 320);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 351);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -131,7 +131,7 @@ function _iterableToArray(iter) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 320:
|
||||
/***/ 351:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["htmlEntities"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 295);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 326);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 295:
|
||||
/***/ 326:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
|
@ -1 +1 @@
|
|||
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=295)}({295: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=326)}({326: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}))}});
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["i18n"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 329);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 360);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -109,7 +109,7 @@ function _defineProperty(obj, key, value) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 138:
|
||||
/***/ 146:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
||||
|
@ -348,7 +348,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 329:
|
||||
/***/ 360:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -804,7 +804,7 @@ var memize = __webpack_require__(44);
|
|||
var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/sprintf-js/src/sprintf.js
|
||||
var sprintf = __webpack_require__(138);
|
||||
var sprintf = __webpack_require__(146);
|
||||
var sprintf_default = /*#__PURE__*/__webpack_require__.n(sprintf);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/index.js
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["isShallowEqual"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 296);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 327);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 296:
|
||||
/***/ 327:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -96,8 +96,8 @@ this["wp"] = this["wp"] || {}; this["wp"]["isShallowEqual"] =
|
|||
/**
|
||||
* Internal dependencies;
|
||||
*/
|
||||
var isShallowEqualObjects = __webpack_require__( 297 );
|
||||
var isShallowEqualArrays = __webpack_require__( 298 );
|
||||
var isShallowEqualObjects = __webpack_require__( 328 );
|
||||
var isShallowEqualArrays = __webpack_require__( 329 );
|
||||
|
||||
var isArray = Array.isArray;
|
||||
|
||||
|
@ -129,7 +129,7 @@ module.exports.isShallowEqualArrays = isShallowEqualArrays;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 297:
|
||||
/***/ 328:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -188,7 +188,7 @@ module.exports = isShallowEqualObjects;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 298:
|
||||
/***/ 329:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
|
@ -1 +1 @@
|
|||
this.wp=this.wp||{},this.wp.isShallowEqual=function(r){var t={};function e(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return r[n].call(o.exports,o,o.exports,e),o.l=!0,o.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 o in r)e.d(n,o,function(t){return r[t]}.bind(null,o));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=296)}({296:function(r,t,e){"use strict";var n=e(297),o=e(298),u=Array.isArray;r.exports=function(r,t){if(r&&t){if(r.constructor===Object&&t.constructor===Object)return n(r,t);if(u(r)&&u(t))return o(r,t)}return r===t},r.exports.isShallowEqualObjects=n,r.exports.isShallowEqualArrays=o},297:function(r,t,e){"use strict";var n=Object.keys;r.exports=function(r,t){var e,o,u,i,f;if(r===t)return!0;if(e=n(r),o=n(t),e.length!==o.length)return!1;for(u=0;u<e.length;){if(void 0===(f=r[i=e[u]])&&!t.hasOwnProperty(i)||f!==t[i])return!1;u++}return!0}},298:function(r,t,e){"use strict";r.exports=function(r,t){var e;if(r===t)return!0;if(r.length!==t.length)return!1;for(e=0;e<r.length;e++)if(r[e]!==t[e])return!1;return!0}}});
|
||||
this.wp=this.wp||{},this.wp.isShallowEqual=function(r){var t={};function e(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return r[n].call(o.exports,o,o.exports,e),o.l=!0,o.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 o in r)e.d(n,o,function(t){return r[t]}.bind(null,o));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=327)}({327:function(r,t,e){"use strict";var n=e(328),o=e(329),u=Array.isArray;r.exports=function(r,t){if(r&&t){if(r.constructor===Object&&t.constructor===Object)return n(r,t);if(u(r)&&u(t))return o(r,t)}return r===t},r.exports.isShallowEqualObjects=n,r.exports.isShallowEqualArrays=o},328:function(r,t,e){"use strict";var n=Object.keys;r.exports=function(r,t){var e,o,u,i,f;if(r===t)return!0;if(e=n(r),o=n(t),e.length!==o.length)return!1;for(u=0;u<e.length;){if(void 0===(f=r[i=e[u]])&&!t.hasOwnProperty(i)||f!==t[i])return!1;u++}return!0}},329:function(r,t,e){"use strict";r.exports=function(r,t){var e;if(r===t)return!0;if(r.length!==t.length)return!1;for(e=0;e<r.length;e++)if(r[e]!==t[e])return!1;return!0}}});
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["keycodes"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 337);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 368);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -167,7 +167,7 @@ function _iterableToArray(iter) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 337:
|
||||
/***/ 368:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
|
@ -1 +1 @@
|
|||
this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.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 u in t)r.d(e,u,function(n){return t[n]}.bind(null,u));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=337)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},10:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,"a",(function(){return e}))},17:function(t,n,r){"use strict";var e=r(30);function u(t){return function(t){if(Array.isArray(t)){for(var n=0,r=new Array(t.length);n<t.length;n++)r[n]=t[n];return r}}(t)||Object(e.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(n,"a",(function(){return u}))},2:function(t,n){!function(){t.exports=this.lodash}()},30:function(t,n,r){"use strict";function e(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(n,"a",(function(){return e}))},337:function(t,n,r){"use strict";r.r(n);var e=r(10),u=r(17),o=r(2),c=r(1);function i(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}r.d(n,"BACKSPACE",(function(){return a})),r.d(n,"TAB",(function(){return f})),r.d(n,"ENTER",(function(){return l})),r.d(n,"ESCAPE",(function(){return d})),r.d(n,"SPACE",(function(){return b})),r.d(n,"LEFT",(function(){return s})),r.d(n,"UP",(function(){return j})),r.d(n,"RIGHT",(function(){return O})),r.d(n,"DOWN",(function(){return p})),r.d(n,"DELETE",(function(){return y})),r.d(n,"F10",(function(){return v})),r.d(n,"ALT",(function(){return h})),r.d(n,"CTRL",(function(){return m})),r.d(n,"COMMAND",(function(){return g})),r.d(n,"SHIFT",(function(){return S})),r.d(n,"modifiers",(function(){return A})),r.d(n,"rawShortcut",(function(){return w})),r.d(n,"displayShortcutList",(function(){return C})),r.d(n,"displayShortcut",(function(){return P})),r.d(n,"shortcutAriaLabel",(function(){return E})),r.d(n,"isKeyboardEvent",(function(){return _}));var a=8,f=9,l=13,d=27,b=32,s=37,j=38,O=39,p=40,y=46,v=121,h="alt",m="ctrl",g="meta",S="shift",A={primary:function(t){return t()?[g]:[m]},primaryShift:function(t){return t()?[S,g]:[m,S]},primaryAlt:function(t){return t()?[h,g]:[m,h]},secondary:function(t){return t()?[S,h,g]:[m,S,h]},access:function(t){return t()?[m,h]:[S,h]},ctrl:function(){return[m]},alt:function(){return[h]},ctrlShift:function(){return[m,S]},shift:function(){return[S]},shiftAlt:function(){return[S,h]}},w=Object(o.mapValues)(A,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(u.a)(t(r)),[n.toLowerCase()]).join("+")}})),C=Object(o.mapValues)(A,(function(t){return function(n){var r,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=c(),f=(r={},Object(e.a)(r,h,a?"⌥":"Alt"),Object(e.a)(r,m,a?"^":"Ctrl"),Object(e.a)(r,g,"⌘"),Object(e.a)(r,S,a?"⇧":"Shift"),r),l=t(c).reduce((function(t,n){var r=Object(o.get)(f,n,n);return[].concat(Object(u.a)(t),a?[r]:[r,"+"])}),[]),d=Object(o.capitalize)(n);return[].concat(Object(u.a)(l),[d])}})),P=Object(o.mapValues)(C,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t(n,r).join("")}})),E=Object(o.mapValues)(A,(function(t){return function(n){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,f=a(),l=(r={},Object(e.a)(r,S,"Shift"),Object(e.a)(r,g,f?"Command":"Control"),Object(e.a)(r,m,"Control"),Object(e.a)(r,h,f?"Option":"Alt"),Object(e.a)(r,",",Object(c.__)("Comma")),Object(e.a)(r,".",Object(c.__)("Period")),Object(e.a)(r,"`",Object(c.__)("Backtick")),r);return[].concat(Object(u.a)(t(a)),[n]).map((function(t){return Object(o.capitalize)(Object(o.get)(l,t,t))})).join(f?" ":" + ")}})),_=Object(o.mapValues)(A,(function(t){return function(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u=t(e);return!!u.every((function(t){return n["".concat(t,"Key")]}))&&(r?n.key===r:Object(o.includes)(u,n.key.toLowerCase()))}}))}});
|
||||
this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.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 u in t)r.d(e,u,function(n){return t[n]}.bind(null,u));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=368)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},10:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,"a",(function(){return e}))},17:function(t,n,r){"use strict";var e=r(30);function u(t){return function(t){if(Array.isArray(t)){for(var n=0,r=new Array(t.length);n<t.length;n++)r[n]=t[n];return r}}(t)||Object(e.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(n,"a",(function(){return u}))},2:function(t,n){!function(){t.exports=this.lodash}()},30:function(t,n,r){"use strict";function e(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(n,"a",(function(){return e}))},368:function(t,n,r){"use strict";r.r(n);var e=r(10),u=r(17),o=r(2),c=r(1);function i(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}r.d(n,"BACKSPACE",(function(){return a})),r.d(n,"TAB",(function(){return f})),r.d(n,"ENTER",(function(){return l})),r.d(n,"ESCAPE",(function(){return d})),r.d(n,"SPACE",(function(){return b})),r.d(n,"LEFT",(function(){return s})),r.d(n,"UP",(function(){return j})),r.d(n,"RIGHT",(function(){return O})),r.d(n,"DOWN",(function(){return p})),r.d(n,"DELETE",(function(){return y})),r.d(n,"F10",(function(){return v})),r.d(n,"ALT",(function(){return h})),r.d(n,"CTRL",(function(){return m})),r.d(n,"COMMAND",(function(){return g})),r.d(n,"SHIFT",(function(){return S})),r.d(n,"modifiers",(function(){return A})),r.d(n,"rawShortcut",(function(){return w})),r.d(n,"displayShortcutList",(function(){return C})),r.d(n,"displayShortcut",(function(){return P})),r.d(n,"shortcutAriaLabel",(function(){return E})),r.d(n,"isKeyboardEvent",(function(){return _}));var a=8,f=9,l=13,d=27,b=32,s=37,j=38,O=39,p=40,y=46,v=121,h="alt",m="ctrl",g="meta",S="shift",A={primary:function(t){return t()?[g]:[m]},primaryShift:function(t){return t()?[S,g]:[m,S]},primaryAlt:function(t){return t()?[h,g]:[m,h]},secondary:function(t){return t()?[S,h,g]:[m,S,h]},access:function(t){return t()?[m,h]:[S,h]},ctrl:function(){return[m]},alt:function(){return[h]},ctrlShift:function(){return[m,S]},shift:function(){return[S]},shiftAlt:function(){return[S,h]}},w=Object(o.mapValues)(A,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(u.a)(t(r)),[n.toLowerCase()]).join("+")}})),C=Object(o.mapValues)(A,(function(t){return function(n){var r,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=c(),f=(r={},Object(e.a)(r,h,a?"⌥":"Alt"),Object(e.a)(r,m,a?"^":"Ctrl"),Object(e.a)(r,g,"⌘"),Object(e.a)(r,S,a?"⇧":"Shift"),r),l=t(c).reduce((function(t,n){var r=Object(o.get)(f,n,n);return[].concat(Object(u.a)(t),a?[r]:[r,"+"])}),[]),d=Object(o.capitalize)(n);return[].concat(Object(u.a)(l),[d])}})),P=Object(o.mapValues)(C,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t(n,r).join("")}})),E=Object(o.mapValues)(A,(function(t){return function(n){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,f=a(),l=(r={},Object(e.a)(r,S,"Shift"),Object(e.a)(r,g,f?"Command":"Control"),Object(e.a)(r,m,"Control"),Object(e.a)(r,h,f?"Option":"Alt"),Object(e.a)(r,",",Object(c.__)("Comma")),Object(e.a)(r,".",Object(c.__)("Period")),Object(e.a)(r,"`",Object(c.__)("Backtick")),r);return[].concat(Object(u.a)(t(a)),[n]).map((function(t){return Object(o.capitalize)(Object(o.get)(l,t,t))})).join(f?" ":" + ")}})),_=Object(o.mapValues)(A,(function(t){return function(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u=t(e);return!!u.every((function(t){return n["".concat(t,"Key")]}))&&(r?n.key===r:Object(o.includes)(u,n.key.toLowerCase()))}}))}});
|
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["listReusableBlocks"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 327);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 358);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -249,14 +249,14 @@ function _typeof(obj) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 34:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 327:
|
||||
/***/ 358:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -279,7 +279,7 @@ var asyncToGenerator = __webpack_require__(43);
|
|||
var external_lodash_ = __webpack_require__(2);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(32);
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(34);
|
||||
var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/file.js
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["mediaUtils"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 331);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 362);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -356,14 +356,21 @@ function _typeof(obj) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 32:
|
||||
/***/ 34:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["apiFetch"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 331:
|
||||
/***/ 35:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blob"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 362:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -763,7 +770,7 @@ var toConsumableArray = __webpack_require__(17);
|
|||
var slicedToArray = __webpack_require__(23);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(32);
|
||||
var external_this_wp_apiFetch_ = __webpack_require__(34);
|
||||
var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","blob"]}
|
||||
|
@ -1096,13 +1103,6 @@ function createMediaFromFile(file, additionalData) {
|
|||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 35:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blob"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 38:
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["notices"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 323);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 356);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -168,7 +168,7 @@ function _iterableToArray(iter) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 323:
|
||||
/***/ 356:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["nux"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 330);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 361);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -229,7 +229,289 @@ function _iterableToArray(iter) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 330:
|
||||
/***/ 36:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
var LEAF_KEY, hasWeakMap;
|
||||
|
||||
/**
|
||||
* Arbitrary value used as key for referencing cache object in WeakMap tree.
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
LEAF_KEY = {};
|
||||
|
||||
/**
|
||||
* Whether environment supports WeakMap.
|
||||
*
|
||||
* @type {boolean}
|
||||
*/
|
||||
hasWeakMap = typeof WeakMap !== 'undefined';
|
||||
|
||||
/**
|
||||
* Returns the first argument as the sole entry in an array.
|
||||
*
|
||||
* @param {*} value Value to return.
|
||||
*
|
||||
* @return {Array} Value returned as entry in array.
|
||||
*/
|
||||
function arrayOf( value ) {
|
||||
return [ value ];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the value passed is object-like, or false otherwise. A value
|
||||
* is object-like if it can support property assignment, e.g. object or array.
|
||||
*
|
||||
* @param {*} value Value to test.
|
||||
*
|
||||
* @return {boolean} Whether value is object-like.
|
||||
*/
|
||||
function isObjectLike( value ) {
|
||||
return !! value && 'object' === typeof value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and returns a new cache object.
|
||||
*
|
||||
* @return {Object} Cache object.
|
||||
*/
|
||||
function createCache() {
|
||||
var cache = {
|
||||
clear: function() {
|
||||
cache.head = null;
|
||||
},
|
||||
};
|
||||
|
||||
return cache;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if entries within the two arrays are strictly equal by
|
||||
* reference from a starting index.
|
||||
*
|
||||
* @param {Array} a First array.
|
||||
* @param {Array} b Second array.
|
||||
* @param {number} fromIndex Index from which to start comparison.
|
||||
*
|
||||
* @return {boolean} Whether arrays are shallowly equal.
|
||||
*/
|
||||
function isShallowEqual( a, b, fromIndex ) {
|
||||
var i;
|
||||
|
||||
if ( a.length !== b.length ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
for ( i = fromIndex; i < a.length; i++ ) {
|
||||
if ( a[ i ] !== b[ i ] ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a memoized selector function. The getDependants function argument is
|
||||
* called before the memoized selector and is expected to return an immutable
|
||||
* reference or array of references on which the selector depends for computing
|
||||
* its own return value. The memoize cache is preserved only as long as those
|
||||
* dependant references remain the same. If getDependants returns a different
|
||||
* reference(s), the cache is cleared and the selector value regenerated.
|
||||
*
|
||||
* @param {Function} selector Selector function.
|
||||
* @param {Function} getDependants Dependant getter returning an immutable
|
||||
* reference or array of reference used in
|
||||
* cache bust consideration.
|
||||
*
|
||||
* @return {Function} Memoized selector.
|
||||
*/
|
||||
/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
|
||||
var rootCache, getCache;
|
||||
|
||||
// Use object source as dependant if getter not provided
|
||||
if ( ! getDependants ) {
|
||||
getDependants = arrayOf;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the root cache. If WeakMap is supported, this is assigned to the
|
||||
* root WeakMap cache set, otherwise it is a shared instance of the default
|
||||
* cache object.
|
||||
*
|
||||
* @return {(WeakMap|Object)} Root cache object.
|
||||
*/
|
||||
function getRootCache() {
|
||||
return rootCache;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the cache for a given dependants array. When possible, a WeakMap
|
||||
* will be used to create a unique cache for each set of dependants. This
|
||||
* is feasible due to the nature of WeakMap in allowing garbage collection
|
||||
* to occur on entries where the key object is no longer referenced. Since
|
||||
* WeakMap requires the key to be an object, this is only possible when the
|
||||
* dependant is object-like. The root cache is created as a hierarchy where
|
||||
* each top-level key is the first entry in a dependants set, the value a
|
||||
* WeakMap where each key is the next dependant, and so on. This continues
|
||||
* so long as the dependants are object-like. If no dependants are object-
|
||||
* like, then the cache is shared across all invocations.
|
||||
*
|
||||
* @see isObjectLike
|
||||
*
|
||||
* @param {Array} dependants Selector dependants.
|
||||
*
|
||||
* @return {Object} Cache object.
|
||||
*/
|
||||
function getWeakMapCache( dependants ) {
|
||||
var caches = rootCache,
|
||||
isUniqueByDependants = true,
|
||||
i, dependant, map, cache;
|
||||
|
||||
for ( i = 0; i < dependants.length; i++ ) {
|
||||
dependant = dependants[ i ];
|
||||
|
||||
// Can only compose WeakMap from object-like key.
|
||||
if ( ! isObjectLike( dependant ) ) {
|
||||
isUniqueByDependants = false;
|
||||
break;
|
||||
}
|
||||
|
||||
// Does current segment of cache already have a WeakMap?
|
||||
if ( caches.has( dependant ) ) {
|
||||
// Traverse into nested WeakMap.
|
||||
caches = caches.get( dependant );
|
||||
} else {
|
||||
// Create, set, and traverse into a new one.
|
||||
map = new WeakMap();
|
||||
caches.set( dependant, map );
|
||||
caches = map;
|
||||
}
|
||||
}
|
||||
|
||||
// We use an arbitrary (but consistent) object as key for the last item
|
||||
// in the WeakMap to serve as our running cache.
|
||||
if ( ! caches.has( LEAF_KEY ) ) {
|
||||
cache = createCache();
|
||||
cache.isUniqueByDependants = isUniqueByDependants;
|
||||
caches.set( LEAF_KEY, cache );
|
||||
}
|
||||
|
||||
return caches.get( LEAF_KEY );
|
||||
}
|
||||
|
||||
// Assign cache handler by availability of WeakMap
|
||||
getCache = hasWeakMap ? getWeakMapCache : getRootCache;
|
||||
|
||||
/**
|
||||
* Resets root memoization cache.
|
||||
*/
|
||||
function clear() {
|
||||
rootCache = hasWeakMap ? new WeakMap() : createCache();
|
||||
}
|
||||
|
||||
// eslint-disable-next-line jsdoc/check-param-names
|
||||
/**
|
||||
* The augmented selector call, considering first whether dependants have
|
||||
* changed before passing it to underlying memoize function.
|
||||
*
|
||||
* @param {Object} source Source object for derivation.
|
||||
* @param {...*} extraArgs Additional arguments to pass to selector.
|
||||
*
|
||||
* @return {*} Selector result.
|
||||
*/
|
||||
function callSelector( /* source, ...extraArgs */ ) {
|
||||
var len = arguments.length,
|
||||
cache, node, i, args, dependants;
|
||||
|
||||
// Create copy of arguments (avoid leaking deoptimization).
|
||||
args = new Array( len );
|
||||
for ( i = 0; i < len; i++ ) {
|
||||
args[ i ] = arguments[ i ];
|
||||
}
|
||||
|
||||
dependants = getDependants.apply( null, args );
|
||||
cache = getCache( dependants );
|
||||
|
||||
// If not guaranteed uniqueness by dependants (primitive type or lack
|
||||
// of WeakMap support), shallow compare against last dependants and, if
|
||||
// references have changed, destroy cache to recalculate result.
|
||||
if ( ! cache.isUniqueByDependants ) {
|
||||
if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
|
||||
cache.clear();
|
||||
}
|
||||
|
||||
cache.lastDependants = dependants;
|
||||
}
|
||||
|
||||
node = cache.head;
|
||||
while ( node ) {
|
||||
// Check whether node arguments match arguments
|
||||
if ( ! isShallowEqual( node.args, args, 1 ) ) {
|
||||
node = node.next;
|
||||
continue;
|
||||
}
|
||||
|
||||
// At this point we can assume we've found a match
|
||||
|
||||
// Surface matched node to head if not already
|
||||
if ( node !== cache.head ) {
|
||||
// Adjust siblings to point to each other.
|
||||
node.prev.next = node.next;
|
||||
if ( node.next ) {
|
||||
node.next.prev = node.prev;
|
||||
}
|
||||
|
||||
node.next = cache.head;
|
||||
node.prev = null;
|
||||
cache.head.prev = node;
|
||||
cache.head = node;
|
||||
}
|
||||
|
||||
// Return immediately
|
||||
return node.val;
|
||||
}
|
||||
|
||||
// No cached value found. Continue to insertion phase:
|
||||
|
||||
node = {
|
||||
// Generate the result from original function
|
||||
val: selector.apply( null, args ),
|
||||
};
|
||||
|
||||
// Avoid including the source object in the cache.
|
||||
args[ 0 ] = null;
|
||||
node.args = args;
|
||||
|
||||
// Don't need to check whether node is already head, since it would
|
||||
// have been returned above already if it was
|
||||
|
||||
// Shift existing head down list
|
||||
if ( cache.head ) {
|
||||
cache.head.prev = node;
|
||||
node.next = cache.head;
|
||||
}
|
||||
|
||||
cache.head = node;
|
||||
|
||||
return node.val;
|
||||
}
|
||||
|
||||
callSelector.getDependants = getDependants;
|
||||
callSelector.clear = clear;
|
||||
clear();
|
||||
|
||||
return callSelector;
|
||||
});
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 361:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -561,6 +843,7 @@ var external_this_wp_i18n_ = __webpack_require__(1);
|
|||
|
||||
|
||||
|
||||
|
||||
function getAnchorRect(anchor) {
|
||||
// The default getAnchorRect() excludes an element's top and bottom padding
|
||||
// from its calculation. We want tips to point to the outer margin of an
|
||||
|
@ -582,6 +865,22 @@ function DotTip(_ref) {
|
|||
hasNextTip = _ref.hasNextTip,
|
||||
onDismiss = _ref.onDismiss,
|
||||
onDisable = _ref.onDisable;
|
||||
var anchorParent = Object(external_this_wp_element_["useRef"])(null);
|
||||
var getAnchorRectCallback = Object(external_this_wp_element_["useCallback"])(function (anchor) {
|
||||
anchorParent.current = anchor.parentNode;
|
||||
return getAnchorRect(anchor);
|
||||
}, [anchorParent]);
|
||||
var onFocusOutsideCallback = Object(external_this_wp_element_["useCallback"])(function (event) {
|
||||
if (!anchorParent.current) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (anchorParent.current.contains(event.relatedTarget)) {
|
||||
return;
|
||||
}
|
||||
|
||||
onDisable();
|
||||
}, [onDisable, anchorParent]);
|
||||
|
||||
if (!isVisible) {
|
||||
return null;
|
||||
|
@ -592,10 +891,11 @@ function DotTip(_ref) {
|
|||
position: position,
|
||||
noArrow: true,
|
||||
focusOnMount: "container",
|
||||
getAnchorRect: getAnchorRect,
|
||||
getAnchorRect: getAnchorRectCallback,
|
||||
role: "dialog",
|
||||
"aria-label": Object(external_this_wp_i18n_["__"])('Editor tips'),
|
||||
onClick: onClick
|
||||
onClick: onClick,
|
||||
onFocusOutside: onFocusOutsideCallback
|
||||
}, Object(external_this_wp_element_["createElement"])("p", null, children), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
||||
isLink: true,
|
||||
onClick: onDismiss
|
||||
|
@ -644,288 +944,6 @@ function DotTip(_ref) {
|
|||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
var LEAF_KEY, hasWeakMap;
|
||||
|
||||
/**
|
||||
* Arbitrary value used as key for referencing cache object in WeakMap tree.
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
LEAF_KEY = {};
|
||||
|
||||
/**
|
||||
* Whether environment supports WeakMap.
|
||||
*
|
||||
* @type {boolean}
|
||||
*/
|
||||
hasWeakMap = typeof WeakMap !== 'undefined';
|
||||
|
||||
/**
|
||||
* Returns the first argument as the sole entry in an array.
|
||||
*
|
||||
* @param {*} value Value to return.
|
||||
*
|
||||
* @return {Array} Value returned as entry in array.
|
||||
*/
|
||||
function arrayOf( value ) {
|
||||
return [ value ];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the value passed is object-like, or false otherwise. A value
|
||||
* is object-like if it can support property assignment, e.g. object or array.
|
||||
*
|
||||
* @param {*} value Value to test.
|
||||
*
|
||||
* @return {boolean} Whether value is object-like.
|
||||
*/
|
||||
function isObjectLike( value ) {
|
||||
return !! value && 'object' === typeof value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and returns a new cache object.
|
||||
*
|
||||
* @return {Object} Cache object.
|
||||
*/
|
||||
function createCache() {
|
||||
var cache = {
|
||||
clear: function() {
|
||||
cache.head = null;
|
||||
},
|
||||
};
|
||||
|
||||
return cache;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if entries within the two arrays are strictly equal by
|
||||
* reference from a starting index.
|
||||
*
|
||||
* @param {Array} a First array.
|
||||
* @param {Array} b Second array.
|
||||
* @param {number} fromIndex Index from which to start comparison.
|
||||
*
|
||||
* @return {boolean} Whether arrays are shallowly equal.
|
||||
*/
|
||||
function isShallowEqual( a, b, fromIndex ) {
|
||||
var i;
|
||||
|
||||
if ( a.length !== b.length ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
for ( i = fromIndex; i < a.length; i++ ) {
|
||||
if ( a[ i ] !== b[ i ] ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a memoized selector function. The getDependants function argument is
|
||||
* called before the memoized selector and is expected to return an immutable
|
||||
* reference or array of references on which the selector depends for computing
|
||||
* its own return value. The memoize cache is preserved only as long as those
|
||||
* dependant references remain the same. If getDependants returns a different
|
||||
* reference(s), the cache is cleared and the selector value regenerated.
|
||||
*
|
||||
* @param {Function} selector Selector function.
|
||||
* @param {Function} getDependants Dependant getter returning an immutable
|
||||
* reference or array of reference used in
|
||||
* cache bust consideration.
|
||||
*
|
||||
* @return {Function} Memoized selector.
|
||||
*/
|
||||
/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
|
||||
var rootCache, getCache;
|
||||
|
||||
// Use object source as dependant if getter not provided
|
||||
if ( ! getDependants ) {
|
||||
getDependants = arrayOf;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the root cache. If WeakMap is supported, this is assigned to the
|
||||
* root WeakMap cache set, otherwise it is a shared instance of the default
|
||||
* cache object.
|
||||
*
|
||||
* @return {(WeakMap|Object)} Root cache object.
|
||||
*/
|
||||
function getRootCache() {
|
||||
return rootCache;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the cache for a given dependants array. When possible, a WeakMap
|
||||
* will be used to create a unique cache for each set of dependants. This
|
||||
* is feasible due to the nature of WeakMap in allowing garbage collection
|
||||
* to occur on entries where the key object is no longer referenced. Since
|
||||
* WeakMap requires the key to be an object, this is only possible when the
|
||||
* dependant is object-like. The root cache is created as a hierarchy where
|
||||
* each top-level key is the first entry in a dependants set, the value a
|
||||
* WeakMap where each key is the next dependant, and so on. This continues
|
||||
* so long as the dependants are object-like. If no dependants are object-
|
||||
* like, then the cache is shared across all invocations.
|
||||
*
|
||||
* @see isObjectLike
|
||||
*
|
||||
* @param {Array} dependants Selector dependants.
|
||||
*
|
||||
* @return {Object} Cache object.
|
||||
*/
|
||||
function getWeakMapCache( dependants ) {
|
||||
var caches = rootCache,
|
||||
isUniqueByDependants = true,
|
||||
i, dependant, map, cache;
|
||||
|
||||
for ( i = 0; i < dependants.length; i++ ) {
|
||||
dependant = dependants[ i ];
|
||||
|
||||
// Can only compose WeakMap from object-like key.
|
||||
if ( ! isObjectLike( dependant ) ) {
|
||||
isUniqueByDependants = false;
|
||||
break;
|
||||
}
|
||||
|
||||
// Does current segment of cache already have a WeakMap?
|
||||
if ( caches.has( dependant ) ) {
|
||||
// Traverse into nested WeakMap.
|
||||
caches = caches.get( dependant );
|
||||
} else {
|
||||
// Create, set, and traverse into a new one.
|
||||
map = new WeakMap();
|
||||
caches.set( dependant, map );
|
||||
caches = map;
|
||||
}
|
||||
}
|
||||
|
||||
// We use an arbitrary (but consistent) object as key for the last item
|
||||
// in the WeakMap to serve as our running cache.
|
||||
if ( ! caches.has( LEAF_KEY ) ) {
|
||||
cache = createCache();
|
||||
cache.isUniqueByDependants = isUniqueByDependants;
|
||||
caches.set( LEAF_KEY, cache );
|
||||
}
|
||||
|
||||
return caches.get( LEAF_KEY );
|
||||
}
|
||||
|
||||
// Assign cache handler by availability of WeakMap
|
||||
getCache = hasWeakMap ? getWeakMapCache : getRootCache;
|
||||
|
||||
/**
|
||||
* Resets root memoization cache.
|
||||
*/
|
||||
function clear() {
|
||||
rootCache = hasWeakMap ? new WeakMap() : createCache();
|
||||
}
|
||||
|
||||
// eslint-disable-next-line jsdoc/check-param-names
|
||||
/**
|
||||
* The augmented selector call, considering first whether dependants have
|
||||
* changed before passing it to underlying memoize function.
|
||||
*
|
||||
* @param {Object} source Source object for derivation.
|
||||
* @param {...*} extraArgs Additional arguments to pass to selector.
|
||||
*
|
||||
* @return {*} Selector result.
|
||||
*/
|
||||
function callSelector( /* source, ...extraArgs */ ) {
|
||||
var len = arguments.length,
|
||||
cache, node, i, args, dependants;
|
||||
|
||||
// Create copy of arguments (avoid leaking deoptimization).
|
||||
args = new Array( len );
|
||||
for ( i = 0; i < len; i++ ) {
|
||||
args[ i ] = arguments[ i ];
|
||||
}
|
||||
|
||||
dependants = getDependants.apply( null, args );
|
||||
cache = getCache( dependants );
|
||||
|
||||
// If not guaranteed uniqueness by dependants (primitive type or lack
|
||||
// of WeakMap support), shallow compare against last dependants and, if
|
||||
// references have changed, destroy cache to recalculate result.
|
||||
if ( ! cache.isUniqueByDependants ) {
|
||||
if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
|
||||
cache.clear();
|
||||
}
|
||||
|
||||
cache.lastDependants = dependants;
|
||||
}
|
||||
|
||||
node = cache.head;
|
||||
while ( node ) {
|
||||
// Check whether node arguments match arguments
|
||||
if ( ! isShallowEqual( node.args, args, 1 ) ) {
|
||||
node = node.next;
|
||||
continue;
|
||||
}
|
||||
|
||||
// At this point we can assume we've found a match
|
||||
|
||||
// Surface matched node to head if not already
|
||||
if ( node !== cache.head ) {
|
||||
// Adjust siblings to point to each other.
|
||||
node.prev.next = node.next;
|
||||
if ( node.next ) {
|
||||
node.next.prev = node.prev;
|
||||
}
|
||||
|
||||
node.next = cache.head;
|
||||
node.prev = null;
|
||||
cache.head.prev = node;
|
||||
cache.head = node;
|
||||
}
|
||||
|
||||
// Return immediately
|
||||
return node.val;
|
||||
}
|
||||
|
||||
// No cached value found. Continue to insertion phase:
|
||||
|
||||
node = {
|
||||
// Generate the result from original function
|
||||
val: selector.apply( null, args ),
|
||||
};
|
||||
|
||||
// Avoid including the source object in the cache.
|
||||
args[ 0 ] = null;
|
||||
node.args = args;
|
||||
|
||||
// Don't need to check whether node is already head, since it would
|
||||
// have been returned above already if it was
|
||||
|
||||
// Shift existing head down list
|
||||
if ( cache.head ) {
|
||||
cache.head.prev = node;
|
||||
node.next = cache.head;
|
||||
}
|
||||
|
||||
cache.head = node;
|
||||
|
||||
return node.val;
|
||||
}
|
||||
|
||||
callSelector.getDependants = getDependants;
|
||||
callSelector.clear = clear;
|
||||
clear();
|
||||
|
||||
return callSelector;
|
||||
});
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 38:
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["plugins"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 332);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 363);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -281,7 +281,7 @@ function _typeof(obj) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 332:
|
||||
/***/ 363:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["priorityQueue"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 299);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 330);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 299:
|
||||
/***/ 330:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
|
|
@ -1 +1 @@
|
|||
this.wp=this.wp||{},this.wp.priorityQueue=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=299)}({299:function(e,t,n){"use strict";n.r(t),n.d(t,"createQueue",(function(){return u}));var r=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,u=function(){var e=[],t=new WeakMap,n=!1,u=function u(i){do{if(0===e.length)return void(n=!1);var o=e.shift();t.get(o)(),t.delete(o)}while(i&&i.timeRemaining&&i.timeRemaining()>0);r(u)};return{add:function(i,o){t.has(i)||e.push(i),t.set(i,o),n||(n=!0,r(u))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}}});
|
||||
this.wp=this.wp||{},this.wp.priorityQueue=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=330)}({330:function(e,t,n){"use strict";n.r(t),n.d(t,"createQueue",(function(){return u}));var r=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,u=function(){var e=[],t=new WeakMap,n=!1,u=function u(i){do{if(0===e.length)return void(n=!1);var o=e.shift();t.get(o)(),t.delete(o)}while(i&&i.timeRemaining&&i.timeRemaining()>0);r(u)};return{add:function(i,o){t.has(i)||e.push(i),t.set(i,o),n||(n=!0,r(u))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}}});
|
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["reduxRoutine"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 335);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 366);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 103:
|
||||
/***/ 109:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -99,7 +99,7 @@ Object.defineProperty(exports, "__esModule", {
|
|||
|
||||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
|
||||
|
||||
var _keys = __webpack_require__(190);
|
||||
var _keys = __webpack_require__(213);
|
||||
|
||||
var _keys2 = _interopRequireDefault(_keys);
|
||||
|
||||
|
@ -152,7 +152,14 @@ exports.default = is;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 189:
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["lodash"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 212:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -163,7 +170,7 @@ Object.defineProperty(exports, "__esModule", {
|
|||
});
|
||||
exports.createChannel = exports.subscribe = exports.cps = exports.apply = exports.call = exports.invoke = exports.delay = exports.race = exports.join = exports.fork = exports.error = exports.all = undefined;
|
||||
|
||||
var _keys = __webpack_require__(190);
|
||||
var _keys = __webpack_require__(213);
|
||||
|
||||
var _keys2 = _interopRequireDefault(_keys);
|
||||
|
||||
|
@ -293,7 +300,7 @@ var createChannel = exports.createChannel = function createChannel(callback) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 190:
|
||||
/***/ 213:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -317,14 +324,7 @@ exports.default = keys;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["lodash"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 209:
|
||||
/***/ 232:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -335,7 +335,7 @@ Object.defineProperty(exports, "__esModule", {
|
|||
});
|
||||
exports.wrapControls = exports.asyncControls = exports.create = undefined;
|
||||
|
||||
var _helpers = __webpack_require__(189);
|
||||
var _helpers = __webpack_require__(212);
|
||||
|
||||
Object.keys(_helpers).forEach(function (key) {
|
||||
if (key === "default") return;
|
||||
|
@ -347,15 +347,15 @@ Object.keys(_helpers).forEach(function (key) {
|
|||
});
|
||||
});
|
||||
|
||||
var _create = __webpack_require__(300);
|
||||
var _create = __webpack_require__(331);
|
||||
|
||||
var _create2 = _interopRequireDefault(_create);
|
||||
|
||||
var _async = __webpack_require__(302);
|
||||
var _async = __webpack_require__(333);
|
||||
|
||||
var _async2 = _interopRequireDefault(_async);
|
||||
|
||||
var _wrap = __webpack_require__(304);
|
||||
var _wrap = __webpack_require__(335);
|
||||
|
||||
var _wrap2 = _interopRequireDefault(_wrap);
|
||||
|
||||
|
@ -367,7 +367,7 @@ exports.wrapControls = _wrap2.default;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 300:
|
||||
/***/ 331:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -377,11 +377,11 @@ Object.defineProperty(exports, "__esModule", {
|
|||
value: true
|
||||
});
|
||||
|
||||
var _builtin = __webpack_require__(301);
|
||||
var _builtin = __webpack_require__(332);
|
||||
|
||||
var _builtin2 = _interopRequireDefault(_builtin);
|
||||
|
||||
var _is = __webpack_require__(103);
|
||||
var _is = __webpack_require__(109);
|
||||
|
||||
var _is2 = _interopRequireDefault(_is);
|
||||
|
||||
|
@ -453,7 +453,7 @@ exports.default = create;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 301:
|
||||
/***/ 332:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -464,7 +464,7 @@ Object.defineProperty(exports, "__esModule", {
|
|||
});
|
||||
exports.iterator = exports.array = exports.object = exports.error = exports.any = undefined;
|
||||
|
||||
var _is = __webpack_require__(103);
|
||||
var _is = __webpack_require__(109);
|
||||
|
||||
var _is2 = _interopRequireDefault(_is);
|
||||
|
||||
|
@ -554,7 +554,7 @@ exports.default = [error, iterator, array, object, any];
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 302:
|
||||
/***/ 333:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -565,13 +565,13 @@ Object.defineProperty(exports, "__esModule", {
|
|||
});
|
||||
exports.race = exports.join = exports.fork = exports.promise = undefined;
|
||||
|
||||
var _is = __webpack_require__(103);
|
||||
var _is = __webpack_require__(109);
|
||||
|
||||
var _is2 = _interopRequireDefault(_is);
|
||||
|
||||
var _helpers = __webpack_require__(189);
|
||||
var _helpers = __webpack_require__(212);
|
||||
|
||||
var _dispatcher = __webpack_require__(303);
|
||||
var _dispatcher = __webpack_require__(334);
|
||||
|
||||
var _dispatcher2 = _interopRequireDefault(_dispatcher);
|
||||
|
||||
|
@ -676,7 +676,7 @@ exports.default = [promise, fork, join, race, subscribe];
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 303:
|
||||
/***/ 334:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -709,7 +709,7 @@ exports.default = createDispatcher;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 304:
|
||||
/***/ 335:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -720,7 +720,7 @@ Object.defineProperty(exports, "__esModule", {
|
|||
});
|
||||
exports.cps = exports.call = undefined;
|
||||
|
||||
var _is = __webpack_require__(103);
|
||||
var _is = __webpack_require__(109);
|
||||
|
||||
var _is2 = _interopRequireDefault(_is);
|
||||
|
||||
|
@ -752,7 +752,7 @@ exports.default = [call, cps];
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 335:
|
||||
/***/ 366:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -773,13 +773,13 @@ function isGenerator(object) {
|
|||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/rungen/dist/index.js
|
||||
var dist = __webpack_require__(209);
|
||||
var dist = __webpack_require__(232);
|
||||
|
||||
// EXTERNAL MODULE: external "lodash"
|
||||
var external_lodash_ = __webpack_require__(2);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/is-promise/index.js
|
||||
var is_promise = __webpack_require__(94);
|
||||
var is_promise = __webpack_require__(98);
|
||||
var is_promise_default = /*#__PURE__*/__webpack_require__.n(is_promise);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/is-action.js
|
||||
|
@ -919,7 +919,7 @@ function createMiddleware() {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 94:
|
||||
/***/ 98:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = isPromise;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["richText"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 315);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 346);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
@ -434,7 +434,7 @@ function _typeof(obj) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 315:
|
||||
/***/ 346:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -2956,7 +2956,7 @@ function applySelection(_ref7, current) {
|
|||
}
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","escapeHtml"]}
|
||||
var external_this_wp_escapeHtml_ = __webpack_require__(68);
|
||||
var external_this_wp_escapeHtml_ = __webpack_require__(71);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/to-html-string.js
|
||||
/**
|
||||
|
@ -3451,7 +3451,7 @@ var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
|||
var external_this_wp_keycodes_ = __webpack_require__(19);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(40);
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(41);
|
||||
var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","deprecated"]}
|
||||
|
@ -3505,7 +3505,7 @@ var format_edit_FormatEdit = function FormatEdit(_ref) {
|
|||
var activeFormat = getActiveFormat(value, name);
|
||||
var isActive = activeFormat !== undefined;
|
||||
var activeObject = getActiveObject(value);
|
||||
var isObjectActive = activeObject !== undefined;
|
||||
var isObjectActive = activeObject !== undefined && activeObject.type === name;
|
||||
return Object(external_this_wp_element_["createElement"])(Edit, {
|
||||
key: name,
|
||||
isActive: isActive,
|
||||
|
@ -3836,6 +3836,29 @@ function createPrepareEditableTree(props, prefix) {
|
|||
}, value.formats);
|
||||
};
|
||||
}
|
||||
/**
|
||||
* If the selection is set on the placeholder element, collapse the selection to
|
||||
* the start (before the placeholder).
|
||||
*/
|
||||
|
||||
|
||||
function fixPlaceholderSelection() {
|
||||
var selection = window.getSelection();
|
||||
var anchorNode = selection.anchorNode,
|
||||
anchorOffset = selection.anchorOffset;
|
||||
|
||||
if (anchorNode.nodeType !== anchorNode.ELEMENT_NODE) {
|
||||
return;
|
||||
}
|
||||
|
||||
var targetNode = anchorNode.childNodes[anchorOffset];
|
||||
|
||||
if (!targetNode || targetNode.nodeType !== targetNode.ELEMENT_NODE || !targetNode.getAttribute('data-rich-text-placeholder')) {
|
||||
return;
|
||||
}
|
||||
|
||||
selection.collapseToStart();
|
||||
}
|
||||
/**
|
||||
* See export statement below.
|
||||
*/
|
||||
|
@ -4223,14 +4246,11 @@ function (_Component) {
|
|||
}
|
||||
|
||||
if (start === value.start && end === value.end) {
|
||||
// If a placeholder is set, some browsers seems to place the
|
||||
// selection after the placeholder instead of the text node that is
|
||||
// padding the empty container element. The internal selection is
|
||||
// set correctly to zero, but the caret is not visible. By
|
||||
// reapplying the value to the DOM we reset the selection to the
|
||||
// right node, making the caret visible again.
|
||||
// Sometimes the browser may set the selection on the placeholder
|
||||
// element, in which case the caret is not visible. We need to set
|
||||
// the caret before the placeholder if that's the case.
|
||||
if (value.text.length === 0 && start === 0) {
|
||||
this.applyRecord(value);
|
||||
fixPlaceholderSelection();
|
||||
}
|
||||
|
||||
return;
|
||||
|
@ -4653,20 +4673,12 @@ function (_Component) {
|
|||
shouldReapply = shouldReapply || !external_this_wp_isShallowEqual_default()(prepareProps, prevPrepareProps); // Rerender if the placeholder changed.
|
||||
|
||||
shouldReapply = shouldReapply || placeholder !== prevProps.placeholder;
|
||||
var _this$record$activeFo2 = this.record.activeFormats,
|
||||
activeFormats = _this$record$activeFo2 === void 0 ? [] : _this$record$activeFo2;
|
||||
|
||||
if (shouldReapply) {
|
||||
this.value = value;
|
||||
this.record = this.formatToValue(value);
|
||||
this.record.start = selectionStart;
|
||||
this.record.end = selectionEnd;
|
||||
updateFormats({
|
||||
value: this.record,
|
||||
start: this.record.start,
|
||||
end: this.record.end,
|
||||
formats: activeFormats
|
||||
});
|
||||
this.applyRecord(this.record);
|
||||
} else if (this.record.start !== selectionStart || this.record.end !== selectionEnd) {
|
||||
this.record = Object(objectSpread["a" /* default */])({}, this.record, {
|
||||
|
@ -5214,7 +5226,7 @@ function isShallowEqual( a, b, fromIndex ) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 40:
|
||||
/***/ 41:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["isShallowEqual"]; }());
|
||||
|
@ -5236,13 +5248,6 @@ function _assertThisInitialized(self) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 68:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["escapeHtml"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
|
@ -5271,6 +5276,13 @@ function _objectSpread(target) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 71:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["escapeHtml"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
|
|
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…
Reference in New Issue