mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-14 22:56:19 +01:00
Block Editor: Update @wordpress dependencies to match Gutenberg 4.4.0
Updates packages: annotations, api-fetch, block-library, blocks, components, compose, core-data, data, date, edit-post, editor, element, format-library, i18n, list-reusable-blocks, notices, nux, plugins, rich-text, viewport Updates changed dependencies in script-loader.php Upgrades React from 16.5.2 to 16.6.3 See #45145 Built from https://develop.svn.wordpress.org/branches/5.0@43903 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5e150a2264
commit
2ae0f9e6b4
120
wp-includes/css/dist/block-library/editor-rtl.css
vendored
120
wp-includes/css/dist/block-library/editor-rtl.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.block-editor ul.wp-block-archives {
|
||||||
padding-right: 2.5em; }
|
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-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
width: 380px; }
|
width: 374px; }
|
||||||
.block-library-button__inline-link .editor-url-input {
|
.block-library-button__inline-link .editor-url-input {
|
||||||
width: auto; }
|
width: auto; }
|
||||||
.block-library-button__inline-link .editor-url-input__suggestions {
|
.block-library-button__inline-link .editor-url-input__suggestions {
|
||||||
width: 308px;
|
width: 302px;
|
||||||
z-index: 6; }
|
z-index: 6; }
|
||||||
.block-library-button__inline-link > .dashicon {
|
.block-library-button__inline-link > .dashicon {
|
||||||
width: 36px; }
|
width: 36px; }
|
||||||
@ -171,70 +147,63 @@
|
|||||||
.wp-block-columns .editor-block-list__layout .editor-block-list__block {
|
.wp-block-columns .editor-block-list__layout .editor-block-list__block {
|
||||||
max-width: none; }
|
max-width: none; }
|
||||||
|
|
||||||
.editor-block-list__block[data-align="full"] .wp-block-columns .editor-block-list__layout:first-child {
|
.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks {
|
||||||
margin-right: 30px; }
|
padding-right: 14px;
|
||||||
|
padding-left: 14px; }
|
||||||
.editor-block-list__block[data-align="full"] .wp-block-columns .editor-block-list__layout:last-child {
|
@media (min-width: 600px) {
|
||||||
margin-left: 30px; }
|
.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks {
|
||||||
|
padding-right: 60px;
|
||||||
|
padding-left: 60px; } }
|
||||||
|
|
||||||
.wp-block-columns {
|
.wp-block-columns {
|
||||||
display: block; }
|
display: block; }
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap; }
|
flex-wrap: wrap; }
|
||||||
@media (min-width: 782px) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
||||||
flex-wrap: nowrap; } }
|
flex-wrap: nowrap; } }
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin-top: -28px;
|
|
||||||
margin-bottom: -28px;
|
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
margin-right: -14px;
|
margin-right: -14px;
|
||||||
margin-left: -14px;
|
margin-left: -14px;
|
||||||
|
min-width: 0;
|
||||||
|
word-break: break-word;
|
||||||
|
overflow-wrap: break-word;
|
||||||
flex-basis: 100%; }
|
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 {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 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) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||||
padding-right: 14px;
|
margin-right: 14px;
|
||||||
padding-left: 14px;
|
margin-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; } }
|
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||||
flex-basis: 50%;
|
flex-basis: 50%;
|
||||||
flex-grow: 0; } }
|
flex-grow: 0; } }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(odd) {
|
||||||
padding-right: 16px;
|
margin-left: 32px; }
|
||||||
padding-left: 16px; }
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(odd) > .editor-block-list__block-edit {
|
margin-right: 32px; } }
|
||||||
padding-right: 0; }
|
@media (min-width: 600px) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) > .editor-block-list__block-edit {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) {
|
||||||
padding-left: 0; } }
|
margin-right: 32px; }
|
||||||
@media (min-width: 782px) {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:last-child) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) > .editor-block-list__block-edit {
|
margin-left: 32px; } }
|
||||||
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 [data-type="core/column"] {
|
.wp-block-columns [data-type="core/column"] {
|
||||||
pointer-events: none; }
|
pointer-events: none; }
|
||||||
@ -243,7 +212,7 @@
|
|||||||
.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb {
|
.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb {
|
||||||
display: none; }
|
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; }
|
pointer-events: all; }
|
||||||
|
|
||||||
.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
||||||
@ -293,7 +262,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0; }
|
||||||
.wp-block-file.is-transient {
|
.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 {
|
.wp-block-file .wp-block-file__content-wrapper {
|
||||||
flex-grow: 1; }
|
flex-grow: 1; }
|
||||||
.wp-block-file .wp-block-file__textlink {
|
.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 {
|
body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .blocks-gallery-item .is-selected {
|
||||||
outline: 4px solid #0085ba; }
|
outline: 4px solid #0085ba; }
|
||||||
|
|
||||||
.blocks-gallery-item.is-transient img {
|
.blocks-gallery-item .is-transient img {
|
||||||
animation: loading_fade 1.6s ease-in-out infinite; }
|
opacity: 0.3; }
|
||||||
|
|
||||||
.blocks-gallery-item .editor-rich-text {
|
.blocks-gallery-item .editor-rich-text {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -601,7 +570,14 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
right: 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 h1,
|
||||||
.wp-block-heading h2,
|
.wp-block-heading h2,
|
||||||
@ -651,9 +627,15 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
|
|||||||
.wp-block-image {
|
.wp-block-image {
|
||||||
position: relative; }
|
position: relative; }
|
||||||
.wp-block-image.is-transient img {
|
.wp-block-image.is-transient img {
|
||||||
animation: loading_fade 1.6s ease-in-out infinite; }
|
opacity: 0.3; }
|
||||||
.wp-block-image figcaption img {
|
.wp-block-image figcaption img {
|
||||||
display: inline; }
|
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 {
|
.wp-block-image .components-resizable-box__container {
|
||||||
display: inline-block; }
|
display: inline-block; }
|
||||||
|
120
wp-includes/css/dist/block-library/editor.css
vendored
120
wp-includes/css/dist/block-library/editor.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.block-editor ul.wp-block-archives {
|
||||||
padding-left: 2.5em; }
|
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-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
width: 380px; }
|
width: 374px; }
|
||||||
.block-library-button__inline-link .editor-url-input {
|
.block-library-button__inline-link .editor-url-input {
|
||||||
width: auto; }
|
width: auto; }
|
||||||
.block-library-button__inline-link .editor-url-input__suggestions {
|
.block-library-button__inline-link .editor-url-input__suggestions {
|
||||||
width: 308px;
|
width: 302px;
|
||||||
z-index: 6; }
|
z-index: 6; }
|
||||||
.block-library-button__inline-link > .dashicon {
|
.block-library-button__inline-link > .dashicon {
|
||||||
width: 36px; }
|
width: 36px; }
|
||||||
@ -172,70 +148,63 @@
|
|||||||
.wp-block-columns .editor-block-list__layout .editor-block-list__block {
|
.wp-block-columns .editor-block-list__layout .editor-block-list__block {
|
||||||
max-width: none; }
|
max-width: none; }
|
||||||
|
|
||||||
.editor-block-list__block[data-align="full"] .wp-block-columns .editor-block-list__layout:first-child {
|
.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks {
|
||||||
margin-left: 30px; }
|
padding-left: 14px;
|
||||||
|
padding-right: 14px; }
|
||||||
.editor-block-list__block[data-align="full"] .wp-block-columns .editor-block-list__layout:last-child {
|
@media (min-width: 600px) {
|
||||||
margin-right: 30px; }
|
.editor-block-list__block[data-align="full"] .wp-block-columns > .editor-inner-blocks {
|
||||||
|
padding-left: 60px;
|
||||||
|
padding-right: 60px; } }
|
||||||
|
|
||||||
.wp-block-columns {
|
.wp-block-columns {
|
||||||
display: block; }
|
display: block; }
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap; }
|
flex-wrap: wrap; }
|
||||||
@media (min-width: 782px) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout {
|
||||||
flex-wrap: nowrap; } }
|
flex-wrap: nowrap; } }
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin-top: -28px;
|
|
||||||
margin-bottom: -28px;
|
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
margin-left: -14px;
|
margin-left: -14px;
|
||||||
margin-right: -14px;
|
margin-right: -14px;
|
||||||
|
min-width: 0;
|
||||||
|
word-break: break-word;
|
||||||
|
overflow-wrap: break-word;
|
||||||
flex-basis: 100%; }
|
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 {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 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) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||||
padding-left: 14px;
|
margin-left: 14px;
|
||||||
padding-right: 14px;
|
margin-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; } }
|
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
|
||||||
flex-basis: 50%;
|
flex-basis: 50%;
|
||||||
flex-grow: 0; } }
|
flex-grow: 0; } }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(odd) {
|
||||||
padding-left: 16px;
|
margin-right: 32px; }
|
||||||
padding-right: 16px; }
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(odd) > .editor-block-list__block-edit {
|
margin-left: 32px; } }
|
||||||
padding-left: 0; }
|
@media (min-width: 600px) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) > .editor-block-list__block-edit {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) {
|
||||||
padding-right: 0; } }
|
margin-left: 32px; }
|
||||||
@media (min-width: 782px) {
|
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:last-child) {
|
||||||
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) > .editor-block-list__block-edit {
|
margin-right: 32px; } }
|
||||||
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 [data-type="core/column"] {
|
.wp-block-columns [data-type="core/column"] {
|
||||||
pointer-events: none; }
|
pointer-events: none; }
|
||||||
@ -244,7 +213,7 @@
|
|||||||
.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb {
|
.wp-block-columns [data-type="core/column"].is-hovered .editor-block-list__breadcrumb {
|
||||||
display: none; }
|
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; }
|
pointer-events: all; }
|
||||||
|
|
||||||
.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
.wp-block-cover-image .editor-rich-text__tinymce[data-is-empty="true"]::before,
|
||||||
@ -294,7 +263,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0; }
|
||||||
.wp-block-file.is-transient {
|
.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 {
|
.wp-block-file .wp-block-file__content-wrapper {
|
||||||
flex-grow: 1; }
|
flex-grow: 1; }
|
||||||
.wp-block-file .wp-block-file__textlink {
|
.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 {
|
body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .blocks-gallery-item .is-selected {
|
||||||
outline: 4px solid #0085ba; }
|
outline: 4px solid #0085ba; }
|
||||||
|
|
||||||
.blocks-gallery-item.is-transient img {
|
.blocks-gallery-item .is-transient img {
|
||||||
animation: loading_fade 1.6s ease-in-out infinite; }
|
opacity: 0.3; }
|
||||||
|
|
||||||
.blocks-gallery-item .editor-rich-text {
|
.blocks-gallery-item .editor-rich-text {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -606,7 +575,14 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 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 h1,
|
||||||
.wp-block-heading h2,
|
.wp-block-heading h2,
|
||||||
@ -656,9 +632,15 @@ body.admin-color-light .block-library-gallery-item__inline-menu {
|
|||||||
.wp-block-image {
|
.wp-block-image {
|
||||||
position: relative; }
|
position: relative; }
|
||||||
.wp-block-image.is-transient img {
|
.wp-block-image.is-transient img {
|
||||||
animation: loading_fade 1.6s ease-in-out infinite; }
|
opacity: 0.3; }
|
||||||
.wp-block-image figcaption img {
|
.wp-block-image figcaption img {
|
||||||
display: inline; }
|
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 {
|
.wp-block-image .components-resizable-box__container {
|
||||||
display: inline-block; }
|
display: inline-block; }
|
||||||
|
58
wp-includes/css/dist/block-library/style-rtl.css
vendored
58
wp-includes/css/dist/block-library/style-rtl.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.wp-block-audio figcaption {
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
@ -176,24 +152,23 @@
|
|||||||
.wp-block-column {
|
.wp-block-column {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
flex-basis: 100%; }
|
flex-basis: 100%;
|
||||||
|
min-width: 0;
|
||||||
|
word-break: break-word;
|
||||||
|
overflow-wrap: break-word; }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-column {
|
.wp-block-column {
|
||||||
flex-basis: 50%;
|
flex-basis: 50%;
|
||||||
flex-grow: 0; } }
|
flex-grow: 0; } }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-column {
|
.wp-block-column:nth-child(odd) {
|
||||||
padding-right: 16px;
|
margin-left: 32px; }
|
||||||
padding-left: 16px; }
|
.wp-block-column:nth-child(even) {
|
||||||
.wp-block-column:nth-child(odd) {
|
margin-right: 32px; }
|
||||||
padding-right: 0; }
|
|
||||||
.wp-block-column:nth-child(even) {
|
|
||||||
padding-left: 0; } }
|
|
||||||
@media (min-width: 782px) {
|
|
||||||
.wp-block-column:not(:first-child) {
|
.wp-block-column:not(:first-child) {
|
||||||
padding-right: 16px; }
|
margin-right: 32px; }
|
||||||
.wp-block-column:not(:last-child) {
|
.wp-block-column:not(:last-child) {
|
||||||
padding-left: 16px; } }
|
margin-left: 32px; } }
|
||||||
|
|
||||||
.wp-block-cover-image,
|
.wp-block-cover-image,
|
||||||
.wp-block-cover {
|
.wp-block-cover {
|
||||||
@ -206,7 +181,8 @@
|
|||||||
margin: 0 0 1.5em 0;
|
margin: 0 0 1.5em 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center; }
|
align-items: center;
|
||||||
|
overflow: hidden; }
|
||||||
.wp-block-cover-image.has-left-content,
|
.wp-block-cover-image.has-left-content,
|
||||||
.wp-block-cover.has-left-content {
|
.wp-block-cover.has-left-content {
|
||||||
justify-content: flex-start; }
|
justify-content: flex-start; }
|
||||||
@ -337,8 +313,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
-o-object-fit: fill;
|
-o-object-fit: cover;
|
||||||
object-fit: fill; }
|
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="left"] .editor-block-list__block-edit,
|
||||||
.editor-block-list__block[data-type="core/embed"][data-align="right"] .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) {
|
.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n) {
|
||||||
margin-left: 0; } }
|
margin-left: 0; } }
|
||||||
.wp-block-gallery .blocks-gallery-image:last-child,
|
.wp-block-gallery .blocks-gallery-image:last-child,
|
||||||
.wp-block-gallery .blocks-gallery-item: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) {
|
|
||||||
margin-left: 0; }
|
margin-left: 0; }
|
||||||
.wp-block-gallery .blocks-gallery-item.has-add-item-button {
|
.wp-block-gallery .blocks-gallery-item.has-add-item-button {
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
58
wp-includes/css/dist/block-library/style.css
vendored
58
wp-includes/css/dist/block-library/style.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.wp-block-audio figcaption {
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
@ -179,24 +155,23 @@
|
|||||||
.wp-block-column {
|
.wp-block-column {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
flex-basis: 100%; }
|
flex-basis: 100%;
|
||||||
|
min-width: 0;
|
||||||
|
word-break: break-word;
|
||||||
|
overflow-wrap: break-word; }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-column {
|
.wp-block-column {
|
||||||
flex-basis: 50%;
|
flex-basis: 50%;
|
||||||
flex-grow: 0; } }
|
flex-grow: 0; } }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.wp-block-column {
|
.wp-block-column:nth-child(odd) {
|
||||||
padding-left: 16px;
|
margin-right: 32px; }
|
||||||
padding-right: 16px; }
|
.wp-block-column:nth-child(even) {
|
||||||
.wp-block-column:nth-child(odd) {
|
margin-left: 32px; }
|
||||||
padding-left: 0; }
|
|
||||||
.wp-block-column:nth-child(even) {
|
|
||||||
padding-right: 0; } }
|
|
||||||
@media (min-width: 782px) {
|
|
||||||
.wp-block-column:not(:first-child) {
|
.wp-block-column:not(:first-child) {
|
||||||
padding-left: 16px; }
|
margin-left: 32px; }
|
||||||
.wp-block-column:not(:last-child) {
|
.wp-block-column:not(:last-child) {
|
||||||
padding-right: 16px; } }
|
margin-right: 32px; } }
|
||||||
|
|
||||||
.wp-block-cover-image,
|
.wp-block-cover-image,
|
||||||
.wp-block-cover {
|
.wp-block-cover {
|
||||||
@ -209,7 +184,8 @@
|
|||||||
margin: 0 0 1.5em 0;
|
margin: 0 0 1.5em 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center; }
|
align-items: center;
|
||||||
|
overflow: hidden; }
|
||||||
.wp-block-cover-image.has-left-content,
|
.wp-block-cover-image.has-left-content,
|
||||||
.wp-block-cover.has-left-content {
|
.wp-block-cover.has-left-content {
|
||||||
justify-content: flex-start; }
|
justify-content: flex-start; }
|
||||||
@ -340,8 +316,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
-o-object-fit: fill;
|
-o-object-fit: cover;
|
||||||
object-fit: fill; }
|
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="left"] .editor-block-list__block-edit,
|
||||||
.editor-block-list__block[data-type="core/embed"][data-align="right"] .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) {
|
.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n) {
|
||||||
margin-right: 0; } }
|
margin-right: 0; } }
|
||||||
.wp-block-gallery .blocks-gallery-image:last-child,
|
.wp-block-gallery .blocks-gallery-image:last-child,
|
||||||
.wp-block-gallery .blocks-gallery-item: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) {
|
|
||||||
margin-right: 0; }
|
margin-right: 0; }
|
||||||
.wp-block-gallery .blocks-gallery-item.has-add-item-button {
|
.wp-block-gallery .blocks-gallery-item.has-add-item-button {
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
24
wp-includes/css/dist/block-library/theme-rtl.css
vendored
24
wp-includes/css/dist/block-library/theme-rtl.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.wp-block-code {
|
||||||
font-family: Menlo, Consolas, monaco, monospace;
|
font-family: Menlo, Consolas, monaco, monospace;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
24
wp-includes/css/dist/block-library/theme.css
vendored
24
wp-includes/css/dist/block-library/theme.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.wp-block-code {
|
||||||
font-family: Menlo, Consolas, monaco, monospace;
|
font-family: Menlo, Consolas, monaco, monospace;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
64
wp-includes/css/dist/components/style-rtl.css
vendored
64
wp-includes/css/dist/components/style-rtl.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.components-autocomplete__popover .components-popover__content {
|
||||||
min-width: 200px; }
|
min-width: 200px; }
|
||||||
|
|
||||||
@ -1672,7 +1648,7 @@ svg.dashicon {
|
|||||||
order: 1; }
|
order: 1; }
|
||||||
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button {
|
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: bold; }
|
font-weight: 600; }
|
||||||
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select {
|
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin-left: 4px; }
|
margin-left: 4px; }
|
||||||
@ -2233,9 +2209,15 @@ body.is-dragging-components-draggable {
|
|||||||
left: 0;
|
left: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
outline: 4px solid transparent;
|
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; }
|
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 {
|
.components-icon-button {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -2294,9 +2276,13 @@ body.is-dragging-components-draggable {
|
|||||||
flex: 0 0 auto; }
|
flex: 0 0 auto; }
|
||||||
.components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]),
|
.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"]) {
|
.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
|
||||||
color: #191e23;
|
color: #555d66; }
|
||||||
border: none;
|
@media (min-width: 782px) {
|
||||||
box-shadow: none; }
|
.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:focus:not(:disabled):not([aria-disabled="true"]),
|
||||||
.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled="true"]) {
|
.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled="true"]) {
|
||||||
color: #191e23;
|
color: #191e23;
|
||||||
@ -2333,7 +2319,7 @@ body.is-dragging-components-draggable {
|
|||||||
right: 0;
|
right: 0;
|
||||||
background-color: rgba(255, 255, 255, 0.4);
|
background-color: rgba(255, 255, 255, 0.4);
|
||||||
z-index: 100000;
|
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; }
|
animation-fill-mode: forwards; }
|
||||||
|
|
||||||
.components-modal__frame {
|
.components-modal__frame {
|
||||||
@ -2358,9 +2344,15 @@ body.is-dragging-components-draggable {
|
|||||||
max-width: calc(100% - 16px - 16px);
|
max-width: calc(100% - 16px - 16px);
|
||||||
max-height: calc(100% - 56px - 56px);
|
max-height: calc(100% - 56px - 56px);
|
||||||
transform: translate(50%, -50%);
|
transform: translate(50%, -50%);
|
||||||
animation: modal-appear 0.1s ease-out;
|
animation: components-modal__appear-animation 0.1s ease-out;
|
||||||
animation-fill-mode: forwards; } }
|
animation-fill-mode: forwards; } }
|
||||||
|
|
||||||
|
@keyframes components-modal__appear-animation {
|
||||||
|
from {
|
||||||
|
margin-top: 32px; }
|
||||||
|
to {
|
||||||
|
margin-top: 0; } }
|
||||||
|
|
||||||
.components-modal__header {
|
.components-modal__header {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-bottom: 1px solid #e2e4e7;
|
border-bottom: 1px solid #e2e4e7;
|
||||||
@ -2379,7 +2371,7 @@ body.is-dragging-components-draggable {
|
|||||||
margin: 0 -16px 16px; }
|
margin: 0 -16px 16px; }
|
||||||
.components-modal__header .components-modal__header-heading {
|
.components-modal__header .components-modal__header-heading {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
font-weight: normal; }
|
font-weight: 400; }
|
||||||
.components-modal__header h1 {
|
.components-modal__header h1 {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin: 0; }
|
margin: 0; }
|
||||||
@ -2958,7 +2950,13 @@ body.lockscroll {
|
|||||||
height: 4px;
|
height: 4px;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
transform-origin: 6px 6px;
|
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 {
|
.components-text-control__input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
64
wp-includes/css/dist/components/style.css
vendored
64
wp-includes/css/dist/components/style.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.components-autocomplete__popover .components-popover__content {
|
||||||
min-width: 200px; }
|
min-width: 200px; }
|
||||||
|
|
||||||
@ -1672,7 +1648,7 @@ svg.dashicon {
|
|||||||
order: 1; }
|
order: 1; }
|
||||||
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button {
|
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: bold; }
|
font-weight: 600; }
|
||||||
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select {
|
.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin-right: 4px; }
|
margin-right: 4px; }
|
||||||
@ -2233,9 +2209,15 @@ body.is-dragging-components-draggable {
|
|||||||
right: 0;
|
right: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
outline: 4px solid transparent;
|
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; }
|
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 {
|
.components-icon-button {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -2294,9 +2276,13 @@ body.is-dragging-components-draggable {
|
|||||||
flex: 0 0 auto; }
|
flex: 0 0 auto; }
|
||||||
.components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]),
|
.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"]) {
|
.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
|
||||||
color: #191e23;
|
color: #555d66; }
|
||||||
border: none;
|
@media (min-width: 782px) {
|
||||||
box-shadow: none; }
|
.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:focus:not(:disabled):not([aria-disabled="true"]),
|
||||||
.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled="true"]) {
|
.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled="true"]) {
|
||||||
color: #191e23;
|
color: #191e23;
|
||||||
@ -2333,7 +2319,7 @@ body.is-dragging-components-draggable {
|
|||||||
left: 0;
|
left: 0;
|
||||||
background-color: rgba(255, 255, 255, 0.4);
|
background-color: rgba(255, 255, 255, 0.4);
|
||||||
z-index: 100000;
|
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; }
|
animation-fill-mode: forwards; }
|
||||||
|
|
||||||
.components-modal__frame {
|
.components-modal__frame {
|
||||||
@ -2358,9 +2344,15 @@ body.is-dragging-components-draggable {
|
|||||||
max-width: calc(100% - 16px - 16px);
|
max-width: calc(100% - 16px - 16px);
|
||||||
max-height: calc(100% - 56px - 56px);
|
max-height: calc(100% - 56px - 56px);
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
animation: modal-appear 0.1s ease-out;
|
animation: components-modal__appear-animation 0.1s ease-out;
|
||||||
animation-fill-mode: forwards; } }
|
animation-fill-mode: forwards; } }
|
||||||
|
|
||||||
|
@keyframes components-modal__appear-animation {
|
||||||
|
from {
|
||||||
|
margin-top: 32px; }
|
||||||
|
to {
|
||||||
|
margin-top: 0; } }
|
||||||
|
|
||||||
.components-modal__header {
|
.components-modal__header {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-bottom: 1px solid #e2e4e7;
|
border-bottom: 1px solid #e2e4e7;
|
||||||
@ -2379,7 +2371,7 @@ body.is-dragging-components-draggable {
|
|||||||
margin: 0 -16px 16px; }
|
margin: 0 -16px 16px; }
|
||||||
.components-modal__header .components-modal__header-heading {
|
.components-modal__header .components-modal__header-heading {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
font-weight: normal; }
|
font-weight: 400; }
|
||||||
.components-modal__header h1 {
|
.components-modal__header h1 {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin: 0; }
|
margin: 0; }
|
||||||
@ -2972,7 +2964,13 @@ body.lockscroll {
|
|||||||
height: 4px;
|
height: 4px;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
transform-origin: 6px 6px;
|
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 {
|
.components-text-control__input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
114
wp-includes/css/dist/edit-post/style-rtl.css
vendored
114
wp-includes/css/dist/edit-post/style-rtl.css
vendored
@ -28,48 +28,28 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* Styles that are reused verbatim in a few places
|
||||||
*/
|
*/
|
||||||
@keyframes fade-in {
|
body.js.is-fullscreen-mode {
|
||||||
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 {
|
|
||||||
margin-top: -46px;
|
margin-top: -46px;
|
||||||
height: calc(100% + 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; }
|
animation-fill-mode: forwards; }
|
||||||
@media (min-width: 782px) {
|
@media (min-width: 782px) {
|
||||||
body.is-fullscreen-mode {
|
body.js.is-fullscreen-mode {
|
||||||
margin-top: -32px;
|
margin-top: -32px;
|
||||||
height: calc(100% + 32px); } }
|
height: calc(100% + 32px); } }
|
||||||
body.is-fullscreen-mode #adminmenumain,
|
body.js.is-fullscreen-mode #adminmenumain,
|
||||||
body.is-fullscreen-mode #wpadminbar {
|
body.js.is-fullscreen-mode #wpadminbar {
|
||||||
display: none; }
|
display: none; }
|
||||||
body.is-fullscreen-mode #wpcontent,
|
body.js.is-fullscreen-mode #wpcontent,
|
||||||
body.is-fullscreen-mode #wpfooter {
|
body.js.is-fullscreen-mode #wpfooter {
|
||||||
margin-right: 0; }
|
margin-right: 0; }
|
||||||
body.is-fullscreen-mode .edit-post-header {
|
body.js.is-fullscreen-mode .edit-post-header {
|
||||||
transform: translateY(-100%);
|
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 {
|
.edit-post-header {
|
||||||
height: 56px;
|
height: 56px;
|
||||||
@ -297,14 +277,14 @@ body.is-fullscreen-mode .edit-post-header {
|
|||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__title {
|
.edit-post-keyboard-shortcut-help__title {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: bold; }
|
font-weight: 600; }
|
||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__section {
|
.edit-post-keyboard-shortcut-help__section {
|
||||||
margin: 0 0 2rem 0; }
|
margin: 0 0 2rem 0; }
|
||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__section-title {
|
.edit-post-keyboard-shortcut-help__section-title {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
font-weight: bold; }
|
font-weight: 600; }
|
||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__shortcut {
|
.edit-post-keyboard-shortcut-help__shortcut {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -316,7 +296,7 @@ body.is-fullscreen-mode .edit-post-header {
|
|||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__shortcut-term {
|
.edit-post-keyboard-shortcut-help__shortcut-term {
|
||||||
order: 1;
|
order: 1;
|
||||||
font-weight: bold;
|
font-weight: 600;
|
||||||
margin: 0 1rem 0 0; }
|
margin: 0 1rem 0 0; }
|
||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__shortcut-description {
|
.edit-post-keyboard-shortcut-help__shortcut-description {
|
||||||
@ -462,10 +442,14 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
width: 280px;
|
width: 280px;
|
||||||
border-right: 1px solid #e2e4e7;
|
border-right: 1px solid #e2e4e7;
|
||||||
transform: translateX(-100%);
|
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 {
|
body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel {
|
||||||
top: 0; } }
|
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 {
|
.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large {
|
||||||
height: 33px;
|
height: 33px;
|
||||||
line-height: 32px; }
|
line-height: 32px; }
|
||||||
@ -729,6 +713,23 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
.editor-post-author__select {
|
.editor-post-author__select {
|
||||||
width: auto; } }
|
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 {
|
.edit-post-post-schedule {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative; }
|
position: relative; }
|
||||||
@ -890,6 +891,7 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
padding-top: 40px; } }
|
padding-top: 40px; } }
|
||||||
|
|
||||||
.edit-post-text-editor {
|
.edit-post-text-editor {
|
||||||
|
width: 100%;
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
padding-top: 44px; }
|
padding-top: 44px; }
|
||||||
@ -995,9 +997,6 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
position: relative; }
|
position: relative; }
|
||||||
.edit-post-visual-editor .editor-default-block-appender[data-root-client-id=""] .editor-default-block-appender__content:hover {
|
.edit-post-visual-editor .editor-default-block-appender[data-root-client-id=""] .editor-default-block-appender__content:hover {
|
||||||
outline: 1px solid transparent; }
|
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-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible="true"] + p,
|
||||||
.edit-post-visual-editor .editor-default-block-appender__content {
|
.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 {
|
.edit-post-options-modal__title {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: bold; }
|
font-weight: 600; }
|
||||||
|
|
||||||
.edit-post-options-modal__section {
|
.edit-post-options-modal__section {
|
||||||
margin: 0 0 2rem 0; }
|
margin: 0 0 2rem 0; }
|
||||||
|
|
||||||
.edit-post-options-modal__section-title {
|
.edit-post-options-modal__section-title {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
font-weight: bold; }
|
font-weight: 600; }
|
||||||
|
|
||||||
.edit-post-options-modal__option {
|
.edit-post-options-modal__option {
|
||||||
border-top: 1px solid #e2e4e7; }
|
border-top: 1px solid #e2e4e7; }
|
||||||
@ -1027,21 +1026,10 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding: 0.6rem 10px 0.6rem 0; }
|
padding: 0.6rem 10px 0.6rem 0; }
|
||||||
|
|
||||||
@keyframes animate_fade {
|
/**
|
||||||
from {
|
* Animations
|
||||||
opacity: 0;
|
*/
|
||||||
transform: translateY(4px); }
|
@keyframes edit-post__loading-fade-animation {
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
transform: translateY(0); } }
|
|
||||||
|
|
||||||
@keyframes move_background {
|
|
||||||
from {
|
|
||||||
background-position: 100% 0; }
|
|
||||||
to {
|
|
||||||
background-position: 28px 0; } }
|
|
||||||
|
|
||||||
@keyframes loading_fade {
|
|
||||||
0% {
|
0% {
|
||||||
opacity: 0.5; }
|
opacity: 0.5; }
|
||||||
50% {
|
50% {
|
||||||
@ -1049,13 +1037,11 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
100% {
|
100% {
|
||||||
opacity: 0.5; } }
|
opacity: 0.5; } }
|
||||||
|
|
||||||
@keyframes slide_in_right {
|
@keyframes edit-post__fade-in-animation {
|
||||||
100% {
|
from {
|
||||||
transform: translateX(0%); } }
|
opacity: 0; }
|
||||||
|
to {
|
||||||
@keyframes slide_in_top {
|
opacity: 1; } }
|
||||||
100% {
|
|
||||||
transform: translateY(0%); } }
|
|
||||||
|
|
||||||
html.wp-toolbar {
|
html.wp-toolbar {
|
||||||
background: #fff; }
|
background: #fff; }
|
||||||
|
114
wp-includes/css/dist/edit-post/style.css
vendored
114
wp-includes/css/dist/edit-post/style.css
vendored
@ -28,48 +28,28 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* Styles that are reused verbatim in a few places
|
||||||
*/
|
*/
|
||||||
@keyframes fade-in {
|
body.js.is-fullscreen-mode {
|
||||||
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 {
|
|
||||||
margin-top: -46px;
|
margin-top: -46px;
|
||||||
height: calc(100% + 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; }
|
animation-fill-mode: forwards; }
|
||||||
@media (min-width: 782px) {
|
@media (min-width: 782px) {
|
||||||
body.is-fullscreen-mode {
|
body.js.is-fullscreen-mode {
|
||||||
margin-top: -32px;
|
margin-top: -32px;
|
||||||
height: calc(100% + 32px); } }
|
height: calc(100% + 32px); } }
|
||||||
body.is-fullscreen-mode #adminmenumain,
|
body.js.is-fullscreen-mode #adminmenumain,
|
||||||
body.is-fullscreen-mode #wpadminbar {
|
body.js.is-fullscreen-mode #wpadminbar {
|
||||||
display: none; }
|
display: none; }
|
||||||
body.is-fullscreen-mode #wpcontent,
|
body.js.is-fullscreen-mode #wpcontent,
|
||||||
body.is-fullscreen-mode #wpfooter {
|
body.js.is-fullscreen-mode #wpfooter {
|
||||||
margin-left: 0; }
|
margin-left: 0; }
|
||||||
body.is-fullscreen-mode .edit-post-header {
|
body.js.is-fullscreen-mode .edit-post-header {
|
||||||
transform: translateY(-100%);
|
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 {
|
.edit-post-header {
|
||||||
height: 56px;
|
height: 56px;
|
||||||
@ -297,14 +277,14 @@ body.is-fullscreen-mode .edit-post-header {
|
|||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__title {
|
.edit-post-keyboard-shortcut-help__title {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: bold; }
|
font-weight: 600; }
|
||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__section {
|
.edit-post-keyboard-shortcut-help__section {
|
||||||
margin: 0 0 2rem 0; }
|
margin: 0 0 2rem 0; }
|
||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__section-title {
|
.edit-post-keyboard-shortcut-help__section-title {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
font-weight: bold; }
|
font-weight: 600; }
|
||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__shortcut {
|
.edit-post-keyboard-shortcut-help__shortcut {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -316,7 +296,7 @@ body.is-fullscreen-mode .edit-post-header {
|
|||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__shortcut-term {
|
.edit-post-keyboard-shortcut-help__shortcut-term {
|
||||||
order: 1;
|
order: 1;
|
||||||
font-weight: bold;
|
font-weight: 600;
|
||||||
margin: 0 0 0 1rem; }
|
margin: 0 0 0 1rem; }
|
||||||
|
|
||||||
.edit-post-keyboard-shortcut-help__shortcut-description {
|
.edit-post-keyboard-shortcut-help__shortcut-description {
|
||||||
@ -462,10 +442,14 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
width: 280px;
|
width: 280px;
|
||||||
border-left: 1px solid #e2e4e7;
|
border-left: 1px solid #e2e4e7;
|
||||||
transform: translateX(100%);
|
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 {
|
body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel {
|
||||||
top: 0; } }
|
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 {
|
.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large {
|
||||||
height: 33px;
|
height: 33px;
|
||||||
line-height: 32px; }
|
line-height: 32px; }
|
||||||
@ -729,6 +713,23 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
.editor-post-author__select {
|
.editor-post-author__select {
|
||||||
width: auto; } }
|
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 {
|
.edit-post-post-schedule {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative; }
|
position: relative; }
|
||||||
@ -890,6 +891,7 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
padding-top: 40px; } }
|
padding-top: 40px; } }
|
||||||
|
|
||||||
.edit-post-text-editor {
|
.edit-post-text-editor {
|
||||||
|
width: 100%;
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
padding-top: 44px; }
|
padding-top: 44px; }
|
||||||
@ -995,9 +997,6 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
position: relative; }
|
position: relative; }
|
||||||
.edit-post-visual-editor .editor-default-block-appender[data-root-client-id=""] .editor-default-block-appender__content:hover {
|
.edit-post-visual-editor .editor-default-block-appender[data-root-client-id=""] .editor-default-block-appender__content:hover {
|
||||||
outline: 1px solid transparent; }
|
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-block-list__block[data-type="core/paragraph"] p[data-is-placeholder-visible="true"] + p,
|
||||||
.edit-post-visual-editor .editor-default-block-appender__content {
|
.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 {
|
.edit-post-options-modal__title {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: bold; }
|
font-weight: 600; }
|
||||||
|
|
||||||
.edit-post-options-modal__section {
|
.edit-post-options-modal__section {
|
||||||
margin: 0 0 2rem 0; }
|
margin: 0 0 2rem 0; }
|
||||||
|
|
||||||
.edit-post-options-modal__section-title {
|
.edit-post-options-modal__section-title {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
font-weight: bold; }
|
font-weight: 600; }
|
||||||
|
|
||||||
.edit-post-options-modal__option {
|
.edit-post-options-modal__option {
|
||||||
border-top: 1px solid #e2e4e7; }
|
border-top: 1px solid #e2e4e7; }
|
||||||
@ -1027,21 +1026,10 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding: 0.6rem 0 0.6rem 10px; }
|
padding: 0.6rem 0 0.6rem 10px; }
|
||||||
|
|
||||||
@keyframes animate_fade {
|
/**
|
||||||
from {
|
* Animations
|
||||||
opacity: 0;
|
*/
|
||||||
transform: translateY(4px); }
|
@keyframes edit-post__loading-fade-animation {
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
transform: translateY(0); } }
|
|
||||||
|
|
||||||
@keyframes move_background {
|
|
||||||
from {
|
|
||||||
background-position: 0 0; }
|
|
||||||
to {
|
|
||||||
background-position: 28px 0; } }
|
|
||||||
|
|
||||||
@keyframes loading_fade {
|
|
||||||
0% {
|
0% {
|
||||||
opacity: 0.5; }
|
opacity: 0.5; }
|
||||||
50% {
|
50% {
|
||||||
@ -1049,13 +1037,11 @@ body.is-fullscreen-mode .components-notice-list {
|
|||||||
100% {
|
100% {
|
||||||
opacity: 0.5; } }
|
opacity: 0.5; } }
|
||||||
|
|
||||||
@keyframes slide_in_right {
|
@keyframes edit-post__fade-in-animation {
|
||||||
100% {
|
from {
|
||||||
transform: translateX(0%); } }
|
opacity: 0; }
|
||||||
|
to {
|
||||||
@keyframes slide_in_top {
|
opacity: 1; } }
|
||||||
100% {
|
|
||||||
transform: translateY(0%); } }
|
|
||||||
|
|
||||||
html.wp-toolbar {
|
html.wp-toolbar {
|
||||||
background: #fff; }
|
background: #fff; }
|
||||||
|
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
body {
|
||||||
font-family: "Noto Serif", serif;
|
font-family: "Noto Serif", serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
24
wp-includes/css/dist/editor/editor-styles.css
vendored
24
wp-includes/css/dist/editor/editor-styles.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
body {
|
||||||
font-family: "Noto Serif", serif;
|
font-family: "Noto Serif", serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
85
wp-includes/css/dist/editor/style-rtl.css
vendored
85
wp-includes/css/dist/editor/style-rtl.css
vendored
@ -29,30 +29,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.editor-autocompleters__block .editor-block-icon {
|
||||||
margin-left: 8px; }
|
margin-left: 8px; }
|
||||||
|
|
||||||
@ -317,13 +293,16 @@
|
|||||||
.editor-block-list__layout .editor-block-list__block.has-warning {
|
.editor-block-list__layout .editor-block-list__block.has-warning {
|
||||||
min-height: 36px; }
|
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;
|
pointer-events: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
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 {
|
.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); }
|
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 {
|
.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;
|
right: auto;
|
||||||
left: 0; }
|
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 {
|
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-list__block-edit {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 2em; }
|
margin-right: 2em; }
|
||||||
@ -434,7 +418,7 @@
|
|||||||
.editor-block-list__layout .editor-block-list__block[data-align="wide"] > .editor-block-mover {
|
.editor-block-list__layout .editor-block-list__block[data-align="wide"] > .editor-block-mover {
|
||||||
right: -13px; }
|
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; }
|
left: 0; }
|
||||||
|
|
||||||
@media (min-width: 600px) {
|
@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 {
|
.editor-block-list__block[data-align="right"] .editor-block-contextual-toolbar {
|
||||||
margin-left: 15px; }
|
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 > * {
|
.editor-block-list__block .editor-block-contextual-toolbar > * {
|
||||||
pointer-events: auto; }
|
pointer-events: auto; }
|
||||||
|
|
||||||
@ -775,7 +755,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
|||||||
background: #007cba; }
|
background: #007cba; }
|
||||||
.editor-block-list__block:hover .editor-block-list__breadcrumb .components-toolbar {
|
.editor-block-list__block:hover .editor-block-list__breadcrumb .components-toolbar {
|
||||||
opacity: 0;
|
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; }
|
animation-fill-mode: forwards; }
|
||||||
.editor-block-list__breadcrumb.is-light .components-toolbar {
|
.editor-block-list__breadcrumb.is-light .components-toolbar {
|
||||||
background: rgba(255, 255, 255, 0.5);
|
background: rgba(255, 255, 255, 0.5);
|
||||||
@ -882,13 +862,13 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
|||||||
margin-top: 14px; }
|
margin-top: 14px; }
|
||||||
.editor-block-compare__wrapper .editor-block-compare__heading {
|
.editor-block-compare__wrapper .editor-block-compare__heading {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
font-weight: normal; }
|
font-weight: 400; }
|
||||||
|
|
||||||
.editor-block-mover {
|
.editor-block-mover {
|
||||||
min-height: 56px;
|
min-height: 56px;
|
||||||
opacity: 0; }
|
opacity: 0; }
|
||||||
.editor-block-mover.is-visible {
|
.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; }
|
animation-fill-mode: forwards; }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .editor-block-mover {
|
.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 {
|
.editor-block-mover__control:focus {
|
||||||
z-index: 1; } }
|
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__list,
|
||||||
.editor-block-navigation__paragraph {
|
.editor-block-navigation__paragraph {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -985,12 +972,25 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
|||||||
width: 2px; }
|
width: 2px; }
|
||||||
|
|
||||||
.editor-block-navigation__item-button {
|
.editor-block-navigation__item-button {
|
||||||
padding: 6px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
padding: 6px;
|
||||||
|
text-align: right;
|
||||||
|
color: #40464d;
|
||||||
border-radius: 4px; }
|
border-radius: 4px; }
|
||||||
.editor-block-navigation__item-button .editor-block-icon {
|
.editor-block-navigation__item-button .editor-block-icon {
|
||||||
margin-left: 6px; }
|
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 {
|
.editor-block-navigation__item-button.is-selected, .editor-block-navigation__item-button.is-selected:focus {
|
||||||
color: #32373c;
|
color: #32373c;
|
||||||
background: #edeff0; }
|
background: #edeff0; }
|
||||||
@ -1251,14 +1251,12 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
|||||||
background: none;
|
background: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
display: block;
|
display: block;
|
||||||
margin-right: 1px;
|
|
||||||
margin-left: 1px;
|
|
||||||
cursor: text;
|
cursor: text;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
outline: 1px solid transparent;
|
outline: 1px solid transparent;
|
||||||
transition: 0.2s outline;
|
transition: 0.2s outline;
|
||||||
resize: none;
|
resize: none;
|
||||||
padding: 0 14px;
|
padding: 0 14px 0 50px;
|
||||||
color: rgba(14, 28, 46, 0.62); }
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content {
|
.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content {
|
||||||
color: rgba(255, 255, 255, 0.65); }
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
@ -1974,7 +1972,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
|||||||
color: #a2aab2;
|
color: #a2aab2;
|
||||||
overflow: hidden; }
|
overflow: hidden; }
|
||||||
.editor-post-saved-state.is-saving {
|
.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 {
|
.editor-post-saved-state .dashicon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
flex: 0 0 auto; }
|
flex: 0 0 auto; }
|
||||||
@ -2144,6 +2142,7 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||||||
color: #191e23;
|
color: #191e23;
|
||||||
transition: border 0.1s ease-out;
|
transition: border 0.1s ease-out;
|
||||||
padding: 19px 14px;
|
padding: 19px 14px;
|
||||||
|
word-break: keep-all;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
@ -2267,9 +2266,12 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 0; }
|
margin-top: 0;
|
||||||
|
height: 100%; }
|
||||||
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] > p {
|
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] > p {
|
||||||
margin-top: 0; }
|
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 {
|
.editor-rich-text__tinymce + .editor-rich-text__tinymce {
|
||||||
pointer-events: none; }
|
pointer-events: none; }
|
||||||
.editor-rich-text__tinymce + .editor-rich-text__tinymce,
|
.editor-rich-text__tinymce + .editor-rich-text__tinymce,
|
||||||
@ -2402,7 +2404,7 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
transition: all 0.15s ease-in-out;
|
transition: all 0.15s ease-in-out;
|
||||||
padding: 4px 0;
|
padding: 4px 0;
|
||||||
width: 374px;
|
width: 302px;
|
||||||
overflow-y: auto; }
|
overflow-y: auto; }
|
||||||
|
|
||||||
.editor-url-input__suggestions,
|
.editor-url-input__suggestions,
|
||||||
@ -2521,8 +2523,7 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||||||
.editor-warning .editor-warning__actions {
|
.editor-warning .editor-warning__actions {
|
||||||
display: flex; }
|
display: flex; }
|
||||||
.editor-warning .editor-warning__action {
|
.editor-warning .editor-warning__action {
|
||||||
margin: 0 0 0 6px;
|
margin: 0 0 0 6px; }
|
||||||
margin-right: 0; }
|
|
||||||
|
|
||||||
.editor-warning__secondary {
|
.editor-warning__secondary {
|
||||||
margin: 3px -4px 0 0; }
|
margin: 3px -4px 0 0; }
|
||||||
|
85
wp-includes/css/dist/editor/style.css
vendored
85
wp-includes/css/dist/editor/style.css
vendored
@ -29,30 +29,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.editor-autocompleters__block .editor-block-icon {
|
||||||
margin-right: 8px; }
|
margin-right: 8px; }
|
||||||
|
|
||||||
@ -317,13 +293,16 @@
|
|||||||
.editor-block-list__layout .editor-block-list__block.has-warning {
|
.editor-block-list__layout .editor-block-list__block.has-warning {
|
||||||
min-height: 36px; }
|
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;
|
pointer-events: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
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 {
|
.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); }
|
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 {
|
.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;
|
left: auto;
|
||||||
right: 0; }
|
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 {
|
.editor-block-list__layout .editor-block-list__block[data-align="left"] .editor-block-list__block-edit {
|
||||||
/*!rtl:begin:ignore*/
|
/*!rtl:begin:ignore*/
|
||||||
float: left;
|
float: left;
|
||||||
@ -442,7 +426,7 @@
|
|||||||
.editor-block-list__layout .editor-block-list__block[data-align="wide"] > .editor-block-mover {
|
.editor-block-list__layout .editor-block-list__block[data-align="wide"] > .editor-block-mover {
|
||||||
left: -13px; }
|
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; }
|
right: 0; }
|
||||||
|
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
@ -708,10 +692,6 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
|||||||
/*rtl:ignore*/
|
/*rtl:ignore*/
|
||||||
margin-left: 15px; }
|
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 > * {
|
.editor-block-list__block .editor-block-contextual-toolbar > * {
|
||||||
pointer-events: auto; }
|
pointer-events: auto; }
|
||||||
|
|
||||||
@ -787,7 +767,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
|||||||
background: #007cba; }
|
background: #007cba; }
|
||||||
.editor-block-list__block:hover .editor-block-list__breadcrumb .components-toolbar {
|
.editor-block-list__block:hover .editor-block-list__breadcrumb .components-toolbar {
|
||||||
opacity: 0;
|
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; }
|
animation-fill-mode: forwards; }
|
||||||
.editor-block-list__breadcrumb.is-light .components-toolbar {
|
.editor-block-list__breadcrumb.is-light .components-toolbar {
|
||||||
background: rgba(255, 255, 255, 0.5);
|
background: rgba(255, 255, 255, 0.5);
|
||||||
@ -894,13 +874,13 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
|||||||
margin-top: 14px; }
|
margin-top: 14px; }
|
||||||
.editor-block-compare__wrapper .editor-block-compare__heading {
|
.editor-block-compare__wrapper .editor-block-compare__heading {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
font-weight: normal; }
|
font-weight: 400; }
|
||||||
|
|
||||||
.editor-block-mover {
|
.editor-block-mover {
|
||||||
min-height: 56px;
|
min-height: 56px;
|
||||||
opacity: 0; }
|
opacity: 0; }
|
||||||
.editor-block-mover.is-visible {
|
.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; }
|
animation-fill-mode: forwards; }
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .editor-block-mover {
|
.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 {
|
.editor-block-mover__control:focus {
|
||||||
z-index: 1; } }
|
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__list,
|
||||||
.editor-block-navigation__paragraph {
|
.editor-block-navigation__paragraph {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -997,12 +984,25 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
|||||||
width: 2px; }
|
width: 2px; }
|
||||||
|
|
||||||
.editor-block-navigation__item-button {
|
.editor-block-navigation__item-button {
|
||||||
padding: 6px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
padding: 6px;
|
||||||
|
text-align: left;
|
||||||
|
color: #40464d;
|
||||||
border-radius: 4px; }
|
border-radius: 4px; }
|
||||||
.editor-block-navigation__item-button .editor-block-icon {
|
.editor-block-navigation__item-button .editor-block-icon {
|
||||||
margin-right: 6px; }
|
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 {
|
.editor-block-navigation__item-button.is-selected, .editor-block-navigation__item-button.is-selected:focus {
|
||||||
color: #32373c;
|
color: #32373c;
|
||||||
background: #edeff0; }
|
background: #edeff0; }
|
||||||
@ -1263,14 +1263,12 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
|||||||
background: none;
|
background: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: 1px;
|
|
||||||
margin-right: 1px;
|
|
||||||
cursor: text;
|
cursor: text;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
outline: 1px solid transparent;
|
outline: 1px solid transparent;
|
||||||
transition: 0.2s outline;
|
transition: 0.2s outline;
|
||||||
resize: none;
|
resize: none;
|
||||||
padding: 0 14px;
|
padding: 0 50px 0 14px;
|
||||||
color: rgba(14, 28, 46, 0.62); }
|
color: rgba(14, 28, 46, 0.62); }
|
||||||
.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content {
|
.is-dark-theme .editor-default-block-appender textarea.editor-default-block-appender__content {
|
||||||
color: rgba(255, 255, 255, 0.65); }
|
color: rgba(255, 255, 255, 0.65); }
|
||||||
@ -1986,7 +1984,7 @@ body.admin-color-light .editor-block-list__insertion-point-indicator{
|
|||||||
color: #a2aab2;
|
color: #a2aab2;
|
||||||
overflow: hidden; }
|
overflow: hidden; }
|
||||||
.editor-post-saved-state.is-saving {
|
.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 {
|
.editor-post-saved-state .dashicon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
flex: 0 0 auto; }
|
flex: 0 0 auto; }
|
||||||
@ -2156,6 +2154,7 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||||||
color: #191e23;
|
color: #191e23;
|
||||||
transition: border 0.1s ease-out;
|
transition: border 0.1s ease-out;
|
||||||
padding: 19px 14px;
|
padding: 19px 14px;
|
||||||
|
word-break: keep-all;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
@ -2279,9 +2278,12 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 0; }
|
margin-top: 0;
|
||||||
|
height: 100%; }
|
||||||
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] > p {
|
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] > p {
|
||||||
margin-top: 0; }
|
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 {
|
.editor-rich-text__tinymce + .editor-rich-text__tinymce {
|
||||||
pointer-events: none; }
|
pointer-events: none; }
|
||||||
.editor-rich-text__tinymce + .editor-rich-text__tinymce,
|
.editor-rich-text__tinymce + .editor-rich-text__tinymce,
|
||||||
@ -2414,7 +2416,7 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
transition: all 0.15s ease-in-out;
|
transition: all 0.15s ease-in-out;
|
||||||
padding: 4px 0;
|
padding: 4px 0;
|
||||||
width: 374px;
|
width: 302px;
|
||||||
overflow-y: auto; }
|
overflow-y: auto; }
|
||||||
|
|
||||||
.editor-url-input__suggestions,
|
.editor-url-input__suggestions,
|
||||||
@ -2533,8 +2535,7 @@ body.admin-color-light .editor-post-text-editor__link{
|
|||||||
.editor-warning .editor-warning__actions {
|
.editor-warning .editor-warning__actions {
|
||||||
display: flex; }
|
display: flex; }
|
||||||
.editor-warning .editor-warning__action {
|
.editor-warning .editor-warning__action {
|
||||||
margin: 0 6px 0 0;
|
margin: 0 6px 0 0; }
|
||||||
margin-left: 0; }
|
|
||||||
|
|
||||||
.editor-warning__secondary {
|
.editor-warning__secondary {
|
||||||
margin: 3px 0 0 -4px; }
|
margin: 3px 0 0 -4px; }
|
||||||
|
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.editor-format-toolbar__link-container-content {
|
||||||
display: flex; }
|
display: flex; }
|
||||||
|
|
||||||
|
24
wp-includes/css/dist/format-library/style.css
vendored
24
wp-includes/css/dist/format-library/style.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.editor-format-toolbar__link-container-content {
|
||||||
display: flex; }
|
display: flex; }
|
||||||
|
|
||||||
|
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.list-reusable-blocks-import-dropdown__content .components-popover__content {
|
||||||
padding: 10px; }
|
padding: 10px; }
|
||||||
|
|
||||||
|
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.list-reusable-blocks-import-dropdown__content .components-popover__content {
|
||||||
padding: 10px; }
|
padding: 10px; }
|
||||||
|
|
||||||
|
24
wp-includes/css/dist/nux/style-rtl.css
vendored
24
wp-includes/css/dist/nux/style-rtl.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.nux-dot-tip::before, .nux-dot-tip::after {
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
content: " ";
|
content: " ";
|
||||||
|
24
wp-includes/css/dist/nux/style.css
vendored
24
wp-includes/css/dist/nux/style.css
vendored
@ -28,30 +28,6 @@
|
|||||||
/**
|
/**
|
||||||
* Styles that are reused verbatim in a few places
|
* 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 {
|
.nux-dot-tip::before, .nux-dot-tip::after {
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
content: " ";
|
content: " ";
|
||||||
|
2
wp-includes/js/dist/annotations.js.map
vendored
2
wp-includes/js/dist/annotations.js.map
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/annotations.min.js
vendored
2
wp-includes/js/dist/annotations.min.js
vendored
File diff suppressed because one or more lines are too long
6
wp-includes/js/dist/api-fetch.js
vendored
6
wp-includes/js/dist/api-fetch.js
vendored
@ -800,12 +800,14 @@ var createPreloadingMiddleware = function createPreloadingMiddleware(preloadedDa
|
|||||||
var _options$parse = options.parse,
|
var _options$parse = options.parse,
|
||||||
parse = _options$parse === void 0 ? true : _options$parse;
|
parse = _options$parse === void 0 ? true : _options$parse;
|
||||||
|
|
||||||
if (typeof options.path === 'string' && parse) {
|
if (typeof options.path === 'string') {
|
||||||
var method = options.method || 'GET';
|
var method = options.method || 'GET';
|
||||||
var path = getStablePath(options.path);
|
var path = getStablePath(options.path);
|
||||||
|
|
||||||
if ('GET' === method && preloadedData[path]) {
|
if (parse && 'GET' === method && preloadedData[path]) {
|
||||||
return Promise.resolve(preloadedData[path].body);
|
return Promise.resolve(preloadedData[path].body);
|
||||||
|
} else if ('OPTIONS' === method && preloadedData[method][path]) {
|
||||||
|
return Promise.resolve(preloadedData[method][path]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
wp-includes/js/dist/api-fetch.js.map
vendored
2
wp-includes/js/dist/api-fetch.js.map
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/api-fetch.min.js
vendored
2
wp-includes/js/dist/api-fetch.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/autop.min.js
vendored
2
wp-includes/js/dist/autop.min.js
vendored
File diff suppressed because one or more lines are too long
603
wp-includes/js/dist/block-library.js
vendored
603
wp-includes/js/dist/block-library.js
vendored
File diff suppressed because it is too large
Load Diff
2
wp-includes/js/dist/block-library.js.map
vendored
2
wp-includes/js/dist/block-library.js.map
vendored
File diff suppressed because one or more lines are too long
6
wp-includes/js/dist/block-library.min.js
vendored
6
wp-includes/js/dist/block-library.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=196)}({196:function(n,t,r){"use strict";r.r(t),r.d(t,"parse",function(){return a});var e,u,o,i,l=r(24),c=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:[^}]+|}+(?=})|(?!}\s+-->)[^])*?}\s+)?(\/)?-->/g;function s(n,t,r,e,u){return{blockName:n,attrs:t,innerBlocks:r,innerHTML:e,innerContent:u}}function f(n){return s(null,{},[],n,[n])}var a=function(n){e=n,u=0,o=[],i=[],c.lastIndex=0;do{}while(p());return o};function p(){var n=function(){var n=c.exec(e);if(null===n)return["no-more-tokens"];var t=n.index,r=Object(l.a)(n,6),u=r[0],o=r[1],i=r[2],s=r[3],f=r[4],a=r[5],p=u.length,b=!!o,v=!!a,d=(i||"core/")+s,h=!!f,k=h?function(n){try{return JSON.parse(n)}catch(n){return null}}(f):{};if(v)return["void-block",d,k,t,p];if(b)return["block-closer",d,null,t,p];return["block-opener",d,k,t,p]}(),t=Object(l.a)(n,5),r=t[0],a=t[1],p=t[2],h=t[3],k=t[4],y=i.length,O=h>u?u:null;switch(r){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0<i.length;)d();return!1;case"void-block":return 0===y?(null!==O&&o.push(f(e.substr(O,h-O))),o.push(s(a,p,[],"",[])),u=h+k,!0):(v(s(a,p,[],"",[]),h,k),u=h+k,!0);case"block-opener":return i.push(function(n,t,r,e,u){return{block:n,tokenStart:t,tokenLength:r,prevOffset:e||t+r,leadingHtmlStart:u}}(s(a,p,[],"",[]),h,k,h+k,O)),u=h+k,!0;case"block-closer":if(0===y)return b(),!1;if(1===y)return d(h),u=h+k,!0;var g=i.pop(),m=e.substr(g.prevOffset,h-g.prevOffset);return g.block.innerHTML+=m,g.block.innerContent.push(m),g.prevOffset=h+k,v(g.block,g.tokenStart,g.tokenLength,h+k),u=h+k,!0;default:return b(),!1}}function b(n){var t=n||e.length-u;0!==t&&o.push(f(e.substr(u,t)))}function v(n,t,r,u){var o=i[i.length-1];o.block.innerBlocks.push(n);var l=e.substr(o.prevOffset,t-o.prevOffset);l&&(o.block.innerHTML+=l,o.block.innerContent.push(l)),o.block.innerContent.push(null),o.prevOffset=u||t+r}function d(n){var t=i.pop(),r=t.block,u=t.leadingHtmlStart,l=t.prevOffset,c=t.tokenStart,s=n?e.substr(l,n-l):e.substr(l);s&&(r.innerHTML+=s,r.innerContent.push(s)),null!==u&&o.push(f(e.substr(u,c-u))),o.push(r)}},24:function(n,t,r){"use strict";var e=r(36);var u=r(37);function o(n,t){return Object(e.a)(n)||function(n,t){var r=[],e=!0,u=!1,o=void 0;try{for(var i,l=n[Symbol.iterator]();!(e=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){u=!0,o=n}finally{try{e||null==l.return||l.return()}finally{if(u)throw o}}return r}(n,t)||Object(u.a)()}r.d(t,"a",function(){return o})},36:function(n,t,r){"use strict";function e(n){if(Array.isArray(n))return n}r.d(t,"a",function(){return e})},37:function(n,t,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",function(){return e})}});
|
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=196)}({196:function(n,t,r){"use strict";r.r(t),r.d(t,"parse",function(){return a});var e,u,o,i,l=r(25),c=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:[^}]+|}+(?=})|(?!}\s+-->)[^])*?}\s+)?(\/)?-->/g;function s(n,t,r,e,u){return{blockName:n,attrs:t,innerBlocks:r,innerHTML:e,innerContent:u}}function f(n){return s(null,{},[],n,[n])}var a=function(n){e=n,u=0,o=[],i=[],c.lastIndex=0;do{}while(p());return o};function p(){var n=function(){var n=c.exec(e);if(null===n)return["no-more-tokens"];var t=n.index,r=Object(l.a)(n,6),u=r[0],o=r[1],i=r[2],s=r[3],f=r[4],a=r[5],p=u.length,b=!!o,v=!!a,d=(i||"core/")+s,h=!!f,k=h?function(n){try{return JSON.parse(n)}catch(n){return null}}(f):{};if(v)return["void-block",d,k,t,p];if(b)return["block-closer",d,null,t,p];return["block-opener",d,k,t,p]}(),t=Object(l.a)(n,5),r=t[0],a=t[1],p=t[2],h=t[3],k=t[4],y=i.length,O=h>u?u:null;switch(r){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0<i.length;)d();return!1;case"void-block":return 0===y?(null!==O&&o.push(f(e.substr(O,h-O))),o.push(s(a,p,[],"",[])),u=h+k,!0):(v(s(a,p,[],"",[]),h,k),u=h+k,!0);case"block-opener":return i.push(function(n,t,r,e,u){return{block:n,tokenStart:t,tokenLength:r,prevOffset:e||t+r,leadingHtmlStart:u}}(s(a,p,[],"",[]),h,k,h+k,O)),u=h+k,!0;case"block-closer":if(0===y)return b(),!1;if(1===y)return d(h),u=h+k,!0;var g=i.pop(),m=e.substr(g.prevOffset,h-g.prevOffset);return g.block.innerHTML+=m,g.block.innerContent.push(m),g.prevOffset=h+k,v(g.block,g.tokenStart,g.tokenLength,h+k),u=h+k,!0;default:return b(),!1}}function b(n){var t=n||e.length-u;0!==t&&o.push(f(e.substr(u,t)))}function v(n,t,r,u){var o=i[i.length-1];o.block.innerBlocks.push(n);var l=e.substr(o.prevOffset,t-o.prevOffset);l&&(o.block.innerHTML+=l,o.block.innerContent.push(l)),o.block.innerContent.push(null),o.prevOffset=u||t+r}function d(n){var t=i.pop(),r=t.block,u=t.leadingHtmlStart,l=t.prevOffset,c=t.tokenStart,s=n?e.substr(l,n-l):e.substr(l);s&&(r.innerHTML+=s,r.innerContent.push(s)),null!==u&&o.push(f(e.substr(u,c-u))),o.push(r)}},25:function(n,t,r){"use strict";var e=r(35);var u=r(36);function o(n,t){return Object(e.a)(n)||function(n,t){var r=[],e=!0,u=!1,o=void 0;try{for(var i,l=n[Symbol.iterator]();!(e=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){u=!0,o=n}finally{try{e||null==l.return||l.return()}finally{if(u)throw o}}return r}(n,t)||Object(u.a)()}r.d(t,"a",function(){return o})},35:function(n,t,r){"use strict";function e(n){if(Array.isArray(n))return n}r.d(t,"a",function(){return e})},36:function(n,t,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",function(){return e})}});
|
331
wp-includes/js/dist/blocks.js
vendored
331
wp-includes/js/dist/blocks.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/blocks.js.map
vendored
2
wp-includes/js/dist/blocks.js.map
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/blocks.min.js
vendored
4
wp-includes/js/dist/blocks.min.js
vendored
File diff suppressed because one or more lines are too long
229
wp-includes/js/dist/components.js
vendored
229
wp-includes/js/dist/components.js
vendored
@ -9344,7 +9344,7 @@ function Icon(_ref) {
|
|||||||
/*!******************************************************************!*\
|
/*!******************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/components/build-module/index.js ***!
|
!*** ./node_modules/@wordpress/components/build-module/index.js ***!
|
||||||
\******************************************************************/
|
\******************************************************************/
|
||||||
/*! exports provided: Autocomplete, BaseControl, Button, ButtonGroup, CheckboxControl, ClipboardButton, ColorIndicator, ColorPalette, ColorPicker, Dashicon, DateTimePicker, DatePicker, TimePicker, Disabled, Draggable, DropZone, DropZoneProvider, Dropdown, DropdownMenu, ExternalLink, FocusableIframe, FontSizePicker, FormFileUpload, FormToggle, FormTokenField, Icon, IconButton, KeyboardShortcuts, MenuGroup, MenuItem, MenuItemsChoice, Modal, ScrollLock, NavigableMenu, TabbableContainer, Notice, NoticeList, Panel, PanelBody, PanelHeader, PanelRow, Placeholder, Popover, QueryControls, RadioControl, RangeControl, ResizableBox, ResponsiveWrapper, SandBox, SelectControl, Spinner, ServerSideRender, TabPanel, TextControl, TextareaControl, ToggleControl, Toolbar, ToolbarButton, Tooltip, TreeSelect, createSlotFill, Slot, Fill, SlotFillProvider, navigateRegions, withConstrainedTabbing, withFallbackStyles, withFilters, withFocusOutside, withFocusReturn, withNotices, withSpokenMessages, Circle, G, Path, Polygon, Rect, SVG */
|
/*! exports provided: Autocomplete, BaseControl, Button, ButtonGroup, CheckboxControl, ClipboardButton, ColorIndicator, ColorPalette, ColorPicker, Dashicon, DateTimePicker, DatePicker, TimePicker, Disabled, Draggable, DropZone, DropZoneProvider, Dropdown, DropdownMenu, ExternalLink, FocusableIframe, FontSizePicker, FormFileUpload, FormToggle, FormTokenField, Icon, IconButton, KeyboardShortcuts, MenuGroup, MenuItem, MenuItemsChoice, Modal, ScrollLock, NavigableMenu, TabbableContainer, Notice, NoticeList, Panel, PanelBody, PanelHeader, PanelRow, Placeholder, Popover, QueryControls, RadioControl, RangeControl, ResizableBox, ResponsiveWrapper, SandBox, SelectControl, Spinner, ServerSideRender, TabPanel, TextControl, TextareaControl, ToggleControl, Toolbar, ToolbarButton, Tooltip, TreeSelect, IsolatedEventContainer, createSlotFill, Slot, Fill, SlotFillProvider, navigateRegions, withConstrainedTabbing, withFallbackStyles, withFilters, withFocusOutside, withFocusReturn, withNotices, withSpokenMessages, Circle, G, Path, Polygon, Rect, SVG */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -9539,38 +9539,41 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var _tree_select__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./tree-select */ "./node_modules/@wordpress/components/build-module/tree-select/index.js");
|
/* harmony import */ var _tree_select__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./tree-select */ "./node_modules/@wordpress/components/build-module/tree-select/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TreeSelect", function() { return _tree_select__WEBPACK_IMPORTED_MODULE_57__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TreeSelect", function() { return _tree_select__WEBPACK_IMPORTED_MODULE_57__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _slot_fill__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./slot-fill */ "./node_modules/@wordpress/components/build-module/slot-fill/index.js");
|
/* harmony import */ var _isolated_event_container__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./isolated-event-container */ "./node_modules/@wordpress/components/build-module/isolated-event-container/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSlotFill", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_58__["createSlotFill"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsolatedEventContainer", function() { return _isolated_event_container__WEBPACK_IMPORTED_MODULE_58__["default"]; });
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Slot", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_58__["Slot"]; });
|
/* harmony import */ var _slot_fill__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./slot-fill */ "./node_modules/@wordpress/components/build-module/slot-fill/index.js");
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSlotFill", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_59__["createSlotFill"]; });
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Fill", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_58__["Fill"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Slot", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_59__["Slot"]; });
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SlotFillProvider", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_58__["Provider"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Fill", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_59__["Fill"]; });
|
||||||
|
|
||||||
/* harmony import */ var _higher_order_navigate_regions__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./higher-order/navigate-regions */ "./node_modules/@wordpress/components/build-module/higher-order/navigate-regions/index.js");
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SlotFillProvider", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_59__["Provider"]; });
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "navigateRegions", function() { return _higher_order_navigate_regions__WEBPACK_IMPORTED_MODULE_59__["default"]; });
|
|
||||||
|
|
||||||
/* harmony import */ var _higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./higher-order/with-constrained-tabbing */ "./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js");
|
/* harmony import */ var _higher_order_navigate_regions__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./higher-order/navigate-regions */ "./node_modules/@wordpress/components/build-module/higher-order/navigate-regions/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withConstrainedTabbing", function() { return _higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_60__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "navigateRegions", function() { return _higher_order_navigate_regions__WEBPACK_IMPORTED_MODULE_60__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _higher_order_with_fallback_styles__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./higher-order/with-fallback-styles */ "./node_modules/@wordpress/components/build-module/higher-order/with-fallback-styles/index.js");
|
/* harmony import */ var _higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./higher-order/with-constrained-tabbing */ "./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFallbackStyles", function() { return _higher_order_with_fallback_styles__WEBPACK_IMPORTED_MODULE_61__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withConstrainedTabbing", function() { return _higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_61__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _higher_order_with_filters__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./higher-order/with-filters */ "./node_modules/@wordpress/components/build-module/higher-order/with-filters/index.js");
|
/* harmony import */ var _higher_order_with_fallback_styles__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./higher-order/with-fallback-styles */ "./node_modules/@wordpress/components/build-module/higher-order/with-fallback-styles/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFilters", function() { return _higher_order_with_filters__WEBPACK_IMPORTED_MODULE_62__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFallbackStyles", function() { return _higher_order_with_fallback_styles__WEBPACK_IMPORTED_MODULE_62__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _higher_order_with_focus_outside__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./higher-order/with-focus-outside */ "./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js");
|
/* harmony import */ var _higher_order_with_filters__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./higher-order/with-filters */ "./node_modules/@wordpress/components/build-module/higher-order/with-filters/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFocusOutside", function() { return _higher_order_with_focus_outside__WEBPACK_IMPORTED_MODULE_63__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFilters", function() { return _higher_order_with_filters__WEBPACK_IMPORTED_MODULE_63__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./higher-order/with-focus-return */ "./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js");
|
/* harmony import */ var _higher_order_with_focus_outside__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./higher-order/with-focus-outside */ "./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFocusReturn", function() { return _higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_64__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFocusOutside", function() { return _higher_order_with_focus_outside__WEBPACK_IMPORTED_MODULE_64__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _higher_order_with_notices__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./higher-order/with-notices */ "./node_modules/@wordpress/components/build-module/higher-order/with-notices/index.js");
|
/* harmony import */ var _higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./higher-order/with-focus-return */ "./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withNotices", function() { return _higher_order_with_notices__WEBPACK_IMPORTED_MODULE_65__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFocusReturn", function() { return _higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_65__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _higher_order_with_spoken_messages__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./higher-order/with-spoken-messages */ "./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js");
|
/* harmony import */ var _higher_order_with_notices__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./higher-order/with-notices */ "./node_modules/@wordpress/components/build-module/higher-order/with-notices/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withSpokenMessages", function() { return _higher_order_with_spoken_messages__WEBPACK_IMPORTED_MODULE_66__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withNotices", function() { return _higher_order_with_notices__WEBPACK_IMPORTED_MODULE_66__["default"]; });
|
||||||
|
|
||||||
|
/* harmony import */ var _higher_order_with_spoken_messages__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./higher-order/with-spoken-messages */ "./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js");
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withSpokenMessages", function() { return _higher_order_with_spoken_messages__WEBPACK_IMPORTED_MODULE_67__["default"]; });
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
// eslint-disable-next-line camelcase
|
// eslint-disable-next-line camelcase
|
||||||
@ -9630,6 +9633,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Higher-Order Components
|
// Higher-Order Components
|
||||||
@ -9644,6 +9648,85 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./node_modules/@wordpress/components/build-module/isolated-event-container/index.js":
|
||||||
|
/*!*******************************************************************************************!*\
|
||||||
|
!*** ./node_modules/@wordpress/components/build-module/isolated-event-container/index.js ***!
|
||||||
|
\*******************************************************************************************/
|
||||||
|
/*! exports provided: default */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
|
||||||
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
|
||||||
|
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
||||||
|
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
|
||||||
|
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
||||||
|
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
||||||
|
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
|
||||||
|
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* External dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
var IsolatedEventContainer =
|
||||||
|
/*#__PURE__*/
|
||||||
|
function (_Component) {
|
||||||
|
Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(IsolatedEventContainer, _Component);
|
||||||
|
|
||||||
|
function IsolatedEventContainer(props) {
|
||||||
|
var _this;
|
||||||
|
|
||||||
|
Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, IsolatedEventContainer);
|
||||||
|
|
||||||
|
_this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(IsolatedEventContainer).call(this, props));
|
||||||
|
_this.stopEventPropagationOutsideContainer = _this.stopEventPropagationOutsideContainer.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
|
||||||
|
return _this;
|
||||||
|
}
|
||||||
|
|
||||||
|
Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(IsolatedEventContainer, [{
|
||||||
|
key: "stopEventPropagationOutsideContainer",
|
||||||
|
value: function stopEventPropagationOutsideContainer(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "render",
|
||||||
|
value: function render() {
|
||||||
|
var _this$props = this.props,
|
||||||
|
children = _this$props.children,
|
||||||
|
props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props, ["children"]); // Disable reason: this stops certain events from propagating outside of the component.
|
||||||
|
// - onMouseDown is disabled as this can cause interactions with other DOM elements
|
||||||
|
|
||||||
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
||||||
|
|
||||||
|
|
||||||
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
|
||||||
|
onMouseDown: this.stopEventPropagationOutsideContainer
|
||||||
|
}), children);
|
||||||
|
}
|
||||||
|
}]);
|
||||||
|
|
||||||
|
return IsolatedEventContainer;
|
||||||
|
}(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
|
||||||
|
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (IsolatedEventContainer);
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ "./node_modules/@wordpress/components/build-module/keyboard-shortcuts/index.js":
|
/***/ "./node_modules/@wordpress/components/build-module/keyboard-shortcuts/index.js":
|
||||||
@ -10333,19 +10416,18 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
|
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
|
||||||
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
|
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__);
|
||||||
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__);
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ "lodash");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash */ "lodash");
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__);
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);
|
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
|
||||||
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
|
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_10__);
|
||||||
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_11__);
|
/* harmony import */ var _frame__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./frame */ "./node_modules/@wordpress/components/build-module/modal/frame.js");
|
||||||
/* harmony import */ var _frame__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./frame */ "./node_modules/@wordpress/components/build-module/modal/frame.js");
|
/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./header */ "./node_modules/@wordpress/components/build-module/modal/header.js");
|
||||||
/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./header */ "./node_modules/@wordpress/components/build-module/modal/header.js");
|
/* harmony import */ var _aria_helper__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./aria-helper */ "./node_modules/@wordpress/components/build-module/modal/aria-helper.js");
|
||||||
/* harmony import */ var _aria_helper__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./aria-helper */ "./node_modules/@wordpress/components/build-module/modal/aria-helper.js");
|
/* harmony import */ var _isolated_event_container__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../isolated-event-container */ "./node_modules/@wordpress/components/build-module/isolated-event-container/index.js");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -10372,6 +10454,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Used to count the number of open modals.
|
// Used to count the number of open modals.
|
||||||
|
|
||||||
var parentElement,
|
var parentElement,
|
||||||
@ -10391,7 +10474,6 @@ function (_Component) {
|
|||||||
|
|
||||||
_this.prepareDOM();
|
_this.prepareDOM();
|
||||||
|
|
||||||
_this.stopEventPropagationOutsideModal = _this.stopEventPropagationOutsideModal.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
|
|
||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@ -10467,7 +10549,7 @@ function (_Component) {
|
|||||||
}, {
|
}, {
|
||||||
key: "openFirstModal",
|
key: "openFirstModal",
|
||||||
value: function openFirstModal() {
|
value: function openFirstModal() {
|
||||||
_aria_helper__WEBPACK_IMPORTED_MODULE_14__["hideApp"](parentElement);
|
_aria_helper__WEBPACK_IMPORTED_MODULE_13__["hideApp"](parentElement);
|
||||||
document.body.classList.add(this.props.bodyOpenClassName);
|
document.body.classList.add(this.props.bodyOpenClassName);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@ -10479,17 +10561,7 @@ function (_Component) {
|
|||||||
key: "closeLastModal",
|
key: "closeLastModal",
|
||||||
value: function closeLastModal() {
|
value: function closeLastModal() {
|
||||||
document.body.classList.remove(this.props.bodyOpenClassName);
|
document.body.classList.remove(this.props.bodyOpenClassName);
|
||||||
_aria_helper__WEBPACK_IMPORTED_MODULE_14__["showApp"]();
|
_aria_helper__WEBPACK_IMPORTED_MODULE_13__["showApp"]();
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Stop all onMouseDown events propagating further - they should only go to the modal
|
|
||||||
* @param {string} event Event object
|
|
||||||
*/
|
|
||||||
|
|
||||||
}, {
|
|
||||||
key: "stopEventPropagationOutsideModal",
|
|
||||||
value: function stopEventPropagationOutsideModal(event) {
|
|
||||||
event.stopPropagation();
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Renders the modal.
|
* Renders the modal.
|
||||||
@ -10518,20 +10590,19 @@ function (_Component) {
|
|||||||
|
|
||||||
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
||||||
|
|
||||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createPortal"])(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", {
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createPortal"])(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_isolated_event_container__WEBPACK_IMPORTED_MODULE_14__["default"], {
|
||||||
className: classnames__WEBPACK_IMPORTED_MODULE_9___default()('components-modal__screen-overlay', overlayClassName),
|
className: classnames__WEBPACK_IMPORTED_MODULE_8___default()('components-modal__screen-overlay', overlayClassName)
|
||||||
onMouseDown: this.stopEventPropagationOutsideModal
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_frame__WEBPACK_IMPORTED_MODULE_11__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_frame__WEBPACK_IMPORTED_MODULE_12__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
|
className: classnames__WEBPACK_IMPORTED_MODULE_8___default()('components-modal__frame', className),
|
||||||
className: classnames__WEBPACK_IMPORTED_MODULE_9___default()('components-modal__frame', className),
|
|
||||||
onRequestClose: onRequestClose,
|
onRequestClose: onRequestClose,
|
||||||
aria: {
|
aria: {
|
||||||
labelledby: title ? headingId : null,
|
labelledby: title ? headingId : null,
|
||||||
describedby: aria.describedby
|
describedby: aria.describedby
|
||||||
}
|
}
|
||||||
}, otherProps), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", {
|
}, otherProps), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("div", {
|
||||||
className: 'components-modal__content',
|
className: 'components-modal__content',
|
||||||
tabIndex: "0"
|
tabIndex: "0"
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_header__WEBPACK_IMPORTED_MODULE_13__["default"], {
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_header__WEBPACK_IMPORTED_MODULE_12__["default"], {
|
||||||
closeLabel: closeButtonLabel,
|
closeLabel: closeButtonLabel,
|
||||||
headingId: headingId,
|
headingId: headingId,
|
||||||
icon: icon,
|
icon: icon,
|
||||||
@ -10544,13 +10615,13 @@ function (_Component) {
|
|||||||
}]);
|
}]);
|
||||||
|
|
||||||
return Modal;
|
return Modal;
|
||||||
}(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
|
}(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"]);
|
||||||
|
|
||||||
Modal.defaultProps = {
|
Modal.defaultProps = {
|
||||||
bodyOpenClassName: 'modal-open',
|
bodyOpenClassName: 'modal-open',
|
||||||
role: 'dialog',
|
role: 'dialog',
|
||||||
title: null,
|
title: null,
|
||||||
onRequestClose: lodash__WEBPACK_IMPORTED_MODULE_10__["noop"],
|
onRequestClose: lodash__WEBPACK_IMPORTED_MODULE_9__["noop"],
|
||||||
focusOnMount: true,
|
focusOnMount: true,
|
||||||
shouldCloseOnEsc: true,
|
shouldCloseOnEsc: true,
|
||||||
shouldCloseOnClickOutside: true,
|
shouldCloseOnClickOutside: true,
|
||||||
@ -10562,7 +10633,7 @@ Modal.defaultProps = {
|
|||||||
describedby: null
|
describedby: null
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_11__["withInstanceId"])(Modal));
|
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_10__["withInstanceId"])(Modal));
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
@ -10858,7 +10929,7 @@ function NavigableMenu(_ref, ref) {
|
|||||||
stopNavigationEvents: true,
|
stopNavigationEvents: true,
|
||||||
onlyBrowserTabstops: false,
|
onlyBrowserTabstops: false,
|
||||||
role: role,
|
role: role,
|
||||||
"aria-orientation": orientation,
|
"aria-orientation": role === 'presentation' ? null : orientation,
|
||||||
eventToOffset: eventToOffset
|
eventToOffset: eventToOffset
|
||||||
}, rest));
|
}, rest));
|
||||||
}
|
}
|
||||||
@ -11192,6 +11263,8 @@ function (_Component) {
|
|||||||
className: "components-panel__body-toggle",
|
className: "components-panel__body-toggle",
|
||||||
onClick: this.toggle,
|
onClick: this.toggle,
|
||||||
"aria-expanded": isOpened
|
"aria-expanded": isOpened
|
||||||
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("span", {
|
||||||
|
"aria-hidden": "true"
|
||||||
}, isOpened ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_11__["SVG"], {
|
}, isOpened ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_11__["SVG"], {
|
||||||
className: "components-panel__arrow",
|
className: "components-panel__arrow",
|
||||||
width: "24px",
|
width: "24px",
|
||||||
@ -11214,7 +11287,7 @@ function (_Component) {
|
|||||||
d: "M0,0h24v24H0V0z"
|
d: "M0,0h24v24H0V0z"
|
||||||
})), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_11__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_11__["Path"], {
|
})), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_11__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_11__["Path"], {
|
||||||
d: "M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"
|
d: "M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"
|
||||||
}))), title, icon && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_icon__WEBPACK_IMPORTED_MODULE_10__["default"], {
|
})))), title, icon && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_icon__WEBPACK_IMPORTED_MODULE_10__["default"], {
|
||||||
icon: icon,
|
icon: icon,
|
||||||
className: "components-panel__icon",
|
className: "components-panel__icon",
|
||||||
size: 20
|
size: 20
|
||||||
@ -11509,7 +11582,8 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var _detect_outside__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./detect-outside */ "./node_modules/@wordpress/components/build-module/popover/detect-outside.js");
|
/* harmony import */ var _detect_outside__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./detect-outside */ "./node_modules/@wordpress/components/build-module/popover/detect-outside.js");
|
||||||
/* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
|
/* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
|
||||||
/* harmony import */ var _scroll_lock__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../scroll-lock */ "./node_modules/@wordpress/components/build-module/scroll-lock/index.js");
|
/* harmony import */ var _scroll_lock__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../scroll-lock */ "./node_modules/@wordpress/components/build-module/scroll-lock/index.js");
|
||||||
/* harmony import */ var _slot_fill__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../slot-fill */ "./node_modules/@wordpress/components/build-module/slot-fill/index.js");
|
/* harmony import */ var _isolated_event_container__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../isolated-event-container */ "./node_modules/@wordpress/components/build-module/isolated-event-container/index.js");
|
||||||
|
/* harmony import */ var _slot_fill__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../slot-fill */ "./node_modules/@wordpress/components/build-module/slot-fill/index.js");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -11543,6 +11617,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var FocusManaged = Object(_higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_15__["default"])(Object(_higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_14__["default"])(function (_ref) {
|
var FocusManaged = Object(_higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_15__["default"])(Object(_higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_14__["default"])(function (_ref) {
|
||||||
var children = _ref.children;
|
var children = _ref.children;
|
||||||
return children;
|
return children;
|
||||||
@ -11825,7 +11900,7 @@ function (_Component) {
|
|||||||
|
|
||||||
var content = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_detect_outside__WEBPACK_IMPORTED_MODULE_16__["default"], {
|
var content = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_detect_outside__WEBPACK_IMPORTED_MODULE_16__["default"], {
|
||||||
onClickOutside: onClickOutside
|
onClickOutside: onClickOutside
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_isolated_event_container__WEBPACK_IMPORTED_MODULE_19__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
|
||||||
className: classes,
|
className: classes,
|
||||||
style: {
|
style: {
|
||||||
top: !isMobile && popoverTop ? popoverTop + 'px' : undefined,
|
top: !isMobile && popoverTop ? popoverTop + 'px' : undefined,
|
||||||
@ -11859,13 +11934,13 @@ function (_Component) {
|
|||||||
content = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(FocusManaged, null, content);
|
content = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(FocusManaged, null, content);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_slot_fill__WEBPACK_IMPORTED_MODULE_19__["Consumer"], null, function (_ref2) {
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_slot_fill__WEBPACK_IMPORTED_MODULE_20__["Consumer"], null, function (_ref2) {
|
||||||
var getSlot = _ref2.getSlot;
|
var getSlot = _ref2.getSlot;
|
||||||
|
|
||||||
// In case there is no slot context in which to render,
|
// In case there is no slot context in which to render,
|
||||||
// default to an in-place rendering.
|
// default to an in-place rendering.
|
||||||
if (getSlot && getSlot(SLOT_NAME)) {
|
if (getSlot && getSlot(SLOT_NAME)) {
|
||||||
content = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_slot_fill__WEBPACK_IMPORTED_MODULE_19__["Fill"], {
|
content = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_slot_fill__WEBPACK_IMPORTED_MODULE_20__["Fill"], {
|
||||||
name: SLOT_NAME
|
name: SLOT_NAME
|
||||||
}, content);
|
}, content);
|
||||||
}
|
}
|
||||||
@ -11887,7 +11962,7 @@ Popover.defaultProps = {
|
|||||||
var PopoverContainer = Popover;
|
var PopoverContainer = Popover;
|
||||||
|
|
||||||
PopoverContainer.Slot = function () {
|
PopoverContainer.Slot = function () {
|
||||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_slot_fill__WEBPACK_IMPORTED_MODULE_19__["Slot"], {
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_slot_fill__WEBPACK_IMPORTED_MODULE_20__["Slot"], {
|
||||||
bubblesVirtually: true,
|
bubblesVirtually: true,
|
||||||
name: SLOT_NAME
|
name: SLOT_NAME
|
||||||
});
|
});
|
||||||
@ -13192,7 +13267,10 @@ function (_Component) {
|
|||||||
key: "componentDidMount",
|
key: "componentDidMount",
|
||||||
value: function componentDidMount() {
|
value: function componentDidMount() {
|
||||||
this.isStillMounted = true;
|
this.isStillMounted = true;
|
||||||
this.fetch(this.props);
|
this.fetch(this.props); // Only debounce once the initial fetch occurs to ensure that the first
|
||||||
|
// renders show data as soon as possible.
|
||||||
|
|
||||||
|
this.fetch = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["debounce"])(this.fetch, 500);
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "componentWillUnmount",
|
key: "componentWillUnmount",
|
||||||
@ -13211,6 +13289,10 @@ function (_Component) {
|
|||||||
value: function fetch(props) {
|
value: function fetch(props) {
|
||||||
var _this2 = this;
|
var _this2 = this;
|
||||||
|
|
||||||
|
if (!this.isStillMounted) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (null !== this.state.response) {
|
if (null !== this.state.response) {
|
||||||
this.setState({
|
this.setState({
|
||||||
response: null
|
response: null
|
||||||
@ -13222,17 +13304,19 @@ function (_Component) {
|
|||||||
attributes = _props$attributes === void 0 ? null : _props$attributes,
|
attributes = _props$attributes === void 0 ? null : _props$attributes,
|
||||||
_props$urlQueryArgs = props.urlQueryArgs,
|
_props$urlQueryArgs = props.urlQueryArgs,
|
||||||
urlQueryArgs = _props$urlQueryArgs === void 0 ? {} : _props$urlQueryArgs;
|
urlQueryArgs = _props$urlQueryArgs === void 0 ? {} : _props$urlQueryArgs;
|
||||||
var path = rendererPath(block, attributes, urlQueryArgs);
|
var path = rendererPath(block, attributes, urlQueryArgs); // Store the latest fetch request so that when we process it, we can
|
||||||
return _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_9___default()({
|
// check if it is the current request, to avoid race conditions on slow networks.
|
||||||
|
|
||||||
|
var fetchRequest = this.currentFetchRequest = _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_9___default()({
|
||||||
path: path
|
path: path
|
||||||
}).then(function (response) {
|
}).then(function (response) {
|
||||||
if (_this2.isStillMounted && response && response.rendered) {
|
if (_this2.isStillMounted && fetchRequest === _this2.currentFetchRequest && response && response.rendered) {
|
||||||
_this2.setState({
|
_this2.setState({
|
||||||
response: response.rendered
|
response: response.rendered
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}).catch(function (error) {
|
}).catch(function (error) {
|
||||||
if (_this2.isStillMounted) {
|
if (_this2.isStillMounted && fetchRequest === _this2.currentFetchRequest) {
|
||||||
_this2.setState({
|
_this2.setState({
|
||||||
response: {
|
response: {
|
||||||
error: true,
|
error: true,
|
||||||
@ -13241,6 +13325,7 @@ function (_Component) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
return fetchRequest;
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "render",
|
key: "render",
|
||||||
@ -18084,7 +18169,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* clipboard.js v2.0.3
|
* clipboard.js v2.0.4
|
||||||
* https://zenorocha.github.io/clipboard.js
|
* https://zenorocha.github.io/clipboard.js
|
||||||
*
|
*
|
||||||
* Licensed MIT © Zeno Rocha
|
* Licensed MIT © Zeno Rocha
|
||||||
@ -18093,7 +18178,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|||||||
if(true)
|
if(true)
|
||||||
module.exports = factory();
|
module.exports = factory();
|
||||||
else {}
|
else {}
|
||||||
})(window, function() {
|
})(this, function() {
|
||||||
return /******/ (function(modules) { // webpackBootstrap
|
return /******/ (function(modules) { // webpackBootstrap
|
||||||
/******/ // The module cache
|
/******/ // The module cache
|
||||||
/******/ var installedModules = {};
|
/******/ var installedModules = {};
|
||||||
|
2
wp-includes/js/dist/components.js.map
vendored
2
wp-includes/js/dist/components.js.map
vendored
File diff suppressed because one or more lines are too long
8
wp-includes/js/dist/components.min.js
vendored
8
wp-includes/js/dist/components.min.js
vendored
File diff suppressed because one or more lines are too long
136
wp-includes/js/dist/compose.js
vendored
136
wp-includes/js/dist/compose.js
vendored
@ -394,7 +394,7 @@ var ifCondition = function ifCondition(predicate) {
|
|||||||
/*!***************************************************************!*\
|
/*!***************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/compose/build-module/index.js ***!
|
!*** ./node_modules/@wordpress/compose/build-module/index.js ***!
|
||||||
\***************************************************************/
|
\***************************************************************/
|
||||||
/*! exports provided: createHigherOrderComponent, ifCondition, pure, remountOnPropChange, withGlobalEvents, withInstanceId, withSafeTimeout, withState, compose */
|
/*! exports provided: createHigherOrderComponent, ifCondition, pure, withGlobalEvents, withInstanceId, withSafeTimeout, withState, compose */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -412,20 +412,17 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var _pure__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pure */ "./node_modules/@wordpress/compose/build-module/pure/index.js");
|
/* harmony import */ var _pure__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pure */ "./node_modules/@wordpress/compose/build-module/pure/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "pure", function() { return _pure__WEBPACK_IMPORTED_MODULE_3__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "pure", function() { return _pure__WEBPACK_IMPORTED_MODULE_3__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _remount_on_prop_change__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./remount-on-prop-change */ "./node_modules/@wordpress/compose/build-module/remount-on-prop-change/index.js");
|
/* harmony import */ var _with_global_events__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./with-global-events */ "./node_modules/@wordpress/compose/build-module/with-global-events/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "remountOnPropChange", function() { return _remount_on_prop_change__WEBPACK_IMPORTED_MODULE_4__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withGlobalEvents", function() { return _with_global_events__WEBPACK_IMPORTED_MODULE_4__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _with_global_events__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./with-global-events */ "./node_modules/@wordpress/compose/build-module/with-global-events/index.js");
|
/* harmony import */ var _with_instance_id__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./with-instance-id */ "./node_modules/@wordpress/compose/build-module/with-instance-id/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withGlobalEvents", function() { return _with_global_events__WEBPACK_IMPORTED_MODULE_5__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withInstanceId", function() { return _with_instance_id__WEBPACK_IMPORTED_MODULE_5__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _with_instance_id__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./with-instance-id */ "./node_modules/@wordpress/compose/build-module/with-instance-id/index.js");
|
/* harmony import */ var _with_safe_timeout__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./with-safe-timeout */ "./node_modules/@wordpress/compose/build-module/with-safe-timeout/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withInstanceId", function() { return _with_instance_id__WEBPACK_IMPORTED_MODULE_6__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withSafeTimeout", function() { return _with_safe_timeout__WEBPACK_IMPORTED_MODULE_6__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _with_safe_timeout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./with-safe-timeout */ "./node_modules/@wordpress/compose/build-module/with-safe-timeout/index.js");
|
/* harmony import */ var _with_state__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./with-state */ "./node_modules/@wordpress/compose/build-module/with-state/index.js");
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withSafeTimeout", function() { return _with_safe_timeout__WEBPACK_IMPORTED_MODULE_7__["default"]; });
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withState", function() { return _with_state__WEBPACK_IMPORTED_MODULE_7__["default"]; });
|
||||||
|
|
||||||
/* harmony import */ var _with_state__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./with-state */ "./node_modules/@wordpress/compose/build-module/with-state/index.js");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withState", function() { return _with_state__WEBPACK_IMPORTED_MODULE_8__["default"]; });
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* External dependencies
|
* External dependencies
|
||||||
@ -438,7 +435,6 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Composes multiple higher-order components into a single higher-order component. Performs right-to-left function
|
* Composes multiple higher-order components into a single higher-order component. Performs right-to-left function
|
||||||
* composition, where each successive invocation is supplied the return value of the previous.
|
* composition, where each successive invocation is supplied the return value of the previous.
|
||||||
@ -556,109 +552,6 @@ var pure = Object(_create_higher_order_component__WEBPACK_IMPORTED_MODULE_7__["d
|
|||||||
/* harmony default export */ __webpack_exports__["default"] = (pure);
|
/* harmony default export */ __webpack_exports__["default"] = (pure);
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/@wordpress/compose/build-module/remount-on-prop-change/index.js":
|
|
||||||
/*!**************************************************************************************!*\
|
|
||||||
!*** ./node_modules/@wordpress/compose/build-module/remount-on-prop-change/index.js ***!
|
|
||||||
\**************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
|
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
|
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
|
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_7__);
|
|
||||||
/* harmony import */ var _create_higher_order_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../create-higher-order-component */ "./node_modules/@wordpress/compose/build-module/create-higher-order-component/index.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Internal dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Higher-order component creator, creating a new component that remounts
|
|
||||||
* the wrapped component each time a given prop value changes.
|
|
||||||
*
|
|
||||||
* @param {string} propName Prop name to monitor.
|
|
||||||
*
|
|
||||||
* @return {Function} Higher-order component.
|
|
||||||
*/
|
|
||||||
|
|
||||||
var remountOnPropChange = function remountOnPropChange(propName) {
|
|
||||||
return Object(_create_higher_order_component__WEBPACK_IMPORTED_MODULE_8__["default"])(function (WrappedComponent) {
|
|
||||||
_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_7___default()('remountOnPropChange', {
|
|
||||||
plugin: 'Gutenberg',
|
|
||||||
version: '4.4.0'
|
|
||||||
});
|
|
||||||
return (
|
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Component) {
|
|
||||||
Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(_class, _Component);
|
|
||||||
|
|
||||||
function _class(props) {
|
|
||||||
var _this;
|
|
||||||
|
|
||||||
Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, _class);
|
|
||||||
|
|
||||||
_this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(_class).apply(this, arguments));
|
|
||||||
_this.state = {
|
|
||||||
propChangeId: 0,
|
|
||||||
propValue: props[propName]
|
|
||||||
};
|
|
||||||
return _this;
|
|
||||||
}
|
|
||||||
|
|
||||||
Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(_class, [{
|
|
||||||
key: "render",
|
|
||||||
value: function render() {
|
|
||||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(WrappedComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
|
|
||||||
key: this.state.propChangeId
|
|
||||||
}, this.props));
|
|
||||||
}
|
|
||||||
}], [{
|
|
||||||
key: "getDerivedStateFromProps",
|
|
||||||
value: function getDerivedStateFromProps(props, state) {
|
|
||||||
if (props[propName] === state.propValue) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
propChangeId: state.propChangeId + 1,
|
|
||||||
propValue: props[propName]
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}]);
|
|
||||||
|
|
||||||
return _class;
|
|
||||||
}(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"])
|
|
||||||
);
|
|
||||||
}, 'remountOnPropChange');
|
|
||||||
};
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (remountOnPropChange);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ "./node_modules/@wordpress/compose/build-module/with-global-events/index.js":
|
/***/ "./node_modules/@wordpress/compose/build-module/with-global-events/index.js":
|
||||||
@ -1166,17 +1059,6 @@ function withState() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "@wordpress/deprecated":
|
|
||||||
/*!*********************************************!*\
|
|
||||||
!*** external {"this":["wp","deprecated"]} ***!
|
|
||||||
\*********************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["deprecated"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ "@wordpress/element":
|
/***/ "@wordpress/element":
|
||||||
|
2
wp-includes/js/dist/compose.js.map
vendored
2
wp-includes/js/dist/compose.js.map
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/compose.min.js
vendored
2
wp-includes/js/dist/compose.min.js
vendored
File diff suppressed because one or more lines are too long
105
wp-includes/js/dist/core-data.js
vendored
105
wp-includes/js/dist/core-data.js
vendored
@ -319,7 +319,7 @@ function _toConsumableArray(arr) {
|
|||||||
/*!*******************************************************************!*\
|
/*!*******************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/core-data/build-module/actions.js ***!
|
!*** ./node_modules/@wordpress/core-data/build-module/actions.js ***!
|
||||||
\*******************************************************************/
|
\*******************************************************************/
|
||||||
/*! exports provided: receiveUserQuery, addEntities, receiveEntityRecords, receiveThemeSupports, receiveEmbedPreview, saveEntityRecord */
|
/*! exports provided: receiveUserQuery, addEntities, receiveEntityRecords, receiveThemeSupports, receiveEmbedPreview, saveEntityRecord, receiveUploadPermissions */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -330,6 +330,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "receiveThemeSupports", function() { return receiveThemeSupports; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "receiveThemeSupports", function() { return receiveThemeSupports; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "receiveEmbedPreview", function() { return receiveEmbedPreview; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "receiveEmbedPreview", function() { return receiveEmbedPreview; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "saveEntityRecord", function() { return saveEntityRecord; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "saveEntityRecord", function() { return saveEntityRecord; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "receiveUploadPermissions", function() { return receiveUploadPermissions; });
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "lodash");
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "lodash");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
@ -500,6 +501,20 @@ function saveEntityRecord(kind, name, record) {
|
|||||||
}
|
}
|
||||||
}, _marked, this);
|
}, _marked, this);
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Returns an action object used in signalling that Upload permissions have been received.
|
||||||
|
*
|
||||||
|
* @param {boolean} hasUploadPermissions Does the user have permission to upload files?
|
||||||
|
*
|
||||||
|
* @return {Object} Action object.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function receiveUploadPermissions(hasUploadPermissions) {
|
||||||
|
return {
|
||||||
|
type: 'RECEIVE_UPLOAD_PERMISSIONS',
|
||||||
|
hasUploadPermissions: hasUploadPermissions
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
@ -1338,7 +1353,7 @@ var getQueriedItems = Object(rememo__WEBPACK_IMPORTED_MODULE_0__["default"])(fun
|
|||||||
/*!*******************************************************************!*\
|
/*!*******************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/core-data/build-module/reducer.js ***!
|
!*** ./node_modules/@wordpress/core-data/build-module/reducer.js ***!
|
||||||
\*******************************************************************/
|
\*******************************************************************/
|
||||||
/*! exports provided: terms, users, taxonomies, themeSupports, entitiesConfig, entities, embedPreviews, default */
|
/*! exports provided: terms, users, taxonomies, themeSupports, entitiesConfig, entities, embedPreviews, hasUploadPermissions, default */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -1350,6 +1365,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "entitiesConfig", function() { return entitiesConfig; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "entitiesConfig", function() { return entitiesConfig; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "entities", function() { return entities; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "entities", function() { return entities; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "embedPreviews", function() { return embedPreviews; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "embedPreviews", function() { return embedPreviews; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasUploadPermissions", function() { return hasUploadPermissions; });
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
||||||
@ -1581,13 +1597,34 @@ function embedPreviews() {
|
|||||||
|
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Reducer managing Upload permissions.
|
||||||
|
*
|
||||||
|
* @param {Object} state Current state.
|
||||||
|
* @param {Object} action Dispatched action.
|
||||||
|
*
|
||||||
|
* @return {Object} Updated state.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function hasUploadPermissions() {
|
||||||
|
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||||
|
var action = arguments.length > 1 ? arguments[1] : undefined;
|
||||||
|
|
||||||
|
switch (action.type) {
|
||||||
|
case 'RECEIVE_UPLOAD_PERMISSIONS':
|
||||||
|
return action.hasUploadPermissions;
|
||||||
|
}
|
||||||
|
|
||||||
|
return state;
|
||||||
|
}
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_5__["combineReducers"])({
|
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_5__["combineReducers"])({
|
||||||
terms: terms,
|
terms: terms,
|
||||||
users: users,
|
users: users,
|
||||||
taxonomies: taxonomies,
|
taxonomies: taxonomies,
|
||||||
themeSupports: themeSupports,
|
themeSupports: themeSupports,
|
||||||
entities: entities,
|
entities: entities,
|
||||||
embedPreviews: embedPreviews
|
embedPreviews: embedPreviews,
|
||||||
|
hasUploadPermissions: hasUploadPermissions
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
||||||
@ -1597,7 +1634,7 @@ function embedPreviews() {
|
|||||||
/*!*********************************************************************!*\
|
/*!*********************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/core-data/build-module/resolvers.js ***!
|
!*** ./node_modules/@wordpress/core-data/build-module/resolvers.js ***!
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
/*! exports provided: getAuthors, getEntityRecord, getEntityRecords, getThemeSupports, getEmbedPreview */
|
/*! exports provided: getAuthors, getEntityRecord, getEntityRecords, getThemeSupports, getEmbedPreview, hasUploadPermissions */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -1607,6 +1644,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getEntityRecords", function() { return getEntityRecords; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getEntityRecords", function() { return getEntityRecords; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getThemeSupports", function() { return getThemeSupports; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getThemeSupports", function() { return getThemeSupports; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getEmbedPreview", function() { return getEmbedPreview; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getEmbedPreview", function() { return getEmbedPreview; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasUploadPermissions", function() { return hasUploadPermissions; });
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "lodash");
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "lodash");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
@ -1631,7 +1669,10 @@ regeneratorRuntime.mark(getEntityRecords),
|
|||||||
regeneratorRuntime.mark(getThemeSupports),
|
regeneratorRuntime.mark(getThemeSupports),
|
||||||
_marked5 =
|
_marked5 =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
regeneratorRuntime.mark(getEmbedPreview);
|
regeneratorRuntime.mark(getEmbedPreview),
|
||||||
|
_marked6 =
|
||||||
|
/*#__PURE__*/
|
||||||
|
regeneratorRuntime.mark(hasUploadPermissions);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* External dependencies
|
* External dependencies
|
||||||
@ -1857,6 +1898,46 @@ function getEmbedPreview(url) {
|
|||||||
}
|
}
|
||||||
}, _marked5, this, [[0, 8]]);
|
}, _marked5, this, [[0, 8]]);
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Requests Upload Permissions from the REST API.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function hasUploadPermissions() {
|
||||||
|
var response, allowHeader;
|
||||||
|
return regeneratorRuntime.wrap(function hasUploadPermissions$(_context6) {
|
||||||
|
while (1) {
|
||||||
|
switch (_context6.prev = _context6.next) {
|
||||||
|
case 0:
|
||||||
|
_context6.next = 2;
|
||||||
|
return Object(_controls__WEBPACK_IMPORTED_MODULE_5__["apiFetch"])({
|
||||||
|
path: '/wp/v2/media',
|
||||||
|
method: 'OPTIONS',
|
||||||
|
parse: false
|
||||||
|
});
|
||||||
|
|
||||||
|
case 2:
|
||||||
|
response = _context6.sent;
|
||||||
|
|
||||||
|
if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["hasIn"])(response, ['headers', 'get'])) {
|
||||||
|
// If the request is fetched using the fetch api, the header can be
|
||||||
|
// retrieved using the 'get' method.
|
||||||
|
allowHeader = response.headers.get('allow');
|
||||||
|
} else {
|
||||||
|
// If the request was preloaded server-side and is returned by the
|
||||||
|
// preloading middleware, the header will be a simple property.
|
||||||
|
allowHeader = Object(lodash__WEBPACK_IMPORTED_MODULE_1__["get"])(response, ['headers', 'Allow'], '');
|
||||||
|
}
|
||||||
|
|
||||||
|
_context6.next = 6;
|
||||||
|
return Object(_actions__WEBPACK_IMPORTED_MODULE_3__["receiveUploadPermissions"])(Object(lodash__WEBPACK_IMPORTED_MODULE_1__["includes"])(allowHeader, 'POST'));
|
||||||
|
|
||||||
|
case 6:
|
||||||
|
case "end":
|
||||||
|
return _context6.stop();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, _marked6, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
@ -1865,7 +1946,7 @@ function getEmbedPreview(url) {
|
|||||||
/*!*********************************************************************!*\
|
/*!*********************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/core-data/build-module/selectors.js ***!
|
!*** ./node_modules/@wordpress/core-data/build-module/selectors.js ***!
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
/*! exports provided: isRequestingEmbedPreview, getAuthors, getUserQueryResults, getEntitiesByKind, getEntity, getEntityRecord, getEntityRecords, getThemeSupports, getEmbedPreview, isPreviewEmbedFallback */
|
/*! exports provided: isRequestingEmbedPreview, getAuthors, getUserQueryResults, getEntitiesByKind, getEntity, getEntityRecord, getEntityRecords, getThemeSupports, getEmbedPreview, isPreviewEmbedFallback, hasUploadPermissions */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -1880,6 +1961,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getThemeSupports", function() { return getThemeSupports; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getThemeSupports", function() { return getThemeSupports; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getEmbedPreview", function() { return getEmbedPreview; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getEmbedPreview", function() { return getEmbedPreview; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isPreviewEmbedFallback", function() { return isPreviewEmbedFallback; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isPreviewEmbedFallback", function() { return isPreviewEmbedFallback; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasUploadPermissions", function() { return hasUploadPermissions; });
|
||||||
/* harmony import */ var rememo__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rememo */ "./node_modules/rememo/es/rememo.js");
|
/* harmony import */ var rememo__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rememo */ "./node_modules/rememo/es/rememo.js");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "lodash");
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "lodash");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
@ -2072,6 +2154,17 @@ function isPreviewEmbedFallback(state, url) {
|
|||||||
|
|
||||||
return preview.html === oEmbedLinkCheck;
|
return preview.html === oEmbedLinkCheck;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Return Upload Permissions.
|
||||||
|
*
|
||||||
|
* @param {Object} state State tree.
|
||||||
|
*
|
||||||
|
* @return {boolean} Upload Permissions.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function hasUploadPermissions(state) {
|
||||||
|
return state.hasUploadPermissions;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
2
wp-includes/js/dist/core-data.js.map
vendored
2
wp-includes/js/dist/core-data.js.map
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/core-data.min.js
vendored
2
wp-includes/js/dist/core-data.min.js
vendored
File diff suppressed because one or more lines are too long
217
wp-includes/js/dist/data.js
vendored
217
wp-includes/js/dist/data.js
vendored
@ -772,13 +772,15 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
|
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
|
||||||
/* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/is-shallow-equal */ "@wordpress/is-shallow-equal");
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
|
||||||
/* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7__);
|
/* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/is-shallow-equal */ "@wordpress/is-shallow-equal");
|
||||||
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
|
/* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_8__);
|
||||||
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__);
|
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
|
||||||
/* harmony import */ var _registry_provider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../registry-provider */ "./node_modules/@wordpress/data/build-module/components/registry-provider/index.js");
|
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__);
|
||||||
|
/* harmony import */ var _registry_provider__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../registry-provider */ "./node_modules/@wordpress/data/build-module/components/registry-provider/index.js");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -810,7 +812,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var withSelect = function withSelect(mapSelectToProps) {
|
var withSelect = function withSelect(mapSelectToProps) {
|
||||||
return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__["createHigherOrderComponent"])(function (WrappedComponent) {
|
return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__["createHigherOrderComponent"])(function (WrappedComponent) {
|
||||||
/**
|
/**
|
||||||
* Default merge props. A constant value is used as the fallback since it
|
* Default merge props. A constant value is used as the fallback since it
|
||||||
* can be more efficiently shallow compared in case component is repeatedly
|
* can be more efficiently shallow compared in case component is repeatedly
|
||||||
@ -842,6 +844,7 @@ var withSelect = function withSelect(mapSelectToProps) {
|
|||||||
Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, ComponentWithSelect);
|
Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, ComponentWithSelect);
|
||||||
|
|
||||||
_this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(ComponentWithSelect).call(this, props));
|
_this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(ComponentWithSelect).call(this, props));
|
||||||
|
_this.onStoreChange = _this.onStoreChange.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
|
||||||
|
|
||||||
_this.subscribe(props.registry);
|
_this.subscribe(props.registry);
|
||||||
|
|
||||||
@ -852,7 +855,14 @@ var withSelect = function withSelect(mapSelectToProps) {
|
|||||||
Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(ComponentWithSelect, [{
|
Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(ComponentWithSelect, [{
|
||||||
key: "componentDidMount",
|
key: "componentDidMount",
|
||||||
value: function componentDidMount() {
|
value: function componentDidMount() {
|
||||||
this.canRunSelection = true;
|
this.canRunSelection = true; // A state change may have occurred between the constructor and
|
||||||
|
// mount of the component (e.g. during the wrapped component's own
|
||||||
|
// constructor), in which case selection should be rerun.
|
||||||
|
|
||||||
|
if (this.hasQueuedSelection) {
|
||||||
|
this.hasQueuedSelection = false;
|
||||||
|
this.onStoreChange();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "componentWillUnmount",
|
key: "componentWillUnmount",
|
||||||
@ -873,7 +883,7 @@ var withSelect = function withSelect(mapSelectToProps) {
|
|||||||
// `mergeProps` to rendered component if and only if updated.
|
// `mergeProps` to rendered component if and only if updated.
|
||||||
|
|
||||||
|
|
||||||
var hasPropsChanged = hasRegistryChanged || !_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7___default()(this.props.ownProps, nextProps.ownProps); // Only render if props have changed or merge props have been updated
|
var hasPropsChanged = hasRegistryChanged || !_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_8___default()(this.props.ownProps, nextProps.ownProps); // Only render if props have changed or merge props have been updated
|
||||||
// from the store subscriber.
|
// from the store subscriber.
|
||||||
|
|
||||||
if (this.state === nextState && !hasPropsChanged) {
|
if (this.state === nextState && !hasPropsChanged) {
|
||||||
@ -883,7 +893,7 @@ var withSelect = function withSelect(mapSelectToProps) {
|
|||||||
if (hasPropsChanged) {
|
if (hasPropsChanged) {
|
||||||
var nextMergeProps = getNextMergeProps(nextProps);
|
var nextMergeProps = getNextMergeProps(nextProps);
|
||||||
|
|
||||||
if (!_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7___default()(this.mergeProps, nextMergeProps)) {
|
if (!_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_8___default()(this.mergeProps, nextMergeProps)) {
|
||||||
// If merge props change as a result of the incoming props,
|
// If merge props change as a result of the incoming props,
|
||||||
// they should be reflected as such in the upcoming render.
|
// they should be reflected as such in the upcoming render.
|
||||||
// While side effects are discouraged in lifecycle methods,
|
// While side effects are discouraged in lifecycle methods,
|
||||||
@ -899,47 +909,48 @@ var withSelect = function withSelect(mapSelectToProps) {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
key: "onStoreChange",
|
||||||
|
value: function onStoreChange() {
|
||||||
|
if (!this.canRunSelection) {
|
||||||
|
this.hasQueuedSelection = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var nextMergeProps = getNextMergeProps(this.props);
|
||||||
|
|
||||||
|
if (_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_8___default()(this.mergeProps, nextMergeProps)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.mergeProps = nextMergeProps; // Schedule an update. Merge props are not assigned to state since
|
||||||
|
// derivation of merge props from incoming props occurs within
|
||||||
|
// shouldComponentUpdate, where setState is not allowed. setState
|
||||||
|
// is used here instead of forceUpdate because forceUpdate bypasses
|
||||||
|
// shouldComponentUpdate altogether, which isn't desireable if both
|
||||||
|
// state and props change within the same render. Unfortunately,
|
||||||
|
// this requires that next merge props are generated twice.
|
||||||
|
|
||||||
|
this.setState({});
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "subscribe",
|
key: "subscribe",
|
||||||
value: function subscribe(registry) {
|
value: function subscribe(registry) {
|
||||||
var _this2 = this;
|
this.unsubscribe = registry.subscribe(this.onStoreChange);
|
||||||
|
|
||||||
this.unsubscribe = registry.subscribe(function () {
|
|
||||||
if (!_this2.canRunSelection) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var nextMergeProps = getNextMergeProps(_this2.props);
|
|
||||||
|
|
||||||
if (_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7___default()(_this2.mergeProps, nextMergeProps)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
_this2.mergeProps = nextMergeProps; // Schedule an update. Merge props are not assigned to state
|
|
||||||
// because derivation of merge props from incoming props occurs
|
|
||||||
// within shouldComponentUpdate, where setState is not allowed.
|
|
||||||
// setState is used here instead of forceUpdate because forceUpdate
|
|
||||||
// bypasses shouldComponentUpdate altogether, which isn't desireable
|
|
||||||
// if both state and props change within the same render.
|
|
||||||
// Unfortunately this requires that next merge props are generated
|
|
||||||
// twice.
|
|
||||||
|
|
||||||
_this2.setState({});
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "render",
|
key: "render",
|
||||||
value: function render() {
|
value: function render() {
|
||||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(WrappedComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, this.props.ownProps, this.mergeProps));
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(WrappedComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, this.props.ownProps, this.mergeProps));
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
return ComponentWithSelect;
|
return ComponentWithSelect;
|
||||||
}(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
|
}(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"]);
|
||||||
|
|
||||||
return function (ownProps) {
|
return function (ownProps) {
|
||||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_registry_provider__WEBPACK_IMPORTED_MODULE_9__["RegistryConsumer"], null, function (registry) {
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_registry_provider__WEBPACK_IMPORTED_MODULE_10__["RegistryConsumer"], null, function (registry) {
|
||||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(ComponentWithSelect, {
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(ComponentWithSelect, {
|
||||||
ownProps: ownProps,
|
ownProps: ownProps,
|
||||||
registry: registry
|
registry: registry
|
||||||
});
|
});
|
||||||
@ -973,7 +984,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/*!************************************************************!*\
|
/*!************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/data/build-module/index.js ***!
|
!*** ./node_modules/@wordpress/data/build-module/index.js ***!
|
||||||
\************************************************************/
|
\************************************************************/
|
||||||
/*! exports provided: withSelect, withDispatch, RegistryProvider, RegistryConsumer, createRegistry, plugins, combineReducers, select, dispatch, subscribe, registerGenericStore, registerStore, registerReducer, registerActions, registerSelectors, registerResolvers, use */
|
/*! exports provided: withSelect, withDispatch, RegistryProvider, RegistryConsumer, createRegistry, plugins, combineReducers, select, dispatch, subscribe, registerGenericStore, registerStore, use */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -983,10 +994,6 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "subscribe", function() { return subscribe; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "subscribe", function() { return subscribe; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerGenericStore", function() { return registerGenericStore; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerGenericStore", function() { return registerGenericStore; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerStore", function() { return registerStore; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerStore", function() { return registerStore; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerReducer", function() { return registerReducer; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerActions", function() { return registerActions; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerSelectors", function() { return registerSelectors; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerResolvers", function() { return registerResolvers; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "use", function() { return use; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "use", function() { return use; });
|
||||||
/* harmony import */ var turbo_combine_reducers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! turbo-combine-reducers */ "./node_modules/turbo-combine-reducers/index.js");
|
/* harmony import */ var turbo_combine_reducers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! turbo-combine-reducers */ "./node_modules/turbo-combine-reducers/index.js");
|
||||||
/* harmony import */ var turbo_combine_reducers__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(turbo_combine_reducers__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var turbo_combine_reducers__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(turbo_combine_reducers__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
@ -1040,10 +1047,6 @@ var dispatch = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].dispatc
|
|||||||
var subscribe = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].subscribe;
|
var subscribe = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].subscribe;
|
||||||
var registerGenericStore = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerGenericStore;
|
var registerGenericStore = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerGenericStore;
|
||||||
var registerStore = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerStore;
|
var registerStore = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerStore;
|
||||||
var registerReducer = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerReducer;
|
|
||||||
var registerActions = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerActions;
|
|
||||||
var registerSelectors = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerSelectors;
|
|
||||||
var registerResolvers = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerResolvers;
|
|
||||||
var use = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].use;
|
var use = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].use;
|
||||||
|
|
||||||
|
|
||||||
@ -1091,36 +1094,15 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function createNamespace(key, options, registry) {
|
function createNamespace(key, options, registry) {
|
||||||
// TODO: After register[Reducer|Actions|Selectors|Resolvers] are deprecated and removed,
|
var reducer = options.reducer;
|
||||||
// this function can be greatly simplified because it should no longer be called to modify
|
var store = createReduxStore(reducer, key, registry);
|
||||||
// a namespace, but only to create one, and only once for each namespace.
|
var selectors, actions, resolvers;
|
||||||
// TODO: After removing `registry.namespaces`and making stores immutable after create,
|
|
||||||
// reducer, store, actinos, selectors, and resolvers can all be removed from here.
|
|
||||||
var _ref = registry.namespaces[key] || {},
|
|
||||||
reducer = _ref.reducer,
|
|
||||||
store = _ref.store,
|
|
||||||
actions = _ref.actions,
|
|
||||||
selectors = _ref.selectors,
|
|
||||||
resolvers = _ref.resolvers;
|
|
||||||
|
|
||||||
if (options.reducer) {
|
|
||||||
reducer = options.reducer;
|
|
||||||
store = createReduxStore(reducer, key, registry);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (options.actions) {
|
if (options.actions) {
|
||||||
if (!store) {
|
|
||||||
throw new TypeError('Cannot specify actions when no reducer is present');
|
|
||||||
}
|
|
||||||
|
|
||||||
actions = mapActions(options.actions, store);
|
actions = mapActions(options.actions, store);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options.selectors) {
|
if (options.selectors) {
|
||||||
if (!store) {
|
|
||||||
throw new TypeError('Cannot specify selectors when no reducer is present');
|
|
||||||
}
|
|
||||||
|
|
||||||
selectors = mapSelectors(options.selectors, store);
|
selectors = mapSelectors(options.selectors, store);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1152,7 +1134,9 @@ function createNamespace(key, options, registry) {
|
|||||||
listener();
|
listener();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
}; // This can be simplified to just { subscribe, getSelectors, getActions }
|
||||||
|
// Once we remove the use function.
|
||||||
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
reducer: reducer,
|
reducer: reducer,
|
||||||
@ -1815,10 +1799,8 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ "lodash");
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ "lodash");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
|
/* harmony import */ var _namespace_store_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./namespace-store.js */ "./node_modules/@wordpress/data/build-module/namespace-store.js");
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3__);
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./store */ "./node_modules/@wordpress/data/build-module/store/index.js");
|
||||||
/* harmony import */ var _namespace_store_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./namespace-store.js */ "./node_modules/@wordpress/data/build-module/namespace-store.js");
|
|
||||||
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./store */ "./node_modules/@wordpress/data/build-module/store/index.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1826,11 +1808,6 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
* External dependencies
|
* External dependencies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal dependencies
|
* Internal dependencies
|
||||||
*/
|
*/
|
||||||
@ -1970,66 +1947,6 @@ function createRegistry() {
|
|||||||
select: select,
|
select: select,
|
||||||
dispatch: dispatch,
|
dispatch: dispatch,
|
||||||
use: use
|
use: use
|
||||||
}; //
|
|
||||||
// Deprecated
|
|
||||||
//
|
|
||||||
|
|
||||||
registry.registerReducer = function (reducerKey, reducer) {
|
|
||||||
_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3___default()('registry.registerReducer', {
|
|
||||||
alternative: 'registry.registerStore',
|
|
||||||
plugin: 'Gutenberg',
|
|
||||||
version: '4.4.0'
|
|
||||||
});
|
|
||||||
var namespace = Object(_namespace_store_js__WEBPACK_IMPORTED_MODULE_4__["default"])(reducerKey, {
|
|
||||||
reducer: reducer
|
|
||||||
}, registry);
|
|
||||||
registerGenericStore(reducerKey, namespace);
|
|
||||||
return namespace.store;
|
|
||||||
}; //
|
|
||||||
// Deprecated
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
registry.registerActions = function (reducerKey, actions) {
|
|
||||||
_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3___default()('registry.registerActions', {
|
|
||||||
alternative: 'registry.registerStore',
|
|
||||||
plugin: 'Gutenberg',
|
|
||||||
version: '4.4.0'
|
|
||||||
});
|
|
||||||
var namespace = Object(_namespace_store_js__WEBPACK_IMPORTED_MODULE_4__["default"])(reducerKey, {
|
|
||||||
actions: actions
|
|
||||||
}, registry);
|
|
||||||
registerGenericStore(reducerKey, namespace);
|
|
||||||
}; //
|
|
||||||
// Deprecated
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
registry.registerSelectors = function (reducerKey, selectors) {
|
|
||||||
_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3___default()('registry.registerSelectors', {
|
|
||||||
alternative: 'registry.registerStore',
|
|
||||||
plugin: 'Gutenberg',
|
|
||||||
version: '4.4.0'
|
|
||||||
});
|
|
||||||
var namespace = Object(_namespace_store_js__WEBPACK_IMPORTED_MODULE_4__["default"])(reducerKey, {
|
|
||||||
selectors: selectors
|
|
||||||
}, registry);
|
|
||||||
registerGenericStore(reducerKey, namespace);
|
|
||||||
}; //
|
|
||||||
// Deprecated
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
registry.registerResolvers = function (reducerKey, resolvers) {
|
|
||||||
_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3___default()('registry.registerResolvers', {
|
|
||||||
alternative: 'registry.registerStore',
|
|
||||||
plugin: 'Gutenberg',
|
|
||||||
version: '4.4.0'
|
|
||||||
});
|
|
||||||
var namespace = Object(_namespace_store_js__WEBPACK_IMPORTED_MODULE_4__["default"])(reducerKey, {
|
|
||||||
resolvers: resolvers
|
|
||||||
}, registry);
|
|
||||||
registerGenericStore(reducerKey, namespace);
|
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Registers a standard `@wordpress/data` store.
|
* Registers a standard `@wordpress/data` store.
|
||||||
@ -2040,13 +1957,12 @@ function createRegistry() {
|
|||||||
* @return {Object} Registered store object.
|
* @return {Object} Registered store object.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
registry.registerStore = function (reducerKey, options) {
|
registry.registerStore = function (reducerKey, options) {
|
||||||
if (!options.reducer) {
|
if (!options.reducer) {
|
||||||
throw new TypeError('Must specify store reducer');
|
throw new TypeError('Must specify store reducer');
|
||||||
}
|
}
|
||||||
|
|
||||||
var namespace = Object(_namespace_store_js__WEBPACK_IMPORTED_MODULE_4__["default"])(reducerKey, options, registry);
|
var namespace = Object(_namespace_store_js__WEBPACK_IMPORTED_MODULE_3__["default"])(reducerKey, options, registry);
|
||||||
registerGenericStore(reducerKey, namespace);
|
registerGenericStore(reducerKey, namespace);
|
||||||
return namespace.store;
|
return namespace.store;
|
||||||
}; //
|
}; //
|
||||||
@ -2061,7 +1977,7 @@ function createRegistry() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Object.entries(Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({
|
Object.entries(Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({
|
||||||
'core/data': _store__WEBPACK_IMPORTED_MODULE_5__["default"]
|
'core/data': _store__WEBPACK_IMPORTED_MODULE_4__["default"]
|
||||||
}, storeConfigs)).map(function (_ref) {
|
}, storeConfigs)).map(function (_ref) {
|
||||||
var _ref2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_ref, 2),
|
var _ref2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_ref, 2),
|
||||||
name = _ref2[0],
|
name = _ref2[0],
|
||||||
@ -3660,17 +3576,6 @@ module.exports = function(originalModule) {
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ "@wordpress/deprecated":
|
|
||||||
/*!*********************************************!*\
|
|
||||||
!*** external {"this":["wp","deprecated"]} ***!
|
|
||||||
\*********************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["deprecated"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "@wordpress/element":
|
/***/ "@wordpress/element":
|
||||||
/*!******************************************!*\
|
/*!******************************************!*\
|
||||||
!*** external {"this":["wp","element"]} ***!
|
!*** external {"this":["wp","element"]} ***!
|
||||||
|
2
wp-includes/js/dist/data.js.map
vendored
2
wp-includes/js/dist/data.js.map
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/data.min.js
vendored
2
wp-includes/js/dist/data.min.js
vendored
File diff suppressed because one or more lines are too long
52
wp-includes/js/dist/date.js
vendored
52
wp-includes/js/dist/date.js
vendored
@ -91,15 +91,13 @@ this["wp"] = this["wp"] || {}; this["wp"]["date"] =
|
|||||||
/*!************************************************************!*\
|
/*!************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/date/build-module/index.js ***!
|
!*** ./node_modules/@wordpress/date/build-module/index.js ***!
|
||||||
\************************************************************/
|
\************************************************************/
|
||||||
/*! exports provided: setSettings, __experimentalGetSettings, getSettings, moment, format, date, gmdate, dateI18n, isInTheFuture, getDate */
|
/*! exports provided: setSettings, __experimentalGetSettings, format, date, gmdate, dateI18n, isInTheFuture, getDate */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setSettings", function() { return setSettings; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setSettings", function() { return setSettings; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__experimentalGetSettings", function() { return __experimentalGetSettings; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__experimentalGetSettings", function() { return __experimentalGetSettings; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSettings", function() { return getSettings; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "moment", function() { return moment; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "format", function() { return format; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "format", function() { return format; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "date", function() { return date; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "date", function() { return date; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gmdate", function() { return gmdate; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gmdate", function() { return gmdate; });
|
||||||
@ -112,18 +110,11 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var moment_timezone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment_timezone__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var moment_timezone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment_timezone__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! moment-timezone/moment-timezone-utils */ "./node_modules/moment-timezone/moment-timezone-utils.js");
|
/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! moment-timezone/moment-timezone-utils */ "./node_modules/moment-timezone/moment-timezone-utils.js");
|
||||||
/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__);
|
/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__);
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
|
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3__);
|
|
||||||
/**
|
/**
|
||||||
* External dependencies
|
* External dependencies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Changes made here will likely need to be made in `lib/client-assets.php` as
|
// Changes made here will likely need to be made in `lib/client-assets.php` as
|
||||||
// well because it uses the `setSettings()` function to change these settings.
|
// well because it uses the `setSettings()` function to change these settings.
|
||||||
|
|
||||||
@ -217,16 +208,6 @@ function setSettings(dateSettings) {
|
|||||||
|
|
||||||
function __experimentalGetSettings() {
|
function __experimentalGetSettings() {
|
||||||
return settings;
|
return settings;
|
||||||
} // deprecations
|
|
||||||
|
|
||||||
function getSettings() {
|
|
||||||
_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3___default()('wp.date.getSettings', {
|
|
||||||
version: '4.4',
|
|
||||||
alternative: 'wp.date.__experimentalGetSettings',
|
|
||||||
plugin: 'Gutenberg',
|
|
||||||
hint: 'Unstable APIs are strongly discouraged to be used, and are subject to removal without notice.'
|
|
||||||
});
|
|
||||||
return settings;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function setupWPTimezone() {
|
function setupWPTimezone() {
|
||||||
@ -237,24 +218,7 @@ function setupWPTimezone() {
|
|||||||
untils: [null],
|
untils: [null],
|
||||||
offsets: [-settings.timezone.offset * 60 || 0]
|
offsets: [-settings.timezone.offset * 60 || 0]
|
||||||
}));
|
}));
|
||||||
} // Create a new moment object which mirrors moment but includes
|
} // Date constants.
|
||||||
// the attached timezone, instead of setting a default timezone on
|
|
||||||
// the global moment object.
|
|
||||||
|
|
||||||
|
|
||||||
var moment = function moment() {
|
|
||||||
_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3___default()('wp.date.moment', {
|
|
||||||
version: '4.4',
|
|
||||||
alternative: 'the moment script as a dependency',
|
|
||||||
plugin: 'Gutenberg'
|
|
||||||
});
|
|
||||||
|
|
||||||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
||||||
args[_key] = arguments[_key];
|
|
||||||
}
|
|
||||||
|
|
||||||
return moment__WEBPACK_IMPORTED_MODULE_0___default.a.tz.apply(moment__WEBPACK_IMPORTED_MODULE_0___default.a, args.concat(['WP']));
|
|
||||||
}; // Date constants.
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Number of seconds in one minute.
|
* Number of seconds in one minute.
|
||||||
@ -262,6 +226,7 @@ var moment = function moment() {
|
|||||||
* @type {Number}
|
* @type {Number}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
var MINUTE_IN_SECONDS = 60;
|
var MINUTE_IN_SECONDS = 60;
|
||||||
/**
|
/**
|
||||||
* Number of minutes in one hour.
|
* Number of minutes in one hour.
|
||||||
@ -1533,17 +1498,6 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "@wordpress/deprecated":
|
|
||||||
/*!*********************************************!*\
|
|
||||||
!*** external {"this":["wp","deprecated"]} ***!
|
|
||||||
\*********************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["deprecated"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ "moment":
|
/***/ "moment":
|
||||||
|
2
wp-includes/js/dist/date.js.map
vendored
2
wp-includes/js/dist/date.js.map
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/date.min.js
vendored
4
wp-includes/js/dist/date.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/dom.min.js
vendored
2
wp-includes/js/dist/dom.min.js
vendored
File diff suppressed because one or more lines are too long
346
wp-includes/js/dist/edit-post.js
vendored
346
wp-includes/js/dist/edit-post.js
vendored
@ -909,11 +909,12 @@ function (_Component) {
|
|||||||
/*!********************************************************************************************!*\
|
/*!********************************************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/edit-post/build-module/components/fullscreen-mode/index.js ***!
|
!*** ./node_modules/@wordpress/edit-post/build-module/components/fullscreen-mode/index.js ***!
|
||||||
\********************************************************************************************/
|
\********************************************************************************************/
|
||||||
/*! exports provided: default */
|
/*! exports provided: FullscreenMode, default */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FullscreenMode", function() { return FullscreenMode; });
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
||||||
@ -934,7 +935,6 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var FullscreenMode =
|
var FullscreenMode =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Component) {
|
function (_Component) {
|
||||||
@ -949,7 +949,23 @@ function (_Component) {
|
|||||||
Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(FullscreenMode, [{
|
Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(FullscreenMode, [{
|
||||||
key: "componentDidMount",
|
key: "componentDidMount",
|
||||||
value: function componentDidMount() {
|
value: function componentDidMount() {
|
||||||
this.sync();
|
this.isSticky = false;
|
||||||
|
this.sync(); // `is-fullscreen-mode` is set in PHP as a body class by Gutenberg, and this causes
|
||||||
|
// `sticky-menu` to be applied by WordPress and prevents the admin menu being scrolled
|
||||||
|
// even if `is-fullscreen-mode` is then removed. Let's remove `sticky-menu` here as
|
||||||
|
// a consequence of the FullscreenMode setup
|
||||||
|
|
||||||
|
if (document.body.classList.contains('sticky-menu')) {
|
||||||
|
this.isSticky = true;
|
||||||
|
document.body.classList.remove('sticky-menu');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "componentWillUnmount",
|
||||||
|
value: function componentWillUnmount() {
|
||||||
|
if (this.isSticky) {
|
||||||
|
document.body.classList.add('sticky-menu');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "componentDidUpdate",
|
key: "componentDidUpdate",
|
||||||
@ -978,7 +994,6 @@ function (_Component) {
|
|||||||
|
|
||||||
return FullscreenMode;
|
return FullscreenMode;
|
||||||
}(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["Component"]);
|
}(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["Component"]);
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__["withSelect"])(function (select) {
|
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__["withSelect"])(function (select) {
|
||||||
return {
|
return {
|
||||||
isActive: select('core/edit-post').isFeatureActive('fullscreenMode')
|
isActive: select('core/edit-post').isFeatureActive('fullscreenMode')
|
||||||
@ -1165,7 +1180,11 @@ function HeaderToolbar(_ref) {
|
|||||||
var hasFixedToolbar = _ref.hasFixedToolbar,
|
var hasFixedToolbar = _ref.hasFixedToolbar,
|
||||||
isLargeViewport = _ref.isLargeViewport,
|
isLargeViewport = _ref.isLargeViewport,
|
||||||
mode = _ref.mode;
|
mode = _ref.mode;
|
||||||
var toolbarAriaLabel = hasFixedToolbar ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Document and block tools') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Document tools');
|
var toolbarAriaLabel = hasFixedToolbar ?
|
||||||
|
/* translators: accessibility text for the editor toolbar when Unified Toolbar is on */
|
||||||
|
Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Document and block tools') :
|
||||||
|
/* translators: accessibility text for the editor toolbar when Unified Toolbar is off */
|
||||||
|
Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Document tools');
|
||||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_editor__WEBPACK_IMPORTED_MODULE_6__["NavigableToolbar"], {
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_editor__WEBPACK_IMPORTED_MODULE_6__["NavigableToolbar"], {
|
||||||
className: "edit-post-header-toolbar",
|
className: "edit-post-header-toolbar",
|
||||||
"aria-label": toolbarAriaLabel
|
"aria-label": toolbarAriaLabel
|
||||||
@ -3213,11 +3232,20 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_0__["compose"])(Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["withSelect"])(function (select, _ref) {
|
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_0__["compose"])(Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["withSelect"])(function (select, _ref) {
|
||||||
var panelName = _ref.panelName;
|
var panelName = _ref.panelName;
|
||||||
|
|
||||||
|
var _select = select('core/edit-post'),
|
||||||
|
isEditorPanelEnabled = _select.isEditorPanelEnabled,
|
||||||
|
isEditorPanelRemoved = _select.isEditorPanelRemoved;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
isChecked: select('core/edit-post').isEditorPanelEnabled(panelName)
|
isRemoved: isEditorPanelRemoved(panelName),
|
||||||
|
isChecked: isEditorPanelEnabled(panelName)
|
||||||
};
|
};
|
||||||
}), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["withDispatch"])(function (dispatch, _ref2) {
|
}), Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_0__["ifCondition"])(function (_ref2) {
|
||||||
var panelName = _ref2.panelName;
|
var isRemoved = _ref2.isRemoved;
|
||||||
|
return !isRemoved;
|
||||||
|
}), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["withDispatch"])(function (dispatch, _ref3) {
|
||||||
|
var panelName = _ref3.panelName;
|
||||||
return {
|
return {
|
||||||
onChange: function onChange() {
|
onChange: function onChange() {
|
||||||
return dispatch('core/edit-post').toggleEditorPanelEnabled(panelName);
|
return dispatch('core/edit-post').toggleEditorPanelEnabled(panelName);
|
||||||
@ -4115,6 +4143,177 @@ function PostFormat() {
|
|||||||
/* harmony default export */ __webpack_exports__["default"] = (PostFormat);
|
/* harmony default export */ __webpack_exports__["default"] = (PostFormat);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-link/index.js":
|
||||||
|
/*!**********************************************************************************************!*\
|
||||||
|
!*** ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-link/index.js ***!
|
||||||
|
\**********************************************************************************************/
|
||||||
|
/*! exports provided: default */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "lodash");
|
||||||
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
|
||||||
|
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
|
||||||
|
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
|
||||||
|
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
|
||||||
|
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
|
||||||
|
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
|
||||||
|
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
|
||||||
|
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__);
|
||||||
|
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/url */ "@wordpress/url");
|
||||||
|
/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_6__);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* External dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Module Constants
|
||||||
|
*/
|
||||||
|
|
||||||
|
var PANEL_NAME = 'post-link';
|
||||||
|
|
||||||
|
function PostLink(_ref) {
|
||||||
|
var isOpened = _ref.isOpened,
|
||||||
|
onTogglePanel = _ref.onTogglePanel,
|
||||||
|
isEditable = _ref.isEditable,
|
||||||
|
postLink = _ref.postLink,
|
||||||
|
permalinkParts = _ref.permalinkParts,
|
||||||
|
editPermalink = _ref.editPermalink,
|
||||||
|
forceEmptyField = _ref.forceEmptyField,
|
||||||
|
setState = _ref.setState;
|
||||||
|
var prefix = permalinkParts.prefix,
|
||||||
|
postName = permalinkParts.postName,
|
||||||
|
suffix = permalinkParts.suffix;
|
||||||
|
var prefixElement, postNameElement, suffixElement;
|
||||||
|
|
||||||
|
if (isEditable) {
|
||||||
|
prefixElement = prefix && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
|
||||||
|
className: "edit-post-post-link__link-prefix"
|
||||||
|
}, prefix);
|
||||||
|
postNameElement = postName && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
|
||||||
|
className: "edit-post-post-link__link-post-name"
|
||||||
|
}, postName);
|
||||||
|
suffixElement = suffix && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
|
||||||
|
className: "edit-post-post-link__link-suffix"
|
||||||
|
}, suffix);
|
||||||
|
}
|
||||||
|
|
||||||
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["PanelBody"], {
|
||||||
|
title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Permalink'),
|
||||||
|
opened: isOpened,
|
||||||
|
onToggle: onTogglePanel
|
||||||
|
}, isEditable && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["TextControl"], {
|
||||||
|
label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('URL'),
|
||||||
|
value: forceEmptyField ? '' : postName,
|
||||||
|
onChange: function onChange(newValue) {
|
||||||
|
editPermalink(newValue); // When we delete the field the permalink gets
|
||||||
|
// reverted to the original value.
|
||||||
|
// The forceEmptyField logic allows the user to have
|
||||||
|
// the field temporarily empty while typing.
|
||||||
|
|
||||||
|
if (!newValue) {
|
||||||
|
if (!forceEmptyField) {
|
||||||
|
setState({
|
||||||
|
forceEmptyField: true
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (forceEmptyField) {
|
||||||
|
setState({
|
||||||
|
forceEmptyField: false
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("p", {
|
||||||
|
className: "edit-post-post-link__preview-label"
|
||||||
|
}, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Preview')), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("a", {
|
||||||
|
className: "edit-post-post-link__link",
|
||||||
|
href: postLink,
|
||||||
|
target: "_blank"
|
||||||
|
}, isEditable ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, prefixElement, postNameElement, suffixElement) : postLink), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("a", {
|
||||||
|
className: "edit-post-post-link__permalink-settings",
|
||||||
|
href: Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_6__["addQueryArgs"])('options-permalink.php'),
|
||||||
|
target: "_blank"
|
||||||
|
}, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Permalink Settings')));
|
||||||
|
}
|
||||||
|
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__["compose"])([Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withSelect"])(function (select) {
|
||||||
|
var _select = select('core/editor'),
|
||||||
|
isEditedPostNew = _select.isEditedPostNew,
|
||||||
|
isPermalinkEditable = _select.isPermalinkEditable,
|
||||||
|
getCurrentPost = _select.getCurrentPost,
|
||||||
|
isCurrentPostPublished = _select.isCurrentPostPublished,
|
||||||
|
getPermalinkParts = _select.getPermalinkParts,
|
||||||
|
getEditedPostAttribute = _select.getEditedPostAttribute;
|
||||||
|
|
||||||
|
var _select2 = select('core/edit-post'),
|
||||||
|
isEditorPanelOpened = _select2.isEditorPanelOpened;
|
||||||
|
|
||||||
|
var _select3 = select('core'),
|
||||||
|
getPostType = _select3.getPostType;
|
||||||
|
|
||||||
|
var _getCurrentPost = getCurrentPost(),
|
||||||
|
link = _getCurrentPost.link;
|
||||||
|
|
||||||
|
var postTypeName = getEditedPostAttribute('type');
|
||||||
|
var postType = getPostType(postTypeName);
|
||||||
|
return {
|
||||||
|
isNew: isEditedPostNew(),
|
||||||
|
postLink: link,
|
||||||
|
isEditable: isPermalinkEditable(),
|
||||||
|
isPublished: isCurrentPostPublished(),
|
||||||
|
isOpened: isEditorPanelOpened(PANEL_NAME),
|
||||||
|
permalinkParts: getPermalinkParts(),
|
||||||
|
isViewable: Object(lodash__WEBPACK_IMPORTED_MODULE_1__["get"])(postType, ['viewable'], false)
|
||||||
|
};
|
||||||
|
}), Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__["ifCondition"])(function (_ref2) {
|
||||||
|
var isNew = _ref2.isNew,
|
||||||
|
postLink = _ref2.postLink,
|
||||||
|
isViewable = _ref2.isViewable;
|
||||||
|
return !isNew && postLink && isViewable;
|
||||||
|
}), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withDispatch"])(function (dispatch) {
|
||||||
|
var _dispatch = dispatch('core/edit-post'),
|
||||||
|
toggleEditorPanelOpened = _dispatch.toggleEditorPanelOpened;
|
||||||
|
|
||||||
|
var _dispatch2 = dispatch('core/editor'),
|
||||||
|
editPost = _dispatch2.editPost;
|
||||||
|
|
||||||
|
return {
|
||||||
|
onTogglePanel: function onTogglePanel() {
|
||||||
|
return toggleEditorPanelOpened(PANEL_NAME);
|
||||||
|
},
|
||||||
|
editPermalink: function editPermalink(newSlug) {
|
||||||
|
editPost({
|
||||||
|
slug: newSlug
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}), Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__["withState"])({
|
||||||
|
forceEmptyField: false
|
||||||
|
})])(PostLink));
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-pending-status/index.js":
|
/***/ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-pending-status/index.js":
|
||||||
@ -4659,9 +4858,10 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var _post_taxonomies__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../post-taxonomies */ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-taxonomies/index.js");
|
/* harmony import */ var _post_taxonomies__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../post-taxonomies */ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-taxonomies/index.js");
|
||||||
/* harmony import */ var _featured_image__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../featured-image */ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/featured-image/index.js");
|
/* harmony import */ var _featured_image__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../featured-image */ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/featured-image/index.js");
|
||||||
/* harmony import */ var _post_excerpt__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../post-excerpt */ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-excerpt/index.js");
|
/* harmony import */ var _post_excerpt__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../post-excerpt */ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-excerpt/index.js");
|
||||||
/* harmony import */ var _discussion_panel__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../discussion-panel */ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/discussion-panel/index.js");
|
/* harmony import */ var _post_link__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../post-link */ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-link/index.js");
|
||||||
/* harmony import */ var _page_attributes__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../page-attributes */ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/page-attributes/index.js");
|
/* harmony import */ var _discussion_panel__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../discussion-panel */ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/discussion-panel/index.js");
|
||||||
/* harmony import */ var _meta_boxes__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../meta-boxes */ "./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/index.js");
|
/* harmony import */ var _page_attributes__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../page-attributes */ "./node_modules/@wordpress/edit-post/build-module/components/sidebar/page-attributes/index.js");
|
||||||
|
/* harmony import */ var _meta_boxes__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../meta-boxes */ "./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/index.js");
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -4688,6 +4888,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var SettingsSidebar = function SettingsSidebar(_ref) {
|
var SettingsSidebar = function SettingsSidebar(_ref) {
|
||||||
var sidebarName = _ref.sidebarName;
|
var sidebarName = _ref.sidebarName;
|
||||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(___WEBPACK_IMPORTED_MODULE_6__["default"], {
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(___WEBPACK_IMPORTED_MODULE_6__["default"], {
|
||||||
@ -4695,7 +4896,7 @@ var SettingsSidebar = function SettingsSidebar(_ref) {
|
|||||||
label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Editor settings')
|
label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Editor settings')
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_settings_header__WEBPACK_IMPORTED_MODULE_7__["default"], {
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_settings_header__WEBPACK_IMPORTED_MODULE_7__["default"], {
|
||||||
sidebarName: sidebarName
|
sidebarName: sidebarName
|
||||||
}), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Panel"], null, sidebarName === 'edit-post/document' && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_post_status__WEBPACK_IMPORTED_MODULE_8__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_last_revision__WEBPACK_IMPORTED_MODULE_9__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_post_taxonomies__WEBPACK_IMPORTED_MODULE_10__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_featured_image__WEBPACK_IMPORTED_MODULE_11__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_post_excerpt__WEBPACK_IMPORTED_MODULE_12__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_discussion_panel__WEBPACK_IMPORTED_MODULE_13__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_page_attributes__WEBPACK_IMPORTED_MODULE_14__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_meta_boxes__WEBPACK_IMPORTED_MODULE_15__["default"], {
|
}), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Panel"], null, sidebarName === 'edit-post/document' && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_post_status__WEBPACK_IMPORTED_MODULE_8__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_last_revision__WEBPACK_IMPORTED_MODULE_9__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_post_link__WEBPACK_IMPORTED_MODULE_13__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_post_taxonomies__WEBPACK_IMPORTED_MODULE_10__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_featured_image__WEBPACK_IMPORTED_MODULE_11__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_post_excerpt__WEBPACK_IMPORTED_MODULE_12__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_discussion_panel__WEBPACK_IMPORTED_MODULE_14__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_page_attributes__WEBPACK_IMPORTED_MODULE_15__["default"], null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_meta_boxes__WEBPACK_IMPORTED_MODULE_16__["default"], {
|
||||||
location: "side"
|
location: "side"
|
||||||
})), sidebarName === 'edit-post/block' && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["PanelBody"], {
|
})), sidebarName === 'edit-post/block' && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["PanelBody"], {
|
||||||
className: "edit-post-settings-sidebar__panel-block"
|
className: "edit-post-settings-sidebar__panel-block"
|
||||||
@ -5867,7 +6068,7 @@ function KeyboardShortcutsHelpMenuItem(_ref) {
|
|||||||
/*!*************************************************************************!*\
|
/*!*************************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/edit-post/build-module/store/actions.js ***!
|
!*** ./node_modules/@wordpress/edit-post/build-module/store/actions.js ***!
|
||||||
\*************************************************************************/
|
\*************************************************************************/
|
||||||
/*! exports provided: openGeneralSidebar, closeGeneralSidebar, openModal, closeModal, openPublishSidebar, closePublishSidebar, togglePublishSidebar, toggleEditorPanelEnabled, toggleEditorPanelOpened, toggleFeature, switchEditorMode, togglePinnedPluginItem, setAvailableMetaBoxesPerLocation, requestMetaBoxUpdates, metaBoxUpdatesSuccess */
|
/*! exports provided: openGeneralSidebar, closeGeneralSidebar, openModal, closeModal, openPublishSidebar, closePublishSidebar, togglePublishSidebar, toggleEditorPanelEnabled, toggleEditorPanelOpened, removeEditorPanel, toggleFeature, switchEditorMode, togglePinnedPluginItem, setAvailableMetaBoxesPerLocation, requestMetaBoxUpdates, metaBoxUpdatesSuccess */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -5881,6 +6082,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "togglePublishSidebar", function() { return togglePublishSidebar; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "togglePublishSidebar", function() { return togglePublishSidebar; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toggleEditorPanelEnabled", function() { return toggleEditorPanelEnabled; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toggleEditorPanelEnabled", function() { return toggleEditorPanelEnabled; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toggleEditorPanelOpened", function() { return toggleEditorPanelOpened; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toggleEditorPanelOpened", function() { return toggleEditorPanelOpened; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removeEditorPanel", function() { return removeEditorPanel; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toggleFeature", function() { return toggleFeature; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toggleFeature", function() { return toggleFeature; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "switchEditorMode", function() { return switchEditorMode; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "switchEditorMode", function() { return switchEditorMode; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "togglePinnedPluginItem", function() { return togglePinnedPluginItem; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "togglePinnedPluginItem", function() { return togglePinnedPluginItem; });
|
||||||
@ -5999,6 +6201,20 @@ function toggleEditorPanelOpened(panelName) {
|
|||||||
panelName: panelName
|
panelName: panelName
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Returns an action object used to remove a panel from the editor.
|
||||||
|
*
|
||||||
|
* @param {string} panelName A string that identifies the panel to remove.
|
||||||
|
*
|
||||||
|
* @return {Object} Action object.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function removeEditorPanel(panelName) {
|
||||||
|
return {
|
||||||
|
type: 'REMOVE_PANEL',
|
||||||
|
panelName: panelName
|
||||||
|
};
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Returns an action object used to toggle a feature flag.
|
* Returns an action object used to toggle a feature flag.
|
||||||
*
|
*
|
||||||
@ -6424,26 +6640,28 @@ function applyMiddlewares(store) {
|
|||||||
/*!*************************************************************************!*\
|
/*!*************************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/edit-post/build-module/store/reducer.js ***!
|
!*** ./node_modules/@wordpress/edit-post/build-module/store/reducer.js ***!
|
||||||
\*************************************************************************/
|
\*************************************************************************/
|
||||||
/*! exports provided: DEFAULT_ACTIVE_GENERAL_SIDEBAR, preferences, activeGeneralSidebar, panel, activeModal, publishSidebarActive, isSavingMetaBoxes, metaBoxLocations, default */
|
/*! exports provided: DEFAULT_ACTIVE_GENERAL_SIDEBAR, preferences, removedPanels, activeGeneralSidebar, activeModal, publishSidebarActive, isSavingMetaBoxes, metaBoxLocations, default */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DEFAULT_ACTIVE_GENERAL_SIDEBAR", function() { return DEFAULT_ACTIVE_GENERAL_SIDEBAR; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DEFAULT_ACTIVE_GENERAL_SIDEBAR", function() { return DEFAULT_ACTIVE_GENERAL_SIDEBAR; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "preferences", function() { return preferences; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "preferences", function() { return preferences; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removedPanels", function() { return removedPanels; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "activeGeneralSidebar", function() { return activeGeneralSidebar; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "activeGeneralSidebar", function() { return activeGeneralSidebar; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "panel", function() { return panel; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "activeModal", function() { return activeModal; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "activeModal", function() { return activeModal; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "publishSidebarActive", function() { return publishSidebarActive; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "publishSidebarActive", function() { return publishSidebarActive; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isSavingMetaBoxes", function() { return isSavingMetaBoxes; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isSavingMetaBoxes", function() { return isSavingMetaBoxes; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "metaBoxLocations", function() { return metaBoxLocations; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "metaBoxLocations", function() { return metaBoxLocations; });
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
|
||||||
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
|
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ "lodash");
|
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ "lodash");
|
||||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);
|
||||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__);
|
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
|
||||||
/* harmony import */ var _defaults__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults */ "./node_modules/@wordpress/edit-post/build-module/store/defaults.js");
|
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
|
||||||
|
/* harmony import */ var _defaults__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./defaults */ "./node_modules/@wordpress/edit-post/build-module/store/defaults.js");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -6488,7 +6706,7 @@ var DEFAULT_ACTIVE_GENERAL_SIDEBAR = 'edit-post/document';
|
|||||||
* @return {Object} Updated state.
|
* @return {Object} Updated state.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var preferences = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__["combineReducers"])({
|
var preferences = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["combineReducers"])({
|
||||||
isGeneralSidebarDismissed: function isGeneralSidebarDismissed() {
|
isGeneralSidebarDismissed: function isGeneralSidebarDismissed() {
|
||||||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
||||||
var action = arguments.length > 1 ? arguments[1] : undefined;
|
var action = arguments.length > 1 ? arguments[1] : undefined;
|
||||||
@ -6502,23 +6720,23 @@ var preferences = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__["combineRe
|
|||||||
return state;
|
return state;
|
||||||
},
|
},
|
||||||
panels: function panels() {
|
panels: function panels() {
|
||||||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _defaults__WEBPACK_IMPORTED_MODULE_4__["PREFERENCES_DEFAULTS"].panels;
|
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _defaults__WEBPACK_IMPORTED_MODULE_5__["PREFERENCES_DEFAULTS"].panels;
|
||||||
var action = arguments.length > 1 ? arguments[1] : undefined;
|
var action = arguments.length > 1 ? arguments[1] : undefined;
|
||||||
|
|
||||||
switch (action.type) {
|
switch (action.type) {
|
||||||
case 'TOGGLE_PANEL_ENABLED':
|
case 'TOGGLE_PANEL_ENABLED':
|
||||||
{
|
{
|
||||||
var panelName = action.panelName;
|
var panelName = action.panelName;
|
||||||
return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({}, state, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, panelName, Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({}, state[panelName], {
|
return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])({}, panelName, Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state[panelName], {
|
||||||
enabled: !Object(lodash__WEBPACK_IMPORTED_MODULE_2__["get"])(state, [panelName, 'enabled'], true)
|
enabled: !Object(lodash__WEBPACK_IMPORTED_MODULE_3__["get"])(state, [panelName, 'enabled'], true)
|
||||||
})));
|
})));
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'TOGGLE_PANEL_OPENED':
|
case 'TOGGLE_PANEL_OPENED':
|
||||||
{
|
{
|
||||||
var _panelName = action.panelName;
|
var _panelName = action.panelName;
|
||||||
var isOpen = state[_panelName] === true || Object(lodash__WEBPACK_IMPORTED_MODULE_2__["get"])(state, [_panelName, 'opened'], false);
|
var isOpen = state[_panelName] === true || Object(lodash__WEBPACK_IMPORTED_MODULE_3__["get"])(state, [_panelName, 'opened'], false);
|
||||||
return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({}, state, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _panelName, Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({}, state[_panelName], {
|
return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])({}, _panelName, Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state[_panelName], {
|
||||||
opened: !isOpen
|
opened: !isOpen
|
||||||
})));
|
})));
|
||||||
}
|
}
|
||||||
@ -6527,17 +6745,17 @@ var preferences = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__["combineRe
|
|||||||
return state;
|
return state;
|
||||||
},
|
},
|
||||||
features: function features() {
|
features: function features() {
|
||||||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _defaults__WEBPACK_IMPORTED_MODULE_4__["PREFERENCES_DEFAULTS"].features;
|
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _defaults__WEBPACK_IMPORTED_MODULE_5__["PREFERENCES_DEFAULTS"].features;
|
||||||
var action = arguments.length > 1 ? arguments[1] : undefined;
|
var action = arguments.length > 1 ? arguments[1] : undefined;
|
||||||
|
|
||||||
if (action.type === 'TOGGLE_FEATURE') {
|
if (action.type === 'TOGGLE_FEATURE') {
|
||||||
return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({}, state, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, action.feature, !state[action.feature]));
|
return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])({}, action.feature, !state[action.feature]));
|
||||||
}
|
}
|
||||||
|
|
||||||
return state;
|
return state;
|
||||||
},
|
},
|
||||||
editorMode: function editorMode() {
|
editorMode: function editorMode() {
|
||||||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _defaults__WEBPACK_IMPORTED_MODULE_4__["PREFERENCES_DEFAULTS"].editorMode;
|
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _defaults__WEBPACK_IMPORTED_MODULE_5__["PREFERENCES_DEFAULTS"].editorMode;
|
||||||
var action = arguments.length > 1 ? arguments[1] : undefined;
|
var action = arguments.length > 1 ? arguments[1] : undefined;
|
||||||
|
|
||||||
if (action.type === 'SWITCH_MODE') {
|
if (action.type === 'SWITCH_MODE') {
|
||||||
@ -6547,16 +6765,39 @@ var preferences = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__["combineRe
|
|||||||
return state;
|
return state;
|
||||||
},
|
},
|
||||||
pinnedPluginItems: function pinnedPluginItems() {
|
pinnedPluginItems: function pinnedPluginItems() {
|
||||||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _defaults__WEBPACK_IMPORTED_MODULE_4__["PREFERENCES_DEFAULTS"].pinnedPluginItems;
|
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _defaults__WEBPACK_IMPORTED_MODULE_5__["PREFERENCES_DEFAULTS"].pinnedPluginItems;
|
||||||
var action = arguments.length > 1 ? arguments[1] : undefined;
|
var action = arguments.length > 1 ? arguments[1] : undefined;
|
||||||
|
|
||||||
if (action.type === 'TOGGLE_PINNED_PLUGIN_ITEM') {
|
if (action.type === 'TOGGLE_PINNED_PLUGIN_ITEM') {
|
||||||
return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({}, state, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, action.pluginName, !Object(lodash__WEBPACK_IMPORTED_MODULE_2__["get"])(state, [action.pluginName], true)));
|
return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])({}, action.pluginName, !Object(lodash__WEBPACK_IMPORTED_MODULE_3__["get"])(state, [action.pluginName], true)));
|
||||||
}
|
}
|
||||||
|
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
/**
|
||||||
|
* Reducer storing the list of all programmatically removed panels.
|
||||||
|
*
|
||||||
|
* @param {Array} state Current state.
|
||||||
|
* @param {Object} action Action object.
|
||||||
|
*
|
||||||
|
* @return {Array} Updated state.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function removedPanels() {
|
||||||
|
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
||||||
|
var action = arguments.length > 1 ? arguments[1] : undefined;
|
||||||
|
|
||||||
|
switch (action.type) {
|
||||||
|
case 'REMOVE_PANEL':
|
||||||
|
if (!Object(lodash__WEBPACK_IMPORTED_MODULE_3__["includes"])(state, action.panelName)) {
|
||||||
|
return Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(state).concat([action.panelName]);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return state;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Reducer returning the next active general sidebar state. The active general
|
* Reducer returning the next active general sidebar state. The active general
|
||||||
* sidebar is a unique name to identify either an editor or plugin sidebar.
|
* sidebar is a unique name to identify either an editor or plugin sidebar.
|
||||||
@ -6578,17 +6819,6 @@ function activeGeneralSidebar() {
|
|||||||
|
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
function panel() {
|
|
||||||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'document';
|
|
||||||
var action = arguments.length > 1 ? arguments[1] : undefined;
|
|
||||||
|
|
||||||
switch (action.type) {
|
|
||||||
case 'SET_ACTIVE_PANEL':
|
|
||||||
return action.panel;
|
|
||||||
}
|
|
||||||
|
|
||||||
return state;
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
* Reducer for storing the name of the open modal, or null if no modal is open.
|
* Reducer for storing the name of the open modal, or null if no modal is open.
|
||||||
*
|
*
|
||||||
@ -6675,17 +6905,17 @@ function metaBoxLocations() {
|
|||||||
|
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
var metaBoxes = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__["combineReducers"])({
|
var metaBoxes = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["combineReducers"])({
|
||||||
isSaving: isSavingMetaBoxes,
|
isSaving: isSavingMetaBoxes,
|
||||||
locations: metaBoxLocations
|
locations: metaBoxLocations
|
||||||
});
|
});
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__["combineReducers"])({
|
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["combineReducers"])({
|
||||||
preferences: preferences,
|
|
||||||
activeGeneralSidebar: activeGeneralSidebar,
|
activeGeneralSidebar: activeGeneralSidebar,
|
||||||
panel: panel,
|
|
||||||
activeModal: activeModal,
|
activeModal: activeModal,
|
||||||
|
metaBoxes: metaBoxes,
|
||||||
|
preferences: preferences,
|
||||||
publishSidebarActive: publishSidebarActive,
|
publishSidebarActive: publishSidebarActive,
|
||||||
metaBoxes: metaBoxes
|
removedPanels: removedPanels
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
||||||
@ -6695,7 +6925,7 @@ var metaBoxes = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__["combineRedu
|
|||||||
/*!***************************************************************************!*\
|
/*!***************************************************************************!*\
|
||||||
!*** ./node_modules/@wordpress/edit-post/build-module/store/selectors.js ***!
|
!*** ./node_modules/@wordpress/edit-post/build-module/store/selectors.js ***!
|
||||||
\***************************************************************************/
|
\***************************************************************************/
|
||||||
/*! exports provided: getEditorMode, isEditorSidebarOpened, isPluginSidebarOpened, getActiveGeneralSidebarName, getPreferences, getPreference, isPublishSidebarOpened, isEditorPanelEnabled, isEditorPanelOpened, isModalActive, isFeatureActive, isPluginItemPinned, getActiveMetaBoxLocations, isMetaBoxLocationVisible, isMetaBoxLocationActive, getMetaBoxesPerLocation, getAllMetaBoxes, hasMetaBoxes, isSavingMetaBoxes */
|
/*! exports provided: getEditorMode, isEditorSidebarOpened, isPluginSidebarOpened, getActiveGeneralSidebarName, getPreferences, getPreference, isPublishSidebarOpened, isEditorPanelRemoved, isEditorPanelEnabled, isEditorPanelOpened, isModalActive, isFeatureActive, isPluginItemPinned, getActiveMetaBoxLocations, isMetaBoxLocationVisible, isMetaBoxLocationActive, getMetaBoxesPerLocation, getAllMetaBoxes, hasMetaBoxes, isSavingMetaBoxes */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -6707,6 +6937,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getPreferences", function() { return getPreferences; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getPreferences", function() { return getPreferences; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getPreference", function() { return getPreference; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getPreference", function() { return getPreference; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isPublishSidebarOpened", function() { return isPublishSidebarOpened; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isPublishSidebarOpened", function() { return isPublishSidebarOpened; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isEditorPanelRemoved", function() { return isEditorPanelRemoved; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isEditorPanelEnabled", function() { return isEditorPanelEnabled; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isEditorPanelEnabled", function() { return isEditorPanelEnabled; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isEditorPanelOpened", function() { return isEditorPanelOpened; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isEditorPanelOpened", function() { return isEditorPanelOpened; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isModalActive", function() { return isModalActive; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isModalActive", function() { return isModalActive; });
|
||||||
@ -6822,6 +7053,19 @@ function getPreference(state, preferenceKey, defaultValue) {
|
|||||||
function isPublishSidebarOpened(state) {
|
function isPublishSidebarOpened(state) {
|
||||||
return state.publishSidebarActive;
|
return state.publishSidebarActive;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Returns true if the given panel was programmatically removed, or false otherwise.
|
||||||
|
* All panels are not removed by default.
|
||||||
|
*
|
||||||
|
* @param {Object} state Global application state.
|
||||||
|
* @param {string} panelName A string that identifies the panel.
|
||||||
|
*
|
||||||
|
* @return {boolean} Whether or not the panel is removed.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function isEditorPanelRemoved(state, panelName) {
|
||||||
|
return Object(lodash__WEBPACK_IMPORTED_MODULE_1__["includes"])(state.removedPanels, panelName);
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Returns true if the given panel is enabled, or false otherwise. Panels are
|
* Returns true if the given panel is enabled, or false otherwise. Panels are
|
||||||
* enabled by default.
|
* enabled by default.
|
||||||
@ -6834,7 +7078,7 @@ function isPublishSidebarOpened(state) {
|
|||||||
|
|
||||||
function isEditorPanelEnabled(state, panelName) {
|
function isEditorPanelEnabled(state, panelName) {
|
||||||
var panels = getPreference(state, 'panels');
|
var panels = getPreference(state, 'panels');
|
||||||
return Object(lodash__WEBPACK_IMPORTED_MODULE_1__["get"])(panels, [panelName, 'enabled'], true);
|
return !isEditorPanelRemoved(state, panelName) && Object(lodash__WEBPACK_IMPORTED_MODULE_1__["get"])(panels, [panelName, 'enabled'], true);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Returns true if the given panel is open, or false otherwise. Panels are
|
* Returns true if the given panel is open, or false otherwise. Panels are
|
||||||
|
2
wp-includes/js/dist/edit-post.js.map
vendored
2
wp-includes/js/dist/edit-post.js.map
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/edit-post.min.js
vendored
4
wp-includes/js/dist/edit-post.min.js
vendored
File diff suppressed because one or more lines are too long
1924
wp-includes/js/dist/editor.js
vendored
1924
wp-includes/js/dist/editor.js
vendored
File diff suppressed because it is too large
Load Diff
2
wp-includes/js/dist/editor.js.map
vendored
2
wp-includes/js/dist/editor.js.map
vendored
File diff suppressed because one or more lines are too long
8
wp-includes/js/dist/editor.min.js
vendored
8
wp-includes/js/dist/editor.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/element.js.map
vendored
2
wp-includes/js/dist/element.js.map
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/element.min.js
vendored
2
wp-includes/js/dist/element.min.js
vendored
File diff suppressed because one or more lines are too long
38
wp-includes/js/dist/format-library.js
vendored
38
wp-includes/js/dist/format-library.js
vendored
@ -548,7 +548,7 @@ var image = {
|
|||||||
var _this$props = this.props,
|
var _this$props = this.props,
|
||||||
value = _this$props.value,
|
value = _this$props.value,
|
||||||
onChange = _this$props.onChange;
|
onChange = _this$props.onChange;
|
||||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_editor__WEBPACK_IMPORTED_MODULE_10__["RichTextInserterItem"], {
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_editor__WEBPACK_IMPORTED_MODULE_10__["MediaUploadCheck"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_editor__WEBPACK_IMPORTED_MODULE_10__["RichTextInserterItem"], {
|
||||||
name: name,
|
name: name,
|
||||||
icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__["SVG"], {
|
icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_7__["SVG"], {
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
@ -1010,23 +1010,37 @@ var LinkEditor = function LinkEditor(_ref2) {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
var LinkViewer = function LinkViewer(_ref3) {
|
var LinkViewerUrl = function LinkViewerUrl(_ref3) {
|
||||||
var url = _ref3.url,
|
var url = _ref3.url;
|
||||||
editLink = _ref3.editLink;
|
|
||||||
var prependedURL = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_11__["prependHTTP"])(url);
|
var prependedURL = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_11__["prependHTTP"])(url);
|
||||||
var linkClassName = classnames__WEBPACK_IMPORTED_MODULE_7___default()('editor-format-toolbar__link-container-value', {
|
var linkClassName = classnames__WEBPACK_IMPORTED_MODULE_7___default()('editor-format-toolbar__link-container-value', {
|
||||||
'has-invalid-link': !Object(_utils__WEBPACK_IMPORTED_MODULE_15__["isValidHref"])(prependedURL)
|
'has-invalid-link': !Object(_utils__WEBPACK_IMPORTED_MODULE_15__["isValidHref"])(prependedURL)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (!url) {
|
||||||
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("span", {
|
||||||
|
className: linkClassName
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__["ExternalLink"], {
|
||||||
|
className: linkClassName,
|
||||||
|
href: url
|
||||||
|
}, Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_11__["filterURLForDisplay"])(Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_11__["safeDecodeURI"])(url)));
|
||||||
|
};
|
||||||
|
|
||||||
|
var LinkViewer = function LinkViewer(_ref4) {
|
||||||
|
var url = _ref4.url,
|
||||||
|
editLink = _ref4.editLink;
|
||||||
return (// Disable reason: KeyPress must be suppressed so the block doesn't hide the toolbar
|
return (// Disable reason: KeyPress must be suppressed so the block doesn't hide the toolbar
|
||||||
|
|
||||||
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
||||||
Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", {
|
Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", {
|
||||||
className: "editor-format-toolbar__link-container-content",
|
className: "editor-format-toolbar__link-container-content",
|
||||||
onKeyPress: stopKeyPropagation
|
onKeyPress: stopKeyPropagation
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__["ExternalLink"], {
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(LinkViewerUrl, {
|
||||||
className: linkClassName,
|
url: url
|
||||||
href: url
|
}), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__["IconButton"], {
|
||||||
}, Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_11__["filterURLForDisplay"])(Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_11__["safeDecodeURI"])(url))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__["IconButton"], {
|
|
||||||
icon: "edit",
|
icon: "edit",
|
||||||
label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__["__"])('Edit'),
|
label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__["__"])('Edit'),
|
||||||
onClick: editLink
|
onClick: editLink
|
||||||
@ -1055,7 +1069,10 @@ function (_Component) {
|
|||||||
_this.onClickOutside = _this.onClickOutside.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
|
_this.onClickOutside = _this.onClickOutside.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
|
||||||
_this.resetState = _this.resetState.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
|
_this.resetState = _this.resetState.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
|
||||||
_this.autocompleteRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createRef"])();
|
_this.autocompleteRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createRef"])();
|
||||||
_this.state = {};
|
_this.state = {
|
||||||
|
opensInNewWindow: false,
|
||||||
|
inputValue: ''
|
||||||
|
};
|
||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1083,7 +1100,8 @@ function (_Component) {
|
|||||||
key: "setLinkTarget",
|
key: "setLinkTarget",
|
||||||
value: function setLinkTarget(opensInNewWindow) {
|
value: function setLinkTarget(opensInNewWindow) {
|
||||||
var _this$props = this.props,
|
var _this$props = this.props,
|
||||||
url = _this$props.activeAttributes.url,
|
_this$props$activeAtt = _this$props.activeAttributes.url,
|
||||||
|
url = _this$props$activeAtt === void 0 ? '' : _this$props$activeAtt,
|
||||||
value = _this$props.value,
|
value = _this$props.value,
|
||||||
onChange = _this$props.onChange;
|
onChange = _this$props.onChange;
|
||||||
this.setState({
|
this.setState({
|
||||||
|
2
wp-includes/js/dist/format-library.js.map
vendored
2
wp-includes/js/dist/format-library.js.map
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/format-library.min.js
vendored
4
wp-includes/js/dist/format-library.min.js
vendored
File diff suppressed because one or more lines are too long
1856
wp-includes/js/dist/i18n.js
vendored
1856
wp-includes/js/dist/i18n.js
vendored
File diff suppressed because it is too large
Load Diff
2
wp-includes/js/dist/i18n.js.map
vendored
2
wp-includes/js/dist/i18n.js.map
vendored
File diff suppressed because one or more lines are too long
6
wp-includes/js/dist/i18n.min.js
vendored
6
wp-includes/js/dist/i18n.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/is-shallow-equal.min.js
vendored
2
wp-includes/js/dist/is-shallow-equal.min.js
vendored
@ -1 +1 @@
|
|||||||
this.wp=this.wp||{},this.wp.isShallowEqual=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},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,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=277)}({277:function(t,r,e){"use strict";var n=e(278),u=e(279),o=Array.isArray;t.exports=function(t,r){if(t&&r){if(t.constructor===Object&&r.constructor===Object)return n(t,r);if(o(t)&&o(r))return u(t,r)}return t===r}},278:function(t,r,e){"use strict";var n=Object.keys;t.exports=function(t,r){var e,u,o,i;if(t===r)return!0;if(e=n(t),u=n(r),e.length!==u.length)return!1;for(o=0;o<e.length;){if(t[i=e[o]]!==r[i])return!1;o++}return!0}},279:function(t,r,e){"use strict";t.exports=function(t,r){var e;if(t===r)return!0;if(t.length!==r.length)return!1;for(e=0;e<t.length;e++)if(t[e]!==r[e])return!1;return!0}}});
|
this.wp=this.wp||{},this.wp.isShallowEqual=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},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,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=276)}({276:function(t,r,e){"use strict";var n=e(277),u=e(278),o=Array.isArray;t.exports=function(t,r){if(t&&r){if(t.constructor===Object&&r.constructor===Object)return n(t,r);if(o(t)&&o(r))return u(t,r)}return t===r}},277:function(t,r,e){"use strict";var n=Object.keys;t.exports=function(t,r){var e,u,o,i;if(t===r)return!0;if(e=n(t),u=n(r),e.length!==u.length)return!1;for(o=0;o<e.length;){if(t[i=e[o]]!==r[i])return!1;o++}return!0}},278:function(t,r,e){"use strict";t.exports=function(t,r){var e;if(t===r)return!0;if(t.length!==r.length)return!1;for(e=0;e<t.length;e++)if(t[e]!==r[e])return!1;return!0}}});
|
2
wp-includes/js/dist/keycodes.min.js
vendored
2
wp-includes/js/dist/keycodes.min.js
vendored
@ -1 +1 @@
|
|||||||
this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var u in t)r.d(e,u,function(n){return t[n]}.bind(null,u));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=325)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},15:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,"a",function(){return e})},19:function(t,n,r){"use strict";var e=r(33);function u(t){return function(t){if(Array.isArray(t)){for(var n=0,r=new Array(t.length);n<t.length;n++)r[n]=t[n];return r}}(t)||Object(e.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(n,"a",function(){return u})},2:function(t,n){!function(){t.exports=this.lodash}()},325:function(t,n,r){"use strict";r.r(n);var e=r(15),u=r(19),c=r(2),o=r(1);function i(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(c.includes)(["iPad","iPhone"],t)}r.d(n,"BACKSPACE",function(){return a}),r.d(n,"TAB",function(){return f}),r.d(n,"ENTER",function(){return l}),r.d(n,"ESCAPE",function(){return d}),r.d(n,"SPACE",function(){return b}),r.d(n,"LEFT",function(){return s}),r.d(n,"UP",function(){return j}),r.d(n,"RIGHT",function(){return O}),r.d(n,"DOWN",function(){return p}),r.d(n,"DELETE",function(){return y}),r.d(n,"F10",function(){return v}),r.d(n,"ALT",function(){return h}),r.d(n,"CTRL",function(){return m}),r.d(n,"COMMAND",function(){return g}),r.d(n,"SHIFT",function(){return S}),r.d(n,"rawShortcut",function(){return w}),r.d(n,"displayShortcutList",function(){return C}),r.d(n,"displayShortcut",function(){return P}),r.d(n,"shortcutAriaLabel",function(){return E}),r.d(n,"isKeyboardEvent",function(){return _});var a=8,f=9,l=13,d=27,b=32,s=37,j=38,O=39,p=40,y=46,v=121,h="alt",m="ctrl",g="meta",S="shift",A={primary:function(t){return t()?[g]:[m]},primaryShift:function(t){return t()?[S,g]:[m,S]},primaryAlt:function(t){return t()?[h,g]:[m,h]},secondary:function(t){return t()?[S,h,g]:[m,S,h]},access:function(t){return t()?[m,h]:[S,h]},ctrl:function(){return[m]},alt:function(){return[h]},ctrlShift:function(){return[m,S]},shift:function(){return[S]},shiftAlt:function(){return[S,h]}},w=Object(c.mapValues)(A,function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return Object(u.a)(t(r)).concat([n.toLowerCase()]).join("+")}}),C=Object(c.mapValues)(A,function(t){return function(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=o(),f=(r={},Object(e.a)(r,h,a?"⌥":"Alt"),Object(e.a)(r,m,a?"^":"Ctrl"),Object(e.a)(r,g,"⌘"),Object(e.a)(r,S,a?"⇧":"Shift"),r),l=t(o).reduce(function(t,n){var r=Object(c.get)(f,n,n);return a?Object(u.a)(t).concat([r]):Object(u.a)(t).concat([r,"+"])},[]),d=Object(c.capitalize)(n);return Object(u.a)(l).concat([d])}}),P=Object(c.mapValues)(C,function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t(n,r).join("")}}),E=Object(c.mapValues)(A,function(t){return function(n){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,f=a(),l=(r={},Object(e.a)(r,S,"Shift"),Object(e.a)(r,g,f?"Command":"Control"),Object(e.a)(r,m,"Control"),Object(e.a)(r,h,f?"Option":"Alt"),Object(e.a)(r,",",Object(o.__)("Comma")),Object(e.a)(r,".",Object(o.__)("Period")),Object(e.a)(r,"`",Object(o.__)("Backtick")),r);return Object(u.a)(t(a)).concat([n]).map(function(t){return Object(c.capitalize)(Object(c.get)(l,t,t))}).join(f?" ":" + ")}}),_=Object(c.mapValues)(A,function(t){return function(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u=t(e);return!!u.every(function(t){return n["".concat(t,"Key")]})&&(r?n.key===r:Object(c.includes)(u,n.key.toLowerCase()))}})},33:function(t,n,r){"use strict";function e(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(n,"a",function(){return e})}});
|
this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var u in t)r.d(e,u,function(n){return t[n]}.bind(null,u));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=325)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},15:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,"a",function(){return e})},19:function(t,n,r){"use strict";var e=r(32);function u(t){return function(t){if(Array.isArray(t)){for(var n=0,r=new Array(t.length);n<t.length;n++)r[n]=t[n];return r}}(t)||Object(e.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(n,"a",function(){return u})},2:function(t,n){!function(){t.exports=this.lodash}()},32:function(t,n,r){"use strict";function e(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(n,"a",function(){return e})},325:function(t,n,r){"use strict";r.r(n);var e=r(15),u=r(19),c=r(2),o=r(1);function i(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(c.includes)(["iPad","iPhone"],t)}r.d(n,"BACKSPACE",function(){return a}),r.d(n,"TAB",function(){return f}),r.d(n,"ENTER",function(){return l}),r.d(n,"ESCAPE",function(){return d}),r.d(n,"SPACE",function(){return b}),r.d(n,"LEFT",function(){return s}),r.d(n,"UP",function(){return j}),r.d(n,"RIGHT",function(){return O}),r.d(n,"DOWN",function(){return p}),r.d(n,"DELETE",function(){return y}),r.d(n,"F10",function(){return v}),r.d(n,"ALT",function(){return h}),r.d(n,"CTRL",function(){return m}),r.d(n,"COMMAND",function(){return g}),r.d(n,"SHIFT",function(){return S}),r.d(n,"rawShortcut",function(){return w}),r.d(n,"displayShortcutList",function(){return C}),r.d(n,"displayShortcut",function(){return P}),r.d(n,"shortcutAriaLabel",function(){return E}),r.d(n,"isKeyboardEvent",function(){return _});var a=8,f=9,l=13,d=27,b=32,s=37,j=38,O=39,p=40,y=46,v=121,h="alt",m="ctrl",g="meta",S="shift",A={primary:function(t){return t()?[g]:[m]},primaryShift:function(t){return t()?[S,g]:[m,S]},primaryAlt:function(t){return t()?[h,g]:[m,h]},secondary:function(t){return t()?[S,h,g]:[m,S,h]},access:function(t){return t()?[m,h]:[S,h]},ctrl:function(){return[m]},alt:function(){return[h]},ctrlShift:function(){return[m,S]},shift:function(){return[S]},shiftAlt:function(){return[S,h]}},w=Object(c.mapValues)(A,function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return Object(u.a)(t(r)).concat([n.toLowerCase()]).join("+")}}),C=Object(c.mapValues)(A,function(t){return function(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=o(),f=(r={},Object(e.a)(r,h,a?"⌥":"Alt"),Object(e.a)(r,m,a?"^":"Ctrl"),Object(e.a)(r,g,"⌘"),Object(e.a)(r,S,a?"⇧":"Shift"),r),l=t(o).reduce(function(t,n){var r=Object(c.get)(f,n,n);return a?Object(u.a)(t).concat([r]):Object(u.a)(t).concat([r,"+"])},[]),d=Object(c.capitalize)(n);return Object(u.a)(l).concat([d])}}),P=Object(c.mapValues)(C,function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t(n,r).join("")}}),E=Object(c.mapValues)(A,function(t){return function(n){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,f=a(),l=(r={},Object(e.a)(r,S,"Shift"),Object(e.a)(r,g,f?"Command":"Control"),Object(e.a)(r,m,"Control"),Object(e.a)(r,h,f?"Option":"Alt"),Object(e.a)(r,",",Object(o.__)("Comma")),Object(e.a)(r,".",Object(o.__)("Period")),Object(e.a)(r,"`",Object(o.__)("Backtick")),r);return Object(u.a)(t(a)).concat([n]).map(function(t){return Object(c.capitalize)(Object(c.get)(l,t,t))}).join(f?" ":" + ")}}),_=Object(c.mapValues)(A,function(t){return function(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u=t(e);return!!u.every(function(t){return n["".concat(t,"Key")]})&&(r?n.key===r:Object(c.includes)(u,n.key.toLowerCase()))}})}});
|
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/notices.js.map
vendored
2
wp-includes/js/dist/notices.js.map
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/notices.min.js
vendored
2
wp-includes/js/dist/notices.min.js
vendored
File diff suppressed because one or more lines are too long
31
wp-includes/js/dist/nux.js
vendored
31
wp-includes/js/dist/nux.js
vendored
@ -335,8 +335,6 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);
|
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);
|
||||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
|
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
|
||||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
|
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
|
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_5__);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -347,7 +345,6 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function getAnchorRect(anchor) {
|
function getAnchorRect(anchor) {
|
||||||
// The default getAnchorRect() excludes an element's top and bottom padding
|
// The default getAnchorRect() excludes an element's top and bottom padding
|
||||||
// from its calculation. We want tips to point to the outer margin of an
|
// from its calculation. We want tips to point to the outer margin of an
|
||||||
@ -392,17 +389,7 @@ function DotTip(_ref) {
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__["compose"])(Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withSelect"])(function (select, _ref2) {
|
/* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__["compose"])(Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withSelect"])(function (select, _ref2) {
|
||||||
var tipId = _ref2.tipId,
|
var tipId = _ref2.tipId;
|
||||||
id = _ref2.id;
|
|
||||||
|
|
||||||
if (id) {
|
|
||||||
tipId = id;
|
|
||||||
_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_5___default()('The id prop of wp.nux.DotTip', {
|
|
||||||
plugin: 'Gutenberg',
|
|
||||||
version: '4.4',
|
|
||||||
alternative: 'the tipId prop'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
var _select = select('core/nux'),
|
var _select = select('core/nux'),
|
||||||
isTipVisible = _select.isTipVisible,
|
isTipVisible = _select.isTipVisible,
|
||||||
@ -414,8 +401,7 @@ function DotTip(_ref) {
|
|||||||
hasNextTip: !!(associatedGuide && associatedGuide.nextTipId)
|
hasNextTip: !!(associatedGuide && associatedGuide.nextTipId)
|
||||||
};
|
};
|
||||||
}), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withDispatch"])(function (dispatch, _ref3) {
|
}), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withDispatch"])(function (dispatch, _ref3) {
|
||||||
var tipId = _ref3.tipId,
|
var tipId = _ref3.tipId;
|
||||||
id = _ref3.id;
|
|
||||||
|
|
||||||
var _dispatch = dispatch('core/nux'),
|
var _dispatch = dispatch('core/nux'),
|
||||||
dismissTip = _dispatch.dismissTip,
|
dismissTip = _dispatch.dismissTip,
|
||||||
@ -423,7 +409,7 @@ function DotTip(_ref) {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
onDismiss: function onDismiss() {
|
onDismiss: function onDismiss() {
|
||||||
dismissTip(tipId || id);
|
dismissTip(tipId);
|
||||||
},
|
},
|
||||||
onDisable: function onDisable() {
|
onDisable: function onDisable() {
|
||||||
disableTips();
|
disableTips();
|
||||||
@ -1115,17 +1101,6 @@ function isShallowEqual( a, b, fromIndex ) {
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ "@wordpress/deprecated":
|
|
||||||
/*!*********************************************!*\
|
|
||||||
!*** external {"this":["wp","deprecated"]} ***!
|
|
||||||
\*********************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["deprecated"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "@wordpress/element":
|
/***/ "@wordpress/element":
|
||||||
/*!******************************************!*\
|
/*!******************************************!*\
|
||||||
!*** external {"this":["wp","element"]} ***!
|
!*** external {"this":["wp","element"]} ***!
|
||||||
|
2
wp-includes/js/dist/nux.js.map
vendored
2
wp-includes/js/dist/nux.js.map
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/nux.min.js
vendored
2
wp-includes/js/dist/nux.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/plugins.js.map
vendored
2
wp-includes/js/dist/plugins.js.map
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/plugins.min.js
vendored
2
wp-includes/js/dist/plugins.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/redux-routine.min.js
vendored
2
wp-includes/js/dist/redux-routine.min.js
vendored
File diff suppressed because one or more lines are too long
36
wp-includes/js/dist/rich-text.js
vendored
36
wp-includes/js/dist/rich-text.js
vendored
@ -1410,10 +1410,11 @@ function insertLineSeparator(value) {
|
|||||||
var endIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : value.end;
|
var endIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : value.end;
|
||||||
var beforeText = Object(_get_text_content__WEBPACK_IMPORTED_MODULE_0__["getTextContent"])(value).slice(0, startIndex);
|
var beforeText = Object(_get_text_content__WEBPACK_IMPORTED_MODULE_0__["getTextContent"])(value).slice(0, startIndex);
|
||||||
var previousLineSeparatorIndex = beforeText.lastIndexOf(_special_characters__WEBPACK_IMPORTED_MODULE_2__["LINE_SEPARATOR"]);
|
var previousLineSeparatorIndex = beforeText.lastIndexOf(_special_characters__WEBPACK_IMPORTED_MODULE_2__["LINE_SEPARATOR"]);
|
||||||
|
var previousLineSeparatorFormats = value.formats[previousLineSeparatorIndex];
|
||||||
var formats = [,];
|
var formats = [,];
|
||||||
|
|
||||||
if (previousLineSeparatorIndex !== -1) {
|
if (previousLineSeparatorFormats) {
|
||||||
formats = [value.formats[previousLineSeparatorIndex]];
|
formats = [previousLineSeparatorFormats];
|
||||||
}
|
}
|
||||||
|
|
||||||
var valueToInsert = {
|
var valueToInsert = {
|
||||||
@ -2846,14 +2847,11 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toHTMLString", function() { return toHTMLString; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toHTMLString", function() { return toHTMLString; });
|
||||||
/* harmony import */ var _wordpress_escape_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/escape-html */ "@wordpress/escape-html");
|
/* harmony import */ var _wordpress_escape_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/escape-html */ "@wordpress/escape-html");
|
||||||
/* harmony import */ var _wordpress_escape_html__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_escape_html__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
|
/* harmony import */ var _to_tree__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./to-tree */ "./node_modules/@wordpress/rich-text/build-module/to-tree.js");
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
/* harmony import */ var _to_tree__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./to-tree */ "./node_modules/@wordpress/rich-text/build-module/to-tree.js");
|
|
||||||
/**
|
/**
|
||||||
* Internal dependencies
|
* Internal dependencies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal dependencies
|
* Internal dependencies
|
||||||
*/
|
*/
|
||||||
@ -2876,20 +2874,7 @@ function toHTMLString(_ref) {
|
|||||||
var value = _ref.value,
|
var value = _ref.value,
|
||||||
multilineTag = _ref.multilineTag,
|
multilineTag = _ref.multilineTag,
|
||||||
multilineWrapperTags = _ref.multilineWrapperTags;
|
multilineWrapperTags = _ref.multilineWrapperTags;
|
||||||
|
var tree = Object(_to_tree__WEBPACK_IMPORTED_MODULE_1__["toTree"])({
|
||||||
// Check other arguments for backward compatibility.
|
|
||||||
if (value === undefined) {
|
|
||||||
_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1___default()('wp.richText.toHTMLString positional parameters', {
|
|
||||||
version: '4.4',
|
|
||||||
alternative: 'named parameters',
|
|
||||||
plugin: 'Gutenberg'
|
|
||||||
});
|
|
||||||
value = arguments[0];
|
|
||||||
multilineTag = arguments[1];
|
|
||||||
multilineWrapperTags = arguments[2];
|
|
||||||
}
|
|
||||||
|
|
||||||
var tree = Object(_to_tree__WEBPACK_IMPORTED_MODULE_2__["toTree"])({
|
|
||||||
value: value,
|
value: value,
|
||||||
multilineTag: multilineTag,
|
multilineTag: multilineTag,
|
||||||
multilineWrapperTags: multilineWrapperTags,
|
multilineWrapperTags: multilineWrapperTags,
|
||||||
@ -3609,17 +3594,6 @@ function isShallowEqual( a, b, fromIndex ) {
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ "@wordpress/deprecated":
|
|
||||||
/*!*********************************************!*\
|
|
||||||
!*** external {"this":["wp","deprecated"]} ***!
|
|
||||||
\*********************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = this["wp"]["deprecated"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "@wordpress/element":
|
/***/ "@wordpress/element":
|
||||||
/*!******************************************!*\
|
/*!******************************************!*\
|
||||||
!*** external {"this":["wp","element"]} ***!
|
!*** external {"this":["wp","element"]} ***!
|
||||||
|
2
wp-includes/js/dist/rich-text.js.map
vendored
2
wp-includes/js/dist/rich-text.js.map
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/rich-text.min.js
vendored
2
wp-includes/js/dist/rich-text.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/shortcode.min.js
vendored
2
wp-includes/js/dist/shortcode.min.js
vendored
@ -1 +1 @@
|
|||||||
this.wp=this.wp||{},this.wp.shortcode=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=298)}({2:function(t,e){!function(){t.exports=this.lodash}()},298:function(t,e,n){"use strict";n.r(e),n.d(e,"next",function(){return u}),n.d(e,"replace",function(){return o}),n.d(e,"string",function(){return c}),n.d(e,"regexp",function(){return s}),n.d(e,"attrs",function(){return a}),n.d(e,"fromMatch",function(){return f});var r=n(2),i=n(51);function u(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=s(t);r.lastIndex=n;var i=r.exec(e);if(i){if("["===i[1]&&"]"===i[7])return u(t,e,r.lastIndex);var o={index:i.index,content:i[0],shortcode:f(i)};return i[1]&&(o.content=o.content.slice(1),o.index++),i[7]&&(o.content=o.content.slice(0,-1)),o}}function o(t,e,n){var r=arguments;return e.replace(s(t),function(t,e,i,u,o,c,s,a){if("["===e&&"]"===a)return t;var l=n(f(r));return l?e+l+a:t})}function c(t){return new l(t).string()}function s(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var a=n.n(i)()(function(t){var e,n={},r=[],i=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g," ");e=i.exec(t);)e[1]?n[e[1].toLowerCase()]=e[2]:e[3]?n[e[3].toLowerCase()]=e[4]:e[5]?n[e[5].toLowerCase()]=e[6]:e[7]?r.push(e[7]):e[8]?r.push(e[8]):e[9]&&r.push(e[9]);return{named:n,numeric:r}});function f(t){var e;return e=t[4]?"self-closing":t[6]?"closed":"single",new l({tag:t[2],attrs:t[3],type:e,content:t[5]})}var l=Object(r.extend)(function(t){var e=this;Object(r.extend)(this,Object(r.pick)(t||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(r.isString)(n)?this.attrs=a(n):Object(r.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(r.forEach)(n,function(t,n){e.set(n,t)}))},{next:u,replace:o,string:c,regexp:s,attrs:a,fromMatch:f});Object(r.extend)(l.prototype,{get:function(t){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]},set:function(t,e){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]=e,this},string:function(){var t="["+this.tag;return Object(r.forEach)(this.attrs.numeric,function(e){/\s/.test(e)?t+=' "'+e+'"':t+=" "+e}),Object(r.forEach)(this.attrs.named,function(e,n){t+=" "+n+'="'+e+'"'}),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}}),e.default=l},51:function(t,e,n){t.exports=function(t,e){var n,r,i,u=0;function o(){var e,o,c=r,s=arguments.length;t:for(;c;){if(c.args.length===arguments.length){for(o=0;o<s;o++)if(c.args[o]!==arguments[o]){c=c.next;continue t}return c!==r&&(c===i&&(i=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=r,c.prev=null,r.prev=c,r=c),c.val}c=c.next}for(e=new Array(s),o=0;o<s;o++)e[o]=arguments[o];return c={args:e,val:t.apply(null,e)},r?(r.prev=c,c.next=r):i=c,u===n?(i=i.prev).next=null:u++,r=c,c.val}return e&&e.maxSize&&(n=e.maxSize),o.clear=function(){r=null,i=null,u=0},o}}});
|
this.wp=this.wp||{},this.wp.shortcode=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=297)}({2:function(t,e){!function(){t.exports=this.lodash}()},297:function(t,e,n){"use strict";n.r(e),n.d(e,"next",function(){return u}),n.d(e,"replace",function(){return o}),n.d(e,"string",function(){return c}),n.d(e,"regexp",function(){return s}),n.d(e,"attrs",function(){return a}),n.d(e,"fromMatch",function(){return f});var r=n(2),i=n(53);function u(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=s(t);r.lastIndex=n;var i=r.exec(e);if(i){if("["===i[1]&&"]"===i[7])return u(t,e,r.lastIndex);var o={index:i.index,content:i[0],shortcode:f(i)};return i[1]&&(o.content=o.content.slice(1),o.index++),i[7]&&(o.content=o.content.slice(0,-1)),o}}function o(t,e,n){var r=arguments;return e.replace(s(t),function(t,e,i,u,o,c,s,a){if("["===e&&"]"===a)return t;var l=n(f(r));return l?e+l+a:t})}function c(t){return new l(t).string()}function s(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var a=n.n(i)()(function(t){var e,n={},r=[],i=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g," ");e=i.exec(t);)e[1]?n[e[1].toLowerCase()]=e[2]:e[3]?n[e[3].toLowerCase()]=e[4]:e[5]?n[e[5].toLowerCase()]=e[6]:e[7]?r.push(e[7]):e[8]?r.push(e[8]):e[9]&&r.push(e[9]);return{named:n,numeric:r}});function f(t){var e;return e=t[4]?"self-closing":t[6]?"closed":"single",new l({tag:t[2],attrs:t[3],type:e,content:t[5]})}var l=Object(r.extend)(function(t){var e=this;Object(r.extend)(this,Object(r.pick)(t||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(r.isString)(n)?this.attrs=a(n):Object(r.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(r.forEach)(n,function(t,n){e.set(n,t)}))},{next:u,replace:o,string:c,regexp:s,attrs:a,fromMatch:f});Object(r.extend)(l.prototype,{get:function(t){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]},set:function(t,e){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]=e,this},string:function(){var t="["+this.tag;return Object(r.forEach)(this.attrs.numeric,function(e){/\s/.test(e)?t+=' "'+e+'"':t+=" "+e}),Object(r.forEach)(this.attrs.named,function(e,n){t+=" "+n+'="'+e+'"'}),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}}),e.default=l},53:function(t,e,n){t.exports=function(t,e){var n,r,i,u=0;function o(){var e,o,c=r,s=arguments.length;t:for(;c;){if(c.args.length===arguments.length){for(o=0;o<s;o++)if(c.args[o]!==arguments[o]){c=c.next;continue t}return c!==r&&(c===i&&(i=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=r,c.prev=null,r.prev=c,r=c),c.val}c=c.next}for(e=new Array(s),o=0;o<s;o++)e[o]=arguments[o];return c={args:e,val:t.apply(null,e)},r?(r.prev=c,c.next=r):i=c,u===n?(i=i.prev).next=null:u++,r=c,c.val}return e&&e.maxSize&&(n=e.maxSize),o.clear=function(){r=null,i=null,u=0},o}}});
|
2
wp-includes/js/dist/token-list.min.js
vendored
2
wp-includes/js/dist/token-list.min.js
vendored
@ -1 +1 @@
|
|||||||
this.wp=this.wp||{},this.wp.tokenList=function(t){var e={};function n(r){if(e[r])return e[r].exports;var u=e[r]={i:r,l:!1,exports:{}};return t[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var u in t)n.d(r,u,function(e){return t[e]}.bind(null,u));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=299)}({10:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",function(){return r})},2:function(t,e){!function(){t.exports=this.lodash}()},299:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return o});var r=n(10),u=n(9),i=n(2),o=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(r.a)(this,t),this.value=n,["entries","forEach","keys","values"].forEach(function(t){e[t]=function(){var e;return(e=this._valueAsArray)[t].apply(e,arguments)}.bind(e)})}return Object(u.a)(t,[{key:"item",value:function(t){return this._valueAsArray[t]}},{key:"contains",value:function(t){return-1!==this._valueAsArray.indexOf(t)}},{key:"add",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.value+=" "+e.join(" ")}},{key:"remove",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.value=i.without.apply(void 0,[this._valueAsArray].concat(e)).join(" ")}},{key:"toggle",value:function(t,e){return void 0===e&&(e=!this.contains(t)),e?this.add(t):this.remove(t),e}},{key:"replace",value:function(t,e){return!!this.contains(t)&&(this.remove(t),this.add(e),!0)}},{key:"supports",value:function(){return!0}},{key:"value",get:function(){return this._currentValue},set:function(t){t=String(t),this._valueAsArray=Object(i.uniq)(Object(i.compact)(t.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}},{key:"length",get:function(){return this._valueAsArray.length}}]),t}()},9:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",function(){return u})}});
|
this.wp=this.wp||{},this.wp.tokenList=function(t){var e={};function n(r){if(e[r])return e[r].exports;var u=e[r]={i:r,l:!1,exports:{}};return t[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var u in t)n.d(r,u,function(e){return t[e]}.bind(null,u));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=298)}({10:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",function(){return r})},2:function(t,e){!function(){t.exports=this.lodash}()},298:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return o});var r=n(10),u=n(9),i=n(2),o=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(r.a)(this,t),this.value=n,["entries","forEach","keys","values"].forEach(function(t){e[t]=function(){var e;return(e=this._valueAsArray)[t].apply(e,arguments)}.bind(e)})}return Object(u.a)(t,[{key:"item",value:function(t){return this._valueAsArray[t]}},{key:"contains",value:function(t){return-1!==this._valueAsArray.indexOf(t)}},{key:"add",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.value+=" "+e.join(" ")}},{key:"remove",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.value=i.without.apply(void 0,[this._valueAsArray].concat(e)).join(" ")}},{key:"toggle",value:function(t,e){return void 0===e&&(e=!this.contains(t)),e?this.add(t):this.remove(t),e}},{key:"replace",value:function(t,e){return!!this.contains(t)&&(this.remove(t),this.add(e),!0)}},{key:"supports",value:function(){return!0}},{key:"value",get:function(){return this._currentValue},set:function(t){t=String(t),this._valueAsArray=Object(i.uniq)(Object(i.compact)(t.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}},{key:"length",get:function(){return this._valueAsArray.length}}]),t}()},9:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",function(){return u})}});
|
2
wp-includes/js/dist/url.min.js
vendored
2
wp-includes/js/dist/url.min.js
vendored
File diff suppressed because one or more lines are too long
1884
wp-includes/js/dist/vendor/react-dom.js
vendored
1884
wp-includes/js/dist/vendor/react-dom.js
vendored
File diff suppressed because it is too large
Load Diff
387
wp-includes/js/dist/vendor/react-dom.min.js
vendored
387
wp-includes/js/dist/vendor/react-dom.min.js
vendored
@ -1,4 +1,4 @@
|
|||||||
/** @license React v16.6.0
|
/** @license React v16.6.1
|
||||||
* react-dom.production.min.js
|
* react-dom.production.min.js
|
||||||
*
|
*
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
@ -9,197 +9,196 @@
|
|||||||
/*
|
/*
|
||||||
Modernizr 3.0.0pre (Custom Build) | MIT
|
Modernizr 3.0.0pre (Custom Build) | MIT
|
||||||
*/
|
*/
|
||||||
'use strict';(function(fa,Ja){"object"===typeof exports&&"undefined"!==typeof module?module.exports=Ja(require("react")):"function"===typeof define&&define.amd?define(["react"],Ja):fa.ReactDOM=Ja(fa.React)})(this,function(fa){function Ja(a,b,c,d,e,f,g,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var k=[c,d,e,f,g,h],l=0;a=Error(b.replace(/%s/g,function(){return k[l++]}));
|
'use strict';(function(Y,cb){"object"===typeof exports&&"undefined"!==typeof module?module.exports=cb(require("react")):"function"===typeof define&&define.amd?define(["react"],cb):Y.ReactDOM=cb(Y.React)})(this,function(Y){function cb(a,b,c,d,e,f,g,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var k=[c,d,e,f,g,h],l=0;a=Error(b.replace(/%s/g,function(){return k[l++]}));a.name=
|
||||||
a.name="Invariant Violation"}a.framesToPop=1;throw a;}}function n(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);Ja(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}function Dg(a,b,c,d,e,f,g,h,k){Ra=!1;Ib=null;Eg.apply(Fg,arguments)}function Gg(a,b,c,d,e,f,g,h,k){Dg.apply(this,arguments);
|
"Invariant Violation"}a.framesToPop=1;throw a;}}function p(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);cb(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}function Eg(a,b,c,d,e,f,g,h,k){db=!1;Ib=null;Fg.apply(Gg,arguments)}function Hg(a,b,c,d,e,f,g,h,k){Eg.apply(this,arguments);if(db){if(db){var l=
|
||||||
if(Ra){if(Ra){var l=Ib;Ra=!1;Ib=null}else n("198"),l=void 0;Jb||(Jb=!0,Fc=l)}}function $d(){if(Kb)for(var a in Sa){var b=Sa[a],c=Kb.indexOf(a);-1<c?void 0:n("96",a);if(!Lb[c]){b.extractEvents?void 0:n("97",a);Lb[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;Gc.hasOwnProperty(h)?n("99",h):void 0;Gc[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&ae(k[e],g,h);e=!0}else f.registrationName?(ae(f.registrationName,g,h),e=!0):e=!1;e?void 0:n("98",d,a)}}}}
|
Ib;db=!1;Ib=null}else p("198"),l=void 0;Jb||(Jb=!0,Ec=l)}}function Zd(){if(Kb)for(var a in Da){var b=Da[a],c=Kb.indexOf(a);-1<c?void 0:p("96",a);if(!Lb[c]){b.extractEvents?void 0:p("97",a);Lb[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;Fc.hasOwnProperty(h)?p("99",h):void 0;Fc[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&$d(k[e],g,h);e=!0}else f.registrationName?($d(f.registrationName,g,h),e=!0):e=!1;e?void 0:p("98",d,a)}}}}function $d(a,b,c){Ea[a]?
|
||||||
function ae(a,b,c){Ta[a]?n("100",a):void 0;Ta[a]=b;Hc[a]=b.eventTypes[c].dependencies}function be(a,b,c,d){b=a.type||"unknown-event";a.currentTarget=ce(d);Gg(b,c,void 0,a);a.currentTarget=null}function Ka(a,b){null==b?n("30"):void 0;if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function Mb(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function de(a,b){var c=a.stateNode;if(!c)return null;
|
p("100",a):void 0;Ea[a]=b;Gc[a]=b.eventTypes[c].dependencies}function ae(a,b,c){var d=a.type||"unknown-event";a.currentTarget=be(c);Hg(d,b,void 0,a);a.currentTarget=null}function Fa(a,b){null==b?p("30"):void 0;if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function Hc(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function ce(a,b){var c=a.stateNode;if(!c)return null;var d=Ic(c);if(!d)return null;
|
||||||
var d=Ic(c);if(!d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;c&&"function"!==typeof c?n("231",b,typeof c):void 0;return c}function Jc(a,b){null!==a&&(fb=Ka(fb,a));a=
|
c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;c&&"function"!==typeof c?p("231",b,typeof c):void 0;return c}function Jc(a){null!==a&&(eb=Fa(eb,a));a=eb;eb=null;if(a&&(Hc(a,Ig),eb?p("95"):
|
||||||
fb;fb=null;if(a&&(b?Mb(a,Hg):Mb(a,Ig),fb?n("95"):void 0,Jb))throw b=Fc,Jb=!1,Fc=null,b;}function Nb(a){if(a[V])return a[V];for(;!a[V];)if(a.parentNode)a=a.parentNode;else return null;a=a[V];return 5===a.tag||6===a.tag?a:null}function ee(a){a=a[V];return!a||5!==a.tag&&6!==a.tag?null:a}function W(a){if(5===a.tag||6===a.tag)return a.stateNode;n("33")}function Kc(a){return a[Ob]||null}function ha(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function fe(a,b,c){if(b=de(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=
|
void 0,Jb))throw a=Ec,Jb=!1,Ec=null,a;}function Mb(a){if(a[Z])return a[Z];for(;!a[Z];)if(a.parentNode)a=a.parentNode;else return null;a=a[Z];return 5===a.tag||6===a.tag?a:null}function de(a){a=a[Z];return!a||5!==a.tag&&6!==a.tag?null:a}function ua(a){if(5===a.tag||6===a.tag)return a.stateNode;p("33")}function Kc(a){return a[Nb]||null}function aa(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function ee(a,b,c){if(b=ce(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=Fa(c._dispatchListeners,
|
||||||
Ka(c._dispatchListeners,b),c._dispatchInstances=Ka(c._dispatchInstances,a)}function Jg(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=ha(b);for(b=c.length;0<b--;)fe(c[b],"captured",a);for(b=0;b<c.length;b++)fe(c[b],"bubbled",a)}}function Lc(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=de(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=Ka(c._dispatchListeners,b),c._dispatchInstances=Ka(c._dispatchInstances,a))}function Kg(a){a&&a.dispatchConfig.registrationName&&
|
b),c._dispatchInstances=Fa(c._dispatchInstances,a)}function Jg(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=aa(b);for(b=c.length;0<b--;)ee(c[b],"captured",a);for(b=0;b<c.length;b++)ee(c[b],"bubbled",a)}}function Lc(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=ce(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=Fa(c._dispatchListeners,b),c._dispatchInstances=Fa(c._dispatchInstances,a))}function Kg(a){a&&a.dispatchConfig.registrationName&&
|
||||||
Lc(a._targetInst,null,a)}function La(a){Mb(a,Jg)}function Pb(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}function Qb(a){if(Mc[a])return Mc[a];if(!xa[a])return a;var b=xa[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in ge)return Mc[a]=b[c];return a}function he(){if(Rb)return Rb;var a,b=Nc,c=b.length,d,e="value"in ia?ia.value:ia.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Rb=e.slice(a,
|
Lc(a._targetInst,null,a)}function Ga(a){Hc(a,Jg)}function Ob(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}function Pb(a){if(Mc[a])return Mc[a];if(!Ha[a])return a;var b=Ha[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in fe)return Mc[a]=b[c];return a}function ge(){if(Qb)return Qb;var a,b=Nc,c=b.length,d,e="value"in ia?ia.value:ia.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Qb=e.slice(a,
|
||||||
1<d?1-d:void 0)}function Sb(){return!0}function Tb(){return!1}function D(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?Sb:Tb;this.isPropagationStopped=Tb;return this}function Lg(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);
|
1<d?1-d:void 0)}function Rb(){return!0}function Sb(){return!1}function J(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?Rb:Sb;this.isPropagationStopped=Sb;return this}function Lg(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);
|
||||||
return e}return new this(a,b,c,d)}function Mg(a){a instanceof this?void 0:n("279");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function ie(a){a.eventPool=[];a.getPooled=Lg;a.release=Mg}function je(a,b){switch(a){case "keyup":return-1!==Ng.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function ke(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}function Og(a,b){switch(a){case "compositionend":return ke(b);
|
return e}return new this(a,b,c,d)}function Mg(a){a instanceof this?void 0:p("279");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function he(a){a.eventPool=[];a.getPooled=Lg;a.release=Mg}function ie(a,b){switch(a){case "keyup":return-1!==Ng.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function je(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}function Og(a,b){switch(a){case "compositionend":return je(b);
|
||||||
case "keypress":if(32!==b.which)return null;le=!0;return me;case "textInput":return a=b.data,a===me&&le?null:a;default:return null}}function Pg(a,b){if(Ua)return"compositionend"===a||!Oc&&je(a,b)?(a=he(),Rb=Nc=ia=null,Ua=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return ne&&"ko"!==b.locale?null:b.data;
|
case "keypress":if(32!==b.which)return null;ke=!0;return le;case "textInput":return a=b.data,a===le&&ke?null:a;default:return null}}function Pg(a,b){if(Ia)return"compositionend"===a||!Oc&&ie(a,b)?(a=ge(),Qb=Nc=ia=null,Ia=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return me&&"ko"!==b.locale?null:b.data;
|
||||||
default:return null}}function oe(a){if(a=pe(a)){"function"!==typeof Pc?n("280"):void 0;var b=Ic(a.stateNode);Pc(a.stateNode,a.type,b)}}function qe(a){Ma?ja?ja.push(a):ja=[a]:Ma=a}function re(){if(Ma){var a=Ma,b=ja;ja=Ma=null;oe(a);if(b)for(a=0;a<b.length;a++)oe(b[a])}}function se(a,b){if(Qc)return a(b);Qc=!0;try{return te(a,b)}finally{if(Qc=!1,null!==Ma||null!==ja)ue(),re()}}function ve(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!Qg[a.type]:"textarea"===b?!0:!1}function Rc(a){a=
|
default:return null}}function ne(a){if(a=oe(a)){"function"!==typeof Pc?p("280"):void 0;var b=Ic(a.stateNode);Pc(a.stateNode,a.type,b)}}function pe(a){Ja?Ka?Ka.push(a):Ka=[a]:Ja=a}function qe(){if(Ja){var a=Ja,b=Ka;Ka=Ja=null;ne(a);if(b)for(a=0;a<b.length;a++)ne(b[a])}}function re(a,b){if(Qc)return a(b);Qc=!0;try{return se(a,b)}finally{if(Qc=!1,null!==Ja||null!==Ka)te(),qe()}}function ue(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!Qg[a.type]:"textarea"===b?!0:!1}function Rc(a){a=
|
||||||
a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function we(a){if(!ka)return!1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}function xe(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}function Rg(a){var b=xe(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=
|
a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function ve(a){if(!ja)return!1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}function we(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}function Rg(a){var b=we(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=
|
||||||
""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}}function Ub(a){a._valueTracker||(a._valueTracker=Rg(a))}function ye(a){if(!a)return!1;
|
""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}}function Tb(a){a._valueTracker||(a._valueTracker=Rg(a))}function xe(a){if(!a)return!1;
|
||||||
var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=xe(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function gb(a){if(null===a||"object"!==typeof a)return null;a=ze&&a[ze]||a["@@iterator"];return"function"===typeof a?a:null}function sa(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Sc:return"ConcurrentMode";case ta:return"Fragment";case Va:return"Portal";case Vb:return"Profiler";
|
var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=we(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function fb(a){if(null===a||"object"!==typeof a)return null;a=ye&&a[ye]||a["@@iterator"];return"function"===typeof a?a:null}function ka(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Sc:return"ConcurrentMode";case la:return"Fragment";case La:return"Portal";case Ub:return"Profiler";
|
||||||
case Tc:return"StrictMode";case Uc:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case Ae:return"Context.Consumer";case Be:return"Context.Provider";case Vc:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case Wc:return sa(a.type);case Ce:if(a=1===a._status?a._result:null)return sa(a)}return null}function De(a){var b="";do{a:switch(a.tag){case 2:case 16:case 0:case 1:case 5:case 8:var c=a._debugOwner,d=a._debugSource,e=sa(a.type);
|
case Tc:return"StrictMode";case Uc:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case ze:return"Context.Consumer";case Ae:return"Context.Provider";case Vc:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case Wc:return ka(a.type);case Be:if(a=1===a._status?a._result:null)return ka(a)}return null}function Xc(a){var b="";do{a:switch(a.tag){case 2:case 16:case 0:case 1:case 5:case 8:case 13:var c=a._debugOwner,d=a._debugSource,e=
|
||||||
var f=null;c&&(f=sa(c.type));c=e;e="";d?e=" (at "+d.fileName.replace(Sg,"")+":"+d.lineNumber+")":f&&(e=" (created by "+f+")");f="\n in "+(c||"Unknown")+e;break a;default:f=""}b+=f;a=a.return}while(a);return b}function Tg(a){if(Ee.call(Fe,a))return!0;if(Ee.call(Ge,a))return!1;if(Ug.test(a))return Fe[a]=!0;Ge[a]=!0;return!1}function Vg(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;
|
ka(a.type);var f=null;c&&(f=ka(c.type));c=e;e="";d?e=" (at "+d.fileName.replace(Sg,"")+":"+d.lineNumber+")":f&&(e=" (created by "+f+")");f="\n in "+(c||"Unknown")+e;break a;default:f=""}b+=f;a=a.return}while(a);return b}function Tg(a){if(Ce.call(De,a))return!0;if(Ce.call(Ee,a))return!1;if(Ug.test(a))return De[a]=!0;Ee[a]=!0;return!1}function Vg(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;
|
||||||
a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function Wg(a,b,c,d){if(null===b||"undefined"===typeof b||Vg(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function G(a,b,c,d,e){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b}function Xc(a,b,c,d){var e=x.hasOwnProperty(b)?
|
a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function Wg(a,b,c,d){if(null===b||"undefined"===typeof b||Vg(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function K(a,b,c,d,e){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b}function Yc(a,b,c,d){var e=x.hasOwnProperty(b)?
|
||||||
x[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(Wg(b,c,e,d)&&(c=null),d||null===e?Tg(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}function S(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;
|
x[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(Wg(b,c,e,d)&&(c=null),d||null===e?Tg(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}function ma(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;
|
||||||
default:return""}}function Yc(a,b){var c=b.checked;return E({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function He(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=S(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function Ie(a,b){b=b.checked;null!=b&&Xc(a,"checked",b,!1)}function Zc(a,
|
default:return""}}function Zc(a,b){var c=b.checked;return y({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Fe(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=ma(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function Ge(a,b){b=b.checked;null!=b&&Yc(a,"checked",b,!1)}function $c(a,
|
||||||
b){Ie(a,b);var c=S(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?$c(a,b.type,c):b.hasOwnProperty("defaultValue")&&$c(a,b.type,S(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function Je(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;if(!("submit"!==
|
b){Ge(a,b);var c=ma(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?ad(a,b.type,c):b.hasOwnProperty("defaultValue")&&ad(a,b.type,ma(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function He(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;
|
||||||
d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;""!==c&&(a.name="");a.defaultChecked=!a.defaultChecked;a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c)}function $c(a,b,c){if("number"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c)}function Ke(a,b,c){a=D.getPooled(Le.change,a,b,c);a.type="change";
|
if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;""!==c&&(a.name="");a.defaultChecked=!a.defaultChecked;a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c)}function ad(a,b,c){if("number"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c)}function Ie(a,b,c){a=J.getPooled(Je.change,a,b,
|
||||||
qe(c);La(a);return a}function Xg(a){Jc(a,!1)}function Wb(a){var b=W(a);if(ye(b))return a}function Yg(a,b){if("change"===a)return b}function Me(){hb&&(hb.detachEvent("onpropertychange",Ne),ib=hb=null)}function Ne(a){"value"===a.propertyName&&Wb(ib)&&(a=Ke(ib,a,Rc(a)),se(Xg,a))}function Zg(a,b,c){"focus"===a?(Me(),hb=b,ib=c,hb.attachEvent("onpropertychange",Ne)):"blur"===a&&Me()}function $g(a,b){if("selectionchange"===a||"keyup"===a||"keydown"===a)return Wb(ib)}function ah(a,b){if("click"===a)return Wb(b)}
|
c);a.type="change";pe(c);Ga(a);return a}function Xg(a){Jc(a)}function Vb(a){var b=ua(a);if(xe(b))return a}function Yg(a,b){if("change"===a)return b}function Ke(){gb&&(gb.detachEvent("onpropertychange",Le),hb=gb=null)}function Le(a){"value"===a.propertyName&&Vb(hb)&&(a=Ie(hb,a,Rc(a)),re(Xg,a))}function Zg(a,b,c){"focus"===a?(Ke(),gb=b,hb=c,gb.attachEvent("onpropertychange",Le)):"blur"===a&&Ke()}function $g(a,b){if("selectionchange"===a||"keyup"===a||"keydown"===a)return Vb(hb)}function ah(a,b){if("click"===
|
||||||
function bh(a,b){if("input"===a||"change"===a)return Wb(b)}function ch(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=dh[a])?!!b[a]:!1}function ad(a){return ch}function Oe(a,b){return a===b?0!==a||0!==b||1/a===1/b:a!==a&&b!==b}function jb(a,b){if(Oe(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!eh.call(b,c[d])||!Oe(a[c[d]],b[c[d]]))return!1;
|
a)return Vb(b)}function bh(a,b){if("input"===a||"change"===a)return Vb(b)}function ch(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=dh[a])?!!b[a]:!1}function bd(a){return ch}function Me(a,b){return a===b?0!==a||0!==b||1/a===1/b:a!==a&&b!==b}function ib(a,b){if(Me(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!eh.call(b,c[d])||!Me(a[c[d]],
|
||||||
return!0}function kb(a){var b=a;if(a.alternate)for(;b.return;)b=b.return;else{if(0!==(b.effectTag&2))return 1;for(;b.return;)if(b=b.return,0!==(b.effectTag&2))return 1}return 3===b.tag?2:3}function Pe(a){2!==kb(a)?n("188"):void 0}function fh(a){var b=a.alternate;if(!b)return b=kb(a),3===b?n("188"):void 0,1===b?null:a;for(var c=a,d=b;;){var e=c.return,f=e?e.alternate:null;if(!e||!f)break;if(e.child===f.child){for(var g=e.child;g;){if(g===c)return Pe(e),a;if(g===d)return Pe(e),b;g=g.sibling}n("188")}if(c.return!==
|
b[c[d]]))return!1;return!0}function jb(a){var b=a;if(a.alternate)for(;b.return;)b=b.return;else{if(0!==(b.effectTag&2))return 1;for(;b.return;)if(b=b.return,0!==(b.effectTag&2))return 1}return 3===b.tag?2:3}function Ne(a){2!==jb(a)?p("188"):void 0}function fh(a){var b=a.alternate;if(!b)return b=jb(a),3===b?p("188"):void 0,1===b?null:a;for(var c=a,d=b;;){var e=c.return,f=e?e.alternate:null;if(!e||!f)break;if(e.child===f.child){for(var g=e.child;g;){if(g===c)return Ne(e),a;if(g===d)return Ne(e),b;g=
|
||||||
d.return)c=e,d=f;else{g=!1;for(var h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}g?void 0:n("189")}}c.alternate!==d?n("190"):void 0}3!==c.tag?n("188"):void 0;return c.stateNode.current===c?a:b}function Qe(a){a=fh(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||
|
g.sibling}p("188")}if(c.return!==d.return)c=e,d=f;else{g=!1;for(var h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}g?void 0:p("189")}}c.alternate!==d?p("190"):void 0}3!==c.tag?p("188"):void 0;return c.stateNode.current===c?a:b}function Oe(a){a=fh(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;
|
||||||
b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}function Xb(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function Re(a,b){var c=a[0];a=a[1];var d="on"+(a[0].toUpperCase()+a.slice(1));b={phasedRegistrationNames:{bubbled:d,captured:d+"Capture"},dependencies:[c],isInteractive:b};Se[a]=b;bd[c]=b}function gh(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d;for(d=c;d.return;)d=
|
for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}function Wb(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function Pe(a,b){var c=a[0];a=a[1];var d="on"+(a[0].toUpperCase()+a.slice(1));b={phasedRegistrationNames:{bubbled:d,captured:d+"Capture"},dependencies:[c],isInteractive:b};Qe[a]=b;cd[c]=b}function gh(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);
|
||||||
d.return;d=3!==d.tag?null:d.stateNode.containerInfo;if(!d)break;a.ancestors.push(c);c=Nb(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=Rc(a.nativeEvent);d=a.topLevelType;for(var f=a.nativeEvent,g=null,h=0;h<Lb.length;h++){var k=Lb[h];k&&(k=k.extractEvents(d,b,f,e))&&(g=Ka(g,k))}Jc(g,!1)}}function r(a,b){if(!b)return null;var c=(Te(a)?Ue:Yb).bind(null,a);b.addEventListener(a,c,!1)}function Zb(a,b){if(!b)return null;var c=(Te(a)?Ue:Yb).bind(null,a);b.addEventListener(a,c,!0)}
|
break}var d;for(d=c;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo;if(!d)break;a.ancestors.push(c);c=Mb(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=Rc(a.nativeEvent);d=a.topLevelType;for(var f=a.nativeEvent,g=null,h=0;h<Lb.length;h++){var k=Lb[h];k&&(k=k.extractEvents(d,b,f,e))&&(g=Fa(g,k))}Jc(g)}}function v(a,b){if(!b)return null;var c=(Re(a)?Se:Xb).bind(null,a);b.addEventListener(a,c,!1)}function Yb(a,b){if(!b)return null;var c=(Re(a)?Se:Xb).bind(null,a);
|
||||||
function Ue(a,b){Ve(Yb,a,b)}function Yb(a,b){if($b){var c=Rc(b);c=Nb(c);null===c||"number"!==typeof c.tag||2===kb(c)||(c=null);if(ac.length){var d=ac.pop();d.topLevelType=a;d.nativeEvent=b;d.targetInst=c;a=d}else a={topLevelType:a,nativeEvent:b,targetInst:c,ancestors:[]};try{se(gh,a)}finally{a.topLevelType=null,a.nativeEvent=null,a.targetInst=null,a.ancestors.length=0,10>ac.length&&ac.push(a)}}}function We(a){Object.prototype.hasOwnProperty.call(a,bc)||(a[bc]=hh++,Xe[a[bc]]={});return Xe[a[bc]]}function cd(a){a=
|
b.addEventListener(a,c,!0)}function Se(a,b){Te(Xb,a,b)}function Xb(a,b){if(Zb){var c=Rc(b);c=Mb(c);null===c||"number"!==typeof c.tag||2===jb(c)||(c=null);if($b.length){var d=$b.pop();d.topLevelType=a;d.nativeEvent=b;d.targetInst=c;a=d}else a={topLevelType:a,nativeEvent:b,targetInst:c,ancestors:[]};try{re(gh,a)}finally{a.topLevelType=null,a.nativeEvent=null,a.targetInst=null,a.ancestors.length=0,10>$b.length&&$b.push(a)}}}function Ue(a){Object.prototype.hasOwnProperty.call(a,ac)||(a[ac]=hh++,Ve[a[ac]]=
|
||||||
a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function Ye(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Ze(a,b){var c=Ye(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Ye(c)}}function $e(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?
|
{});return Ve[a[ac]]}function dd(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function We(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Xe(a,b){var c=We(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=We(c)}}function Ye(a,b){return a&&b?a===
|
||||||
$e(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function af(){for(var a=window,b=cd();b instanceof a.HTMLIFrameElement;){try{a=b.contentDocument.defaultView}catch(c){break}b=cd(a.document)}return b}function dd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}function bf(a,b){var c=
|
b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Ye(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function Ze(){for(var a=window,b=dd();b instanceof a.HTMLIFrameElement;){try{a=b.contentDocument.defaultView}catch(c){break}b=dd(a.document)}return b}function ed(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||
|
||||||
b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(ed||null==ya||ya!==cd(c))return null;c=ya;"selectionStart"in c&&dd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return lb&&jb(lb,c)?null:(lb=c,a=D.getPooled(cf.select,fd,a,b),a.type="select",a.target=ya,La(a),a)}function ih(a){var b="";fa.Children.forEach(a,function(a){null!=
|
"true"===a.contentEditable)}function $e(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(fd||null==Ma||Ma!==dd(c))return null;c=Ma;"selectionStart"in c&&ed(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return kb&&ib(kb,c)?null:(kb=c,a=J.getPooled(af.select,gd,a,b),a.type="select",a.target=Ma,Ga(a),
|
||||||
a&&(b+=a)});return b}function gd(a,b){a=E({children:void 0},b);if(b=ih(b.children))a.children=b;return a}function za(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+S(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}function hd(a,
|
a)}function ih(a){var b="";Y.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function hd(a,b){a=y({children:void 0},b);if(b=ih(b.children))a.children=b;return a}function Na(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+ma(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==
|
||||||
b){null!=b.dangerouslySetInnerHTML?n("91"):void 0;return E({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function df(a,b){var c=b.value;null==c&&(c=b.defaultValue,b=b.children,null!=b&&(null!=c?n("92"):void 0,Array.isArray(b)&&(1>=b.length?void 0:n("93"),b=b[0]),c=b),null==c&&(c=""));a._wrapperState={initialValue:S(c)}}function ef(a,b){var c=S(b.value),d=S(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=
|
b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}function id(a,b){null!=b.dangerouslySetInnerHTML?p("91"):void 0;return y({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function bf(a,b){var c=b.value;null==c&&(c=b.defaultValue,b=b.children,null!=b&&(null!=c?p("92"):void 0,Array.isArray(b)&&(1>=b.length?void 0:p("93"),b=b[0]),c=b),null==c&&(c=""));a._wrapperState={initialValue:ma(c)}}function cf(a,b){var c=ma(b.value),d=ma(b.defaultValue);null!=c&&(c=""+c,c!==
|
||||||
c));null!=d&&(a.defaultValue=""+d)}function ff(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function id(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?ff(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}function gf(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--");var e=c;var f=b[c];e=null==f||"boolean"===
|
a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function df(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function jd(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?df(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}function ef(a,b,c){return null==b||"boolean"===typeof b||
|
||||||
typeof f||""===f?"":d||"number"!==typeof f||0===f||mb.hasOwnProperty(e)&&mb[e]?(""+f).trim():f+"px";"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}function jd(a,b){b&&(jh[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML?n("137",a,""):void 0),null!=b.dangerouslySetInnerHTML&&(null!=b.children?n("60"):void 0,"object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML?void 0:n("61")),null!=b.style&&"object"!==typeof b.style?n("62",""):void 0)}function kd(a,b){if(-1===
|
""===b?"":c||"number"!==typeof b||0===b||lb.hasOwnProperty(a)&&lb[a]?(""+b).trim():b+"px"}function ff(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--"),e=ef(c,b[c],d);"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}function kd(a,b){b&&(jh[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML?p("137",a,""):void 0),null!=b.dangerouslySetInnerHTML&&(null!=b.children?p("60"):void 0,"object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML?
|
||||||
a.indexOf("-"))return"string"===typeof b.is;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}}function T(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=We(a);b=Hc[b];for(var d=0;d<b.length;d++){var e=b[d];if(!c.hasOwnProperty(e)||!c[e]){switch(e){case "scroll":Zb("scroll",a);break;case "focus":case "blur":Zb("focus",a);Zb("blur",
|
void 0:p("61")),null!=b.style&&"object"!==typeof b.style?p("62",""):void 0)}function ld(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}}function ba(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=Ue(a);b=Gc[b];for(var d=0;d<b.length;d++){var e=b[d];if(!c.hasOwnProperty(e)||
|
||||||
a);c.blur=!0;c.focus=!0;break;case "cancel":case "close":we(e)&&Zb(e,a);break;case "invalid":case "submit":case "reset":break;default:-1===nb.indexOf(e)&&r(e,a)}c[e]=!0}}}function cc(){}function hf(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}function ld(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&
|
!c[e]){switch(e){case "scroll":Yb("scroll",a);break;case "focus":case "blur":Yb("focus",a);Yb("blur",a);c.blur=!0;c.focus=!0;break;case "cancel":case "close":ve(e)&&Yb(e,a);break;case "invalid":case "submit":case "reset":break;default:-1===mb.indexOf(e)&&v(e,a)}c[e]=!0}}}function bc(){}function gf(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}function md(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===
|
||||||
null!=b.dangerouslySetInnerHTML.__html}function md(a){for(a=a.nextSibling;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}function jf(a){for(a=a.firstChild;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}function F(a,b){0>Na||(a.current=nd[Na],nd[Na]=null,Na--)}function L(a,b,c){Na++;nd[Na]=a.current;a.current=b}function Wa(a,b){var c=a.type.contextTypes;if(!c)return X;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;
|
typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}function nd(a){for(a=a.nextSibling;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}function hf(a){for(a=a.firstChild;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}function L(a,b){0>Oa||(a.current=od[Oa],od[Oa]=null,Oa--)}function O(a,b,c){Oa++;od[Oa]=a.current;a.current=b}function Pa(a,b){var c=a.type.contextTypes;if(!c)return na;var d=
|
||||||
var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function M(a){a=a.childContextTypes;return null!==a&&void 0!==a}function dc(a){F(N,a);F(O,a)}function od(a){F(N,a);F(O,a)}function kf(a,b,c){O.current!==X?n("168"):void 0;L(O,b,a);L(N,c,a)}function lf(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)e in a?void 0:
|
a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function E(a){a=a.childContextTypes;return null!==a&&void 0!==a}function cc(a){L(I,a);L(F,a)}function pd(a){L(I,a);L(F,a)}function jf(a,b,c){F.current!==na?p("168"):void 0;O(F,b,a);O(I,c,a)}function kf(a,b,c){var d=a.stateNode;a=
|
||||||
n("108",sa(b)||"Unknown",e);return E({},c,d)}function ec(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||X;la=O.current;L(O,b,a);L(N,N.current,a);return!0}function mf(a,b,c){var d=a.stateNode;d?void 0:n("169");c?(b=lf(a,b,la),d.__reactInternalMemoizedMergedChildContext=b,F(N,a),F(O,a),L(O,b,a)):F(N,a);L(N,c,a)}function nf(a){return function(b){try{return a(b)}catch(c){}}}function kh(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)e in a?void 0:p("108",ka(b)||"Unknown",e);return y({},c,d)}function dc(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||na;va=F.current;O(F,b,a);O(I,I.current,a);return!0}function lf(a,b,c){var d=a.stateNode;d?void 0:p("169");c?(b=kf(a,b,va),d.__reactInternalMemoizedMergedChildContext=b,L(I,a),L(F,a),O(F,b,a)):L(I,a);O(I,c,a)}function mf(a){return function(b){try{return a(b)}catch(c){}}}
|
||||||
if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);pd=nf(function(a){return b.onCommitFiberRoot(c,a)});qd=nf(function(a){return b.onCommitFiberUnmount(c,a)})}catch(d){}return!0}function lh(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=
|
function kh(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);qd=mf(function(a){return b.onCommitFiberRoot(c,a)});rd=mf(function(a){return b.onCommitFiberUnmount(c,a)})}catch(d){}return!0}function lh(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.firstContextDependency=
|
||||||
this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function rd(a){a=a.prototype;return!(!a||!a.isReactComponent)}function mh(a){if("function"===typeof a)return rd(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Vc)return 11;if(a===Wc)return 14}return 2}function Aa(a,b,c){c=a.alternate;null===c?(c=ma(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=
|
this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function sd(a){a=a.prototype;return!(!a||!a.isReactComponent)}function mh(a){if("function"===typeof a)return sd(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Vc)return 11;if(a===Wc)return 14}return 2}function wa(a,b,c){c=a.alternate;null===c?(c=R(a.tag,b,a.key,a.mode),c.elementType=a.elementType,
|
||||||
null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;c.firstContextDependency=a.firstContextDependency;c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}function fc(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)rd(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case ta:return Ba(c.children,e,f,b);case Sc:return of(c,
|
c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;c.firstContextDependency=a.firstContextDependency;c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}function ec(a,b,c,d,e,f){var g=2;d=a;if("function"===
|
||||||
e|3,f,b);case Tc:return of(c,e|2,f,b);case Vb:return a=ma(12,c,b,e|4),a.elementType=Vb,a.type=Vb,a.expirationTime=f,a;case Uc:return a=ma(13,c,b,e),b=Uc,a.elementType=b,a.type=b,a.expirationTime=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case Be:g=10;break a;case Ae:g=9;break a;case Vc:g=11;break a;case Wc:g=14;break a;case Ce:g=16;d=null;break a}n("130",null==a?a:typeof a,"")}b=ma(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function Ba(a,b,c,d){a=ma(7,a,d,b);
|
typeof a)sd(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case la:return oa(c.children,e,f,b);case Sc:return nf(c,e|3,f,b);case Tc:return nf(c,e|2,f,b);case Ub:return a=R(12,c,b,e|4),a.elementType=Ub,a.type=Ub,a.expirationTime=f,a;case Uc:return a=R(13,c,b,e),b=Uc,a.elementType=b,a.type=b,a.expirationTime=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case Ae:g=10;break a;case ze:g=9;break a;case Vc:g=11;break a;case Wc:g=14;break a;case Be:g=16;d=null;break a}p("130",
|
||||||
a.expirationTime=c;return a}function of(a,b,c,d){a=ma(8,a,d,b);b=0===(b&1)?Tc:Sc;a.elementType=b;a.type=b;a.expirationTime=c;return a}function sd(a,b,c){a=ma(6,a,null,b);a.expirationTime=c;return a}function td(a,b,c){b=ma(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function ob(a,b){a.didError=!1;var c=a.earliestPendingTime;0===c?a.earliestPendingTime=a.latestPendingTime=b:c>
|
null==a?a:typeof a,"")}b=R(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function oa(a,b,c,d){a=R(7,a,d,b);a.expirationTime=c;return a}function nf(a,b,c,d){a=R(8,a,d,b);b=0===(b&1)?Tc:Sc;a.elementType=b;a.type=b;a.expirationTime=c;return a}function td(a,b,c){a=R(6,a,null,b);a.expirationTime=c;return a}function ud(a,b,c){b=R(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};
|
||||||
b?a.earliestPendingTime=b:a.latestPendingTime<b&&(a.latestPendingTime=b);gc(b,a)}function pf(a,b){a.didError=!1;var c=a.latestPingedTime;0!==c&&c<=b&&(a.latestPingedTime=0);c=a.earliestPendingTime;var d=a.latestPendingTime;c===b?a.earliestPendingTime=d===b?a.latestPendingTime=0:d:d===b&&(a.latestPendingTime=c);c=a.earliestSuspendedTime;d=a.latestSuspendedTime;0===c?a.earliestSuspendedTime=a.latestSuspendedTime=b:c>b?a.earliestSuspendedTime=b:d<b&&(a.latestSuspendedTime=b);gc(b,a)}function qf(a,b){var c=
|
return b}function nb(a,b){a.didError=!1;var c=a.earliestPendingTime;0===c?a.earliestPendingTime=a.latestPendingTime=b:c<b?a.earliestPendingTime=b:a.latestPendingTime>b&&(a.latestPendingTime=b);fc(b,a)}function of(a,b){a.didError=!1;var c=a.latestPingedTime;0!==c&&c>=b&&(a.latestPingedTime=0);c=a.earliestPendingTime;var d=a.latestPendingTime;c===b?a.earliestPendingTime=d===b?a.latestPendingTime=0:d:d===b&&(a.latestPendingTime=c);c=a.earliestSuspendedTime;d=a.latestSuspendedTime;0===c?a.earliestSuspendedTime=
|
||||||
a.earliestPendingTime;a=a.earliestSuspendedTime;if(0===b||0!==c&&c<b)b=c;if(0===b||0!==a&&a<b)b=a;return b}function gc(a,b){var c=b.earliestSuspendedTime,d=b.latestSuspendedTime,e=b.earliestPendingTime,f=b.latestPingedTime;e=0!==e?e:f;0===e&&(0===a||d>a)&&(e=d);a=e;0!==a&&0!==c&&c<a&&(a=c);b.nextExpirationTimeToWorkOn=e;b.expirationTime=a}function hc(a){return{baseState:a,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,
|
a.latestSuspendedTime=b:c<b?a.earliestSuspendedTime=b:d>b&&(a.latestSuspendedTime=b);fc(b,a)}function pf(a,b){var c=a.earliestPendingTime;a=a.earliestSuspendedTime;c>b&&(b=c);a>b&&(b=a);return b}function fc(a,b){var c=b.earliestSuspendedTime,d=b.latestSuspendedTime,e=b.earliestPendingTime,f=b.latestPingedTime;e=0!==e?e:f;0===e&&(0===a||d<a)&&(e=d);a=e;0!==a&&c>a&&(a=c);b.nextExpirationTimeToWorkOn=e;b.expirationTime=a}function gc(a){return{baseState:a,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,
|
||||||
lastCapturedEffect:null}}function ud(a){return{baseState:a.baseState,firstUpdate:a.firstUpdate,lastUpdate:a.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Y(a){return{expirationTime:a,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function ic(a,b){null===a.lastUpdate?a.firstUpdate=a.lastUpdate=b:(a.lastUpdate.next=b,a.lastUpdate=b)}function na(a,b){var c=a.alternate;if(null===c){var d=
|
lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function vd(a){return{baseState:a.baseState,firstUpdate:a.firstUpdate,lastUpdate:a.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function pa(a){return{expirationTime:a,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function hc(a,b){null===a.lastUpdate?a.firstUpdate=a.lastUpdate=b:(a.lastUpdate.next=
|
||||||
a.updateQueue;var e=null;null===d&&(d=a.updateQueue=hc(a.memoizedState))}else d=a.updateQueue,e=c.updateQueue,null===d?null===e?(d=a.updateQueue=hc(a.memoizedState),e=c.updateQueue=hc(c.memoizedState)):d=a.updateQueue=ud(e):null===e&&(e=c.updateQueue=ud(d));null===e||d===e?ic(d,b):null===d.lastUpdate||null===e.lastUpdate?(ic(d,b),ic(e,b)):(ic(d,b),e.lastUpdate=b)}function rf(a,b){var c=a.updateQueue;c=null===c?a.updateQueue=hc(a.memoizedState):sf(a,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=
|
b,a.lastUpdate=b)}function ca(a,b){var c=a.alternate;if(null===c){var d=a.updateQueue;var e=null;null===d&&(d=a.updateQueue=gc(a.memoizedState))}else d=a.updateQueue,e=c.updateQueue,null===d?null===e?(d=a.updateQueue=gc(a.memoizedState),e=c.updateQueue=gc(c.memoizedState)):d=a.updateQueue=vd(e):null===e&&(e=c.updateQueue=vd(d));null===e||d===e?hc(d,b):null===d.lastUpdate||null===e.lastUpdate?(hc(d,b),hc(e,b)):(hc(d,b),e.lastUpdate=b)}function qf(a,b){var c=a.updateQueue;c=null===c?a.updateQueue=gc(a.memoizedState):
|
||||||
c.lastCapturedUpdate=b:(c.lastCapturedUpdate.next=b,c.lastCapturedUpdate=b)}function sf(a,b){var c=a.alternate;null!==c&&b===c.updateQueue&&(b=a.updateQueue=ud(b));return b}function tf(a,b,c,d,e,f){switch(c.tag){case 1:return a=c.payload,"function"===typeof a?a.call(f,d,e):a;case 3:a.effectTag=a.effectTag&-1025|64;case 0:a=c.payload;e="function"===typeof a?a.call(f,d,e):a;if(null===e||void 0===e)break;return E({},d,e);case 2:P=!0}return d}function pb(a,b,c,d,e){P=!1;b=sf(a,b);for(var f=b.baseState,
|
rf(a,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=c.lastCapturedUpdate=b:(c.lastCapturedUpdate.next=b,c.lastCapturedUpdate=b)}function rf(a,b){var c=a.alternate;null!==c&&b===c.updateQueue&&(b=a.updateQueue=vd(b));return b}function sf(a,b,c,d,e,f){switch(c.tag){case 1:return a=c.payload,"function"===typeof a?a.call(f,d,e):a;case 3:a.effectTag=a.effectTag&-2049|64;case 0:a=c.payload;e="function"===typeof a?a.call(f,d,e):a;if(null===e||void 0===e)break;return y({},d,e);case 2:qa=!0}return d}
|
||||||
g=null,h=0,k=b.firstUpdate,l=f;null!==k;){var m=k.expirationTime;if(m>e){if(null===g&&(g=k,f=l),0===h||h>m)h=m}else l=tf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null===b.lastEffect?b.firstEffect=b.lastEffect=k:(b.lastEffect.nextEffect=k,b.lastEffect=k));k=k.next}m=null;for(k=b.firstCapturedUpdate;null!==k;){var n=k.expirationTime;if(n>e){if(null===m&&(m=k,null===g&&(f=l)),0===h||h>n)h=n}else l=tf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null===
|
function ob(a,b,c,d,e){qa=!1;b=rf(a,b);for(var f=b.baseState,g=null,h=0,k=b.firstUpdate,l=f;null!==k;){var m=k.expirationTime;m<e?(null===g&&(g=k,f=l),h<m&&(h=m)):(l=sf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null===b.lastEffect?b.firstEffect=b.lastEffect=k:(b.lastEffect.nextEffect=k,b.lastEffect=k)));k=k.next}m=null;for(k=b.firstCapturedUpdate;null!==k;){var p=k.expirationTime;p<e?(null===m&&(m=k,null===g&&(f=l)),h<p&&(h=p)):(l=sf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=
|
||||||
b.lastCapturedEffect?b.firstCapturedEffect=b.lastCapturedEffect=k:(b.lastCapturedEffect.nextEffect=k,b.lastCapturedEffect=k));k=k.next}null===g&&(b.lastUpdate=null);null===m?b.lastCapturedUpdate=null:a.effectTag|=32;null===g&&null===m&&(f=l);b.baseState=f;b.firstUpdate=g;b.firstCapturedUpdate=m;a.expirationTime=h;a.memoizedState=l}function uf(a,b,c,d){null!==b.firstCapturedUpdate&&(null!==b.lastUpdate&&(b.lastUpdate.next=b.firstCapturedUpdate,b.lastUpdate=b.lastCapturedUpdate),b.firstCapturedUpdate=
|
32,k.nextEffect=null,null===b.lastCapturedEffect?b.firstCapturedEffect=b.lastCapturedEffect=k:(b.lastCapturedEffect.nextEffect=k,b.lastCapturedEffect=k)));k=k.next}null===g&&(b.lastUpdate=null);null===m?b.lastCapturedUpdate=null:a.effectTag|=32;null===g&&null===m&&(f=l);b.baseState=f;b.firstUpdate=g;b.firstCapturedUpdate=m;a.expirationTime=h;a.memoizedState=l}function tf(a,b,c,d){null!==b.firstCapturedUpdate&&(null!==b.lastUpdate&&(b.lastUpdate.next=b.firstCapturedUpdate,b.lastUpdate=b.lastCapturedUpdate),
|
||||||
b.lastCapturedUpdate=null);vf(b.firstEffect,c);b.firstEffect=b.lastEffect=null;vf(b.firstCapturedEffect,c);b.firstCapturedEffect=b.lastCapturedEffect=null}function vf(a,b){for(;null!==a;){var c=a.callback;if(null!==c){a.callback=null;var d=b;"function"!==typeof c?n("191",c):void 0;c.call(d)}a=a.nextEffect}}function kc(a,b){return{value:a,source:b,stack:De(b)}}function wf(a,b){var c=a.type._context;L(vd,c._currentValue,a);c._currentValue=b}function wd(a){var b=vd.current;F(vd,a);a.type._context._currentValue=
|
b.firstCapturedUpdate=b.lastCapturedUpdate=null);uf(b.firstEffect,c);b.firstEffect=b.lastEffect=null;uf(b.firstCapturedEffect,c);b.firstCapturedEffect=b.lastCapturedEffect=null}function uf(a,b){for(;null!==a;){var c=a.callback;if(null!==c){a.callback=null;var d=b;"function"!==typeof c?p("191",c):void 0;c.call(d)}a=a.nextEffect}}function ic(a,b){return{value:a,source:b,stack:Xc(b)}}function vf(a,b){var c=a.type._context;O(wd,c._currentValue,a);c._currentValue=b}function xd(a){var b=wd.current;L(wd,
|
||||||
b}function qb(a,b){lc=a;mc=Xa=null;a.firstContextDependency=null}function xf(a,b){if(mc!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)mc=a,b=1073741823;b={context:a,observedBits:b,next:null};null===Xa?(null===lc?n("293"):void 0,lc.firstContextDependency=Xa=b):Xa=Xa.next=b}return a._currentValue}function Ca(a){a===rb?n("174"):void 0;return a}function xd(a,b){L(sb,b,a);L(tb,a,a);L(U,rb,a);var c=b.nodeType;switch(c){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:id(null,"");break;
|
a);a.type._context._currentValue=b}function Qa(a,b){pb=a;qb=xa=null;a.firstContextDependency=null}function wf(a,b){if(qb!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)qb=a,b=1073741823;b={context:a,observedBits:b,next:null};null===xa?(null===pb?p("293"):void 0,pb.firstContextDependency=xa=b):xa=xa.next=b}return a._currentValue}function ya(a){a===rb?p("174"):void 0;return a}function yd(a,b){O(sb,b,a);O(tb,a,a);O(S,rb,a);var c=b.nodeType;switch(c){case 9:case 11:b=(b=b.documentElement)?
|
||||||
default:c=8===c?b.parentNode:b,b=c.namespaceURI||null,c=c.tagName,b=id(b,c)}F(U,a);L(U,b,a)}function ua(a){F(U,a);F(tb,a);F(sb,a)}function yf(a){Ca(sb.current);var b=Ca(U.current);var c=id(b,a.type);b!==c&&(L(tb,a,a),L(U,c,a))}function yd(a){tb.current===a&&(F(U,a),F(tb,a))}function nc(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:E({},b,c);a.memoizedState=c;d=a.updateQueue;null!==d&&0===a.expirationTime&&(d.baseState=c)}function zf(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?
|
b.namespaceURI:jd(null,"");break;default:c=8===c?b.parentNode:b,b=c.namespaceURI||null,c=c.tagName,b=jd(b,c)}L(S,a);O(S,b,a)}function Ra(a){L(S,a);L(tb,a);L(sb,a)}function xf(a){ya(sb.current);var b=ya(S.current);var c=jd(b,a.type);b!==c&&(O(tb,a,a),O(S,c,a))}function zd(a){tb.current===a&&(L(S,a),L(tb,a))}function T(a,b){if(a&&a.defaultProps){b=y({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}function nh(a){var b=a._result;switch(a._status){case 1:return b;case 2:throw b;
|
||||||
a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!jb(c,d)||!jb(e,f):!0}function Af(a,b,c,d){var e=!1;d=X;var f=b.contextType;"object"===typeof f&&null!==f?f=oc.currentDispatcher.readContext(f):(d=M(b)?la:O.current,e=b.contextTypes,f=(e=null!==e&&void 0!==e)?Wa(a,d):X);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=pc;a.stateNode=b;b._reactInternalFiber=a;e&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=d,a.__reactInternalMemoizedMaskedChildContext=
|
case 0:throw b;default:throw a._status=0,b=a._ctor,b=b(),b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)}),a._result=b,b;}}function jc(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:y({},b,c);a.memoizedState=c;d=a.updateQueue;null!==d&&0===a.expirationTime&&(d.baseState=c)}function yf(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&
|
||||||
f);return b}function Bf(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&pc.enqueueReplaceState(b,b.state,null)}function zd(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=Cf;var f=b.contextType;"object"===typeof f&&null!==f?e.context=oc.currentDispatcher.readContext(f):(f=M(b)?la:O.current,e.context=Wa(a,f));f=a.updateQueue;
|
b.prototype.isPureReactComponent?!ib(c,d)||!ib(e,f):!0}function zf(a,b,c,d){var e=!1;d=na;var f=b.contextType;"object"===typeof f&&null!==f?f=kc.currentDispatcher.readContext(f):(d=E(b)?va:F.current,e=b.contextTypes,f=(e=null!==e&&void 0!==e)?Pa(a,d):na);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=lc;a.stateNode=b;b._reactInternalFiber=a;e&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=d,a.__reactInternalMemoizedMaskedChildContext=f);return b}
|
||||||
null!==f&&(pb(a,f,c,e,d),e.state=a.memoizedState);f=b.getDerivedStateFromProps;"function"===typeof f&&(nc(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&pc.enqueueReplaceState(e,
|
function Af(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&lc.enqueueReplaceState(b,b.state,null)}function Ad(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=Bf;var f=b.contextType;"object"===typeof f&&null!==f?e.context=kc.currentDispatcher.readContext(f):(f=E(b)?va:F.current,e.context=Pa(a,f));f=a.updateQueue;null!==
|
||||||
e.state,null),f=a.updateQueue,null!==f&&(pb(a,f,c,e,d),e.state=a.memoizedState));"function"===typeof e.componentDidMount&&(a.effectTag|=4)}function ub(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;var d=void 0;c&&(1!==c.tag?n("289"):void 0,d=c.stateNode);d?void 0:n("147",a);var e=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===Cf&&(b=d.refs={});null===a?delete b[e]:b[e]=a};
|
f&&(ob(a,f,c,e,d),e.state=a.memoizedState);f=b.getDerivedStateFromProps;"function"===typeof f&&(jc(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&lc.enqueueReplaceState(e,
|
||||||
b._stringRef=e;return b}"string"!==typeof a?n("284"):void 0;c._owner?void 0:n("290",a)}return a}function qc(a,b){"textarea"!==a.type&&n("31","[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,"")}function Df(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,
|
e.state,null),f=a.updateQueue,null!==f&&(ob(a,f,c,e,d),e.state=a.memoizedState));"function"===typeof e.componentDidMount&&(a.effectTag|=4)}function ub(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;var d=void 0;c&&(1!==c.tag?p("289"):void 0,d=c.stateNode);d?void 0:p("147",a);var e=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===Bf&&(b=d.refs={});null===a?delete b[e]:b[e]=a};
|
||||||
b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,c){a=Aa(a,b,c);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=sd(c,a.mode,d),b.return=a,b;b=e(b,c,d);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===
|
b._stringRef=e;return b}"string"!==typeof a?p("284"):void 0;c._owner?void 0:p("290",a)}return a}function mc(a,b){"textarea"!==a.type&&p("31","[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,"")}function Cf(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,
|
||||||
c.type)return d=e(b,c.props,d),d.ref=ub(a,b,c),d.return=a,d;d=fc(c.type,c.key,c.props,null,a.mode,d);d.ref=ub(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=td(c,a.mode,d),b.return=a,b;b=e(b,c.children||[],d);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=Ba(c,a.mode,d,f),b.return=a,b;b=e(b,c,d);b.return=a;return b}function p(a,b,c){if("string"===typeof b||
|
b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,c){a=wa(a,b,c);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=td(c,a.mode,d),b.return=a,b;b=e(b,c,d);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===
|
||||||
"number"===typeof b)return b=sd(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case rc:return c=fc(b.type,b.key,b.props,null,a.mode,c),c.ref=ub(a,null,b),c.return=a,c;case Va:return b=td(b,a.mode,c),b.return=a,b}if(sc(b)||gb(b))return b=Ba(b,a.mode,c,null),b.return=a,b;qc(a,b)}return null}function cb(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case rc:return c.key===
|
c.type)return d=e(b,c.props,d),d.ref=ub(a,b,c),d.return=a,d;d=ec(c.type,c.key,c.props,null,a.mode,d);d.ref=ub(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=ud(c,a.mode,d),b.return=a,b;b=e(b,c.children||[],d);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=oa(c,a.mode,d,f),b.return=a,b;b=e(b,c,d);b.return=a;return b}function n(a,b,c){if("string"===typeof b||
|
||||||
e?c.type===ta?m(a,b,c.props.children,d,e):k(a,b,c,d):null;case Va:return c.key===e?l(a,b,c,d):null}if(sc(c)||gb(c))return null!==e?null:m(a,b,c,d,null);qc(a,c)}return null}function r(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case rc:return a=a.get(null===d.key?c:d.key)||null,d.type===ta?m(b,a,d.props.children,e,d.key):k(b,a,d,e);case Va:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(sc(d)||
|
"number"===typeof b)return b=td(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case nc:return c=ec(b.type,b.key,b.props,null,a.mode,c),c.ref=ub(a,null,b),c.return=a,c;case La:return b=ud(b,a.mode,c),b.return=a,b}if(oc(b)||fb(b))return b=oa(b,a.mode,c,null),b.return=a,b;mc(a,b)}return null}function Df(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case nc:return c.key===
|
||||||
gb(d))return a=a.get(c)||null,m(b,a,d,e,null);qc(b,d)}return null}function u(e,g,h,k){for(var l=null,m=null,n=g,q=g=0,v=null;null!==n&&q<h.length;q++){n.index>q?(v=n,n=null):v=n.sibling;var t=cb(e,n,h[q],k);if(null===t){null===n&&(n=v);break}a&&n&&null===t.alternate&&b(e,n);g=f(t,g,q);null===m?l=t:m.sibling=t;m=t;n=v}if(q===h.length)return c(e,n),l;if(null===n){for(;q<h.length;q++)if(n=p(e,h[q],k))g=f(n,g,q),null===m?l=n:m.sibling=n,m=n;return l}for(n=d(e,n);q<h.length;q++)if(v=r(n,e,q,h[q],k))a&&
|
e?c.type===la?m(a,b,c.props.children,d,e):k(a,b,c,d):null;case La:return c.key===e?l(a,b,c,d):null}if(oc(c)||fb(c))return null!==e?null:m(a,b,c,d,null);mc(a,c)}return null}function z(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case nc:return a=a.get(null===d.key?c:d.key)||null,d.type===la?m(b,a,d.props.children,e,d.key):k(b,a,d,e);case La:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(oc(d)||
|
||||||
null!==v.alternate&&n.delete(null===v.key?q:v.key),g=f(v,g,q),null===m?l=v:m.sibling=v,m=v;a&&n.forEach(function(a){return b(e,a)});return l}function H(e,g,h,k){var l=gb(h);"function"!==typeof l?n("150"):void 0;h=l.call(h);null==h?n("151"):void 0;for(var m=l=null,q=g,v=g=0,jc=null,t=h.next();null!==q&&!t.done;v++,t=h.next()){q.index>v?(jc=q,q=null):jc=q.sibling;var u=cb(e,q,t.value,k);if(null===u){q||(q=jc);break}a&&q&&null===u.alternate&&b(e,q);g=f(u,g,v);null===m?l=u:m.sibling=u;m=u;q=jc}if(t.done)return c(e,
|
fb(d))return a=a.get(c)||null,m(b,a,d,e,null);mc(b,d)}return null}function v(e,g,h,k){for(var l=null,p=null,m=g,r=g=0,q=null;null!==m&&r<h.length;r++){m.index>r?(q=m,m=null):q=m.sibling;var t=Df(e,m,h[r],k);if(null===t){null===m&&(m=q);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,r);null===p?l=t:p.sibling=t;p=t;m=q}if(r===h.length)return c(e,m),l;if(null===m){for(;r<h.length;r++)if(m=n(e,h[r],k))g=f(m,g,r),null===p?l=m:p.sibling=m,p=m;return l}for(m=d(e,m);r<h.length;r++)if(q=z(m,e,r,h[r],k))a&&
|
||||||
q),l;if(null===q){for(;!t.done;v++,t=h.next())t=p(e,t.value,k),null!==t&&(g=f(t,g,v),null===m?l=t:m.sibling=t,m=t);return l}for(q=d(e,q);!t.done;v++,t=h.next())t=r(q,e,v,t.value,k),null!==t&&(a&&null!==t.alternate&&q.delete(null===t.key?v:t.key),g=f(t,g,v),null===m?l=t:m.sibling=t,m=t);a&&q.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ta&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case rc:a:{l=
|
null!==q.alternate&&m.delete(null===q.key?r:q.key),g=f(q,g,r),null===p?l=q:p.sibling=q,p=q;a&&m.forEach(function(a){return b(e,a)});return l}function B(e,g,h,k){var l=fb(h);"function"!==typeof l?p("150"):void 0;h=l.call(h);null==h?p("151"):void 0;for(var m=l=null,r=g,t=g=0,q=null,A=h.next();null!==r&&!A.done;t++,A=h.next()){r.index>t?(q=r,r=null):q=r.sibling;var Sa=Df(e,r,A.value,k);if(null===Sa){r||(r=q);break}a&&r&&null===Sa.alternate&&b(e,r);g=f(Sa,g,t);null===m?l=Sa:m.sibling=Sa;m=Sa;r=q}if(A.done)return c(e,
|
||||||
f.key;for(k=d;null!==k;){if(k.key===l)if(7===k.tag?f.type===ta:k.elementType===f.type){c(a,k.sibling);d=e(k,f.type===ta?f.props.children:f.props,h);d.ref=ub(a,k,f);d.return=a;a=d;break a}else{c(a,k);break}else b(a,k);k=k.sibling}f.type===ta?(d=Ba(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=fc(f.type,f.key,f.props,null,a.mode,h),h.ref=ub(a,d,f),h.return=a,a=h)}return g(a);case Va:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===
|
r),l;if(null===r){for(;!A.done;t++,A=h.next())A=n(e,A.value,k),null!==A&&(g=f(A,g,t),null===m?l=A:m.sibling=A,m=A);return l}for(r=d(e,r);!A.done;t++,A=h.next())A=z(r,e,t,A.value,k),null!==A&&(a&&null!==A.alternate&&r.delete(null===A.key?t:A.key),g=f(A,g,t),null===m?l=A:m.sibling=A,m=A);a&&r.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===la&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case nc:a:{l=
|
||||||
f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=td(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=sd(f,a.mode,h),d.return=a,a=d),g(a);if(sc(f))return u(a,d,f,h);if(gb(f))return H(a,d,f,h);l&&qc(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:h=a.type,n("152",h.displayName||h.name||"Component")}return c(a,
|
f.key;for(k=d;null!==k;){if(k.key===l)if(7===k.tag?f.type===la:k.elementType===f.type){c(a,k.sibling);d=e(k,f.type===la?f.props.children:f.props,h);d.ref=ub(a,k,f);d.return=a;a=d;break a}else{c(a,k);break}else b(a,k);k=k.sibling}f.type===la?(d=oa(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=ec(f.type,f.key,f.props,null,a.mode,h),h.ref=ub(a,d,f),h.return=a,a=h)}return g(a);case La:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===
|
||||||
d)}}function Ef(a,b){var c=ma(5,null,null,0);c.elementType="DELETED";c.type="DELETED";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function Ff(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;default:return!1}}function Gf(a){if(Oa){var b=
|
f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=ud(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=td(f,a.mode,h),d.return=a,a=d),g(a);if(oc(f))return v(a,d,f,h);if(fb(f))return B(a,d,f,h);l&&mc(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:h=a.type,p("152",h.displayName||h.name||"Component")}return c(a,
|
||||||
Ya;if(b){var c=b;if(!Ff(a,b)){b=md(c);if(!b||!Ff(a,b)){a.effectTag|=2;Oa=!1;va=a;return}Ef(va,c)}va=a;Ya=jf(b)}else a.effectTag|=2,Oa=!1,va=a}}function Hf(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag;)a=a.return;va=a}function Ad(a){if(a!==va)return!1;if(!Oa)return Hf(a),Oa=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!ld(b,a.memoizedProps))for(b=Ya;b;)Ef(a,b),b=md(b);Hf(a);Ya=va?md(a.stateNode):null;return!0}function Bd(){Ya=va=null;Oa=!1}function nh(a){var b=a._result;switch(a._status){case 1:return b;
|
d)}}function Ef(a,b){var c=R(5,null,null,0);c.elementType="DELETED";c.type="DELETED";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function Ff(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;default:return!1}}function Gf(a){if(za){var b=
|
||||||
case 2:throw b;case 0:throw b;default:throw a._status=0,b=a._ctor,b=b(),b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)}),a._result=b,b;}}function Q(a,b,c,d){b.child=null===a?Cd(b,null,c,d):Da(b,a.child,c,d)}function If(a,b,c,d,e){c=c.render;var f=b.ref;if(!N.current&&b.memoizedProps===d&&f===(null!==a?a.ref:null))return ca(a,b,e);d=c(d,f);Q(a,b,d,e);return b.child}function Jf(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===
|
Ta;if(b){var c=b;if(!Ff(a,b)){b=nd(c);if(!b||!Ff(a,b)){a.effectTag|=2;za=!1;da=a;return}Ef(da,c)}da=a;Ta=hf(b)}else a.effectTag|=2,za=!1,da=a}}function Hf(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag;)a=a.return;da=a}function Bd(a){if(a!==da)return!1;if(!za)return Hf(a),za=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!md(b,a.memoizedProps))for(b=Ta;b;)Ef(a,b),b=nd(b);Hf(a);Ta=da?nd(a.stateNode):null;return!0}function Cd(){Ta=da=null;za=!1}function P(a,b,c,d){b.child=null===a?Dd(b,
|
||||||
typeof g&&!rd(g)&&void 0===g.defaultProps&&null===c.compare)return b.tag=15,b.type=g,Kf(a,b,g,d,e,f);a=fc(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(0===e||e>f)if(e=g.memoizedProps,c=c.compare,c=null!==c?c:jb,c(e,d)&&a.ref===b.ref)return ca(a,b,f);a=Aa(g,d,f);a.ref=b.ref;a.return=b;return b.child=a}function Kf(a,b,c,d,e,f){return null!==a&&(0===e||e>f)&&jb(a.memoizedProps,d)&&a.ref===b.ref?ca(a,b,f):Dd(a,b,c,d,f)}function Lf(a,b){var c=b.ref;if(null===a&&null!==
|
null,c,d):Ua(b,a.child,c,d)}function If(a,b,c,d,e){c=c.render;var f=b.ref;Qa(b,e);d=c(d,f);b.effectTag|=1;P(a,b,d,e);return b.child}function Jf(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===typeof g&&!sd(g)&&void 0===g.defaultProps&&null===c.compare)return b.tag=15,b.type=g,Kf(a,b,g,d,e,f);a=ec(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e<f&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:ib,c(e,d)&&a.ref===b.ref))return Aa(a,b,f);b.effectTag|=1;a=wa(g,
|
||||||
c||null!==a&&a.ref!==c)b.effectTag|=128}function Dd(a,b,c,d,e){var f=M(c)?la:O.current;f=Wa(b,f);qb(b,e);c=c(d,f);b.effectTag|=1;Q(a,b,c,e);return b.child}function Mf(a,b,c,d,e){if(M(c)){var f=!0;ec(b)}else f=!1;qb(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Af(b,c,d,e),zd(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=oc.currentDispatcher.readContext(l):(l=M(c)?
|
d,f);a.ref=b.ref;a.return=b;return b.child=a}function Kf(a,b,c,d,e,f){return null!==a&&e<f&&ib(a.memoizedProps,d)&&a.ref===b.ref?Aa(a,b,f):Ed(a,b,c,d,f)}function Lf(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.effectTag|=128}function Ed(a,b,c,d,e){var f=E(c)?va:F.current;f=Pa(b,f);Qa(b,e);c=c(d,f);b.effectTag|=1;P(a,b,c,e);return b.child}function Mf(a,b,c,d,e){if(E(c)){var f=!0;dc(b)}else f=!1;Qa(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=
|
||||||
la:O.current,l=Wa(b,l));var m=c.getDerivedStateFromProps,n="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate;n||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Bf(b,g,d,l);P=!1;var p=b.memoizedState;k=g.state=p;var r=b.updateQueue;null!==r&&(pb(b,r,d,g,e),k=b.memoizedState);h!==d||p!==k||N.current||P?("function"===typeof m&&(nc(b,c,m,d),k=b.memoizedState),(h=P||zf(b,c,h,d,p,k,l))?(n||"function"!==typeof g.UNSAFE_componentWillMount&&
|
2),zf(b,c,d,e),Ad(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=kc.currentDispatcher.readContext(l):(l=E(c)?va:F.current,l=Pa(b,l));var m=c.getDerivedStateFromProps,p="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate;p||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Af(b,g,d,l);qa=!1;var n=b.memoizedState;k=g.state=
|
||||||
"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.effectTag|=4)):("function"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,h=b.memoizedProps,g.props=h,k=g.context,
|
n;var z=b.updateQueue;null!==z&&(ob(b,z,d,g,e),k=b.memoizedState);h!==d||n!==k||I.current||qa?("function"===typeof m&&(jc(b,c,m,d),k=b.memoizedState),(h=qa||yf(b,c,h,d,n,k,l))?(p||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.effectTag|=4)):("function"===typeof g.componentDidMount&&
|
||||||
l=c.contextType,"object"===typeof l&&null!==l?l=oc.currentDispatcher.readContext(l):(l=M(c)?la:O.current,l=Wa(b,l)),m=c.getDerivedStateFromProps,(n="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Bf(b,g,d,l),P=!1,k=b.memoizedState,p=g.state=k,r=b.updateQueue,null!==r&&(pb(b,r,d,g,e),p=b.memoizedState),h!==d||k!==p||N.current||P?("function"===typeof m&&(nc(b,
|
(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,h=b.memoizedProps,g.props=b.type===b.elementType?h:T(b.type,h),k=g.context,l=c.contextType,"object"===typeof l&&null!==l?l=kc.currentDispatcher.readContext(l):(l=E(c)?va:F.current,l=Pa(b,l)),m=c.getDerivedStateFromProps,(p="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&
|
||||||
c,m,d),p=b.memoizedState),(m=P||zf(b,c,h,d,k,p,l))?(n||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,p,l),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,p,l)),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===
|
"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Af(b,g,d,l),qa=!1,k=b.memoizedState,n=g.state=k,z=b.updateQueue,null!==z&&(ob(b,z,d,g,e),n=b.memoizedState),h!==d||k!==n||I.current||qa?("function"===typeof m&&(jc(b,c,m,d),n=b.memoizedState),(m=qa||yf(b,c,h,d,k,n,l))?(p||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,n,l),"function"===typeof g.UNSAFE_componentWillUpdate&&
|
||||||
a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=p),g.props=d,g.state=p,g.context=l,d=m):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),d=!1);return Ed(a,b,c,d,f,e)}function Ed(a,b,c,d,e,f){Lf(a,b);var g=0!==(b.effectTag&
|
g.UNSAFE_componentWillUpdate(d,n,l)),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=n),g.props=d,g.state=n,g.context=l,d=m):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&
|
||||||
64);if(!d&&!g)return e&&mf(b,c,!1),ca(a,b,f);d=b.stateNode;oh.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.effectTag|=1;null!==a&&g?(b.child=Da(b,a.child,null,f),b.child=Da(b,null,h,f)):Q(a,b,h,f);b.memoizedState=d.state;e&&mf(b,c,!0);return b.child}function Nf(a){var b=a.stateNode;b.pendingContext?kf(a,b.pendingContext,b.pendingContext!==b.context):b.context&&kf(a,b.context,!1);xd(a,b.containerInfo)}function oa(a,b){if(a&&a.defaultProps){b=E({},b);a=a.defaultProps;
|
k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),d=!1);return Fd(a,b,c,d,f,e)}function Fd(a,b,c,d,e,f){Lf(a,b);var g=0!==(b.effectTag&64);if(!d&&!g)return e&&lf(b,c,!1),Aa(a,b,f);d=b.stateNode;oh.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.effectTag|=1;null!==a&&g?(b.child=Ua(b,a.child,null,f),b.child=Ua(b,null,h,f)):P(a,b,h,f);b.memoizedState=d.state;e&&lf(b,c,
|
||||||
for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}function Of(a,b,c){var d=b.mode,e=b.pendingProps,f=b.memoizedState;null!==f&&(f.alreadyCaptured?null!==a&&f===a.memoizedState?f={alreadyCaptured:!0,didTimeout:!0,timedOutAt:f.timedOutAt}:(f.alreadyCaptured=!0,f.didTimeout=!0):f=null);var g=null!==f&&f.didTimeout;if(null===a)g?(g=e.fallback,e=Ba(null,d,0,null),d=Ba(g,d,c,null),e.sibling=d,c=e,c.return=d.return=b):c=d=Cd(b,null,e.children,c);else{var h=a.memoizedState;null!==h&&h.didTimeout?(d=a.child,
|
!0);return b.child}function Nf(a){var b=a.stateNode;b.pendingContext?jf(a,b.pendingContext,b.pendingContext!==b.context):b.context&&jf(a,b.context,!1);yd(a,b.containerInfo)}function Of(a,b,c){var d=b.mode,e=b.pendingProps,f=b.memoizedState;if(0===(b.effectTag&64)){f=null;var g=!1}else f={timedOutAt:null!==f?f.timedOutAt:0},g=!0,b.effectTag&=-65;null===a?g?(g=e.fallback,e=oa(null,d,0,null),0===(b.mode&1)&&(e.child=null!==b.memoizedState?b.child.child:b.child),d=oa(g,d,c,null),e.sibling=d,c=e,c.return=
|
||||||
a=d.sibling,g?(c=e.fallback,d=Aa(d,d.pendingProps,0),d.effectTag|=2,e=d.sibling=Aa(a,c,a.expirationTime),e.effectTag|=2,c=d,d.childExpirationTime=0,d=e,c.return=d.return=b):(g=a.child,d=Da(b,d.child,e.children,c),Da(b,g,null,c),c=d)):(a=a.child,g?(g=e.fallback,e=Ba(null,d,0,null),e.effectTag|=2,e.child=a,a.return=e,d=e.sibling=Ba(g,d,c,null),d.effectTag|=2,c=e,e.childExpirationTime=0,c.return=d.return=b):d=c=Da(b,a,e.children,c))}b.memoizedState=f;b.child=c;return d}function ca(a,b,c){null!==a&&(b.firstContextDependency=
|
d.return=b):c=d=Dd(b,null,e.children,c):null!==a.memoizedState?(d=a.child,a=d.sibling,g?(c=e.fallback,e=wa(d,d.pendingProps,0),0===(b.mode&1)&&(g=null!==b.memoizedState?b.child.child:b.child,g!==d.child&&(e.child=g)),d=e.sibling=wa(a,c,a.expirationTime),c=e,e.childExpirationTime=0,c.return=d.return=b):c=d=Ua(b,d.child,e.children,c)):(a=a.child,g?(g=e.fallback,e=oa(null,d,0,null),e.child=a,0===(b.mode&1)&&(e.child=null!==b.memoizedState?b.child.child:b.child),d=e.sibling=oa(g,d,c,null),d.effectTag|=
|
||||||
a.firstContextDependency);var d=b.childExpirationTime;if(0===d||d>c)return null;null!==a&&b.child!==a.child?n("153"):void 0;if(null!==b.child){a=b.child;c=Aa(a,a.pendingProps,a.expirationTime);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Aa(a,a.pendingProps,a.expirationTime),c.return=b;c.sibling=null}return b.child}function ph(a,b,c){var d=b.expirationTime;if(null!==a&&a.memoizedProps===b.pendingProps&&!N.current&&(0===d||d>c)){switch(b.tag){case 3:Nf(b);Bd();break;case 5:yf(b);
|
2,c=e,e.childExpirationTime=0,c.return=d.return=b):d=c=Ua(b,a,e.children,c));b.memoizedState=f;b.child=c;return d}function Aa(a,b,c){null!==a&&(b.firstContextDependency=a.firstContextDependency);if(b.childExpirationTime<c)return null;null!==a&&b.child!==a.child?p("153"):void 0;if(null!==b.child){a=b.child;c=wa(a,a.pendingProps,a.expirationTime);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=wa(a,a.pendingProps,a.expirationTime),c.return=b;c.sibling=null}return b.child}function ph(a,
|
||||||
break;case 1:M(b.type)&&ec(b);break;case 4:xd(b,b.stateNode.containerInfo);break;case 10:wf(b,b.memoizedProps.value);break;case 13:if(d=b.memoizedState,null!==d&&d.didTimeout){d=b.child.childExpirationTime;if(0!==d&&d<=c)return Of(a,b,c);b=ca(a,b,c);return null!==b?b.sibling:null}}return ca(a,b,c)}b.expirationTime=0;switch(b.tag){case 2:d=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;var e=Wa(b,O.current);qb(b,c);e=d(a,e);b.effectTag|=1;if("object"===
|
b,c){var d=b.expirationTime;if(null!==a&&a.memoizedProps===b.pendingProps&&!I.current&&d<c){switch(b.tag){case 3:Nf(b);Cd();break;case 5:xf(b);break;case 1:E(b.type)&&dc(b);break;case 4:yd(b,b.stateNode.containerInfo);break;case 10:vf(b,b.memoizedProps.value);break;case 13:if(null!==b.memoizedState){d=b.child.childExpirationTime;if(0!==d&&d>=c)return Of(a,b,c);b=Aa(a,b,c);return null!==b?b.sibling:null}}return Aa(a,b,c)}b.expirationTime=0;switch(b.tag){case 2:d=b.elementType;null!==a&&(a.alternate=
|
||||||
typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;if(M(d)){var f=!0;ec(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&nc(b,d,g,a);e.updater=pc;b.stateNode=e;e._reactInternalFiber=b;zd(b,d,a,c);b=Ed(null,b,d,!0,f,c)}else b.tag=0,Q(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);f=b.pendingProps;a=nh(e);b.type=a;e=b.tag=
|
null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;var e=Pa(b,F.current);Qa(b,c);e=d(a,e);b.effectTag|=1;if("object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;if(E(d)){var f=!0;dc(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&jc(b,d,g,a);e.updater=lc;b.stateNode=e;e._reactInternalFiber=b;Ad(b,d,a,c);b=Fd(null,b,d,!0,f,c)}else b.tag=0,P(null,b,e,c),b=b.child;return b;case 16:e=
|
||||||
mh(a);f=oa(a,f);g=void 0;switch(e){case 0:g=Dd(null,b,a,f,c);break;case 1:g=Mf(null,b,a,f,c);break;case 11:g=If(null,b,a,f,c);break;case 14:g=Jf(null,b,a,oa(a.type,f),d,c);break;default:n("283",a)}return g;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),Dd(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),Mf(a,b,d,e,c);case 3:Nf(b);d=b.updateQueue;null===d?n("282"):void 0;e=b.memoizedState;e=null!==e?e.element:null;pb(b,d,b.pendingProps,null,c);
|
b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);f=b.pendingProps;a=nh(e);b.type=a;e=b.tag=mh(a);f=T(a,f);g=void 0;switch(e){case 0:g=Ed(null,b,a,f,c);break;case 1:g=Mf(null,b,a,f,c);break;case 11:g=If(null,b,a,f,c);break;case 14:g=Jf(null,b,a,T(a.type,f),d,c);break;default:p("283",a)}return g;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:T(d,e),Ed(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:T(d,e),Mf(a,b,d,e,c);case 3:Nf(b);d=
|
||||||
d=b.memoizedState.element;if(d===e)Bd(),b=ca(a,b,c);else{e=b.stateNode;if(e=(null===a||null===a.child)&&e.hydrate)Ya=jf(b.stateNode.containerInfo),va=b,e=Oa=!0;e?(b.effectTag|=2,b.child=Cd(b,null,d,c)):(Q(a,b,d,c),Bd());b=b.child}return b;case 5:return yf(b),null===a&&Gf(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,ld(d,e)?g=null:null!==f&&ld(d,f)&&(b.effectTag|=16),Lf(a,b),1073741823!==c&&b.mode&1&&e.hidden?(b.expirationTime=1073741823,b=null):(Q(a,b,g,c),b=b.child),
|
b.updateQueue;null===d?p("282"):void 0;e=b.memoizedState;e=null!==e?e.element:null;ob(b,d,b.pendingProps,null,c);d=b.memoizedState.element;if(d===e)Cd(),b=Aa(a,b,c);else{e=b.stateNode;if(e=(null===a||null===a.child)&&e.hydrate)Ta=hf(b.stateNode.containerInfo),da=b,e=za=!0;e?(b.effectTag|=2,b.child=Dd(b,null,d,c)):(P(a,b,d,c),Cd());b=b.child}return b;case 5:return xf(b),null===a&&Gf(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,md(d,e)?g=null:null!==f&&md(d,f)&&(b.effectTag|=
|
||||||
b;case 6:return null===a&&Gf(b),null;case 13:return Of(a,b,c);case 4:return xd(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Da(b,null,d,c):Q(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),If(a,b,d,e,c);case 7:return Q(a,b,b.pendingProps,c),b.child;case 8:return Q(a,b,b.pendingProps.children,c),b.child;case 12:return Q(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;wf(b,f);if(null!==
|
16),Lf(a,b),1!==c&&b.mode&1&&e.hidden?(b.expirationTime=1,b=null):(P(a,b,g,c),b=b.child),b;case 6:return null===a&&Gf(b),null;case 13:return Of(a,b,c);case 4:return yd(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ua(b,null,d,c):P(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:T(d,e),If(a,b,d,e,c);case 7:return P(a,b,b.pendingProps,c),b.child;case 8:return P(a,b,b.pendingProps.children,c),b.child;case 12:return P(a,b,b.pendingProps.children,c),b.child;
|
||||||
g){var h=g.value;f=h===f&&(0!==h||1/h===1/f)||h!==h&&f!==f?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0;if(0===f){if(g.children===e.children&&!N.current){b=ca(a,b,c);break a}}else for(g=b.child,null!==g&&(g.return=b);null!==g;){h=g.firstContextDependency;if(null!==h){do{if(h.context===d&&0!==(h.observedBits&f)){if(1===g.tag){var k=Y(c);k.tag=2;na(g,k)}if(0===g.expirationTime||g.expirationTime>c)g.expirationTime=c;k=g.alternate;null!==k&&(0===k.expirationTime||
|
case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;vf(b,f);if(null!==g){var h=g.value;f=h===f&&(0!==h||1/h===1/f)||h!==h&&f!==f?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0;if(0===f){if(g.children===e.children&&!I.current){b=Aa(a,b,c);break a}}else for(g=b.child,null!==g&&(g.return=b);null!==g;){h=g.firstContextDependency;if(null!==h){do{if(h.context===d&&0!==(h.observedBits&f)){if(1===g.tag){var k=pa(c);k.tag=2;ca(g,k)}g.expirationTime<
|
||||||
k.expirationTime>c)&&(k.expirationTime=c);for(var l=g.return;null!==l;){k=l.alternate;if(0===l.childExpirationTime||l.childExpirationTime>c)l.childExpirationTime=c,null!==k&&(0===k.childExpirationTime||k.childExpirationTime>c)&&(k.childExpirationTime=c);else if(null!==k&&(0===k.childExpirationTime||k.childExpirationTime>c))k.childExpirationTime=c;else break;l=l.return}}k=g.child;h=h.next}while(null!==h)}else k=10===g.tag?g.type===b.type?null:g.child:g.child;if(null!==k)k.return=g;else for(k=g;null!==
|
c&&(g.expirationTime=c);k=g.alternate;null!==k&&k.expirationTime<c&&(k.expirationTime=c);for(var l=g.return;null!==l;){k=l.alternate;if(l.childExpirationTime<c)l.childExpirationTime=c,null!==k&&k.childExpirationTime<c&&(k.childExpirationTime=c);else if(null!==k&&k.childExpirationTime<c)k.childExpirationTime=c;else break;l=l.return}}k=g.child;h=h.next}while(null!==h)}else k=10===g.tag?g.type===b.type?null:g.child:g.child;if(null!==k)k.return=g;else for(k=g;null!==k;){if(k===b){k=null;break}g=k.sibling;
|
||||||
k;){if(k===b){k=null;break}g=k.sibling;if(null!==g){g.return=k.return;k=g;break}k=k.return}g=k}}Q(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,qb(b,c),e=xf(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,Q(a,b,d,c),b.child;case 14:return e=b.type,f=oa(e.type,b.pendingProps),Jf(a,b,e,f,d,c);case 15:return Kf(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:oa(d,e),null!==a&&(a.alternate=null,b.alternate=null,
|
if(null!==g){g.return=k.return;k=g;break}k=k.return}g=k}}P(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,Qa(b,c),e=wf(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,P(a,b,d,c),b.child;case 14:return e=b.type,f=T(e.type,b.pendingProps),Jf(a,b,e,f,d,c);case 15:return Kf(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:T(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),b.tag=1,E(d)?(a=!0,dc(b)):
|
||||||
b.effectTag|=2),b.tag=1,M(d)?(a=!0,ec(b)):a=!1,qb(b,c),Af(b,d,e,c),zd(b,d,e,c),Ed(null,b,d,!0,a,c);default:n("156")}}function vb(a){a.effectTag|=4}function Pf(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=De(c));null!==c&&sa(c.type);b=b.value;null!==a&&1===a.tag&&sa(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function Qf(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null)}catch(c){wb(a,c)}else b.current=null}function Rf(a){"function"===typeof qd&&qd(a);
|
a=!1,Qa(b,c),zf(b,d,e,c),Ad(b,d,e,c),Fd(null,b,d,!0,a,c);default:p("156")}}function wb(a){a.effectTag|=4}function Pf(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=Xc(c));null!==c&&ka(c.type);b=b.value;null!==a&&1===a.tag&&ka(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function Qf(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null)}catch(c){Va(a,c)}else b.current=null}function Rf(a){"function"===typeof rd&&rd(a);switch(a.tag){case 0:case 11:case 14:case 15:var b=
|
||||||
switch(a.tag){case 1:Qf(a);var b=a.stateNode;if("function"===typeof b.componentWillUnmount)try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){wb(a,c)}break;case 5:Qf(a);break;case 4:Sf(a)}}function Tf(a){return 5===a.tag||3===a.tag||4===a.tag}function Uf(a){a:{for(var b=a.return;null!==b;){if(Tf(b)){var c=b;break a}b=b.return}n("160");c=void 0}var d=b=void 0;switch(c.tag){case 5:b=c.stateNode;d=!1;break;case 3:b=c.stateNode.containerInfo;d=!0;break;case 4:b=c.stateNode.containerInfo;
|
a.updateQueue;if(null!==b&&(b=b.lastEffect,null!==b)){var c=b=b.next;do{var d=c.destroy;if(null!==d){var e=a;try{d()}catch(f){Va(e,f)}}c=c.next}while(c!==b)}break;case 1:Qf(a);b=a.stateNode;if("function"===typeof b.componentWillUnmount)try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(f){Va(a,f)}break;case 5:Qf(a);break;case 4:Sf(a)}}function Tf(a){return 5===a.tag||3===a.tag||4===a.tag}function Uf(a){a:{for(var b=a.return;null!==b;){if(Tf(b)){var c=b;break a}b=b.return}p("160");
|
||||||
d=!0;break;default:n("161")}c.effectTag&16&&(xb(b,""),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Tf(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag;){if(c.effectTag&2)continue b;if(null===c.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}for(var e=a;;){if(5===e.tag||6===e.tag)if(c)if(d){var f=b,g=e.stateNode,h=c;8===f.nodeType?f.parentNode.insertBefore(g,h):
|
c=void 0}var d=b=void 0;switch(c.tag){case 5:b=c.stateNode;d=!1;break;case 3:b=c.stateNode.containerInfo;d=!0;break;case 4:b=c.stateNode.containerInfo;d=!0;break;default:p("161")}c.effectTag&16&&(xb(b,""),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Tf(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag;){if(c.effectTag&2)continue b;if(null===c.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.effectTag&
|
||||||
f.insertBefore(g,h)}else b.insertBefore(e.stateNode,c);else d?(g=b,h=e.stateNode,8===g.nodeType?(f=g.parentNode,f.insertBefore(h,g)):(f=g,f.appendChild(h)),g=g._reactRootContainer,null!==g&&void 0!==g||null!==f.onclick||(f.onclick=cc)):b.appendChild(e.stateNode);else if(4!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===a)break;for(;null===e.sibling;){if(null===e.return||e.return===a)return;e=e.return}e.sibling.return=e.return;e=e.sibling}}function Sf(a){for(var b=a,c=!1,d=void 0,
|
2)){c=c.stateNode;break a}}for(var e=a;;){if(5===e.tag||6===e.tag)if(c)if(d){var f=b,g=e.stateNode,h=c;8===f.nodeType?f.parentNode.insertBefore(g,h):f.insertBefore(g,h)}else b.insertBefore(e.stateNode,c);else d?(g=b,h=e.stateNode,8===g.nodeType?(f=g.parentNode,f.insertBefore(h,g)):(f=g,f.appendChild(h)),g=g._reactRootContainer,null!==g&&void 0!==g||null!==f.onclick||(f.onclick=bc)):b.appendChild(e.stateNode);else if(4!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===a)break;for(;null===
|
||||||
e=void 0;;){if(!c){c=b.return;a:for(;;){null===c?n("160"):void 0;switch(c.tag){case 5:d=c.stateNode;e=!1;break a;case 3:d=c.stateNode.containerInfo;e=!0;break a;case 4:d=c.stateNode.containerInfo;e=!0;break a}c=c.return}c=!0}if(5===b.tag||6===b.tag){a:for(var f=b,g=f;;)if(Rf(g),null!==g.child&&4!==g.tag)g.child.return=g,g=g.child;else{if(g===f)break;for(;null===g.sibling;){if(null===g.return||g.return===f)break a;g=g.return}g.sibling.return=g.return;g=g.sibling}e?(f=d,g=b.stateNode,8===f.nodeType?
|
e.sibling;){if(null===e.return||e.return===a)return;e=e.return}e.sibling.return=e.return;e=e.sibling}}function Sf(a){for(var b=a,c=!1,d=void 0,e=void 0;;){if(!c){c=b.return;a:for(;;){null===c?p("160"):void 0;switch(c.tag){case 5:d=c.stateNode;e=!1;break a;case 3:d=c.stateNode.containerInfo;e=!0;break a;case 4:d=c.stateNode.containerInfo;e=!0;break a}c=c.return}c=!0}if(5===b.tag||6===b.tag){a:for(var f=b,g=f;;)if(Rf(g),null!==g.child&&4!==g.tag)g.child.return=g,g=g.child;else{if(g===f)break;for(;null===
|
||||||
f.parentNode.removeChild(g):f.removeChild(g)):d.removeChild(b.stateNode)}else if(4===b.tag?(d=b.stateNode.containerInfo,e=!0):Rf(b),null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return;b=b.return;4===b.tag&&(c=!1)}b.sibling.return=b.return;b=b.sibling}}function Vf(a,b){switch(b.tag){case 1:break;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=
|
g.sibling;){if(null===g.return||g.return===f)break a;g=g.return}g.sibling.return=g.return;g=g.sibling}e?(f=d,g=b.stateNode,8===f.nodeType?f.parentNode.removeChild(g):f.removeChild(g)):d.removeChild(b.stateNode)}else if(4===b.tag?(d=b.stateNode.containerInfo,e=!0):Rf(b),null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return;b=b.return;4===b.tag&&(c=!1)}b.sibling.return=b.return;b=b.sibling}}function Vf(a,b){switch(b.tag){case 0:case 11:case 14:case 15:break;
|
||||||
null;if(null!==f){c[Ob]=d;"input"===a&&"radio"===d.type&&null!=d.name&&Ie(c,d);kd(a,e);b=kd(a,d);for(e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];"style"===g?gf(c,h):"dangerouslySetInnerHTML"===g?Wf(c,h):"children"===g?xb(c,h):Xc(c,g,h,b)}switch(a){case "input":Zc(c,d);break;case "textarea":ef(c,d);break;case "select":a=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,f=d.value,null!=f?za(c,!!d.multiple,f,!1):a!==!!d.multiple&&(null!=d.defaultValue?za(c,!!d.multiple,d.defaultValue,
|
case 1:break;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[Nb]=d;"input"===a&&"radio"===d.type&&null!=d.name&&Ge(c,d);ld(a,e);b=ld(a,d);for(e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];"style"===g?ff(c,h):"dangerouslySetInnerHTML"===g?Wf(c,h):"children"===g?xb(c,h):Yc(c,g,h,b)}switch(a){case "input":$c(c,d);break;case "textarea":cf(c,d);break;case "select":b=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=
|
||||||
!0):za(c,!!d.multiple,d.multiple?[]:"",!1))}}}break;case 6:null===b.stateNode?n("162"):void 0;b.stateNode.nodeValue=b.memoizedProps;break;case 3:break;case 12:break;case 13:break;case 17:break;default:n("163")}}function Fd(a,b,c){c=Y(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Gd(d);Pf(a,b)};return c}function Xf(a,b,c){c=Y(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)}}var f=a.stateNode;null!==
|
!!d.multiple,a=d.value,null!=a?Na(c,!!d.multiple,a,!1):b!==!!d.multiple&&(null!=d.defaultValue?Na(c,!!d.multiple,d.defaultValue,!0):Na(c,!!d.multiple,d.multiple?[]:"",!1))}}}break;case 6:null===b.stateNode?p("162"):void 0;b.stateNode.nodeValue=b.memoizedProps;break;case 3:break;case 12:break;case 13:c=b.memoizedState;a=b;null===c?d=!1:(d=!0,a=b.child,0===c.timedOutAt&&(c.timedOutAt=ra()));if(null!==a)a:for(b=c=a;;){if(5===b.tag)a=b.stateNode,d?a.style.display="none":(a=b.stateNode,f=b.memoizedProps.style,
|
||||||
f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===Za?Za=new Set([this]):Za.add(this));var c=b.value,e=b.stack;Pf(a,b);this.componentDidCatch(c,{componentStack:null!==e?e:""})});return c}function qh(a,b){switch(a.tag){case 1:return M(a.type)&&dc(a),b=a.effectTag,b&1024?(a.effectTag=b&-1025|64,a):null;case 3:return ua(a),od(a),b=a.effectTag,0!==(b&64)?n("285"):void 0,a.effectTag=b&-1025|64,a;case 5:return yd(a),null;case 13:b=a.effectTag;if(b&1024){a.effectTag=
|
f=void 0!==f&&null!==f&&f.hasOwnProperty("display")?f.display:null,a.style.display=ef("display",f));else if(6===b.tag)b.stateNode.nodeValue=d?"":b.memoizedProps;else if(13===b.tag&&null!==b.memoizedState){a=b.child.sibling;a.return=b;b=a;continue}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===c)break a;for(;null===b.sibling;){if(null===b.return||b.return===c)break a;b=b.return}b.sibling.return=b.return;b=b.sibling}break;case 17:break;default:p("163")}}function Gd(a,b,c){c=pa(c);
|
||||||
b&-1025|64;b=a.alternate;b=null!==b?b.memoizedState:null;var c=a.memoizedState;null===c?c={alreadyCaptured:!0,didTimeout:!1,timedOutAt:0}:b===c?c={alreadyCaptured:!0,didTimeout:c.didTimeout,timedOutAt:c.timedOutAt}:c.alreadyCaptured=!0;a.memoizedState=c;return a}return null;case 4:return ua(a),null;case 10:return wd(a),null;default:return null}}function Yf(){if(null!==B)for(var a=B.return;null!==a;){var b=a;switch(b.tag){case 1:var c=b.type.childContextTypes;null!==c&&void 0!==c&&dc(b);break;case 3:ua(b);
|
c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Hd(d);Pf(a,b)};return c}function Xf(a,b,c){c=pa(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===sa?sa=new Set([this]):sa.add(this));var c=b.value,e=b.stack;Pf(a,b);this.componentDidCatch(c,{componentStack:null!==e?e:""})});return c}function qh(a,
|
||||||
od(b);break;case 5:yd(b);break;case 4:ua(b);break;case 10:wd(b)}a=a.return}pa=null;J=0;Z=-1;Hd=!1;B=null}function Zf(a){for(;;){var b=a.alternate,c=a.return,d=a.sibling;if(0===(a.effectTag&512)){var e=b;b=a;var f=b.pendingProps;switch(b.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:M(b.type)&&dc(b);break;case 3:ua(b);od(b);f=b.stateNode;f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null);if(null===e||null===e.child)Ad(b),b.effectTag&=-3;Id(b);break;case 5:yd(b);var g=
|
b){switch(a.tag){case 1:return E(a.type)&&cc(a),b=a.effectTag,b&2048?(a.effectTag=b&-2049|64,a):null;case 3:return Ra(a),pd(a),b=a.effectTag,0!==(b&64)?p("285"):void 0,a.effectTag=b&-2049|64,a;case 5:return zd(a),null;case 13:return b=a.effectTag,b&2048?(a.effectTag=b&-2049|64,a):null;case 4:return Ra(a),null;case 10:return xd(a),null;default:return null}}function Yf(){if(null!==B)for(var a=B.return;null!==a;){var b=a;switch(b.tag){case 1:var c=b.type.childContextTypes;null!==c&&void 0!==c&&cc(b);
|
||||||
Ca(sb.current),h=b.type;if(null!==e&&null!=b.stateNode)$f(e,b,h,f,g),e.ref!==b.ref&&(b.effectTag|=128);else if(f){var k=Ca(U.current);if(Ad(b)){f=b;e=f.stateNode;var l=f.type,m=f.memoizedProps,p=g;e[V]=f;e[Ob]=m;h=void 0;g=l;switch(g){case "iframe":case "object":r("load",e);break;case "video":case "audio":for(l=0;l<nb.length;l++)r(nb[l],e);break;case "source":r("error",e);break;case "img":case "image":case "link":r("error",e);r("load",e);break;case "form":r("reset",e);r("submit",e);break;case "details":r("toggle",
|
break;case 3:Ra(b);pd(b);break;case 5:zd(b);break;case 4:Ra(b);break;case 10:xd(b)}a=a.return}U=null;H=0;Ba=-1;Id=!1;B=null}function yb(){null!==Zf&&($f(rh),Zf())}function ag(a){for(;;){var b=a.alternate,c=a.return,d=a.sibling;if(0===(a.effectTag&1024)){B=a;a:{var e=b;b=a;var f=H;var g=b.pendingProps;switch(b.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:E(b.type)&&cc(b);break;case 3:Ra(b);pd(b);g=b.stateNode;g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null);if(null===
|
||||||
e);break;case "input":He(e,m);r("invalid",e);T(p,"onChange");break;case "select":e._wrapperState={wasMultiple:!!m.multiple};r("invalid",e);T(p,"onChange");break;case "textarea":df(e,m),r("invalid",e),T(p,"onChange")}jd(g,m);l=null;for(h in m)m.hasOwnProperty(h)&&(k=m[h],"children"===h?"string"===typeof k?e.textContent!==k&&(l=["children",k]):"number"===typeof k&&e.textContent!==""+k&&(l=["children",""+k]):Ta.hasOwnProperty(h)&&null!=k&&T(p,h));switch(g){case "input":Ub(e);Je(e,m,!0);break;case "textarea":Ub(e);
|
e||null===e.child)Bd(b),b.effectTag&=-3;Jd(b);break;case 5:zd(b);var h=ya(sb.current);f=b.type;if(null!==e&&null!=b.stateNode)bg(e,b,f,g,h),e.ref!==b.ref&&(b.effectTag|=128);else if(g){var k=ya(S.current);if(Bd(b)){g=b;e=g.stateNode;var l=g.type,m=g.memoizedProps,n=h;e[Z]=g;e[Nb]=m;f=void 0;h=l;switch(h){case "iframe":case "object":v("load",e);break;case "video":case "audio":for(l=0;l<mb.length;l++)v(mb[l],e);break;case "source":v("error",e);break;case "img":case "image":case "link":v("error",e);
|
||||||
h=e.textContent;h===e._wrapperState.initialValue&&(e.value=h);break;case "select":case "option":break;default:"function"===typeof m.onClick&&(e.onclick=cc)}h=l;f.updateQueue=h;f=null!==h?!0:!1;f&&vb(b)}else{m=b;e=h;p=f;l=9===g.nodeType?g:g.ownerDocument;"http://www.w3.org/1999/xhtml"===k&&(k=ff(e));"http://www.w3.org/1999/xhtml"===k?"script"===e?(e=l.createElement("div"),e.innerHTML="<script>\x3c/script>",l=e.removeChild(e.firstChild)):"string"===typeof p.is?l=l.createElement(e,{is:p.is}):(l=l.createElement(e),
|
v("load",e);break;case "form":v("reset",e);v("submit",e);break;case "details":v("toggle",e);break;case "input":Fe(e,m);v("invalid",e);ba(n,"onChange");break;case "select":e._wrapperState={wasMultiple:!!m.multiple};v("invalid",e);ba(n,"onChange");break;case "textarea":bf(e,m),v("invalid",e),ba(n,"onChange")}kd(h,m);l=null;for(f in m)m.hasOwnProperty(f)&&(k=m[f],"children"===f?"string"===typeof k?e.textContent!==k&&(l=["children",k]):"number"===typeof k&&e.textContent!==""+k&&(l=["children",""+k]):
|
||||||
"select"===e&&p.multiple&&(l.multiple=!0)):l=l.createElementNS(k,e);e=l;e[V]=m;e[Ob]=f;ag(e,b,!1,!1);m=e;l=h;p=f;var cb=g,x=kd(l,p);switch(l){case "iframe":case "object":r("load",m);g=p;break;case "video":case "audio":for(g=0;g<nb.length;g++)r(nb[g],m);g=p;break;case "source":r("error",m);g=p;break;case "img":case "image":case "link":r("error",m);r("load",m);g=p;break;case "form":r("reset",m);r("submit",m);g=p;break;case "details":r("toggle",m);g=p;break;case "input":He(m,p);g=Yc(m,p);r("invalid",
|
Ea.hasOwnProperty(f)&&null!=k&&ba(n,f));switch(h){case "input":Tb(e);He(e,m,!0);break;case "textarea":Tb(e);f=e.textContent;f===e._wrapperState.initialValue&&(e.value=f);break;case "select":case "option":break;default:"function"===typeof m.onClick&&(e.onclick=bc)}f=l;g.updateQueue=f;g=null!==f?!0:!1;g&&wb(b)}else{m=b;e=f;n=g;l=9===h.nodeType?h:h.ownerDocument;"http://www.w3.org/1999/xhtml"===k&&(k=df(e));"http://www.w3.org/1999/xhtml"===k?"script"===e?(e=l.createElement("div"),e.innerHTML="<script>\x3c/script>",
|
||||||
m);T(cb,"onChange");break;case "option":g=gd(m,p);break;case "select":m._wrapperState={wasMultiple:!!p.multiple};g=E({},p,{value:void 0});r("invalid",m);T(cb,"onChange");break;case "textarea":df(m,p);g=hd(m,p);r("invalid",m);T(cb,"onChange");break;default:g=p}jd(l,g);k=void 0;var u=l,H=m,v=g;for(k in v)if(v.hasOwnProperty(k)){var q=v[k];"style"===k?gf(H,q):"dangerouslySetInnerHTML"===k?(q=q?q.__html:void 0,null!=q&&Wf(H,q)):"children"===k?"string"===typeof q?("textarea"!==u||""!==q)&&xb(H,q):"number"===
|
l=e.removeChild(e.firstChild)):"string"===typeof n.is?l=l.createElement(e,{is:n.is}):(l=l.createElement(e),"select"===e&&n.multiple&&(l.multiple=!0)):l=l.createElementNS(k,e);e=l;e[Z]=m;e[Nb]=g;cg(e,b,!1,!1);m=e;l=f;n=g;var x=h,z=ld(l,n);switch(l){case "iframe":case "object":v("load",m);h=n;break;case "video":case "audio":for(h=0;h<mb.length;h++)v(mb[h],m);h=n;break;case "source":v("error",m);h=n;break;case "img":case "image":case "link":v("error",m);v("load",m);h=n;break;case "form":v("reset",m);
|
||||||
typeof q&&xb(H,""+q):"suppressContentEditableWarning"!==k&&"suppressHydrationWarning"!==k&&"autoFocus"!==k&&(Ta.hasOwnProperty(k)?null!=q&&T(cb,k):null!=q&&Xc(H,k,q,x))}switch(l){case "input":Ub(m);Je(m,p,!1);break;case "textarea":Ub(m);g=m.textContent;g===m._wrapperState.initialValue&&(m.value=g);break;case "option":null!=p.value&&m.setAttribute("value",""+S(p.value));break;case "select":g=m;m=p;g.multiple=!!m.multiple;p=m.value;null!=p?za(g,!!m.multiple,p,!1):null!=m.defaultValue&&za(g,!!m.multiple,
|
v("submit",m);h=n;break;case "details":v("toggle",m);h=n;break;case "input":Fe(m,n);h=Zc(m,n);v("invalid",m);ba(x,"onChange");break;case "option":h=hd(m,n);break;case "select":m._wrapperState={wasMultiple:!!n.multiple};h=y({},n,{value:void 0});v("invalid",m);ba(x,"onChange");break;case "textarea":bf(m,n);h=id(m,n);v("invalid",m);ba(x,"onChange");break;default:h=n}kd(l,h);k=void 0;var vb=l,u=m,C=h;for(k in C)if(C.hasOwnProperty(k)){var r=C[k];"style"===k?ff(u,r):"dangerouslySetInnerHTML"===k?(r=r?
|
||||||
m.defaultValue,!0);break;default:"function"===typeof g.onClick&&(m.onclick=cc)}(f=hf(h,f))&&vb(b);b.stateNode=e}null!==b.ref&&(b.effectTag|=128)}else null===b.stateNode?n("166"):void 0;break;case 6:e&&null!=b.stateNode?bg(e,b,e.memoizedProps,f):("string"!==typeof f&&(null===b.stateNode?n("166"):void 0),e=Ca(sb.current),Ca(U.current),Ad(b)?(f=b,h=f.stateNode,e=f.memoizedProps,h[V]=f,(f=h.nodeValue!==e)&&vb(b)):(h=b,f=(9===e.nodeType?e:e.ownerDocument).createTextNode(f),f[V]=b,h.stateNode=f));break;
|
r.__html:void 0,null!=r&&Wf(u,r)):"children"===k?"string"===typeof r?("textarea"!==vb||""!==r)&&xb(u,r):"number"===typeof r&&xb(u,""+r):"suppressContentEditableWarning"!==k&&"suppressHydrationWarning"!==k&&"autoFocus"!==k&&(Ea.hasOwnProperty(k)?null!=r&&ba(x,k):null!=r&&Yc(u,k,r,z))}switch(l){case "input":Tb(m);He(m,n,!1);break;case "textarea":Tb(m);h=m.textContent;h===m._wrapperState.initialValue&&(m.value=h);break;case "option":null!=n.value&&m.setAttribute("value",""+ma(n.value));break;case "select":h=
|
||||||
case 11:break;case 13:f=b.memoizedState;h=null!==e?e.memoizedState:null;(null!==f&&f.didTimeout)!==(null!==h&&h.didTimeout)&&(b.effectTag|=4);break;case 7:break;case 8:break;case 12:break;case 4:ua(b);Id(b);break;case 10:wd(b);break;case 9:break;case 14:break;case 17:M(b.type)&&dc(b);break;default:n("156")}B=null;b=a;if(1073741823===J||1073741823!==b.childExpirationTime){f=0;for(h=b.child;null!==h;){e=h.expirationTime;g=h.childExpirationTime;if(0===f||0!==e&&e<f)f=e;if(0===f||0!==g&&g<f)f=g;h=h.sibling}b.childExpirationTime=
|
m;m=n;h.multiple=!!m.multiple;n=m.value;null!=n?Na(h,!!m.multiple,n,!1):null!=m.defaultValue&&Na(h,!!m.multiple,m.defaultValue,!0);break;default:"function"===typeof h.onClick&&(m.onclick=bc)}(g=gf(f,g))&&wb(b);b.stateNode=e}null!==b.ref&&(b.effectTag|=128)}else null===b.stateNode?p("166"):void 0;break;case 6:e&&null!=b.stateNode?dg(e,b,e.memoizedProps,g):("string"!==typeof g&&(null===b.stateNode?p("166"):void 0),e=ya(sb.current),ya(S.current),Bd(b)?(g=b,f=g.stateNode,e=g.memoizedProps,f[Z]=g,(g=f.nodeValue!==
|
||||||
f}null!==c&&0===(c.effectTag&512)&&(null===c.firstEffect&&(c.firstEffect=a.firstEffect),null!==a.lastEffect&&(null!==c.lastEffect&&(c.lastEffect.nextEffect=a.firstEffect),c.lastEffect=a.lastEffect),1<a.effectTag&&(null!==c.lastEffect?c.lastEffect.nextEffect=a:c.firstEffect=a,c.lastEffect=a))}else{a=qh(a,J);if(null!==a)return a.effectTag&=511,a;null!==c&&(c.firstEffect=c.lastEffect=null,c.effectTag|=512)}if(null!==d)return d;if(null!==c)a=c;else break}return null}function cg(a){var b=ph(a.alternate,
|
e)&&wb(b)):(f=b,g=(9===e.nodeType?e:e.ownerDocument).createTextNode(g),g[Z]=b,f.stateNode=g));break;case 11:break;case 13:g=b.memoizedState;if(0!==(b.effectTag&64)){b.expirationTime=f;B=b;break a}g=null!==g;f=null!==e&&null!==e.memoizedState;null!==e&&!g&&f&&(e=e.child.sibling,null!==e&&(h=b.firstEffect,null!==h?(b.firstEffect=e,e.nextEffect=h):(b.firstEffect=b.lastEffect=e,e.nextEffect=null),e.effectTag=8));if(g!==f||0===(b.effectTag&1)&&g)b.effectTag|=4;break;case 7:break;case 8:break;case 12:break;
|
||||||
a,J);a.memoizedProps=a.pendingProps;null===b&&(b=Zf(a));tc.current=null;return b}function dg(a,b,c){Pa?n("243"):void 0;Pa=!0;tc.currentDispatcher=rh;var d=a.nextExpirationTimeToWorkOn;if(d!==J||a!==pa||null===B)Yf(),pa=a,J=d,B=Aa(pa.current,null,J),a.pendingCommitExpirationTime=0;var e=!1;do{try{if(b)for(;null!==B&&!Jd();)B=cg(B);else for(;null!==B;)B=cg(B)}catch(H){if(null===B)e=!0,Gd(H);else{null===B?n("271"):void 0;var f=B,g=f.return;if(null===g)e=!0,Gd(H);else{a:{var h=a,k=g,l=f,m=H;g=J;l.effectTag|=
|
case 4:Ra(b);Jd(b);break;case 10:xd(b);break;case 9:break;case 14:break;case 17:E(b.type)&&cc(b);break;default:p("156")}B=null}b=a;if(1===H||1!==b.childExpirationTime){g=0;for(f=b.child;null!==f;)e=f.expirationTime,h=f.childExpirationTime,e>g&&(g=e),h>g&&(g=h),f=f.sibling;b.childExpirationTime=g}if(null!==B)return B;null!==c&&0===(c.effectTag&1024)&&(null===c.firstEffect&&(c.firstEffect=a.firstEffect),null!==a.lastEffect&&(null!==c.lastEffect&&(c.lastEffect.nextEffect=a.firstEffect),c.lastEffect=
|
||||||
512;l.firstEffect=l.lastEffect=null;if(null!==m&&"object"===typeof m&&"function"===typeof m.then){var p=m;m=k;var r=-1,x=-1;do{if(13===m.tag){var u=m.alternate;if(null!==u&&(u=u.memoizedState,null!==u&&u.didTimeout)){x=10*(u.timedOutAt-2);break}u=m.pendingProps.maxDuration;if("number"===typeof u)if(0>=u)r=0;else if(-1===r||u<r)r=u}m=m.return}while(null!==m);m=k;do{if(u=13===m.tag)void 0===m.memoizedProps.fallback?u=!1:(u=m.memoizedState,u=null===u||!u.didTimeout);if(u){k=sh.bind(null,h,m,l,0===(m.mode&
|
a.lastEffect),1<a.effectTag&&(null!==c.lastEffect?c.lastEffect.nextEffect=a:c.firstEffect=a,c.lastEffect=a))}else{a=qh(a,H);if(null!==a)return a.effectTag&=1023,a;null!==c&&(c.firstEffect=c.lastEffect=null,c.effectTag|=1024)}if(null!==d)return d;if(null!==c)a=c;else break}return null}function eg(a){var b=ph(a.alternate,a,H);a.memoizedProps=a.pendingProps;null===b&&(b=ag(a));pc.current=null;return b}function fg(a,b){ta?p("243"):void 0;yb();ta=!0;pc.currentDispatcher=sh;var c=a.nextExpirationTimeToWorkOn;
|
||||||
1)?1:g);p.then(k,k);if(0===(m.mode&1)){m.effectTag|=32;Q(l.alternate,l,null,g);l.effectTag&=-513;1===l.tag&&(l.effectTag&=-421,null===l.alternate&&(l.tag=17));break a}-1===r?h=1073741823:(-1===x&&(x=10*(qf(h,g)-2)-5E3),h=x+r);0<=h&&Z<h&&(Z=h);m.effectTag|=1024;m.expirationTime=g;break a}m=m.return}while(null!==m);m=Error("An update was suspended, but no placeholder UI was provided.")}Hd=!0;m=kc(m,l);h=k;do{switch(h.tag){case 3:l=m;h.effectTag|=1024;h.expirationTime=g;g=Fd(h,l,g);rf(h,g);break a;case 1:if(l=
|
if(c!==H||a!==U||null===B)Yf(),U=a,H=c,B=wa(U.current,null,H),a.pendingCommitExpirationTime=0;var d=!1;do{try{if(b)for(;null!==B&&!qc();)B=eg(B);else for(;null!==B;)B=eg(B)}catch(vb){if(qb=xa=pb=null,null===B)d=!0,Hd(vb);else{null===B?p("271"):void 0;var e=B,f=e.return;if(null===f)d=!0,Hd(vb);else{a:{var g=a,h=f,k=e,l=vb;f=H;k.effectTag|=1024;k.firstEffect=k.lastEffect=null;if(null!==l&&"object"===typeof l&&"function"===typeof l.then){var m=l;l=h;var n=-1,v=-1;do{if(13===l.tag){var z=l.alternate;
|
||||||
m,k=h.type,p=h.stateNode,0===(h.effectTag&64)&&("function"===typeof k.getDerivedStateFromError||null!==p&&"function"===typeof p.componentDidCatch&&(null===Za||!Za.has(p)))){h.effectTag|=1024;h.expirationTime=g;g=Xf(h,l,g);rf(h,g);break a}}h=h.return}while(null!==h)}B=Zf(f);continue}}}break}while(1);Pa=!1;mc=Xa=lc=tc.currentDispatcher=null;if(e)pa=null,a.finishedWork=null;else if(null!==B)a.finishedWork=null;else{b=a.current.alternate;null===b?n("281"):void 0;pa=null;if(Hd){e=a.latestPendingTime;f=
|
if(null!==z&&(z=z.memoizedState,null!==z)){v=10*(1073741822-z.timedOutAt);break}z=l.pendingProps.maxDuration;if("number"===typeof z)if(0>=z)n=0;else if(-1===n||z<n)n=z}l=l.return}while(null!==l);l=h;do{if(z=13===l.tag)z=void 0===l.memoizedProps.fallback?!1:null===l.memoizedState;if(z){h=th.bind(null,g,l,k,0===(l.mode&1)?1073741823:f);m.then(h,h);if(0===(l.mode&1)){l.effectTag|=64;k.effectTag&=-1957;1===k.tag&&null===k.alternate&&(k.tag=17);k.expirationTime=f;break a}-1===n?g=1073741823:(-1===v&&(v=
|
||||||
a.latestSuspendedTime;g=a.latestPingedTime;if(0!==e&&e>d||0!==f&&f>d||0!==g&&g>d){pf(a,d);Kd(a,b,d,a.expirationTime,-1);return}if(!a.didError&&!c){a.didError=!0;d=a.nextExpirationTimeToWorkOn=d;c=a.expirationTime=1;Kd(a,b,d,c,-1);return}}c||-1===Z?(a.pendingCommitExpirationTime=d,a.finishedWork=b):(pf(a,d),c=10*(qf(a,d)-2),c<Z&&(Z=c),c=10*($a()-2),c=Z-c,Kd(a,b,d,a.expirationTime,0>c?0:c))}}function wb(a,b){var c;a:{Pa&&!yb?n("263"):void 0;for(c=a.return;null!==c;){switch(c.tag){case 1:var d=c.stateNode;
|
10*(1073741822-pf(g,f))-5E3),g=v+n);0<=g&&Ba<g&&(Ba=g);l.effectTag|=2048;l.expirationTime=f;break a}l=l.return}while(null!==l);l=Error((ka(k.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+Xc(k))}Id=!0;l=ic(l,k);g=h;do{switch(g.tag){case 3:k=l;g.effectTag|=2048;g.expirationTime=f;f=Gd(g,k,f);qf(g,f);break a;case 1:if(k=l,h=g.type,m=g.stateNode,
|
||||||
if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Za||!Za.has(d))){a=kc(b,a);a=Xf(c,a,1);na(c,a);ab(c,1);c=void 0;break a}break;case 3:a=kc(b,a);a=Fd(c,a,1);na(c,a);ab(c,1);c=void 0;break a}c=c.return}3===a.tag&&(c=kc(b,a),c=Fd(a,c,1),na(a,c),ab(a,1));c=void 0}return c}function zb(a,b){0!==Ab?a=Ab:Pa?a=yb?1:J:b.mode&1?(a=wa?2+10*(((a-2+15)/10|0)+1):2+25*(((a-2+500)/25|0)+1),null!==pa&&a===J&&(a+=1)):a=1;wa&&a>qa&&(qa=a);return a}function sh(a,
|
0===(g.effectTag&64)&&("function"===typeof h.getDerivedStateFromError||null!==m&&"function"===typeof m.componentDidCatch&&(null===sa||!sa.has(m)))){g.effectTag|=2048;g.expirationTime=f;f=Xf(g,k,f);qf(g,f);break a}}g=g.return}while(null!==g)}B=ag(e);continue}}}break}while(1);ta=!1;qb=xa=pb=pc.currentDispatcher=null;if(d)U=null,a.finishedWork=null;else if(null!==B)a.finishedWork=null;else{d=a.current.alternate;null===d?p("281"):void 0;U=null;if(Id){e=a.latestPendingTime;f=a.latestSuspendedTime;g=a.latestPingedTime;
|
||||||
b,c,d){var e=a.earliestSuspendedTime;var f=a.latestSuspendedTime;if(0!==e&&d>=e&&d<=f){f=e=d;a.didError=!1;var g=a.latestPingedTime;if(0===g||g<f)a.latestPingedTime=f;gc(f,a)}else e=$a(),e=zb(e,b),ob(a,e);0!==(b.mode&1)&&a===pa&&J===d&&(pa=null);Ld(b,e);0===(b.mode&1)&&(Ld(c,e),1===c.tag&&null!==c.stateNode&&(b=Y(e),b.tag=2,na(c,b)));c=a.expirationTime;0!==c&&eg(a,c)}function Ld(a,b){if(0===a.expirationTime||a.expirationTime>b)a.expirationTime=b;var c=a.alternate;null!==c&&(0===c.expirationTime||
|
if(0!==e&&e<c||0!==f&&f<c||0!==g&&g<c){of(a,c);Kd(a,d,c,a.expirationTime,-1);return}if(!a.didError&&b){a.didError=!0;c=a.nextExpirationTimeToWorkOn=c;b=a.expirationTime=1073741823;Kd(a,d,c,b,-1);return}}b&&-1!==Ba?(of(a,c),b=10*(1073741822-pf(a,c)),b<Ba&&(Ba=b),b=10*(1073741822-ra()),b=Ba-b,Kd(a,d,c,a.expirationTime,0>b?0:b)):(a.pendingCommitExpirationTime=c,a.finishedWork=d)}}function Va(a,b){for(var c=a.return;null!==c;){switch(c.tag){case 1:var d=c.stateNode;if("function"===typeof c.type.getDerivedStateFromError||
|
||||||
c.expirationTime>b)&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;if(0===d.childExpirationTime||d.childExpirationTime>b)d.childExpirationTime=b;null!==c&&(0===c.childExpirationTime||c.childExpirationTime>b)&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}return null===e?null:e}function ab(a,b){a=Ld(a,b);null!==a&&(!Pa&&0!==J&&b<J&&Yf(),ob(a,b),Pa&&!yb&&pa===a||eg(a,a.expirationTime),Bb>th&&
|
"function"===typeof d.componentDidCatch&&(null===sa||!sa.has(d))){a=ic(b,a);a=Xf(c,a,1073741823);ca(c,a);Ca(c,1073741823);return}break;case 3:a=ic(b,a);a=Gd(c,a,1073741823);ca(c,a);Ca(c,1073741823);return}c=c.return}3===a.tag&&(c=ic(b,a),c=Gd(a,c,1073741823),ca(a,c),Ca(a,1073741823))}function zb(a,b){0!==Ab?a=Ab:ta?a=rc?1073741823:H:b.mode&1?(a=Wa?1073741822-10*(((1073741822-a+15)/10|0)+1):1073741822-25*(((1073741822-a+500)/25|0)+1),null!==U&&a===H&&--a):a=1073741823;Wa&&(0===ea||a<ea)&&(ea=a);return a}
|
||||||
(Bb=0,n("185")))}function fg(a,b,c,d,e){var f=Ab;Ab=1;try{return a(b,c,d,e)}finally{Ab=f}}function Cb(){da=((Md()-Nd)/10|0)+2}function gg(a,b){if(0!==uc){if(b>uc)return;null!==vc&&uh(vc)}uc=b;a=Md()-Nd;vc=vh(wh,{timeout:10*(b-2)-a})}function Kd(a,b,c,d,e){a.expirationTime=d;0!==e||Jd()?0<e&&(a.timeoutHandle=xh(yh.bind(null,a,b,c),e)):(a.pendingCommitExpirationTime=c,a.finishedWork=b)}function yh(a,b,c){a.pendingCommitExpirationTime=c;a.finishedWork=b;Cb();Qa=da;hg(a,c)}function $a(){if(I)return Qa;
|
function th(a,b,c,d){var e=a.earliestSuspendedTime;var f=a.latestSuspendedTime;if(0!==e&&d<=e&&d>=f){f=e=d;a.didError=!1;var g=a.latestPingedTime;if(0===g||g>f)a.latestPingedTime=f;fc(f,a)}else e=ra(),e=zb(e,b),nb(a,e);0!==(b.mode&1)&&a===U&&H===d&&(U=null);Ld(b,e);0===(b.mode&1)&&(Ld(c,e),1===c.tag&&null!==c.stateNode&&(b=pa(e),b.tag=2,ca(c,b)));c=a.expirationTime;0!==c&&gg(a,c)}function Ld(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=
|
||||||
wc();if(0===A||1073741823===A)Cb(),Qa=da;return Qa}function eg(a,b){if(null===a.nextScheduledRoot)a.expirationTime=b,null===w?(ea=w=a,a.nextScheduledRoot=a):(w=w.nextScheduledRoot=a,w.nextScheduledRoot=ea);else{var c=a.expirationTime;if(0===c||b<c)a.expirationTime=b}I||(C?xc&&(aa=a,A=1,yc(a,1,!0)):1===b?R(1,null):gg(a,b))}function wc(){var a=0,b=null;if(null!==w)for(var c=w,d=ea;null!==d;){var e=d.expirationTime;if(0===e){null===c||null===w?n("244"):void 0;if(d===d.nextScheduledRoot){ea=w=d.nextScheduledRoot=
|
b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;d.childExpirationTime<b&&(d.childExpirationTime=b);null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}return e}function Ca(a,b){a=Ld(a,b);null!==a&&(!ta&&0!==H&&b>H&&Yf(),nb(a,b),ta&&!rc&&U===a||gg(a,a.expirationTime),Bb>uh&&(Bb=0,p("185")))}function hg(a,b,c,d,e){var f=Ab;Ab=1073741823;try{return a(b,c,d,e)}finally{Ab=f}}function Cb(){V=
|
||||||
null;break}else if(d===ea)ea=e=d.nextScheduledRoot,w.nextScheduledRoot=e,d.nextScheduledRoot=null;else if(d===w){w=c;w.nextScheduledRoot=ea;d.nextScheduledRoot=null;break}else c.nextScheduledRoot=d.nextScheduledRoot,d.nextScheduledRoot=null;d=c.nextScheduledRoot}else{if(0===a||e<a)a=e,b=d;if(d===w)break;if(1===a)break;c=d;d=d.nextScheduledRoot}}aa=b;A=a}function wh(a){if(a.didTimeout&&null!==ea){Cb();var b=ea;do{var c=b.expirationTime;0!==c&&da>=c&&(b.nextExpirationTimeToWorkOn=da);b=b.nextScheduledRoot}while(b!==
|
1073741822-((Md()-Nd)/10|0)}function ig(a,b){if(0!==sc){if(b<sc)return;null!==tc&&$f(tc)}sc=b;a=Md()-Nd;tc=vh(wh,{timeout:10*(1073741822-b)-a})}function Kd(a,b,c,d,e){a.expirationTime=d;0!==e||qc()?0<e&&(a.timeoutHandle=xh(yh.bind(null,a,b,c),e)):(a.pendingCommitExpirationTime=c,a.finishedWork=b)}function yh(a,b,c){a.pendingCommitExpirationTime=c;a.finishedWork=b;Cb();Xa=V;jg(a,c)}function ra(){if(M)return Xa;uc();if(0===u||1===u)Cb(),Xa=V;return Xa}function gg(a,b){null===a.nextScheduledRoot?(a.expirationTime=
|
||||||
ea)}R(0,a)}function R(a,b){Ea=b;wc();if(null!==Ea)for(Cb(),Qa=da;null!==aa&&0!==A&&(0===a||a>=A)&&(!zc||da>=A);)yc(aa,A,da>=A),wc(),Cb(),Qa=da;else for(;null!==aa&&0!==A&&(0===a||a>=A);)yc(aa,A,!0),wc();null!==Ea&&(uc=0,vc=null);0!==A&&gg(aa,A);Ea=null;zc=!1;Bb=0;Od=null;if(null!==db)for(a=db,db=null,b=0;b<a.length;b++){var c=a[b];try{c._onComplete()}catch(d){Fa||(Fa=!0,Ac=d)}}if(Fa)throw a=Ac,Ac=null,Fa=!1,a;}function hg(a,b){I?n("253"):void 0;aa=a;A=b;yc(a,b,!0);R(1,null)}function yc(a,b,c){I?n("245"):
|
b,null===N?(W=N=a,a.nextScheduledRoot=a):(N=N.nextScheduledRoot=a,N.nextScheduledRoot=W)):b>a.expirationTime&&(a.expirationTime=b);M||(C?vc&&(X=a,u=1073741823,wc(a,1073741823,!1)):1073741823===b?fa(1073741823,!1):ig(a,b))}function uc(){var a=0,b=null;if(null!==N)for(var c=N,d=W;null!==d;){var e=d.expirationTime;if(0===e){null===c||null===N?p("244"):void 0;if(d===d.nextScheduledRoot){W=N=d.nextScheduledRoot=null;break}else if(d===W)W=e=d.nextScheduledRoot,N.nextScheduledRoot=e,d.nextScheduledRoot=
|
||||||
void 0;I=!0;if(null===Ea||c){var d=a.finishedWork;null!==d?Bc(a,d,b):(a.finishedWork=null,d=a.timeoutHandle,-1!==d&&(a.timeoutHandle=-1,ig(d)),dg(a,!1,c),d=a.finishedWork,null!==d&&Bc(a,d,b))}else d=a.finishedWork,null!==d?Bc(a,d,b):(a.finishedWork=null,d=a.timeoutHandle,-1!==d&&(a.timeoutHandle=-1,ig(d)),dg(a,!0,c),d=a.finishedWork,null!==d&&(Jd()?a.finishedWork=d:Bc(a,d,b)));I=!1}function Bc(a,b,c){var d=a.firstBatch;if(null!==d&&d._expirationTime<=c&&(null===db?db=[d]:db.push(d),d._defer)){a.finishedWork=
|
null;else if(d===N){N=c;N.nextScheduledRoot=W;d.nextScheduledRoot=null;break}else c.nextScheduledRoot=d.nextScheduledRoot,d.nextScheduledRoot=null;d=c.nextScheduledRoot}else{e>a&&(a=e,b=d);if(d===N)break;if(1073741823===a)break;c=d;d=d.nextScheduledRoot}}X=b;u=a}function qc(){return xc?!0:zh()?xc=!0:!1}function wh(){try{if(!qc()&&null!==W){Cb();var a=W;do{var b=a.expirationTime;0!==b&&V<=b&&(a.nextExpirationTimeToWorkOn=V);a=a.nextScheduledRoot}while(a!==W)}fa(0,!0)}finally{xc=!1}}function fa(a,b){uc();
|
||||||
b;a.expirationTime=0;return}a.finishedWork=null;a===Od?Bb++:(Od=a,Bb=0);yb=Pa=!0;a.current===b?n("177"):void 0;var e=a.pendingCommitExpirationTime;0===e?n("261"):void 0;a.pendingCommitExpirationTime=0;var f=b.expirationTime,g=b.childExpirationTime,h=0===f||0!==g&&g<f?g:f;a.didError=!1;if(0===h)a.earliestPendingTime=0,a.latestPendingTime=0,a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0;else{var k=a.latestPendingTime;0!==k&&(k<h?a.earliestPendingTime=a.latestPendingTime=0:a.earliestPendingTime<
|
if(b)for(Cb(),Xa=V;null!==X&&0!==u&&a<=u&&!(xc&&V>u);)wc(X,u,V>u),uc(),Cb(),Xa=V;else for(;null!==X&&0!==u&&a<=u;)wc(X,u,!1),uc();b&&(sc=0,tc=null);0!==u&&ig(X,u);Bb=0;Od=null;if(null!==Ya)for(a=Ya,Ya=null,b=0;b<a.length;b++){var c=a[b];try{c._onComplete()}catch(d){Za||(Za=!0,yc=d)}}if(Za)throw a=yc,yc=null,Za=!1,a;}function jg(a,b){M?p("253"):void 0;X=a;u=b;wc(a,b,!1);fa(1073741823,!1)}function wc(a,b,c){M?p("245"):void 0;M=!0;if(c){var d=a.finishedWork;null!==d?zc(a,d,b):(a.finishedWork=null,d=
|
||||||
h&&(a.earliestPendingTime=a.latestPendingTime));var l=a.earliestSuspendedTime;0===l?ob(a,h):h>a.latestSuspendedTime?(a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0,ob(a,h)):h<l&&ob(a,h)}gc(0,a);tc.current=null;if(1<b.effectTag)if(null!==b.lastEffect){b.lastEffect.nextEffect=b;var m=b.firstEffect}else m=b;else m=b.firstEffect;Pd=$b;var r=af();if(dd(r)){if("selectionStart"in r)var x={start:r.selectionStart,end:r.selectionEnd};else a:{var B=r.ownerDocument,u=B&&B.defaultView||
|
a.timeoutHandle,-1!==d&&(a.timeoutHandle=-1,kg(d)),fg(a,c),d=a.finishedWork,null!==d&&(qc()?a.finishedWork=d:zc(a,d,b)))}else d=a.finishedWork,null!==d?zc(a,d,b):(a.finishedWork=null,d=a.timeoutHandle,-1!==d&&(a.timeoutHandle=-1,kg(d)),fg(a,c),d=a.finishedWork,null!==d&&zc(a,d,b));M=!1}function zc(a,b,c){var d=a.firstBatch;if(null!==d&&d._expirationTime>=c&&(null===Ya?Ya=[d]:Ya.push(d),d._defer)){a.finishedWork=b;a.expirationTime=0;return}a.finishedWork=null;a===Od?Bb++:(Od=a,Bb=0);rc=ta=!0;a.current===
|
||||||
window,H=u.getSelection&&u.getSelection();if(H&&0!==H.rangeCount){var v=H.anchorNode,q=H.anchorOffset,t=H.focusNode,E=H.focusOffset;try{v.nodeType,t.nodeType}catch(eb){x=null;break a}var A=0,C=-1,F=-1,M=0,O=0,w=r,D=null;b:for(;;){for(var G;;){w!==v||0!==q&&3!==w.nodeType||(C=A+q);w!==t||0!==E&&3!==w.nodeType||(F=A+E);3===w.nodeType&&(A+=w.nodeValue.length);if(null===(G=w.firstChild))break;D=w;w=G}for(;;){if(w===r)break b;D===v&&++M===q&&(C=A);D===t&&++O===E&&(F=A);if(null!==(G=w.nextSibling))break;
|
b?p("177"):void 0;c=a.pendingCommitExpirationTime;0===c?p("261"):void 0;a.pendingCommitExpirationTime=0;d=b.expirationTime;var e=b.childExpirationTime;d=e>d?e:d;a.didError=!1;0===d?(a.earliestPendingTime=0,a.latestPendingTime=0,a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0):(e=a.latestPendingTime,0!==e&&(e>d?a.earliestPendingTime=a.latestPendingTime=0:a.earliestPendingTime>d&&(a.earliestPendingTime=a.latestPendingTime)),e=a.earliestSuspendedTime,0===e?nb(a,d):d<a.latestSuspendedTime?
|
||||||
w=D;D=w.parentNode}w=G}x=-1===C||-1===F?null:{start:C,end:F}}else x=null}var L=x||{start:0,end:0}}else L=null;Qd={focusedElem:r,selectionRange:L};$b=!1;for(p=m;null!==p;){var N=!1,Q=void 0;try{for(;null!==p;){if(p.effectTag&256){var J=p.alternate;a:{var I=p;switch(I.tag){case 1:if(I.effectTag&256&&null!==J){var ba=J.memoizedProps,ma=J.memoizedState,U=I.stateNode;U.props=I.memoizedProps;U.state=I.memoizedState;var pa=U.getSnapshotBeforeUpdate(ba,ma);U.__reactInternalSnapshotBeforeUpdate=pa}break a;
|
(a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0,nb(a,d)):d>e&&nb(a,d));fc(0,a);pc.current=null;1<b.effectTag?null!==b.lastEffect?(b.lastEffect.nextEffect=b,d=b.firstEffect):d=b:d=b.firstEffect;Pd=Zb;e=Ze();if(ed(e)){if("selectionStart"in e)var f={start:e.selectionStart,end:e.selectionEnd};else a:{f=(f=e.ownerDocument)&&f.defaultView||window;var g=f.getSelection&&f.getSelection();if(g&&0!==g.rangeCount){f=g.anchorNode;var h=g.anchorOffset,k=g.focusNode;g=g.focusOffset;try{f.nodeType,
|
||||||
case 3:case 5:case 6:case 4:case 17:break a;default:n("163")}}}p=p.nextEffect}}catch(eb){N=!0,Q=eb}N&&(null===p?n("178"):void 0,wb(p,Q),null!==p&&(p=p.nextEffect))}for(p=m;null!==p;){var da=!1,ea=void 0;try{for(;null!==p;){var aa=p.effectTag;aa&16&&xb(p.stateNode,"");if(aa&128){var fa=p.alternate;if(null!==fa){var V=fa.ref;null!==V&&("function"===typeof V?V(null):V.current=null)}}switch(aa&14){case 2:Uf(p);p.effectTag&=-3;break;case 6:Uf(p);p.effectTag&=-3;Vf(p.alternate,p);break;case 4:Vf(p.alternate,
|
k.nodeType}catch($a){f=null;break a}var l=0,m=-1,v=-1,B=0,z=0,u=e,x=null;b:for(;;){for(var C;;){u!==f||0!==h&&3!==u.nodeType||(m=l+h);u!==k||0!==g&&3!==u.nodeType||(v=l+g);3===u.nodeType&&(l+=u.nodeValue.length);if(null===(C=u.firstChild))break;x=u;u=C}for(;;){if(u===e)break b;x===f&&++B===h&&(m=l);x===k&&++z===g&&(v=l);if(null!==(C=u.nextSibling))break;u=x;x=u.parentNode}u=C}f=-1===m||-1===v?null:{start:m,end:v}}else f=null}f=f||{start:0,end:0}}else f=null;Qd={focusedElem:e,selectionRange:f};Zb=
|
||||||
p);break;case 8:var ha=p;Sf(ha);var T=ha;T.return=null;T.child=null;T.alternate&&(T.alternate.child=null,T.alternate.return=null)}p=p.nextEffect}}catch(eb){da=!0,ea=eb}da&&(null===p?n("178"):void 0,wb(p,ea),null!==p&&(p=p.nextEffect))}var na=Qd,va=af(),K=na.focusedElem,R=na.selectionRange;if(va!==K&&K&&K.ownerDocument&&$e(K.ownerDocument.documentElement,K)){if(null!==R&&dd(K)){var ra=R.start,ia=R.end;void 0===ia&&(ia=ra);if("selectionStart"in K)K.selectionStart=ra,K.selectionEnd=Math.min(ia,K.value.length);
|
!1;for(n=d;null!==n;){e=!1;f=void 0;try{for(;null!==n;){if(n.effectTag&256)a:{var r=n.alternate;h=n;switch(h.tag){case 0:case 11:case 15:break a;case 1:if(h.effectTag&256&&null!==r){var t=r.memoizedProps,G=r.memoizedState,y=h.stateNode,L=y.getSnapshotBeforeUpdate(h.elementType===h.type?t:T(h.type,t),G);y.__reactInternalSnapshotBeforeUpdate=L}break a;case 3:case 5:case 6:case 4:case 17:break a;default:p("163")}}n=n.nextEffect}}catch($a){e=!0,f=$a}e&&(null===n?p("178"):void 0,Va(n,f),null!==n&&(n=n.nextEffect))}for(n=
|
||||||
else{var ka=K.ownerDocument||document,Ga=(ka&&ka.defaultView||window).getSelection(),ta=K.textContent.length,S=Math.min(R.start,ta),X=void 0===R.end?S:Math.min(R.end,ta);if(!Ga.extend&&S>X){var Ba=X;X=S;S=Ba}var Y=Ze(K,S),P=Ze(K,X);if(Y&&P&&(1!==Ga.rangeCount||Ga.anchorNode!==Y.node||Ga.anchorOffset!==Y.offset||Ga.focusNode!==P.node||Ga.focusOffset!==P.offset)){var ca=ka.createRange();ca.setStart(Y.node,Y.offset);Ga.removeAllRanges();S>X?(Ga.addRange(ca),Ga.extend(P.node,P.offset)):(ca.setEnd(P.node,
|
d;null!==n;){r=!1;t=void 0;try{for(;null!==n;){var w=n.effectTag;w&16&&xb(n.stateNode,"");if(w&128){var D=n.alternate;if(null!==D){var q=D.ref;null!==q&&("function"===typeof q?q(null):q.current=null)}}switch(w&14){case 2:Uf(n);n.effectTag&=-3;break;case 6:Uf(n);n.effectTag&=-3;Vf(n.alternate,n);break;case 4:Vf(n.alternate,n);break;case 8:G=n,Sf(G),G.return=null,G.child=null,G.alternate&&(G.alternate.child=null,G.alternate.return=null)}n=n.nextEffect}}catch($a){r=!0,t=$a}r&&(null===n?p("178"):void 0,
|
||||||
P.offset),Ga.addRange(ca))}}}for(var qa=[],W=K;W=W.parentNode;)1===W.nodeType&&qa.push({element:W,left:W.scrollLeft,top:W.scrollTop});"function"===typeof K.focus&&K.focus();for(var sa=0;sa<qa.length;sa++){var la=qa[sa];la.element.scrollLeft=la.left;la.element.scrollTop=la.top}}Qd=null;$b=!!Pd;Pd=null;a.current=b;for(p=m;null!==p;){var Aa=!1,Ca=void 0;try{for(var Oa=e;null!==p;){var Da=p.effectTag;if(Da&36){var oa=void 0,Z=p.alternate,y=p,Ea=Oa;switch(y.tag){case 1:var Ha=y.stateNode;if(y.effectTag&
|
Va(n,t),null!==n&&(n=n.nextEffect))}q=Qd;D=Ze();w=q.focusedElem;t=q.selectionRange;if(D!==w&&w&&w.ownerDocument&&Ye(w.ownerDocument.documentElement,w)){null!==t&&ed(w)&&(D=t.start,q=t.end,void 0===q&&(q=D),"selectionStart"in w?(w.selectionStart=D,w.selectionEnd=Math.min(q,w.value.length)):(q=(D=w.ownerDocument||document)&&D.defaultView||window,q.getSelection&&(q=q.getSelection(),G=w.textContent.length,r=Math.min(t.start,G),t=void 0===t.end?r:Math.min(t.end,G),!q.extend&&r>t&&(G=t,t=r,r=G),G=Xe(w,
|
||||||
4)if(null===Z)Ha.props=y.memoizedProps,Ha.state=y.memoizedState,Ha.componentDidMount();else{var Sa=Z.memoizedProps,Ta=Z.memoizedState;Ha.props=y.memoizedProps;Ha.state=y.memoizedState;Ha.componentDidUpdate(Sa,Ta,Ha.__reactInternalSnapshotBeforeUpdate)}var Ka=y.updateQueue;null!==Ka&&(Ha.props=y.memoizedProps,Ha.state=y.memoizedState,uf(y,Ka,Ha,Ea));break;case 3:var La=y.updateQueue;if(null!==La){var xa=null;if(null!==y.child)switch(y.child.tag){case 5:xa=y.child.stateNode;break;case 1:xa=y.child.stateNode}uf(y,
|
r),y=Xe(w,t),G&&y&&(1!==q.rangeCount||q.anchorNode!==G.node||q.anchorOffset!==G.offset||q.focusNode!==y.node||q.focusOffset!==y.offset)&&(D=D.createRange(),D.setStart(G.node,G.offset),q.removeAllRanges(),r>t?(q.addRange(D),q.extend(y.node,y.offset)):(D.setEnd(y.node,y.offset),q.addRange(D))))));D=[];for(q=w;q=q.parentNode;)1===q.nodeType&&D.push({element:q,left:q.scrollLeft,top:q.scrollTop});"function"===typeof w.focus&&w.focus();for(w=0;w<D.length;w++)q=D[w],q.element.scrollLeft=q.left,q.element.scrollTop=
|
||||||
La,xa,Ea)}break;case 5:var Ua=y.stateNode;null===Z&&y.effectTag&4&&hf(y.type,y.memoizedProps)&&Ua.focus();break;case 6:break;case 4:break;case 12:break;case 13:if(y.effectTag&32){y.memoizedState={alreadyCaptured:!0,didTimeout:!1,timedOutAt:0};ab(y,1);break}var Ma=null!==Z?Z.memoizedState:null,ja=y.memoizedState,Va=null!==Ma?Ma.didTimeout:!1,ya=y;if(null===ja)oa=!1;else if(oa=ja.didTimeout)ya=y.child,ja.alreadyCaptured=!1,0===ja.timedOutAt&&(ja.timedOutAt=$a());if(oa!==Va&&null!==ya)a:for(var za=ya,
|
q.top}Qd=null;Zb=!!Pd;Pd=null;a.current=b;for(n=d;null!==n;){d=!1;w=void 0;try{for(D=c;null!==n;){var E=n.effectTag;if(E&36){var F=n.alternate;q=n;r=D;switch(q.tag){case 0:case 11:case 15:break;case 1:var H=q.stateNode;if(q.effectTag&4)if(null===F)H.componentDidMount();else{var N=q.elementType===q.type?F.memoizedProps:T(q.type,F.memoizedProps);H.componentDidUpdate(N,F.memoizedState,H.__reactInternalSnapshotBeforeUpdate)}var J=q.updateQueue;null!==J&&tf(q,J,H,r);break;case 3:var K=q.updateQueue;if(null!==
|
||||||
Na=oa,z=za;;){if(5===z.tag){var Wa=z.stateNode;if(Na)Wa.style.display="none";else{var Xa=z.stateNode,ua=z.memoizedProps.style,Ya=void 0!==ua&&null!==ua&&ua.hasOwnProperty("display")?ua.display:null;Xa.style.display=Ya}}else if(6===z.tag)z.stateNode.nodeValue=Na?"":z.memoizedProps;else if(null!==z.child){z.child.return=z;z=z.child;continue}if(z===za)break a;for(;null===z.sibling;){if(null===z.return||z.return===za)break a;z=z.return}z.sibling.return=z.return;z=z.sibling}break;case 17:break;default:n("163")}}if(Da&
|
K){t=null;if(null!==q.child)switch(q.child.tag){case 5:t=q.child.stateNode;break;case 1:t=q.child.stateNode}tf(q,K,t,r)}break;case 5:var O=q.stateNode;null===F&&q.effectTag&4&&gf(q.type,q.memoizedProps)&&O.focus();break;case 6:break;case 4:break;case 12:break;case 13:break;case 17:break;default:p("163")}}if(E&128){var I=n.ref;if(null!==I){var P=n.stateNode;switch(n.tag){case 5:var M=P;break;default:M=P}"function"===typeof I?I(M):I.current=M}}n=n.nextEffect}}catch($a){d=!0,w=$a}d&&(null===n?p("178"):
|
||||||
128){var wa=p.ref;if(null!==wa){var Qa=p.stateNode;switch(p.tag){case 5:var Fa=Qa;break;default:Fa=Qa}"function"===typeof wa?wa(Fa):wa.current=Fa}}var bb=p.nextEffect;p.nextEffect=null;p=bb}}catch(eb){Aa=!0,Ca=eb}Aa&&(null===p?n("178"):void 0,wb(p,Ca),null!==p&&(p=p.nextEffect))}Pa=yb=!1;"function"===typeof pd&&pd(b.stateNode);var Ia=b.expirationTime,Ja=b.childExpirationTime,Ra=0===Ia||0!==Ja&&Ja<Ia?Ja:Ia;0===Ra&&(Za=null);a.expirationTime=Ra;a.finishedWork=null}function Jd(){return zc?!0:null===
|
void 0,Va(n,w),null!==n&&(n=n.nextEffect))}ta=rc=!1;"function"===typeof qd&&qd(b.stateNode);E=b.expirationTime;b=b.childExpirationTime;b=b>E?b:E;0===b&&(sa=null);a.expirationTime=b;a.finishedWork=null}function Hd(a){null===X?p("246"):void 0;X.expirationTime=0;Za||(Za=!0,yc=a)}function lg(a,b){var c=C;C=!0;try{return a(b)}finally{(C=c)||M||fa(1073741823,!1)}}function mg(a,b){if(C&&!vc){vc=!0;try{return a(b)}finally{vc=!1}}return a(b)}function ng(a,b,c){if(Wa)return a(b,c);C||M||0===ea||(fa(ea,!1),
|
||||||
Ea||Ea.timeRemaining()>zh?!1:zc=!0}function Gd(a){null===aa?n("246"):void 0;aa.expirationTime=0;Fa||(Fa=!0,Ac=a)}function jg(a,b){var c=C;C=!0;try{return a(b)}finally{(C=c)||I||R(1,null)}}function kg(a,b){if(C&&!xc){xc=!0;try{return a(b)}finally{xc=!1}}return a(b)}function lg(a,b,c){if(wa)return a(b,c);C||I||0===qa||(R(qa,null),qa=0);var d=wa,e=C;C=wa=!0;try{return a(b,c)}finally{wa=d,(C=e)||I||R(1,null)}}function mg(a,b,c,d,e){var f=b.current;a:if(c){c=c._reactInternalFiber;b:{2===kb(c)&&1===c.tag?
|
ea=0);var d=Wa,e=C;C=Wa=!0;try{return a(b,c)}finally{Wa=d,(C=e)||M||fa(1073741823,!1)}}function og(a,b,c,d,e){var f=b.current;a:if(c){c=c._reactInternalFiber;b:{2===jb(c)&&1===c.tag?void 0:p("170");var g=c;do{switch(g.tag){case 3:g=g.stateNode.context;break b;case 1:if(E(g.type)){g=g.stateNode.__reactInternalMemoizedMergedChildContext;break b}}g=g.return}while(null!==g);p("171");g=void 0}if(1===c.tag){var h=c.type;if(E(h)){c=kf(c,h,g);break a}}c=g}else c=na;null===b.context?b.context=c:b.pendingContext=
|
||||||
void 0:n("170");var g=c;do{switch(g.tag){case 3:g=g.stateNode.context;break b;case 1:if(M(g.type)){g=g.stateNode.__reactInternalMemoizedMergedChildContext;break b}}g=g.return}while(null!==g);n("171");g=void 0}if(1===c.tag){var h=c.type;if(M(h)){c=lf(c,h,g);break a}}c=g}else c=X;null===b.context?b.context=c:b.pendingContext=c;b=e;e=Y(d);e.payload={element:a};b=void 0===b?null:b;null!==b&&(e.callback=b);na(f,e);ab(f,d);return d}function Rd(a,b,c,d){var e=b.current,f=$a();e=zb(f,e);return mg(a,b,c,e,
|
c;b=e;e=pa(d);e.payload={element:a};b=void 0===b?null:b;null!==b&&(e.callback=b);yb();ca(f,e);Ca(f,d);return d}function Rd(a,b,c,d){var e=b.current,f=ra();e=zb(f,e);return og(a,b,c,e,d)}function Sd(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Ah(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:La,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}function Db(a){var b=
|
||||||
d)}function Sd(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Ah(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Va,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}function Db(a){var b=2+25*((($a()-2+500)/25|0)+1);b<=Td&&(b=Td+1);this._expirationTime=Td=b;this._root=a;this._callbacks=this._next=null;this._hasChildren=this._didComplete=!1;this._children=
|
1073741822-25*(((1073741822-ra()+500)/25|0)+1);b>=Td&&(b=Td-1);this._expirationTime=Td=b;this._root=a;this._callbacks=this._next=null;this._hasChildren=this._didComplete=!1;this._children=null;this._defer=!0}function ab(){this._callbacks=null;this._didCommit=!1;this._onCommit=this._onCommit.bind(this)}function bb(a,b,c){b=R(3,null,null,b?3:0);a={current:b,containerInfo:a,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,
|
||||||
null;this._defer=!0}function bb(){this._callbacks=null;this._didCommit=!1;this._onCommit=this._onCommit.bind(this)}function Ia(a,b,c){b=ma(3,null,null,b?3:0);a={current:b,containerInfo:a,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:c,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null};
|
didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:c,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null};this._internalRoot=b.stateNode=a}function Ac(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function Bh(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute("data-reactroot")));
|
||||||
this._internalRoot=b.stateNode=a}function Cc(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function Bh(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute("data-reactroot")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new Ia(a,!1,b)}function Dc(a,b,c,d,e){Cc(c)?void 0:n("200");var f=c._reactRootContainer;if(f){if("function"===typeof e){var g=e;e=function(){var a=
|
if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new bb(a,!1,b)}function Bc(a,b,c,d,e){Ac(c)?void 0:p("200");var f=c._reactRootContainer;if(f){if("function"===typeof e){var g=e;e=function(){var a=Sd(f._internalRoot);g.call(a)}}null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)}else{f=c._reactRootContainer=Bh(c,d);if("function"===typeof e){var h=e;e=function(){var a=Sd(f._internalRoot);h.call(a)}}mg(function(){null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)})}return Sd(f._internalRoot)}
|
||||||
Sd(f._internalRoot);g.call(a)}}null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)}else{f=c._reactRootContainer=Bh(c,d);if("function"===typeof e){var h=e;e=function(){var a=Sd(f._internalRoot);h.call(a)}}kg(function(){null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)})}return Sd(f._internalRoot)}function ng(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;Cc(b)?void 0:n("200");return Ah(a,b,null,c)}fa?void 0:n("227");var Eg=function(a,b,c,d,e,f,g,
|
function pg(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;Ac(b)?void 0:p("200");return Ah(a,b,null,c)}Y?void 0:p("227");var Fg=function(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(m){this.onError(m)}},db=!1,Ib=null,Jb=!1,Ec=null,Gg={onError:function(a){db=!0;Ib=a}},Kb=null,Da={},Lb=[],Fc={},Ea={},Gc={},Ic=null,oe=null,be=null,eb=null,Ig=function(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))for(var d=
|
||||||
h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(m){this.onError(m)}},Ra=!1,Ib=null,Jb=!1,Fc=null,Fg={onError:function(a){Ra=!0;Ib=a}},Kb=null,Sa={},Lb=[],Gc={},Ta={},Hc={},Ic=null,pe=null,ce=null,fb=null,og=function(a,b){if(a){var c=a._dispatchListeners,d=a._dispatchInstances;if(Array.isArray(c))for(var e=0;e<c.length&&!a.isPropagationStopped();e++)be(a,b,c[e],d[e]);else c&&be(a,b,c,d);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}},
|
0;d<b.length&&!a.isPropagationStopped();d++)ae(a,b[d],c[d]);else b&&ae(a,b,c);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}},Ud={injectEventPluginOrder:function(a){Kb?p("101"):void 0;Kb=Array.prototype.slice.call(a);Zd()},injectEventPluginsByName:function(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];Da.hasOwnProperty(c)&&Da[c]===d||(Da[c]?p("102",c):void 0,Da[c]=d,b=!0)}b&&Zd()}},qg=Math.random().toString(36).slice(2),Z="__reactInternalInstance$"+
|
||||||
Hg=function(a){return og(a,!0)},Ig=function(a){return og(a,!1)},Ud={injectEventPluginOrder:function(a){Kb?n("101"):void 0;Kb=Array.prototype.slice.call(a);$d()},injectEventPluginsByName:function(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];Sa.hasOwnProperty(c)&&Sa[c]===d||(Sa[c]?n("102",c):void 0,Sa[c]=d,b=!0)}b&&$d()}},pg=Math.random().toString(36).slice(2),V="__reactInternalInstance$"+pg,Ob="__reactEventHandlers$"+pg,ka=!("undefined"===typeof window||!window.document||!window.document.createElement),
|
qg,Nb="__reactEventHandlers$"+qg,ja=!("undefined"===typeof window||!window.document||!window.document.createElement),Ha={animationend:Ob("Animation","AnimationEnd"),animationiteration:Ob("Animation","AnimationIteration"),animationstart:Ob("Animation","AnimationStart"),transitionend:Ob("Transition","TransitionEnd")},Mc={},fe={};ja&&(fe=document.createElement("div").style,"AnimationEvent"in window||(delete Ha.animationend.animation,delete Ha.animationiteration.animation,delete Ha.animationstart.animation),
|
||||||
xa={animationend:Pb("Animation","AnimationEnd"),animationiteration:Pb("Animation","AnimationIteration"),animationstart:Pb("Animation","AnimationStart"),transitionend:Pb("Transition","TransitionEnd")},Mc={},ge={};ka&&(ge=document.createElement("div").style,"AnimationEvent"in window||(delete xa.animationend.animation,delete xa.animationiteration.animation,delete xa.animationstart.animation),"TransitionEvent"in window||delete xa.transitionend.transition);var qg=Qb("animationend"),rg=Qb("animationiteration"),
|
"TransitionEvent"in window||delete Ha.transitionend.transition);var rg=Pb("animationend"),sg=Pb("animationiteration"),tg=Pb("animationstart"),ug=Pb("transitionend"),mb="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ia=null,Nc=null,Qb=null,y=Y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign;y(J.prototype,{preventDefault:function(){this.defaultPrevented=
|
||||||
sg=Qb("animationstart"),tg=Qb("transitionend"),nb="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ia=null,Nc=null,Rb=null,E=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign;E(D.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==
|
!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=Rb)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=Rb)},persist:function(){this.isPersistent=Rb},isPersistent:Sb,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=
|
||||||
typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=Sb)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=Sb)},persist:function(){this.isPersistent=Sb},isPersistent:Tb,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=Tb;this._dispatchInstances=
|
null;this.isPropagationStopped=this.isDefaultPrevented=Sb;this._dispatchInstances=this._dispatchListeners=null}});J.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};J.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,d=function(){};d.prototype=c.prototype;d=new d;y(d,b.prototype);b.prototype=d;b.prototype.constructor=
|
||||||
this._dispatchListeners=null}});D.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};D.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,d=function(){};d.prototype=c.prototype;d=new d;E(d,b.prototype);b.prototype=d;b.prototype.constructor=b;b.Interface=E({},c.Interface,a);b.extend=c.extend;ie(b);return b};ie(D);var Ch=
|
b;b.Interface=y({},c.Interface,a);b.extend=c.extend;he(b);return b};he(J);var Ch=J.extend({data:null}),Dh=J.extend({data:null}),Ng=[9,13,27,32],Oc=ja&&"CompositionEvent"in window,Eb=null;ja&&"documentMode"in document&&(Eb=document.documentMode);var Eh=ja&&"TextEvent"in window&&!Eb,me=ja&&(!Oc||Eb&&8<Eb&&11>=Eb),le=String.fromCharCode(32),ha={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},
|
||||||
D.extend({data:null}),Dh=D.extend({data:null}),Ng=[9,13,27,32],Oc=ka&&"CompositionEvent"in window,Eb=null;ka&&"documentMode"in document&&(Eb=document.documentMode);var Eh=ka&&"TextEvent"in window&&!Eb,ne=ka&&(!Oc||Eb&&8<Eb&&11>=Eb),me=String.fromCharCode(32),ra={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},
|
compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},
|
||||||
dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},le=!1,Ua=!1,Fh={eventTypes:ra,extractEvents:function(a,
|
ke=!1,Ia=!1,Fh={eventTypes:ha,extractEvents:function(a,b,c,d){var e=void 0;var f=void 0;if(Oc)b:{switch(a){case "compositionstart":e=ha.compositionStart;break b;case "compositionend":e=ha.compositionEnd;break b;case "compositionupdate":e=ha.compositionUpdate;break b}e=void 0}else Ia?ie(a,c)&&(e=ha.compositionEnd):"keydown"===a&&229===c.keyCode&&(e=ha.compositionStart);e?(me&&"ko"!==c.locale&&(Ia||e!==ha.compositionStart?e===ha.compositionEnd&&Ia&&(f=ge()):(ia=d,Nc="value"in ia?ia.value:ia.textContent,
|
||||||
b,c,d){var e=void 0;var f=void 0;if(Oc)b:{switch(a){case "compositionstart":e=ra.compositionStart;break b;case "compositionend":e=ra.compositionEnd;break b;case "compositionupdate":e=ra.compositionUpdate;break b}e=void 0}else Ua?je(a,c)&&(e=ra.compositionEnd):"keydown"===a&&229===c.keyCode&&(e=ra.compositionStart);e?(ne&&"ko"!==c.locale&&(Ua||e!==ra.compositionStart?e===ra.compositionEnd&&Ua&&(f=he()):(ia=d,Nc="value"in ia?ia.value:ia.textContent,Ua=!0)),e=Ch.getPooled(e,b,c,d),f?e.data=f:(f=ke(c),
|
Ia=!0)),e=Ch.getPooled(e,b,c,d),f?e.data=f:(f=je(c),null!==f&&(e.data=f)),Ga(e),f=e):f=null;(a=Eh?Og(a,c):Pg(a,c))?(b=Dh.getPooled(ha.beforeInput,b,c,d),b.data=a,Ga(b)):b=null;return null===f?b:null===b?f:[f,b]}},Pc=null,Ja=null,Ka=null,se=function(a,b){return a(b)},Te=function(a,b,c){return a(b,c)},te=function(){},Qc=!1,Qg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Vd=Y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
||||||
null!==f&&(e.data=f)),La(e),f=e):f=null;(a=Eh?Og(a,c):Pg(a,c))?(b=Dh.getPooled(ra.beforeInput,b,c,d),b.data=a,La(b)):b=null;return null===f?b:null===b?f:[f,b]}},Pc=null,Ma=null,ja=null,te=function(a,b){return a(b)},Ve=function(a,b,c){return a(b,c)},ue=function(){},Qc=!1,Qg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Vd=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Sg=/^(.*)[\\\/]/,ba="function"===
|
Sg=/^(.*)[\\\/]/,Q="function"===typeof Symbol&&Symbol.for,nc=Q?Symbol.for("react.element"):60103,La=Q?Symbol.for("react.portal"):60106,la=Q?Symbol.for("react.fragment"):60107,Tc=Q?Symbol.for("react.strict_mode"):60108,Ub=Q?Symbol.for("react.profiler"):60114,Ae=Q?Symbol.for("react.provider"):60109,ze=Q?Symbol.for("react.context"):60110,Sc=Q?Symbol.for("react.concurrent_mode"):60111,Vc=Q?Symbol.for("react.forward_ref"):60112,Uc=Q?Symbol.for("react.suspense"):60113,Wc=Q?Symbol.for("react.memo"):60115,
|
||||||
typeof Symbol&&Symbol.for,rc=ba?Symbol.for("react.element"):60103,Va=ba?Symbol.for("react.portal"):60106,ta=ba?Symbol.for("react.fragment"):60107,Tc=ba?Symbol.for("react.strict_mode"):60108,Vb=ba?Symbol.for("react.profiler"):60114,Be=ba?Symbol.for("react.provider"):60109,Ae=ba?Symbol.for("react.context"):60110,Sc=ba?Symbol.for("react.concurrent_mode"):60111,Vc=ba?Symbol.for("react.forward_ref"):60112,Uc=ba?Symbol.for("react.suspense"):60113,Wc=ba?Symbol.for("react.memo"):60115,Ce=ba?Symbol.for("react.lazy"):
|
Be=Q?Symbol.for("react.lazy"):60116,ye="function"===typeof Symbol&&Symbol.iterator,Ug=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ce=Object.prototype.hasOwnProperty,Ee={},De={},x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){x[a]=
|
||||||
60116,ze="function"===typeof Symbol&&Symbol.iterator,Ug=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ee=Object.prototype.hasOwnProperty,Ge={},Fe={},x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){x[a]=
|
new K(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];x[b]=new K(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){x[a]=new K(a,2,!1,a.toLowerCase(),null)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){x[a]=new K(a,2,!1,a,null)});"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){x[a]=
|
||||||
new G(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];x[b]=new G(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){x[a]=new G(a,2,!1,a.toLowerCase(),null)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){x[a]=new G(a,2,!1,a,null)});"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){x[a]=
|
new K(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){x[a]=new K(a,3,!0,a,null)});["capture","download"].forEach(function(a){x[a]=new K(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){x[a]=new K(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){x[a]=new K(a,5,!1,a.toLowerCase(),null)});var Wd=/[\-:]([a-z])/g,Xd=function(a){return a[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=
|
||||||
new G(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){x[a]=new G(a,3,!0,a,null)});["capture","download"].forEach(function(a){x[a]=new G(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){x[a]=new G(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){x[a]=new G(a,5,!1,a.toLowerCase(),null)});var Wd=/[\-:]([a-z])/g,Xd=function(a){return a[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=
|
a.replace(Wd,Xd);x[b]=new K(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Wd,Xd);x[b]=new K(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Wd,Xd);x[b]=new K(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});x.tabIndex=new K("tabIndex",1,!1,"tabindex",null);var Je={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},
|
||||||
a.replace(Wd,Xd);x[b]=new G(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Wd,Xd);x[b]=new G(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Wd,Xd);x[b]=new G(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});x.tabIndex=new G("tabIndex",1,!1,"tabindex",null);var Le={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},
|
dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},gb=null,hb=null,Yd=!1;ja&&(Yd=ve("input")&&(!document.documentMode||9<document.documentMode));var Gh={eventTypes:Je,_isInputEventSupported:Yd,extractEvents:function(a,b,c,d){var e=b?ua(b):window,f=void 0,g=void 0,h=e.nodeName&&e.nodeName.toLowerCase();"select"===h||"input"===h&&"file"===e.type?f=Yg:ue(e)?Yd?f=bh:(f=$g,g=Zg):(h=e.nodeName)&&"input"===h.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)&&(f=
|
||||||
dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},hb=null,ib=null,Yd=!1;ka&&(Yd=we("input")&&(!document.documentMode||9<document.documentMode));var Gh={eventTypes:Le,_isInputEventSupported:Yd,extractEvents:function(a,b,c,d){var e=b?W(b):window,f=void 0,g=void 0,h=e.nodeName&&e.nodeName.toLowerCase();"select"===h||"input"===h&&"file"===e.type?f=Yg:ve(e)?Yd?f=bh:(f=$g,g=Zg):(h=e.nodeName)&&"input"===h.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)&&(f=ah);
|
ah);if(f&&(f=f(a,b)))return Ie(f,c,d);g&&g(a,e,b);"blur"===a&&(a=e._wrapperState)&&a.controlled&&"number"===e.type&&ad(e,"number",e.value)}},Fb=J.extend({view:null,detail:null}),dh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},vg=0,wg=0,xg=!1,yg=!1,Gb=Fb.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:bd,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||
|
||||||
if(f&&(f=f(a,b)))return Ke(f,c,d);g&&g(a,e,b);"blur"===a&&(a=e._wrapperState)&&a.controlled&&"number"===e.type&&$c(e,"number",e.value)}},Fb=D.extend({view:null,detail:null}),dh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},ug=0,vg=0,wg=!1,xg=!1,Gb=Fb.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:ad,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===
|
(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if("movementX"in a)return a.movementX;var b=vg;vg=a.screenX;return xg?"mousemove"===a.type?a.screenX-b:0:(xg=!0,0)},movementY:function(a){if("movementY"in a)return a.movementY;var b=wg;wg=a.screenY;return yg?"mousemove"===a.type?a.screenY-b:0:(yg=!0,0)}}),zg=Gb.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Hb={mouseEnter:{registrationName:"onMouseEnter",
|
||||||
a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if("movementX"in a)return a.movementX;var b=ug;ug=a.screenX;return wg?"mousemove"===a.type?a.screenX-b:0:(wg=!0,0)},movementY:function(a){if("movementY"in a)return a.movementY;var b=vg;vg=a.screenY;return xg?"mousemove"===a.type?a.screenY-b:0:(xg=!0,0)}}),yg=Gb.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Hb={mouseEnter:{registrationName:"onMouseEnter",
|
|
||||||
dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Hh={eventTypes:Hb,extractEvents:function(a,b,c,d){var e="mouseover"===a||"pointerover"===a,f="mouseout"===a||"pointerout"===a;if(e&&(c.relatedTarget||c.fromElement)||!f&&!e)return null;e=d.window===
|
dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Hh={eventTypes:Hb,extractEvents:function(a,b,c,d){var e="mouseover"===a||"pointerover"===a,f="mouseout"===a||"pointerout"===a;if(e&&(c.relatedTarget||c.fromElement)||!f&&!e)return null;e=d.window===
|
||||||
d?d:(e=d.ownerDocument)?e.defaultView||e.parentWindow:window;f?(f=b,b=(b=c.relatedTarget||c.toElement)?Nb(b):null):f=null;if(f===b)return null;var g=void 0,h=void 0,k=void 0,l=void 0;if("mouseout"===a||"mouseover"===a)g=Gb,h=Hb.mouseLeave,k=Hb.mouseEnter,l="mouse";else if("pointerout"===a||"pointerover"===a)g=yg,h=Hb.pointerLeave,k=Hb.pointerEnter,l="pointer";var m=null==f?e:W(f);e=null==b?e:W(b);a=g.getPooled(h,f,c,d);a.type=l+"leave";a.target=m;a.relatedTarget=e;c=g.getPooled(k,b,c,d);c.type=l+
|
d?d:(e=d.ownerDocument)?e.defaultView||e.parentWindow:window;f?(f=b,b=(b=c.relatedTarget||c.toElement)?Mb(b):null):f=null;if(f===b)return null;var g=void 0,h=void 0,k=void 0,l=void 0;if("mouseout"===a||"mouseover"===a)g=Gb,h=Hb.mouseLeave,k=Hb.mouseEnter,l="mouse";else if("pointerout"===a||"pointerover"===a)g=zg,h=Hb.pointerLeave,k=Hb.pointerEnter,l="pointer";var m=null==f?e:ua(f);e=null==b?e:ua(b);a=g.getPooled(h,f,c,d);a.type=l+"leave";a.target=m;a.relatedTarget=e;c=g.getPooled(k,b,c,d);c.type=
|
||||||
"enter";c.target=e;c.relatedTarget=m;d=b;if(f&&d)a:{b=f;e=d;l=0;for(g=b;g;g=ha(g))l++;g=0;for(k=e;k;k=ha(k))g++;for(;0<l-g;)b=ha(b),l--;for(;0<g-l;)e=ha(e),g--;for(;l--;){if(b===e||b===e.alternate)break a;b=ha(b);e=ha(e)}b=null}else b=null;e=b;for(b=[];f&&f!==e;){l=f.alternate;if(null!==l&&l===e)break;b.push(f);f=ha(f)}for(f=[];d&&d!==e;){l=d.alternate;if(null!==l&&l===e)break;f.push(d);d=ha(d)}for(d=0;d<b.length;d++)Lc(b[d],"bubbled",a);for(d=f.length;0<d--;)Lc(f[d],"captured",c);return[a,c]}},eh=
|
l+"enter";c.target=e;c.relatedTarget=m;d=b;if(f&&d)a:{b=f;e=d;l=0;for(g=b;g;g=aa(g))l++;g=0;for(k=e;k;k=aa(k))g++;for(;0<l-g;)b=aa(b),l--;for(;0<g-l;)e=aa(e),g--;for(;l--;){if(b===e||b===e.alternate)break a;b=aa(b);e=aa(e)}b=null}else b=null;e=b;for(b=[];f&&f!==e;){l=f.alternate;if(null!==l&&l===e)break;b.push(f);f=aa(f)}for(f=[];d&&d!==e;){l=d.alternate;if(null!==l&&l===e)break;f.push(d);d=aa(d)}for(d=0;d<b.length;d++)Lc(b[d],"bubbled",a);for(d=f.length;0<d--;)Lc(f[d],"captured",c);return[a,c]}},
|
||||||
Object.prototype.hasOwnProperty,Ih=D.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jh=D.extend({clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Kh=Fb.extend({relatedTarget:null}),Lh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mh={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",
|
eh=Object.prototype.hasOwnProperty,Ih=J.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jh=J.extend({clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Kh=Fb.extend({relatedTarget:null}),Lh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mh={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",
|
||||||
17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Nh=Fb.extend({key:function(a){if(a.key){var b=Lh[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=Xb(a),13===a?"Enter":String.fromCharCode(a)):
|
16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Nh=Fb.extend({key:function(a){if(a.key){var b=Lh[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=Wb(a),13===a?"Enter":
|
||||||
"keydown"===a.type||"keyup"===a.type?Mh[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:ad,charCode:function(a){return"keypress"===a.type?Xb(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===a.type?Xb(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),Oh=Gb.extend({dataTransfer:null}),Ph=Fb.extend({touches:null,targetTouches:null,changedTouches:null,
|
String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?Mh[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:bd,charCode:function(a){return"keypress"===a.type?Wb(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===a.type?Wb(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),Oh=Gb.extend({dataTransfer:null}),Ph=Fb.extend({touches:null,targetTouches:null,
|
||||||
altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:ad}),Qh=D.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Rh=Gb.extend({deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),Sh=[["abort","abort"],[qg,"animationEnd"],[rg,"animationIteration"],[sg,"animationStart"],["canplay","canPlay"],["canplaythrough",
|
changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:bd}),Qh=J.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Rh=Gb.extend({deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),Sh=[["abort","abort"],[rg,"animationEnd"],[sg,"animationIteration"],[tg,"animationStart"],["canplay",
|
||||||
"canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover",
|
"canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],
|
||||||
"mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[tg,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],Se={},bd={};[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut",
|
["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[ug,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],Qe={},cd={};[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu",
|
||||||
"cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit",
|
"contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset",
|
||||||
"submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(a){Re(a,!0)});Sh.forEach(function(a){Re(a,!1)});var zg={eventTypes:Se,isInteractiveTopLevelEventType:function(a){a=bd[a];return void 0!==a&&!0===a.isInteractive},extractEvents:function(a,b,c,d){var e=bd[a];if(!e)return null;switch(a){case "keypress":if(0===Xb(c))return null;case "keydown":case "keyup":a=Nh;break;case "blur":case "focus":a=Kh;break;case "click":if(2===
|
"reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(a){Pe(a,!0)});Sh.forEach(function(a){Pe(a,!1)});var Ag={eventTypes:Qe,isInteractiveTopLevelEventType:function(a){a=cd[a];return void 0!==a&&!0===a.isInteractive},extractEvents:function(a,b,c,d){var e=cd[a];if(!e)return null;switch(a){case "keypress":if(0===Wb(c))return null;case "keydown":case "keyup":a=Nh;break;case "blur":case "focus":a=
|
||||||
c.button)return null;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":a=Gb;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":a=Oh;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":a=Ph;break;case qg:case rg:case sg:a=Ih;break;case tg:a=Qh;break;case "scroll":a=Fb;break;case "wheel":a=Rh;break;case "copy":case "cut":case "paste":a=
|
Kh;break;case "click":if(2===c.button)return null;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":a=Gb;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":a=Oh;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":a=Ph;break;case rg:case sg:case tg:a=Ih;break;case ug:a=Qh;break;case "scroll":a=Fb;break;case "wheel":a=
|
||||||
Jh;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":a=yg;break;default:a=D}b=a.getPooled(e,b,c,d);La(b);return b}},Te=zg.isInteractiveTopLevelEventType,ac=[],$b=!0,Xe={},hh=0,bc="_reactListenersID"+(""+Math.random()).slice(2),Th=ka&&"documentMode"in document&&11>=document.documentMode,cf={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},
|
Rh;break;case "copy":case "cut":case "paste":a=Jh;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":a=zg;break;default:a=J}b=a.getPooled(e,b,c,d);Ga(b);return b}},Re=Ag.isInteractiveTopLevelEventType,$b=[],Zb=!0,Ve={},hh=0,ac="_reactListenersID"+(""+Math.random()).slice(2),Th=ja&&"documentMode"in document&&11>=document.documentMode,af={select:{phasedRegistrationNames:{bubbled:"onSelect",
|
||||||
ya=null,fd=null,lb=null,ed=!1,Uh={eventTypes:cf,extractEvents:function(a,b,c,d){var e=d.window===d?d.document:9===d.nodeType?d:d.ownerDocument,f;if(!(f=!e)){a:{e=We(e);f=Hc.onSelect;for(var g=0;g<f.length;g++){var h=f[g];if(!e.hasOwnProperty(h)||!e[h]){e=!1;break a}}e=!0}f=!e}if(f)return null;e=b?W(b):window;switch(a){case "focus":if(ve(e)||"true"===e.contentEditable)ya=e,fd=b,lb=null;break;case "blur":lb=fd=ya=null;break;case "mousedown":ed=!0;break;case "contextmenu":case "mouseup":case "dragend":return ed=
|
captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Ma=null,gd=null,kb=null,fd=!1,Uh={eventTypes:af,extractEvents:function(a,b,c,d){var e=d.window===d?d.document:9===d.nodeType?d:d.ownerDocument,f;if(!(f=!e)){a:{e=Ue(e);f=Gc.onSelect;for(var g=0;g<f.length;g++){var h=f[g];if(!e.hasOwnProperty(h)||!e[h]){e=!1;break a}}e=!0}f=!e}if(f)return null;e=b?ua(b):window;switch(a){case "focus":if(ue(e)||"true"===e.contentEditable)Ma=
|
||||||
!1,bf(c,d);case "selectionchange":if(Th)break;case "keydown":case "keyup":return bf(c,d)}return null}};Ud.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));(function(a,b,c){Ic=a;pe=b;ce=c})(Kc,ee,W);Ud.injectEventPluginsByName({SimpleEventPlugin:zg,EnterLeaveEventPlugin:Hh,ChangeEventPlugin:Gh,SelectEventPlugin:Uh,BeforeInputEventPlugin:Fh});var Ec=void 0,Wf=function(a){return"undefined"!==typeof MSApp&&
|
e,gd=b,kb=null;break;case "blur":kb=gd=Ma=null;break;case "mousedown":fd=!0;break;case "contextmenu":case "mouseup":case "dragend":return fd=!1,$e(c,d);case "selectionchange":if(Th)break;case "keydown":case "keyup":return $e(c,d)}return null}};Ud.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));(function(a,b,c){Ic=a;oe=b;be=c})(Kc,de,ua);Ud.injectEventPluginsByName({SimpleEventPlugin:Ag,EnterLeaveEventPlugin:Hh,
|
||||||
MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if("http://www.w3.org/2000/svg"!==a.namespaceURI||"innerHTML"in a)a.innerHTML=b;else{Ec=Ec||document.createElement("div");Ec.innerHTML="<svg>"+b+"</svg>";for(b=Ec.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}),xb=function(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=
|
ChangeEventPlugin:Gh,SelectEventPlugin:Uh,BeforeInputEventPlugin:Fh});var Cc=void 0,Wf=function(a){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if("http://www.w3.org/2000/svg"!==a.namespaceURI||"innerHTML"in a)a.innerHTML=b;else{Cc=Cc||document.createElement("div");Cc.innerHTML="<svg>"+b+"</svg>";for(b=Cc.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}),
|
||||||
b},mb={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,
|
xb=function(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b},lb={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,
|
||||||
floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Vh=["Webkit","ms","Moz","O"];Object.keys(mb).forEach(function(a){Vh.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);mb[b]=mb[a]})});var jh=E({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),Zd=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,uh=Zd.unstable_cancelCallback,
|
lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Vh=["Webkit","ms","Moz","O"];Object.keys(lb).forEach(function(a){Vh.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);lb[b]=lb[a]})});var jh=y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,
|
||||||
Md=Zd.unstable_now,vh=Zd.unstable_scheduleCallback,Pd=null,Qd=null,xh=setTimeout,ig=clearTimeout;new Set;var nd=[],Na=-1,X={},O={current:X},N={current:!1},la=X,pd=null,qd=null,ma=function(a,b,c,d){return new lh(a,b,c,d)},P=!1,vd={current:null},lc=null,Xa=null,mc=null,rb={},U={current:rb},tb={current:rb},sb={current:rb},oc=Vd.ReactCurrentOwner,Cf=(new fa.Component).refs,pc={isMounted:function(a){return(a=a._reactInternalFiber)?2===kb(a):!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=
|
source:!0,track:!0,wbr:!0}),Dc=Y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,$f=Dc.unstable_cancelCallback,Md=Dc.unstable_now,vh=Dc.unstable_scheduleCallback,zh=Dc.unstable_shouldYield,Pd=null,Qd=null,xh="function"===typeof setTimeout?setTimeout:void 0,kg="function"===typeof clearTimeout?clearTimeout:void 0;new Set;var od=[],Oa=-1,na={},F={current:na},I={current:!1},va=na,qd=null,rd=null,R=function(a,b,c,d){return new lh(a,b,c,d)},qa=!1,wd={current:null},pb=null,xa=null,qb=null,rb=
|
||||||
$a();d=zb(d,a);var e=Y(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);na(a,e);ab(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=$a();d=zb(d,a);var e=Y(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);na(a,e);ab(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=$a();c=zb(c,a);var d=Y(c);d.tag=2;void 0!==b&&null!==b&&(d.callback=b);na(a,d);ab(a,c)}},sc=Array.isArray,Da=Df(!0),Cd=Df(!1),va=null,Ya=null,Oa=!1,oh=Vd.ReactCurrentOwner,ag=void 0,
|
{},S={current:rb},tb={current:rb},sb={current:rb},kc=Vd.ReactCurrentOwner,Bf=(new Y.Component).refs,lc={isMounted:function(a){return(a=a._reactInternalFiber)?2===jb(a):!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=ra();d=zb(d,a);var e=pa(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);yb();ca(a,e);Ca(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=ra();d=zb(d,a);var e=pa(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);yb();ca(a,e);Ca(a,d)},
|
||||||
Id=void 0,$f=void 0,bg=void 0;ag=function(a,b,c,d){for(c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};Id=function(a){};$f=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;Ca(U.current);a=null;switch(c){case "input":f=Yc(g,f);d=Yc(g,d);a=[];break;case "option":f=
|
enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=ra();c=zb(c,a);var d=pa(c);d.tag=2;void 0!==b&&null!==b&&(d.callback=b);yb();ca(a,d);Ca(a,c)}},oc=Array.isArray,Ua=Cf(!0),Dd=Cf(!1),da=null,Ta=null,za=!1,oh=Vd.ReactCurrentOwner,cg=void 0,Jd=void 0,bg=void 0,dg=void 0;cg=function(a,b,c,d){for(c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||
|
||||||
gd(g,f);d=gd(g,d);a=[];break;case "select":f=E({},f,{value:void 0});d=E({},d,{value:void 0});a=[];break;case "textarea":f=hd(g,f);d=hd(g,d);a=[];break;default:"function"!==typeof f.onClick&&"function"===typeof d.onClick&&(g.onclick=cc)}jd(c,d);g=c=void 0;var h=null;for(c in f)if(!d.hasOwnProperty(c)&&f.hasOwnProperty(c)&&null!=f[c])if("style"===c){var k=f[c];for(g in k)k.hasOwnProperty(g)&&(h||(h={}),h[g]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&
|
c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};Jd=function(a){};bg=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;ya(S.current);a=null;switch(c){case "input":f=Zc(g,f);d=Zc(g,d);a=[];break;case "option":f=hd(g,f);d=hd(g,d);a=[];break;case "select":f=y({},f,{value:void 0});d=y({},d,{value:void 0});a=[];break;case "textarea":f=id(g,f);d=id(g,d);a=[];break;default:"function"!==typeof f.onClick&&"function"===typeof d.onClick&&(g.onclick=bc)}kd(c,d);g=c=void 0;
|
||||||
"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(Ta.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in d){var l=d[c];k=null!=f?f[c]:void 0;if(d.hasOwnProperty(c)&&l!==k&&(null!=l||null!=k))if("style"===c)if(k){for(g in k)!k.hasOwnProperty(g)||l&&l.hasOwnProperty(g)||(h||(h={}),h[g]="");for(g in l)l.hasOwnProperty(g)&&k[g]!==l[g]&&(h||(h={}),h[g]=l[g])}else h||(a||(a=[]),a.push(c,h)),h=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,k=k?k.__html:void 0,null!=l&&k!==l&&(a=a||[]).push(c,
|
var h=null;for(c in f)if(!d.hasOwnProperty(c)&&f.hasOwnProperty(c)&&null!=f[c])if("style"===c){var k=f[c];for(g in k)k.hasOwnProperty(g)&&(h||(h={}),h[g]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(Ea.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in d){var l=d[c];k=null!=f?f[c]:void 0;if(d.hasOwnProperty(c)&&l!==k&&(null!=l||null!=k))if("style"===c)if(k){for(g in k)!k.hasOwnProperty(g)||
|
||||||
""+l)):"children"===c?k===l||"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(Ta.hasOwnProperty(c)?(null!=l&&T(e,c),a||k===l||(a=[])):(a=a||[]).push(c,l))}h&&(a=a||[]).push("style",h);e=a;(b.updateQueue=e)&&vb(b)}};bg=function(a,b,c,d){c!==d&&vb(b)};var rh={readContext:xf},tc=Vd.ReactCurrentOwner,Td=0,Ab=0,Pa=!1,B=null,pa=null,J=0,Z=-1,Hd=!1,p=null,yb=!1,Za=null,ea=null,w=null,uc=0,vc=void 0,I=!1,aa=null,A=0,qa=
|
l&&l.hasOwnProperty(g)||(h||(h={}),h[g]="");for(g in l)l.hasOwnProperty(g)&&k[g]!==l[g]&&(h||(h={}),h[g]=l[g])}else h||(a||(a=[]),a.push(c,h)),h=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,k=k?k.__html:void 0,null!=l&&k!==l&&(a=a||[]).push(c,""+l)):"children"===c?k===l||"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(Ea.hasOwnProperty(c)?(null!=l&&ba(e,c),a||k===l||(a=[])):(a=a||[]).push(c,l))}h&&
|
||||||
0,zc=!1,Fa=!1,Ac=null,Ea=null,C=!1,xc=!1,wa=!1,db=null,Nd=Md(),da=(Nd/10|0)+2,Qa=da,th=50,Bb=0,Od=null,zh=1;Pc=function(a,b,c){switch(b){case "input":Zc(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Kc(d);e?void 0:n("90");ye(d);Zc(d,e)}}}break;case "textarea":ef(a,c);break;case "select":b=c.value,null!=b&&za(a,!!c.multiple,
|
(a=a||[]).push("style",h);e=a;(b.updateQueue=e)&&wb(b)}};dg=function(a,b,c,d){c!==d&&wb(b)};var sh={readContext:wf},pc=Vd.ReactCurrentOwner,Td=1073741822,Ab=0,ta=!1,B=null,U=null,H=0,Ba=-1,Id=!1,n=null,rc=!1,rh=null,Zf=null,sa=null,W=null,N=null,sc=0,tc=void 0,M=!1,X=null,u=0,ea=0,Za=!1,yc=null,C=!1,vc=!1,Wa=!1,Ya=null,Nd=Md(),V=1073741822-(Nd/10|0),Xa=V,uh=50,Bb=0,Od=null,xc=!1;Pc=function(a,b,c){switch(b){case "input":$c(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;
|
||||||
b,!1)}};Db.prototype.render=function(a){this._defer?void 0:n("250");this._hasChildren=!0;this._children=a;var b=this._root._internalRoot,c=this._expirationTime,d=new bb;mg(a,b,null,c,d._onCommit);return d};Db.prototype.then=function(a){if(this._didComplete)a();else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}};Db.prototype.commit=function(){var a=this._root._internalRoot,b=a.firstBatch;this._defer&&null!==b?void 0:n("251");if(this._hasChildren){var c=this._expirationTime;if(b!==
|
c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Kc(d);e?void 0:p("90");xe(d);$c(d,e)}}}break;case "textarea":cf(a,c);break;case "select":b=c.value,null!=b&&Na(a,!!c.multiple,b,!1)}};Db.prototype.render=function(a){this._defer?void 0:p("250");this._hasChildren=!0;this._children=a;var b=this._root._internalRoot,c=this._expirationTime,d=new ab;og(a,b,null,c,d._onCommit);return d};Db.prototype.then=function(a){if(this._didComplete)a();
|
||||||
this){this._hasChildren&&(c=this._expirationTime=b._expirationTime,this.render(this._children));for(var d=null,e=b;e!==this;)d=e,e=e._next;null===d?n("251"):void 0;d._next=e._next;this._next=b;a.firstBatch=this}this._defer=!1;hg(a,c);b=this._next;this._next=null;b=a.firstBatch=b;null!==b&&b._hasChildren&&b.render(b._children)}else this._next=null,this._defer=!1};Db.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var a=this._callbacks;if(null!==a)for(var b=0;b<a.length;b++)(0,a[b])()}};
|
else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}};Db.prototype.commit=function(){var a=this._root._internalRoot,b=a.firstBatch;this._defer&&null!==b?void 0:p("251");if(this._hasChildren){var c=this._expirationTime;if(b!==this){this._hasChildren&&(c=this._expirationTime=b._expirationTime,this.render(this._children));for(var d=null,e=b;e!==this;)d=e,e=e._next;null===d?p("251"):void 0;d._next=e._next;this._next=b;a.firstBatch=this}this._defer=!1;jg(a,c);b=this._next;this._next=
|
||||||
bb.prototype.then=function(a){if(this._didCommit)a();else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}};bb.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var a=this._callbacks;if(null!==a)for(var b=0;b<a.length;b++){var c=a[b];"function"!==typeof c?n("191",c):void 0;c()}}};Ia.prototype.render=function(a,b){var c=this._internalRoot,d=new bb;b=void 0===b?null:b;null!==b&&d.then(b);Rd(a,c,null,d._onCommit);return d};Ia.prototype.unmount=function(a){var b=
|
null;b=a.firstBatch=b;null!==b&&b._hasChildren&&b.render(b._children)}else this._next=null,this._defer=!1};Db.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var a=this._callbacks;if(null!==a)for(var b=0;b<a.length;b++)(0,a[b])()}};ab.prototype.then=function(a){if(this._didCommit)a();else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}};ab.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var a=this._callbacks;if(null!==a)for(var b=
|
||||||
this._internalRoot,c=new bb;a=void 0===a?null:a;null!==a&&c.then(a);Rd(null,b,null,c._onCommit);return c};Ia.prototype.legacy_renderSubtreeIntoContainer=function(a,b,c){var d=this._internalRoot,e=new bb;c=void 0===c?null:c;null!==c&&e.then(c);Rd(b,d,a,e._onCommit);return e};Ia.prototype.createBatch=function(){var a=new Db(this),b=a._expirationTime,c=this._internalRoot,d=c.firstBatch;if(null===d)c.firstBatch=a,a._next=null;else{for(c=null;null!==d&&d._expirationTime<=b;)c=d,d=d._next;a._next=d;null!==
|
0;b<a.length;b++){var c=a[b];"function"!==typeof c?p("191",c):void 0;c()}}};bb.prototype.render=function(a,b){var c=this._internalRoot,d=new ab;b=void 0===b?null:b;null!==b&&d.then(b);Rd(a,c,null,d._onCommit);return d};bb.prototype.unmount=function(a){var b=this._internalRoot,c=new ab;a=void 0===a?null:a;null!==a&&c.then(a);Rd(null,b,null,c._onCommit);return c};bb.prototype.legacy_renderSubtreeIntoContainer=function(a,b,c){var d=this._internalRoot,e=new ab;c=void 0===c?null:c;null!==c&&e.then(c);
|
||||||
c&&(c._next=a)}return a};(function(a,b,c){te=a;Ve=b;ue=c})(jg,lg,function(){I||0===qa||(R(qa,null),qa=0)});var Ag={createPortal:ng,findDOMNode:function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;void 0===b&&("function"===typeof a.render?n("188"):n("268",Object.keys(a)));a=Qe(b);a=null===a?null:a.stateNode;return a},hydrate:function(a,b,c){return Dc(null,a,b,!0,c)},render:function(a,b,c){return Dc(null,a,b,!1,c)},unstable_renderSubtreeIntoContainer:function(a,
|
Rd(b,d,a,e._onCommit);return e};bb.prototype.createBatch=function(){var a=new Db(this),b=a._expirationTime,c=this._internalRoot,d=c.firstBatch;if(null===d)c.firstBatch=a,a._next=null;else{for(c=null;null!==d&&d._expirationTime>=b;)c=d,d=d._next;a._next=d;null!==c&&(c._next=a)}return a};(function(a,b,c){se=a;Te=b;te=c})(lg,ng,function(){M||0===ea||(fa(ea,!1),ea=0)});var Bg={createPortal:pg,findDOMNode:function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;void 0===
|
||||||
b,c,d){null==a||void 0===a._reactInternalFiber?n("38"):void 0;return Dc(a,b,c,!1,d)},unmountComponentAtNode:function(a){Cc(a)?void 0:n("40");return a._reactRootContainer?(kg(function(){Dc(null,null,a,!1,function(){a._reactRootContainer=null})}),!0):!1},unstable_createPortal:function(){return ng.apply(void 0,arguments)},unstable_batchedUpdates:jg,unstable_interactiveUpdates:lg,flushSync:function(a,b){I?n("187"):void 0;var c=C;C=!0;try{return fg(a,b)}finally{C=c,R(1,null)}},unstable_flushControlled:function(a){var b=
|
b&&("function"===typeof a.render?p("188"):p("268",Object.keys(a)));a=Oe(b);a=null===a?null:a.stateNode;return a},hydrate:function(a,b,c){return Bc(null,a,b,!0,c)},render:function(a,b,c){return Bc(null,a,b,!1,c)},unstable_renderSubtreeIntoContainer:function(a,b,c,d){null==a||void 0===a._reactInternalFiber?p("38"):void 0;return Bc(a,b,c,!1,d)},unmountComponentAtNode:function(a){Ac(a)?void 0:p("40");return a._reactRootContainer?(mg(function(){Bc(null,null,a,!1,function(){a._reactRootContainer=null})}),
|
||||||
C;C=!0;try{fg(a)}finally{(C=b)||I||R(1,null)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[ee,W,Kc,Ud.injectEventPluginsByName,Gc,La,function(a){Mb(a,Kg)},qe,re,Yb,Jc]},unstable_createRoot:function(a,b){Cc(a)?void 0:n("278");return new Ia(a,!0,null!=b&&!0===b.hydrate)}};(function(a){var b=a.findFiberByHostInstance;return kh(E({},a,{findHostInstanceByFiber:function(a){a=Qe(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null}}))})({findFiberByHostInstance:Nb,
|
!0):!1},unstable_createPortal:function(){return pg.apply(void 0,arguments)},unstable_batchedUpdates:lg,unstable_interactiveUpdates:ng,flushSync:function(a,b){M?p("187"):void 0;var c=C;C=!0;try{return hg(a,b)}finally{C=c,fa(1073741823,!1)}},unstable_flushControlled:function(a){var b=C;C=!0;try{hg(a)}finally{(C=b)||M||fa(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[de,ua,Kc,Ud.injectEventPluginsByName,Fc,Ga,function(a){Hc(a,Kg)},pe,qe,Xb,Jc]},unstable_createRoot:function(a,
|
||||||
bundleType:0,version:"16.6.0",rendererPackageName:"react-dom"});var Bg={default:Ag},Cg=Bg&&Ag||Bg;return Cg.default||Cg});
|
b){Ac(a)?void 0:p("299","unstable_createRoot");return new bb(a,!0,null!=b&&!0===b.hydrate)}};(function(a){var b=a.findFiberByHostInstance;return kh(y({},a,{findHostInstanceByFiber:function(a){a=Oe(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null}}))})({findFiberByHostInstance:Mb,bundleType:0,version:"16.6.3",rendererPackageName:"react-dom"});var Cg={default:Bg},Dg=Cg&&Bg||Cg;return Dg.default||Dg});
|
||||||
|
299
wp-includes/js/dist/vendor/react.js
vendored
299
wp-includes/js/dist/vendor/react.js
vendored
@ -1,4 +1,4 @@
|
|||||||
/** @license React v16.6.0
|
/** @license React v16.6.1
|
||||||
* react.development.js
|
* react.development.js
|
||||||
*
|
*
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
// TODO: this is special because it gets imported during build.
|
// TODO: this is special because it gets imported during build.
|
||||||
|
|
||||||
var ReactVersion = '16.6.0';
|
var ReactVersion = '16.6.3';
|
||||||
|
|
||||||
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
||||||
// nor polyfill, then a plain number is used for performance.
|
// nor polyfill, then a plain number is used for performance.
|
||||||
@ -30,6 +30,7 @@ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeac
|
|||||||
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
||||||
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
||||||
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
|
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
|
||||||
|
|
||||||
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
||||||
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
||||||
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
||||||
@ -50,6 +51,43 @@ function getIteratorFn(maybeIterable) {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var enableHooks = false;
|
||||||
|
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
||||||
|
|
||||||
|
|
||||||
|
// In some cases, StrictMode should also double-render lifecycles.
|
||||||
|
// This can be confusing for tests though,
|
||||||
|
// And it can be bad for performance in production.
|
||||||
|
// This feature flag can be used to control the behavior:
|
||||||
|
|
||||||
|
|
||||||
|
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
|
||||||
|
// replay the begin phase of a failed component inside invokeGuardedCallback.
|
||||||
|
|
||||||
|
|
||||||
|
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
||||||
|
|
||||||
|
|
||||||
|
// Gather advanced timing metrics for Profiler subtrees.
|
||||||
|
|
||||||
|
|
||||||
|
// Trace which interactions trigger each commit.
|
||||||
|
var enableSchedulerTracing = true;
|
||||||
|
|
||||||
|
// Only used in www builds.
|
||||||
|
|
||||||
|
|
||||||
|
// Only used in www builds.
|
||||||
|
|
||||||
|
|
||||||
|
// React Fire: prevent the value and checked attributes from syncing
|
||||||
|
// with their related DOM properties
|
||||||
|
|
||||||
|
|
||||||
|
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
||||||
|
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
||||||
|
var enableStableConcurrentModeAPIs = false;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
object-assign
|
object-assign
|
||||||
(c) Sindre Sorhus
|
(c) Sindre Sorhus
|
||||||
@ -265,63 +303,24 @@ var warningWithoutStack = function () {};
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (typeof console !== 'undefined') {
|
if (typeof console !== 'undefined') {
|
||||||
var _args$map = args.map(function (item) {
|
var argsWithFormat = args.map(function (item) {
|
||||||
return '' + item;
|
return '' + item;
|
||||||
}),
|
});
|
||||||
a = _args$map[0],
|
argsWithFormat.unshift('Warning: ' + format);
|
||||||
b = _args$map[1],
|
|
||||||
c = _args$map[2],
|
|
||||||
d = _args$map[3],
|
|
||||||
e = _args$map[4],
|
|
||||||
f = _args$map[5],
|
|
||||||
g = _args$map[6],
|
|
||||||
h = _args$map[7];
|
|
||||||
|
|
||||||
var message = 'Warning: ' + format;
|
// We intentionally don't use spread (or .apply) directly because it
|
||||||
|
// breaks IE9: https://github.com/facebook/react/issues/13610
|
||||||
// We intentionally don't use spread (or .apply) because it breaks IE9:
|
Function.prototype.apply.call(console.error, console, argsWithFormat);
|
||||||
// https://github.com/facebook/react/issues/13610
|
|
||||||
switch (args.length) {
|
|
||||||
case 0:
|
|
||||||
console.error(message);
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
console.error(message, a);
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
console.error(message, a, b);
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
console.error(message, a, b, c);
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
console.error(message, a, b, c, d);
|
|
||||||
break;
|
|
||||||
case 5:
|
|
||||||
console.error(message, a, b, c, d, e);
|
|
||||||
break;
|
|
||||||
case 6:
|
|
||||||
console.error(message, a, b, c, d, e, f);
|
|
||||||
break;
|
|
||||||
case 7:
|
|
||||||
console.error(message, a, b, c, d, e, f, g);
|
|
||||||
break;
|
|
||||||
case 8:
|
|
||||||
console.error(message, a, b, c, d, e, f, g, h);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
throw new Error('warningWithoutStack() currently supports at most 8 arguments.');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
// --- Welcome to debugging React ---
|
// --- Welcome to debugging React ---
|
||||||
// This error was thrown as a convenience so that you can use this stack
|
// This error was thrown as a convenience so that you can use this stack
|
||||||
// to find the callsite that caused this warning to fire.
|
// to find the callsite that caused this warning to fire.
|
||||||
var argIndex = 0;
|
var argIndex = 0;
|
||||||
var _message = 'Warning: ' + format.replace(/%s/g, function () {
|
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
||||||
return args[argIndex++];
|
return args[argIndex++];
|
||||||
});
|
});
|
||||||
throw new Error(_message);
|
throw new Error(message);
|
||||||
} catch (x) {}
|
} catch (x) {}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -541,7 +540,8 @@ function createRef() {
|
|||||||
var ImmediatePriority = 1;
|
var ImmediatePriority = 1;
|
||||||
var UserBlockingPriority = 2;
|
var UserBlockingPriority = 2;
|
||||||
var NormalPriority = 3;
|
var NormalPriority = 3;
|
||||||
var IdlePriority = 4;
|
var LowPriority = 4;
|
||||||
|
var IdlePriority = 5;
|
||||||
|
|
||||||
// Max 31 bit integer. The max integer size in V8 for 32-bit systems.
|
// Max 31 bit integer. The max integer size in V8 for 32-bit systems.
|
||||||
// Math.pow(2, 30) - 1
|
// Math.pow(2, 30) - 1
|
||||||
@ -553,12 +553,14 @@ var IMMEDIATE_PRIORITY_TIMEOUT = -1;
|
|||||||
// Eventually times out
|
// Eventually times out
|
||||||
var USER_BLOCKING_PRIORITY = 250;
|
var USER_BLOCKING_PRIORITY = 250;
|
||||||
var NORMAL_PRIORITY_TIMEOUT = 5000;
|
var NORMAL_PRIORITY_TIMEOUT = 5000;
|
||||||
|
var LOW_PRIORITY_TIMEOUT = 10000;
|
||||||
// Never times out
|
// Never times out
|
||||||
var IDLE_PRIORITY = maxSigned31BitInt;
|
var IDLE_PRIORITY = maxSigned31BitInt;
|
||||||
|
|
||||||
// Callbacks are stored as a circular, doubly linked list.
|
// Callbacks are stored as a circular, doubly linked list.
|
||||||
var firstCallbackNode = null;
|
var firstCallbackNode = null;
|
||||||
|
|
||||||
|
var currentDidTimeout = false;
|
||||||
var currentPriorityLevel = NormalPriority;
|
var currentPriorityLevel = NormalPriority;
|
||||||
var currentEventStartTime = -1;
|
var currentEventStartTime = -1;
|
||||||
var currentExpirationTime = -1;
|
var currentExpirationTime = -1;
|
||||||
@ -570,35 +572,6 @@ var isHostCallbackScheduled = false;
|
|||||||
|
|
||||||
var hasNativePerformanceNow = typeof performance === 'object' && typeof performance.now === 'function';
|
var hasNativePerformanceNow = typeof performance === 'object' && typeof performance.now === 'function';
|
||||||
|
|
||||||
var timeRemaining;
|
|
||||||
if (hasNativePerformanceNow) {
|
|
||||||
timeRemaining = function () {
|
|
||||||
if (firstCallbackNode !== null && firstCallbackNode.expirationTime < currentExpirationTime) {
|
|
||||||
// A higher priority callback was scheduled. Yield so we can switch to
|
|
||||||
// working on that.
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
// We assume that if we have a performance timer that the rAF callback
|
|
||||||
// gets a performance timer value. Not sure if this is always true.
|
|
||||||
var remaining = getFrameDeadline() - performance.now();
|
|
||||||
return remaining > 0 ? remaining : 0;
|
|
||||||
};
|
|
||||||
} else {
|
|
||||||
timeRemaining = function () {
|
|
||||||
// Fallback to Date.now()
|
|
||||||
if (firstCallbackNode !== null && firstCallbackNode.expirationTime < currentExpirationTime) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
var remaining = getFrameDeadline() - Date.now();
|
|
||||||
return remaining > 0 ? remaining : 0;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
var deadlineObject = {
|
|
||||||
timeRemaining: timeRemaining,
|
|
||||||
didTimeout: false
|
|
||||||
};
|
|
||||||
|
|
||||||
function ensureHostCallbackIsScheduled() {
|
function ensureHostCallbackIsScheduled() {
|
||||||
if (isExecutingCallback) {
|
if (isExecutingCallback) {
|
||||||
// Don't schedule work yet; wait until the next time we yield.
|
// Don't schedule work yet; wait until the next time we yield.
|
||||||
@ -643,7 +616,7 @@ function flushFirstCallback() {
|
|||||||
currentExpirationTime = expirationTime;
|
currentExpirationTime = expirationTime;
|
||||||
var continuationCallback;
|
var continuationCallback;
|
||||||
try {
|
try {
|
||||||
continuationCallback = callback(deadlineObject);
|
continuationCallback = callback();
|
||||||
} finally {
|
} finally {
|
||||||
currentPriorityLevel = previousPriorityLevel;
|
currentPriorityLevel = previousPriorityLevel;
|
||||||
currentExpirationTime = previousExpirationTime;
|
currentExpirationTime = previousExpirationTime;
|
||||||
@ -703,7 +676,6 @@ function flushImmediateWork() {
|
|||||||
// Confirm we've exited the outer most event handler
|
// Confirm we've exited the outer most event handler
|
||||||
currentEventStartTime === -1 && firstCallbackNode !== null && firstCallbackNode.priorityLevel === ImmediatePriority) {
|
currentEventStartTime === -1 && firstCallbackNode !== null && firstCallbackNode.priorityLevel === ImmediatePriority) {
|
||||||
isExecutingCallback = true;
|
isExecutingCallback = true;
|
||||||
deadlineObject.didTimeout = true;
|
|
||||||
try {
|
try {
|
||||||
do {
|
do {
|
||||||
flushFirstCallback();
|
flushFirstCallback();
|
||||||
@ -724,7 +696,8 @@ function flushImmediateWork() {
|
|||||||
|
|
||||||
function flushWork(didTimeout) {
|
function flushWork(didTimeout) {
|
||||||
isExecutingCallback = true;
|
isExecutingCallback = true;
|
||||||
deadlineObject.didTimeout = didTimeout;
|
var previousDidTimeout = currentDidTimeout;
|
||||||
|
currentDidTimeout = didTimeout;
|
||||||
try {
|
try {
|
||||||
if (didTimeout) {
|
if (didTimeout) {
|
||||||
// Flush all the expired callbacks without yielding.
|
// Flush all the expired callbacks without yielding.
|
||||||
@ -746,11 +719,12 @@ function flushWork(didTimeout) {
|
|||||||
if (firstCallbackNode !== null) {
|
if (firstCallbackNode !== null) {
|
||||||
do {
|
do {
|
||||||
flushFirstCallback();
|
flushFirstCallback();
|
||||||
} while (firstCallbackNode !== null && getFrameDeadline() - getCurrentTime() > 0);
|
} while (firstCallbackNode !== null && !shouldYieldToHost());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
isExecutingCallback = false;
|
isExecutingCallback = false;
|
||||||
|
currentDidTimeout = previousDidTimeout;
|
||||||
if (firstCallbackNode !== null) {
|
if (firstCallbackNode !== null) {
|
||||||
// There's still work remaining. Request another callback.
|
// There's still work remaining. Request another callback.
|
||||||
ensureHostCallbackIsScheduled();
|
ensureHostCallbackIsScheduled();
|
||||||
@ -767,6 +741,7 @@ function unstable_runWithPriority(priorityLevel, eventHandler) {
|
|||||||
case ImmediatePriority:
|
case ImmediatePriority:
|
||||||
case UserBlockingPriority:
|
case UserBlockingPriority:
|
||||||
case NormalPriority:
|
case NormalPriority:
|
||||||
|
case LowPriority:
|
||||||
case IdlePriority:
|
case IdlePriority:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@ -826,6 +801,9 @@ function unstable_scheduleCallback(callback, deprecated_options) {
|
|||||||
case IdlePriority:
|
case IdlePriority:
|
||||||
expirationTime = startTime + IDLE_PRIORITY;
|
expirationTime = startTime + IDLE_PRIORITY;
|
||||||
break;
|
break;
|
||||||
|
case LowPriority:
|
||||||
|
expirationTime = startTime + LOW_PRIORITY_TIMEOUT;
|
||||||
|
break;
|
||||||
case NormalPriority:
|
case NormalPriority:
|
||||||
default:
|
default:
|
||||||
expirationTime = startTime + NORMAL_PRIORITY_TIMEOUT;
|
expirationTime = startTime + NORMAL_PRIORITY_TIMEOUT;
|
||||||
@ -905,6 +883,10 @@ function unstable_getCurrentPriorityLevel() {
|
|||||||
return currentPriorityLevel;
|
return currentPriorityLevel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function unstable_shouldYield() {
|
||||||
|
return !currentDidTimeout && (firstCallbackNode !== null && firstCallbackNode.expirationTime < currentExpirationTime || shouldYieldToHost());
|
||||||
|
}
|
||||||
|
|
||||||
// The remaining code is essentially a polyfill for requestIdleCallback. It
|
// The remaining code is essentially a polyfill for requestIdleCallback. It
|
||||||
// works by scheduling a requestAnimationFrame, storing the time for the start
|
// works by scheduling a requestAnimationFrame, storing the time for the start
|
||||||
// of the frame, then scheduling a postMessage which gets scheduled after paint.
|
// of the frame, then scheduling a postMessage which gets scheduled after paint.
|
||||||
@ -967,14 +949,14 @@ if (hasNativePerformanceNow) {
|
|||||||
|
|
||||||
var requestHostCallback;
|
var requestHostCallback;
|
||||||
var cancelHostCallback;
|
var cancelHostCallback;
|
||||||
var getFrameDeadline;
|
var shouldYieldToHost;
|
||||||
|
|
||||||
if (typeof window !== 'undefined' && window._schedMock) {
|
if (typeof window !== 'undefined' && window._schedMock) {
|
||||||
// Dynamic injection, only for testing purposes.
|
// Dynamic injection, only for testing purposes.
|
||||||
var impl = window._schedMock;
|
var impl = window._schedMock;
|
||||||
requestHostCallback = impl[0];
|
requestHostCallback = impl[0];
|
||||||
cancelHostCallback = impl[1];
|
cancelHostCallback = impl[1];
|
||||||
getFrameDeadline = impl[2];
|
shouldYieldToHost = impl[2];
|
||||||
} else if (
|
} else if (
|
||||||
// If Scheduler runs in a non-DOM environment, it falls back to a naive
|
// If Scheduler runs in a non-DOM environment, it falls back to a naive
|
||||||
// implementation using setTimeout.
|
// implementation using setTimeout.
|
||||||
@ -1009,8 +991,8 @@ typeof window.addEventListener !== 'function') {
|
|||||||
cancelHostCallback = function () {
|
cancelHostCallback = function () {
|
||||||
_callback = null;
|
_callback = null;
|
||||||
};
|
};
|
||||||
getFrameDeadline = function () {
|
shouldYieldToHost = function () {
|
||||||
return Infinity;
|
return false;
|
||||||
};
|
};
|
||||||
getCurrentTime = function () {
|
getCurrentTime = function () {
|
||||||
return _currentTime === -1 ? 0 : _currentTime;
|
return _currentTime === -1 ? 0 : _currentTime;
|
||||||
@ -1041,8 +1023,8 @@ typeof window.addEventListener !== 'function') {
|
|||||||
var previousFrameTime = 33;
|
var previousFrameTime = 33;
|
||||||
var activeFrameTime = 33;
|
var activeFrameTime = 33;
|
||||||
|
|
||||||
getFrameDeadline = function () {
|
shouldYieldToHost = function () {
|
||||||
return frameDeadline;
|
return frameDeadline <= getCurrentTime();
|
||||||
};
|
};
|
||||||
|
|
||||||
// We use the postMessage trick to defer idle work until after the repaint.
|
// We use the postMessage trick to defer idle work until after the repaint.
|
||||||
@ -1161,37 +1143,6 @@ typeof window.addEventListener !== 'function') {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
||||||
|
|
||||||
|
|
||||||
// In some cases, StrictMode should also double-render lifecycles.
|
|
||||||
// This can be confusing for tests though,
|
|
||||||
// And it can be bad for performance in production.
|
|
||||||
// This feature flag can be used to control the behavior:
|
|
||||||
|
|
||||||
|
|
||||||
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
|
|
||||||
// replay the begin phase of a failed component inside invokeGuardedCallback.
|
|
||||||
|
|
||||||
|
|
||||||
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
||||||
|
|
||||||
|
|
||||||
// Gather advanced timing metrics for Profiler subtrees.
|
|
||||||
|
|
||||||
|
|
||||||
// Trace which interactions trigger each commit.
|
|
||||||
var enableSchedulerTracing = true;
|
|
||||||
|
|
||||||
// Only used in www builds.
|
|
||||||
|
|
||||||
|
|
||||||
// Only used in www builds.
|
|
||||||
|
|
||||||
|
|
||||||
// React Fire: prevent the value and checked attributes from syncing
|
|
||||||
// with their related DOM properties
|
|
||||||
|
|
||||||
var DEFAULT_THREAD_ID = 0;
|
var DEFAULT_THREAD_ID = 0;
|
||||||
|
|
||||||
// Counters used to generate unique IDs.
|
// Counters used to generate unique IDs.
|
||||||
@ -1706,6 +1657,7 @@ var ReactSharedInternals = {
|
|||||||
objectAssign(ReactSharedInternals, {
|
objectAssign(ReactSharedInternals, {
|
||||||
Scheduler: {
|
Scheduler: {
|
||||||
unstable_cancelCallback: unstable_cancelCallback,
|
unstable_cancelCallback: unstable_cancelCallback,
|
||||||
|
unstable_shouldYield: unstable_shouldYield,
|
||||||
unstable_now: getCurrentTime,
|
unstable_now: getCurrentTime,
|
||||||
unstable_scheduleCallback: unstable_scheduleCallback,
|
unstable_scheduleCallback: unstable_scheduleCallback,
|
||||||
unstable_runWithPriority: unstable_runWithPriority,
|
unstable_runWithPriority: unstable_runWithPriority,
|
||||||
@ -2414,6 +2366,9 @@ function createContext(defaultValue, calculateChangedBits) {
|
|||||||
// Secondary renderers store their context values on separate fields.
|
// Secondary renderers store their context values on separate fields.
|
||||||
_currentValue: defaultValue,
|
_currentValue: defaultValue,
|
||||||
_currentValue2: defaultValue,
|
_currentValue2: defaultValue,
|
||||||
|
// Used to track how many concurrent renderers this context currently
|
||||||
|
// supports within in a single renderer. Such as parallel server rendering.
|
||||||
|
_threadCount: 0,
|
||||||
// These are circular
|
// These are circular
|
||||||
Provider: null,
|
Provider: null,
|
||||||
Consumer: null
|
Consumer: null
|
||||||
@ -2466,6 +2421,14 @@ function createContext(defaultValue, calculateChangedBits) {
|
|||||||
context._currentValue2 = _currentValue2;
|
context._currentValue2 = _currentValue2;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
_threadCount: {
|
||||||
|
get: function () {
|
||||||
|
return context._threadCount;
|
||||||
|
},
|
||||||
|
set: function (_threadCount) {
|
||||||
|
context._threadCount = _threadCount;
|
||||||
|
}
|
||||||
|
},
|
||||||
Consumer: {
|
Consumer: {
|
||||||
get: function () {
|
get: function () {
|
||||||
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
||||||
@ -2500,7 +2463,9 @@ function lazy(ctor) {
|
|||||||
|
|
||||||
function forwardRef(render) {
|
function forwardRef(render) {
|
||||||
{
|
{
|
||||||
if (typeof render !== 'function') {
|
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
|
||||||
|
warningWithoutStack$1(false, 'forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
|
||||||
|
} else if (typeof render !== 'function') {
|
||||||
warningWithoutStack$1(false, 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
|
warningWithoutStack$1(false, 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
|
||||||
} else {
|
} else {
|
||||||
!(
|
!(
|
||||||
@ -2538,6 +2503,75 @@ function memo(type, compare) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function resolveDispatcher() {
|
||||||
|
var dispatcher = ReactCurrentOwner.currentDispatcher;
|
||||||
|
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0;
|
||||||
|
return dispatcher;
|
||||||
|
}
|
||||||
|
|
||||||
|
function useContext(Context, observedBits) {
|
||||||
|
var dispatcher = resolveDispatcher();
|
||||||
|
{
|
||||||
|
// TODO: add a more generic warning for invalid values.
|
||||||
|
if (Context._context !== undefined) {
|
||||||
|
var realContext = Context._context;
|
||||||
|
// Don't deduplicate because this legitimately causes bugs
|
||||||
|
// and nobody should be using this in existing code.
|
||||||
|
if (realContext.Consumer === Context) {
|
||||||
|
warning$1(false, 'Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?');
|
||||||
|
} else if (realContext.Provider === Context) {
|
||||||
|
warning$1(false, 'Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return dispatcher.useContext(Context, observedBits);
|
||||||
|
}
|
||||||
|
|
||||||
|
function useState(initialState) {
|
||||||
|
var dispatcher = resolveDispatcher();
|
||||||
|
return dispatcher.useState(initialState);
|
||||||
|
}
|
||||||
|
|
||||||
|
function useReducer(reducer, initialState, initialAction) {
|
||||||
|
var dispatcher = resolveDispatcher();
|
||||||
|
return dispatcher.useReducer(reducer, initialState, initialAction);
|
||||||
|
}
|
||||||
|
|
||||||
|
function useRef(initialValue) {
|
||||||
|
var dispatcher = resolveDispatcher();
|
||||||
|
return dispatcher.useRef(initialValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
function useEffect(create, inputs) {
|
||||||
|
var dispatcher = resolveDispatcher();
|
||||||
|
return dispatcher.useEffect(create, inputs);
|
||||||
|
}
|
||||||
|
|
||||||
|
function useMutationEffect(create, inputs) {
|
||||||
|
var dispatcher = resolveDispatcher();
|
||||||
|
return dispatcher.useMutationEffect(create, inputs);
|
||||||
|
}
|
||||||
|
|
||||||
|
function useLayoutEffect(create, inputs) {
|
||||||
|
var dispatcher = resolveDispatcher();
|
||||||
|
return dispatcher.useLayoutEffect(create, inputs);
|
||||||
|
}
|
||||||
|
|
||||||
|
function useCallback(callback, inputs) {
|
||||||
|
var dispatcher = resolveDispatcher();
|
||||||
|
return dispatcher.useCallback(callback, inputs);
|
||||||
|
}
|
||||||
|
|
||||||
|
function useMemo(create, inputs) {
|
||||||
|
var dispatcher = resolveDispatcher();
|
||||||
|
return dispatcher.useMemo(create, inputs);
|
||||||
|
}
|
||||||
|
|
||||||
|
function useImperativeMethods(ref, create, inputs) {
|
||||||
|
var dispatcher = resolveDispatcher();
|
||||||
|
return dispatcher.useImperativeMethods(ref, create, inputs);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2013-present, Facebook, Inc.
|
* Copyright (c) 2013-present, Facebook, Inc.
|
||||||
*
|
*
|
||||||
@ -2945,9 +2979,7 @@ var React = {
|
|||||||
|
|
||||||
Fragment: REACT_FRAGMENT_TYPE,
|
Fragment: REACT_FRAGMENT_TYPE,
|
||||||
StrictMode: REACT_STRICT_MODE_TYPE,
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
||||||
unstable_ConcurrentMode: REACT_CONCURRENT_MODE_TYPE,
|
|
||||||
Suspense: REACT_SUSPENSE_TYPE,
|
Suspense: REACT_SUSPENSE_TYPE,
|
||||||
unstable_Profiler: REACT_PROFILER_TYPE,
|
|
||||||
|
|
||||||
createElement: createElementWithValidation,
|
createElement: createElementWithValidation,
|
||||||
cloneElement: cloneElementWithValidation,
|
cloneElement: cloneElementWithValidation,
|
||||||
@ -2959,6 +2991,27 @@ var React = {
|
|||||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (enableStableConcurrentModeAPIs) {
|
||||||
|
React.ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
||||||
|
React.Profiler = REACT_PROFILER_TYPE;
|
||||||
|
} else {
|
||||||
|
React.unstable_ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
||||||
|
React.unstable_Profiler = REACT_PROFILER_TYPE;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (enableHooks) {
|
||||||
|
React.useCallback = useCallback;
|
||||||
|
React.useContext = useContext;
|
||||||
|
React.useEffect = useEffect;
|
||||||
|
React.useImperativeMethods = useImperativeMethods;
|
||||||
|
React.useLayoutEffect = useLayoutEffect;
|
||||||
|
React.useMemo = useMemo;
|
||||||
|
React.useMutationEffect = useMutationEffect;
|
||||||
|
React.useReducer = useReducer;
|
||||||
|
React.useRef = useRef;
|
||||||
|
React.useState = useState;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var React$2 = Object.freeze({
|
var React$2 = Object.freeze({
|
||||||
|
48
wp-includes/js/dist/vendor/react.min.js
vendored
48
wp-includes/js/dist/vendor/react.min.js
vendored
@ -1,4 +1,4 @@
|
|||||||
/** @license React v16.6.0
|
/** @license React v16.6.1
|
||||||
* react.production.min.js
|
* react.production.min.js
|
||||||
*
|
*
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
@ -6,26 +6,26 @@
|
|||||||
* This source code is licensed under the MIT license found in the
|
* This source code is licensed under the MIT license found in the
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
'use strict';(function(L,p){"object"===typeof exports&&"undefined"!==typeof module?module.exports=p():"function"===typeof define&&define.amd?define(p):L.React=p()})(this,function(){function L(a,b,c,f,n,d,e,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[c,f,n,d,e,h],ta=0;a=Error(b.replace(/%s/g,function(){return g[ta++]}));a.name="Invariant Violation"}a.framesToPop=
|
'use strict';(function(N,p){"object"===typeof exports&&"undefined"!==typeof module?module.exports=p():"function"===typeof define&&define.amd?define(p):N.React=p()})(this,function(){function N(a,b,d,f,n,g,c,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var e=[d,f,n,g,c,h],ta=0;a=Error(b.replace(/%s/g,function(){return e[ta++]}));a.name="Invariant Violation"}a.framesToPop=
|
||||||
1;throw a;}}function p(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=0;f<b;f++)c+="&args[]="+encodeURIComponent(arguments[f+1]);L(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}function r(a,b,c){this.props=a;this.context=b;this.refs=ca;this.updater=c||da}function ea(){}function M(a,b,c){this.props=a;this.context=b;this.refs=ca;this.updater=
|
1;throw a;}}function p(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=0;f<b;f++)d+="&args[]="+encodeURIComponent(arguments[f+1]);N(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)}function q(a,b,d){this.props=a;this.context=b;this.refs=ca;this.updater=d||da}function ea(){}function O(a,b,d){this.props=a;this.context=b;this.refs=ca;this.updater=
|
||||||
c||da}function u(){if(!v){var a=d.expirationTime;E?N():E=!0;F(ua,a)}}function O(){var a=d,b=d.next;if(d===b)d=null;else{var c=d.previous;d=c.next=b;b.previous=c}a.next=a.previous=null;c=a.callback;b=a.expirationTime;a=a.priorityLevel;var f=k,n=w;k=a;w=b;try{var g=c(P)}finally{k=f,w=n}if("function"===typeof g)if(g={callback:g,priorityLevel:a,expirationTime:b,next:null,previous:null},null===d)d=g.next=g.previous=g;else{c=null;a=d;do{if(a.expirationTime>=b){c=a;break}a=a.next}while(a!==d);null===c?c=
|
d||da}function v(){if(!w){var a=c.expirationTime;D?P():D=!0;E(ua,a)}}function Q(){var a=c,b=c.next;if(c===b)c=null;else{var d=c.previous;c=d.next=b;b.previous=d}a.next=a.previous=null;d=a.callback;b=a.expirationTime;a=a.priorityLevel;var f=k,n=F;k=a;F=b;try{var g=d()}finally{k=f,F=n}if("function"===typeof g)if(g={callback:g,priorityLevel:a,expirationTime:b,next:null,previous:null},null===c)c=g.next=g.previous=g;else{d=null;a=c;do{if(a.expirationTime>=b){d=a;break}a=a.next}while(a!==c);null===d?d=
|
||||||
d:c===d&&(d=g,u());b=c.previous;b.next=c.previous=g;g.next=c;g.previous=b}}function Q(){if(-1===m&&null!==d&&1===d.priorityLevel){v=!0;P.didTimeout=!0;try{do O();while(null!==d&&1===d.priorityLevel)}finally{v=!1,null!==d?u():E=!1}}}function ua(a){v=!0;P.didTimeout=a;try{if(a)for(;null!==d;){var b=l();if(d.expirationTime<=b){do O();while(null!==d&&d.expirationTime<=b)}else break}else if(null!==d){do O();while(null!==d&&0<x()-l())}}finally{v=!1,null!==d?u():E=!1,Q()}}function fa(a,b,c){var f=void 0,
|
c:d===c&&(c=g,v());b=d.previous;b.next=d.previous=g;g.next=d;g.previous=b}}function R(){if(-1===m&&null!==c&&1===c.priorityLevel){w=!0;try{do Q();while(null!==c&&1===c.priorityLevel)}finally{w=!1,null!==c?v():D=!1}}}function ua(a){w=!0;var b=G;G=a;try{if(a)for(;null!==c;){var d=l();if(c.expirationTime<=d){do Q();while(null!==c&&c.expirationTime<=d)}else break}else if(null!==c){do Q();while(null!==c&&!H())}}finally{w=!1,G=b,null!==c?v():D=!1,R()}}function fa(a,b,d){var f=void 0,n={},c=null,e=null;
|
||||||
n={},d=null,e=null;if(null!=b)for(f in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(d=""+b.key),b)ha.call(b,f)&&!ia.hasOwnProperty(f)&&(n[f]=b[f]);var h=arguments.length-2;if(1===h)n.children=c;else if(1<h){for(var k=Array(h),l=0;l<h;l++)k[l]=arguments[l+2];n.children=k}if(a&&a.defaultProps)for(f in h=a.defaultProps,h)void 0===n[f]&&(n[f]=h[f]);return{$$typeof:y,type:a,key:d,ref:e,props:n,_owner:R.current}}function va(a,b){return{$$typeof:y,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}
|
if(null!=b)for(f in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(c=""+b.key),b)ha.call(b,f)&&!ia.hasOwnProperty(f)&&(n[f]=b[f]);var h=arguments.length-2;if(1===h)n.children=d;else if(1<h){for(var k=Array(h),l=0;l<h;l++)k[l]=arguments[l+2];n.children=k}if(a&&a.defaultProps)for(f in h=a.defaultProps,h)void 0===n[f]&&(n[f]=h[f]);return{$$typeof:x,type:a,key:c,ref:e,props:n,_owner:S.current}}function va(a,b){return{$$typeof:x,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function T(a){return"object"===
|
||||||
function S(a){return"object"===typeof a&&null!==a&&a.$$typeof===y}function wa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ja(a,b,c,f){if(G.length){var d=G.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=f;d.count=0;return d}return{result:a,keyPrefix:b,func:c,context:f,count:0}}function ka(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>G.length&&G.push(a)}function T(a,b,c,f){var d=typeof a;if("undefined"===d||"boolean"===
|
typeof a&&null!==a&&a.$$typeof===x}function wa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ja(a,b,d,f){if(I.length){var c=I.pop();c.result=a;c.keyPrefix=b;c.func=d;c.context=f;c.count=0;return c}return{result:a,keyPrefix:b,func:d,context:f,count:0}}function ka(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>I.length&&I.push(a)}function U(a,b,d,f){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var g=!1;if(null===
|
||||||
d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case y:case xa:g=!0}}if(g)return c(f,a,""===b?"."+U(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var e=0;e<a.length;e++){d=a[e];var h=b+U(d,e);g+=T(d,h,c,f)}else if(null===a||"object"!==typeof a?h=null:(h=la&&a[la]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),e=0;!(d=a.next()).done;)d=d.value,h=b+U(d,e++),g+=T(d,h,c,f);else"object"===
|
a)g=!0;else switch(c){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case x:case xa:g=!0}}if(g)return d(f,a,""===b?"."+V(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var e=0;e<a.length;e++){c=a[e];var h=b+V(c,e);g+=U(c,h,d,f)}else if(null===a||"object"!==typeof a?h=null:(h=la&&a[la]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),e=0;!(c=a.next()).done;)c=c.value,h=b+V(c,e++),g+=U(c,h,d,f);else"object"===c&&(d=""+a,p("31",
|
||||||
d&&(c=""+a,p("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return g}function V(a,b,c){return null==a?0:T(a,"",b,c)}function U(a,b){return"object"===typeof a&&null!==a&&null!=a.key?wa(a.key):b.toString(36)}function ya(a,b,c){a.func.call(a.context,b,a.count++)}function za(a,b,c){var f=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,f,c,function(a){return a}):null!=a&&(S(a)&&(a=va(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(ma,
|
"[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return g}function W(a,b,d){return null==a?0:U(a,"",b,d)}function V(a,b){return"object"===typeof a&&null!==a&&null!=a.key?wa(a.key):b.toString(36)}function ya(a,b,d){a.func.call(a.context,b,a.count++)}function za(a,b,d){var f=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?X(a,f,d,function(a){return a}):null!=a&&(T(a)&&(a=va(a,c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(ma,"$&/")+"/")+
|
||||||
"$&/")+"/")+c)),f.push(a))}function W(a,b,c,f,d){var e="";null!=c&&(e=(""+c).replace(ma,"$&/")+"/");b=ja(b,e,f,d);V(a,za,b);ka(b)}var e="function"===typeof Symbol&&Symbol.for,y=e?Symbol.for("react.element"):60103,xa=e?Symbol.for("react.portal"):60106,q=e?Symbol.for("react.fragment"):60107,X=e?Symbol.for("react.strict_mode"):60108,Aa=e?Symbol.for("react.profiler"):60114,Ba=e?Symbol.for("react.provider"):60109,Ca=e?Symbol.for("react.context"):60110,Da=e?Symbol.for("react.concurrent_mode"):60111,Ea=
|
d)),f.push(a))}function X(a,b,d,f,c){var e="";null!=d&&(e=(""+d).replace(ma,"$&/")+"/");b=ja(b,e,f,c);W(a,za,b);ka(b)}var e="function"===typeof Symbol&&Symbol.for,x=e?Symbol.for("react.element"):60103,xa=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,Aa=e?Symbol.for("react.strict_mode"):60108,t=e?Symbol.for("react.profiler"):60114,Ba=e?Symbol.for("react.provider"):60109,Ca=e?Symbol.for("react.context"):60110,Da=e?Symbol.for("react.concurrent_mode"):60111,Ea=e?Symbol.for("react.forward_ref"):
|
||||||
e?Symbol.for("react.forward_ref"):60112,Fa=e?Symbol.for("react.suspense"):60113,Ga=e?Symbol.for("react.memo"):60115,Ha=e?Symbol.for("react.lazy"):60116,la="function"===typeof Symbol&&Symbol.iterator,na=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,H=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==
|
60112,Fa=e?Symbol.for("react.suspense"):60113,Ga=e?Symbol.for("react.memo"):60115,Ha=e?Symbol.for("react.lazy"):60116,la="function"===typeof Symbol&&Symbol.iterator,na=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,J=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;
|
||||||
Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(f){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var d,e=1;e<arguments.length;e++){var g=Object(arguments[e]);for(var k in g)Ia.call(g,k)&&(c[k]=g[k]);
|
var d={};"abcdefghijklmnopqrst".split("").forEach(function(a){d[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},d)).join("")?!1:!0}catch(f){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var d=Object(a);for(var c,e=1;e<arguments.length;e++){var g=Object(arguments[e]);for(var k in g)Ia.call(g,k)&&(d[k]=g[k]);if(na){c=na(g);for(var h=0;h<c.length;h++)Ja.call(g,c[h])&&(d[c[h]]=g[c[h]])}}return d},
|
||||||
if(na){d=na(g);for(var h=0;h<d.length;h++)Ja.call(g,d[h])&&(c[d[h]]=g[d[h]])}}return c},da={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},ca={};r.prototype.isReactComponent={};r.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?p("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};r.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,
|
da={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,d){},enqueueReplaceState:function(a,b,d,c){},enqueueSetState:function(a,b,d,c){}},ca={};q.prototype.isReactComponent={};q.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?p("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};q.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ea.prototype=q.prototype;e=O.prototype=new ea;e.constructor=O;J(e,q.prototype);
|
||||||
a,"forceUpdate")};ea.prototype=r.prototype;e=M.prototype=new ea;e.constructor=M;H(e,r.prototype);e.isPureReactComponent=!0;var d=null,k=3,m=-1,w=-1,v=!1,E=!1;e="object"===typeof performance&&"function"===typeof performance.now;var P={timeRemaining:e?function(){if(null!==d&&d.expirationTime<w)return 0;var a=x()-performance.now();return 0<a?a:0}:function(){if(null!==d&&d.expirationTime<w)return 0;var a=x()-Date.now();return 0<a?a:0},didTimeout:!1},Ka=Date,La="function"===typeof setTimeout?setTimeout:
|
e.isPureReactComponent=!0;var c=null,G=!1,k=3,m=-1,F=-1,w=!1,D=!1,Ka=Date,La="function"===typeof setTimeout?setTimeout:void 0,Ma="function"===typeof clearTimeout?clearTimeout:void 0,oa="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,pa="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,qa,ra,Y=function(a){qa=oa(function(b){Ma(ra);a(b)});ra=La(function(){pa(qa);a(l())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Na=performance;
|
||||||
void 0,Ma="function"===typeof clearTimeout?clearTimeout:void 0,oa="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,pa="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,qa,ra,Y=function(a){qa=oa(function(b){Ma(ra);a(b)});ra=La(function(){pa(qa);a(l())},100)};if(e){var Na=performance;var l=function(){return Na.now()}}else l=function(){return Ka.now()};if("undefined"!==typeof window&&window._schedMock){e=window._schedMock;var F=e[0];var N=e[1];var x=e[2]}else if("undefined"===
|
var l=function(){return Na.now()}}else l=function(){return Ka.now()};if("undefined"!==typeof window&&window._schedMock){e=window._schedMock;var E=e[0];var P=e[1];var H=e[2]}else if("undefined"===typeof window||"function"!==typeof window.addEventListener){var y=null,z=-1,sa=function(a,b){if(null!==y){var d=y;y=null;try{z=b,d(a)}finally{z=-1}}};E=function(a,b){-1!==z?setTimeout(E,0,a,b):(y=a,setTimeout(sa,b,!0,b),setTimeout(sa,1073741823,!1,1073741823))};P=function(){y=null};H=function(){return!1};
|
||||||
typeof window||"function"!==typeof window.addEventListener){var z=null,A=-1,sa=function(a,b){if(null!==z){var c=z;z=null;try{A=b,c(a)}finally{A=-1}}};F=function(a,b){-1!==A?setTimeout(F,0,a,b):(z=a,setTimeout(sa,b,!0,b),setTimeout(sa,1073741823,!1,1073741823))};N=function(){z=null};x=function(){return Infinity};l=function(){return-1===A?0:A}}else{"undefined"!==typeof console&&("function"!==typeof oa&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),
|
l=function(){return-1===z?0:z}}else{"undefined"!==typeof console&&("function"!==typeof oa&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof pa&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var u=null,K=!1,A=-1,B=!1,Z=!1,L=0,M=33,C=33;H=function(){return L<=l()};var aa=
|
||||||
"function"!==typeof pa&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var t=null,I=!1,B=-1,C=!1,Z=!1,J=0,K=33,D=33;x=function(){return J};var aa="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(a){if(a.source===window&&a.data===aa){I=!1;a=t;var b=B;t=null;B=-1;var c=l(),d=!1;if(0>=J-c)if(-1!==b&&b<=c)d=!0;else{C||(C=!0,Y(ba));t=a;B=b;return}if(null!==
|
"__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(a){if(a.source===window&&a.data===aa){K=!1;a=u;var b=A;u=null;A=-1;var d=l(),c=!1;if(0>=L-d)if(-1!==b&&b<=d)c=!0;else{B||(B=!0,Y(ba));u=a;A=b;return}if(null!==a){Z=!0;try{a(c)}finally{Z=!1}}}},!1);var ba=function(a){if(null!==u){Y(ba);var b=a-L+C;b<C&&M<C?(8>b&&(b=8),C=b<M?M:b):M=b;L=a+C;K||(K=!0,window.postMessage(aa,"*"))}else B=!1};E=function(a,b){u=a;A=b;Z||0>b?window.postMessage(aa,"*"):B||(B=
|
||||||
a){Z=!0;try{a(d)}finally{Z=!1}}}},!1);var ba=function(a){if(null!==t){Y(ba);var b=a-J+D;b<D&&K<D?(8>b&&(b=8),D=b<K?K:b):K=b;J=a+D;I||(I=!0,window.postMessage(aa,"*"))}else C=!1};F=function(a,b){t=a;B=b;Z||0>b?window.postMessage(aa,"*"):C||(C=!0,Y(ba))};N=function(){t=null;I=!1;B=-1}}var Oa=0,R={current:null,currentDispatcher:null};e={ReactCurrentOwner:R,assign:H};H(e,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)d=null;else{a===d&&(d=b);var c=a.previous;c.next=
|
!0,Y(ba))};P=function(){u=null;K=!1;A=-1}}var Oa=0,S={current:null,currentDispatcher:null};e={ReactCurrentOwner:S,assign:J};J(e,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)c=null;else{a===c&&(c=b);var d=a.previous;d.next=b;b.previous=d}a.next=a.previous=null}},unstable_shouldYield:function(){return!G&&(null!==c&&c.expirationTime<F||H())},unstable_now:l,unstable_scheduleCallback:function(a,b){var d=-1!==m?m:l();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=
|
||||||
b;b.previous=c}a.next=a.previous=null}},unstable_now:l,unstable_scheduleCallback:function(a,b){var c=-1!==m?m:l();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=c+b.timeout;else switch(k){case 1:b=c+-1;break;case 2:b=c+250;break;case 4:b=c+1073741823;break;default:b=c+5E3}a={callback:a,priorityLevel:k,expirationTime:b,next:null,previous:null};if(null===d)d=a.next=a.previous=a,u();else{c=null;var f=d;do{if(f.expirationTime>b){c=f;break}f=f.next}while(f!==d);null===c?c=d:c===d&&(d=
|
d+b.timeout;else switch(k){case 1:b=d+-1;break;case 2:b=d+250;break;case 5:b=d+1073741823;break;case 4:b=d+1E4;break;default:b=d+5E3}a={callback:a,priorityLevel:k,expirationTime:b,next:null,previous:null};if(null===c)c=a.next=a.previous=a,v();else{d=null;var f=c;do{if(f.expirationTime>b){d=f;break}f=f.next}while(f!==c);null===d?d=c:d===c&&(c=a,v());b=d.previous;b.next=d.previous=a;a.next=d;a.previous=b}return a},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;
|
||||||
a,u());b=c.previous;b.next=c.previous=a;a.next=c;a.previous=b}return a},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:break;default:a=3}var c=k,d=m;k=a;m=l();try{return b()}finally{k=c,m=d,Q()}},unstable_wrapCallback:function(a){var b=k;return function(){var c=k,d=m;k=b;m=l();try{return a.apply(this,arguments)}finally{k=c,m=d,Q()}}},unstable_getCurrentPriorityLevel:function(){return k}},SchedulerTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},
|
default:a=3}var d=k,c=m;k=a;m=l();try{return b()}finally{k=d,m=c,R()}},unstable_wrapCallback:function(a){var b=k;return function(){var d=k,c=m;k=b;m=l();try{return a.apply(this,arguments)}finally{k=d,m=c,R()}}},unstable_getCurrentPriorityLevel:function(){return k}},SchedulerTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Oa},unstable_subscribe:function(a){},unstable_trace:function(a,
|
||||||
unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Oa},unstable_subscribe:function(a){},unstable_trace:function(a,b,c){return c()},unstable_unsubscribe:function(a){},unstable_wrap:function(a){return a}}});var ha=Object.prototype.hasOwnProperty,ia={key:!0,ref:!0,__self:!0,__source:!0},ma=/\/+/g,G=[];q={Children:{map:function(a,b,c){if(null==a)return a;var d=[];W(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=ja(null,null,b,c);V(a,ya,b);ka(b)},
|
b,d){return d()},unstable_unsubscribe:function(a){},unstable_wrap:function(a){return a}}});var ha=Object.prototype.hasOwnProperty,ia={key:!0,ref:!0,__self:!0,__source:!0},ma=/\/+/g,I=[];r={Children:{map:function(a,b,d){if(null==a)return a;var c=[];X(a,c,null,b,d);return c},forEach:function(a,b,d){if(null==a)return a;b=ja(null,null,b,d);W(a,ya,b);ka(b)},count:function(a){return W(a,function(){return null},null)},toArray:function(a){var b=[];X(a,b,null,function(a){return a});return b},only:function(a){T(a)?
|
||||||
count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){S(a)?void 0:p("143");return a}},createRef:function(){return{current:null}},Component:r,PureComponent:M,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Ca,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,Provider:null,Consumer:null};a.Provider={$$typeof:Ba,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Ea,
|
void 0:p("143");return a}},createRef:function(){return{current:null}},Component:q,PureComponent:O,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Ca,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Ba,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Ea,render:a}},lazy:function(a){return{$$typeof:Ha,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Ga,type:a,compare:void 0===
|
||||||
render:a}},lazy:function(a){return{$$typeof:Ha,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Ga,type:a,compare:void 0===b?null:b}},Fragment:q,StrictMode:X,unstable_ConcurrentMode:Da,Suspense:Fa,unstable_Profiler:Aa,createElement:fa,cloneElement:function(a,b,d){null===a||void 0===a?p("267",a):void 0;var c=void 0,e=H({},a.props),g=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=R.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=
|
b?null:b}},Fragment:r,StrictMode:Aa,Suspense:Fa,createElement:fa,cloneElement:function(a,b,d){null===a||void 0===a?p("267",a):void 0;var c=void 0,e=J({},a.props),g=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=S.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)ha.call(b,c)&&!ia.hasOwnProperty(c)&&(e[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)e.children=d;else if(1<c){l=Array(c);for(var m=
|
||||||
a.type.defaultProps);for(c in b)ha.call(b,c)&&!ia.hasOwnProperty(c)&&(e[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)e.children=d;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:y,type:a.type,key:g,ref:k,props:e,_owner:h}},createFactory:function(a){var b=fa.bind(null,a);b.type=a;return b},isValidElement:S,version:"16.6.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e};q=(X={default:q},q)||X;return q.default||q});
|
0;m<c;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:x,type:a.type,key:g,ref:k,props:e,_owner:h}},createFactory:function(a){var b=fa.bind(null,a);b.type=a;return b},isValidElement:T,version:"16.6.3",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e};r.unstable_ConcurrentMode=Da;r.unstable_Profiler=t;t=(t={default:r},r)||t;return t.default||t});
|
||||||
|
2
wp-includes/js/dist/viewport.js.map
vendored
2
wp-includes/js/dist/viewport.js.map
vendored
File diff suppressed because one or more lines are too long
2
wp-includes/js/dist/viewport.min.js
vendored
2
wp-includes/js/dist/viewport.min.js
vendored
@ -1 +1 @@
|
|||||||
this.wp=this.wp||{},this.wp.viewport=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=317)}({19:function(t,e,r){"use strict";var n=r(33);function o(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||Object(n.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(e,"a",function(){return o})},2:function(t,e){!function(){t.exports=this.lodash}()},317:function(t,e,r){"use strict";r.r(e);var n={};r.r(n),r.d(n,"setIsMatching",function(){return a});var o={};r.r(o),r.d(o,"isViewportMatch",function(){return s});var i=r(2),c=r(5);var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_IS_MATCHING":return e.values}return t};function a(t){return{type:"SET_IS_MATCHING",values:t}}var f=r(19);function s(t,e){return!!t[Object(i.takeRight)([">="].concat(Object(f.a)(e.split(" "))),2).join(" ")]}Object(c.registerStore)("core/viewport",{reducer:u,actions:n,selectors:o});var p=r(7),d=function(t){return Object(p.createHigherOrderComponent)(Object(c.withSelect)(function(e){return Object(i.mapValues)(t,function(t){return e("core/viewport").isViewportMatch(t)})}),"withViewportMatch")},l=function(t){return Object(p.createHigherOrderComponent)(Object(p.compose)([d({isViewportMatch:t}),Object(p.ifCondition)(function(t){return t.isViewportMatch})]),"ifViewportMatches")};r.d(e,"ifViewportMatches",function(){return l}),r.d(e,"withViewportMatch",function(){return d});var h={"<":"max-width",">=":"min-width"},b=Object(i.debounce)(function(){var t=Object(i.mapValues)(w,function(t){return t.matches});Object(c.dispatch)("core/viewport").setIsMatching(t)},{leading:!0}),w=Object(i.reduce)({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},function(t,e,r){return Object(i.forEach)(h,function(n,o){var i=window.matchMedia("(".concat(n,": ").concat(e,"px)"));i.addListener(b);var c=[o,r].join(" ");t[c]=i}),t},{});window.addEventListener("orientationchange",b),b()},33:function(t,e,r){"use strict";function n(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(e,"a",function(){return n})},5:function(t,e){!function(){t.exports=this.wp.data}()},7:function(t,e){!function(){t.exports=this.wp.compose}()}});
|
this.wp=this.wp||{},this.wp.viewport=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=316)}({19:function(t,e,r){"use strict";var n=r(32);function o(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||Object(n.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(e,"a",function(){return o})},2:function(t,e){!function(){t.exports=this.lodash}()},316:function(t,e,r){"use strict";r.r(e);var n={};r.r(n),r.d(n,"setIsMatching",function(){return a});var o={};r.r(o),r.d(o,"isViewportMatch",function(){return s});var i=r(2),c=r(5);var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_IS_MATCHING":return e.values}return t};function a(t){return{type:"SET_IS_MATCHING",values:t}}var f=r(19);function s(t,e){return!!t[Object(i.takeRight)([">="].concat(Object(f.a)(e.split(" "))),2).join(" ")]}Object(c.registerStore)("core/viewport",{reducer:u,actions:n,selectors:o});var p=r(6),d=function(t){return Object(p.createHigherOrderComponent)(Object(c.withSelect)(function(e){return Object(i.mapValues)(t,function(t){return e("core/viewport").isViewportMatch(t)})}),"withViewportMatch")},l=function(t){return Object(p.createHigherOrderComponent)(Object(p.compose)([d({isViewportMatch:t}),Object(p.ifCondition)(function(t){return t.isViewportMatch})]),"ifViewportMatches")};r.d(e,"ifViewportMatches",function(){return l}),r.d(e,"withViewportMatch",function(){return d});var h={"<":"max-width",">=":"min-width"},b=Object(i.debounce)(function(){var t=Object(i.mapValues)(w,function(t){return t.matches});Object(c.dispatch)("core/viewport").setIsMatching(t)},{leading:!0}),w=Object(i.reduce)({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},function(t,e,r){return Object(i.forEach)(h,function(n,o){var i=window.matchMedia("(".concat(n,": ").concat(e,"px)"));i.addListener(b);var c=[o,r].join(" ");t[c]=i}),t},{});window.addEventListener("orientationchange",b),b()},32:function(t,e,r){"use strict";function n(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(e,"a",function(){return n})},5:function(t,e){!function(){t.exports=this.wp.data}()},6:function(t,e){!function(){t.exports=this.wp.compose}()}});
|
2
wp-includes/js/dist/wordcount.min.js
vendored
2
wp-includes/js/dist/wordcount.min.js
vendored
@ -1 +1 @@
|
|||||||
this.wp=this.wp||{},this.wp.wordcount=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=312)}({2:function(e,t){!function(){e.exports=this.lodash}()},312:function(e,t,n){"use strict";n.r(t);var r=n(2),o={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","-¿×÷"," -⯿","⸀-","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}},i=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},c=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},u=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},p=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},s=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},a=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},g=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},d=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},f=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function l(e,t,n){if(""===e)return 0;if(e){var l=function(e,t){var n=Object(r.extend)(o,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n),x=l[t+"RegExp"],E="words"===l.type?function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),u.bind(this,n),p.bind(this,n),s.bind(this,n))(e),(e+="\n").match(t)}(e,x,l):function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),c.bind(this,n),f.bind(this,n))(e),(e+="\n").match(t)}(e,x,l);return E?E.length:0}}n.d(t,"count",function(){return l})}});
|
this.wp=this.wp||{},this.wp.wordcount=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=310)}({2:function(e,t){!function(){e.exports=this.lodash}()},310:function(e,t,n){"use strict";n.r(t);var r=n(2),o={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","-¿×÷"," -⯿","⸀-","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}},i=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},c=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},u=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},p=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},s=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},a=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},g=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},d=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},f=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function l(e,t,n){if(""===e)return 0;if(e){var l=function(e,t){var n=Object(r.extend)(o,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n),x=l[t+"RegExp"],E="words"===l.type?function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),u.bind(this,n),p.bind(this,n),s.bind(this,n))(e),(e+="\n").match(t)}(e,x,l):function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),c.bind(this,n),f.bind(this,n))(e),(e+="\n").match(t)}(e,x,l);return E?E.length:0}}n.d(t,"count",function(){return l})}});
|
@ -77,7 +77,7 @@ function wp_default_packages_vendor( &$scripts ) {
|
|||||||
$dev_suffix = wp_scripts_get_suffix( 'dev' );
|
$dev_suffix = wp_scripts_get_suffix( 'dev' );
|
||||||
|
|
||||||
$vendor_scripts = array(
|
$vendor_scripts = array(
|
||||||
'react',
|
'react' => array( 'wp-polyfill' ),
|
||||||
'react-dom' => array( 'react' ),
|
'react-dom' => array( 'react' ),
|
||||||
'moment',
|
'moment',
|
||||||
'lodash',
|
'lodash',
|
||||||
@ -183,6 +183,7 @@ function wp_default_packages_scripts( &$scripts ) {
|
|||||||
'wp-dom',
|
'wp-dom',
|
||||||
'wp-element',
|
'wp-element',
|
||||||
'wp-hooks',
|
'wp-hooks',
|
||||||
|
'wp-html-entities',
|
||||||
'wp-i18n',
|
'wp-i18n',
|
||||||
'wp-is-shallow-equal',
|
'wp-is-shallow-equal',
|
||||||
'wp-polyfill',
|
'wp-polyfill',
|
||||||
@ -234,7 +235,6 @@ function wp_default_packages_scripts( &$scripts ) {
|
|||||||
),
|
),
|
||||||
'compose' => array(
|
'compose' => array(
|
||||||
'lodash',
|
'lodash',
|
||||||
'wp-deprecated',
|
|
||||||
'wp-element',
|
'wp-element',
|
||||||
'wp-is-shallow-equal',
|
'wp-is-shallow-equal',
|
||||||
'wp-polyfill'
|
'wp-polyfill'
|
||||||
@ -243,7 +243,6 @@ function wp_default_packages_scripts( &$scripts ) {
|
|||||||
'data' => array(
|
'data' => array(
|
||||||
'lodash',
|
'lodash',
|
||||||
'wp-compose',
|
'wp-compose',
|
||||||
'wp-deprecated',
|
|
||||||
'wp-element',
|
'wp-element',
|
||||||
'wp-is-shallow-equal',
|
'wp-is-shallow-equal',
|
||||||
'wp-polyfill',
|
'wp-polyfill',
|
||||||
@ -348,7 +347,6 @@ function wp_default_packages_scripts( &$scripts ) {
|
|||||||
'wp-components',
|
'wp-components',
|
||||||
'wp-compose',
|
'wp-compose',
|
||||||
'wp-data',
|
'wp-data',
|
||||||
'wp-deprecated',
|
|
||||||
'wp-i18n',
|
'wp-i18n',
|
||||||
'wp-polyfill',
|
'wp-polyfill',
|
||||||
'lodash',
|
'lodash',
|
||||||
@ -359,7 +357,6 @@ function wp_default_packages_scripts( &$scripts ) {
|
|||||||
'lodash',
|
'lodash',
|
||||||
'wp-blocks',
|
'wp-blocks',
|
||||||
'wp-data',
|
'wp-data',
|
||||||
'wp-deprecated',
|
|
||||||
'wp-escape-html',
|
'wp-escape-html',
|
||||||
'wp-polyfill',
|
'wp-polyfill',
|
||||||
),
|
),
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.0-beta4-43902';
|
$wp_version = '5.0-beta4-43903';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user