diff --git a/wp-includes/css/dist/block-library/editor-rtl.css b/wp-includes/css/dist/block-library/editor-rtl.css
index 42893239d1..924517d9e4 100644
--- a/wp-includes/css/dist/block-library/editor-rtl.css
+++ b/wp-includes/css/dist/block-library/editor-rtl.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(-360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.block-editor ul.wp-block-archives {
padding-right: 2.5em; }
@@ -91,11 +67,11 @@
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
line-height: 1.4;
- width: 380px; }
+ width: 374px; }
.block-library-button__inline-link .editor-url-input {
width: auto; }
.block-library-button__inline-link .editor-url-input__suggestions {
- width: 308px;
+ width: 302px;
z-index: 6; }
.block-library-button__inline-link > .dashicon {
width: 36px; }
@@ -171,70 +147,63 @@
.wp-block-columns .editor-block-list__layout .editor-block-list__block {
max-width: none; }
-.editor-block-list__block[data-align="full"] .wp-block-columns .editor-block-list__layout:first-child {
- margin-right: 30px; }
-
-.editor-block-list__block[data-align="full"] .wp-block-columns .editor-block-list__layout:last-child {
- margin-left: 30px; }
+.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks {
+ padding-right: 14px;
+ padding-left: 14px; }
+ @media (min-width: 600px) {
+ .editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks {
+ padding-right: 60px;
+ padding-left: 60px; } }
.wp-block-columns {
display: block; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
display: flex;
flex-wrap: wrap; }
- @media (min-width: 782px) {
+ @media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
flex-wrap: nowrap; } }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
display: flex;
flex-direction: column;
flex: 1;
- margin-top: -28px;
- margin-bottom: -28px;
padding-right: 0;
padding-left: 0;
margin-right: -14px;
margin-left: -14px;
+ min-width: 0;
+ word-break: break-word;
+ overflow-wrap: break-word;
flex-basis: 100%; }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div > .editor-inner-blocks {
+ margin-top: -28px;
+ margin-bottom: -28px; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit {
margin-top: 0;
margin-bottom: 0; }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit::before {
+ right: 0;
+ left: 0; }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar {
+ margin-right: -1px; }
@media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
- padding-right: 14px;
- padding-left: 14px;
- margin-left: inherit;
- margin-right: 0; } }
- @media (min-width: 600px) {
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar {
- top: 36px;
- transform: translateY(-38px);
- margin-right: -17px; }
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit::before {
- top: 0;
- left: 0;
- bottom: 0;
- right: 0; }
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > .editor-block-list__breadcrumb {
- top: 0;
- left: 0; } }
+ margin-right: 14px;
+ margin-left: 14px; } }
@media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
flex-basis: 50%;
flex-grow: 0; } }
@media (min-width: 600px) {
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit {
- padding-right: 16px;
- padding-left: 16px; }
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(odd) > .editor-block-list__block-edit {
- padding-right: 0; }
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) > .editor-block-list__block-edit {
- padding-left: 0; } }
- @media (min-width: 782px) {
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) > .editor-block-list__block-edit {
- padding-right: 16px; }
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:last-child) > .editor-block-list__block-edit {
- padding-left: 16px; } }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(odd) {
+ margin-left: 32px; }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) {
+ margin-right: 32px; } }
+ @media (min-width: 600px) {
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) {
+ margin-right: 32px; }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:last-child) {
+ margin-left: 32px; } }
.wp-block-columns [data-type="core/column"] {
pointer-events: none; }
@@ -243,7 +212,7 @@
.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb {
display: none; }
-:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .editor-inner-blocks {
+:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .editor-block-list__layout > * {
pointer-events: all; }
.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty="true"]::before,
@@ -293,7 +262,7 @@
align-items: center;
margin-bottom: 0; }
.wp-block-file.is-transient {
- animation: loading_fade 1.6s ease-in-out infinite; }
+ animation: edit-post__loading-fade-animation 1.6s ease-in-out infinite; }
.wp-block-file .wp-block-file__content-wrapper {
flex-grow: 1; }
.wp-block-file .wp-block-file__textlink {
@@ -508,8 +477,8 @@ body.admin-color-blue .blocks-gallery-item img:focus, body.admin-color-blue .blo
body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .blocks-gallery-item .is-selected {
outline: 4px solid #0085ba; }
-.blocks-gallery-item.is-transient img {
- animation: loading_fade 1.6s ease-in-out infinite; }
+.blocks-gallery-item .is-transient img {
+ opacity: 0.3; }
.blocks-gallery-item .editor-rich-text {
position: absolute;
@@ -601,7 +570,14 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
position: absolute;
top: 50%;
right: 50%;
- transform: translate(50%, -50%); }
+ margin-top: -9px;
+ margin-right: -9px; }
+
+.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),
+.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),
+.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),
+.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2) {
+ margin-left: 0; }
.wp-block-heading h1,
.wp-block-heading h2,
@@ -651,9 +627,15 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
.wp-block-image {
position: relative; }
.wp-block-image.is-transient img {
- animation: loading_fade 1.6s ease-in-out infinite; }
+ opacity: 0.3; }
.wp-block-image figcaption img {
display: inline; }
+ .wp-block-image .components-spinner {
+ position: absolute;
+ top: 50%;
+ right: 50%;
+ margin-top: -9px;
+ margin-right: -9px; }
.wp-block-image .components-resizable-box__container {
display: inline-block; }
diff --git a/wp-includes/css/dist/block-library/editor.css b/wp-includes/css/dist/block-library/editor.css
index 0c9a83d7d3..2d713ce825 100644
--- a/wp-includes/css/dist/block-library/editor.css
+++ b/wp-includes/css/dist/block-library/editor.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.block-editor ul.wp-block-archives {
padding-left: 2.5em; }
@@ -92,11 +68,11 @@
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
line-height: 1.4;
- width: 380px; }
+ width: 374px; }
.block-library-button__inline-link .editor-url-input {
width: auto; }
.block-library-button__inline-link .editor-url-input__suggestions {
- width: 308px;
+ width: 302px;
z-index: 6; }
.block-library-button__inline-link > .dashicon {
width: 36px; }
@@ -172,70 +148,63 @@
.wp-block-columns .editor-block-list__layout .editor-block-list__block {
max-width: none; }
-.editor-block-list__block[data-align="full"] .wp-block-columns .editor-block-list__layout:first-child {
- margin-left: 30px; }
-
-.editor-block-list__block[data-align="full"] .wp-block-columns .editor-block-list__layout:last-child {
- margin-right: 30px; }
+.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks {
+ padding-left: 14px;
+ padding-right: 14px; }
+ @media (min-width: 600px) {
+ .editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks {
+ padding-left: 60px;
+ padding-right: 60px; } }
.wp-block-columns {
display: block; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
display: flex;
flex-wrap: wrap; }
- @media (min-width: 782px) {
+ @media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
flex-wrap: nowrap; } }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
display: flex;
flex-direction: column;
flex: 1;
- margin-top: -28px;
- margin-bottom: -28px;
padding-left: 0;
padding-right: 0;
margin-left: -14px;
margin-right: -14px;
+ min-width: 0;
+ word-break: break-word;
+ overflow-wrap: break-word;
flex-basis: 100%; }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div > .editor-inner-blocks {
+ margin-top: -28px;
+ margin-bottom: -28px; }
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit {
margin-top: 0;
margin-bottom: 0; }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit::before {
+ left: 0;
+ right: 0; }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar {
+ margin-left: -1px; }
@media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
- padding-left: 14px;
- padding-right: 14px;
- margin-right: inherit;
- margin-left: 0; } }
- @media (min-width: 600px) {
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar {
- top: 36px;
- transform: translateY(-38px);
- margin-left: -17px; }
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit::before {
- top: 0;
- right: 0;
- bottom: 0;
- left: 0; }
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > .editor-block-list__breadcrumb {
- top: 0;
- right: 0; } }
+ margin-left: 14px;
+ margin-right: 14px; } }
@media (min-width: 600px) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
flex-basis: 50%;
flex-grow: 0; } }
@media (min-width: 600px) {
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit {
- padding-left: 16px;
- padding-right: 16px; }
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(odd) > .editor-block-list__block-edit {
- padding-left: 0; }
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) > .editor-block-list__block-edit {
- padding-right: 0; } }
- @media (min-width: 782px) {
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) > .editor-block-list__block-edit {
- padding-left: 16px; }
- .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:last-child) > .editor-block-list__block-edit {
- padding-right: 16px; } }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(odd) {
+ margin-right: 32px; }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) {
+ margin-left: 32px; } }
+ @media (min-width: 600px) {
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) {
+ margin-left: 32px; }
+ .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:last-child) {
+ margin-right: 32px; } }
.wp-block-columns [data-type="core/column"] {
pointer-events: none; }
@@ -244,7 +213,7 @@
.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb {
display: none; }
-:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .editor-inner-blocks {
+:not(.components-disabled) > .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .editor-block-list__layout > * {
pointer-events: all; }
.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty="true"]::before,
@@ -294,7 +263,7 @@
align-items: center;
margin-bottom: 0; }
.wp-block-file.is-transient {
- animation: loading_fade 1.6s ease-in-out infinite; }
+ animation: edit-post__loading-fade-animation 1.6s ease-in-out infinite; }
.wp-block-file .wp-block-file__content-wrapper {
flex-grow: 1; }
.wp-block-file .wp-block-file__textlink {
@@ -513,8 +482,8 @@ body.admin-color-blue .blocks-gallery-item img:focus, body.admin-color-blue .blo
body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .blocks-gallery-item .is-selected {
outline: 4px solid #0085ba; }
-.blocks-gallery-item.is-transient img {
- animation: loading_fade 1.6s ease-in-out infinite; }
+.blocks-gallery-item .is-transient img {
+ opacity: 0.3; }
.blocks-gallery-item .editor-rich-text {
position: absolute;
@@ -606,7 +575,14 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
position: absolute;
top: 50%;
left: 50%;
- transform: translate(-50%, -50%); }
+ margin-top: -9px;
+ margin-left: -9px; }
+
+.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),
+.is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),
+.is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),
+.is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2) {
+ margin-right: 0; }
.wp-block-heading h1,
.wp-block-heading h2,
@@ -656,9 +632,15 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
.wp-block-image {
position: relative; }
.wp-block-image.is-transient img {
- animation: loading_fade 1.6s ease-in-out infinite; }
+ opacity: 0.3; }
.wp-block-image figcaption img {
display: inline; }
+ .wp-block-image .components-spinner {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ margin-top: -9px;
+ margin-left: -9px; }
.wp-block-image .components-resizable-box__container {
display: inline-block; }
diff --git a/wp-includes/css/dist/block-library/style-rtl.css b/wp-includes/css/dist/block-library/style-rtl.css
index 289bd5df9b..95e1d047a4 100644
--- a/wp-includes/css/dist/block-library/style-rtl.css
+++ b/wp-includes/css/dist/block-library/style-rtl.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(-360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.wp-block-audio figcaption {
margin-top: 0.5em;
margin-bottom: 1em;
@@ -176,24 +152,23 @@
.wp-block-column {
flex: 1;
margin-bottom: 1em;
- flex-basis: 100%; }
+ flex-basis: 100%;
+ min-width: 0;
+ word-break: break-word;
+ overflow-wrap: break-word; }
@media (min-width: 600px) {
.wp-block-column {
flex-basis: 50%;
flex-grow: 0; } }
@media (min-width: 600px) {
- .wp-block-column {
- padding-right: 16px;
- padding-left: 16px; }
- .wp-block-column:nth-child(odd) {
- padding-right: 0; }
- .wp-block-column:nth-child(even) {
- padding-left: 0; } }
- @media (min-width: 782px) {
+ .wp-block-column:nth-child(odd) {
+ margin-left: 32px; }
+ .wp-block-column:nth-child(even) {
+ margin-right: 32px; }
.wp-block-column:not(:first-child) {
- padding-right: 16px; }
+ margin-right: 32px; }
.wp-block-column:not(:last-child) {
- padding-left: 16px; } }
+ margin-left: 32px; } }
.wp-block-cover-image,
.wp-block-cover {
@@ -206,7 +181,8 @@
margin: 0 0 1.5em 0;
display: flex;
justify-content: center;
- align-items: center; }
+ align-items: center;
+ overflow: hidden; }
.wp-block-cover-image.has-left-content,
.wp-block-cover.has-left-content {
justify-content: flex-start; }
@@ -337,8 +313,8 @@
width: 100%;
height: 100%;
z-index: 0;
- -o-object-fit: fill;
- object-fit: fill; }
+ -o-object-fit: cover;
+ object-fit: cover; }
.editor-block-list__block[data-type="core/embed"][data-align="left"] .editor-block-list__block-edit,
.editor-block-list__block[data-type="core/embed"][data-align="right"] .editor-block-list__block-edit,
@@ -556,11 +532,7 @@
.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n) {
margin-left: 0; } }
.wp-block-gallery .blocks-gallery-image:last-child,
- .wp-block-gallery .blocks-gallery-item:last-child,
- .is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),
- .is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),
- .is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),
- .is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2) {
+ .wp-block-gallery .blocks-gallery-item:last-child {
margin-left: 0; }
.wp-block-gallery .blocks-gallery-item.has-add-item-button {
width: 100%; }
diff --git a/wp-includes/css/dist/block-library/style.css b/wp-includes/css/dist/block-library/style.css
index f468f892a4..a99b7c8c3d 100644
--- a/wp-includes/css/dist/block-library/style.css
+++ b/wp-includes/css/dist/block-library/style.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.wp-block-audio figcaption {
margin-top: 0.5em;
margin-bottom: 1em;
@@ -179,24 +155,23 @@
.wp-block-column {
flex: 1;
margin-bottom: 1em;
- flex-basis: 100%; }
+ flex-basis: 100%;
+ min-width: 0;
+ word-break: break-word;
+ overflow-wrap: break-word; }
@media (min-width: 600px) {
.wp-block-column {
flex-basis: 50%;
flex-grow: 0; } }
@media (min-width: 600px) {
- .wp-block-column {
- padding-left: 16px;
- padding-right: 16px; }
- .wp-block-column:nth-child(odd) {
- padding-left: 0; }
- .wp-block-column:nth-child(even) {
- padding-right: 0; } }
- @media (min-width: 782px) {
+ .wp-block-column:nth-child(odd) {
+ margin-right: 32px; }
+ .wp-block-column:nth-child(even) {
+ margin-left: 32px; }
.wp-block-column:not(:first-child) {
- padding-left: 16px; }
+ margin-left: 32px; }
.wp-block-column:not(:last-child) {
- padding-right: 16px; } }
+ margin-right: 32px; } }
.wp-block-cover-image,
.wp-block-cover {
@@ -209,7 +184,8 @@
margin: 0 0 1.5em 0;
display: flex;
justify-content: center;
- align-items: center; }
+ align-items: center;
+ overflow: hidden; }
.wp-block-cover-image.has-left-content,
.wp-block-cover.has-left-content {
justify-content: flex-start; }
@@ -340,8 +316,8 @@
width: 100%;
height: 100%;
z-index: 0;
- -o-object-fit: fill;
- object-fit: fill; }
+ -o-object-fit: cover;
+ object-fit: cover; }
.editor-block-list__block[data-type="core/embed"][data-align="left"] .editor-block-list__block-edit,
.editor-block-list__block[data-type="core/embed"][data-align="right"] .editor-block-list__block-edit,
@@ -560,11 +536,7 @@
.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n) {
margin-right: 0; } }
.wp-block-gallery .blocks-gallery-image:last-child,
- .wp-block-gallery .blocks-gallery-item:last-child,
- .is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2),
- .is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2),
- .is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2),
- .is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2) {
+ .wp-block-gallery .blocks-gallery-item:last-child {
margin-right: 0; }
.wp-block-gallery .blocks-gallery-item.has-add-item-button {
width: 100%; }
diff --git a/wp-includes/css/dist/block-library/theme-rtl.css b/wp-includes/css/dist/block-library/theme-rtl.css
index 8e644d6e64..ba85aa5220 100644
--- a/wp-includes/css/dist/block-library/theme-rtl.css
+++ b/wp-includes/css/dist/block-library/theme-rtl.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(-360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.wp-block-code {
font-family: Menlo, Consolas, monaco, monospace;
font-size: 14px;
diff --git a/wp-includes/css/dist/block-library/theme.css b/wp-includes/css/dist/block-library/theme.css
index a39cc6ff65..55fd644b4d 100644
--- a/wp-includes/css/dist/block-library/theme.css
+++ b/wp-includes/css/dist/block-library/theme.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.wp-block-code {
font-family: Menlo, Consolas, monaco, monospace;
font-size: 14px;
diff --git a/wp-includes/css/dist/components/style-rtl.css b/wp-includes/css/dist/components/style-rtl.css
index 11cabe80e9..ab7fde6dd3 100644
--- a/wp-includes/css/dist/components/style-rtl.css
+++ b/wp-includes/css/dist/components/style-rtl.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(-360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.components-autocomplete__popover .components-popover__content {
min-width: 200px; }
@@ -1672,7 +1648,7 @@ svg.dashicon {
order: 1; }
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button {
font-size: 11px;
- font-weight: bold; }
+ font-weight: 600; }
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select {
padding: 2px;
margin-left: 4px; }
@@ -2233,9 +2209,15 @@ body.is-dragging-components-draggable {
left: 0;
pointer-events: none;
outline: 4px solid transparent;
- animation: editor_region_focus 0.1s ease-out;
+ animation: editor-animation__region-focus 0.2s ease-out;
animation-fill-mode: forwards; }
+@keyframes editor-animation__region-focus {
+ from {
+ box-shadow: inset 0 0 0 0 #33b3db; }
+ to {
+ box-shadow: inset 0 0 0 4px #33b3db; } }
+
.components-icon-button {
display: flex;
align-items: center;
@@ -2294,9 +2276,13 @@ body.is-dragging-components-draggable {
flex: 0 0 auto; }
.components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]),
.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
- color: #191e23;
- border: none;
- box-shadow: none; }
+ color: #555d66; }
+ @media (min-width: 782px) {
+ .components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]),
+ .components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
+ color: #191e23;
+ border: none;
+ box-shadow: none; } }
.components-menu-item__button:focus:not(:disabled):not([aria-disabled="true"]),
.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled="true"]) {
color: #191e23;
@@ -2333,7 +2319,7 @@ body.is-dragging-components-draggable {
right: 0;
background-color: rgba(255, 255, 255, 0.4);
z-index: 100000;
- animation: fade-in 0.2s ease-out 0s;
+ animation: edit-post__fade-in-animation 0.2s ease-out 0s;
animation-fill-mode: forwards; }
.components-modal__frame {
@@ -2358,9 +2344,15 @@ body.is-dragging-components-draggable {
max-width: calc(100% - 16px - 16px);
max-height: calc(100% - 56px - 56px);
transform: translate(50%, -50%);
- animation: modal-appear 0.1s ease-out;
+ animation: components-modal__appear-animation 0.1s ease-out;
animation-fill-mode: forwards; } }
+@keyframes components-modal__appear-animation {
+ from {
+ margin-top: 32px; }
+ to {
+ margin-top: 0; } }
+
.components-modal__header {
box-sizing: border-box;
border-bottom: 1px solid #e2e4e7;
@@ -2379,7 +2371,7 @@ body.is-dragging-components-draggable {
margin: 0 -16px 16px; }
.components-modal__header .components-modal__header-heading {
font-size: 1em;
- font-weight: normal; }
+ font-weight: 400; }
.components-modal__header h1 {
line-height: 1;
margin: 0; }
@@ -2958,7 +2950,13 @@ body.lockscroll {
height: 4px;
border-radius: 100%;
transform-origin: 6px 6px;
- animation: rotation 1s infinite linear; }
+ animation: components-spinner__animation 1s infinite linear; }
+
+@keyframes components-spinner__animation {
+ from {
+ transform: rotate(0deg); }
+ to {
+ transform: rotate(-360deg); } }
.components-text-control__input {
width: 100%;
diff --git a/wp-includes/css/dist/components/style.css b/wp-includes/css/dist/components/style.css
index af9efd4436..d469e97f36 100644
--- a/wp-includes/css/dist/components/style.css
+++ b/wp-includes/css/dist/components/style.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.components-autocomplete__popover .components-popover__content {
min-width: 200px; }
@@ -1672,7 +1648,7 @@ svg.dashicon {
order: 1; }
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button {
font-size: 11px;
- font-weight: bold; }
+ font-weight: 600; }
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select {
padding: 2px;
margin-right: 4px; }
@@ -2233,9 +2209,15 @@ body.is-dragging-components-draggable {
right: 0;
pointer-events: none;
outline: 4px solid transparent;
- animation: editor_region_focus 0.1s ease-out;
+ animation: editor-animation__region-focus 0.2s ease-out;
animation-fill-mode: forwards; }
+@keyframes editor-animation__region-focus {
+ from {
+ box-shadow: inset 0 0 0 0 #33b3db; }
+ to {
+ box-shadow: inset 0 0 0 4px #33b3db; } }
+
.components-icon-button {
display: flex;
align-items: center;
@@ -2294,9 +2276,13 @@ body.is-dragging-components-draggable {
flex: 0 0 auto; }
.components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]),
.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
- color: #191e23;
- border: none;
- box-shadow: none; }
+ color: #555d66; }
+ @media (min-width: 782px) {
+ .components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]),
+ .components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
+ color: #191e23;
+ border: none;
+ box-shadow: none; } }
.components-menu-item__button:focus:not(:disabled):not([aria-disabled="true"]),
.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled="true"]) {
color: #191e23;
@@ -2333,7 +2319,7 @@ body.is-dragging-components-draggable {
left: 0;
background-color: rgba(255, 255, 255, 0.4);
z-index: 100000;
- animation: fade-in 0.2s ease-out 0s;
+ animation: edit-post__fade-in-animation 0.2s ease-out 0s;
animation-fill-mode: forwards; }
.components-modal__frame {
@@ -2358,9 +2344,15 @@ body.is-dragging-components-draggable {
max-width: calc(100% - 16px - 16px);
max-height: calc(100% - 56px - 56px);
transform: translate(-50%, -50%);
- animation: modal-appear 0.1s ease-out;
+ animation: components-modal__appear-animation 0.1s ease-out;
animation-fill-mode: forwards; } }
+@keyframes components-modal__appear-animation {
+ from {
+ margin-top: 32px; }
+ to {
+ margin-top: 0; } }
+
.components-modal__header {
box-sizing: border-box;
border-bottom: 1px solid #e2e4e7;
@@ -2379,7 +2371,7 @@ body.is-dragging-components-draggable {
margin: 0 -16px 16px; }
.components-modal__header .components-modal__header-heading {
font-size: 1em;
- font-weight: normal; }
+ font-weight: 400; }
.components-modal__header h1 {
line-height: 1;
margin: 0; }
@@ -2972,7 +2964,13 @@ body.lockscroll {
height: 4px;
border-radius: 100%;
transform-origin: 6px 6px;
- animation: rotation 1s infinite linear; }
+ animation: components-spinner__animation 1s infinite linear; }
+
+@keyframes components-spinner__animation {
+ from {
+ transform: rotate(0deg); }
+ to {
+ transform: rotate(360deg); } }
.components-text-control__input {
width: 100%;
diff --git a/wp-includes/css/dist/edit-post/style-rtl.css b/wp-includes/css/dist/edit-post/style-rtl.css
index aae26fbe6b..56d921be6f 100644
--- a/wp-includes/css/dist/edit-post/style-rtl.css
+++ b/wp-includes/css/dist/edit-post/style-rtl.css
@@ -28,48 +28,28 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(-360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
-body.is-fullscreen-mode {
+body.js.is-fullscreen-mode {
margin-top: -46px;
height: calc(100% + 46px);
- animation: fade-in 0.3s ease-out 0s;
+ animation: edit-post__fade-in-animation 0.3s ease-out 0s;
animation-fill-mode: forwards; }
@media (min-width: 782px) {
- body.is-fullscreen-mode {
+ body.js.is-fullscreen-mode {
margin-top: -32px;
height: calc(100% + 32px); } }
- body.is-fullscreen-mode #adminmenumain,
- body.is-fullscreen-mode #wpadminbar {
+ body.js.is-fullscreen-mode #adminmenumain,
+ body.js.is-fullscreen-mode #wpadminbar {
display: none; }
- body.is-fullscreen-mode #wpcontent,
- body.is-fullscreen-mode #wpfooter {
+ body.js.is-fullscreen-mode #wpcontent,
+ body.js.is-fullscreen-mode #wpfooter {
margin-right: 0; }
- body.is-fullscreen-mode .edit-post-header {
+ body.js.is-fullscreen-mode .edit-post-header {
transform: translateY(-100%);
- animation: slide_in_top 0.1s forwards; }
+ animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; }
+
+@keyframes edit-post-fullscreen-mode__slide-in-animation {
+ 100% {
+ transform: translateY(0%); } }
.edit-post-header {
height: 56px;
@@ -297,14 +277,14 @@ body.is-fullscreen-mode .edit-post-header {
.edit-post-keyboard-shortcut-help__title {
font-size: 1rem;
- font-weight: bold; }
+ font-weight: 600; }
.edit-post-keyboard-shortcut-help__section {
margin: 0 0 2rem 0; }
.edit-post-keyboard-shortcut-help__section-title {
font-size: 0.9rem;
- font-weight: bold; }
+ font-weight: 600; }
.edit-post-keyboard-shortcut-help__shortcut {
display: flex;
@@ -316,7 +296,7 @@ body.is-fullscreen-mode .edit-post-header {
.edit-post-keyboard-shortcut-help__shortcut-term {
order: 1;
- font-weight: bold;
+ font-weight: 600;
margin: 0 1rem 0 0; }
.edit-post-keyboard-shortcut-help__shortcut-description {
@@ -462,10 +442,14 @@ body.is-fullscreen-mode .components-notice-list {
width: 280px;
border-right: 1px solid #e2e4e7;
transform: translateX(-100%);
- animation: slide_in_right 0.1s forwards; }
+ animation: edit-post-layout__slide-in-animation 0.1s forwards; }
body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel {
top: 0; } }
+@keyframes edit-post-layout__slide-in-animation {
+ 100% {
+ transform: translateX(0%); } }
+
.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large {
height: 33px;
line-height: 32px; }
@@ -729,6 +713,23 @@ body.is-fullscreen-mode .components-notice-list {
.editor-post-author__select {
width: auto; } }
+.edit-post-post-link__link {
+ font-weight: 600; }
+
+.edit-post-post-link__link-post-name {
+ font-weight: 800; }
+
+.edit-post-post-link__preview-label {
+ margin: 0; }
+
+.edit-post-post-link__link {
+ word-wrap: break-word; }
+
+.edit-post-post-link__permalink-settings {
+ margin-top: 1em;
+ font-weight: 500;
+ display: block; }
+
.edit-post-post-schedule {
width: 100%;
position: relative; }
@@ -890,6 +891,7 @@ body.is-fullscreen-mode .components-notice-list {
padding-top: 40px; } }
.edit-post-text-editor {
+ width: 100%;
margin-right: 16px;
margin-left: 16px;
padding-top: 44px; }
@@ -995,9 +997,6 @@ body.is-fullscreen-mode .components-notice-list {
position: relative; }
.edit-post-visual-editor .editor-default-block-appender[data-root-client-id=""] .editor-default-block-appender__content:hover {
outline: 1px solid transparent; }
- @media (min-width: 600px) {
- .edit-post-visual-editor .editor-default-block-appender .editor-default-block-appender__content {
- padding: 0 14px; } }
.edit-post-visual-editor .editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible="true"] + p,
.edit-post-visual-editor .editor-default-block-appender__content {
@@ -1006,14 +1005,14 @@ body.is-fullscreen-mode .components-notice-list {
.edit-post-options-modal__title {
font-size: 1rem;
- font-weight: bold; }
+ font-weight: 600; }
.edit-post-options-modal__section {
margin: 0 0 2rem 0; }
.edit-post-options-modal__section-title {
font-size: 0.9rem;
- font-weight: bold; }
+ font-weight: 600; }
.edit-post-options-modal__option {
border-top: 1px solid #e2e4e7; }
@@ -1027,21 +1026,10 @@ body.is-fullscreen-mode .components-notice-list {
flex-grow: 1;
padding: 0.6rem 10px 0.6rem 0; }
-@keyframes animate_fade {
- from {
- opacity: 0;
- transform: translateY(4px); }
- to {
- opacity: 1;
- transform: translateY(0); } }
-
-@keyframes move_background {
- from {
- background-position: 100% 0; }
- to {
- background-position: 28px 0; } }
-
-@keyframes loading_fade {
+/**
+ * Animations
+ */
+@keyframes edit-post__loading-fade-animation {
0% {
opacity: 0.5; }
50% {
@@ -1049,13 +1037,11 @@ body.is-fullscreen-mode .components-notice-list {
100% {
opacity: 0.5; } }
-@keyframes slide_in_right {
- 100% {
- transform: translateX(0%); } }
-
-@keyframes slide_in_top {
- 100% {
- transform: translateY(0%); } }
+@keyframes edit-post__fade-in-animation {
+ from {
+ opacity: 0; }
+ to {
+ opacity: 1; } }
html.wp-toolbar {
background: #fff; }
diff --git a/wp-includes/css/dist/edit-post/style.css b/wp-includes/css/dist/edit-post/style.css
index 28182d5cef..8416ec1ca0 100644
--- a/wp-includes/css/dist/edit-post/style.css
+++ b/wp-includes/css/dist/edit-post/style.css
@@ -28,48 +28,28 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
-body.is-fullscreen-mode {
+body.js.is-fullscreen-mode {
margin-top: -46px;
height: calc(100% + 46px);
- animation: fade-in 0.3s ease-out 0s;
+ animation: edit-post__fade-in-animation 0.3s ease-out 0s;
animation-fill-mode: forwards; }
@media (min-width: 782px) {
- body.is-fullscreen-mode {
+ body.js.is-fullscreen-mode {
margin-top: -32px;
height: calc(100% + 32px); } }
- body.is-fullscreen-mode #adminmenumain,
- body.is-fullscreen-mode #wpadminbar {
+ body.js.is-fullscreen-mode #adminmenumain,
+ body.js.is-fullscreen-mode #wpadminbar {
display: none; }
- body.is-fullscreen-mode #wpcontent,
- body.is-fullscreen-mode #wpfooter {
+ body.js.is-fullscreen-mode #wpcontent,
+ body.js.is-fullscreen-mode #wpfooter {
margin-left: 0; }
- body.is-fullscreen-mode .edit-post-header {
+ body.js.is-fullscreen-mode .edit-post-header {
transform: translateY(-100%);
- animation: slide_in_top 0.1s forwards; }
+ animation: edit-post-fullscreen-mode__slide-in-animation 0.1s forwards; }
+
+@keyframes edit-post-fullscreen-mode__slide-in-animation {
+ 100% {
+ transform: translateY(0%); } }
.edit-post-header {
height: 56px;
@@ -297,14 +277,14 @@ body.is-fullscreen-mode .edit-post-header {
.edit-post-keyboard-shortcut-help__title {
font-size: 1rem;
- font-weight: bold; }
+ font-weight: 600; }
.edit-post-keyboard-shortcut-help__section {
margin: 0 0 2rem 0; }
.edit-post-keyboard-shortcut-help__section-title {
font-size: 0.9rem;
- font-weight: bold; }
+ font-weight: 600; }
.edit-post-keyboard-shortcut-help__shortcut {
display: flex;
@@ -316,7 +296,7 @@ body.is-fullscreen-mode .edit-post-header {
.edit-post-keyboard-shortcut-help__shortcut-term {
order: 1;
- font-weight: bold;
+ font-weight: 600;
margin: 0 0 0 1rem; }
.edit-post-keyboard-shortcut-help__shortcut-description {
@@ -462,10 +442,14 @@ body.is-fullscreen-mode .components-notice-list {
width: 280px;
border-left: 1px solid #e2e4e7;
transform: translateX(100%);
- animation: slide_in_right 0.1s forwards; }
+ animation: edit-post-layout__slide-in-animation 0.1s forwards; }
body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel {
top: 0; } }
+@keyframes edit-post-layout__slide-in-animation {
+ 100% {
+ transform: translateX(0%); } }
+
.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large {
height: 33px;
line-height: 32px; }
@@ -729,6 +713,23 @@ body.is-fullscreen-mode .components-notice-list {
.editor-post-author__select {
width: auto; } }
+.edit-post-post-link__link {
+ font-weight: 600; }
+
+.edit-post-post-link__link-post-name {
+ font-weight: 800; }
+
+.edit-post-post-link__preview-label {
+ margin: 0; }
+
+.edit-post-post-link__link {
+ word-wrap: break-word; }
+
+.edit-post-post-link__permalink-settings {
+ margin-top: 1em;
+ font-weight: 500;
+ display: block; }
+
.edit-post-post-schedule {
width: 100%;
position: relative; }
@@ -890,6 +891,7 @@ body.is-fullscreen-mode .components-notice-list {
padding-top: 40px; } }
.edit-post-text-editor {
+ width: 100%;
margin-left: 16px;
margin-right: 16px;
padding-top: 44px; }
@@ -995,9 +997,6 @@ body.is-fullscreen-mode .components-notice-list {
position: relative; }
.edit-post-visual-editor .editor-default-block-appender[data-root-client-id=""] .editor-default-block-appender__content:hover {
outline: 1px solid transparent; }
- @media (min-width: 600px) {
- .edit-post-visual-editor .editor-default-block-appender .editor-default-block-appender__content {
- padding: 0 14px; } }
.edit-post-visual-editor .editor-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible="true"] + p,
.edit-post-visual-editor .editor-default-block-appender__content {
@@ -1006,14 +1005,14 @@ body.is-fullscreen-mode .components-notice-list {
.edit-post-options-modal__title {
font-size: 1rem;
- font-weight: bold; }
+ font-weight: 600; }
.edit-post-options-modal__section {
margin: 0 0 2rem 0; }
.edit-post-options-modal__section-title {
font-size: 0.9rem;
- font-weight: bold; }
+ font-weight: 600; }
.edit-post-options-modal__option {
border-top: 1px solid #e2e4e7; }
@@ -1027,21 +1026,10 @@ body.is-fullscreen-mode .components-notice-list {
flex-grow: 1;
padding: 0.6rem 0 0.6rem 10px; }
-@keyframes animate_fade {
- from {
- opacity: 0;
- transform: translateY(4px); }
- to {
- opacity: 1;
- transform: translateY(0); } }
-
-@keyframes move_background {
- from {
- background-position: 0 0; }
- to {
- background-position: 28px 0; } }
-
-@keyframes loading_fade {
+/**
+ * Animations
+ */
+@keyframes edit-post__loading-fade-animation {
0% {
opacity: 0.5; }
50% {
@@ -1049,13 +1037,11 @@ body.is-fullscreen-mode .components-notice-list {
100% {
opacity: 0.5; } }
-@keyframes slide_in_right {
- 100% {
- transform: translateX(0%); } }
-
-@keyframes slide_in_top {
- 100% {
- transform: translateY(0%); } }
+@keyframes edit-post__fade-in-animation {
+ from {
+ opacity: 0; }
+ to {
+ opacity: 1; } }
html.wp-toolbar {
background: #fff; }
diff --git a/wp-includes/css/dist/editor/editor-styles-rtl.css b/wp-includes/css/dist/editor/editor-styles-rtl.css
index 9ed01235ce..124eccd47c 100644
--- a/wp-includes/css/dist/editor/editor-styles-rtl.css
+++ b/wp-includes/css/dist/editor/editor-styles-rtl.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(-360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
body {
font-family: "Noto Serif", serif;
font-size: 16px;
diff --git a/wp-includes/css/dist/editor/editor-styles.css b/wp-includes/css/dist/editor/editor-styles.css
index f5d6cede0f..124eccd47c 100644
--- a/wp-includes/css/dist/editor/editor-styles.css
+++ b/wp-includes/css/dist/editor/editor-styles.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
body {
font-family: "Noto Serif", serif;
font-size: 16px;
diff --git a/wp-includes/css/dist/editor/style-rtl.css b/wp-includes/css/dist/editor/style-rtl.css
index 6dc9ec7929..5f9e31fc1a 100644
--- a/wp-includes/css/dist/editor/style-rtl.css
+++ b/wp-includes/css/dist/editor/style-rtl.css
@@ -29,30 +29,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(-360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.editor-autocompleters__block .editor-block-icon {
margin-left: 8px; }
@@ -317,13 +293,16 @@
.editor-block-list__layout .editor-block-list__block.has-warning {
min-height: 36px; }
-.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit > :not(.editor-warning) {
+.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit > * {
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
+.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit .editor-warning {
+ pointer-events: all; }
+
.editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before {
outline-color: rgba(145, 151, 162, 0.25); }
.is-dark-theme .editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before {
@@ -388,6 +367,11 @@
right: auto;
left: 0; }
+@media (min-width: 600px) {
+ .editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-contextual-toolbar,
+ .editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-contextual-toolbar {
+ top: 14px; } }
+
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-list__block-edit {
float: left;
margin-right: 2em; }
@@ -434,7 +418,7 @@
.editor-block-list__layout .editor-block-list__block[data-align="wide"] > .editor-block-mover {
right: -13px; }
-.editor-block-list__layout .editor-block-list__block[data-align="full"] > .editor-block-list__block-edit .editor-block-list__breadcrumb {
+.editor-block-list__layout .editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .editor-block-list__breadcrumb {
left: 0; }
@media (min-width: 600px) {
@@ -698,10 +682,6 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
.editor-block-list__block[data-align="right"] .editor-block-contextual-toolbar {
margin-left: 15px; }
-.editor-block-list__block[data-align="full"] .editor-block-contextual-toolbar {
- margin-right: -42px;
- margin-left: -42px; }
-
.editor-block-list__block .editor-block-contextual-toolbar > * {
pointer-events: auto; }
@@ -775,7 +755,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
background: #007cba; }
.editor-block-list__block:hover .editor-block-list__breadcrumb .components-toolbar {
opacity: 0;
- animation: fade-in 60ms ease-out 0.5s;
+ animation: edit-post__fade-in-animation 60ms ease-out 0.5s;
animation-fill-mode: forwards; }
.editor-block-list__breadcrumb.is-light .components-toolbar {
background: rgba(255, 255, 255, 0.5);
@@ -882,13 +862,13 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
margin-top: 14px; }
.editor-block-compare__wrapper .editor-block-compare__heading {
font-size: 1em;
- font-weight: normal; }
+ font-weight: 400; }
.editor-block-mover {
min-height: 56px;
opacity: 0; }
.editor-block-mover.is-visible {
- animation: fade-in 0.2s ease-out 0s;
+ animation: edit-post__fade-in-animation 0.2s ease-out 0s;
animation-fill-mode: forwards; }
@media (min-width: 600px) {
.editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .editor-block-mover {
@@ -949,6 +929,13 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
.editor-block-mover__control:focus {
z-index: 1; } }
+.editor-block-navigation__container {
+ padding: 7px; }
+
+.editor-block-navigation__label {
+ margin: 0 0 8px;
+ color: #6c7781; }
+
.editor-block-navigation__list,
.editor-block-navigation__paragraph {
padding: 0;
@@ -985,12 +972,25 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
width: 2px; }
.editor-block-navigation__item-button {
- padding: 6px;
display: flex;
align-items: center;
+ width: 100%;
+ padding: 6px;
+ text-align: right;
+ color: #40464d;
border-radius: 4px; }
.editor-block-navigation__item-button .editor-block-icon {
margin-left: 6px; }
+ .editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled="true"]) {
+ color: #191e23;
+ border: none;
+ box-shadow: none; }
+ .editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled="true"]) {
+ color: #191e23;
+ border: none;
+ box-shadow: none;
+ outline-offset: -2px;
+ outline: 1px dotted #555d66; }
.editor-block-navigation__item-button.is-selected, .editor-block-navigation__item-button.is-selected:focus {
color: #32373c;
background: #edeff0; }
@@ -1251,14 +1251,12 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
background: none;
box-shadow: none;
display: block;
- margin-right: 1px;
- margin-left: 1px;
cursor: text;
width: 100%;
outline: 1px solid transparent;
transition: 0.2s outline;
resize: none;
- padding: 0 14px;
+ padding: 0 14px 0 50px;
color: rgba(14, 28, 46, 0.62); }
.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content {
color: rgba(255, 255, 255, 0.65); }
@@ -1974,7 +1972,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
color: #a2aab2;
overflow: hidden; }
.editor-post-saved-state.is-saving {
- animation: loading_fade 0.5s infinite; }
+ animation: edit-post__loading-fade-animation 0.5s infinite; }
.editor-post-saved-state .dashicon {
display: inline-block;
flex: 0 0 auto; }
@@ -2144,6 +2142,7 @@ body.admin-color-light .editor-post-text-editor__link{
color: #191e23;
transition: border 0.1s ease-out;
padding: 19px 14px;
+ word-break: keep-all;
border: 1px solid transparent;
border-right-width: 0;
border-left-width: 0;
@@ -2267,9 +2266,12 @@ body.admin-color-light .editor-post-text-editor__link{
position: absolute;
top: 0;
width: 100%;
- margin-top: 0; }
+ margin-top: 0;
+ height: 100%; }
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] > p {
margin-top: 0; }
+ .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
+ padding-left: 36px; }
.editor-rich-text__tinymce + .editor-rich-text__tinymce {
pointer-events: none; }
.editor-rich-text__tinymce + .editor-rich-text__tinymce,
@@ -2402,7 +2404,7 @@ body.admin-color-light .editor-post-text-editor__link{
max-height: 200px;
transition: all 0.15s ease-in-out;
padding: 4px 0;
- width: 374px;
+ width: 302px;
overflow-y: auto; }
.editor-url-input__suggestions,
@@ -2521,8 +2523,7 @@ body.admin-color-light .editor-post-text-editor__link{
.editor-warning .editor-warning__actions {
display: flex; }
.editor-warning .editor-warning__action {
- margin: 0 0 0 6px;
- margin-right: 0; }
+ margin: 0 0 0 6px; }
.editor-warning__secondary {
margin: 3px -4px 0 0; }
diff --git a/wp-includes/css/dist/editor/style.css b/wp-includes/css/dist/editor/style.css
index 7c16d014fb..5c1b2b3c6a 100644
--- a/wp-includes/css/dist/editor/style.css
+++ b/wp-includes/css/dist/editor/style.css
@@ -29,30 +29,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.editor-autocompleters__block .editor-block-icon {
margin-right: 8px; }
@@ -317,13 +293,16 @@
.editor-block-list__layout .editor-block-list__block.has-warning {
min-height: 36px; }
-.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit > :not(.editor-warning) {
+.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit > * {
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
+.editor-block-list__layout .editor-block-list__block.has-warning .editor-block-list__block-edit .editor-warning {
+ pointer-events: all; }
+
.editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before {
outline-color: rgba(145, 151, 162, 0.25); }
.is-dark-theme .editor-block-list__layout .editor-block-list__block.has-warning:not(.is-hovered) .editor-block-list__block-edit::before {
@@ -388,6 +367,11 @@
left: auto;
right: 0; }
+@media (min-width: 600px) {
+ .editor-block-list__layout .editor-block-list__block[data-align="right"] .editor-block-contextual-toolbar,
+ .editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-contextual-toolbar {
+ top: 14px; } }
+
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-list__block-edit {
/*!rtl:begin:ignore*/
float: left;
@@ -442,7 +426,7 @@
.editor-block-list__layout .editor-block-list__block[data-align="wide"] > .editor-block-mover {
left: -13px; }
-.editor-block-list__layout .editor-block-list__block[data-align="full"] > .editor-block-list__block-edit .editor-block-list__breadcrumb {
+.editor-block-list__layout .editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .editor-block-list__breadcrumb {
right: 0; }
@media (min-width: 600px) {
@@ -708,10 +692,6 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
/*rtl:ignore*/
margin-left: 15px; }
-.editor-block-list__block[data-align="full"] .editor-block-contextual-toolbar {
- margin-left: -42px;
- margin-right: -42px; }
-
.editor-block-list__block .editor-block-contextual-toolbar > * {
pointer-events: auto; }
@@ -787,7 +767,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
background: #007cba; }
.editor-block-list__block:hover .editor-block-list__breadcrumb .components-toolbar {
opacity: 0;
- animation: fade-in 60ms ease-out 0.5s;
+ animation: edit-post__fade-in-animation 60ms ease-out 0.5s;
animation-fill-mode: forwards; }
.editor-block-list__breadcrumb.is-light .components-toolbar {
background: rgba(255, 255, 255, 0.5);
@@ -894,13 +874,13 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
margin-top: 14px; }
.editor-block-compare__wrapper .editor-block-compare__heading {
font-size: 1em;
- font-weight: normal; }
+ font-weight: 400; }
.editor-block-mover {
min-height: 56px;
opacity: 0; }
.editor-block-mover.is-visible {
- animation: fade-in 0.2s ease-out 0s;
+ animation: edit-post__fade-in-animation 0.2s ease-out 0s;
animation-fill-mode: forwards; }
@media (min-width: 600px) {
.editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .editor-block-mover {
@@ -961,6 +941,13 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
.editor-block-mover__control:focus {
z-index: 1; } }
+.editor-block-navigation__container {
+ padding: 7px; }
+
+.editor-block-navigation__label {
+ margin: 0 0 8px;
+ color: #6c7781; }
+
.editor-block-navigation__list,
.editor-block-navigation__paragraph {
padding: 0;
@@ -997,12 +984,25 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
width: 2px; }
.editor-block-navigation__item-button {
- padding: 6px;
display: flex;
align-items: center;
+ width: 100%;
+ padding: 6px;
+ text-align: left;
+ color: #40464d;
border-radius: 4px; }
.editor-block-navigation__item-button .editor-block-icon {
margin-right: 6px; }
+ .editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled="true"]) {
+ color: #191e23;
+ border: none;
+ box-shadow: none; }
+ .editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled="true"]) {
+ color: #191e23;
+ border: none;
+ box-shadow: none;
+ outline-offset: -2px;
+ outline: 1px dotted #555d66; }
.editor-block-navigation__item-button.is-selected, .editor-block-navigation__item-button.is-selected:focus {
color: #32373c;
background: #edeff0; }
@@ -1263,14 +1263,12 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
background: none;
box-shadow: none;
display: block;
- margin-left: 1px;
- margin-right: 1px;
cursor: text;
width: 100%;
outline: 1px solid transparent;
transition: 0.2s outline;
resize: none;
- padding: 0 14px;
+ padding: 0 50px 0 14px;
color: rgba(14, 28, 46, 0.62); }
.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content {
color: rgba(255, 255, 255, 0.65); }
@@ -1986,7 +1984,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
color: #a2aab2;
overflow: hidden; }
.editor-post-saved-state.is-saving {
- animation: loading_fade 0.5s infinite; }
+ animation: edit-post__loading-fade-animation 0.5s infinite; }
.editor-post-saved-state .dashicon {
display: inline-block;
flex: 0 0 auto; }
@@ -2156,6 +2154,7 @@ body.admin-color-light .editor-post-text-editor__link{
color: #191e23;
transition: border 0.1s ease-out;
padding: 19px 14px;
+ word-break: keep-all;
border: 1px solid transparent;
border-left-width: 0;
border-right-width: 0;
@@ -2279,9 +2278,12 @@ body.admin-color-light .editor-post-text-editor__link{
position: absolute;
top: 0;
width: 100%;
- margin-top: 0; }
+ margin-top: 0;
+ height: 100%; }
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] > p {
margin-top: 0; }
+ .editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
+ padding-right: 36px; }
.editor-rich-text__tinymce + .editor-rich-text__tinymce {
pointer-events: none; }
.editor-rich-text__tinymce + .editor-rich-text__tinymce,
@@ -2414,7 +2416,7 @@ body.admin-color-light .editor-post-text-editor__link{
max-height: 200px;
transition: all 0.15s ease-in-out;
padding: 4px 0;
- width: 374px;
+ width: 302px;
overflow-y: auto; }
.editor-url-input__suggestions,
@@ -2533,8 +2535,7 @@ body.admin-color-light .editor-post-text-editor__link{
.editor-warning .editor-warning__actions {
display: flex; }
.editor-warning .editor-warning__action {
- margin: 0 6px 0 0;
- margin-left: 0; }
+ margin: 0 6px 0 0; }
.editor-warning__secondary {
margin: 3px 0 0 -4px; }
diff --git a/wp-includes/css/dist/format-library/style-rtl.css b/wp-includes/css/dist/format-library/style-rtl.css
index fe3a3dd4ff..b3eea03962 100644
--- a/wp-includes/css/dist/format-library/style-rtl.css
+++ b/wp-includes/css/dist/format-library/style-rtl.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(-360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.editor-format-toolbar__link-container-content {
display: flex; }
diff --git a/wp-includes/css/dist/format-library/style.css b/wp-includes/css/dist/format-library/style.css
index bfa763ea41..b3eea03962 100644
--- a/wp-includes/css/dist/format-library/style.css
+++ b/wp-includes/css/dist/format-library/style.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.editor-format-toolbar__link-container-content {
display: flex; }
diff --git a/wp-includes/css/dist/list-reusable-blocks/style-rtl.css b/wp-includes/css/dist/list-reusable-blocks/style-rtl.css
index 024fb40d0d..2e2d81ea67 100644
--- a/wp-includes/css/dist/list-reusable-blocks/style-rtl.css
+++ b/wp-includes/css/dist/list-reusable-blocks/style-rtl.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(-360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.list-reusable-blocks-import-dropdown__content .components-popover__content {
padding: 10px; }
diff --git a/wp-includes/css/dist/list-reusable-blocks/style.css b/wp-includes/css/dist/list-reusable-blocks/style.css
index da1dff382f..96f0f4bf03 100644
--- a/wp-includes/css/dist/list-reusable-blocks/style.css
+++ b/wp-includes/css/dist/list-reusable-blocks/style.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.list-reusable-blocks-import-dropdown__content .components-popover__content {
padding: 10px; }
diff --git a/wp-includes/css/dist/nux/style-rtl.css b/wp-includes/css/dist/nux/style-rtl.css
index 46552807f6..d4fbf87e67 100644
--- a/wp-includes/css/dist/nux/style-rtl.css
+++ b/wp-includes/css/dist/nux/style-rtl.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(-360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.nux-dot-tip::before, .nux-dot-tip::after {
border-radius: 100%;
content: " ";
diff --git a/wp-includes/css/dist/nux/style.css b/wp-includes/css/dist/nux/style.css
index d63dc5fdfe..c9aae36edd 100644
--- a/wp-includes/css/dist/nux/style.css
+++ b/wp-includes/css/dist/nux/style.css
@@ -28,30 +28,6 @@
/**
* Styles that are reused verbatim in a few places
*/
-@keyframes fade-in {
- from {
- opacity: 0; }
- to {
- opacity: 1; } }
-
-@keyframes editor_region_focus {
- from {
- box-shadow: inset 0 0 0 0 #33b3db; }
- to {
- box-shadow: inset 0 0 0 4px #33b3db; } }
-
-@keyframes rotation {
- from {
- transform: rotate(0deg); }
- to {
- transform: rotate(360deg); } }
-
-@keyframes modal-appear {
- from {
- margin-top: 32px; }
- to {
- margin-top: 0; } }
-
.nux-dot-tip::before, .nux-dot-tip::after {
border-radius: 100%;
content: " ";
diff --git a/wp-includes/js/dist/annotations.js.map b/wp-includes/js/dist/annotations.js.map
index 7c4576f497..8017d10e81 100644
--- a/wp-includes/js/dist/annotations.js.map
+++ b/wp-includes/js/dist/annotations.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack://wp.[name]/webpack/bootstrap","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/objectSpread.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://wp.[name]//Users/pento/Projects/gutenberg/packages/annotations/src/block/index.js","webpack://wp.[name]//Users/pento/Projects/gutenberg/packages/annotations/src/format/annotation.js","webpack://wp.[name]//Users/pento/Projects/gutenberg/packages/annotations/src/format/index.js","webpack://wp.[name]//Users/pento/Projects/gutenberg/packages/annotations/src/index.js","webpack://wp.[name]//Users/pento/Projects/gutenberg/packages/annotations/src/store/actions.js","webpack://wp.[name]//Users/pento/Projects/gutenberg/packages/annotations/src/store/index.js","webpack://wp.[name]//Users/pento/Projects/gutenberg/packages/annotations/src/store/reducer.js","webpack://wp.[name]//Users/pento/Projects/gutenberg/packages/annotations/src/store/selectors.js","webpack://wp.[name]/./node_modules/rememo/es/rememo.js","webpack://wp.[name]/./node_modules/uuid/lib/bytesToUuid.js","webpack://wp.[name]/./node_modules/uuid/lib/rng-browser.js","webpack://wp.[name]/./node_modules/uuid/v4.js","webpack://wp.[name]/external {\"this\":[\"wp\",\"data\"]}","webpack://wp.[name]/external {\"this\":[\"wp\",\"hooks\"]}","webpack://wp.[name]/external {\"this\":[\"wp\",\"i18n\"]}","webpack://wp.[name]/external {\"this\":[\"wp\",\"richText\"]}","webpack://wp.[name]/external \"lodash\""],"names":["addAnnotationClassName","OriginalComponent","withSelect","select","clientId","annotations","__experimentalGetAnnotationsForBlock","className","map","annotation","source","addFilter","name","applyAnnotations","record","forEach","start","end","text","length","applyFormat","type","attributes","removeAnnotations","removeFormat","title","__","tagName","edit","__experimentalGetPropsForEditableTreePreparation","richTextIdentifier","blockClientId","__experimentalGetAnnotationsForRichText","__experimentalCreatePrepareEditableTree","props","formats","settings","registerFormatType","__experimentalAddAnnotation","range","selector","id","uuid","action","__experimentalRemoveAnnotation","annotationId","__experimentalRemoveAnnotationsBySource","MODULE_KEY","store","registerStore","reducer","selectors","actions","filterWithReference","collection","predicate","filteredCollection","filter","isValidAnnotationRange","isNumber","state","all","byBlockClientId","newAnnotation","previousAnnotationsForBlock","mapValues","annotationForBlock","idsToRemove","allAnnotations","push","includes","createSelector","other","__experimentalGetAnnotations"],"mappings":";;AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;AClFA;AAAA;AAAe;AACf;AACA,iDAAiD,gBAAgB;AACjE;AACA;;AAEA;AACA;AACA,C;;;;;;;;;;;;ACRA;AAAA;AAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA,C;;;;;;;;;;;;ACbA;AAAA;AAAe;AACf;AACA,C;;;;;;;;;;;;ACFA;AAAA;AAAe;AACf;AACA,C;;;;;;;;;;;;ACFA;AAAA;AAAA;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ACA;AACA;AACA,WAAW,EAAE;AACb;AACA,YAAY,QAAQ;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB;AACA,YAAY,QAAQ;AACpB;AACA;AACA;;AAEA;AACA;AACA;;AAEA,qBAAqB,cAAc;AACnC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA;AACA;AACA,YAAY,SAAS;AACrB;AACe;AACf;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,iBAAiB;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,MAAM;AAClB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA,cAAc,uBAAuB;AACrC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,KAAK;AACjB;AACA,aAAa,EAAE;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,cAAc,SAAS;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,CAAC;;;;;;;;;;;;ACjRD;AACA;AACA;AACA;AACA;AACA,eAAe,SAAS;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACvBA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,iCAAiC;;AAEjC;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,QAAQ;AAC9B;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACjCA,UAAU,mBAAO,CAAC,yDAAW;AAC7B,kBAAkB,mBAAO,CAAC,iEAAmB;;AAE7C;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,oBAAoB,SAAS;AAC7B;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;AC5BA,aAAa,qCAAqC,EAAE,I;;;;;;;;;;;ACApD,aAAa,sCAAsC,EAAE,I;;;;;;;;;;;ACArD,aAAa,qCAAqC,EAAE,I;;;;;;;;;;;ACApD,aAAa,yCAAyC,EAAE,I;;;;;;;;;;;ACAxD,aAAa,iCAAiC,EAAE,I","file":"annotations.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./node_modules/@wordpress/annotations/build-module/index.js\");\n","export default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n }\n}","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","export default function _iterableToArray(iter) {\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n}","import defineProperty from \"./defineProperty\";\nexport default function _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n }\n\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","import arrayWithoutHoles from \"./arrayWithoutHoles\";\nimport iterableToArray from \"./iterableToArray\";\nimport nonIterableSpread from \"./nonIterableSpread\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || nonIterableSpread();\n}","/**\n * WordPress dependencies\n */\nimport { addFilter } from '@wordpress/hooks';\nimport { withSelect } from '@wordpress/data';\n\n/**\n * Adds annotation className to the block-list-block component.\n *\n * @param {Object} OriginalComponent The original BlockListBlock component.\n * @return {Object} The enhanced component.\n */\nconst addAnnotationClassName = ( OriginalComponent ) => {\n\treturn withSelect( ( select, { clientId } ) => {\n\t\tconst annotations = select( 'core/annotations' ).__experimentalGetAnnotationsForBlock( clientId );\n\n\t\treturn {\n\t\t\tclassName: annotations.map( ( annotation ) => {\n\t\t\t\treturn 'is-annotated-by-' + annotation.source;\n\t\t\t} ),\n\t\t};\n\t} )( OriginalComponent );\n};\n\naddFilter( 'editor.BlockListBlock', 'core/annotations', addAnnotationClassName );\n","/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\nconst name = 'core/annotation';\n\n/**\n * WordPress dependencies\n */\nimport { applyFormat, removeFormat } from '@wordpress/rich-text';\n\n/**\n * Applies given annotations to the given record.\n *\n * @param {Object} record The record to apply annotations to.\n * @param {Array} annotations The annotation to apply.\n * @return {Object} A record with the annotations applied.\n */\nexport function applyAnnotations( record, annotations = [] ) {\n\tannotations.forEach( ( annotation ) => {\n\t\tlet { start, end } = annotation;\n\n\t\tif ( start > record.text.length ) {\n\t\t\tstart = record.text.length;\n\t\t}\n\n\t\tif ( end > record.text.length ) {\n\t\t\tend = record.text.length;\n\t\t}\n\n\t\tconst className = 'annotation-text-' + annotation.source;\n\n\t\trecord = applyFormat(\n\t\t\trecord,\n\t\t\t{ type: 'core/annotation', attributes: { className } },\n\t\t\tstart,\n\t\t\tend\n\t\t);\n\t} );\n\n\treturn record;\n}\n\n/**\n * Removes annotations from the given record.\n *\n * @param {Object} record Record to remove annotations from.\n * @return {Object} The cleaned record.\n */\nexport function removeAnnotations( record ) {\n\treturn removeFormat( record, 'core/annotation', 0, record.text.length );\n}\n\nexport const annotation = {\n\tname,\n\ttitle: __( 'Annotation' ),\n\ttagName: 'mark',\n\tclassName: 'annotation-text',\n\tattributes: {\n\t\tclassName: 'class',\n\t},\n\tedit() {\n\t\treturn null;\n\t},\n\t__experimentalGetPropsForEditableTreePreparation( select, { richTextIdentifier, blockClientId } ) {\n\t\treturn {\n\t\t\tannotations: select( 'core/annotations' ).__experimentalGetAnnotationsForRichText( blockClientId, richTextIdentifier ),\n\t\t};\n\t},\n\t__experimentalCreatePrepareEditableTree( props ) {\n\t\treturn ( formats, text ) => {\n\t\t\tif ( props.annotations.length === 0 ) {\n\t\t\t\treturn formats;\n\t\t\t}\n\n\t\t\tlet record = { formats, text };\n\t\t\trecord = applyAnnotations( record, props.annotations );\n\t\t\treturn record.formats;\n\t\t};\n\t},\n};\n","/**\n * WordPress dependencies\n */\nimport {\n\tregisterFormatType,\n} from '@wordpress/rich-text';\n\n/**\n * Internal dependencies\n */\nimport { annotation } from './annotation';\n\nconst { name, ...settings } = annotation;\n\nregisterFormatType( name, settings );\n","/**\n * Internal dependencies\n */\nimport './store';\nimport './format';\nimport './block';\n\n","/**\n * External dependencies\n */\nimport uuid from 'uuid/v4';\n\n/**\n * Adds an annotation to a block.\n *\n * The `block` attribute refers to a block ID that needs to be annotated.\n * `isBlockAnnotation` controls whether or not the annotation is a block\n * annotation. The `source` is the source of the annotation, this will be used\n * to identity groups of annotations.\n *\n * The `range` property is only relevant if the selector is 'range'.\n *\n * @param {Object} annotation The annotation to add.\n * @param {string} blockClientId The blockClientId to add the annotation to.\n * @param {string} richTextIdentifier Identifier for the RichText instance the annotation applies to.\n * @param {Object} range The range at which to apply this annotation.\n * @param {number} range.start The offset where the annotation should start.\n * @param {number} range.end The offset where the annotation should end.\n * @param {string} [selector=\"range\"] The way to apply this annotation.\n * @param {string} [source=\"default\"] The source that added the annotation.\n * @param {string} [id=uuid()] The ID the annotation should have.\n * Generates a UUID by default.\n *\n * @return {Object} Action object.\n */\nexport function __experimentalAddAnnotation( { blockClientId, richTextIdentifier = null, range = null, selector = 'range', source = 'default', id = uuid() } ) {\n\tconst action = {\n\t\ttype: 'ANNOTATION_ADD',\n\t\tid,\n\t\tblockClientId,\n\t\trichTextIdentifier,\n\t\tsource,\n\t\tselector,\n\t};\n\n\tif ( selector === 'range' ) {\n\t\taction.range = range;\n\t}\n\n\treturn action;\n}\n\n/**\n * Removes an annotation with a specific ID.\n *\n * @param {string} annotationId The annotation to remove.\n *\n * @return {Object} Action object.\n */\nexport function __experimentalRemoveAnnotation( annotationId ) {\n\treturn {\n\t\ttype: 'ANNOTATION_REMOVE',\n\t\tannotationId,\n\t};\n}\n\n/**\n * Removes all annotations of a specific source.\n *\n * @param {string} source The source to remove.\n *\n * @return {Object} Action object.\n */\nexport function __experimentalRemoveAnnotationsBySource( source ) {\n\treturn {\n\t\ttype: 'ANNOTATION_REMOVE_SOURCE',\n\t\tsource,\n\t};\n}\n","/**\n * WordPress Dependencies\n */\nimport { registerStore } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport reducer from './reducer';\nimport * as selectors from './selectors';\nimport * as actions from './actions';\n\n/**\n * Module Constants\n */\nconst MODULE_KEY = 'core/annotations';\n\nconst store = registerStore( MODULE_KEY, {\n\treducer,\n\tselectors,\n\tactions,\n} );\n\nexport default store;\n","/**\n * External dependencies\n */\nimport { isNumber, mapValues } from 'lodash';\n\n/**\n * Filters an array based on the predicate, but keeps the reference the same if\n * the array hasn't changed.\n *\n * @param {Array} collection The collection to filter.\n * @param {Function} predicate Function that determines if the item should stay\n * in the array.\n * @return {Array} Filtered array.\n */\nfunction filterWithReference( collection, predicate ) {\n\tconst filteredCollection = collection.filter( predicate );\n\n\treturn collection.length === filteredCollection.length ? collection : filteredCollection;\n}\n\n/**\n * Verifies whether the given annotations is a valid annotation.\n *\n * @param {Object} annotation The annotation to verify.\n * @return {boolean} Whether the given annotation is valid.\n */\nfunction isValidAnnotationRange( annotation ) {\n\treturn isNumber( annotation.start ) &&\n\t\tisNumber( annotation.end ) &&\n\t\tannotation.start <= annotation.end;\n}\n\n/**\n * Reducer managing annotations.\n *\n * @param {Array} state The annotations currently shown in the editor.\n * @param {Object} action Dispatched action.\n *\n * @return {Array} Updated state.\n */\nexport function annotations( state = { all: [], byBlockClientId: {} }, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'ANNOTATION_ADD':\n\t\t\tconst blockClientId = action.blockClientId;\n\t\t\tconst newAnnotation = {\n\t\t\t\tid: action.id,\n\t\t\t\tblockClientId,\n\t\t\t\trichTextIdentifier: action.richTextIdentifier,\n\t\t\t\tsource: action.source,\n\t\t\t\tselector: action.selector,\n\t\t\t\trange: action.range,\n\t\t\t};\n\n\t\t\tif ( newAnnotation.selector === 'range' && ! isValidAnnotationRange( newAnnotation.range ) ) {\n\t\t\t\treturn state;\n\t\t\t}\n\n\t\t\tconst previousAnnotationsForBlock = state.byBlockClientId[ blockClientId ] || [];\n\n\t\t\treturn {\n\t\t\t\tall: [\n\t\t\t\t\t...state.all,\n\t\t\t\t\tnewAnnotation,\n\t\t\t\t],\n\t\t\t\tbyBlockClientId: {\n\t\t\t\t\t...state.byBlockClientId,\n\t\t\t\t\t[ blockClientId ]: [ ...previousAnnotationsForBlock, action.id ],\n\t\t\t\t},\n\t\t\t};\n\n\t\tcase 'ANNOTATION_REMOVE':\n\t\t\treturn {\n\t\t\t\tall: state.all.filter( ( annotation ) => annotation.id !== action.annotationId ),\n\n\t\t\t\t// We use filterWithReference to not refresh the reference if a block still has\n\t\t\t\t// the same annotations.\n\t\t\t\tbyBlockClientId: mapValues( state.byBlockClientId, ( annotationForBlock ) => {\n\t\t\t\t\treturn filterWithReference( annotationForBlock, ( annotationId ) => {\n\t\t\t\t\t\treturn annotationId !== action.annotationId;\n\t\t\t\t\t} );\n\t\t\t\t} ),\n\t\t\t};\n\n\t\tcase 'ANNOTATION_REMOVE_SOURCE':\n\t\t\tconst idsToRemove = [];\n\n\t\t\tconst allAnnotations = state.all.filter( ( annotation ) => {\n\t\t\t\tif ( annotation.source === action.source ) {\n\t\t\t\t\tidsToRemove.push( annotation.id );\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\t\t\t} );\n\n\t\t\treturn {\n\t\t\t\tall: allAnnotations,\n\t\t\t\tbyBlockClientId: mapValues( state.byBlockClientId, ( annotationForBlock ) => {\n\t\t\t\t\treturn filterWithReference( annotationForBlock, ( annotationId ) => {\n\t\t\t\t\t\treturn ! idsToRemove.includes( annotationId );\n\t\t\t\t\t} );\n\t\t\t\t} ),\n\t\t\t};\n\t}\n\n\treturn state;\n}\n\nexport default annotations;\n","/**\n * External dependencies\n */\nimport createSelector from 'rememo';\n\n/**\n * Returns the annotations for a specific client ID.\n *\n * @param {Object} state Editor state.\n * @param {string} clientId The ID of the block to get the annotations for.\n *\n * @return {Array} The annotations applicable to this block.\n */\nexport const __experimentalGetAnnotationsForBlock = createSelector(\n\t( state, blockClientId ) => {\n\t\treturn state.all.filter( ( annotation ) => {\n\t\t\treturn annotation.selector === 'block' && annotation.blockClientId === blockClientId;\n\t\t} );\n\t},\n\t( state, blockClientId ) => [\n\t\tstate.byBlockClientId[ blockClientId ],\n\t]\n);\n\n/**\n * Returns the annotations that apply to the given RichText instance.\n *\n * Both a blockClientId and a richTextIdentifier are required. This is because\n * a block might have multiple `RichText` components. This does mean that every\n * block needs to implement annotations itself.\n *\n * @param {Object} state Editor state.\n * @param {string} blockClientId The client ID for the block.\n * @param {string} richTextIdentifier Unique identifier that identifies the given RichText.\n * @return {Array} All the annotations relevant for the `RichText`.\n */\nexport const __experimentalGetAnnotationsForRichText = createSelector(\n\t( state, blockClientId, richTextIdentifier ) => {\n\t\treturn state.all.filter( ( annotation ) => {\n\t\t\treturn annotation.selector === 'range' &&\n\t\t\t\tannotation.blockClientId === blockClientId &&\n\t\t\t\trichTextIdentifier === annotation.richTextIdentifier;\n\t\t} ).map( ( annotation ) => {\n\t\t\tconst { range, ...other } = annotation;\n\n\t\t\treturn {\n\t\t\t\t...range,\n\t\t\t\t...other,\n\t\t\t};\n\t\t} );\n\t},\n\t( state, blockClientId ) => [\n\t\tstate.byBlockClientId[ blockClientId ],\n\t]\n);\n\n/**\n * Returns all annotations in the editor state.\n *\n * @param {Object} state Editor state.\n * @return {Array} All annotations currently applied.\n */\nexport function __experimentalGetAnnotations( state ) {\n\treturn state.all;\n}\n","'use strict';\n\nvar LEAF_KEY, hasWeakMap;\n\n/**\n * Arbitrary value used as key for referencing cache object in WeakMap tree.\n *\n * @type {Object}\n */\nLEAF_KEY = {};\n\n/**\n * Whether environment supports WeakMap.\n *\n * @type {boolean}\n */\nhasWeakMap = typeof WeakMap !== 'undefined';\n\n/**\n * Returns the first argument as the sole entry in an array.\n *\n * @param {*} value Value to return.\n *\n * @return {Array} Value returned as entry in array.\n */\nfunction arrayOf( value ) {\n\treturn [ value ];\n}\n\n/**\n * Returns true if the value passed is object-like, or false otherwise. A value\n * is object-like if it can support property assignment, e.g. object or array.\n *\n * @param {*} value Value to test.\n *\n * @return {boolean} Whether value is object-like.\n */\nfunction isObjectLike( value ) {\n\treturn !! value && 'object' === typeof value;\n}\n\n/**\n * Creates and returns a new cache object.\n *\n * @return {Object} Cache object.\n */\nfunction createCache() {\n\tvar cache = {\n\t\tclear: function() {\n\t\t\tcache.head = null;\n\t\t},\n\t};\n\n\treturn cache;\n}\n\n/**\n * Returns true if entries within the two arrays are strictly equal by\n * reference from a starting index.\n *\n * @param {Array} a First array.\n * @param {Array} b Second array.\n * @param {number} fromIndex Index from which to start comparison.\n *\n * @return {boolean} Whether arrays are shallowly equal.\n */\nfunction isShallowEqual( a, b, fromIndex ) {\n\tvar i;\n\n\tif ( a.length !== b.length ) {\n\t\treturn false;\n\t}\n\n\tfor ( i = fromIndex; i < a.length; i++ ) {\n\t\tif ( a[ i ] !== b[ i ] ) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\treturn true;\n}\n\n/**\n * Returns a memoized selector function. The getDependants function argument is\n * called before the memoized selector and is expected to return an immutable\n * reference or array of references on which the selector depends for computing\n * its own return value. The memoize cache is preserved only as long as those\n * dependant references remain the same. If getDependants returns a different\n * reference(s), the cache is cleared and the selector value regenerated.\n *\n * @param {Function} selector Selector function.\n * @param {Function} getDependants Dependant getter returning an immutable\n * reference or array of reference used in\n * cache bust consideration.\n *\n * @return {Function} Memoized selector.\n */\nexport default function( selector, getDependants ) {\n\tvar rootCache, getCache;\n\n\t// Use object source as dependant if getter not provided\n\tif ( ! getDependants ) {\n\t\tgetDependants = arrayOf;\n\t}\n\n\t/**\n\t * Returns the root cache. If WeakMap is supported, this is assigned to the\n\t * root WeakMap cache set, otherwise it is a shared instance of the default\n\t * cache object.\n\t *\n\t * @return {(WeakMap|Object)} Root cache object.\n\t */\n\tfunction getRootCache() {\n\t\treturn rootCache;\n\t}\n\n\t/**\n\t * Returns the cache for a given dependants array. When possible, a WeakMap\n\t * will be used to create a unique cache for each set of dependants. This\n\t * is feasible due to the nature of WeakMap in allowing garbage collection\n\t * to occur on entries where the key object is no longer referenced. Since\n\t * WeakMap requires the key to be an object, this is only possible when the\n\t * dependant is object-like. The root cache is created as a hierarchy where\n\t * each top-level key is the first entry in a dependants set, the value a\n\t * WeakMap where each key is the next dependant, and so on. This continues\n\t * so long as the dependants are object-like. If no dependants are object-\n\t * like, then the cache is shared across all invocations.\n\t *\n\t * @see isObjectLike\n\t *\n\t * @param {Array} dependants Selector dependants.\n\t *\n\t * @return {Object} Cache object.\n\t */\n\tfunction getWeakMapCache( dependants ) {\n\t\tvar caches = rootCache,\n\t\t\tisUniqueByDependants = true,\n\t\t\ti, dependant, map, cache;\n\n\t\tfor ( i = 0; i < dependants.length; i++ ) {\n\t\t\tdependant = dependants[ i ];\n\n\t\t\t// Can only compose WeakMap from object-like key.\n\t\t\tif ( ! isObjectLike( dependant ) ) {\n\t\t\t\tisUniqueByDependants = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// Does current segment of cache already have a WeakMap?\n\t\t\tif ( caches.has( dependant ) ) {\n\t\t\t\t// Traverse into nested WeakMap.\n\t\t\t\tcaches = caches.get( dependant );\n\t\t\t} else {\n\t\t\t\t// Create, set, and traverse into a new one.\n\t\t\t\tmap = new WeakMap();\n\t\t\t\tcaches.set( dependant, map );\n\t\t\t\tcaches = map;\n\t\t\t}\n\t\t}\n\n\t\t// We use an arbitrary (but consistent) object as key for the last item\n\t\t// in the WeakMap to serve as our running cache.\n\t\tif ( ! caches.has( LEAF_KEY ) ) {\n\t\t\tcache = createCache();\n\t\t\tcache.isUniqueByDependants = isUniqueByDependants;\n\t\t\tcaches.set( LEAF_KEY, cache );\n\t\t}\n\n\t\treturn caches.get( LEAF_KEY );\n\t}\n\n\t// Assign cache handler by availability of WeakMap\n\tgetCache = hasWeakMap ? getWeakMapCache : getRootCache;\n\n\t/**\n\t * Resets root memoization cache.\n\t */\n\tfunction clear() {\n\t\trootCache = hasWeakMap ? new WeakMap() : createCache();\n\t}\n\n\t// eslint-disable-next-line jsdoc/check-param-names\n\t/**\n\t * The augmented selector call, considering first whether dependants have\n\t * changed before passing it to underlying memoize function.\n\t *\n\t * @param {Object} source Source object for derivation.\n\t * @param {...*} extraArgs Additional arguments to pass to selector.\n\t *\n\t * @return {*} Selector result.\n\t */\n\tfunction callSelector( /* source, ...extraArgs */ ) {\n\t\tvar len = arguments.length,\n\t\t\tcache, node, i, args, dependants;\n\n\t\t// Create copy of arguments (avoid leaking deoptimization).\n\t\targs = new Array( len );\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tdependants = getDependants.apply( null, args );\n\t\tcache = getCache( dependants );\n\n\t\t// If not guaranteed uniqueness by dependants (primitive type or lack\n\t\t// of WeakMap support), shallow compare against last dependants and, if\n\t\t// references have changed, destroy cache to recalculate result.\n\t\tif ( ! cache.isUniqueByDependants ) {\n\t\t\tif ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {\n\t\t\t\tcache.clear();\n\t\t\t}\n\n\t\t\tcache.lastDependants = dependants;\n\t\t}\n\n\t\tnode = cache.head;\n\t\twhile ( node ) {\n\t\t\t// Check whether node arguments match arguments\n\t\t\tif ( ! isShallowEqual( node.args, args, 1 ) ) {\n\t\t\t\tnode = node.next;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// At this point we can assume we've found a match\n\n\t\t\t// Surface matched node to head if not already\n\t\t\tif ( node !== cache.head ) {\n\t\t\t\t// Adjust siblings to point to each other.\n\t\t\t\tnode.prev.next = node.next;\n\t\t\t\tif ( node.next ) {\n\t\t\t\t\tnode.next.prev = node.prev;\n\t\t\t\t}\n\n\t\t\t\tnode.next = cache.head;\n\t\t\t\tnode.prev = null;\n\t\t\t\tcache.head.prev = node;\n\t\t\t\tcache.head = node;\n\t\t\t}\n\n\t\t\t// Return immediately\n\t\t\treturn node.val;\n\t\t}\n\n\t\t// No cached value found. Continue to insertion phase:\n\n\t\tnode = {\n\t\t\t// Generate the result from original function\n\t\t\tval: selector.apply( null, args ),\n\t\t};\n\n\t\t// Avoid including the source object in the cache.\n\t\targs[ 0 ] = null;\n\t\tnode.args = args;\n\n\t\t// Don't need to check whether node is already head, since it would\n\t\t// have been returned above already if it was\n\n\t\t// Shift existing head down list\n\t\tif ( cache.head ) {\n\t\t\tcache.head.prev = node;\n\t\t\tnode.next = cache.head;\n\t\t}\n\n\t\tcache.head = node;\n\n\t\treturn node.val;\n\t}\n\n\tcallSelector.getDependants = getDependants;\n\tcallSelector.clear = clear;\n\tclear();\n\n\treturn callSelector;\n}\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([bth[buf[i++]], bth[buf[i++]], \n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]]]).join('');\n}\n\nmodule.exports = bytesToUuid;\n","// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||\n (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","(function() { module.exports = this[\"wp\"][\"data\"]; }());","(function() { module.exports = this[\"wp\"][\"hooks\"]; }());","(function() { module.exports = this[\"wp\"][\"i18n\"]; }());","(function() { module.exports = this[\"wp\"][\"richText\"]; }());","(function() { module.exports = this[\"lodash\"]; }());"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"sources":["webpack://wp.[name]/webpack/bootstrap","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/objectSpread.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://wp.[name]/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://wp.[name]//Users/riad/Workspace/a8c/gutenberg/packages/annotations/src/block/index.js","webpack://wp.[name]//Users/riad/Workspace/a8c/gutenberg/packages/annotations/src/format/annotation.js","webpack://wp.[name]//Users/riad/Workspace/a8c/gutenberg/packages/annotations/src/format/index.js","webpack://wp.[name]//Users/riad/Workspace/a8c/gutenberg/packages/annotations/src/index.js","webpack://wp.[name]//Users/riad/Workspace/a8c/gutenberg/packages/annotations/src/store/actions.js","webpack://wp.[name]//Users/riad/Workspace/a8c/gutenberg/packages/annotations/src/store/index.js","webpack://wp.[name]//Users/riad/Workspace/a8c/gutenberg/packages/annotations/src/store/reducer.js","webpack://wp.[name]//Users/riad/Workspace/a8c/gutenberg/packages/annotations/src/store/selectors.js","webpack://wp.[name]/./node_modules/rememo/es/rememo.js","webpack://wp.[name]/./node_modules/uuid/lib/bytesToUuid.js","webpack://wp.[name]/./node_modules/uuid/lib/rng-browser.js","webpack://wp.[name]/./node_modules/uuid/v4.js","webpack://wp.[name]/external {\"this\":[\"wp\",\"data\"]}","webpack://wp.[name]/external {\"this\":[\"wp\",\"hooks\"]}","webpack://wp.[name]/external {\"this\":[\"wp\",\"i18n\"]}","webpack://wp.[name]/external {\"this\":[\"wp\",\"richText\"]}","webpack://wp.[name]/external \"lodash\""],"names":["addAnnotationClassName","OriginalComponent","withSelect","select","clientId","annotations","__experimentalGetAnnotationsForBlock","className","map","annotation","source","addFilter","name","applyAnnotations","record","forEach","start","end","text","length","applyFormat","type","attributes","removeAnnotations","removeFormat","title","__","tagName","edit","__experimentalGetPropsForEditableTreePreparation","richTextIdentifier","blockClientId","__experimentalGetAnnotationsForRichText","__experimentalCreatePrepareEditableTree","props","formats","settings","registerFormatType","__experimentalAddAnnotation","range","selector","id","uuid","action","__experimentalRemoveAnnotation","annotationId","__experimentalRemoveAnnotationsBySource","MODULE_KEY","store","registerStore","reducer","selectors","actions","filterWithReference","collection","predicate","filteredCollection","filter","isValidAnnotationRange","isNumber","state","all","byBlockClientId","newAnnotation","previousAnnotationsForBlock","mapValues","annotationForBlock","idsToRemove","allAnnotations","push","includes","createSelector","other","__experimentalGetAnnotations"],"mappings":";;AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;A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C9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,MAAM;AAClB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA,cAAc,uBAAuB;AACrC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,KAAK;AACjB;AACA,aAAa,EAAE;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,cAAc,SAAS;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,CAAC;;;;;;;;;;;;ACjRD;AACA;AACA;AACA;AACA;AACA,eAAe,SAAS;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACvBA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,iCAAiC;;AAEjC;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,QAAQ;AAC9B;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACjCA,UAAU,mBAAO,CAAC,yDAAW;AAC7B,kBAAkB,mBAAO,CAAC,iEAAmB;;AAE7C;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,oBAAoB,SAAS;AAC7B;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;AC5BA,aAAa,qCAAqC,EAAE,I;;;;;;;;;;;ACApD,aAAa,sCAAsC,EAAE,I;;;;;;;;;;;ACArD,aAAa,qCAAqC,EAAE,I;;;;;;;;;;;ACApD,aAAa,yCAAyC,EAAE,I;;;;;;;;;;;ACAxD,aAAa,iCAAiC,EAAE,I","file":"annotations.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./node_modules/@wordpress/annotations/build-module/index.js\");\n","export default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n }\n}","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","export default function _iterableToArray(iter) {\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n}","import defineProperty from \"./defineProperty\";\nexport default function _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n }\n\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","import arrayWithoutHoles from \"./arrayWithoutHoles\";\nimport iterableToArray from \"./iterableToArray\";\nimport nonIterableSpread from \"./nonIterableSpread\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || nonIterableSpread();\n}","/**\n * WordPress dependencies\n */\nimport { addFilter } from '@wordpress/hooks';\nimport { withSelect } from '@wordpress/data';\n\n/**\n * Adds annotation className to the block-list-block component.\n *\n * @param {Object} OriginalComponent The original BlockListBlock component.\n * @return {Object} The enhanced component.\n */\nconst addAnnotationClassName = ( OriginalComponent ) => {\n\treturn withSelect( ( select, { clientId } ) => {\n\t\tconst annotations = select( 'core/annotations' ).__experimentalGetAnnotationsForBlock( clientId );\n\n\t\treturn {\n\t\t\tclassName: annotations.map( ( annotation ) => {\n\t\t\t\treturn 'is-annotated-by-' + annotation.source;\n\t\t\t} ),\n\t\t};\n\t} )( OriginalComponent );\n};\n\naddFilter( 'editor.BlockListBlock', 'core/annotations', addAnnotationClassName );\n","/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\nconst name = 'core/annotation';\n\n/**\n * WordPress dependencies\n */\nimport { applyFormat, removeFormat } from '@wordpress/rich-text';\n\n/**\n * Applies given annotations to the given record.\n *\n * @param {Object} record The record to apply annotations to.\n * @param {Array} annotations The annotation to apply.\n * @return {Object} A record with the annotations applied.\n */\nexport function applyAnnotations( record, annotations = [] ) {\n\tannotations.forEach( ( annotation ) => {\n\t\tlet { start, end } = annotation;\n\n\t\tif ( start > record.text.length ) {\n\t\t\tstart = record.text.length;\n\t\t}\n\n\t\tif ( end > record.text.length ) {\n\t\t\tend = record.text.length;\n\t\t}\n\n\t\tconst className = 'annotation-text-' + annotation.source;\n\n\t\trecord = applyFormat(\n\t\t\trecord,\n\t\t\t{ type: 'core/annotation', attributes: { className } },\n\t\t\tstart,\n\t\t\tend\n\t\t);\n\t} );\n\n\treturn record;\n}\n\n/**\n * Removes annotations from the given record.\n *\n * @param {Object} record Record to remove annotations from.\n * @return {Object} The cleaned record.\n */\nexport function removeAnnotations( record ) {\n\treturn removeFormat( record, 'core/annotation', 0, record.text.length );\n}\n\nexport const annotation = {\n\tname,\n\ttitle: __( 'Annotation' ),\n\ttagName: 'mark',\n\tclassName: 'annotation-text',\n\tattributes: {\n\t\tclassName: 'class',\n\t},\n\tedit() {\n\t\treturn null;\n\t},\n\t__experimentalGetPropsForEditableTreePreparation( select, { richTextIdentifier, blockClientId } ) {\n\t\treturn {\n\t\t\tannotations: select( 'core/annotations' ).__experimentalGetAnnotationsForRichText( blockClientId, richTextIdentifier ),\n\t\t};\n\t},\n\t__experimentalCreatePrepareEditableTree( props ) {\n\t\treturn ( formats, text ) => {\n\t\t\tif ( props.annotations.length === 0 ) {\n\t\t\t\treturn formats;\n\t\t\t}\n\n\t\t\tlet record = { formats, text };\n\t\t\trecord = applyAnnotations( record, props.annotations );\n\t\t\treturn record.formats;\n\t\t};\n\t},\n};\n","/**\n * WordPress dependencies\n */\nimport {\n\tregisterFormatType,\n} from '@wordpress/rich-text';\n\n/**\n * Internal dependencies\n */\nimport { annotation } from './annotation';\n\nconst { name, ...settings } = annotation;\n\nregisterFormatType( name, settings );\n","/**\n * Internal dependencies\n */\nimport './store';\nimport './format';\nimport './block';\n\n","/**\n * External dependencies\n */\nimport uuid from 'uuid/v4';\n\n/**\n * Adds an annotation to a block.\n *\n * The `block` attribute refers to a block ID that needs to be annotated.\n * `isBlockAnnotation` controls whether or not the annotation is a block\n * annotation. The `source` is the source of the annotation, this will be used\n * to identity groups of annotations.\n *\n * The `range` property is only relevant if the selector is 'range'.\n *\n * @param {Object} annotation The annotation to add.\n * @param {string} blockClientId The blockClientId to add the annotation to.\n * @param {string} richTextIdentifier Identifier for the RichText instance the annotation applies to.\n * @param {Object} range The range at which to apply this annotation.\n * @param {number} range.start The offset where the annotation should start.\n * @param {number} range.end The offset where the annotation should end.\n * @param {string} [selector=\"range\"] The way to apply this annotation.\n * @param {string} [source=\"default\"] The source that added the annotation.\n * @param {string} [id=uuid()] The ID the annotation should have.\n * Generates a UUID by default.\n *\n * @return {Object} Action object.\n */\nexport function __experimentalAddAnnotation( { blockClientId, richTextIdentifier = null, range = null, selector = 'range', source = 'default', id = uuid() } ) {\n\tconst action = {\n\t\ttype: 'ANNOTATION_ADD',\n\t\tid,\n\t\tblockClientId,\n\t\trichTextIdentifier,\n\t\tsource,\n\t\tselector,\n\t};\n\n\tif ( selector === 'range' ) {\n\t\taction.range = range;\n\t}\n\n\treturn action;\n}\n\n/**\n * Removes an annotation with a specific ID.\n *\n * @param {string} annotationId The annotation to remove.\n *\n * @return {Object} Action object.\n */\nexport function __experimentalRemoveAnnotation( annotationId ) {\n\treturn {\n\t\ttype: 'ANNOTATION_REMOVE',\n\t\tannotationId,\n\t};\n}\n\n/**\n * Removes all annotations of a specific source.\n *\n * @param {string} source The source to remove.\n *\n * @return {Object} Action object.\n */\nexport function __experimentalRemoveAnnotationsBySource( source ) {\n\treturn {\n\t\ttype: 'ANNOTATION_REMOVE_SOURCE',\n\t\tsource,\n\t};\n}\n","/**\n * WordPress Dependencies\n */\nimport { registerStore } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport reducer from './reducer';\nimport * as selectors from './selectors';\nimport * as actions from './actions';\n\n/**\n * Module Constants\n */\nconst MODULE_KEY = 'core/annotations';\n\nconst store = registerStore( MODULE_KEY, {\n\treducer,\n\tselectors,\n\tactions,\n} );\n\nexport default store;\n","/**\n * External dependencies\n */\nimport { isNumber, mapValues } from 'lodash';\n\n/**\n * Filters an array based on the predicate, but keeps the reference the same if\n * the array hasn't changed.\n *\n * @param {Array} collection The collection to filter.\n * @param {Function} predicate Function that determines if the item should stay\n * in the array.\n * @return {Array} Filtered array.\n */\nfunction filterWithReference( collection, predicate ) {\n\tconst filteredCollection = collection.filter( predicate );\n\n\treturn collection.length === filteredCollection.length ? collection : filteredCollection;\n}\n\n/**\n * Verifies whether the given annotations is a valid annotation.\n *\n * @param {Object} annotation The annotation to verify.\n * @return {boolean} Whether the given annotation is valid.\n */\nfunction isValidAnnotationRange( annotation ) {\n\treturn isNumber( annotation.start ) &&\n\t\tisNumber( annotation.end ) &&\n\t\tannotation.start <= annotation.end;\n}\n\n/**\n * Reducer managing annotations.\n *\n * @param {Array} state The annotations currently shown in the editor.\n * @param {Object} action Dispatched action.\n *\n * @return {Array} Updated state.\n */\nexport function annotations( state = { all: [], byBlockClientId: {} }, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'ANNOTATION_ADD':\n\t\t\tconst blockClientId = action.blockClientId;\n\t\t\tconst newAnnotation = {\n\t\t\t\tid: action.id,\n\t\t\t\tblockClientId,\n\t\t\t\trichTextIdentifier: action.richTextIdentifier,\n\t\t\t\tsource: action.source,\n\t\t\t\tselector: action.selector,\n\t\t\t\trange: action.range,\n\t\t\t};\n\n\t\t\tif ( newAnnotation.selector === 'range' && ! isValidAnnotationRange( newAnnotation.range ) ) {\n\t\t\t\treturn state;\n\t\t\t}\n\n\t\t\tconst previousAnnotationsForBlock = state.byBlockClientId[ blockClientId ] || [];\n\n\t\t\treturn {\n\t\t\t\tall: [\n\t\t\t\t\t...state.all,\n\t\t\t\t\tnewAnnotation,\n\t\t\t\t],\n\t\t\t\tbyBlockClientId: {\n\t\t\t\t\t...state.byBlockClientId,\n\t\t\t\t\t[ blockClientId ]: [ ...previousAnnotationsForBlock, action.id ],\n\t\t\t\t},\n\t\t\t};\n\n\t\tcase 'ANNOTATION_REMOVE':\n\t\t\treturn {\n\t\t\t\tall: state.all.filter( ( annotation ) => annotation.id !== action.annotationId ),\n\n\t\t\t\t// We use filterWithReference to not refresh the reference if a block still has\n\t\t\t\t// the same annotations.\n\t\t\t\tbyBlockClientId: mapValues( state.byBlockClientId, ( annotationForBlock ) => {\n\t\t\t\t\treturn filterWithReference( annotationForBlock, ( annotationId ) => {\n\t\t\t\t\t\treturn annotationId !== action.annotationId;\n\t\t\t\t\t} );\n\t\t\t\t} ),\n\t\t\t};\n\n\t\tcase 'ANNOTATION_REMOVE_SOURCE':\n\t\t\tconst idsToRemove = [];\n\n\t\t\tconst allAnnotations = state.all.filter( ( annotation ) => {\n\t\t\t\tif ( annotation.source === action.source ) {\n\t\t\t\t\tidsToRemove.push( annotation.id );\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\t\t\t} );\n\n\t\t\treturn {\n\t\t\t\tall: allAnnotations,\n\t\t\t\tbyBlockClientId: mapValues( state.byBlockClientId, ( annotationForBlock ) => {\n\t\t\t\t\treturn filterWithReference( annotationForBlock, ( annotationId ) => {\n\t\t\t\t\t\treturn ! idsToRemove.includes( annotationId );\n\t\t\t\t\t} );\n\t\t\t\t} ),\n\t\t\t};\n\t}\n\n\treturn state;\n}\n\nexport default annotations;\n","/**\n * External dependencies\n */\nimport createSelector from 'rememo';\n\n/**\n * Returns the annotations for a specific client ID.\n *\n * @param {Object} state Editor state.\n * @param {string} clientId The ID of the block to get the annotations for.\n *\n * @return {Array} The annotations applicable to this block.\n */\nexport const __experimentalGetAnnotationsForBlock = createSelector(\n\t( state, blockClientId ) => {\n\t\treturn state.all.filter( ( annotation ) => {\n\t\t\treturn annotation.selector === 'block' && annotation.blockClientId === blockClientId;\n\t\t} );\n\t},\n\t( state, blockClientId ) => [\n\t\tstate.byBlockClientId[ blockClientId ],\n\t]\n);\n\n/**\n * Returns the annotations that apply to the given RichText instance.\n *\n * Both a blockClientId and a richTextIdentifier are required. This is because\n * a block might have multiple `RichText` components. This does mean that every\n * block needs to implement annotations itself.\n *\n * @param {Object} state Editor state.\n * @param {string} blockClientId The client ID for the block.\n * @param {string} richTextIdentifier Unique identifier that identifies the given RichText.\n * @return {Array} All the annotations relevant for the `RichText`.\n */\nexport const __experimentalGetAnnotationsForRichText = createSelector(\n\t( state, blockClientId, richTextIdentifier ) => {\n\t\treturn state.all.filter( ( annotation ) => {\n\t\t\treturn annotation.selector === 'range' &&\n\t\t\t\tannotation.blockClientId === blockClientId &&\n\t\t\t\trichTextIdentifier === annotation.richTextIdentifier;\n\t\t} ).map( ( annotation ) => {\n\t\t\tconst { range, ...other } = annotation;\n\n\t\t\treturn {\n\t\t\t\t...range,\n\t\t\t\t...other,\n\t\t\t};\n\t\t} );\n\t},\n\t( state, blockClientId ) => [\n\t\tstate.byBlockClientId[ blockClientId ],\n\t]\n);\n\n/**\n * Returns all annotations in the editor state.\n *\n * @param {Object} state Editor state.\n * @return {Array} All annotations currently applied.\n */\nexport function __experimentalGetAnnotations( state ) {\n\treturn state.all;\n}\n","'use strict';\n\nvar LEAF_KEY, hasWeakMap;\n\n/**\n * Arbitrary value used as key for referencing cache object in WeakMap tree.\n *\n * @type {Object}\n */\nLEAF_KEY = {};\n\n/**\n * Whether environment supports WeakMap.\n *\n * @type {boolean}\n */\nhasWeakMap = typeof WeakMap !== 'undefined';\n\n/**\n * Returns the first argument as the sole entry in an array.\n *\n * @param {*} value Value to return.\n *\n * @return {Array} Value returned as entry in array.\n */\nfunction arrayOf( value ) {\n\treturn [ value ];\n}\n\n/**\n * Returns true if the value passed is object-like, or false otherwise. A value\n * is object-like if it can support property assignment, e.g. object or array.\n *\n * @param {*} value Value to test.\n *\n * @return {boolean} Whether value is object-like.\n */\nfunction isObjectLike( value ) {\n\treturn !! value && 'object' === typeof value;\n}\n\n/**\n * Creates and returns a new cache object.\n *\n * @return {Object} Cache object.\n */\nfunction createCache() {\n\tvar cache = {\n\t\tclear: function() {\n\t\t\tcache.head = null;\n\t\t},\n\t};\n\n\treturn cache;\n}\n\n/**\n * Returns true if entries within the two arrays are strictly equal by\n * reference from a starting index.\n *\n * @param {Array} a First array.\n * @param {Array} b Second array.\n * @param {number} fromIndex Index from which to start comparison.\n *\n * @return {boolean} Whether arrays are shallowly equal.\n */\nfunction isShallowEqual( a, b, fromIndex ) {\n\tvar i;\n\n\tif ( a.length !== b.length ) {\n\t\treturn false;\n\t}\n\n\tfor ( i = fromIndex; i < a.length; i++ ) {\n\t\tif ( a[ i ] !== b[ i ] ) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\treturn true;\n}\n\n/**\n * Returns a memoized selector function. The getDependants function argument is\n * called before the memoized selector and is expected to return an immutable\n * reference or array of references on which the selector depends for computing\n * its own return value. The memoize cache is preserved only as long as those\n * dependant references remain the same. If getDependants returns a different\n * reference(s), the cache is cleared and the selector value regenerated.\n *\n * @param {Function} selector Selector function.\n * @param {Function} getDependants Dependant getter returning an immutable\n * reference or array of reference used in\n * cache bust consideration.\n *\n * @return {Function} Memoized selector.\n */\nexport default function( selector, getDependants ) {\n\tvar rootCache, getCache;\n\n\t// Use object source as dependant if getter not provided\n\tif ( ! getDependants ) {\n\t\tgetDependants = arrayOf;\n\t}\n\n\t/**\n\t * Returns the root cache. If WeakMap is supported, this is assigned to the\n\t * root WeakMap cache set, otherwise it is a shared instance of the default\n\t * cache object.\n\t *\n\t * @return {(WeakMap|Object)} Root cache object.\n\t */\n\tfunction getRootCache() {\n\t\treturn rootCache;\n\t}\n\n\t/**\n\t * Returns the cache for a given dependants array. When possible, a WeakMap\n\t * will be used to create a unique cache for each set of dependants. This\n\t * is feasible due to the nature of WeakMap in allowing garbage collection\n\t * to occur on entries where the key object is no longer referenced. Since\n\t * WeakMap requires the key to be an object, this is only possible when the\n\t * dependant is object-like. The root cache is created as a hierarchy where\n\t * each top-level key is the first entry in a dependants set, the value a\n\t * WeakMap where each key is the next dependant, and so on. This continues\n\t * so long as the dependants are object-like. If no dependants are object-\n\t * like, then the cache is shared across all invocations.\n\t *\n\t * @see isObjectLike\n\t *\n\t * @param {Array} dependants Selector dependants.\n\t *\n\t * @return {Object} Cache object.\n\t */\n\tfunction getWeakMapCache( dependants ) {\n\t\tvar caches = rootCache,\n\t\t\tisUniqueByDependants = true,\n\t\t\ti, dependant, map, cache;\n\n\t\tfor ( i = 0; i < dependants.length; i++ ) {\n\t\t\tdependant = dependants[ i ];\n\n\t\t\t// Can only compose WeakMap from object-like key.\n\t\t\tif ( ! isObjectLike( dependant ) ) {\n\t\t\t\tisUniqueByDependants = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// Does current segment of cache already have a WeakMap?\n\t\t\tif ( caches.has( dependant ) ) {\n\t\t\t\t// Traverse into nested WeakMap.\n\t\t\t\tcaches = caches.get( dependant );\n\t\t\t} else {\n\t\t\t\t// Create, set, and traverse into a new one.\n\t\t\t\tmap = new WeakMap();\n\t\t\t\tcaches.set( dependant, map );\n\t\t\t\tcaches = map;\n\t\t\t}\n\t\t}\n\n\t\t// We use an arbitrary (but consistent) object as key for the last item\n\t\t// in the WeakMap to serve as our running cache.\n\t\tif ( ! caches.has( LEAF_KEY ) ) {\n\t\t\tcache = createCache();\n\t\t\tcache.isUniqueByDependants = isUniqueByDependants;\n\t\t\tcaches.set( LEAF_KEY, cache );\n\t\t}\n\n\t\treturn caches.get( LEAF_KEY );\n\t}\n\n\t// Assign cache handler by availability of WeakMap\n\tgetCache = hasWeakMap ? getWeakMapCache : getRootCache;\n\n\t/**\n\t * Resets root memoization cache.\n\t */\n\tfunction clear() {\n\t\trootCache = hasWeakMap ? new WeakMap() : createCache();\n\t}\n\n\t// eslint-disable-next-line jsdoc/check-param-names\n\t/**\n\t * The augmented selector call, considering first whether dependants have\n\t * changed before passing it to underlying memoize function.\n\t *\n\t * @param {Object} source Source object for derivation.\n\t * @param {...*} extraArgs Additional arguments to pass to selector.\n\t *\n\t * @return {*} Selector result.\n\t */\n\tfunction callSelector( /* source, ...extraArgs */ ) {\n\t\tvar len = arguments.length,\n\t\t\tcache, node, i, args, dependants;\n\n\t\t// Create copy of arguments (avoid leaking deoptimization).\n\t\targs = new Array( len );\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tdependants = getDependants.apply( null, args );\n\t\tcache = getCache( dependants );\n\n\t\t// If not guaranteed uniqueness by dependants (primitive type or lack\n\t\t// of WeakMap support), shallow compare against last dependants and, if\n\t\t// references have changed, destroy cache to recalculate result.\n\t\tif ( ! cache.isUniqueByDependants ) {\n\t\t\tif ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {\n\t\t\t\tcache.clear();\n\t\t\t}\n\n\t\t\tcache.lastDependants = dependants;\n\t\t}\n\n\t\tnode = cache.head;\n\t\twhile ( node ) {\n\t\t\t// Check whether node arguments match arguments\n\t\t\tif ( ! isShallowEqual( node.args, args, 1 ) ) {\n\t\t\t\tnode = node.next;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// At this point we can assume we've found a match\n\n\t\t\t// Surface matched node to head if not already\n\t\t\tif ( node !== cache.head ) {\n\t\t\t\t// Adjust siblings to point to each other.\n\t\t\t\tnode.prev.next = node.next;\n\t\t\t\tif ( node.next ) {\n\t\t\t\t\tnode.next.prev = node.prev;\n\t\t\t\t}\n\n\t\t\t\tnode.next = cache.head;\n\t\t\t\tnode.prev = null;\n\t\t\t\tcache.head.prev = node;\n\t\t\t\tcache.head = node;\n\t\t\t}\n\n\t\t\t// Return immediately\n\t\t\treturn node.val;\n\t\t}\n\n\t\t// No cached value found. Continue to insertion phase:\n\n\t\tnode = {\n\t\t\t// Generate the result from original function\n\t\t\tval: selector.apply( null, args ),\n\t\t};\n\n\t\t// Avoid including the source object in the cache.\n\t\targs[ 0 ] = null;\n\t\tnode.args = args;\n\n\t\t// Don't need to check whether node is already head, since it would\n\t\t// have been returned above already if it was\n\n\t\t// Shift existing head down list\n\t\tif ( cache.head ) {\n\t\t\tcache.head.prev = node;\n\t\t\tnode.next = cache.head;\n\t\t}\n\n\t\tcache.head = node;\n\n\t\treturn node.val;\n\t}\n\n\tcallSelector.getDependants = getDependants;\n\tcallSelector.clear = clear;\n\tclear();\n\n\treturn callSelector;\n}\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([bth[buf[i++]], bth[buf[i++]], \n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]]]).join('');\n}\n\nmodule.exports = bytesToUuid;\n","// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||\n (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","(function() { module.exports = this[\"wp\"][\"data\"]; }());","(function() { module.exports = this[\"wp\"][\"hooks\"]; }());","(function() { module.exports = this[\"wp\"][\"i18n\"]; }());","(function() { module.exports = this[\"wp\"][\"richText\"]; }());","(function() { module.exports = this[\"lodash\"]; }());"],"sourceRoot":""}
\ No newline at end of file
diff --git a/wp-includes/js/dist/annotations.min.js b/wp-includes/js/dist/annotations.min.js
index 276b5e51a6..7908fbebd3 100644
--- a/wp-includes/js/dist/annotations.min.js
+++ b/wp-includes/js/dist/annotations.min.js
@@ -1 +1 @@
-this.wp=this.wp||{},this.wp.annotations=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=315)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},15:function(t,n,e){"use strict";function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"a",function(){return r})},19:function(t,n,e){"use strict";var r=e(33);function o(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n"),a=p.pop();e="";for(var i=0;i
";n.push([s,o.substr(l)+""]),e+=o.substr(0,l)+s}else e+=o}e+=a}var u="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=c(e=(e=(e=(e=e.replace(/
\s*
/g,"\n\n")).replace(new RegExp("(<"+u+"[s/>])","g"),"\n\n$1")).replace(new RegExp("("+u+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("")),-1!==e.indexOf("")&&(e=(e=(e=e.replace(/(")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("